@deepraxis/sdk 0.2.0-dev.6a19327 → 0.2.0-dev.6c49395
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 +109 -63
- package/README.md +1 -1
- package/dist/automation.d.ts +683 -64
- package/dist/core/bindings.d.ts +13 -0
- package/dist/core/bindings.js +17 -0
- package/dist/core/client.js +1 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +125 -17
- package/dist/generated/sdk.gen.js +380 -79
- package/dist/generated/types.gen.d.ts +2630 -612
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +2 -0
- package/dist/helpers/browser-connect-error.d.ts +15 -3
- package/dist/helpers/browser-connect-error.js +33 -8
- package/dist/helpers/browser-connect.d.ts +22 -1
- package/dist/helpers/browser-connect.js +44 -8
- package/dist/helpers/browser-decisions.d.ts +2 -0
- package/dist/helpers/browser-decisions.js +7 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +1 -0
- package/dist/operations.generated.js +829 -236
- package/dist/resources.generated.d.ts +821 -67
- package/dist/resources.generated.js +96 -63
- package/package.json +1 -1
|
@@ -4307,11 +4307,11 @@ export type BrowserSessionGetResult = {
|
|
|
4307
4307
|
*/
|
|
4308
4308
|
export type BrowserSessionLiveUrls = {
|
|
4309
4309
|
/**
|
|
4310
|
-
*
|
|
4310
|
+
* 与 debuggerUrl 相同:会话在 Console 的会话页地址。
|
|
4311
4311
|
*/
|
|
4312
4312
|
debuggerFullscreenUrl: string;
|
|
4313
4313
|
/**
|
|
4314
|
-
*
|
|
4314
|
+
* 会话在 Console 的会话页地址,发给人观看或接管。打开的人须登录 Console 且属于会话所在组织;会话创建者或在接管请求有效期内的组织成员可以点「接管」直接点击、拖动和输入,其他成员只读观看。地址不带凭证,不能嵌入 iframe。
|
|
4315
4315
|
*/
|
|
4316
4316
|
debuggerUrl: string;
|
|
4317
4317
|
/**
|
|
@@ -4339,11 +4339,11 @@ export type BrowserSessionLiveUrls = {
|
|
|
4339
4339
|
*/
|
|
4340
4340
|
faviconUrl: string;
|
|
4341
4341
|
/**
|
|
4342
|
-
*
|
|
4342
|
+
* 会话在 Console 的会话页地址,与会话级 debuggerUrl 相同。
|
|
4343
4343
|
*/
|
|
4344
4344
|
debuggerUrl: string;
|
|
4345
4345
|
/**
|
|
4346
|
-
*
|
|
4346
|
+
* 与该页 debuggerUrl 相同。
|
|
4347
4347
|
*/
|
|
4348
4348
|
debuggerFullscreenUrl: string;
|
|
4349
4349
|
}>;
|
|
@@ -4680,6 +4680,10 @@ export type BrowserStreamMessage = {
|
|
|
4680
4680
|
*/
|
|
4681
4681
|
nextCursor: string | null;
|
|
4682
4682
|
};
|
|
4683
|
+
/**
|
|
4684
|
+
* The tab in front: the newest one the browser opened or the one a client last brought to the front. null when unknown.
|
|
4685
|
+
*/
|
|
4686
|
+
activePageId?: string | null;
|
|
4683
4687
|
};
|
|
4684
4688
|
} | {
|
|
4685
4689
|
event: 'session';
|
|
@@ -4690,7 +4694,10 @@ export type BrowserStreamMessage = {
|
|
|
4690
4694
|
} | {
|
|
4691
4695
|
event: 'action';
|
|
4692
4696
|
data: {
|
|
4693
|
-
|
|
4697
|
+
/**
|
|
4698
|
+
* page_activated: a client brought pageId to the front. Tab changes (page_opened, page_closed, page_activated) are never thinned out; the other kinds are sent at most four times a second.
|
|
4699
|
+
*/
|
|
4700
|
+
kind: 'navigate' | 'click' | 'type' | 'scroll' | 'page_opened' | 'page_closed' | 'page_activated';
|
|
4694
4701
|
pageId?: string;
|
|
4695
4702
|
url?: string;
|
|
4696
4703
|
x?: number;
|
|
@@ -12211,6 +12218,19 @@ export type AutomationDefinition = {
|
|
|
12211
12218
|
*/
|
|
12212
12219
|
updated_at: string;
|
|
12213
12220
|
};
|
|
12221
|
+
/**
|
|
12222
|
+
* The draft written on creation, in the shape a read returns: source is required and revision may be omitted.
|
|
12223
|
+
*/
|
|
12224
|
+
export type AutomationDraftCreateInput = {
|
|
12225
|
+
/**
|
|
12226
|
+
* Draft source: TypeScript for scripts, YAML for workflows.
|
|
12227
|
+
*/
|
|
12228
|
+
source: string;
|
|
12229
|
+
/**
|
|
12230
|
+
* A new definition has no earlier draft, so revision has no meaning here and is ignored; it lets a draft that was read be written back as is.
|
|
12231
|
+
*/
|
|
12232
|
+
revision?: string;
|
|
12233
|
+
};
|
|
12214
12234
|
export type AutomationDefinitionDetail = {
|
|
12215
12235
|
draft: AutomationDraft;
|
|
12216
12236
|
/**
|
|
@@ -12288,6 +12308,19 @@ export type AutomationDefinitionDetail = {
|
|
|
12288
12308
|
*/
|
|
12289
12309
|
updated_at: string;
|
|
12290
12310
|
};
|
|
12311
|
+
/**
|
|
12312
|
+
* The draft written on update, in the shape a read returns: revision is the concurrency token, and omitting source changes only metadata.
|
|
12313
|
+
*/
|
|
12314
|
+
export type AutomationDraftUpdateInput = {
|
|
12315
|
+
/**
|
|
12316
|
+
* The new draft source; omit it to keep the draft source and change only metadata.
|
|
12317
|
+
*/
|
|
12318
|
+
source?: string;
|
|
12319
|
+
/**
|
|
12320
|
+
* Concurrency token of the draft: the draft.revision a read returned, which must equal the current draft revision (a mismatch returns 412); the If-Match header is its deprecated alias.
|
|
12321
|
+
*/
|
|
12322
|
+
revision?: string;
|
|
12323
|
+
};
|
|
12291
12324
|
export type AutomationVersion = {
|
|
12292
12325
|
/**
|
|
12293
12326
|
* Version id, prefixed scv_ for scripts and wfv_ for workflows.
|
|
@@ -12968,7 +13001,9 @@ export type AutomationWait = {
|
|
|
12968
13001
|
*/
|
|
12969
13002
|
kind: 'event' | 'timer' | 'child';
|
|
12970
13003
|
/**
|
|
12971
|
-
* Wait point state. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13004
|
+
* Deprecated, read status, which holds the same value. Wait point state. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13005
|
+
*
|
|
13006
|
+
* @deprecated
|
|
12972
13007
|
*/
|
|
12973
13008
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
12974
13009
|
/**
|
|
@@ -13008,6 +13043,10 @@ export type AutomationWait = {
|
|
|
13008
13043
|
* Time the wait point was resolved (RFC 3339 UTC), or null if still open.
|
|
13009
13044
|
*/
|
|
13010
13045
|
resolved_at: null | string;
|
|
13046
|
+
/**
|
|
13047
|
+
* Wait point status. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13048
|
+
*/
|
|
13049
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
13011
13050
|
};
|
|
13012
13051
|
/**
|
|
13013
13052
|
* Record of one call made during a script run (an action, platform API, script or workflow), ordered by seq.
|
|
@@ -13252,7 +13291,7 @@ export type AutomationRunEvent = {
|
|
|
13252
13291
|
*/
|
|
13253
13292
|
id: string;
|
|
13254
13293
|
/**
|
|
13255
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13294
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13256
13295
|
*/
|
|
13257
13296
|
source: string;
|
|
13258
13297
|
/**
|
|
@@ -13282,7 +13321,7 @@ export type AutomationRunEvent = {
|
|
|
13282
13321
|
*/
|
|
13283
13322
|
id: string;
|
|
13284
13323
|
/**
|
|
13285
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13324
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13286
13325
|
*/
|
|
13287
13326
|
source: string;
|
|
13288
13327
|
/**
|
|
@@ -13312,7 +13351,7 @@ export type AutomationRunEvent = {
|
|
|
13312
13351
|
*/
|
|
13313
13352
|
id: string;
|
|
13314
13353
|
/**
|
|
13315
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13354
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13316
13355
|
*/
|
|
13317
13356
|
source: string;
|
|
13318
13357
|
/**
|
|
@@ -13342,7 +13381,7 @@ export type AutomationRunEvent = {
|
|
|
13342
13381
|
*/
|
|
13343
13382
|
id: string;
|
|
13344
13383
|
/**
|
|
13345
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13384
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13346
13385
|
*/
|
|
13347
13386
|
source: string;
|
|
13348
13387
|
/**
|
|
@@ -13372,7 +13411,7 @@ export type AutomationRunEvent = {
|
|
|
13372
13411
|
*/
|
|
13373
13412
|
id: string;
|
|
13374
13413
|
/**
|
|
13375
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13414
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13376
13415
|
*/
|
|
13377
13416
|
source: string;
|
|
13378
13417
|
/**
|
|
@@ -13469,7 +13508,7 @@ export type AutomationTrigger = {
|
|
|
13469
13508
|
*/
|
|
13470
13509
|
input_mode: 'body' | 'envelope';
|
|
13471
13510
|
/**
|
|
13472
|
-
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{
|
|
13511
|
+
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{trigger_id}/… path.
|
|
13473
13512
|
*/
|
|
13474
13513
|
url_hint: string;
|
|
13475
13514
|
} | null;
|
|
@@ -13481,6 +13520,11 @@ export type AutomationTrigger = {
|
|
|
13481
13520
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13482
13521
|
*/
|
|
13483
13522
|
owner: string;
|
|
13523
|
+
/**
|
|
13524
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13525
|
+
*
|
|
13526
|
+
* @deprecated
|
|
13527
|
+
*/
|
|
13484
13528
|
state: AutomationTriggerState;
|
|
13485
13529
|
/**
|
|
13486
13530
|
* Origin of the trigger. api was created through the API and can be changed and deleted; definition was generated from the schedule in a workflow YAML and can only be paused or resumed, changes return 409 TRIGGER_MANAGED.
|
|
@@ -13533,9 +13577,13 @@ export type AutomationTrigger = {
|
|
|
13533
13577
|
*/
|
|
13534
13578
|
etag: string;
|
|
13535
13579
|
/**
|
|
13536
|
-
* Returned only by GET /triggers/{
|
|
13580
|
+
* Returned only by GET /triggers/{trigger_id}, omitted from lists. Attributed charges over the preceding 30 days for this trigger's runs and descendants. Runs themselves are free; these are actual charges for capabilities such as models and search called during runs, attributed by call. Unrated usage is included later. Aggregation failure or timeout (1.5 seconds) returns null while details still return 200.
|
|
13537
13581
|
*/
|
|
13538
13582
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13583
|
+
/**
|
|
13584
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13585
|
+
*/
|
|
13586
|
+
status: AutomationTriggerState;
|
|
13539
13587
|
};
|
|
13540
13588
|
export type AutomationTriggerCreateResult = {
|
|
13541
13589
|
/**
|
|
@@ -13589,7 +13637,7 @@ export type AutomationTriggerCreateResult = {
|
|
|
13589
13637
|
*/
|
|
13590
13638
|
input_mode: 'body' | 'envelope';
|
|
13591
13639
|
/**
|
|
13592
|
-
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{
|
|
13640
|
+
* Masked webhook address with an ellipsis replacing the secret token; it cannot be invoked. Newly created triggers use a full public URL; historical records may contain a relative /automation/v1/hooks/{trigger_id}/… path.
|
|
13593
13641
|
*/
|
|
13594
13642
|
url_hint: string;
|
|
13595
13643
|
} | null;
|
|
@@ -13601,6 +13649,11 @@ export type AutomationTriggerCreateResult = {
|
|
|
13601
13649
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13602
13650
|
*/
|
|
13603
13651
|
owner: string;
|
|
13652
|
+
/**
|
|
13653
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13654
|
+
*
|
|
13655
|
+
* @deprecated
|
|
13656
|
+
*/
|
|
13604
13657
|
state: AutomationTriggerState;
|
|
13605
13658
|
/**
|
|
13606
13659
|
* Origin of the trigger. api was created through the API and can be changed and deleted; definition was generated from the schedule in a workflow YAML and can only be paused or resumed, changes return 409 TRIGGER_MANAGED.
|
|
@@ -13653,13 +13706,19 @@ export type AutomationTriggerCreateResult = {
|
|
|
13653
13706
|
*/
|
|
13654
13707
|
etag: string;
|
|
13655
13708
|
/**
|
|
13656
|
-
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{
|
|
13709
|
+
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{trigger_id}.
|
|
13657
13710
|
*/
|
|
13658
13711
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13659
13712
|
/**
|
|
13660
13713
|
* Returned only on webhook creation or rotation.
|
|
13661
13714
|
*/
|
|
13662
13715
|
webhook_url?: string;
|
|
13716
|
+
/**
|
|
13717
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13718
|
+
*
|
|
13719
|
+
* @deprecated
|
|
13720
|
+
*/
|
|
13721
|
+
status: AutomationTriggerState;
|
|
13663
13722
|
};
|
|
13664
13723
|
/**
|
|
13665
13724
|
* A duration: an ISO 8601 string such as PT5M, or an object with days, hours, minutes, seconds and milliseconds. It must convert to a whole number of milliseconds between 60000 and 31622400000 (1 minute to 366 days).
|
|
@@ -13839,7 +13898,7 @@ export type AutomationHumanTask = {
|
|
|
13839
13898
|
*/
|
|
13840
13899
|
initiator: {
|
|
13841
13900
|
/**
|
|
13842
|
-
* Initiator type: user, api_key, agent, run (a parent run) or
|
|
13901
|
+
* Initiator type: user, api_key, agent, run (a parent run), trigger or application.
|
|
13843
13902
|
*/
|
|
13844
13903
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
13845
13904
|
/**
|
|
@@ -20136,6 +20195,10 @@ export type DevopsPullRequest = {
|
|
|
20136
20195
|
* The mergeability word, an open set. A GitHub project keeps GitHub's own word verbatim (clean, dirty, blocked, behind, unstable and so on), unknown when GitHub has not said. A project whose code is on our own Git gets DevOps's reading of the head against the base: clean when nothing stands in the way, behind when the head adds nothing the base lacks, dirty when both sides changed the same path since they diverged, unknown when the comparison was capped.
|
|
20137
20196
|
*/
|
|
20138
20197
|
mergeableState: string;
|
|
20198
|
+
/**
|
|
20199
|
+
* Who this pull request's letters go to — the gate verdict, the merge, the deploy to each integration environment and an integration failure — as the description's praxis block names it with notify: agent:<id> or notify: human:<id>. Optional and never part of the gate: absent when the block names nobody or names something that is not an address. A pull request of a DevOps change that names nobody writes to the change's owner.
|
|
20200
|
+
*/
|
|
20201
|
+
notify?: string;
|
|
20139
20202
|
/**
|
|
20140
20203
|
* The exposure the description's praxis block declares, or null when the description declares none — which is itself a failed gate check. The kind decides which other checks apply: a flag adds its key and observe window, unwired and expand-contract add a reason, expand-contract also a phase, and direct is judged by a person.
|
|
20141
20204
|
*/
|
|
@@ -20812,6 +20875,102 @@ export type DevopsUnitTransitionPage = {
|
|
|
20812
20875
|
*/
|
|
20813
20876
|
nextPageToken: string;
|
|
20814
20877
|
};
|
|
20878
|
+
/**
|
|
20879
|
+
* The tenant event types.
|
|
20880
|
+
*/
|
|
20881
|
+
export type EventsEventTypePage = {
|
|
20882
|
+
/**
|
|
20883
|
+
* One entry per type and schema version.
|
|
20884
|
+
*/
|
|
20885
|
+
data: Array<EventsEventType>;
|
|
20886
|
+
/**
|
|
20887
|
+
* Always null today; the list is one page.
|
|
20888
|
+
*/
|
|
20889
|
+
next_cursor: string | null;
|
|
20890
|
+
/**
|
|
20891
|
+
* Always false today; the list is one page.
|
|
20892
|
+
*/
|
|
20893
|
+
has_more: boolean;
|
|
20894
|
+
};
|
|
20895
|
+
/**
|
|
20896
|
+
* What to subscribe to. The organization and the sink come from your credential and are not fields.
|
|
20897
|
+
*/
|
|
20898
|
+
export type EventsCreateEventSubscriptionInput = {
|
|
20899
|
+
/**
|
|
20900
|
+
* The tenant event types to hear about, from events.types.list; an event of any one of them can match.
|
|
20901
|
+
*/
|
|
20902
|
+
types: Array<string>;
|
|
20903
|
+
/**
|
|
20904
|
+
* Conditions that must all hold for an event to match; omit or leave empty to match every event of the types.
|
|
20905
|
+
*/
|
|
20906
|
+
filters?: Array<EventsEventSubscriptionFilter>;
|
|
20907
|
+
/**
|
|
20908
|
+
* The inbox address that receives the letters, agent:<id> or human:<id>. Today only the caller's own address is accepted, which is also the default.
|
|
20909
|
+
*/
|
|
20910
|
+
sink?: string;
|
|
20911
|
+
/**
|
|
20912
|
+
* True (the default) ends the subscription after the first letter; false keeps it until expires_at, at most 30 letters an hour.
|
|
20913
|
+
*/
|
|
20914
|
+
once?: boolean;
|
|
20915
|
+
/**
|
|
20916
|
+
* When the subscription ends, RFC 3339. Defaults to 7 days from now; at most 30 days from now.
|
|
20917
|
+
*/
|
|
20918
|
+
expires_at?: string;
|
|
20919
|
+
};
|
|
20920
|
+
/**
|
|
20921
|
+
* One event subscription.
|
|
20922
|
+
*/
|
|
20923
|
+
export type EventsEventSubscription = {
|
|
20924
|
+
/**
|
|
20925
|
+
* The subscription id, esub_...; use it to retrieve or delete it.
|
|
20926
|
+
*/
|
|
20927
|
+
id: string;
|
|
20928
|
+
/**
|
|
20929
|
+
* The tenant event types it listens to.
|
|
20930
|
+
*/
|
|
20931
|
+
types: Array<string>;
|
|
20932
|
+
/**
|
|
20933
|
+
* The conditions that must all hold; empty means every event of the types.
|
|
20934
|
+
*/
|
|
20935
|
+
filters: Array<EventsEventSubscriptionFilter>;
|
|
20936
|
+
/**
|
|
20937
|
+
* The inbox address the letters go to, agent:<id> or human:<id>.
|
|
20938
|
+
*/
|
|
20939
|
+
sink: string;
|
|
20940
|
+
/**
|
|
20941
|
+
* Whether the subscription ends after its first letter.
|
|
20942
|
+
*/
|
|
20943
|
+
once: boolean;
|
|
20944
|
+
/**
|
|
20945
|
+
* When the subscription ends and stops matching, RFC 3339.
|
|
20946
|
+
*/
|
|
20947
|
+
expires_at: string;
|
|
20948
|
+
/**
|
|
20949
|
+
* When the subscription was created, RFC 3339.
|
|
20950
|
+
*/
|
|
20951
|
+
created_at: string;
|
|
20952
|
+
/**
|
|
20953
|
+
* The address that created it, agent:<id> or human:<id>; only that caller can see it.
|
|
20954
|
+
*/
|
|
20955
|
+
created_by: string;
|
|
20956
|
+
};
|
|
20957
|
+
/**
|
|
20958
|
+
* Your live subscriptions.
|
|
20959
|
+
*/
|
|
20960
|
+
export type EventsEventSubscriptionPage = {
|
|
20961
|
+
/**
|
|
20962
|
+
* The subscriptions, at most limit.
|
|
20963
|
+
*/
|
|
20964
|
+
data: Array<EventsEventSubscription>;
|
|
20965
|
+
/**
|
|
20966
|
+
* Always null today; the list is one page.
|
|
20967
|
+
*/
|
|
20968
|
+
next_cursor: string | null;
|
|
20969
|
+
/**
|
|
20970
|
+
* Always false today; the list is one page.
|
|
20971
|
+
*/
|
|
20972
|
+
has_more: boolean;
|
|
20973
|
+
};
|
|
20815
20974
|
export type KnowledgeNativeVectorStore = {
|
|
20816
20975
|
/**
|
|
20817
20976
|
* Resource ID.
|
|
@@ -21437,7 +21596,7 @@ export type MediaLibrary = {
|
|
|
21437
21596
|
};
|
|
21438
21597
|
export type MediaMediaError = {
|
|
21439
21598
|
error: {
|
|
21440
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
21599
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'WORK_NOT_FOUND' | 'REVISION_CONFLICT' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
21441
21600
|
message: string;
|
|
21442
21601
|
details: string | null;
|
|
21443
21602
|
};
|
|
@@ -22966,6 +23125,107 @@ export type MediaVoiceDesignCreateInput = {
|
|
|
22966
23125
|
*/
|
|
22967
23126
|
description?: string;
|
|
22968
23127
|
};
|
|
23128
|
+
/**
|
|
23129
|
+
* A work: an object of the library above its assets that orders references to them and adds a title and text. It copies no file and changes no asset.
|
|
23130
|
+
*/
|
|
23131
|
+
export type MediaWork = {
|
|
23132
|
+
/**
|
|
23133
|
+
* Always work.
|
|
23134
|
+
*/
|
|
23135
|
+
object: 'work';
|
|
23136
|
+
/**
|
|
23137
|
+
* Work id (wrk_…).
|
|
23138
|
+
*/
|
|
23139
|
+
id: string;
|
|
23140
|
+
/**
|
|
23141
|
+
* Library the work belongs to.
|
|
23142
|
+
*/
|
|
23143
|
+
library_id: MediaLibraryId;
|
|
23144
|
+
/**
|
|
23145
|
+
* The work’s kind.
|
|
23146
|
+
*/
|
|
23147
|
+
kind: MediaWorkKind;
|
|
23148
|
+
/**
|
|
23149
|
+
* The title, copied from body.title.
|
|
23150
|
+
*/
|
|
23151
|
+
title: string;
|
|
23152
|
+
/**
|
|
23153
|
+
* Groups the platform versions of one story; null when unset.
|
|
23154
|
+
*/
|
|
23155
|
+
series: string | null;
|
|
23156
|
+
/**
|
|
23157
|
+
* The kind’s body as stored.
|
|
23158
|
+
*/
|
|
23159
|
+
body: MediaWorkBody;
|
|
23160
|
+
/**
|
|
23161
|
+
* Caller data such as source, published links and numbers; changed with a JSON Merge Patch.
|
|
23162
|
+
*/
|
|
23163
|
+
custom: MediaWorkCustom;
|
|
23164
|
+
/**
|
|
23165
|
+
* Asset ids the body names that have been deleted since; the body keeps them in place and the Console draws a placeholder there.
|
|
23166
|
+
*/
|
|
23167
|
+
missing: Array<string>;
|
|
23168
|
+
/**
|
|
23169
|
+
* Bumped by every change; send it back as if_revision to update only an unchanged work.
|
|
23170
|
+
*/
|
|
23171
|
+
revision: number;
|
|
23172
|
+
/**
|
|
23173
|
+
* Who created the work: human:<user id>, agent:<agent id> or system.
|
|
23174
|
+
*/
|
|
23175
|
+
created_by: string;
|
|
23176
|
+
/**
|
|
23177
|
+
* When the work was created.
|
|
23178
|
+
*/
|
|
23179
|
+
created_at: MediaIsoTimestamp;
|
|
23180
|
+
/**
|
|
23181
|
+
* When the work last changed.
|
|
23182
|
+
*/
|
|
23183
|
+
updated_at: MediaIsoTimestamp;
|
|
23184
|
+
/**
|
|
23185
|
+
* Only with expand=assets: every live referenced asset by id, with its URLs and size.
|
|
23186
|
+
*/
|
|
23187
|
+
assets?: {
|
|
23188
|
+
[key: string]: MediaWorkAsset;
|
|
23189
|
+
};
|
|
23190
|
+
};
|
|
23191
|
+
/**
|
|
23192
|
+
* Kind of work: gallery (图文), article (长文) or product_listing (商品图组). short_video is reserved.
|
|
23193
|
+
*/
|
|
23194
|
+
export type MediaWorkKind = 'gallery' | 'article' | 'product_listing' | 'blocks';
|
|
23195
|
+
export type MediaWorkBody = MediaGalleryBody | MediaArticleBody | MediaProductListingBody | MediaBlocksBody;
|
|
23196
|
+
export type MediaWorkCustom = {
|
|
23197
|
+
[key: string]: unknown;
|
|
23198
|
+
};
|
|
23199
|
+
/**
|
|
23200
|
+
* A page of work summaries.
|
|
23201
|
+
*/
|
|
23202
|
+
export type MediaWorkPage = {
|
|
23203
|
+
/**
|
|
23204
|
+
* Works in this page, most recently changed first.
|
|
23205
|
+
*/
|
|
23206
|
+
data: Array<MediaWorkSummary>;
|
|
23207
|
+
/**
|
|
23208
|
+
* Cursor for the next page, or null when there are no more works.
|
|
23209
|
+
*/
|
|
23210
|
+
next_cursor: string | null;
|
|
23211
|
+
};
|
|
23212
|
+
/**
|
|
23213
|
+
* The answer to deleting a work.
|
|
23214
|
+
*/
|
|
23215
|
+
export type MediaDeletedWork = {
|
|
23216
|
+
/**
|
|
23217
|
+
* Id of the deleted work.
|
|
23218
|
+
*/
|
|
23219
|
+
id: string;
|
|
23220
|
+
/**
|
|
23221
|
+
* Always work.
|
|
23222
|
+
*/
|
|
23223
|
+
object: 'work';
|
|
23224
|
+
/**
|
|
23225
|
+
* Always true: the work is deleted; every asset it named is unchanged.
|
|
23226
|
+
*/
|
|
23227
|
+
deleted: true;
|
|
23228
|
+
};
|
|
22969
23229
|
/**
|
|
22970
23230
|
* One page of type registrations; types are few enough that this face returns them in a single page.
|
|
22971
23231
|
*/
|
|
@@ -36818,11 +37078,11 @@ export type AutomationActionHost = 'builtin' | 'isolate' | 'sandbox';
|
|
|
36818
37078
|
*/
|
|
36819
37079
|
export type AutomationSubject = {
|
|
36820
37080
|
/**
|
|
36821
|
-
* Principal type. user is a signed-in user; api_key is a platform API key; agent is an agent; run is an action performed by a run itself (for example a parent run); trigger is a trigger.
|
|
37081
|
+
* Principal type. user is a signed-in user; api_key is a platform API key; agent is an agent; run is an action performed by a run itself (for example a parent run); trigger is a trigger; application is an application.
|
|
36822
37082
|
*/
|
|
36823
37083
|
type: 'user' | 'api_key' | 'agent' | 'run' | 'trigger';
|
|
36824
37084
|
/**
|
|
36825
|
-
* Principal identifier whose meaning follows type: a user, API key, agent, run or
|
|
37085
|
+
* Principal identifier whose meaning follows type: a user, API key, agent, run, trigger or application id. Treat it as an opaque string.
|
|
36826
37086
|
*/
|
|
36827
37087
|
id: string;
|
|
36828
37088
|
};
|
|
@@ -36865,7 +37125,7 @@ export type AutomationDraft = {
|
|
|
36865
37125
|
*/
|
|
36866
37126
|
source: string;
|
|
36867
37127
|
/**
|
|
36868
|
-
* Draft revision tag (ETag); send it
|
|
37128
|
+
* Draft revision tag (ETag); send it back unchanged as draft.revision when updating the draft or publishing, and a mismatch returns 412.
|
|
36869
37129
|
*/
|
|
36870
37130
|
revision: string;
|
|
36871
37131
|
/**
|
|
@@ -40492,6 +40752,71 @@ export type DevopsCleanupEntry = {
|
|
|
40492
40752
|
*/
|
|
40493
40753
|
error: string | null;
|
|
40494
40754
|
};
|
|
40755
|
+
/**
|
|
40756
|
+
* One tenant event type at one schema version.
|
|
40757
|
+
*/
|
|
40758
|
+
export type EventsEventType = {
|
|
40759
|
+
/**
|
|
40760
|
+
* The event type name, for example automation.run.finished; pass it in the types of subscriptions.create.
|
|
40761
|
+
*/
|
|
40762
|
+
type: string;
|
|
40763
|
+
/**
|
|
40764
|
+
* The version of this type's data schema. Within one version fields are only added; a breaking change publishes a new version, and both are listed side by side for a while.
|
|
40765
|
+
*/
|
|
40766
|
+
schemaversion: number;
|
|
40767
|
+
/**
|
|
40768
|
+
* What the event means and when it is published.
|
|
40769
|
+
*/
|
|
40770
|
+
description?: string;
|
|
40771
|
+
/**
|
|
40772
|
+
* JSON Schema of the event's data, the body of the letter a subscription writes.
|
|
40773
|
+
*/
|
|
40774
|
+
data_schema: {
|
|
40775
|
+
[key: string]: unknown;
|
|
40776
|
+
};
|
|
40777
|
+
/**
|
|
40778
|
+
* The names a filter of this type may use, always subject and actor, plus data.<field> for each top-level field of data_schema.
|
|
40779
|
+
*/
|
|
40780
|
+
filterable: Array<string>;
|
|
40781
|
+
};
|
|
40782
|
+
/**
|
|
40783
|
+
* An RFC 9457 problem; every non-2xx response of this face has this shape.
|
|
40784
|
+
*/
|
|
40785
|
+
export type EventsEventsProblem = {
|
|
40786
|
+
/**
|
|
40787
|
+
* The HTTP status of the response.
|
|
40788
|
+
*/
|
|
40789
|
+
status: number;
|
|
40790
|
+
/**
|
|
40791
|
+
* Machine-readable failure, such as INVALID_PARAMS, UNSUPPORTED_FILTER_DIALECT, SUBSCRIPTION_NOT_FOUND or PROVIDER_UNAVAILABLE.
|
|
40792
|
+
*/
|
|
40793
|
+
code: string;
|
|
40794
|
+
/**
|
|
40795
|
+
* Human-readable reason; it names the offending field and what to do.
|
|
40796
|
+
*/
|
|
40797
|
+
message: string;
|
|
40798
|
+
/**
|
|
40799
|
+
* True when repeating the same call can succeed, as for PROVIDER_UNAVAILABLE; false when the request itself must change.
|
|
40800
|
+
*/
|
|
40801
|
+
retryable?: boolean;
|
|
40802
|
+
};
|
|
40803
|
+
/**
|
|
40804
|
+
* One condition on an event. Write exactly one dialect key: exact (the named attribute equals the value) or prefix (it starts with the value). The attribute is subject, actor or data.<field>.
|
|
40805
|
+
*/
|
|
40806
|
+
export type EventsEventSubscriptionFilter = {
|
|
40807
|
+
/**
|
|
40808
|
+
* The attribute equals the value, for example { subject: "runs/run_1" } or { "data.status": "faulted" }.
|
|
40809
|
+
*/
|
|
40810
|
+
exact?: {
|
|
40811
|
+
[key: string]: string;
|
|
40812
|
+
};
|
|
40813
|
+
/**
|
|
40814
|
+
* The attribute starts with the value, for example { subject: "runs/" }.
|
|
40815
|
+
*/
|
|
40816
|
+
prefix?: {
|
|
40817
|
+
[key: string]: string;
|
|
40818
|
+
};
|
|
40819
|
+
};
|
|
40495
40820
|
/**
|
|
40496
40821
|
* Counts of files still attached to the store or batch, grouped by ingestion status.
|
|
40497
40822
|
*/
|
|
@@ -41554,7 +41879,7 @@ export type MediaGenerationType = 'image' | 'video' | 'speech' | 'music' | 'soun
|
|
|
41554
41879
|
* Edit operations: the change this step applied to its parent asset.
|
|
41555
41880
|
*/
|
|
41556
41881
|
export type MediaGenerationOperation = 'generate' | 'clone' | 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'variations' | 'upscale' | 'outpaint' | 'inpaint' | 'erase' | 'replace_object' | 'recolor' | 'remove_background' | 'replace_background' | 'to_video' | 'extend' | 'edit' | 'lip_sync' | 'frame' | 'to_gif' | 'voice_change' | 'resynthesize';
|
|
41557
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
41882
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'WORK_NOT_FOUND' | 'REVISION_CONFLICT' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'FILE_NOT_READY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'BINDING_READ_ONLY' | 'OPERATION_NOT_SUPPORTED' | 'MODEL_PENDING' | 'REFERENCE_TYPE_MISMATCH' | 'CONSENT_REQUIRED' | 'LIBRARY_IS_DEFAULT' | 'JOB_INVALID_STATE' | 'VOICE_TRAINING' | 'INSUFFICIENT_BALANCE';
|
|
41558
41883
|
/**
|
|
41559
41884
|
* State of a requested generation output.
|
|
41560
41885
|
*/
|
|
@@ -41900,6 +42225,192 @@ export type MediaHlsRendition = {
|
|
|
41900
42225
|
state: MediaHlsRenditionState;
|
|
41901
42226
|
};
|
|
41902
42227
|
export type MediaVoiceConsentId = string;
|
|
42228
|
+
/**
|
|
42229
|
+
* One referenced asset as expand=assets returns it: enough to draw it without another call.
|
|
42230
|
+
*/
|
|
42231
|
+
export type MediaWorkAsset = {
|
|
42232
|
+
/**
|
|
42233
|
+
* The asset’s material type, such as image or video.
|
|
42234
|
+
*/
|
|
42235
|
+
type: MediaMaterialType;
|
|
42236
|
+
/**
|
|
42237
|
+
* Short-lived delivery URL of the asset.
|
|
42238
|
+
*/
|
|
42239
|
+
url: string;
|
|
42240
|
+
/**
|
|
42241
|
+
* Short-lived URL of a small picture: the poster of a video, otherwise the asset itself.
|
|
42242
|
+
*/
|
|
42243
|
+
thumbnail_url: string;
|
|
42244
|
+
/**
|
|
42245
|
+
* Width in pixels when known.
|
|
42246
|
+
*/
|
|
42247
|
+
width?: number;
|
|
42248
|
+
/**
|
|
42249
|
+
* Height in pixels when known.
|
|
42250
|
+
*/
|
|
42251
|
+
height?: number;
|
|
42252
|
+
/**
|
|
42253
|
+
* The asset’s display name.
|
|
42254
|
+
*/
|
|
42255
|
+
display_name: string;
|
|
42256
|
+
};
|
|
42257
|
+
/**
|
|
42258
|
+
* Body of a gallery (图文). Order is the order of items.
|
|
42259
|
+
*/
|
|
42260
|
+
export type MediaGalleryBody = {
|
|
42261
|
+
/**
|
|
42262
|
+
* Title, 1 to 100 characters.
|
|
42263
|
+
*/
|
|
42264
|
+
title: string;
|
|
42265
|
+
/**
|
|
42266
|
+
* Body text, at most 10000 characters.
|
|
42267
|
+
*/
|
|
42268
|
+
text?: string;
|
|
42269
|
+
/**
|
|
42270
|
+
* Topics without the # sign, at most 30 of up to 40 characters.
|
|
42271
|
+
*/
|
|
42272
|
+
topics?: Array<string>;
|
|
42273
|
+
/**
|
|
42274
|
+
* Optional cover: an image or sticker asset of this library; without it the first picture is the cover.
|
|
42275
|
+
*/
|
|
42276
|
+
cover?: string;
|
|
42277
|
+
/**
|
|
42278
|
+
* Pictures, videos and text segments in order, 1 to 100 entries with at least one asset; each asset appears once.
|
|
42279
|
+
*/
|
|
42280
|
+
items: Array<MediaGalleryItem>;
|
|
42281
|
+
/**
|
|
42282
|
+
* Display style; defaults to xiaohongshu in the Console.
|
|
42283
|
+
*/
|
|
42284
|
+
style?: MediaWorkStyle;
|
|
42285
|
+
};
|
|
42286
|
+
/**
|
|
42287
|
+
* Body of an article (长文). Inline images live in the Markdown as  and sit where they are written.
|
|
42288
|
+
*/
|
|
42289
|
+
export type MediaArticleBody = {
|
|
42290
|
+
/**
|
|
42291
|
+
* Title, 1 to 200 characters.
|
|
42292
|
+
*/
|
|
42293
|
+
title: string;
|
|
42294
|
+
/**
|
|
42295
|
+
* Optional summary or digest, at most 500 characters.
|
|
42296
|
+
*/
|
|
42297
|
+
summary?: string;
|
|
42298
|
+
/**
|
|
42299
|
+
* Optional author name, at most 60 characters.
|
|
42300
|
+
*/
|
|
42301
|
+
author?: string;
|
|
42302
|
+
/**
|
|
42303
|
+
* The article in Markdown, 1 to 100000 characters; every asset:<asset_id> image must be an image or sticker of this library.
|
|
42304
|
+
*/
|
|
42305
|
+
body: string;
|
|
42306
|
+
/**
|
|
42307
|
+
* Optional cover: an image or sticker asset of this library.
|
|
42308
|
+
*/
|
|
42309
|
+
cover?: string;
|
|
42310
|
+
/**
|
|
42311
|
+
* Display style; defaults to wechat_mp in the Console.
|
|
42312
|
+
*/
|
|
42313
|
+
style?: MediaWorkStyle;
|
|
42314
|
+
};
|
|
42315
|
+
/**
|
|
42316
|
+
* Body of a product listing (商品图组). Images and copy only: price, stock and other business data are managed outside the library and are refused.
|
|
42317
|
+
*/
|
|
42318
|
+
export type MediaProductListingBody = {
|
|
42319
|
+
/**
|
|
42320
|
+
* Listing title, 1 to 200 characters.
|
|
42321
|
+
*/
|
|
42322
|
+
title: string;
|
|
42323
|
+
/**
|
|
42324
|
+
* Selling points in order, at most 10 of up to 100 characters.
|
|
42325
|
+
*/
|
|
42326
|
+
selling_points?: Array<string>;
|
|
42327
|
+
/**
|
|
42328
|
+
* Parameter rows in order, at most 50.
|
|
42329
|
+
*/
|
|
42330
|
+
attributes?: Array<MediaListingAttribute>;
|
|
42331
|
+
/**
|
|
42332
|
+
* Main images in order, 1 to 20 image or sticker assets of this library.
|
|
42333
|
+
*/
|
|
42334
|
+
main: Array<string>;
|
|
42335
|
+
/**
|
|
42336
|
+
* Detail images in order, at most 100 image or sticker assets of this library.
|
|
42337
|
+
*/
|
|
42338
|
+
detail?: Array<string>;
|
|
42339
|
+
/**
|
|
42340
|
+
* SKUs in order, at most 200.
|
|
42341
|
+
*/
|
|
42342
|
+
skus?: Array<MediaListingSku>;
|
|
42343
|
+
/**
|
|
42344
|
+
* Optional product element (material_type product) this listing shows.
|
|
42345
|
+
*/
|
|
42346
|
+
product?: string;
|
|
42347
|
+
/**
|
|
42348
|
+
* Display style; defaults to generic in the Console.
|
|
42349
|
+
*/
|
|
42350
|
+
style?: MediaWorkStyle;
|
|
42351
|
+
};
|
|
42352
|
+
/**
|
|
42353
|
+
* Body of a general work (通用作品): Editor.js saved data plus one field of ours, a required title. Business attributes go in the work’s custom, not in a block.
|
|
42354
|
+
*/
|
|
42355
|
+
export type MediaBlocksBody = {
|
|
42356
|
+
/**
|
|
42357
|
+
* The work’s title, 1 to 200 characters, written explicitly as in the other kinds; lists and sorting use it.
|
|
42358
|
+
*/
|
|
42359
|
+
title: string;
|
|
42360
|
+
/**
|
|
42361
|
+
* Optional Editor.js save time in milliseconds, kept as sent.
|
|
42362
|
+
*/
|
|
42363
|
+
time?: number;
|
|
42364
|
+
/**
|
|
42365
|
+
* The blocks in order, 1 to 500.
|
|
42366
|
+
*/
|
|
42367
|
+
blocks: Array<MediaEditorBlock>;
|
|
42368
|
+
/**
|
|
42369
|
+
* Optional Editor.js version string, kept as sent.
|
|
42370
|
+
*/
|
|
42371
|
+
version?: string;
|
|
42372
|
+
};
|
|
42373
|
+
/**
|
|
42374
|
+
* One work in a list.
|
|
42375
|
+
*/
|
|
42376
|
+
export type MediaWorkSummary = {
|
|
42377
|
+
/**
|
|
42378
|
+
* Always work.
|
|
42379
|
+
*/
|
|
42380
|
+
object: 'work';
|
|
42381
|
+
/**
|
|
42382
|
+
* Work id (wrk_…).
|
|
42383
|
+
*/
|
|
42384
|
+
id: string;
|
|
42385
|
+
/**
|
|
42386
|
+
* The work’s kind.
|
|
42387
|
+
*/
|
|
42388
|
+
kind: MediaWorkKind;
|
|
42389
|
+
/**
|
|
42390
|
+
* The work’s title.
|
|
42391
|
+
*/
|
|
42392
|
+
title: string;
|
|
42393
|
+
/**
|
|
42394
|
+
* The work’s series, or null.
|
|
42395
|
+
*/
|
|
42396
|
+
series: string | null;
|
|
42397
|
+
/**
|
|
42398
|
+
* Short-lived URL of the cover picture, or null when it is missing.
|
|
42399
|
+
*/
|
|
42400
|
+
cover_url: string | null;
|
|
42401
|
+
/**
|
|
42402
|
+
* How many distinct assets the body orders, cover and product element excluded.
|
|
42403
|
+
*/
|
|
42404
|
+
item_count: number;
|
|
42405
|
+
/**
|
|
42406
|
+
* How many referenced assets have been deleted since.
|
|
42407
|
+
*/
|
|
42408
|
+
missing_count: number;
|
|
42409
|
+
/**
|
|
42410
|
+
* When the work last changed.
|
|
42411
|
+
*/
|
|
42412
|
+
updated_at: MediaIsoTimestamp;
|
|
42413
|
+
};
|
|
41903
42414
|
/**
|
|
41904
42415
|
* A kind of entity the graph accepts, for example a file or a customer.
|
|
41905
42416
|
*/
|
|
@@ -48884,7 +49395,7 @@ export type MediaSemanticMatch = {
|
|
|
48884
49395
|
/**
|
|
48885
49396
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
48886
49397
|
*/
|
|
48887
|
-
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' | 'hls.requested' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
49398
|
+
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' | 'hls.requested' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled' | 'work.created' | 'work.updated' | 'work.deleted';
|
|
48888
49399
|
/**
|
|
48889
49400
|
* One picture an element names, with the word the caller uses for that view.
|
|
48890
49401
|
*/
|
|
@@ -48980,6 +49491,75 @@ export type MediaGenerationCapabilityModel = {
|
|
|
48980
49491
|
* Readiness of one rung or of the ladder it is part of.
|
|
48981
49492
|
*/
|
|
48982
49493
|
export type MediaHlsRenditionState = 'processing' | 'ready' | 'failed';
|
|
49494
|
+
/**
|
|
49495
|
+
* One position of a gallery: a picture or video of this library ({asset_id, caption?}) or a text segment between pictures ({text}).
|
|
49496
|
+
*/
|
|
49497
|
+
export type MediaGalleryItem = {
|
|
49498
|
+
/**
|
|
49499
|
+
* An image, sticker or video asset of this library; its position in items is its position in the gallery.
|
|
49500
|
+
*/
|
|
49501
|
+
asset_id: string;
|
|
49502
|
+
/**
|
|
49503
|
+
* Optional caption for this picture, at most 1000 characters.
|
|
49504
|
+
*/
|
|
49505
|
+
caption?: string;
|
|
49506
|
+
} | {
|
|
49507
|
+
/**
|
|
49508
|
+
* A text segment shown between pictures, at most 1000 characters.
|
|
49509
|
+
*/
|
|
49510
|
+
text: string;
|
|
49511
|
+
};
|
|
49512
|
+
/**
|
|
49513
|
+
* Which platform look the Console draws the work in; a display hint, never a platform check.
|
|
49514
|
+
*/
|
|
49515
|
+
export type MediaWorkStyle = 'xiaohongshu' | 'wechat_mp' | 'jike' | 'generic';
|
|
49516
|
+
/**
|
|
49517
|
+
* One parameter row of a listing.
|
|
49518
|
+
*/
|
|
49519
|
+
export type MediaListingAttribute = {
|
|
49520
|
+
/**
|
|
49521
|
+
* Parameter name such as 容量, at most 40 characters.
|
|
49522
|
+
*/
|
|
49523
|
+
name: string;
|
|
49524
|
+
/**
|
|
49525
|
+
* Parameter value such as 500ml, at most 200 characters.
|
|
49526
|
+
*/
|
|
49527
|
+
value: string;
|
|
49528
|
+
};
|
|
49529
|
+
/**
|
|
49530
|
+
* One SKU of a listing.
|
|
49531
|
+
*/
|
|
49532
|
+
export type MediaListingSku = {
|
|
49533
|
+
/**
|
|
49534
|
+
* The SKU’s value on each spec axis, such as {"颜色":"白"}; 1 to 5 axes; the keys are kept as written.
|
|
49535
|
+
*/
|
|
49536
|
+
spec: {
|
|
49537
|
+
[key: string]: string;
|
|
49538
|
+
};
|
|
49539
|
+
/**
|
|
49540
|
+
* Optional picture of this SKU: an image or sticker asset of this library.
|
|
49541
|
+
*/
|
|
49542
|
+
asset_id?: string;
|
|
49543
|
+
};
|
|
49544
|
+
/**
|
|
49545
|
+
* One Editor.js block, as Editor.js saves it. type is one of the official blocks: paragraph {text}, header {text, level 1–6}, list {style ordered|unordered|checklist, meta, items[{content, meta, items}]}, quote {text, caption, alignment left|center}, delimiter {}, image, table {withHeadings, stretched, content string[][]}, checklist {items[{text, checked}]}, warning {title, message}, embed {service, source, embed, width, height, caption}. The one departure from Editor.js: an image block is {asset_id, caption, withBorder, withBackground, stretched} and names an image or sticker asset of this library instead of file.url. Text keeps Editor.js inline HTML. Unknown types and fields are refused.
|
|
49546
|
+
*/
|
|
49547
|
+
export type MediaEditorBlock = {
|
|
49548
|
+
/**
|
|
49549
|
+
* Block id, 1–64 letters, digits, _ or -, unique in the body.
|
|
49550
|
+
*/
|
|
49551
|
+
id: string;
|
|
49552
|
+
/**
|
|
49553
|
+
* The official Editor.js block type.
|
|
49554
|
+
*/
|
|
49555
|
+
type: 'paragraph' | 'header' | 'list' | 'quote' | 'delimiter' | 'image' | 'table' | 'checklist' | 'warning' | 'embed';
|
|
49556
|
+
/**
|
|
49557
|
+
* The block’s data in that type’s Editor.js shape.
|
|
49558
|
+
*/
|
|
49559
|
+
data: {
|
|
49560
|
+
[key: string]: unknown;
|
|
49561
|
+
};
|
|
49562
|
+
};
|
|
48983
49563
|
/**
|
|
48984
49564
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
48985
49565
|
*/
|
|
@@ -50931,7 +51511,7 @@ export type PraxisSdkSsePostModelV1Messages = {
|
|
|
50931
51511
|
};
|
|
50932
51512
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdEventsStream = AgentSseEvent;
|
|
50933
51513
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdThreadsThreadIdStream = AgentSseEvent;
|
|
50934
|
-
export type
|
|
51514
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdEvents = ({
|
|
50935
51515
|
/**
|
|
50936
51516
|
* SSE event name: one of ai.praxis.automation.run.status, ai.praxis.automation.run.progress, ai.praxis.automation.call.started, ai.praxis.automation.call.completed, ai.praxis.automation.task.started, ai.praxis.automation.task.completed, ai.praxis.automation.wait.created, ai.praxis.automation.wait.resolved, naming the RunEvent type carried in data.
|
|
50937
51517
|
*/
|
|
@@ -50964,7 +51544,7 @@ export type PraxisSdkSseGetAutomationV1RunsIdEvents = ({
|
|
|
50964
51544
|
[key: string]: unknown;
|
|
50965
51545
|
};
|
|
50966
51546
|
};
|
|
50967
|
-
export type
|
|
51547
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdLogs = ({
|
|
50968
51548
|
/**
|
|
50969
51549
|
* SSE event name: log, one log line is carried in data.
|
|
50970
51550
|
*/
|
|
@@ -52600,6 +53180,10 @@ export type DevopsWorkspaceStagePath = DevopsWorkspaceStage;
|
|
|
52600
53180
|
* The unit identifier returned by the unit create answer or a unit list, such as wsu_…; not the id of the change it was opened for.
|
|
52601
53181
|
*/
|
|
52602
53182
|
export type DevopsUnitIdPath = string;
|
|
53183
|
+
/**
|
|
53184
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
53185
|
+
*/
|
|
53186
|
+
export type EventsSubscriptionId = string;
|
|
52603
53187
|
/**
|
|
52604
53188
|
* A type name from types.list, with its dots preserved — a display label is not accepted.
|
|
52605
53189
|
*/
|
|
@@ -70215,235 +70799,85 @@ export type BrowserRunPageActionData = {
|
|
|
70215
70799
|
tab?: string;
|
|
70216
70800
|
} | {
|
|
70217
70801
|
/**
|
|
70218
|
-
*
|
|
70219
|
-
*/
|
|
70220
|
-
type: 'back' | 'forward' | 'reload';
|
|
70221
|
-
/**
|
|
70222
|
-
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
70223
|
-
*/
|
|
70224
|
-
tab?: string;
|
|
70225
|
-
};
|
|
70226
|
-
path: {
|
|
70227
|
-
/**
|
|
70228
|
-
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
70229
|
-
*/
|
|
70230
|
-
sessionId: string;
|
|
70231
|
-
};
|
|
70232
|
-
query?: never;
|
|
70233
|
-
url: '/browser/v1/sessions/{sessionId}/actions';
|
|
70234
|
-
};
|
|
70235
|
-
export type BrowserRunPageActionErrors = {
|
|
70236
|
-
/**
|
|
70237
|
-
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70238
|
-
*/
|
|
70239
|
-
400: BrowserError;
|
|
70240
|
-
/**
|
|
70241
|
-
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70242
|
-
*/
|
|
70243
|
-
401: BrowserError;
|
|
70244
|
-
/**
|
|
70245
|
-
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70246
|
-
*/
|
|
70247
|
-
402: BrowserError;
|
|
70248
|
-
/**
|
|
70249
|
-
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70250
|
-
*/
|
|
70251
|
-
403: BrowserError;
|
|
70252
|
-
/**
|
|
70253
|
-
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70254
|
-
*/
|
|
70255
|
-
404: BrowserError;
|
|
70256
|
-
/**
|
|
70257
|
-
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70258
|
-
*/
|
|
70259
|
-
409: BrowserError;
|
|
70260
|
-
/**
|
|
70261
|
-
* BROWSER_REVOKED
|
|
70262
|
-
*/
|
|
70263
|
-
410: BrowserError;
|
|
70264
|
-
/**
|
|
70265
|
-
* ACTION_RESULT_TOO_LARGE
|
|
70266
|
-
*/
|
|
70267
|
-
413: BrowserError;
|
|
70268
|
-
/**
|
|
70269
|
-
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70270
|
-
*/
|
|
70271
|
-
429: BrowserError;
|
|
70272
|
-
/**
|
|
70273
|
-
* INTERNAL
|
|
70274
|
-
*/
|
|
70275
|
-
500: BrowserError;
|
|
70276
|
-
/**
|
|
70277
|
-
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70278
|
-
*/
|
|
70279
|
-
501: BrowserError;
|
|
70280
|
-
/**
|
|
70281
|
-
* PROVIDER_FAILED
|
|
70282
|
-
*/
|
|
70283
|
-
502: BrowserError;
|
|
70284
|
-
/**
|
|
70285
|
-
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70286
|
-
*/
|
|
70287
|
-
503: BrowserError;
|
|
70288
|
-
/**
|
|
70289
|
-
* ACTION_TIMEOUT
|
|
70290
|
-
*/
|
|
70291
|
-
504: BrowserError;
|
|
70292
|
-
};
|
|
70293
|
-
export type BrowserRunPageActionError = BrowserRunPageActionErrors[keyof BrowserRunPageActionErrors];
|
|
70294
|
-
export type BrowserRunPageActionResponses = {
|
|
70295
|
-
/**
|
|
70296
|
-
* 请求成功。
|
|
70297
|
-
*/
|
|
70298
|
-
200: {
|
|
70299
|
-
/**
|
|
70300
|
-
* 这次执行的动作类型,与请求的 type 相同。
|
|
70301
|
-
*/
|
|
70302
|
-
type: 'open' | 'click' | 'fill' | 'press' | 'scroll' | 'back' | 'forward' | 'reload';
|
|
70303
|
-
/**
|
|
70304
|
-
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70802
|
+
* 动作类型,固定为 route。
|
|
70305
70803
|
*/
|
|
70306
|
-
|
|
70804
|
+
type: 'route';
|
|
70307
70805
|
/**
|
|
70308
|
-
*
|
|
70806
|
+
* 要匹配的请求地址:glob(* 不跨 /,** 跨 /,** 匹配零段或更多路径段)或用 /…/ 包起来的正则;最多 2048 个字符,写错在注册时即返回 400 INVALID_PARAMS。
|
|
70309
70807
|
*/
|
|
70310
70808
|
url: string;
|
|
70311
70809
|
/**
|
|
70312
|
-
*
|
|
70810
|
+
* 只匹配这个 HTTP 方法(不区分大小写);省略则匹配所有方法。
|
|
70313
70811
|
*/
|
|
70314
|
-
|
|
70315
|
-
} | {
|
|
70316
|
-
/**
|
|
70317
|
-
* 动作类型,固定为 select。
|
|
70318
|
-
*/
|
|
70319
|
-
type: 'select';
|
|
70320
|
-
/**
|
|
70321
|
-
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70322
|
-
*/
|
|
70323
|
-
tab: string;
|
|
70324
|
-
/**
|
|
70325
|
-
* 这次选中的 option 的 value,按它们在下拉框中出现的顺序;单选下拉框最多一项。
|
|
70326
|
-
*/
|
|
70327
|
-
values: Array<string>;
|
|
70328
|
-
} | {
|
|
70812
|
+
method?: string;
|
|
70329
70813
|
/**
|
|
70330
|
-
*
|
|
70814
|
+
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
70331
70815
|
*/
|
|
70332
|
-
|
|
70816
|
+
tab?: string;
|
|
70333
70817
|
/**
|
|
70334
|
-
*
|
|
70818
|
+
* 命中后的处理方式,由 kind 选择:fulfill 直接返回给定响应,abort 让请求失败,delay 按原样转发但推迟给定的毫秒数。
|
|
70335
70819
|
*/
|
|
70336
|
-
|
|
70820
|
+
response: {
|
|
70337
70821
|
/**
|
|
70338
|
-
*
|
|
70822
|
+
* 直接返回给定响应。
|
|
70339
70823
|
*/
|
|
70340
|
-
|
|
70824
|
+
kind: 'fulfill';
|
|
70341
70825
|
/**
|
|
70342
|
-
*
|
|
70826
|
+
* 返回的 HTTP 状态码,100 到 599。
|
|
70343
70827
|
*/
|
|
70344
|
-
|
|
70828
|
+
status: number;
|
|
70345
70829
|
/**
|
|
70346
|
-
*
|
|
70830
|
+
* 返回的响应头,名 → 值;最多 100 项。
|
|
70347
70831
|
*/
|
|
70348
|
-
|
|
70832
|
+
headers?: {
|
|
70833
|
+
[key: string]: string;
|
|
70834
|
+
};
|
|
70349
70835
|
/**
|
|
70350
|
-
*
|
|
70836
|
+
* 返回的响应体,最多 1000000 个字符。
|
|
70351
70837
|
*/
|
|
70352
|
-
|
|
70353
|
-
}
|
|
70354
|
-
|
|
70355
|
-
|
|
70356
|
-
|
|
70357
|
-
|
|
70358
|
-
|
|
70359
|
-
|
|
70360
|
-
|
|
70361
|
-
|
|
70362
|
-
|
|
70363
|
-
|
|
70364
|
-
|
|
70365
|
-
|
|
70366
|
-
|
|
70367
|
-
|
|
70368
|
-
|
|
70369
|
-
|
|
70370
|
-
|
|
70371
|
-
|
|
70372
|
-
* 页面的 ARIA 快照文本,每行一个元素,可操作的元素带 [ref=eN]。
|
|
70373
|
-
*/
|
|
70374
|
-
snapshot: string;
|
|
70375
|
-
/**
|
|
70376
|
-
* 这份快照里分配出去的 ref 个数。
|
|
70377
|
-
*/
|
|
70378
|
-
refs: number;
|
|
70379
|
-
/**
|
|
70380
|
-
* 快照超过 200000 个字符被截断时为 true。
|
|
70381
|
-
*/
|
|
70382
|
-
truncated: boolean;
|
|
70838
|
+
body?: string;
|
|
70839
|
+
} | {
|
|
70840
|
+
/**
|
|
70841
|
+
* 让请求失败,页面看到一次网络错误。
|
|
70842
|
+
*/
|
|
70843
|
+
kind: 'abort';
|
|
70844
|
+
/**
|
|
70845
|
+
* Playwright 的错误码;省略为 failed。
|
|
70846
|
+
*/
|
|
70847
|
+
error?: 'aborted' | 'accessdenied' | 'addressunreachable' | 'blockedbyclient' | 'blockedbyresponse' | 'connectionaborted' | 'connectionclosed' | 'connectionfailed' | 'connectionrefused' | 'connectionreset' | 'internetdisconnected' | 'namenotresolved' | 'timedout' | 'failed';
|
|
70848
|
+
} | {
|
|
70849
|
+
/**
|
|
70850
|
+
* 按原样转发请求,但推迟给定毫秒数,用来观察页面的加载态。
|
|
70851
|
+
*/
|
|
70852
|
+
kind: 'delay';
|
|
70853
|
+
/**
|
|
70854
|
+
* 推迟的毫秒数,0 到 60000;超出返回 400 INVALID_PARAMS。
|
|
70855
|
+
*/
|
|
70856
|
+
ms: number;
|
|
70857
|
+
};
|
|
70383
70858
|
} | {
|
|
70384
70859
|
/**
|
|
70385
|
-
* 动作类型,固定为
|
|
70386
|
-
*/
|
|
70387
|
-
type: 'screenshot';
|
|
70388
|
-
/**
|
|
70389
|
-
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70390
|
-
*/
|
|
70391
|
-
tab: string;
|
|
70392
|
-
/**
|
|
70393
|
-
* 图片格式,固定为 image/png。
|
|
70860
|
+
* 动作类型,固定为 unroute。
|
|
70394
70861
|
*/
|
|
70395
|
-
|
|
70862
|
+
type: 'unroute';
|
|
70396
70863
|
/**
|
|
70397
|
-
*
|
|
70864
|
+
* route 动作返回的规则 ID;不存在时 removed 为 false,不报错。
|
|
70398
70865
|
*/
|
|
70399
|
-
|
|
70400
|
-
/**
|
|
70401
|
-
* 图片 base64 解码后的字节数。
|
|
70402
|
-
*/
|
|
70403
|
-
bytes: number;
|
|
70866
|
+
routeId: string;
|
|
70404
70867
|
} | {
|
|
70405
70868
|
/**
|
|
70406
|
-
* 动作类型,固定为
|
|
70407
|
-
*/
|
|
70408
|
-
type: 'evaluate';
|
|
70409
|
-
/**
|
|
70410
|
-
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70411
|
-
*/
|
|
70412
|
-
tab: string;
|
|
70413
|
-
/**
|
|
70414
|
-
* 表达式的结果,按 JSON 返回;序列化后最多 64000 个字符。
|
|
70869
|
+
* 动作类型,固定为 routes。
|
|
70415
70870
|
*/
|
|
70416
|
-
|
|
70871
|
+
type: 'routes';
|
|
70417
70872
|
} | {
|
|
70418
70873
|
/**
|
|
70419
|
-
*
|
|
70420
|
-
*/
|
|
70421
|
-
type: 'set_cookie';
|
|
70422
|
-
/**
|
|
70423
|
-
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70424
|
-
*/
|
|
70425
|
-
tab: string;
|
|
70426
|
-
/**
|
|
70427
|
-
* 已设置的 cookie 名称。
|
|
70428
|
-
*/
|
|
70429
|
-
name: string;
|
|
70430
|
-
/**
|
|
70431
|
-
* 已设置的 cookie 的域。
|
|
70432
|
-
*/
|
|
70433
|
-
domain: string;
|
|
70434
|
-
};
|
|
70435
|
-
};
|
|
70436
|
-
export type BrowserRunPageActionResponse = BrowserRunPageActionResponses[keyof BrowserRunPageActionResponses];
|
|
70437
|
-
export type BrowserRequestHandoffData = {
|
|
70438
|
-
body: {
|
|
70439
|
-
/**
|
|
70440
|
-
* 交给人工操作者的接管说明,可为空字符串。
|
|
70874
|
+
* 动作类型:后退、前进或刷新当前页。
|
|
70441
70875
|
*/
|
|
70442
|
-
|
|
70876
|
+
type: 'back' | 'forward' | 'reload';
|
|
70443
70877
|
/**
|
|
70444
|
-
*
|
|
70878
|
+
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
70445
70879
|
*/
|
|
70446
|
-
|
|
70880
|
+
tab?: string;
|
|
70447
70881
|
};
|
|
70448
70882
|
path: {
|
|
70449
70883
|
/**
|
|
@@ -70452,9 +70886,285 @@ export type BrowserRequestHandoffData = {
|
|
|
70452
70886
|
sessionId: string;
|
|
70453
70887
|
};
|
|
70454
70888
|
query?: never;
|
|
70455
|
-
url: '/browser/v1/sessions/{sessionId}/
|
|
70889
|
+
url: '/browser/v1/sessions/{sessionId}/actions';
|
|
70456
70890
|
};
|
|
70457
|
-
export type
|
|
70891
|
+
export type BrowserRunPageActionErrors = {
|
|
70892
|
+
/**
|
|
70893
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70894
|
+
*/
|
|
70895
|
+
400: BrowserError;
|
|
70896
|
+
/**
|
|
70897
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
70898
|
+
*/
|
|
70899
|
+
401: BrowserError;
|
|
70900
|
+
/**
|
|
70901
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
70902
|
+
*/
|
|
70903
|
+
402: BrowserError;
|
|
70904
|
+
/**
|
|
70905
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70906
|
+
*/
|
|
70907
|
+
403: BrowserError;
|
|
70908
|
+
/**
|
|
70909
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PAIRING_NOT_FOUND / BROWSER_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
70910
|
+
*/
|
|
70911
|
+
404: BrowserError;
|
|
70912
|
+
/**
|
|
70913
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / SESSION_NAME_IN_USE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
70914
|
+
*/
|
|
70915
|
+
409: BrowserError;
|
|
70916
|
+
/**
|
|
70917
|
+
* BROWSER_REVOKED
|
|
70918
|
+
*/
|
|
70919
|
+
410: BrowserError;
|
|
70920
|
+
/**
|
|
70921
|
+
* ACTION_RESULT_TOO_LARGE
|
|
70922
|
+
*/
|
|
70923
|
+
413: BrowserError;
|
|
70924
|
+
/**
|
|
70925
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
70926
|
+
*/
|
|
70927
|
+
429: BrowserError;
|
|
70928
|
+
/**
|
|
70929
|
+
* INTERNAL
|
|
70930
|
+
*/
|
|
70931
|
+
500: BrowserError;
|
|
70932
|
+
/**
|
|
70933
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
70934
|
+
*/
|
|
70935
|
+
501: BrowserError;
|
|
70936
|
+
/**
|
|
70937
|
+
* PROVIDER_FAILED
|
|
70938
|
+
*/
|
|
70939
|
+
502: BrowserError;
|
|
70940
|
+
/**
|
|
70941
|
+
* BROWSER_OFFLINE / SERVICE_UNAVAILABLE
|
|
70942
|
+
*/
|
|
70943
|
+
503: BrowserError;
|
|
70944
|
+
/**
|
|
70945
|
+
* ACTION_TIMEOUT
|
|
70946
|
+
*/
|
|
70947
|
+
504: BrowserError;
|
|
70948
|
+
};
|
|
70949
|
+
export type BrowserRunPageActionError = BrowserRunPageActionErrors[keyof BrowserRunPageActionErrors];
|
|
70950
|
+
export type BrowserRunPageActionResponses = {
|
|
70951
|
+
/**
|
|
70952
|
+
* 请求成功。
|
|
70953
|
+
*/
|
|
70954
|
+
200: {
|
|
70955
|
+
/**
|
|
70956
|
+
* 这次执行的动作类型,与请求的 type 相同。
|
|
70957
|
+
*/
|
|
70958
|
+
type: 'open' | 'click' | 'fill' | 'press' | 'scroll' | 'back' | 'forward' | 'reload';
|
|
70959
|
+
/**
|
|
70960
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70961
|
+
*/
|
|
70962
|
+
tab: string;
|
|
70963
|
+
/**
|
|
70964
|
+
* 动作完成后该标签页的地址。
|
|
70965
|
+
*/
|
|
70966
|
+
url: string;
|
|
70967
|
+
/**
|
|
70968
|
+
* 动作完成后该标签页的标题,页面没有标题时为空字符串。
|
|
70969
|
+
*/
|
|
70970
|
+
title: string;
|
|
70971
|
+
} | {
|
|
70972
|
+
/**
|
|
70973
|
+
* 动作类型,固定为 select。
|
|
70974
|
+
*/
|
|
70975
|
+
type: 'select';
|
|
70976
|
+
/**
|
|
70977
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
70978
|
+
*/
|
|
70979
|
+
tab: string;
|
|
70980
|
+
/**
|
|
70981
|
+
* 这次选中的 option 的 value,按它们在下拉框中出现的顺序;单选下拉框最多一项。
|
|
70982
|
+
*/
|
|
70983
|
+
values: Array<string>;
|
|
70984
|
+
} | {
|
|
70985
|
+
/**
|
|
70986
|
+
* 动作类型,固定为 tabs.list。
|
|
70987
|
+
*/
|
|
70988
|
+
type: 'tabs.list';
|
|
70989
|
+
/**
|
|
70990
|
+
* 会话里所有打开的标签页。
|
|
70991
|
+
*/
|
|
70992
|
+
tabs: Array<{
|
|
70993
|
+
/**
|
|
70994
|
+
* 标签页 ID,可在动作的 tab 里使用。
|
|
70995
|
+
*/
|
|
70996
|
+
id: string;
|
|
70997
|
+
/**
|
|
70998
|
+
* 标签页当前地址。
|
|
70999
|
+
*/
|
|
71000
|
+
url: string;
|
|
71001
|
+
/**
|
|
71002
|
+
* 标签页当前标题。
|
|
71003
|
+
*/
|
|
71004
|
+
title: string;
|
|
71005
|
+
/**
|
|
71006
|
+
* 是否为当前标签页,省略 tab 的动作作用于它。
|
|
71007
|
+
*/
|
|
71008
|
+
active: boolean;
|
|
71009
|
+
}>;
|
|
71010
|
+
} | {
|
|
71011
|
+
/**
|
|
71012
|
+
* 动作类型,固定为 snapshot。
|
|
71013
|
+
*/
|
|
71014
|
+
type: 'snapshot';
|
|
71015
|
+
/**
|
|
71016
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
71017
|
+
*/
|
|
71018
|
+
tab: string;
|
|
71019
|
+
/**
|
|
71020
|
+
* 动作完成后该标签页的地址。
|
|
71021
|
+
*/
|
|
71022
|
+
url: string;
|
|
71023
|
+
/**
|
|
71024
|
+
* 动作完成后该标签页的标题,页面没有标题时为空字符串。
|
|
71025
|
+
*/
|
|
71026
|
+
title: string;
|
|
71027
|
+
/**
|
|
71028
|
+
* 页面的 ARIA 快照文本,每行一个元素,可操作的元素带 [ref=eN]。
|
|
71029
|
+
*/
|
|
71030
|
+
snapshot: string;
|
|
71031
|
+
/**
|
|
71032
|
+
* 这份快照里分配出去的 ref 个数。
|
|
71033
|
+
*/
|
|
71034
|
+
refs: number;
|
|
71035
|
+
/**
|
|
71036
|
+
* 快照超过 200000 个字符被截断时为 true。
|
|
71037
|
+
*/
|
|
71038
|
+
truncated: boolean;
|
|
71039
|
+
} | {
|
|
71040
|
+
/**
|
|
71041
|
+
* 动作类型,固定为 screenshot。
|
|
71042
|
+
*/
|
|
71043
|
+
type: 'screenshot';
|
|
71044
|
+
/**
|
|
71045
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
71046
|
+
*/
|
|
71047
|
+
tab: string;
|
|
71048
|
+
/**
|
|
71049
|
+
* 图片格式,固定为 image/png。
|
|
71050
|
+
*/
|
|
71051
|
+
mediaType: 'image/png';
|
|
71052
|
+
/**
|
|
71053
|
+
* PNG 图片的 base64 编码;解码后最多 5 MiB。
|
|
71054
|
+
*/
|
|
71055
|
+
data: string;
|
|
71056
|
+
/**
|
|
71057
|
+
* 图片 base64 解码后的字节数。
|
|
71058
|
+
*/
|
|
71059
|
+
bytes: number;
|
|
71060
|
+
} | {
|
|
71061
|
+
/**
|
|
71062
|
+
* 动作类型,固定为 evaluate。
|
|
71063
|
+
*/
|
|
71064
|
+
type: 'evaluate';
|
|
71065
|
+
/**
|
|
71066
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
71067
|
+
*/
|
|
71068
|
+
tab: string;
|
|
71069
|
+
/**
|
|
71070
|
+
* 表达式的结果,按 JSON 返回;序列化后最多 64000 个字符。
|
|
71071
|
+
*/
|
|
71072
|
+
value: unknown;
|
|
71073
|
+
} | {
|
|
71074
|
+
/**
|
|
71075
|
+
* 动作类型,固定为 set_cookie。
|
|
71076
|
+
*/
|
|
71077
|
+
type: 'set_cookie';
|
|
71078
|
+
/**
|
|
71079
|
+
* 动作作用的标签页 ID,可在后续动作的 tab 里使用。
|
|
71080
|
+
*/
|
|
71081
|
+
tab: string;
|
|
71082
|
+
/**
|
|
71083
|
+
* 已设置的 cookie 名称。
|
|
71084
|
+
*/
|
|
71085
|
+
name: string;
|
|
71086
|
+
/**
|
|
71087
|
+
* 已设置的 cookie 的域。
|
|
71088
|
+
*/
|
|
71089
|
+
domain: string;
|
|
71090
|
+
} | {
|
|
71091
|
+
/**
|
|
71092
|
+
* 动作类型,固定为 route。
|
|
71093
|
+
*/
|
|
71094
|
+
type: 'route';
|
|
71095
|
+
/**
|
|
71096
|
+
* 新规则的 ID,后续 unroute 用它移除;规则的作用域是会话,会话结束时随之清除。
|
|
71097
|
+
*/
|
|
71098
|
+
routeId: string;
|
|
71099
|
+
} | {
|
|
71100
|
+
/**
|
|
71101
|
+
* 动作类型,固定为 unroute。
|
|
71102
|
+
*/
|
|
71103
|
+
type: 'unroute';
|
|
71104
|
+
/**
|
|
71105
|
+
* 请求移除的规则 ID。
|
|
71106
|
+
*/
|
|
71107
|
+
routeId: string;
|
|
71108
|
+
/**
|
|
71109
|
+
* 是否真的移除了一条规则;ID 不存在时为 false。
|
|
71110
|
+
*/
|
|
71111
|
+
removed: boolean;
|
|
71112
|
+
} | {
|
|
71113
|
+
/**
|
|
71114
|
+
* 动作类型,固定为 routes。
|
|
71115
|
+
*/
|
|
71116
|
+
type: 'routes';
|
|
71117
|
+
/**
|
|
71118
|
+
* 当前会话上的规则,按注册顺序;多条都匹配时后注册的优先。
|
|
71119
|
+
*/
|
|
71120
|
+
routes: Array<{
|
|
71121
|
+
/**
|
|
71122
|
+
* 规则 ID,注册时由服务端生成并返回。
|
|
71123
|
+
*/
|
|
71124
|
+
routeId: string;
|
|
71125
|
+
/**
|
|
71126
|
+
* 规则匹配的地址模式。
|
|
71127
|
+
*/
|
|
71128
|
+
url: string;
|
|
71129
|
+
/**
|
|
71130
|
+
* 规则限定的 HTTP 方法;不限定时省略。
|
|
71131
|
+
*/
|
|
71132
|
+
method?: string;
|
|
71133
|
+
/**
|
|
71134
|
+
* 规则只作用的标签页;作用于整个会话时省略。
|
|
71135
|
+
*/
|
|
71136
|
+
tab?: string;
|
|
71137
|
+
/**
|
|
71138
|
+
* 规则的处理方式:kind 为 fulfill、abort 或 delay,其余字段同注册时的 response。
|
|
71139
|
+
*/
|
|
71140
|
+
response: {
|
|
71141
|
+
[key: string]: unknown;
|
|
71142
|
+
};
|
|
71143
|
+
}>;
|
|
71144
|
+
};
|
|
71145
|
+
};
|
|
71146
|
+
export type BrowserRunPageActionResponse = BrowserRunPageActionResponses[keyof BrowserRunPageActionResponses];
|
|
71147
|
+
export type BrowserRequestHandoffData = {
|
|
71148
|
+
body: {
|
|
71149
|
+
/**
|
|
71150
|
+
* 交给人工操作者的接管说明,可为空字符串。
|
|
71151
|
+
*/
|
|
71152
|
+
message: string;
|
|
71153
|
+
/**
|
|
71154
|
+
* 接管请求有效时长,单位为毫秒;必须大于 0,可含小数。超过 3600000(60 分钟)的按 60 分钟算,返回事件里的到期时刻就是实际值。接管未完成、未到期期间,会话不按空闲回收;接管结束后重新开始计空闲。
|
|
71155
|
+
*/
|
|
71156
|
+
timeoutMs?: number;
|
|
71157
|
+
};
|
|
71158
|
+
path: {
|
|
71159
|
+
/**
|
|
71160
|
+
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
71161
|
+
*/
|
|
71162
|
+
sessionId: string;
|
|
71163
|
+
};
|
|
71164
|
+
query?: never;
|
|
71165
|
+
url: '/browser/v1/sessions/{sessionId}/handoff';
|
|
71166
|
+
};
|
|
71167
|
+
export type BrowserRequestHandoffErrors = {
|
|
70458
71168
|
/**
|
|
70459
71169
|
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
70460
71170
|
*/
|
|
@@ -78825,15 +79535,15 @@ export type ListOrganizationCostsData = {
|
|
|
78825
79535
|
*/
|
|
78826
79536
|
bucket_width: '1h' | '1d';
|
|
78827
79537
|
/**
|
|
78828
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
79538
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78829
79539
|
*
|
|
78830
79540
|
*/
|
|
78831
79541
|
time_zone?: string;
|
|
78832
79542
|
/**
|
|
78833
|
-
*
|
|
79543
|
+
* Columns to group by (repeatable). Defaults to ServiceName. Grouping columns appear on each result only when requested; ResourceName rides with ResourceId. A resource belongs to exactly one service, so ResourceId rows always carry ServiceName and ServiceCategory too — fact columns of that resource's service, not extra grouping dimensions (#4637). SessionId, AgentId, ApiKeyId and RunId group by the usage event's own attribution: the session, agent, API key or automation run the call belongs to. A requested attribution column is on every result — null when that group's events carry none, never an omitted key.
|
|
78834
79544
|
*
|
|
78835
79545
|
*/
|
|
78836
|
-
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit'>;
|
|
79546
|
+
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit' | 'SessionId' | 'AgentId' | 'ApiKeyId' | 'RunId'>;
|
|
78837
79547
|
/**
|
|
78838
79548
|
* Opaque cursor from the previous page's next_page.
|
|
78839
79549
|
*/
|
|
@@ -78900,6 +79610,22 @@ export type ListOrganizationCostsResponses = {
|
|
|
78900
79610
|
* Display name of the resource; falls back to ResourceId when no name is known.
|
|
78901
79611
|
*/
|
|
78902
79612
|
ResourceName?: string;
|
|
79613
|
+
/**
|
|
79614
|
+
* The session the usage belongs to. Present when SessionId is grouped by; null for a call no session made.
|
|
79615
|
+
*/
|
|
79616
|
+
SessionId?: string | null;
|
|
79617
|
+
/**
|
|
79618
|
+
* The agent that made the call. Present when AgentId is grouped by; null when the caller is not a session's agent.
|
|
79619
|
+
*/
|
|
79620
|
+
AgentId?: string | null;
|
|
79621
|
+
/**
|
|
79622
|
+
* The API key the call was made with. Present when ApiKeyId is grouped by; null for session, run and binding callers.
|
|
79623
|
+
*/
|
|
79624
|
+
ApiKeyId?: string | null;
|
|
79625
|
+
/**
|
|
79626
|
+
* The automation run the usage belongs to. Present when RunId is grouped by; null when no automation run made the call.
|
|
79627
|
+
*/
|
|
79628
|
+
RunId?: string | null;
|
|
78903
79629
|
/**
|
|
78904
79630
|
* Amount in BillingCurrency: US dollars for USD, decimal string, 6 decimals.
|
|
78905
79631
|
*/
|
|
@@ -78943,15 +79669,15 @@ export type ListOrganizationUsageData = {
|
|
|
78943
79669
|
*/
|
|
78944
79670
|
bucket_width: '1h' | '1d';
|
|
78945
79671
|
/**
|
|
78946
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
79672
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78947
79673
|
*
|
|
78948
79674
|
*/
|
|
78949
79675
|
time_zone?: string;
|
|
78950
79676
|
/**
|
|
78951
|
-
*
|
|
79677
|
+
* Columns to group by (repeatable). Defaults to ServiceName and ConsumedUnit; the consumed unit is always split out server-side. A resource belongs to exactly one service, so ResourceId rows always carry ServiceName and ServiceCategory too — fact columns of that resource's service, not extra grouping dimensions (#4637). SessionId, AgentId, ApiKeyId and RunId group by the usage event's own attribution: the session, agent, API key or automation run the call belongs to. A requested attribution column is on every result — null when that group's events carry none, never an omitted key.
|
|
78952
79678
|
*
|
|
78953
79679
|
*/
|
|
78954
|
-
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit'>;
|
|
79680
|
+
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit' | 'SessionId' | 'AgentId' | 'ApiKeyId' | 'RunId'>;
|
|
78955
79681
|
/**
|
|
78956
79682
|
* Opaque cursor from the previous page's next_page.
|
|
78957
79683
|
*/
|
|
@@ -79018,6 +79744,22 @@ export type ListOrganizationUsageResponses = {
|
|
|
79018
79744
|
* Display name of the resource; falls back to ResourceId when no name is known.
|
|
79019
79745
|
*/
|
|
79020
79746
|
ResourceName?: string;
|
|
79747
|
+
/**
|
|
79748
|
+
* The session the usage belongs to. Present when SessionId is grouped by; null for a call no session made.
|
|
79749
|
+
*/
|
|
79750
|
+
SessionId?: string | null;
|
|
79751
|
+
/**
|
|
79752
|
+
* The agent that made the call. Present when AgentId is grouped by; null when the caller is not a session's agent.
|
|
79753
|
+
*/
|
|
79754
|
+
AgentId?: string | null;
|
|
79755
|
+
/**
|
|
79756
|
+
* The API key the call was made with. Present when ApiKeyId is grouped by; null for session, run and binding callers.
|
|
79757
|
+
*/
|
|
79758
|
+
ApiKeyId?: string | null;
|
|
79759
|
+
/**
|
|
79760
|
+
* The automation run the usage belongs to. Present when RunId is grouped by; null when no automation run made the call.
|
|
79761
|
+
*/
|
|
79762
|
+
RunId?: string | null;
|
|
79021
79763
|
/**
|
|
79022
79764
|
* Exact decimal string in ConsumedUnit.
|
|
79023
79765
|
*/
|
|
@@ -79134,6 +79876,22 @@ export type ListOrganizationEventsResponses = {
|
|
|
79134
79876
|
* X-Request-Id of the API call that produced the usage; null for usage that does not come from a request.
|
|
79135
79877
|
*/
|
|
79136
79878
|
request_id: string | null;
|
|
79879
|
+
/**
|
|
79880
|
+
* The session the usage belongs to (sesn_…, public form); null for a call no session made.
|
|
79881
|
+
*/
|
|
79882
|
+
session_id: string | null;
|
|
79883
|
+
/**
|
|
79884
|
+
* The agent that made the call (agent_…); null when the caller is not a session's agent.
|
|
79885
|
+
*/
|
|
79886
|
+
agent_id: string | null;
|
|
79887
|
+
/**
|
|
79888
|
+
* The API key the call was made with (key_…); null for session, run and binding callers.
|
|
79889
|
+
*/
|
|
79890
|
+
api_key_id: string | null;
|
|
79891
|
+
/**
|
|
79892
|
+
* The automation run the usage belongs to (run_…); null when no automation run made the call.
|
|
79893
|
+
*/
|
|
79894
|
+
run_id: string | null;
|
|
79137
79895
|
/**
|
|
79138
79896
|
* How the usage was charged: settlement state, any shortfall, and why nothing was charged.
|
|
79139
79897
|
*/
|
|
@@ -79255,6 +80013,22 @@ export type GetOrganizationEventResponses = {
|
|
|
79255
80013
|
* X-Request-Id of the API call that produced the usage; null for usage that does not come from a request.
|
|
79256
80014
|
*/
|
|
79257
80015
|
request_id: string | null;
|
|
80016
|
+
/**
|
|
80017
|
+
* The session the usage belongs to (sesn_…, public form); null for a call no session made.
|
|
80018
|
+
*/
|
|
80019
|
+
session_id: string | null;
|
|
80020
|
+
/**
|
|
80021
|
+
* The agent that made the call (agent_…); null when the caller is not a session's agent.
|
|
80022
|
+
*/
|
|
80023
|
+
agent_id: string | null;
|
|
80024
|
+
/**
|
|
80025
|
+
* The API key the call was made with (key_…); null for session, run and binding callers.
|
|
80026
|
+
*/
|
|
80027
|
+
api_key_id: string | null;
|
|
80028
|
+
/**
|
|
80029
|
+
* The automation run the usage belongs to (run_…); null when no automation run made the call.
|
|
80030
|
+
*/
|
|
80031
|
+
run_id: string | null;
|
|
79258
80032
|
/**
|
|
79259
80033
|
* How the usage was charged: settlement state, any shortfall, and why nothing was charged.
|
|
79260
80034
|
*/
|
|
@@ -79463,11 +80237,19 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79463
80237
|
path?: never;
|
|
79464
80238
|
query?: {
|
|
79465
80239
|
/**
|
|
79466
|
-
*
|
|
80240
|
+
* received (the default) lists the letters addressed to you; sent lists the letters you wrote, scheduled ones included, in the same row shape — a script or an agent finds its own alarm clocks there. A run credential's sent list is the letters automation wrote on behalf of the person it acts for.
|
|
79467
80241
|
*/
|
|
79468
|
-
|
|
80242
|
+
direction?: 'received' | 'sent';
|
|
79469
80243
|
/**
|
|
79470
|
-
*
|
|
80244
|
+
* Only unread letters, only read ones, or (direction=sent only) only letters written but not yet delivered, whose deliveredAt is null; omit for all. On a sent list, unread and read are the recipient's state.
|
|
80245
|
+
*/
|
|
80246
|
+
status?: 'unread' | 'read' | 'scheduled';
|
|
80247
|
+
/**
|
|
80248
|
+
* Only letters of this conversation, for received and sent alike; omit for all.
|
|
80249
|
+
*/
|
|
80250
|
+
thread?: string;
|
|
80251
|
+
/**
|
|
80252
|
+
* false (the default) hides archived letters; true lists only the archived ones. Archiving is the addressee's act, so it is ignored when direction=sent.
|
|
79471
80253
|
*/
|
|
79472
80254
|
archived?: boolean;
|
|
79473
80255
|
/**
|
|
@@ -79483,7 +80265,7 @@ export type ListOrganizationNotificationLettersData = {
|
|
|
79483
80265
|
};
|
|
79484
80266
|
export type ListOrganizationNotificationLettersErrors = {
|
|
79485
80267
|
/**
|
|
79486
|
-
* A bad `status`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
80268
|
+
* A bad `direction`, `status` (scheduled needs direction=sent), `thread`, `archived` or `limit`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
79487
80269
|
*/
|
|
79488
80270
|
400: unknown;
|
|
79489
80271
|
/**
|
|
@@ -79525,9 +80307,9 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
79525
80307
|
*/
|
|
79526
80308
|
thread: string;
|
|
79527
80309
|
/**
|
|
79528
|
-
* The letter's kind (ADR-193 §2, #4107): notice, mention or
|
|
80310
|
+
* The letter's kind (ADR-193 §2, #4107): notice, mention, decision, or event (a subscribed event, ADR-218); the kind is its category and decides the channels. Letters written before the column existed read mention.
|
|
79529
80311
|
*/
|
|
79530
|
-
kind: 'notice' | 'mention' | 'decision';
|
|
80312
|
+
kind: 'notice' | 'mention' | 'decision' | 'event';
|
|
79531
80313
|
/**
|
|
79532
80314
|
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
79533
80315
|
*/
|
|
@@ -79583,6 +80365,80 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
79583
80365
|
};
|
|
79584
80366
|
};
|
|
79585
80367
|
export type ListOrganizationNotificationLettersResponse = ListOrganizationNotificationLettersResponses[keyof ListOrganizationNotificationLettersResponses];
|
|
80368
|
+
export type CreateOrganizationNotificationLetterData = {
|
|
80369
|
+
body: {
|
|
80370
|
+
/**
|
|
80371
|
+
* The recipient's address: human:<user id> or agent:<agent id>, a member or an agent of this organization.
|
|
80372
|
+
*/
|
|
80373
|
+
to: string;
|
|
80374
|
+
/**
|
|
80375
|
+
* The whole letter, 1 to 16000 characters.
|
|
80376
|
+
*/
|
|
80377
|
+
body: string;
|
|
80378
|
+
/**
|
|
80379
|
+
* One sentence saying what the reader is asked to do or needs to know, at most 60 characters. Required when to is a person; refused, never cut, when longer.
|
|
80380
|
+
*/
|
|
80381
|
+
summary?: string;
|
|
80382
|
+
/**
|
|
80383
|
+
* The letter's kind; it decides the channels. Defaults to mention.
|
|
80384
|
+
*/
|
|
80385
|
+
kind?: 'notice' | 'mention' | 'decision';
|
|
80386
|
+
/**
|
|
80387
|
+
* The conversation the letter belongs to, free text; omit for none.
|
|
80388
|
+
*/
|
|
80389
|
+
thread?: string;
|
|
80390
|
+
/**
|
|
80391
|
+
* When to deliver it, ISO 8601, at most 366 days ahead. A past time or no value means now.
|
|
80392
|
+
*/
|
|
80393
|
+
deliver_at?: string;
|
|
80394
|
+
};
|
|
80395
|
+
path?: never;
|
|
80396
|
+
query?: never;
|
|
80397
|
+
url: '/organization/v1/notifications/letters';
|
|
80398
|
+
};
|
|
80399
|
+
export type CreateOrganizationNotificationLetterErrors = {
|
|
80400
|
+
/**
|
|
80401
|
+
* `to` is not an address, `body` is missing or too long, `summary` is missing for a person or longer than 60 characters, `kind` is unknown, or `deliver_at` is not an ISO 8601 time within 366 days (RFC 9457 problem).
|
|
80402
|
+
*/
|
|
80403
|
+
400: unknown;
|
|
80404
|
+
/**
|
|
80405
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80406
|
+
*/
|
|
80407
|
+
401: unknown;
|
|
80408
|
+
/**
|
|
80409
|
+
* `PERMISSION_DENIED`: sending a letter needs a person, an agent or an automation run identity; an organization API key or an application cannot send (RFC 9457 problem).
|
|
80410
|
+
*/
|
|
80411
|
+
403: unknown;
|
|
80412
|
+
/**
|
|
80413
|
+
* `SUBSCRIBER_NOT_FOUND`: the recipient is not a member or an agent of this organization (RFC 9457 problem).
|
|
80414
|
+
*/
|
|
80415
|
+
404: unknown;
|
|
80416
|
+
/**
|
|
80417
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
80418
|
+
*/
|
|
80419
|
+
502: unknown;
|
|
80420
|
+
};
|
|
80421
|
+
export type CreateOrganizationNotificationLetterResponses = {
|
|
80422
|
+
/**
|
|
80423
|
+
* The letter is written; it is delivered at deliverAt.
|
|
80424
|
+
*/
|
|
80425
|
+
200: {
|
|
80426
|
+
/**
|
|
80427
|
+
* The letter that was written: its id and the time it is delivered.
|
|
80428
|
+
*/
|
|
80429
|
+
letter: {
|
|
80430
|
+
/**
|
|
80431
|
+
* The letter's id.
|
|
80432
|
+
*/
|
|
80433
|
+
id: string;
|
|
80434
|
+
/**
|
|
80435
|
+
* When it is delivered: now, or the time asked for.
|
|
80436
|
+
*/
|
|
80437
|
+
deliverAt: string;
|
|
80438
|
+
};
|
|
80439
|
+
};
|
|
80440
|
+
};
|
|
80441
|
+
export type CreateOrganizationNotificationLetterResponse = CreateOrganizationNotificationLetterResponses[keyof CreateOrganizationNotificationLetterResponses];
|
|
79586
80442
|
export type GetOrganizationNotificationLetterData = {
|
|
79587
80443
|
body?: never;
|
|
79588
80444
|
path: {
|
|
@@ -79640,7 +80496,7 @@ export type GetOrganizationNotificationLetterResponses = {
|
|
|
79640
80496
|
/**
|
|
79641
80497
|
* The letter's kind (ADR-193 §2, #4107).
|
|
79642
80498
|
*/
|
|
79643
|
-
kind: 'notice' | 'mention' | 'decision';
|
|
80499
|
+
kind: 'notice' | 'mention' | 'decision' | 'event';
|
|
79644
80500
|
/**
|
|
79645
80501
|
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
79646
80502
|
*/
|
|
@@ -79733,7 +80589,7 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
79733
80589
|
/**
|
|
79734
80590
|
* Only letters of this kind; omit for all kinds.
|
|
79735
80591
|
*/
|
|
79736
|
-
kind?: 'notice' | 'mention' | 'decision';
|
|
80592
|
+
kind?: 'notice' | 'mention' | 'decision' | 'event';
|
|
79737
80593
|
};
|
|
79738
80594
|
path?: never;
|
|
79739
80595
|
query?: never;
|
|
@@ -79806,6 +80662,360 @@ export type ArchiveOrganizationNotificationLetterResponses = {
|
|
|
79806
80662
|
};
|
|
79807
80663
|
};
|
|
79808
80664
|
export type ArchiveOrganizationNotificationLetterResponse = ArchiveOrganizationNotificationLetterResponses[keyof ArchiveOrganizationNotificationLetterResponses];
|
|
80665
|
+
export type ListOrganizationNotificationMessagesData = {
|
|
80666
|
+
body?: never;
|
|
80667
|
+
path?: never;
|
|
80668
|
+
query?: {
|
|
80669
|
+
/**
|
|
80670
|
+
* 0 (the default) lists the inbox tab, 1 lists archived messages.
|
|
80671
|
+
*/
|
|
80672
|
+
archived?: '0' | '1';
|
|
80673
|
+
/**
|
|
80674
|
+
* Messages per page, 1 to 100; defaults to 20.
|
|
80675
|
+
*/
|
|
80676
|
+
limit?: number;
|
|
80677
|
+
/**
|
|
80678
|
+
* Opaque nextPageToken from the previous response; omit for the first page.
|
|
80679
|
+
*/
|
|
80680
|
+
page?: string;
|
|
80681
|
+
};
|
|
80682
|
+
url: '/organization/v1/notifications/messages';
|
|
80683
|
+
};
|
|
80684
|
+
export type ListOrganizationNotificationMessagesErrors = {
|
|
80685
|
+
/**
|
|
80686
|
+
* A bad `archived`, `limit` or `page`, or `INVALID_PARAMS` from the service for a cursor it did not issue (RFC 9457 problem).
|
|
80687
|
+
*/
|
|
80688
|
+
400: unknown;
|
|
80689
|
+
/**
|
|
80690
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80691
|
+
*/
|
|
80692
|
+
401: unknown;
|
|
80693
|
+
/**
|
|
80694
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80695
|
+
*/
|
|
80696
|
+
403: unknown;
|
|
80697
|
+
/**
|
|
80698
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
80699
|
+
*/
|
|
80700
|
+
502: unknown;
|
|
80701
|
+
};
|
|
80702
|
+
export type ListOrganizationNotificationMessagesResponses = {
|
|
80703
|
+
/**
|
|
80704
|
+
* One page of this person's messages.
|
|
80705
|
+
*/
|
|
80706
|
+
200: {
|
|
80707
|
+
/**
|
|
80708
|
+
* The page, newest first.
|
|
80709
|
+
*/
|
|
80710
|
+
items: Array<{
|
|
80711
|
+
/**
|
|
80712
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80713
|
+
*/
|
|
80714
|
+
name: string;
|
|
80715
|
+
/**
|
|
80716
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80717
|
+
*/
|
|
80718
|
+
organizationId: string;
|
|
80719
|
+
/**
|
|
80720
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80721
|
+
*/
|
|
80722
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80723
|
+
/**
|
|
80724
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80725
|
+
*/
|
|
80726
|
+
workflow: string;
|
|
80727
|
+
/**
|
|
80728
|
+
* The message's headline, as the bell shows it.
|
|
80729
|
+
*/
|
|
80730
|
+
title: string;
|
|
80731
|
+
/**
|
|
80732
|
+
* The message text.
|
|
80733
|
+
*/
|
|
80734
|
+
body: string;
|
|
80735
|
+
/**
|
|
80736
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80737
|
+
*/
|
|
80738
|
+
actionUrl?: string;
|
|
80739
|
+
/**
|
|
80740
|
+
* Whether the bell has been opened since the message arrived.
|
|
80741
|
+
*/
|
|
80742
|
+
seen: boolean;
|
|
80743
|
+
/**
|
|
80744
|
+
* Whether this person has read it.
|
|
80745
|
+
*/
|
|
80746
|
+
read: boolean;
|
|
80747
|
+
/**
|
|
80748
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80749
|
+
*/
|
|
80750
|
+
archived: boolean;
|
|
80751
|
+
/**
|
|
80752
|
+
* When the message arrived.
|
|
80753
|
+
*/
|
|
80754
|
+
createTime: string;
|
|
80755
|
+
}>;
|
|
80756
|
+
/**
|
|
80757
|
+
* Pass unchanged as page for the next page; absent at the end.
|
|
80758
|
+
*/
|
|
80759
|
+
nextPageToken?: string;
|
|
80760
|
+
};
|
|
80761
|
+
};
|
|
80762
|
+
export type ListOrganizationNotificationMessagesResponse = ListOrganizationNotificationMessagesResponses[keyof ListOrganizationNotificationMessagesResponses];
|
|
80763
|
+
export type DeleteOrganizationNotificationMessageData = {
|
|
80764
|
+
body?: never;
|
|
80765
|
+
path: {
|
|
80766
|
+
/**
|
|
80767
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80768
|
+
*/
|
|
80769
|
+
name: string;
|
|
80770
|
+
};
|
|
80771
|
+
query?: never;
|
|
80772
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80773
|
+
};
|
|
80774
|
+
export type DeleteOrganizationNotificationMessageErrors = {
|
|
80775
|
+
/**
|
|
80776
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80777
|
+
*/
|
|
80778
|
+
400: unknown;
|
|
80779
|
+
/**
|
|
80780
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80781
|
+
*/
|
|
80782
|
+
401: unknown;
|
|
80783
|
+
/**
|
|
80784
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80785
|
+
*/
|
|
80786
|
+
403: unknown;
|
|
80787
|
+
/**
|
|
80788
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80789
|
+
*/
|
|
80790
|
+
404: unknown;
|
|
80791
|
+
/**
|
|
80792
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
80793
|
+
*/
|
|
80794
|
+
502: unknown;
|
|
80795
|
+
};
|
|
80796
|
+
export type DeleteOrganizationNotificationMessageResponses = {
|
|
80797
|
+
/**
|
|
80798
|
+
* The message is deleted.
|
|
80799
|
+
*/
|
|
80800
|
+
200: {
|
|
80801
|
+
/**
|
|
80802
|
+
* Always true: the message was deleted.
|
|
80803
|
+
*/
|
|
80804
|
+
deleted: boolean;
|
|
80805
|
+
};
|
|
80806
|
+
};
|
|
80807
|
+
export type DeleteOrganizationNotificationMessageResponse = DeleteOrganizationNotificationMessageResponses[keyof DeleteOrganizationNotificationMessageResponses];
|
|
80808
|
+
export type GetOrganizationNotificationMessageData = {
|
|
80809
|
+
body?: never;
|
|
80810
|
+
path: {
|
|
80811
|
+
/**
|
|
80812
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80813
|
+
*/
|
|
80814
|
+
name: string;
|
|
80815
|
+
};
|
|
80816
|
+
query?: never;
|
|
80817
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80818
|
+
};
|
|
80819
|
+
export type GetOrganizationNotificationMessageErrors = {
|
|
80820
|
+
/**
|
|
80821
|
+
* `name` is not subscribers/{user}/messages/{id} — `INVALID_PARAMS` (RFC 9457 problem).
|
|
80822
|
+
*/
|
|
80823
|
+
400: unknown;
|
|
80824
|
+
/**
|
|
80825
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80826
|
+
*/
|
|
80827
|
+
401: unknown;
|
|
80828
|
+
/**
|
|
80829
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80830
|
+
*/
|
|
80831
|
+
403: unknown;
|
|
80832
|
+
/**
|
|
80833
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND`, the same answer for another person's message and one that never existed (RFC 9457 problem).
|
|
80834
|
+
*/
|
|
80835
|
+
404: unknown;
|
|
80836
|
+
/**
|
|
80837
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
80838
|
+
*/
|
|
80839
|
+
502: unknown;
|
|
80840
|
+
};
|
|
80841
|
+
export type GetOrganizationNotificationMessageResponses = {
|
|
80842
|
+
/**
|
|
80843
|
+
* The message.
|
|
80844
|
+
*/
|
|
80845
|
+
200: {
|
|
80846
|
+
/**
|
|
80847
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80848
|
+
*/
|
|
80849
|
+
name: string;
|
|
80850
|
+
/**
|
|
80851
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80852
|
+
*/
|
|
80853
|
+
organizationId: string;
|
|
80854
|
+
/**
|
|
80855
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80856
|
+
*/
|
|
80857
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80858
|
+
/**
|
|
80859
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80860
|
+
*/
|
|
80861
|
+
workflow: string;
|
|
80862
|
+
/**
|
|
80863
|
+
* The message's headline, as the bell shows it.
|
|
80864
|
+
*/
|
|
80865
|
+
title: string;
|
|
80866
|
+
/**
|
|
80867
|
+
* The message text.
|
|
80868
|
+
*/
|
|
80869
|
+
body: string;
|
|
80870
|
+
/**
|
|
80871
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80872
|
+
*/
|
|
80873
|
+
actionUrl?: string;
|
|
80874
|
+
/**
|
|
80875
|
+
* Whether the bell has been opened since the message arrived.
|
|
80876
|
+
*/
|
|
80877
|
+
seen: boolean;
|
|
80878
|
+
/**
|
|
80879
|
+
* Whether this person has read it.
|
|
80880
|
+
*/
|
|
80881
|
+
read: boolean;
|
|
80882
|
+
/**
|
|
80883
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80884
|
+
*/
|
|
80885
|
+
archived: boolean;
|
|
80886
|
+
/**
|
|
80887
|
+
* When the message arrived.
|
|
80888
|
+
*/
|
|
80889
|
+
createTime: string;
|
|
80890
|
+
};
|
|
80891
|
+
};
|
|
80892
|
+
export type GetOrganizationNotificationMessageResponse = GetOrganizationNotificationMessageResponses[keyof GetOrganizationNotificationMessageResponses];
|
|
80893
|
+
export type UpdateOrganizationNotificationMessageData = {
|
|
80894
|
+
body: {
|
|
80895
|
+
/**
|
|
80896
|
+
* Mark the message read (true) or unread (false); omit to leave it.
|
|
80897
|
+
*/
|
|
80898
|
+
read?: boolean;
|
|
80899
|
+
/**
|
|
80900
|
+
* Archive the message (true) or move it back to the inbox (false); omit to leave it.
|
|
80901
|
+
*/
|
|
80902
|
+
archived?: boolean;
|
|
80903
|
+
};
|
|
80904
|
+
path: {
|
|
80905
|
+
/**
|
|
80906
|
+
* The message's `name` from the messages list, subscribers/{user}/messages/{id}, URL-encoded.
|
|
80907
|
+
*/
|
|
80908
|
+
name: string;
|
|
80909
|
+
};
|
|
80910
|
+
query?: never;
|
|
80911
|
+
url: '/organization/v1/notifications/messages/{name}';
|
|
80912
|
+
};
|
|
80913
|
+
export type UpdateOrganizationNotificationMessageErrors = {
|
|
80914
|
+
/**
|
|
80915
|
+
* The body is not a JSON object, names neither `read` nor `archived`, a flag is not true or false, or `name` is malformed (RFC 9457 problem).
|
|
80916
|
+
*/
|
|
80917
|
+
400: unknown;
|
|
80918
|
+
/**
|
|
80919
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80920
|
+
*/
|
|
80921
|
+
401: unknown;
|
|
80922
|
+
/**
|
|
80923
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
80924
|
+
*/
|
|
80925
|
+
403: unknown;
|
|
80926
|
+
/**
|
|
80927
|
+
* No such message of yours in this organization — `MESSAGE_NOT_FOUND` (RFC 9457 problem).
|
|
80928
|
+
*/
|
|
80929
|
+
404: unknown;
|
|
80930
|
+
/**
|
|
80931
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
80932
|
+
*/
|
|
80933
|
+
502: unknown;
|
|
80934
|
+
};
|
|
80935
|
+
export type UpdateOrganizationNotificationMessageResponses = {
|
|
80936
|
+
/**
|
|
80937
|
+
* The message after the change.
|
|
80938
|
+
*/
|
|
80939
|
+
200: {
|
|
80940
|
+
/**
|
|
80941
|
+
* The message's resource name, subscribers/{user}/messages/{id}; pass it URL-encoded as the {name} of the other message operations.
|
|
80942
|
+
*/
|
|
80943
|
+
name: string;
|
|
80944
|
+
/**
|
|
80945
|
+
* The organization the message belongs to; empty for a message that belongs to no organization.
|
|
80946
|
+
*/
|
|
80947
|
+
organizationId: string;
|
|
80948
|
+
/**
|
|
80949
|
+
* The notification group the message belongs to: members, usage, alerts, agent, or nonConfigurable.
|
|
80950
|
+
*/
|
|
80951
|
+
group: 'members' | 'usage' | 'alerts' | 'agent' | 'nonConfigurable';
|
|
80952
|
+
/**
|
|
80953
|
+
* The notification workflow that wrote it, as the preferences page names it.
|
|
80954
|
+
*/
|
|
80955
|
+
workflow: string;
|
|
80956
|
+
/**
|
|
80957
|
+
* The message's headline, as the bell shows it.
|
|
80958
|
+
*/
|
|
80959
|
+
title: string;
|
|
80960
|
+
/**
|
|
80961
|
+
* The message text.
|
|
80962
|
+
*/
|
|
80963
|
+
body: string;
|
|
80964
|
+
/**
|
|
80965
|
+
* Where the bell opens this message; absent when it has no page.
|
|
80966
|
+
*/
|
|
80967
|
+
actionUrl?: string;
|
|
80968
|
+
/**
|
|
80969
|
+
* Whether the bell has been opened since the message arrived.
|
|
80970
|
+
*/
|
|
80971
|
+
seen: boolean;
|
|
80972
|
+
/**
|
|
80973
|
+
* Whether this person has read it.
|
|
80974
|
+
*/
|
|
80975
|
+
read: boolean;
|
|
80976
|
+
/**
|
|
80977
|
+
* Whether this person archived it; archived messages are not in the inbox tab.
|
|
80978
|
+
*/
|
|
80979
|
+
archived: boolean;
|
|
80980
|
+
/**
|
|
80981
|
+
* When the message arrived.
|
|
80982
|
+
*/
|
|
80983
|
+
createTime: string;
|
|
80984
|
+
};
|
|
80985
|
+
};
|
|
80986
|
+
export type UpdateOrganizationNotificationMessageResponse = UpdateOrganizationNotificationMessageResponses[keyof UpdateOrganizationNotificationMessageResponses];
|
|
80987
|
+
export type ReadAllOrganizationNotificationMessagesData = {
|
|
80988
|
+
body?: never;
|
|
80989
|
+
path?: never;
|
|
80990
|
+
query?: never;
|
|
80991
|
+
url: '/organization/v1/notifications/messages:readAll';
|
|
80992
|
+
};
|
|
80993
|
+
export type ReadAllOrganizationNotificationMessagesErrors = {
|
|
80994
|
+
/**
|
|
80995
|
+
* Missing or invalid credential (RFC 9457 problem).
|
|
80996
|
+
*/
|
|
80997
|
+
401: unknown;
|
|
80998
|
+
/**
|
|
80999
|
+
* `PERMISSION_DENIED`: an agent credential has no person inbox; read its own letters instead (RFC 9457 problem).
|
|
81000
|
+
*/
|
|
81001
|
+
403: unknown;
|
|
81002
|
+
/**
|
|
81003
|
+
* The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.
|
|
81004
|
+
*/
|
|
81005
|
+
502: unknown;
|
|
81006
|
+
};
|
|
81007
|
+
export type ReadAllOrganizationNotificationMessagesResponses = {
|
|
81008
|
+
/**
|
|
81009
|
+
* How many messages were marked read.
|
|
81010
|
+
*/
|
|
81011
|
+
200: {
|
|
81012
|
+
/**
|
|
81013
|
+
* The number of messages that were unread and are now read.
|
|
81014
|
+
*/
|
|
81015
|
+
updated: number;
|
|
81016
|
+
};
|
|
81017
|
+
};
|
|
81018
|
+
export type ReadAllOrganizationNotificationMessagesResponse = ReadAllOrganizationNotificationMessagesResponses[keyof ReadAllOrganizationNotificationMessagesResponses];
|
|
79809
81019
|
export type GetOrganizationNotificationPreferencesData = {
|
|
79810
81020
|
body?: never;
|
|
79811
81021
|
path?: never;
|
|
@@ -81619,6 +82829,117 @@ export type GetByodPairingResponses = {
|
|
|
81619
82829
|
};
|
|
81620
82830
|
};
|
|
81621
82831
|
export type GetByodPairingResponse = GetByodPairingResponses[keyof GetByodPairingResponses];
|
|
82832
|
+
export type GetByodPairingStatusData = {
|
|
82833
|
+
body?: never;
|
|
82834
|
+
path: {
|
|
82835
|
+
/**
|
|
82836
|
+
* The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404.
|
|
82837
|
+
*/
|
|
82838
|
+
code: string;
|
|
82839
|
+
};
|
|
82840
|
+
query?: never;
|
|
82841
|
+
url: '/sandbox/v1/byod/pairings/{code}/status';
|
|
82842
|
+
};
|
|
82843
|
+
export type GetByodPairingStatusErrors = {
|
|
82844
|
+
/**
|
|
82845
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
82846
|
+
*/
|
|
82847
|
+
401: unknown;
|
|
82848
|
+
/**
|
|
82849
|
+
* NOT_FOUND: no such pairing for this organization. The code is unknown or belongs to another organization; the two are indistinguishable.
|
|
82850
|
+
*/
|
|
82851
|
+
404: unknown;
|
|
82852
|
+
/**
|
|
82853
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
82854
|
+
*/
|
|
82855
|
+
503: unknown;
|
|
82856
|
+
};
|
|
82857
|
+
export type GetByodPairingStatusResponses = {
|
|
82858
|
+
/**
|
|
82859
|
+
* One pairing of the organization.
|
|
82860
|
+
*/
|
|
82861
|
+
200: {
|
|
82862
|
+
/**
|
|
82863
|
+
* The 8-character pairing code that was asked about.
|
|
82864
|
+
*/
|
|
82865
|
+
code: string;
|
|
82866
|
+
/**
|
|
82867
|
+
* When the code stops working, as an ISO-8601 timestamp.
|
|
82868
|
+
*/
|
|
82869
|
+
expires_at: string;
|
|
82870
|
+
/**
|
|
82871
|
+
* The device this code registered, or null while no phone has claimed it (or when that device was disconnected since).
|
|
82872
|
+
*/
|
|
82873
|
+
claimed_device: {
|
|
82874
|
+
/**
|
|
82875
|
+
* Resource type; always "byod_device".
|
|
82876
|
+
*/
|
|
82877
|
+
object: 'byod_device';
|
|
82878
|
+
/**
|
|
82879
|
+
* Device id, `byd_` followed by 26 lowercase hex characters. Pass it wherever a use face takes a sandbox id, such as POST /sandbox/v1/sandboxes/{id}/act; every lifecycle operation on it answers CAPABILITY_UNSUPPORTED.
|
|
82880
|
+
*/
|
|
82881
|
+
id: string;
|
|
82882
|
+
/**
|
|
82883
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
82884
|
+
*/
|
|
82885
|
+
platform: 'android' | 'macos' | 'linux';
|
|
82886
|
+
/**
|
|
82887
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
82888
|
+
*/
|
|
82889
|
+
name: string;
|
|
82890
|
+
/**
|
|
82891
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
82892
|
+
*/
|
|
82893
|
+
model: string;
|
|
82894
|
+
/**
|
|
82895
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
82896
|
+
*/
|
|
82897
|
+
os_version: string;
|
|
82898
|
+
/**
|
|
82899
|
+
* True while the device holds its one control connection; false when it is paired but not connected. An act on an offline device answers 503 DEVICE_NOT_READY.
|
|
82900
|
+
*/
|
|
82901
|
+
online: boolean;
|
|
82902
|
+
/**
|
|
82903
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
82904
|
+
*/
|
|
82905
|
+
last_seen_at: string | null;
|
|
82906
|
+
/**
|
|
82907
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
82908
|
+
*/
|
|
82909
|
+
created_at: string;
|
|
82910
|
+
/**
|
|
82911
|
+
* What the device can be asked to do, derived from its platform: display for a phone (act, the action socket), agent for a desktop (a local coding agent session).
|
|
82912
|
+
*/
|
|
82913
|
+
capabilities: Array<'display' | 'agent'>;
|
|
82914
|
+
/**
|
|
82915
|
+
* The absolute directories a desktop registered for agent sessions with its last hello; a session may only start in one of these. Empty for a phone and for a desktop that has not connected yet.
|
|
82916
|
+
*/
|
|
82917
|
+
agent_dirs: Array<string>;
|
|
82918
|
+
/**
|
|
82919
|
+
* Which agent each registered directory is bound to, as the desktop's last hello reported. Empty for a phone and for a desktop that has not connected yet.
|
|
82920
|
+
*/
|
|
82921
|
+
agent_bindings: Array<{
|
|
82922
|
+
/**
|
|
82923
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
82924
|
+
*/
|
|
82925
|
+
dir: string;
|
|
82926
|
+
/**
|
|
82927
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
82928
|
+
*/
|
|
82929
|
+
agent: string;
|
|
82930
|
+
}>;
|
|
82931
|
+
/**
|
|
82932
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
82933
|
+
*/
|
|
82934
|
+
envd_version: string | null;
|
|
82935
|
+
/**
|
|
82936
|
+
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
82937
|
+
*/
|
|
82938
|
+
allow_bypass: boolean;
|
|
82939
|
+
} | null;
|
|
82940
|
+
};
|
|
82941
|
+
};
|
|
82942
|
+
export type GetByodPairingStatusResponse = GetByodPairingStatusResponses[keyof GetByodPairingStatusResponses];
|
|
81622
82943
|
export type ClaimByodPairingData = {
|
|
81623
82944
|
/**
|
|
81624
82945
|
* What the phone's app knows about itself when it claims the pairing.
|
|
@@ -97239,14 +98560,14 @@ export type AutomationActionsGetData = {
|
|
|
97239
98560
|
/**
|
|
97240
98561
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97241
98562
|
*/
|
|
97242
|
-
|
|
98563
|
+
namespace: string;
|
|
97243
98564
|
/**
|
|
97244
98565
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97245
98566
|
*/
|
|
97246
98567
|
name: string;
|
|
97247
98568
|
};
|
|
97248
98569
|
query?: never;
|
|
97249
|
-
url: '/automation/v1/actions/{
|
|
98570
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
97250
98571
|
};
|
|
97251
98572
|
export type AutomationActionsGetErrors = {
|
|
97252
98573
|
/**
|
|
@@ -97369,7 +98690,7 @@ export type AutomationActionsUpdateData = {
|
|
|
97369
98690
|
/**
|
|
97370
98691
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97371
98692
|
*/
|
|
97372
|
-
|
|
98693
|
+
namespace: string;
|
|
97373
98694
|
/**
|
|
97374
98695
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97375
98696
|
*/
|
|
@@ -97381,7 +98702,7 @@ export type AutomationActionsUpdateData = {
|
|
|
97381
98702
|
*/
|
|
97382
98703
|
dry_run?: boolean;
|
|
97383
98704
|
};
|
|
97384
|
-
url: '/automation/v1/actions/{
|
|
98705
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
97385
98706
|
};
|
|
97386
98707
|
export type AutomationActionsUpdateErrors = {
|
|
97387
98708
|
/**
|
|
@@ -97432,7 +98753,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
97432
98753
|
/**
|
|
97433
98754
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97434
98755
|
*/
|
|
97435
|
-
|
|
98756
|
+
namespace: string;
|
|
97436
98757
|
/**
|
|
97437
98758
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97438
98759
|
*/
|
|
@@ -97452,7 +98773,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
97452
98773
|
*/
|
|
97453
98774
|
expand?: 'source';
|
|
97454
98775
|
};
|
|
97455
|
-
url: '/automation/v1/actions/{
|
|
98776
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions';
|
|
97456
98777
|
};
|
|
97457
98778
|
export type AutomationActionsRevisionsErrors = {
|
|
97458
98779
|
/**
|
|
@@ -97491,7 +98812,7 @@ export type AutomationActionsRevisionData = {
|
|
|
97491
98812
|
/**
|
|
97492
98813
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97493
98814
|
*/
|
|
97494
|
-
|
|
98815
|
+
namespace: string;
|
|
97495
98816
|
/**
|
|
97496
98817
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97497
98818
|
*/
|
|
@@ -97502,7 +98823,7 @@ export type AutomationActionsRevisionData = {
|
|
|
97502
98823
|
revision: string;
|
|
97503
98824
|
};
|
|
97504
98825
|
query?: never;
|
|
97505
|
-
url: '/automation/v1/actions/{
|
|
98826
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions/{revision}';
|
|
97506
98827
|
};
|
|
97507
98828
|
export type AutomationActionsRevisionErrors = {
|
|
97508
98829
|
/**
|
|
@@ -97552,14 +98873,14 @@ export type AutomationActionsRollbackData = {
|
|
|
97552
98873
|
/**
|
|
97553
98874
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97554
98875
|
*/
|
|
97555
|
-
|
|
98876
|
+
namespace: string;
|
|
97556
98877
|
/**
|
|
97557
98878
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97558
98879
|
*/
|
|
97559
98880
|
name: string;
|
|
97560
98881
|
};
|
|
97561
98882
|
query?: never;
|
|
97562
|
-
url: '/automation/v1/actions/{
|
|
98883
|
+
url: '/automation/v1/actions/{namespace}/{name}/rollback';
|
|
97563
98884
|
};
|
|
97564
98885
|
export type AutomationActionsRollbackErrors = {
|
|
97565
98886
|
/**
|
|
@@ -97613,7 +98934,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
97613
98934
|
/**
|
|
97614
98935
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97615
98936
|
*/
|
|
97616
|
-
|
|
98937
|
+
namespace: string;
|
|
97617
98938
|
/**
|
|
97618
98939
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97619
98940
|
*/
|
|
@@ -97649,7 +98970,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
97649
98970
|
*/
|
|
97650
98971
|
'created_at[gte]'?: string;
|
|
97651
98972
|
};
|
|
97652
|
-
url: '/automation/v1/actions/{
|
|
98973
|
+
url: '/automation/v1/actions/{namespace}/{name}/invocations';
|
|
97653
98974
|
};
|
|
97654
98975
|
export type AutomationActionsInvocationsErrors = {
|
|
97655
98976
|
/**
|
|
@@ -97688,7 +99009,7 @@ export type AutomationActionsDependentsData = {
|
|
|
97688
99009
|
/**
|
|
97689
99010
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97690
99011
|
*/
|
|
97691
|
-
|
|
99012
|
+
namespace: string;
|
|
97692
99013
|
/**
|
|
97693
99014
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97694
99015
|
*/
|
|
@@ -97704,7 +99025,7 @@ export type AutomationActionsDependentsData = {
|
|
|
97704
99025
|
*/
|
|
97705
99026
|
cursor?: string;
|
|
97706
99027
|
};
|
|
97707
|
-
url: '/automation/v1/actions/{
|
|
99028
|
+
url: '/automation/v1/actions/{namespace}/{name}/dependents';
|
|
97708
99029
|
};
|
|
97709
99030
|
export type AutomationActionsDependentsErrors = {
|
|
97710
99031
|
/**
|
|
@@ -97743,14 +99064,14 @@ export type AutomationActionsArchiveData = {
|
|
|
97743
99064
|
/**
|
|
97744
99065
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97745
99066
|
*/
|
|
97746
|
-
|
|
99067
|
+
namespace: string;
|
|
97747
99068
|
/**
|
|
97748
99069
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97749
99070
|
*/
|
|
97750
99071
|
name: string;
|
|
97751
99072
|
};
|
|
97752
99073
|
query?: never;
|
|
97753
|
-
url: '/automation/v1/actions/{
|
|
99074
|
+
url: '/automation/v1/actions/{namespace}/{name}/archive';
|
|
97754
99075
|
};
|
|
97755
99076
|
export type AutomationActionsArchiveErrors = {
|
|
97756
99077
|
/**
|
|
@@ -97784,14 +99105,14 @@ export type AutomationActionsRestoreData = {
|
|
|
97784
99105
|
/**
|
|
97785
99106
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97786
99107
|
*/
|
|
97787
|
-
|
|
99108
|
+
namespace: string;
|
|
97788
99109
|
/**
|
|
97789
99110
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97790
99111
|
*/
|
|
97791
99112
|
name: string;
|
|
97792
99113
|
};
|
|
97793
99114
|
query?: never;
|
|
97794
|
-
url: '/automation/v1/actions/{
|
|
99115
|
+
url: '/automation/v1/actions/{namespace}/{name}/restore';
|
|
97795
99116
|
};
|
|
97796
99117
|
export type AutomationActionsRestoreErrors = {
|
|
97797
99118
|
/**
|
|
@@ -97906,9 +99227,9 @@ export type AutomationScriptsCreateData = {
|
|
|
97906
99227
|
*/
|
|
97907
99228
|
description?: string;
|
|
97908
99229
|
/**
|
|
97909
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
99230
|
+
* Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }.
|
|
97910
99231
|
*/
|
|
97911
|
-
draft?: string;
|
|
99232
|
+
draft?: AutomationDraftCreateInput | string;
|
|
97912
99233
|
/**
|
|
97913
99234
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
97914
99235
|
*/
|
|
@@ -97963,14 +99284,14 @@ export type AutomationScriptsGetData = {
|
|
|
97963
99284
|
/**
|
|
97964
99285
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
97965
99286
|
*/
|
|
97966
|
-
|
|
99287
|
+
namespace: string;
|
|
97967
99288
|
/**
|
|
97968
99289
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
97969
99290
|
*/
|
|
97970
99291
|
name: string;
|
|
97971
99292
|
};
|
|
97972
99293
|
query?: never;
|
|
97973
|
-
url: '/automation/v1/scripts/{
|
|
99294
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
97974
99295
|
};
|
|
97975
99296
|
export type AutomationScriptsGetErrors = {
|
|
97976
99297
|
/**
|
|
@@ -98007,28 +99328,30 @@ export type AutomationScriptsPatchData = {
|
|
|
98007
99328
|
[key: string]: string;
|
|
98008
99329
|
};
|
|
98009
99330
|
/**
|
|
98010
|
-
*
|
|
99331
|
+
* Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match.
|
|
98011
99332
|
*/
|
|
98012
|
-
draft?: string;
|
|
99333
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
98013
99334
|
};
|
|
98014
|
-
headers
|
|
99335
|
+
headers?: {
|
|
98015
99336
|
/**
|
|
98016
|
-
*
|
|
99337
|
+
* Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/"…" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412.
|
|
99338
|
+
*
|
|
99339
|
+
* @deprecated
|
|
98017
99340
|
*/
|
|
98018
|
-
'If-Match'
|
|
99341
|
+
'If-Match'?: string;
|
|
98019
99342
|
};
|
|
98020
99343
|
path: {
|
|
98021
99344
|
/**
|
|
98022
99345
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98023
99346
|
*/
|
|
98024
|
-
|
|
99347
|
+
namespace: string;
|
|
98025
99348
|
/**
|
|
98026
99349
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98027
99350
|
*/
|
|
98028
99351
|
name: string;
|
|
98029
99352
|
};
|
|
98030
99353
|
query?: never;
|
|
98031
|
-
url: '/automation/v1/scripts/{
|
|
99354
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
98032
99355
|
};
|
|
98033
99356
|
export type AutomationScriptsPatchErrors = {
|
|
98034
99357
|
/**
|
|
@@ -98070,14 +99393,14 @@ export type AutomationScriptsArchiveData = {
|
|
|
98070
99393
|
/**
|
|
98071
99394
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98072
99395
|
*/
|
|
98073
|
-
|
|
99396
|
+
namespace: string;
|
|
98074
99397
|
/**
|
|
98075
99398
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98076
99399
|
*/
|
|
98077
99400
|
name: string;
|
|
98078
99401
|
};
|
|
98079
99402
|
query?: never;
|
|
98080
|
-
url: '/automation/v1/scripts/{
|
|
99403
|
+
url: '/automation/v1/scripts/{namespace}/{name}/archive';
|
|
98081
99404
|
};
|
|
98082
99405
|
export type AutomationScriptsArchiveErrors = {
|
|
98083
99406
|
/**
|
|
@@ -98115,14 +99438,14 @@ export type AutomationScriptsRestoreData = {
|
|
|
98115
99438
|
/**
|
|
98116
99439
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98117
99440
|
*/
|
|
98118
|
-
|
|
99441
|
+
namespace: string;
|
|
98119
99442
|
/**
|
|
98120
99443
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98121
99444
|
*/
|
|
98122
99445
|
name: string;
|
|
98123
99446
|
};
|
|
98124
99447
|
query?: never;
|
|
98125
|
-
url: '/automation/v1/scripts/{
|
|
99448
|
+
url: '/automation/v1/scripts/{namespace}/{name}/restore';
|
|
98126
99449
|
};
|
|
98127
99450
|
export type AutomationScriptsRestoreErrors = {
|
|
98128
99451
|
/**
|
|
@@ -98160,7 +99483,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
98160
99483
|
/**
|
|
98161
99484
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98162
99485
|
*/
|
|
98163
|
-
|
|
99486
|
+
namespace: string;
|
|
98164
99487
|
/**
|
|
98165
99488
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98166
99489
|
*/
|
|
@@ -98180,7 +99503,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
98180
99503
|
*/
|
|
98181
99504
|
expand?: 'source';
|
|
98182
99505
|
};
|
|
98183
|
-
url: '/automation/v1/scripts/{
|
|
99506
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
98184
99507
|
};
|
|
98185
99508
|
export type AutomationScriptsVersionsErrors = {
|
|
98186
99509
|
/**
|
|
@@ -98220,13 +99543,24 @@ export type AutomationScriptsPublishData = {
|
|
|
98220
99543
|
*/
|
|
98221
99544
|
version: string;
|
|
98222
99545
|
/**
|
|
98223
|
-
* Draft revision to publish, matching the current draft;
|
|
99546
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
99547
|
+
*
|
|
99548
|
+
* @deprecated
|
|
98224
99549
|
*/
|
|
98225
|
-
expected_draft_revision
|
|
99550
|
+
expected_draft_revision?: string;
|
|
98226
99551
|
/**
|
|
98227
99552
|
* Distribution tag. A prerelease (such as 1.3.0-beta.1) requires a tag and it cannot be latest; a tag may only use URL-safe characters (letters, digits and - _ . ! ~ * ' ( )), no spaces or / ? # and no leading or trailing whitespace; it cannot be a version or a version range (such as 1.2.3, ^1, 1.x, *); any other name such as beta, next or debug is allowed. Violations return TAG_INVALID or TAG_REQUIRED with the complete rules in hint.
|
|
98228
99553
|
*/
|
|
98229
99554
|
tag?: string;
|
|
99555
|
+
/**
|
|
99556
|
+
* Precondition for publishing the draft: { revision } is the draft.revision from a read or update and must match the current draft; alternative to publishing from_run. The whole draft object a read returned may be sent back as is, and its other fields are ignored.
|
|
99557
|
+
*/
|
|
99558
|
+
draft?: {
|
|
99559
|
+
/**
|
|
99560
|
+
* Draft revision to publish: the draft.revision a read or update returned, which must equal the current draft revision; expected_draft_revision is its deprecated alias.
|
|
99561
|
+
*/
|
|
99562
|
+
revision: string;
|
|
99563
|
+
};
|
|
98230
99564
|
} | {
|
|
98231
99565
|
/**
|
|
98232
99566
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -98255,14 +99589,14 @@ export type AutomationScriptsPublishData = {
|
|
|
98255
99589
|
/**
|
|
98256
99590
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98257
99591
|
*/
|
|
98258
|
-
|
|
99592
|
+
namespace: string;
|
|
98259
99593
|
/**
|
|
98260
99594
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98261
99595
|
*/
|
|
98262
99596
|
name: string;
|
|
98263
99597
|
};
|
|
98264
99598
|
query?: never;
|
|
98265
|
-
url: '/automation/v1/scripts/{
|
|
99599
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
98266
99600
|
};
|
|
98267
99601
|
export type AutomationScriptsPublishErrors = {
|
|
98268
99602
|
/**
|
|
@@ -98317,7 +99651,7 @@ export type AutomationScriptsVersionData = {
|
|
|
98317
99651
|
/**
|
|
98318
99652
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98319
99653
|
*/
|
|
98320
|
-
|
|
99654
|
+
namespace: string;
|
|
98321
99655
|
/**
|
|
98322
99656
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98323
99657
|
*/
|
|
@@ -98328,7 +99662,7 @@ export type AutomationScriptsVersionData = {
|
|
|
98328
99662
|
version: string;
|
|
98329
99663
|
};
|
|
98330
99664
|
query?: never;
|
|
98331
|
-
url: '/automation/v1/scripts/{
|
|
99665
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}';
|
|
98332
99666
|
};
|
|
98333
99667
|
export type AutomationScriptsVersionErrors = {
|
|
98334
99668
|
/**
|
|
@@ -98364,7 +99698,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
98364
99698
|
/**
|
|
98365
99699
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98366
99700
|
*/
|
|
98367
|
-
|
|
99701
|
+
namespace: string;
|
|
98368
99702
|
/**
|
|
98369
99703
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98370
99704
|
*/
|
|
@@ -98375,7 +99709,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
98375
99709
|
version: string;
|
|
98376
99710
|
};
|
|
98377
99711
|
query?: never;
|
|
98378
|
-
url: '/automation/v1/scripts/{
|
|
99712
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate';
|
|
98379
99713
|
};
|
|
98380
99714
|
export type AutomationScriptsDeprecateErrors = {
|
|
98381
99715
|
/**
|
|
@@ -98418,14 +99752,14 @@ export type AutomationScriptsDistTagsData = {
|
|
|
98418
99752
|
/**
|
|
98419
99753
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98420
99754
|
*/
|
|
98421
|
-
|
|
99755
|
+
namespace: string;
|
|
98422
99756
|
/**
|
|
98423
99757
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98424
99758
|
*/
|
|
98425
99759
|
name: string;
|
|
98426
99760
|
};
|
|
98427
99761
|
query?: never;
|
|
98428
|
-
url: '/automation/v1/scripts/{
|
|
99762
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags';
|
|
98429
99763
|
};
|
|
98430
99764
|
export type AutomationScriptsDistTagsErrors = {
|
|
98431
99765
|
/**
|
|
@@ -98457,7 +99791,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
98457
99791
|
/**
|
|
98458
99792
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98459
99793
|
*/
|
|
98460
|
-
|
|
99794
|
+
namespace: string;
|
|
98461
99795
|
/**
|
|
98462
99796
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98463
99797
|
*/
|
|
@@ -98468,7 +99802,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
98468
99802
|
tag: string;
|
|
98469
99803
|
};
|
|
98470
99804
|
query?: never;
|
|
98471
|
-
url: '/automation/v1/scripts/{
|
|
99805
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
98472
99806
|
};
|
|
98473
99807
|
export type AutomationScriptsDeleteDistTagErrors = {
|
|
98474
99808
|
/**
|
|
@@ -98518,7 +99852,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
98518
99852
|
/**
|
|
98519
99853
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98520
99854
|
*/
|
|
98521
|
-
|
|
99855
|
+
namespace: string;
|
|
98522
99856
|
/**
|
|
98523
99857
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98524
99858
|
*/
|
|
@@ -98529,7 +99863,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
98529
99863
|
tag: string;
|
|
98530
99864
|
};
|
|
98531
99865
|
query?: never;
|
|
98532
|
-
url: '/automation/v1/scripts/{
|
|
99866
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
98533
99867
|
};
|
|
98534
99868
|
export type AutomationScriptsSetDistTagErrors = {
|
|
98535
99869
|
/**
|
|
@@ -98656,9 +99990,9 @@ export type AutomationWorkflowsCreateData = {
|
|
|
98656
99990
|
*/
|
|
98657
99991
|
description?: string;
|
|
98658
99992
|
/**
|
|
98659
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
99993
|
+
* Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }.
|
|
98660
99994
|
*/
|
|
98661
|
-
draft?: string;
|
|
99995
|
+
draft?: AutomationDraftCreateInput | string;
|
|
98662
99996
|
/**
|
|
98663
99997
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
98664
99998
|
*/
|
|
@@ -98713,14 +100047,14 @@ export type AutomationWorkflowsGetData = {
|
|
|
98713
100047
|
/**
|
|
98714
100048
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98715
100049
|
*/
|
|
98716
|
-
|
|
100050
|
+
namespace: string;
|
|
98717
100051
|
/**
|
|
98718
100052
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98719
100053
|
*/
|
|
98720
100054
|
name: string;
|
|
98721
100055
|
};
|
|
98722
100056
|
query?: never;
|
|
98723
|
-
url: '/automation/v1/workflows/{
|
|
100057
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
98724
100058
|
};
|
|
98725
100059
|
export type AutomationWorkflowsGetErrors = {
|
|
98726
100060
|
/**
|
|
@@ -98757,28 +100091,30 @@ export type AutomationWorkflowsPatchData = {
|
|
|
98757
100091
|
[key: string]: string;
|
|
98758
100092
|
};
|
|
98759
100093
|
/**
|
|
98760
|
-
*
|
|
100094
|
+
* Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match.
|
|
98761
100095
|
*/
|
|
98762
|
-
draft?: string;
|
|
100096
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
98763
100097
|
};
|
|
98764
|
-
headers
|
|
100098
|
+
headers?: {
|
|
98765
100099
|
/**
|
|
98766
|
-
*
|
|
100100
|
+
* Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/"…" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412.
|
|
100101
|
+
*
|
|
100102
|
+
* @deprecated
|
|
98767
100103
|
*/
|
|
98768
|
-
'If-Match'
|
|
100104
|
+
'If-Match'?: string;
|
|
98769
100105
|
};
|
|
98770
100106
|
path: {
|
|
98771
100107
|
/**
|
|
98772
100108
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98773
100109
|
*/
|
|
98774
|
-
|
|
100110
|
+
namespace: string;
|
|
98775
100111
|
/**
|
|
98776
100112
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98777
100113
|
*/
|
|
98778
100114
|
name: string;
|
|
98779
100115
|
};
|
|
98780
100116
|
query?: never;
|
|
98781
|
-
url: '/automation/v1/workflows/{
|
|
100117
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
98782
100118
|
};
|
|
98783
100119
|
export type AutomationWorkflowsPatchErrors = {
|
|
98784
100120
|
/**
|
|
@@ -98820,14 +100156,14 @@ export type AutomationWorkflowsArchiveData = {
|
|
|
98820
100156
|
/**
|
|
98821
100157
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98822
100158
|
*/
|
|
98823
|
-
|
|
100159
|
+
namespace: string;
|
|
98824
100160
|
/**
|
|
98825
100161
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98826
100162
|
*/
|
|
98827
100163
|
name: string;
|
|
98828
100164
|
};
|
|
98829
100165
|
query?: never;
|
|
98830
|
-
url: '/automation/v1/workflows/{
|
|
100166
|
+
url: '/automation/v1/workflows/{namespace}/{name}/archive';
|
|
98831
100167
|
};
|
|
98832
100168
|
export type AutomationWorkflowsArchiveErrors = {
|
|
98833
100169
|
/**
|
|
@@ -98865,14 +100201,14 @@ export type AutomationWorkflowsRestoreData = {
|
|
|
98865
100201
|
/**
|
|
98866
100202
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98867
100203
|
*/
|
|
98868
|
-
|
|
100204
|
+
namespace: string;
|
|
98869
100205
|
/**
|
|
98870
100206
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98871
100207
|
*/
|
|
98872
100208
|
name: string;
|
|
98873
100209
|
};
|
|
98874
100210
|
query?: never;
|
|
98875
|
-
url: '/automation/v1/workflows/{
|
|
100211
|
+
url: '/automation/v1/workflows/{namespace}/{name}/restore';
|
|
98876
100212
|
};
|
|
98877
100213
|
export type AutomationWorkflowsRestoreErrors = {
|
|
98878
100214
|
/**
|
|
@@ -98910,7 +100246,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
98910
100246
|
/**
|
|
98911
100247
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
98912
100248
|
*/
|
|
98913
|
-
|
|
100249
|
+
namespace: string;
|
|
98914
100250
|
/**
|
|
98915
100251
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
98916
100252
|
*/
|
|
@@ -98930,7 +100266,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
98930
100266
|
*/
|
|
98931
100267
|
expand?: 'source';
|
|
98932
100268
|
};
|
|
98933
|
-
url: '/automation/v1/workflows/{
|
|
100269
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
98934
100270
|
};
|
|
98935
100271
|
export type AutomationWorkflowsVersionsErrors = {
|
|
98936
100272
|
/**
|
|
@@ -98970,13 +100306,24 @@ export type AutomationWorkflowsPublishData = {
|
|
|
98970
100306
|
*/
|
|
98971
100307
|
version: string;
|
|
98972
100308
|
/**
|
|
98973
|
-
* Draft revision to publish, matching the current draft;
|
|
100309
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
100310
|
+
*
|
|
100311
|
+
* @deprecated
|
|
98974
100312
|
*/
|
|
98975
|
-
expected_draft_revision
|
|
100313
|
+
expected_draft_revision?: string;
|
|
98976
100314
|
/**
|
|
98977
100315
|
* Distribution tag. A prerelease (such as 1.3.0-beta.1) requires a tag and it cannot be latest; a tag may only use URL-safe characters (letters, digits and - _ . ! ~ * ' ( )), no spaces or / ? # and no leading or trailing whitespace; it cannot be a version or a version range (such as 1.2.3, ^1, 1.x, *); any other name such as beta, next or debug is allowed. Violations return TAG_INVALID or TAG_REQUIRED with the complete rules in hint.
|
|
98978
100316
|
*/
|
|
98979
100317
|
tag?: string;
|
|
100318
|
+
/**
|
|
100319
|
+
* Precondition for publishing the draft: { revision } is the draft.revision from a read or update and must match the current draft; alternative to publishing from_run. The whole draft object a read returned may be sent back as is, and its other fields are ignored.
|
|
100320
|
+
*/
|
|
100321
|
+
draft?: {
|
|
100322
|
+
/**
|
|
100323
|
+
* Draft revision to publish: the draft.revision a read or update returned, which must equal the current draft revision; expected_draft_revision is its deprecated alias.
|
|
100324
|
+
*/
|
|
100325
|
+
revision: string;
|
|
100326
|
+
};
|
|
98980
100327
|
} | {
|
|
98981
100328
|
/**
|
|
98982
100329
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -99005,14 +100352,14 @@ export type AutomationWorkflowsPublishData = {
|
|
|
99005
100352
|
/**
|
|
99006
100353
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99007
100354
|
*/
|
|
99008
|
-
|
|
100355
|
+
namespace: string;
|
|
99009
100356
|
/**
|
|
99010
100357
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99011
100358
|
*/
|
|
99012
100359
|
name: string;
|
|
99013
100360
|
};
|
|
99014
100361
|
query?: never;
|
|
99015
|
-
url: '/automation/v1/workflows/{
|
|
100362
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
99016
100363
|
};
|
|
99017
100364
|
export type AutomationWorkflowsPublishErrors = {
|
|
99018
100365
|
/**
|
|
@@ -99075,7 +100422,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
99075
100422
|
/**
|
|
99076
100423
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99077
100424
|
*/
|
|
99078
|
-
|
|
100425
|
+
namespace: string;
|
|
99079
100426
|
/**
|
|
99080
100427
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99081
100428
|
*/
|
|
@@ -99086,7 +100433,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
99086
100433
|
version: string;
|
|
99087
100434
|
};
|
|
99088
100435
|
query?: never;
|
|
99089
|
-
url: '/automation/v1/workflows/{
|
|
100436
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}';
|
|
99090
100437
|
};
|
|
99091
100438
|
export type AutomationWorkflowsVersionErrors = {
|
|
99092
100439
|
/**
|
|
@@ -99122,7 +100469,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
99122
100469
|
/**
|
|
99123
100470
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99124
100471
|
*/
|
|
99125
|
-
|
|
100472
|
+
namespace: string;
|
|
99126
100473
|
/**
|
|
99127
100474
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99128
100475
|
*/
|
|
@@ -99133,7 +100480,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
99133
100480
|
version: string;
|
|
99134
100481
|
};
|
|
99135
100482
|
query?: never;
|
|
99136
|
-
url: '/automation/v1/workflows/{
|
|
100483
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate';
|
|
99137
100484
|
};
|
|
99138
100485
|
export type AutomationWorkflowsDeprecateErrors = {
|
|
99139
100486
|
/**
|
|
@@ -99176,14 +100523,14 @@ export type AutomationWorkflowsDistTagsData = {
|
|
|
99176
100523
|
/**
|
|
99177
100524
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99178
100525
|
*/
|
|
99179
|
-
|
|
100526
|
+
namespace: string;
|
|
99180
100527
|
/**
|
|
99181
100528
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99182
100529
|
*/
|
|
99183
100530
|
name: string;
|
|
99184
100531
|
};
|
|
99185
100532
|
query?: never;
|
|
99186
|
-
url: '/automation/v1/workflows/{
|
|
100533
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags';
|
|
99187
100534
|
};
|
|
99188
100535
|
export type AutomationWorkflowsDistTagsErrors = {
|
|
99189
100536
|
/**
|
|
@@ -99215,7 +100562,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
99215
100562
|
/**
|
|
99216
100563
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99217
100564
|
*/
|
|
99218
|
-
|
|
100565
|
+
namespace: string;
|
|
99219
100566
|
/**
|
|
99220
100567
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99221
100568
|
*/
|
|
@@ -99226,7 +100573,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
99226
100573
|
tag: string;
|
|
99227
100574
|
};
|
|
99228
100575
|
query?: never;
|
|
99229
|
-
url: '/automation/v1/workflows/{
|
|
100576
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
99230
100577
|
};
|
|
99231
100578
|
export type AutomationWorkflowsDeleteDistTagErrors = {
|
|
99232
100579
|
/**
|
|
@@ -99276,7 +100623,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
99276
100623
|
/**
|
|
99277
100624
|
* Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions.
|
|
99278
100625
|
*/
|
|
99279
|
-
|
|
100626
|
+
namespace: string;
|
|
99280
100627
|
/**
|
|
99281
100628
|
* Name, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}.
|
|
99282
100629
|
*/
|
|
@@ -99287,7 +100634,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
99287
100634
|
tag: string;
|
|
99288
100635
|
};
|
|
99289
100636
|
query?: never;
|
|
99290
|
-
url: '/automation/v1/workflows/{
|
|
100637
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
99291
100638
|
};
|
|
99292
100639
|
export type AutomationWorkflowsSetDistTagErrors = {
|
|
99293
100640
|
/**
|
|
@@ -99514,7 +100861,7 @@ export type AutomationRunsListData = {
|
|
|
99514
100861
|
*/
|
|
99515
100862
|
channel?: Array<'console' | 'api' | 'internal' | 'run' | 'trigger'>;
|
|
99516
100863
|
/**
|
|
99517
|
-
* Root initiator type: user, api_key, agent or
|
|
100864
|
+
* Root initiator type: user, api_key, agent, trigger or application, inherited by child runs. run returns INPUT_INVALID; filter origin with channel=run or parent_run_id. Separate multiple values with commas to match any value.
|
|
99518
100865
|
*/
|
|
99519
100866
|
initiator_type?: Array<'user' | 'api_key' | 'agent' | 'trigger'>;
|
|
99520
100867
|
/**
|
|
@@ -99702,7 +101049,7 @@ export type AutomationRunsGetData = {
|
|
|
99702
101049
|
/**
|
|
99703
101050
|
* Run ID (run_).
|
|
99704
101051
|
*/
|
|
99705
|
-
|
|
101052
|
+
run_id: string;
|
|
99706
101053
|
};
|
|
99707
101054
|
query?: {
|
|
99708
101055
|
/**
|
|
@@ -99714,7 +101061,7 @@ export type AutomationRunsGetData = {
|
|
|
99714
101061
|
*/
|
|
99715
101062
|
wait?: number;
|
|
99716
101063
|
};
|
|
99717
|
-
url: '/automation/v1/runs/{
|
|
101064
|
+
url: '/automation/v1/runs/{run_id}';
|
|
99718
101065
|
};
|
|
99719
101066
|
export type AutomationRunsGetErrors = {
|
|
99720
101067
|
/**
|
|
@@ -99749,10 +101096,10 @@ export type AutomationRunsCancelData = {
|
|
|
99749
101096
|
/**
|
|
99750
101097
|
* Run ID (run_).
|
|
99751
101098
|
*/
|
|
99752
|
-
|
|
101099
|
+
run_id: string;
|
|
99753
101100
|
};
|
|
99754
101101
|
query?: never;
|
|
99755
|
-
url: '/automation/v1/runs/{
|
|
101102
|
+
url: '/automation/v1/runs/{run_id}/cancel';
|
|
99756
101103
|
};
|
|
99757
101104
|
export type AutomationRunsCancelErrors = {
|
|
99758
101105
|
/**
|
|
@@ -99797,10 +101144,10 @@ export type AutomationRunsRerunData = {
|
|
|
99797
101144
|
/**
|
|
99798
101145
|
* Run ID (run_).
|
|
99799
101146
|
*/
|
|
99800
|
-
|
|
101147
|
+
run_id: string;
|
|
99801
101148
|
};
|
|
99802
101149
|
query?: never;
|
|
99803
|
-
url: '/automation/v1/runs/{
|
|
101150
|
+
url: '/automation/v1/runs/{run_id}/rerun';
|
|
99804
101151
|
};
|
|
99805
101152
|
export type AutomationRunsRerunErrors = {
|
|
99806
101153
|
/**
|
|
@@ -99852,10 +101199,10 @@ export type AutomationRunsSuspendData = {
|
|
|
99852
101199
|
/**
|
|
99853
101200
|
* Run ID (run_).
|
|
99854
101201
|
*/
|
|
99855
|
-
|
|
101202
|
+
run_id: string;
|
|
99856
101203
|
};
|
|
99857
101204
|
query?: never;
|
|
99858
|
-
url: '/automation/v1/runs/{
|
|
101205
|
+
url: '/automation/v1/runs/{run_id}/suspend';
|
|
99859
101206
|
};
|
|
99860
101207
|
export type AutomationRunsSuspendErrors = {
|
|
99861
101208
|
/**
|
|
@@ -99890,10 +101237,10 @@ export type AutomationRunsResumeData = {
|
|
|
99890
101237
|
/**
|
|
99891
101238
|
* Run ID (run_).
|
|
99892
101239
|
*/
|
|
99893
|
-
|
|
101240
|
+
run_id: string;
|
|
99894
101241
|
};
|
|
99895
101242
|
query?: never;
|
|
99896
|
-
url: '/automation/v1/runs/{
|
|
101243
|
+
url: '/automation/v1/runs/{run_id}/resume';
|
|
99897
101244
|
};
|
|
99898
101245
|
export type AutomationRunsResumeErrors = {
|
|
99899
101246
|
/**
|
|
@@ -99928,7 +101275,7 @@ export type AutomationRunsWaitsData = {
|
|
|
99928
101275
|
/**
|
|
99929
101276
|
* Run ID (run_).
|
|
99930
101277
|
*/
|
|
99931
|
-
|
|
101278
|
+
run_id: string;
|
|
99932
101279
|
};
|
|
99933
101280
|
query?: {
|
|
99934
101281
|
/**
|
|
@@ -99940,7 +101287,7 @@ export type AutomationRunsWaitsData = {
|
|
|
99940
101287
|
*/
|
|
99941
101288
|
cursor?: string;
|
|
99942
101289
|
};
|
|
99943
|
-
url: '/automation/v1/runs/{
|
|
101290
|
+
url: '/automation/v1/runs/{run_id}/waits';
|
|
99944
101291
|
};
|
|
99945
101292
|
export type AutomationRunsWaitsErrors = {
|
|
99946
101293
|
/**
|
|
@@ -99979,7 +101326,7 @@ export type AutomationRunsCallsData = {
|
|
|
99979
101326
|
/**
|
|
99980
101327
|
* Run ID (run_).
|
|
99981
101328
|
*/
|
|
99982
|
-
|
|
101329
|
+
run_id: string;
|
|
99983
101330
|
};
|
|
99984
101331
|
query?: {
|
|
99985
101332
|
/**
|
|
@@ -99991,7 +101338,7 @@ export type AutomationRunsCallsData = {
|
|
|
99991
101338
|
*/
|
|
99992
101339
|
cursor?: string;
|
|
99993
101340
|
};
|
|
99994
|
-
url: '/automation/v1/runs/{
|
|
101341
|
+
url: '/automation/v1/runs/{run_id}/calls';
|
|
99995
101342
|
};
|
|
99996
101343
|
export type AutomationRunsCallsErrors = {
|
|
99997
101344
|
/**
|
|
@@ -100030,7 +101377,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
100030
101377
|
/**
|
|
100031
101378
|
* Run ID (run_).
|
|
100032
101379
|
*/
|
|
100033
|
-
|
|
101380
|
+
run_id: string;
|
|
100034
101381
|
};
|
|
100035
101382
|
query?: {
|
|
100036
101383
|
/**
|
|
@@ -100042,7 +101389,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
100042
101389
|
*/
|
|
100043
101390
|
cursor?: string;
|
|
100044
101391
|
};
|
|
100045
|
-
url: '/automation/v1/runs/{
|
|
101392
|
+
url: '/automation/v1/runs/{run_id}/artifacts';
|
|
100046
101393
|
};
|
|
100047
101394
|
export type AutomationRunsArtifactsErrors = {
|
|
100048
101395
|
/**
|
|
@@ -100090,14 +101437,14 @@ export type AutomationRunsCompleteWaitData = {
|
|
|
100090
101437
|
/**
|
|
100091
101438
|
* Run ID (run_).
|
|
100092
101439
|
*/
|
|
100093
|
-
|
|
101440
|
+
run_id: string;
|
|
100094
101441
|
/**
|
|
100095
101442
|
* Wait ID (wait_) belonging to this run.
|
|
100096
101443
|
*/
|
|
100097
101444
|
wait_id: string;
|
|
100098
101445
|
};
|
|
100099
101446
|
query?: never;
|
|
100100
|
-
url: '/automation/v1/runs/{
|
|
101447
|
+
url: '/automation/v1/runs/{run_id}/waits/{wait_id}/complete';
|
|
100101
101448
|
};
|
|
100102
101449
|
export type AutomationRunsCompleteWaitErrors = {
|
|
100103
101450
|
/**
|
|
@@ -100148,6 +101495,8 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
100148
101495
|
kind: 'event' | 'timer' | 'child';
|
|
100149
101496
|
/**
|
|
100150
101497
|
* Wait state after the call. open is still waiting; resolved was satisfied; expired passed its deadline; cancelled was cancelled. A successfully submitted event leaves it resolved.
|
|
101498
|
+
*
|
|
101499
|
+
* @deprecated
|
|
100151
101500
|
*/
|
|
100152
101501
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
100153
101502
|
/**
|
|
@@ -100191,6 +101540,10 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
100191
101540
|
* true when this was a repeated submission with the same id and payload, so the original result is returned instead of processing it again.
|
|
100192
101541
|
*/
|
|
100193
101542
|
replayed: boolean;
|
|
101543
|
+
/**
|
|
101544
|
+
* Wait state after the call. open is still waiting; resolved was satisfied; expired passed its deadline; cancelled was cancelled. A successfully submitted event leaves it resolved.
|
|
101545
|
+
*/
|
|
101546
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
100194
101547
|
};
|
|
100195
101548
|
};
|
|
100196
101549
|
export type AutomationRunsCompleteWaitResponse = AutomationRunsCompleteWaitResponses[keyof AutomationRunsCompleteWaitResponses];
|
|
@@ -100200,7 +101553,7 @@ export type AutomationRunsTasksData = {
|
|
|
100200
101553
|
/**
|
|
100201
101554
|
* Run ID (run_).
|
|
100202
101555
|
*/
|
|
100203
|
-
|
|
101556
|
+
run_id: string;
|
|
100204
101557
|
};
|
|
100205
101558
|
query?: {
|
|
100206
101559
|
/**
|
|
@@ -100220,7 +101573,7 @@ export type AutomationRunsTasksData = {
|
|
|
100220
101573
|
*/
|
|
100221
101574
|
group_by?: 'reference';
|
|
100222
101575
|
};
|
|
100223
|
-
url: '/automation/v1/runs/{
|
|
101576
|
+
url: '/automation/v1/runs/{run_id}/tasks';
|
|
100224
101577
|
};
|
|
100225
101578
|
export type AutomationRunsTasksErrors = {
|
|
100226
101579
|
/**
|
|
@@ -100269,7 +101622,7 @@ export type AutomationRunsEventsData = {
|
|
|
100269
101622
|
/**
|
|
100270
101623
|
* Run ID (run_).
|
|
100271
101624
|
*/
|
|
100272
|
-
|
|
101625
|
+
run_id: string;
|
|
100273
101626
|
};
|
|
100274
101627
|
query?: {
|
|
100275
101628
|
/**
|
|
@@ -100281,7 +101634,7 @@ export type AutomationRunsEventsData = {
|
|
|
100281
101634
|
*/
|
|
100282
101635
|
cursor?: string;
|
|
100283
101636
|
};
|
|
100284
|
-
url: '/automation/v1/runs/{
|
|
101637
|
+
url: '/automation/v1/runs/{run_id}/events';
|
|
100285
101638
|
};
|
|
100286
101639
|
export type AutomationRunsEventsErrors = {
|
|
100287
101640
|
/**
|
|
@@ -100330,7 +101683,7 @@ export type AutomationRunsLogsData = {
|
|
|
100330
101683
|
/**
|
|
100331
101684
|
* Run ID (run_).
|
|
100332
101685
|
*/
|
|
100333
|
-
|
|
101686
|
+
run_id: string;
|
|
100334
101687
|
};
|
|
100335
101688
|
query?: {
|
|
100336
101689
|
/**
|
|
@@ -100342,7 +101695,7 @@ export type AutomationRunsLogsData = {
|
|
|
100342
101695
|
*/
|
|
100343
101696
|
cursor?: string;
|
|
100344
101697
|
};
|
|
100345
|
-
url: '/automation/v1/runs/{
|
|
101698
|
+
url: '/automation/v1/runs/{run_id}/logs';
|
|
100346
101699
|
};
|
|
100347
101700
|
export type AutomationRunsLogsErrors = {
|
|
100348
101701
|
/**
|
|
@@ -100381,10 +101734,10 @@ export type AutomationRunsSourceData = {
|
|
|
100381
101734
|
/**
|
|
100382
101735
|
* Run ID (run_).
|
|
100383
101736
|
*/
|
|
100384
|
-
|
|
101737
|
+
run_id: string;
|
|
100385
101738
|
};
|
|
100386
101739
|
query?: never;
|
|
100387
|
-
url: '/automation/v1/runs/{
|
|
101740
|
+
url: '/automation/v1/runs/{run_id}/source';
|
|
100388
101741
|
};
|
|
100389
101742
|
export type AutomationRunsSourceErrors = {
|
|
100390
101743
|
/**
|
|
@@ -100439,7 +101792,9 @@ export type AutomationTriggersListData = {
|
|
|
100439
101792
|
*/
|
|
100440
101793
|
kind?: Array<'schedule' | 'webhook'>;
|
|
100441
101794
|
/**
|
|
100442
|
-
* Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
101795
|
+
* Deprecated, use status. Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
101796
|
+
*
|
|
101797
|
+
* @deprecated
|
|
100443
101798
|
*/
|
|
100444
101799
|
state?: Array<AutomationTriggerState>;
|
|
100445
101800
|
/**
|
|
@@ -100456,6 +101811,10 @@ export type AutomationTriggersListData = {
|
|
|
100456
101811
|
* Inclusive creation-time upper bound, as an ISO 8601 timestamp with timezone.
|
|
100457
101812
|
*/
|
|
100458
101813
|
'created_at[lte]'?: string;
|
|
101814
|
+
/**
|
|
101815
|
+
* Trigger status: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value. Giving it together with a different state returns 400.
|
|
101816
|
+
*/
|
|
101817
|
+
status?: Array<AutomationTriggerState>;
|
|
100459
101818
|
};
|
|
100460
101819
|
url: '/automation/v1/triggers';
|
|
100461
101820
|
};
|
|
@@ -100621,10 +101980,10 @@ export type AutomationTriggersDeleteData = {
|
|
|
100621
101980
|
/**
|
|
100622
101981
|
* Trigger ID (trg_).
|
|
100623
101982
|
*/
|
|
100624
|
-
|
|
101983
|
+
trigger_id: string;
|
|
100625
101984
|
};
|
|
100626
101985
|
query?: never;
|
|
100627
|
-
url: '/automation/v1/triggers/{
|
|
101986
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100628
101987
|
};
|
|
100629
101988
|
export type AutomationTriggersDeleteErrors = {
|
|
100630
101989
|
/**
|
|
@@ -100658,10 +102017,10 @@ export type AutomationTriggersGetData = {
|
|
|
100658
102017
|
/**
|
|
100659
102018
|
* Trigger ID (trg_).
|
|
100660
102019
|
*/
|
|
100661
|
-
|
|
102020
|
+
trigger_id: string;
|
|
100662
102021
|
};
|
|
100663
102022
|
query?: never;
|
|
100664
|
-
url: '/automation/v1/triggers/{
|
|
102023
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100665
102024
|
};
|
|
100666
102025
|
export type AutomationTriggersGetErrors = {
|
|
100667
102026
|
/**
|
|
@@ -100769,10 +102128,10 @@ export type AutomationTriggersPatchData = {
|
|
|
100769
102128
|
/**
|
|
100770
102129
|
* Trigger ID (trg_).
|
|
100771
102130
|
*/
|
|
100772
|
-
|
|
102131
|
+
trigger_id: string;
|
|
100773
102132
|
};
|
|
100774
102133
|
query?: never;
|
|
100775
|
-
url: '/automation/v1/triggers/{
|
|
102134
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
100776
102135
|
};
|
|
100777
102136
|
export type AutomationTriggersPatchErrors = {
|
|
100778
102137
|
/**
|
|
@@ -100825,10 +102184,10 @@ export type AutomationTriggersPauseData = {
|
|
|
100825
102184
|
/**
|
|
100826
102185
|
* Trigger ID (trg_).
|
|
100827
102186
|
*/
|
|
100828
|
-
|
|
102187
|
+
trigger_id: string;
|
|
100829
102188
|
};
|
|
100830
102189
|
query?: never;
|
|
100831
|
-
url: '/automation/v1/triggers/{
|
|
102190
|
+
url: '/automation/v1/triggers/{trigger_id}/pause';
|
|
100832
102191
|
};
|
|
100833
102192
|
export type AutomationTriggersPauseErrors = {
|
|
100834
102193
|
/**
|
|
@@ -100862,10 +102221,10 @@ export type AutomationTriggersResumeData = {
|
|
|
100862
102221
|
/**
|
|
100863
102222
|
* Trigger ID (trg_).
|
|
100864
102223
|
*/
|
|
100865
|
-
|
|
102224
|
+
trigger_id: string;
|
|
100866
102225
|
};
|
|
100867
102226
|
query?: never;
|
|
100868
|
-
url: '/automation/v1/triggers/{
|
|
102227
|
+
url: '/automation/v1/triggers/{trigger_id}/resume';
|
|
100869
102228
|
};
|
|
100870
102229
|
export type AutomationTriggersResumeErrors = {
|
|
100871
102230
|
/**
|
|
@@ -100909,10 +102268,10 @@ export type AutomationTriggersFireData = {
|
|
|
100909
102268
|
/**
|
|
100910
102269
|
* Trigger ID (trg_).
|
|
100911
102270
|
*/
|
|
100912
|
-
|
|
102271
|
+
trigger_id: string;
|
|
100913
102272
|
};
|
|
100914
102273
|
query?: never;
|
|
100915
|
-
url: '/automation/v1/triggers/{
|
|
102274
|
+
url: '/automation/v1/triggers/{trigger_id}/fire';
|
|
100916
102275
|
};
|
|
100917
102276
|
export type AutomationTriggersFireErrors = {
|
|
100918
102277
|
/**
|
|
@@ -100955,10 +102314,10 @@ export type AutomationTriggersRotateWebhookData = {
|
|
|
100955
102314
|
/**
|
|
100956
102315
|
* Trigger ID (trg_).
|
|
100957
102316
|
*/
|
|
100958
|
-
|
|
102317
|
+
trigger_id: string;
|
|
100959
102318
|
};
|
|
100960
102319
|
query?: never;
|
|
100961
|
-
url: '/automation/v1/triggers/{
|
|
102320
|
+
url: '/automation/v1/triggers/{trigger_id}/rotate-webhook';
|
|
100962
102321
|
};
|
|
100963
102322
|
export type AutomationTriggersRotateWebhookErrors = {
|
|
100964
102323
|
/**
|
|
@@ -100988,7 +102347,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
100988
102347
|
/**
|
|
100989
102348
|
* Trigger ID (trg_).
|
|
100990
102349
|
*/
|
|
100991
|
-
|
|
102350
|
+
trigger_id: string;
|
|
100992
102351
|
};
|
|
100993
102352
|
query?: {
|
|
100994
102353
|
/**
|
|
@@ -101008,7 +102367,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
101008
102367
|
*/
|
|
101009
102368
|
run_id?: string;
|
|
101010
102369
|
};
|
|
101011
|
-
url: '/automation/v1/triggers/{
|
|
102370
|
+
url: '/automation/v1/triggers/{trigger_id}/firings';
|
|
101012
102371
|
};
|
|
101013
102372
|
export type AutomationTriggersFiringsErrors = {
|
|
101014
102373
|
/**
|
|
@@ -101214,10 +102573,10 @@ export type AutomationHumanTasksGetData = {
|
|
|
101214
102573
|
/**
|
|
101215
102574
|
* Human task ID (htask_), from the list or the run's waits.
|
|
101216
102575
|
*/
|
|
101217
|
-
|
|
102576
|
+
task_id: string;
|
|
101218
102577
|
};
|
|
101219
102578
|
query?: never;
|
|
101220
|
-
url: '/automation/v1/human-tasks/{
|
|
102579
|
+
url: '/automation/v1/human-tasks/{task_id}';
|
|
101221
102580
|
};
|
|
101222
102581
|
export type AutomationHumanTasksGetErrors = {
|
|
101223
102582
|
/**
|
|
@@ -101253,10 +102612,10 @@ export type AutomationHumanTasksRespondData = {
|
|
|
101253
102612
|
/**
|
|
101254
102613
|
* Human task ID (htask_).
|
|
101255
102614
|
*/
|
|
101256
|
-
|
|
102615
|
+
task_id: string;
|
|
101257
102616
|
};
|
|
101258
102617
|
query?: never;
|
|
101259
|
-
url: '/automation/v1/human-tasks/{
|
|
102618
|
+
url: '/automation/v1/human-tasks/{task_id}/respond';
|
|
101260
102619
|
};
|
|
101261
102620
|
export type AutomationHumanTasksRespondErrors = {
|
|
101262
102621
|
/**
|
|
@@ -101311,10 +102670,10 @@ export type AutomationHumanTasksCancelData = {
|
|
|
101311
102670
|
/**
|
|
101312
102671
|
* Human task ID (htask_).
|
|
101313
102672
|
*/
|
|
101314
|
-
|
|
102673
|
+
task_id: string;
|
|
101315
102674
|
};
|
|
101316
102675
|
query?: never;
|
|
101317
|
-
url: '/automation/v1/human-tasks/{
|
|
102676
|
+
url: '/automation/v1/human-tasks/{task_id}/cancel';
|
|
101318
102677
|
};
|
|
101319
102678
|
export type AutomationHumanTasksCancelErrors = {
|
|
101320
102679
|
/**
|
|
@@ -101357,10 +102716,10 @@ export type AutomationHumanTasksDelegateData = {
|
|
|
101357
102716
|
/**
|
|
101358
102717
|
* Human task ID (htask_).
|
|
101359
102718
|
*/
|
|
101360
|
-
|
|
102719
|
+
task_id: string;
|
|
101361
102720
|
};
|
|
101362
102721
|
query?: never;
|
|
101363
|
-
url: '/automation/v1/human-tasks/{
|
|
102722
|
+
url: '/automation/v1/human-tasks/{task_id}/delegate';
|
|
101364
102723
|
};
|
|
101365
102724
|
export type AutomationHumanTasksDelegateErrors = {
|
|
101366
102725
|
/**
|
|
@@ -101401,14 +102760,14 @@ export type AutomationScriptsVaultsListData = {
|
|
|
101401
102760
|
/**
|
|
101402
102761
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101403
102762
|
*/
|
|
101404
|
-
|
|
102763
|
+
namespace: string;
|
|
101405
102764
|
/**
|
|
101406
102765
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101407
102766
|
*/
|
|
101408
102767
|
name: string;
|
|
101409
102768
|
};
|
|
101410
102769
|
query?: never;
|
|
101411
|
-
url: '/automation/v1/scripts/{
|
|
102770
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults';
|
|
101412
102771
|
};
|
|
101413
102772
|
export type AutomationScriptsVaultsListErrors = {
|
|
101414
102773
|
/**
|
|
@@ -101474,7 +102833,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
101474
102833
|
/**
|
|
101475
102834
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101476
102835
|
*/
|
|
101477
|
-
|
|
102836
|
+
namespace: string;
|
|
101478
102837
|
/**
|
|
101479
102838
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101480
102839
|
*/
|
|
@@ -101485,7 +102844,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
101485
102844
|
alias: string;
|
|
101486
102845
|
};
|
|
101487
102846
|
query?: never;
|
|
101488
|
-
url: '/automation/v1/scripts/{
|
|
102847
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
101489
102848
|
};
|
|
101490
102849
|
export type AutomationScriptsVaultsDeleteErrors = {
|
|
101491
102850
|
/**
|
|
@@ -101520,7 +102879,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
101520
102879
|
/**
|
|
101521
102880
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
101522
102881
|
*/
|
|
101523
|
-
|
|
102882
|
+
namespace: string;
|
|
101524
102883
|
/**
|
|
101525
102884
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
101526
102885
|
*/
|
|
@@ -101531,7 +102890,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
101531
102890
|
alias: string;
|
|
101532
102891
|
};
|
|
101533
102892
|
query?: never;
|
|
101534
|
-
url: '/automation/v1/scripts/{
|
|
102893
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
101535
102894
|
};
|
|
101536
102895
|
export type AutomationScriptsVaultsSetErrors = {
|
|
101537
102896
|
/**
|
|
@@ -101601,14 +102960,14 @@ export type AutomationWorkflowsVaultsListData = {
|
|
|
101601
102960
|
/**
|
|
101602
102961
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101603
102962
|
*/
|
|
101604
|
-
|
|
102963
|
+
namespace: string;
|
|
101605
102964
|
/**
|
|
101606
102965
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101607
102966
|
*/
|
|
101608
102967
|
name: string;
|
|
101609
102968
|
};
|
|
101610
102969
|
query?: never;
|
|
101611
|
-
url: '/automation/v1/workflows/{
|
|
102970
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults';
|
|
101612
102971
|
};
|
|
101613
102972
|
export type AutomationWorkflowsVaultsListErrors = {
|
|
101614
102973
|
/**
|
|
@@ -101674,7 +103033,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
101674
103033
|
/**
|
|
101675
103034
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101676
103035
|
*/
|
|
101677
|
-
|
|
103036
|
+
namespace: string;
|
|
101678
103037
|
/**
|
|
101679
103038
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101680
103039
|
*/
|
|
@@ -101685,7 +103044,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
101685
103044
|
alias: string;
|
|
101686
103045
|
};
|
|
101687
103046
|
query?: never;
|
|
101688
|
-
url: '/automation/v1/workflows/{
|
|
103047
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
101689
103048
|
};
|
|
101690
103049
|
export type AutomationWorkflowsVaultsDeleteErrors = {
|
|
101691
103050
|
/**
|
|
@@ -101720,7 +103079,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
101720
103079
|
/**
|
|
101721
103080
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
101722
103081
|
*/
|
|
101723
|
-
|
|
103082
|
+
namespace: string;
|
|
101724
103083
|
/**
|
|
101725
103084
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
101726
103085
|
*/
|
|
@@ -101731,7 +103090,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
101731
103090
|
alias: string;
|
|
101732
103091
|
};
|
|
101733
103092
|
query?: never;
|
|
101734
|
-
url: '/automation/v1/workflows/{
|
|
103093
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
101735
103094
|
};
|
|
101736
103095
|
export type AutomationWorkflowsVaultsSetErrors = {
|
|
101737
103096
|
/**
|
|
@@ -114210,86 +115569,240 @@ export type DevopsUnitsTransitionsListResponses = {
|
|
|
114210
115569
|
200: DevopsUnitTransitionPage;
|
|
114211
115570
|
};
|
|
114212
115571
|
export type DevopsUnitsTransitionsListResponse = DevopsUnitsTransitionsListResponses[keyof DevopsUnitsTransitionsListResponses];
|
|
114213
|
-
export type
|
|
115572
|
+
export type EventsListTypesData = {
|
|
115573
|
+
body?: never;
|
|
115574
|
+
path?: never;
|
|
115575
|
+
query?: never;
|
|
115576
|
+
url: '/events/v1/types';
|
|
115577
|
+
};
|
|
115578
|
+
export type EventsListTypesErrors = {
|
|
115579
|
+
/**
|
|
115580
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
115581
|
+
*/
|
|
115582
|
+
401: EventsEventsProblem;
|
|
115583
|
+
/**
|
|
115584
|
+
* PROVIDER_UNAVAILABLE with retryable true means the event catalog or the inbox service cannot answer right now; wait a few seconds and repeat the same call.
|
|
115585
|
+
*/
|
|
115586
|
+
503: EventsEventsProblem;
|
|
115587
|
+
};
|
|
115588
|
+
export type EventsListTypesError = EventsListTypesErrors[keyof EventsListTypesErrors];
|
|
115589
|
+
export type EventsListTypesResponses = {
|
|
115590
|
+
/**
|
|
115591
|
+
* The tenant event types, one entry per type and schema version.
|
|
115592
|
+
*/
|
|
115593
|
+
200: EventsEventTypePage;
|
|
115594
|
+
};
|
|
115595
|
+
export type EventsListTypesResponse = EventsListTypesResponses[keyof EventsListTypesResponses];
|
|
115596
|
+
export type EventsListSubscriptionsData = {
|
|
114214
115597
|
body?: never;
|
|
114215
115598
|
path?: never;
|
|
114216
115599
|
query?: {
|
|
114217
115600
|
/**
|
|
114218
|
-
*
|
|
114219
|
-
*/
|
|
114220
|
-
status?: 'active' | 'deleting';
|
|
114221
|
-
/**
|
|
114222
|
-
* Resource ID.
|
|
114223
|
-
*/
|
|
114224
|
-
after?: string;
|
|
114225
|
-
/**
|
|
114226
|
-
* Resource ID.
|
|
114227
|
-
*/
|
|
114228
|
-
before?: string;
|
|
114229
|
-
/**
|
|
114230
|
-
* Page size.
|
|
115601
|
+
* Maximum subscriptions to return, from 1 to 100; defaults to 50.
|
|
114231
115602
|
*/
|
|
114232
115603
|
limit?: number;
|
|
114233
|
-
/**
|
|
114234
|
-
* Order by creation time; defaults to desc for stores/files and asc by index for segments.
|
|
114235
|
-
*/
|
|
114236
|
-
order?: 'asc' | 'desc';
|
|
114237
115604
|
};
|
|
114238
|
-
url: '/
|
|
115605
|
+
url: '/events/v1/subscriptions';
|
|
114239
115606
|
};
|
|
114240
|
-
export type
|
|
115607
|
+
export type EventsListSubscriptionsErrors = {
|
|
114241
115608
|
/**
|
|
114242
|
-
* INVALID_PARAMS,
|
|
115609
|
+
* UNSUPPORTED_FILTER_DIALECT means a filter used a form other than exact and prefix; INVALID_PARAMS means a field, type, filter name, count, date or query value is not accepted, and the message names it. Correct the request; retrying it unchanged fails again.
|
|
114243
115610
|
*/
|
|
114244
|
-
400:
|
|
115611
|
+
400: EventsEventsProblem;
|
|
114245
115612
|
/**
|
|
114246
|
-
* UNAUTHENTICATED
|
|
115613
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
114247
115614
|
*/
|
|
114248
|
-
401:
|
|
115615
|
+
401: EventsEventsProblem;
|
|
114249
115616
|
/**
|
|
114250
|
-
*
|
|
115617
|
+
* PROVIDER_UNAVAILABLE with retryable true means the event catalog or the inbox service cannot answer right now; wait a few seconds and repeat the same call.
|
|
114251
115618
|
*/
|
|
114252
|
-
|
|
115619
|
+
503: EventsEventsProblem;
|
|
115620
|
+
};
|
|
115621
|
+
export type EventsListSubscriptionsError = EventsListSubscriptionsErrors[keyof EventsListSubscriptionsErrors];
|
|
115622
|
+
export type EventsListSubscriptionsResponses = {
|
|
114253
115623
|
/**
|
|
114254
|
-
*
|
|
115624
|
+
* Your live subscriptions.
|
|
114255
115625
|
*/
|
|
114256
|
-
|
|
115626
|
+
200: EventsEventSubscriptionPage;
|
|
115627
|
+
};
|
|
115628
|
+
export type EventsListSubscriptionsResponse = EventsListSubscriptionsResponses[keyof EventsListSubscriptionsResponses];
|
|
115629
|
+
export type EventsCreateSubscriptionData = {
|
|
114257
115630
|
/**
|
|
114258
|
-
*
|
|
115631
|
+
* What to subscribe to and how long the subscription lasts.
|
|
114259
115632
|
*/
|
|
114260
|
-
|
|
115633
|
+
body: EventsCreateEventSubscriptionInput;
|
|
115634
|
+
path?: never;
|
|
115635
|
+
query?: never;
|
|
115636
|
+
url: '/events/v1/subscriptions';
|
|
115637
|
+
};
|
|
115638
|
+
export type EventsCreateSubscriptionErrors = {
|
|
114261
115639
|
/**
|
|
114262
|
-
*
|
|
115640
|
+
* UNSUPPORTED_FILTER_DIALECT means a filter used a form other than exact and prefix; INVALID_PARAMS means a field, type, filter name, count, date or query value is not accepted, and the message names it. Correct the request; retrying it unchanged fails again.
|
|
114263
115641
|
*/
|
|
114264
|
-
|
|
115642
|
+
400: EventsEventsProblem;
|
|
114265
115643
|
/**
|
|
114266
|
-
*
|
|
115644
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
114267
115645
|
*/
|
|
114268
|
-
|
|
115646
|
+
401: EventsEventsProblem;
|
|
114269
115647
|
/**
|
|
114270
|
-
*
|
|
115648
|
+
* PROVIDER_UNAVAILABLE with retryable true means the event catalog or the inbox service cannot answer right now; wait a few seconds and repeat the same call.
|
|
114271
115649
|
*/
|
|
114272
|
-
|
|
115650
|
+
503: EventsEventsProblem;
|
|
115651
|
+
};
|
|
115652
|
+
export type EventsCreateSubscriptionError = EventsCreateSubscriptionErrors[keyof EventsCreateSubscriptionErrors];
|
|
115653
|
+
export type EventsCreateSubscriptionResponses = {
|
|
114273
115654
|
/**
|
|
114274
|
-
*
|
|
115655
|
+
* The new subscription.
|
|
114275
115656
|
*/
|
|
114276
|
-
|
|
115657
|
+
201: EventsEventSubscription;
|
|
114277
115658
|
};
|
|
114278
|
-
export type
|
|
114279
|
-
export type
|
|
115659
|
+
export type EventsCreateSubscriptionResponse = EventsCreateSubscriptionResponses[keyof EventsCreateSubscriptionResponses];
|
|
115660
|
+
export type EventsDeleteSubscriptionData = {
|
|
115661
|
+
body?: never;
|
|
115662
|
+
path: {
|
|
115663
|
+
/**
|
|
115664
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
115665
|
+
*/
|
|
115666
|
+
subscription_id: string;
|
|
115667
|
+
};
|
|
115668
|
+
query?: never;
|
|
115669
|
+
url: '/events/v1/subscriptions/{subscription_id}';
|
|
115670
|
+
};
|
|
115671
|
+
export type EventsDeleteSubscriptionErrors = {
|
|
114280
115672
|
/**
|
|
114281
|
-
*
|
|
115673
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
114282
115674
|
*/
|
|
114283
|
-
|
|
115675
|
+
401: EventsEventsProblem;
|
|
115676
|
+
/**
|
|
115677
|
+
* SUBSCRIPTION_NOT_FOUND means no live subscription with this id belongs to you; it was deleted, it expired, a once subscription fired, or it is someone else's. List subscriptions to find an id you can reach.
|
|
115678
|
+
*/
|
|
115679
|
+
404: EventsEventsProblem;
|
|
115680
|
+
/**
|
|
115681
|
+
* PROVIDER_UNAVAILABLE with retryable true means the event catalog or the inbox service cannot answer right now; wait a few seconds and repeat the same call.
|
|
115682
|
+
*/
|
|
115683
|
+
503: EventsEventsProblem;
|
|
114284
115684
|
};
|
|
114285
|
-
export type
|
|
114286
|
-
export type
|
|
114287
|
-
|
|
114288
|
-
|
|
115685
|
+
export type EventsDeleteSubscriptionError = EventsDeleteSubscriptionErrors[keyof EventsDeleteSubscriptionErrors];
|
|
115686
|
+
export type EventsDeleteSubscriptionResponses = {
|
|
115687
|
+
/**
|
|
115688
|
+
* The subscription is deleted; there is no body.
|
|
115689
|
+
*/
|
|
115690
|
+
204: void;
|
|
115691
|
+
};
|
|
115692
|
+
export type EventsDeleteSubscriptionResponse = EventsDeleteSubscriptionResponses[keyof EventsDeleteSubscriptionResponses];
|
|
115693
|
+
export type EventsRetrieveSubscriptionData = {
|
|
115694
|
+
body?: never;
|
|
115695
|
+
path: {
|
|
115696
|
+
/**
|
|
115697
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
115698
|
+
*/
|
|
115699
|
+
subscription_id: string;
|
|
115700
|
+
};
|
|
114289
115701
|
query?: never;
|
|
115702
|
+
url: '/events/v1/subscriptions/{subscription_id}';
|
|
115703
|
+
};
|
|
115704
|
+
export type EventsRetrieveSubscriptionErrors = {
|
|
115705
|
+
/**
|
|
115706
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
115707
|
+
*/
|
|
115708
|
+
401: EventsEventsProblem;
|
|
115709
|
+
/**
|
|
115710
|
+
* SUBSCRIPTION_NOT_FOUND means no live subscription with this id belongs to you; it was deleted, it expired, a once subscription fired, or it is someone else's. List subscriptions to find an id you can reach.
|
|
115711
|
+
*/
|
|
115712
|
+
404: EventsEventsProblem;
|
|
115713
|
+
/**
|
|
115714
|
+
* PROVIDER_UNAVAILABLE with retryable true means the event catalog or the inbox service cannot answer right now; wait a few seconds and repeat the same call.
|
|
115715
|
+
*/
|
|
115716
|
+
503: EventsEventsProblem;
|
|
115717
|
+
};
|
|
115718
|
+
export type EventsRetrieveSubscriptionError = EventsRetrieveSubscriptionErrors[keyof EventsRetrieveSubscriptionErrors];
|
|
115719
|
+
export type EventsRetrieveSubscriptionResponses = {
|
|
115720
|
+
/**
|
|
115721
|
+
* The subscription.
|
|
115722
|
+
*/
|
|
115723
|
+
200: EventsEventSubscription;
|
|
115724
|
+
};
|
|
115725
|
+
export type EventsRetrieveSubscriptionResponse = EventsRetrieveSubscriptionResponses[keyof EventsRetrieveSubscriptionResponses];
|
|
115726
|
+
export type KnowledgeListVectorStoresData = {
|
|
115727
|
+
body?: never;
|
|
115728
|
+
path?: never;
|
|
115729
|
+
query?: {
|
|
115730
|
+
/**
|
|
115731
|
+
* active selects active stores; deleting selects soft-deleted stores awaiting purge. Omission excludes soft-deleted stores.
|
|
115732
|
+
*/
|
|
115733
|
+
status?: 'active' | 'deleting';
|
|
115734
|
+
/**
|
|
115735
|
+
* Resource ID.
|
|
115736
|
+
*/
|
|
115737
|
+
after?: string;
|
|
115738
|
+
/**
|
|
115739
|
+
* Resource ID.
|
|
115740
|
+
*/
|
|
115741
|
+
before?: string;
|
|
115742
|
+
/**
|
|
115743
|
+
* Page size.
|
|
115744
|
+
*/
|
|
115745
|
+
limit?: number;
|
|
115746
|
+
/**
|
|
115747
|
+
* Order by creation time; defaults to desc for stores/files and asc by index for segments.
|
|
115748
|
+
*/
|
|
115749
|
+
order?: 'asc' | 'desc';
|
|
115750
|
+
};
|
|
114290
115751
|
url: '/knowledge/v1/vector_stores';
|
|
114291
115752
|
};
|
|
114292
|
-
export type
|
|
115753
|
+
export type KnowledgeListVectorStoresErrors = {
|
|
115754
|
+
/**
|
|
115755
|
+
* INVALID_PARAMS, LIMIT_EXCEEDED
|
|
115756
|
+
*/
|
|
115757
|
+
400: KnowledgeKnowledgeError;
|
|
115758
|
+
/**
|
|
115759
|
+
* UNAUTHENTICATED; gateway errors can omit details or return code=null.
|
|
115760
|
+
*/
|
|
115761
|
+
401: KnowledgeKnowledgeError;
|
|
115762
|
+
/**
|
|
115763
|
+
* VECTOR_STORE_NOT_FOUND, FILE_NOT_FOUND, FILE_NOT_IN_STORE, BATCH_NOT_FOUND, CHUNK_NOT_FOUND
|
|
115764
|
+
*/
|
|
115765
|
+
404: KnowledgeKnowledgeError;
|
|
115766
|
+
/**
|
|
115767
|
+
* VECTOR_STORE_INVALID_STATE, FILE_INVALID_STATE
|
|
115768
|
+
*/
|
|
115769
|
+
409: KnowledgeKnowledgeError;
|
|
115770
|
+
/**
|
|
115771
|
+
* PAYLOAD_TOO_LARGE; gateway errors can omit details or return code=null.
|
|
115772
|
+
*/
|
|
115773
|
+
413: KnowledgeKnowledgeError;
|
|
115774
|
+
/**
|
|
115775
|
+
* RATE_LIMITED
|
|
115776
|
+
*/
|
|
115777
|
+
429: KnowledgeKnowledgeError;
|
|
115778
|
+
/**
|
|
115779
|
+
* Internal error; code may be absent or null.
|
|
115780
|
+
*/
|
|
115781
|
+
500: KnowledgeTransportError;
|
|
115782
|
+
/**
|
|
115783
|
+
* NOT_IMPLEMENTED
|
|
115784
|
+
*/
|
|
115785
|
+
501: KnowledgeKnowledgeError;
|
|
115786
|
+
/**
|
|
115787
|
+
* PROVIDER_UNAVAILABLE
|
|
115788
|
+
*/
|
|
115789
|
+
503: KnowledgeKnowledgeError;
|
|
115790
|
+
};
|
|
115791
|
+
export type KnowledgeListVectorStoresError = KnowledgeListVectorStoresErrors[keyof KnowledgeListVectorStoresErrors];
|
|
115792
|
+
export type KnowledgeListVectorStoresResponses = {
|
|
115793
|
+
/**
|
|
115794
|
+
* Success
|
|
115795
|
+
*/
|
|
115796
|
+
200: KnowledgeNativeVectorStoreList;
|
|
115797
|
+
};
|
|
115798
|
+
export type KnowledgeListVectorStoresResponse = KnowledgeListVectorStoresResponses[keyof KnowledgeListVectorStoresResponses];
|
|
115799
|
+
export type KnowledgeCreateVectorStoreData = {
|
|
115800
|
+
body: KnowledgeNativeCreateVectorStore;
|
|
115801
|
+
path?: never;
|
|
115802
|
+
query?: never;
|
|
115803
|
+
url: '/knowledge/v1/vector_stores';
|
|
115804
|
+
};
|
|
115805
|
+
export type KnowledgeCreateVectorStoreErrors = {
|
|
114293
115806
|
/**
|
|
114294
115807
|
* INVALID_PARAMS, LIMIT_EXCEEDED
|
|
114295
115808
|
*/
|
|
@@ -119165,45 +120678,509 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
119165
120678
|
*/
|
|
119166
120679
|
503: MediaMediaError;
|
|
119167
120680
|
};
|
|
119168
|
-
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
119169
|
-
export type MediaListUnderstandingsByLibraryResponses = {
|
|
120681
|
+
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
120682
|
+
export type MediaListUnderstandingsByLibraryResponses = {
|
|
120683
|
+
/**
|
|
120684
|
+
* Successful response.
|
|
120685
|
+
*/
|
|
120686
|
+
200: MediaUnderstandingPage;
|
|
120687
|
+
};
|
|
120688
|
+
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
120689
|
+
export type MediaListJobsData = {
|
|
120690
|
+
body?: never;
|
|
120691
|
+
path: {
|
|
120692
|
+
/**
|
|
120693
|
+
* Library ID returned by creation.
|
|
120694
|
+
*/
|
|
120695
|
+
library_id: string;
|
|
120696
|
+
};
|
|
120697
|
+
query?: {
|
|
120698
|
+
/**
|
|
120699
|
+
* Filter jobs by their current status.
|
|
120700
|
+
*/
|
|
120701
|
+
status?: MediaJobStatus;
|
|
120702
|
+
/**
|
|
120703
|
+
* Return only the jobs started by this automation run (its root run), so one pipeline run reads as one batch.
|
|
120704
|
+
*/
|
|
120705
|
+
pipeline_run_id?: string;
|
|
120706
|
+
/**
|
|
120707
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
120708
|
+
*/
|
|
120709
|
+
limit?: number;
|
|
120710
|
+
/**
|
|
120711
|
+
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
120712
|
+
*/
|
|
120713
|
+
cursor?: MediaJobId;
|
|
120714
|
+
};
|
|
120715
|
+
url: '/media/v1/libraries/{library_id}/jobs';
|
|
120716
|
+
};
|
|
120717
|
+
export type MediaListJobsErrors = {
|
|
120718
|
+
/**
|
|
120719
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120720
|
+
*/
|
|
120721
|
+
400: MediaMediaError;
|
|
120722
|
+
/**
|
|
120723
|
+
* Request failed; see the error code reference.
|
|
120724
|
+
*/
|
|
120725
|
+
402: MediaMediaError;
|
|
120726
|
+
/**
|
|
120727
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120728
|
+
*/
|
|
120729
|
+
403: MediaMediaError;
|
|
120730
|
+
/**
|
|
120731
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120732
|
+
*/
|
|
120733
|
+
404: MediaMediaError;
|
|
120734
|
+
/**
|
|
120735
|
+
* Request failed; see the error code reference.
|
|
120736
|
+
*/
|
|
120737
|
+
409: MediaMediaError;
|
|
120738
|
+
/**
|
|
120739
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120740
|
+
*/
|
|
120741
|
+
413: MediaMediaError;
|
|
120742
|
+
/**
|
|
120743
|
+
* This media format is unsupported; provide a supported format.
|
|
120744
|
+
*/
|
|
120745
|
+
415: MediaMediaError;
|
|
120746
|
+
/**
|
|
120747
|
+
* Request failed; see the error code reference.
|
|
120748
|
+
*/
|
|
120749
|
+
422: MediaMediaError;
|
|
120750
|
+
/**
|
|
120751
|
+
* A rate limit was reached; wait before retrying.
|
|
120752
|
+
*/
|
|
120753
|
+
429: MediaMediaError;
|
|
120754
|
+
/**
|
|
120755
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120756
|
+
*/
|
|
120757
|
+
501: MediaMediaError;
|
|
120758
|
+
/**
|
|
120759
|
+
* Request failed; see the error code reference.
|
|
120760
|
+
*/
|
|
120761
|
+
502: MediaMediaError;
|
|
120762
|
+
/**
|
|
120763
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120764
|
+
*/
|
|
120765
|
+
503: MediaMediaError;
|
|
120766
|
+
};
|
|
120767
|
+
export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
|
|
120768
|
+
export type MediaListJobsResponses = {
|
|
120769
|
+
/**
|
|
120770
|
+
* Successful response.
|
|
120771
|
+
*/
|
|
120772
|
+
200: MediaJobPage;
|
|
120773
|
+
};
|
|
120774
|
+
export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
|
|
120775
|
+
export type MediaCancelJobData = {
|
|
120776
|
+
body?: never;
|
|
120777
|
+
path: {
|
|
120778
|
+
/**
|
|
120779
|
+
* Library ID returned by creation.
|
|
120780
|
+
*/
|
|
120781
|
+
library_id: string;
|
|
120782
|
+
/**
|
|
120783
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
120784
|
+
*/
|
|
120785
|
+
job_id: string;
|
|
120786
|
+
};
|
|
120787
|
+
query?: never;
|
|
120788
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
|
|
120789
|
+
};
|
|
120790
|
+
export type MediaCancelJobErrors = {
|
|
120791
|
+
/**
|
|
120792
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120793
|
+
*/
|
|
120794
|
+
400: MediaMediaError;
|
|
120795
|
+
/**
|
|
120796
|
+
* Request failed; see the error code reference.
|
|
120797
|
+
*/
|
|
120798
|
+
402: MediaMediaError;
|
|
120799
|
+
/**
|
|
120800
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120801
|
+
*/
|
|
120802
|
+
403: MediaMediaError;
|
|
120803
|
+
/**
|
|
120804
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120805
|
+
*/
|
|
120806
|
+
404: MediaMediaError;
|
|
120807
|
+
/**
|
|
120808
|
+
* Request failed; see the error code reference.
|
|
120809
|
+
*/
|
|
120810
|
+
409: MediaMediaError;
|
|
120811
|
+
/**
|
|
120812
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120813
|
+
*/
|
|
120814
|
+
413: MediaMediaError;
|
|
120815
|
+
/**
|
|
120816
|
+
* This media format is unsupported; provide a supported format.
|
|
120817
|
+
*/
|
|
120818
|
+
415: MediaMediaError;
|
|
120819
|
+
/**
|
|
120820
|
+
* Request failed; see the error code reference.
|
|
120821
|
+
*/
|
|
120822
|
+
422: MediaMediaError;
|
|
120823
|
+
/**
|
|
120824
|
+
* A rate limit was reached; wait before retrying.
|
|
120825
|
+
*/
|
|
120826
|
+
429: MediaMediaError;
|
|
120827
|
+
/**
|
|
120828
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120829
|
+
*/
|
|
120830
|
+
501: MediaMediaError;
|
|
120831
|
+
/**
|
|
120832
|
+
* Request failed; see the error code reference.
|
|
120833
|
+
*/
|
|
120834
|
+
502: MediaMediaError;
|
|
120835
|
+
/**
|
|
120836
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120837
|
+
*/
|
|
120838
|
+
503: MediaMediaError;
|
|
120839
|
+
};
|
|
120840
|
+
export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
|
|
120841
|
+
export type MediaCancelJobResponses = {
|
|
120842
|
+
/**
|
|
120843
|
+
* Successful response.
|
|
120844
|
+
*/
|
|
120845
|
+
200: MediaJob;
|
|
120846
|
+
};
|
|
120847
|
+
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
120848
|
+
export type MediaGetGenerationCapabilitiesData = {
|
|
120849
|
+
body?: never;
|
|
120850
|
+
path?: never;
|
|
120851
|
+
query?: never;
|
|
120852
|
+
url: '/media/v1/generation/capabilities';
|
|
120853
|
+
};
|
|
120854
|
+
export type MediaGetGenerationCapabilitiesErrors = {
|
|
120855
|
+
/**
|
|
120856
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
120857
|
+
*/
|
|
120858
|
+
400: MediaMediaError;
|
|
120859
|
+
/**
|
|
120860
|
+
* Request failed; see the error code reference.
|
|
120861
|
+
*/
|
|
120862
|
+
402: MediaMediaError;
|
|
120863
|
+
/**
|
|
120864
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120865
|
+
*/
|
|
120866
|
+
403: MediaMediaError;
|
|
120867
|
+
/**
|
|
120868
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
120869
|
+
*/
|
|
120870
|
+
404: MediaMediaError;
|
|
120871
|
+
/**
|
|
120872
|
+
* Request failed; see the error code reference.
|
|
120873
|
+
*/
|
|
120874
|
+
409: MediaMediaError;
|
|
120875
|
+
/**
|
|
120876
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120877
|
+
*/
|
|
120878
|
+
413: MediaMediaError;
|
|
120879
|
+
/**
|
|
120880
|
+
* This media format is unsupported; provide a supported format.
|
|
120881
|
+
*/
|
|
120882
|
+
415: MediaMediaError;
|
|
120883
|
+
/**
|
|
120884
|
+
* Request failed; see the error code reference.
|
|
120885
|
+
*/
|
|
120886
|
+
422: MediaMediaError;
|
|
120887
|
+
/**
|
|
120888
|
+
* A rate limit was reached; wait before retrying.
|
|
120889
|
+
*/
|
|
120890
|
+
429: MediaMediaError;
|
|
120891
|
+
/**
|
|
120892
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120893
|
+
*/
|
|
120894
|
+
501: MediaMediaError;
|
|
120895
|
+
/**
|
|
120896
|
+
* Request failed; see the error code reference.
|
|
120897
|
+
*/
|
|
120898
|
+
502: MediaMediaError;
|
|
120899
|
+
/**
|
|
120900
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120901
|
+
*/
|
|
120902
|
+
503: MediaMediaError;
|
|
120903
|
+
};
|
|
120904
|
+
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
120905
|
+
export type MediaGetGenerationCapabilitiesResponses = {
|
|
120906
|
+
/**
|
|
120907
|
+
* Successful response.
|
|
120908
|
+
*/
|
|
120909
|
+
200: MediaGenerationCapabilities;
|
|
120910
|
+
};
|
|
120911
|
+
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
120912
|
+
export type MediaAlignAssetData = {
|
|
120913
|
+
/**
|
|
120914
|
+
* Align two recordings by their sound. The route names the source asset; this body names the reference to align against it. The result is an analysis, not a new asset: nothing is stored, the source is never changed, and the completed job carries the answer in result.
|
|
120915
|
+
*/
|
|
120916
|
+
body: {
|
|
120917
|
+
/**
|
|
120918
|
+
* Asset to align against the one the route names. It must be an audio or video asset of the same library, otherwise the request is refused with REFERENCE_TYPE_MISMATCH before a job exists.
|
|
120919
|
+
*/
|
|
120920
|
+
reference_asset_id: string;
|
|
120921
|
+
/**
|
|
120922
|
+
* Largest offset to search for, in seconds; omit it to let the model search its full range. Zero and negative values are refused with INVALID_PARAMS.
|
|
120923
|
+
*/
|
|
120924
|
+
max_offset_seconds?: number;
|
|
120925
|
+
/**
|
|
120926
|
+
* Stable key so a retried request reuses the same job instead of analysing and charging again; reusing it with different content is rejected.
|
|
120927
|
+
*/
|
|
120928
|
+
idempotency_key?: string;
|
|
120929
|
+
};
|
|
120930
|
+
headers?: {
|
|
120931
|
+
/**
|
|
120932
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
120933
|
+
*/
|
|
120934
|
+
'Idempotency-Key'?: string;
|
|
120935
|
+
};
|
|
120936
|
+
path: {
|
|
120937
|
+
/**
|
|
120938
|
+
* Library ID returned by creation.
|
|
120939
|
+
*/
|
|
120940
|
+
library_id: string;
|
|
120941
|
+
/**
|
|
120942
|
+
* 32-character asset ID.
|
|
120943
|
+
*/
|
|
120944
|
+
asset_id: string;
|
|
120945
|
+
};
|
|
120946
|
+
query?: never;
|
|
120947
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/align';
|
|
120948
|
+
};
|
|
120949
|
+
export type MediaAlignAssetErrors = {
|
|
120950
|
+
/**
|
|
120951
|
+
* REFERENCE_TYPE_MISMATCH: the source asset or the reference asset is not an audio or video asset; both must be one of the two. INVALID_PARAMS: reference_asset_id is missing, max_offset_seconds is zero or negative, or the request names an alignment model the generation capabilities do not offer. OPERATION_NOT_SUPPORTED: the platform has published no alignment model, so the request is refused with the model field named. Correct the reported field; nothing was analysed and nothing was charged.
|
|
120952
|
+
*/
|
|
120953
|
+
400: MediaMediaError;
|
|
120954
|
+
/**
|
|
120955
|
+
* INSUFFICIENT_BALANCE: the organization balance cannot cover the estimated cost of this generation or edit; top up and resubmit. Nothing was generated and nothing was charged for this request.
|
|
120956
|
+
*/
|
|
120957
|
+
402: MediaMediaError;
|
|
120958
|
+
/**
|
|
120959
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
120960
|
+
*/
|
|
120961
|
+
403: MediaMediaError;
|
|
120962
|
+
/**
|
|
120963
|
+
* ASSET_NOT_FOUND: the source or the reference asset is missing, deleted or belongs to another library, or the addressed library was not found; verify the identifiers with libraries and assets. A reference asset that cannot be reached answers the same way, never as a hint that it exists elsewhere.
|
|
120964
|
+
*/
|
|
120965
|
+
404: MediaMediaError;
|
|
120966
|
+
/**
|
|
120967
|
+
* MODEL_PENDING or JOB_INVALID_STATE: the chosen model is not ready for this library, or the job cannot start from its current state; wait for the model to become available, or start a new job rather than resuming this one.
|
|
120968
|
+
*/
|
|
120969
|
+
409: MediaMediaError;
|
|
120970
|
+
/**
|
|
120971
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
120972
|
+
*/
|
|
120973
|
+
413: MediaMediaError;
|
|
120974
|
+
/**
|
|
120975
|
+
* This media format is unsupported; provide a supported format.
|
|
120976
|
+
*/
|
|
120977
|
+
415: MediaMediaError;
|
|
120978
|
+
/**
|
|
120979
|
+
* CONTENT_REJECTED: the provider refused the prompt or the source image under its content policy; change the prompt or the source before retrying. Nothing was generated and nothing was charged.
|
|
120980
|
+
*/
|
|
120981
|
+
422: MediaMediaError;
|
|
120982
|
+
/**
|
|
120983
|
+
* RATE_LIMITED: this library already has its maximum number of running jobs of this type and 50 more waiting, or the provider is throttling requests; Retry-After gives the seconds to wait before retrying. Below that a job past the running limit is accepted and waits (queue_reason concurrency) instead of being refused.
|
|
120984
|
+
*/
|
|
120985
|
+
429: MediaMediaError;
|
|
120986
|
+
/**
|
|
120987
|
+
* The requested operation is unsupported; choose a supported method.
|
|
120988
|
+
*/
|
|
120989
|
+
501: MediaMediaError;
|
|
120990
|
+
/**
|
|
120991
|
+
* Request failed; see the error code reference.
|
|
120992
|
+
*/
|
|
120993
|
+
502: MediaMediaError;
|
|
120994
|
+
/**
|
|
120995
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
120996
|
+
*/
|
|
120997
|
+
503: MediaMediaError;
|
|
120998
|
+
};
|
|
120999
|
+
export type MediaAlignAssetError = MediaAlignAssetErrors[keyof MediaAlignAssetErrors];
|
|
121000
|
+
export type MediaAlignAssetResponses = {
|
|
121001
|
+
/**
|
|
121002
|
+
* The alignment job is queued. Poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed; a completed job carries the answer in result as offset_seconds and confidence, so a caller holding both recordings knows which one to slide. No asset is stored and nothing is overwritten. An alignment with the same source, reference and params answers the job already completed instead of analysing and charging again.
|
|
121003
|
+
*/
|
|
121004
|
+
202: MediaJob;
|
|
121005
|
+
};
|
|
121006
|
+
export type MediaAlignAssetResponse = MediaAlignAssetResponses[keyof MediaAlignAssetResponses];
|
|
121007
|
+
export type MediaGetHlsRenditionsData = {
|
|
121008
|
+
body?: never;
|
|
121009
|
+
path: {
|
|
121010
|
+
/**
|
|
121011
|
+
* Library ID returned by creation.
|
|
121012
|
+
*/
|
|
121013
|
+
library_id: string;
|
|
121014
|
+
/**
|
|
121015
|
+
* 32-character asset ID.
|
|
121016
|
+
*/
|
|
121017
|
+
asset_id: string;
|
|
121018
|
+
};
|
|
121019
|
+
query?: never;
|
|
121020
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
121021
|
+
};
|
|
121022
|
+
export type MediaGetHlsRenditionsErrors = {
|
|
121023
|
+
/**
|
|
121024
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
121025
|
+
*/
|
|
121026
|
+
400: MediaMediaError;
|
|
121027
|
+
/**
|
|
121028
|
+
* Request failed; see the error code reference.
|
|
121029
|
+
*/
|
|
121030
|
+
402: MediaMediaError;
|
|
121031
|
+
/**
|
|
121032
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
121033
|
+
*/
|
|
121034
|
+
403: MediaMediaError;
|
|
121035
|
+
/**
|
|
121036
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
121037
|
+
*/
|
|
121038
|
+
404: MediaMediaError;
|
|
121039
|
+
/**
|
|
121040
|
+
* Request failed; see the error code reference.
|
|
121041
|
+
*/
|
|
121042
|
+
409: MediaMediaError;
|
|
121043
|
+
/**
|
|
121044
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
121045
|
+
*/
|
|
121046
|
+
413: MediaMediaError;
|
|
121047
|
+
/**
|
|
121048
|
+
* This media format is unsupported; provide a supported format.
|
|
121049
|
+
*/
|
|
121050
|
+
415: MediaMediaError;
|
|
121051
|
+
/**
|
|
121052
|
+
* Request failed; see the error code reference.
|
|
121053
|
+
*/
|
|
121054
|
+
422: MediaMediaError;
|
|
121055
|
+
/**
|
|
121056
|
+
* A rate limit was reached; wait before retrying.
|
|
121057
|
+
*/
|
|
121058
|
+
429: MediaMediaError;
|
|
121059
|
+
/**
|
|
121060
|
+
* The requested operation is unsupported; choose a supported method.
|
|
121061
|
+
*/
|
|
121062
|
+
501: MediaMediaError;
|
|
121063
|
+
/**
|
|
121064
|
+
* Request failed; see the error code reference.
|
|
121065
|
+
*/
|
|
121066
|
+
502: MediaMediaError;
|
|
121067
|
+
/**
|
|
121068
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
121069
|
+
*/
|
|
121070
|
+
503: MediaMediaError;
|
|
121071
|
+
};
|
|
121072
|
+
export type MediaGetHlsRenditionsError = MediaGetHlsRenditionsErrors[keyof MediaGetHlsRenditionsErrors];
|
|
121073
|
+
export type MediaGetHlsRenditionsResponses = {
|
|
121074
|
+
/**
|
|
121075
|
+
* Successful response.
|
|
121076
|
+
*/
|
|
121077
|
+
200: MediaHlsLadder;
|
|
121078
|
+
};
|
|
121079
|
+
export type MediaGetHlsRenditionsResponse = MediaGetHlsRenditionsResponses[keyof MediaGetHlsRenditionsResponses];
|
|
121080
|
+
export type MediaRequestHlsRenditionsData = {
|
|
121081
|
+
/**
|
|
121082
|
+
* Which clarity rungs to build for the asset. Omit heights to build the whole ladder.
|
|
121083
|
+
*/
|
|
121084
|
+
body: {
|
|
121085
|
+
/**
|
|
121086
|
+
* The clarity rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats. Omitted or empty builds all three. The ladder never upscales, so a rung above the source’s short side is dropped.
|
|
121087
|
+
*/
|
|
121088
|
+
heights?: Array<480 | 720 | 1080>;
|
|
121089
|
+
};
|
|
121090
|
+
path: {
|
|
121091
|
+
/**
|
|
121092
|
+
* Library ID returned by creation.
|
|
121093
|
+
*/
|
|
121094
|
+
library_id: string;
|
|
121095
|
+
/**
|
|
121096
|
+
* 32-character asset ID.
|
|
121097
|
+
*/
|
|
121098
|
+
asset_id: string;
|
|
121099
|
+
};
|
|
121100
|
+
query?: never;
|
|
121101
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/hls';
|
|
121102
|
+
};
|
|
121103
|
+
export type MediaRequestHlsRenditionsErrors = {
|
|
121104
|
+
/**
|
|
121105
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
121106
|
+
*/
|
|
121107
|
+
400: MediaMediaError;
|
|
121108
|
+
/**
|
|
121109
|
+
* Request failed; see the error code reference.
|
|
121110
|
+
*/
|
|
121111
|
+
402: MediaMediaError;
|
|
121112
|
+
/**
|
|
121113
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
121114
|
+
*/
|
|
121115
|
+
403: MediaMediaError;
|
|
121116
|
+
/**
|
|
121117
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
121118
|
+
*/
|
|
121119
|
+
404: MediaMediaError;
|
|
121120
|
+
/**
|
|
121121
|
+
* Request failed; see the error code reference.
|
|
121122
|
+
*/
|
|
121123
|
+
409: MediaMediaError;
|
|
121124
|
+
/**
|
|
121125
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
121126
|
+
*/
|
|
121127
|
+
413: MediaMediaError;
|
|
121128
|
+
/**
|
|
121129
|
+
* This media format is unsupported; provide a supported format.
|
|
121130
|
+
*/
|
|
121131
|
+
415: MediaMediaError;
|
|
121132
|
+
/**
|
|
121133
|
+
* Request failed; see the error code reference.
|
|
121134
|
+
*/
|
|
121135
|
+
422: MediaMediaError;
|
|
121136
|
+
/**
|
|
121137
|
+
* A rate limit was reached; wait before retrying.
|
|
121138
|
+
*/
|
|
121139
|
+
429: MediaMediaError;
|
|
121140
|
+
/**
|
|
121141
|
+
* The requested operation is unsupported; choose a supported method.
|
|
121142
|
+
*/
|
|
121143
|
+
501: MediaMediaError;
|
|
121144
|
+
/**
|
|
121145
|
+
* Request failed; see the error code reference.
|
|
121146
|
+
*/
|
|
121147
|
+
502: MediaMediaError;
|
|
121148
|
+
/**
|
|
121149
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
121150
|
+
*/
|
|
121151
|
+
503: MediaMediaError;
|
|
121152
|
+
};
|
|
121153
|
+
export type MediaRequestHlsRenditionsError = MediaRequestHlsRenditionsErrors[keyof MediaRequestHlsRenditionsErrors];
|
|
121154
|
+
export type MediaRequestHlsRenditionsResponses = {
|
|
119170
121155
|
/**
|
|
119171
121156
|
* Successful response.
|
|
119172
121157
|
*/
|
|
119173
|
-
|
|
121158
|
+
202: MediaHlsLadder;
|
|
119174
121159
|
};
|
|
119175
|
-
export type
|
|
119176
|
-
export type
|
|
119177
|
-
|
|
119178
|
-
|
|
121160
|
+
export type MediaRequestHlsRenditionsResponse = MediaRequestHlsRenditionsResponses[keyof MediaRequestHlsRenditionsResponses];
|
|
121161
|
+
export type MediaCreateVoiceData = {
|
|
121162
|
+
/**
|
|
121163
|
+
* Exactly one of the two voice shapes: consent_id with samples (a consented voice) or design_asset_id (a generated voice).
|
|
121164
|
+
*/
|
|
121165
|
+
body: MediaVoiceCloneInput | MediaVoiceDesignCreateInput;
|
|
121166
|
+
headers?: {
|
|
119179
121167
|
/**
|
|
119180
|
-
*
|
|
121168
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
119181
121169
|
*/
|
|
119182
|
-
|
|
121170
|
+
'Idempotency-Key'?: string;
|
|
119183
121171
|
};
|
|
119184
|
-
|
|
119185
|
-
/**
|
|
119186
|
-
* Filter jobs by their current status.
|
|
119187
|
-
*/
|
|
119188
|
-
status?: MediaJobStatus;
|
|
119189
|
-
/**
|
|
119190
|
-
* Return only the jobs started by this automation run (its root run), so one pipeline run reads as one batch.
|
|
119191
|
-
*/
|
|
119192
|
-
pipeline_run_id?: string;
|
|
119193
|
-
/**
|
|
119194
|
-
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
119195
|
-
*/
|
|
119196
|
-
limit?: number;
|
|
121172
|
+
path: {
|
|
119197
121173
|
/**
|
|
119198
|
-
*
|
|
121174
|
+
* Library ID returned by creation.
|
|
119199
121175
|
*/
|
|
119200
|
-
|
|
121176
|
+
library_id: string;
|
|
119201
121177
|
};
|
|
119202
|
-
|
|
121178
|
+
query?: never;
|
|
121179
|
+
url: '/media/v1/libraries/{library_id}/voices';
|
|
119203
121180
|
};
|
|
119204
|
-
export type
|
|
121181
|
+
export type MediaCreateVoiceErrors = {
|
|
119205
121182
|
/**
|
|
119206
|
-
*
|
|
121183
|
+
* Request failed; see the error code reference.
|
|
119207
121184
|
*/
|
|
119208
121185
|
400: MediaMediaError;
|
|
119209
121186
|
/**
|
|
@@ -119211,11 +121188,11 @@ export type MediaListJobsErrors = {
|
|
|
119211
121188
|
*/
|
|
119212
121189
|
402: MediaMediaError;
|
|
119213
121190
|
/**
|
|
119214
|
-
*
|
|
121191
|
+
* Request failed; see the error code reference.
|
|
119215
121192
|
*/
|
|
119216
121193
|
403: MediaMediaError;
|
|
119217
121194
|
/**
|
|
119218
|
-
*
|
|
121195
|
+
* Request failed; see the error code reference.
|
|
119219
121196
|
*/
|
|
119220
121197
|
404: MediaMediaError;
|
|
119221
121198
|
/**
|
|
@@ -119223,11 +121200,11 @@ export type MediaListJobsErrors = {
|
|
|
119223
121200
|
*/
|
|
119224
121201
|
409: MediaMediaError;
|
|
119225
121202
|
/**
|
|
119226
|
-
*
|
|
121203
|
+
* Request failed; see the error code reference.
|
|
119227
121204
|
*/
|
|
119228
121205
|
413: MediaMediaError;
|
|
119229
121206
|
/**
|
|
119230
|
-
*
|
|
121207
|
+
* Request failed; see the error code reference.
|
|
119231
121208
|
*/
|
|
119232
121209
|
415: MediaMediaError;
|
|
119233
121210
|
/**
|
|
@@ -119235,11 +121212,11 @@ export type MediaListJobsErrors = {
|
|
|
119235
121212
|
*/
|
|
119236
121213
|
422: MediaMediaError;
|
|
119237
121214
|
/**
|
|
119238
|
-
*
|
|
121215
|
+
* Request failed; see the error code reference.
|
|
119239
121216
|
*/
|
|
119240
121217
|
429: MediaMediaError;
|
|
119241
121218
|
/**
|
|
119242
|
-
*
|
|
121219
|
+
* Request failed; see the error code reference.
|
|
119243
121220
|
*/
|
|
119244
121221
|
501: MediaMediaError;
|
|
119245
121222
|
/**
|
|
@@ -119247,36 +121224,58 @@ export type MediaListJobsErrors = {
|
|
|
119247
121224
|
*/
|
|
119248
121225
|
502: MediaMediaError;
|
|
119249
121226
|
/**
|
|
119250
|
-
*
|
|
121227
|
+
* Request failed; see the error code reference.
|
|
119251
121228
|
*/
|
|
119252
121229
|
503: MediaMediaError;
|
|
119253
121230
|
};
|
|
119254
|
-
export type
|
|
119255
|
-
export type
|
|
121231
|
+
export type MediaCreateVoiceError = MediaCreateVoiceErrors[keyof MediaCreateVoiceErrors];
|
|
121232
|
+
export type MediaCreateVoiceResponses = {
|
|
119256
121233
|
/**
|
|
119257
121234
|
* Successful response.
|
|
119258
121235
|
*/
|
|
119259
|
-
|
|
121236
|
+
202: MediaJob;
|
|
119260
121237
|
};
|
|
119261
|
-
export type
|
|
119262
|
-
export type
|
|
119263
|
-
|
|
121238
|
+
export type MediaCreateVoiceResponse = MediaCreateVoiceResponses[keyof MediaCreateVoiceResponses];
|
|
121239
|
+
export type MediaDesignVoiceData = {
|
|
121240
|
+
/**
|
|
121241
|
+
* One voice-design run: what the voice should sound like and the line the previews speak.
|
|
121242
|
+
*/
|
|
121243
|
+
body: {
|
|
121244
|
+
/**
|
|
121245
|
+
* Text description of the voice to design, 1 to 500 characters. The model makes every preview from it; a description that fails review answers CONTENT_REJECTED.
|
|
121246
|
+
*/
|
|
121247
|
+
description: string;
|
|
121248
|
+
/**
|
|
121249
|
+
* Line each preview speaks, 15 to 200 characters: long enough to hear the voice, short enough for one model call.
|
|
121250
|
+
*/
|
|
121251
|
+
preview_text: string;
|
|
121252
|
+
/**
|
|
121253
|
+
* Language the previews speak: zh or en only.
|
|
121254
|
+
*/
|
|
121255
|
+
language: 'zh' | 'en';
|
|
121256
|
+
/**
|
|
121257
|
+
* How many preview recordings to design, 1 to 3; defaults to 3. Each one is stored as an audio asset.
|
|
121258
|
+
*/
|
|
121259
|
+
count?: number;
|
|
121260
|
+
};
|
|
121261
|
+
headers?: {
|
|
121262
|
+
/**
|
|
121263
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected. Send it here or as idempotency_key in the body, never both with different values.
|
|
121264
|
+
*/
|
|
121265
|
+
'Idempotency-Key'?: string;
|
|
121266
|
+
};
|
|
119264
121267
|
path: {
|
|
119265
121268
|
/**
|
|
119266
121269
|
* Library ID returned by creation.
|
|
119267
121270
|
*/
|
|
119268
121271
|
library_id: string;
|
|
119269
|
-
/**
|
|
119270
|
-
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
119271
|
-
*/
|
|
119272
|
-
job_id: string;
|
|
119273
121272
|
};
|
|
119274
121273
|
query?: never;
|
|
119275
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121274
|
+
url: '/media/v1/libraries/{library_id}/voices/designs';
|
|
119276
121275
|
};
|
|
119277
|
-
export type
|
|
121276
|
+
export type MediaDesignVoiceErrors = {
|
|
119278
121277
|
/**
|
|
119279
|
-
*
|
|
121278
|
+
* Request failed; see the error code reference.
|
|
119280
121279
|
*/
|
|
119281
121280
|
400: MediaMediaError;
|
|
119282
121281
|
/**
|
|
@@ -119284,11 +121283,11 @@ export type MediaCancelJobErrors = {
|
|
|
119284
121283
|
*/
|
|
119285
121284
|
402: MediaMediaError;
|
|
119286
121285
|
/**
|
|
119287
|
-
*
|
|
121286
|
+
* Request failed; see the error code reference.
|
|
119288
121287
|
*/
|
|
119289
121288
|
403: MediaMediaError;
|
|
119290
121289
|
/**
|
|
119291
|
-
*
|
|
121290
|
+
* Request failed; see the error code reference.
|
|
119292
121291
|
*/
|
|
119293
121292
|
404: MediaMediaError;
|
|
119294
121293
|
/**
|
|
@@ -119296,11 +121295,11 @@ export type MediaCancelJobErrors = {
|
|
|
119296
121295
|
*/
|
|
119297
121296
|
409: MediaMediaError;
|
|
119298
121297
|
/**
|
|
119299
|
-
*
|
|
121298
|
+
* Request failed; see the error code reference.
|
|
119300
121299
|
*/
|
|
119301
121300
|
413: MediaMediaError;
|
|
119302
121301
|
/**
|
|
119303
|
-
*
|
|
121302
|
+
* Request failed; see the error code reference.
|
|
119304
121303
|
*/
|
|
119305
121304
|
415: MediaMediaError;
|
|
119306
121305
|
/**
|
|
@@ -119308,11 +121307,11 @@ export type MediaCancelJobErrors = {
|
|
|
119308
121307
|
*/
|
|
119309
121308
|
422: MediaMediaError;
|
|
119310
121309
|
/**
|
|
119311
|
-
*
|
|
121310
|
+
* Request failed; see the error code reference.
|
|
119312
121311
|
*/
|
|
119313
121312
|
429: MediaMediaError;
|
|
119314
121313
|
/**
|
|
119315
|
-
*
|
|
121314
|
+
* Request failed; see the error code reference.
|
|
119316
121315
|
*/
|
|
119317
121316
|
501: MediaMediaError;
|
|
119318
121317
|
/**
|
|
@@ -119320,25 +121319,51 @@ export type MediaCancelJobErrors = {
|
|
|
119320
121319
|
*/
|
|
119321
121320
|
502: MediaMediaError;
|
|
119322
121321
|
/**
|
|
119323
|
-
*
|
|
121322
|
+
* Request failed; see the error code reference.
|
|
119324
121323
|
*/
|
|
119325
121324
|
503: MediaMediaError;
|
|
119326
121325
|
};
|
|
119327
|
-
export type
|
|
119328
|
-
export type
|
|
121326
|
+
export type MediaDesignVoiceError = MediaDesignVoiceErrors[keyof MediaDesignVoiceErrors];
|
|
121327
|
+
export type MediaDesignVoiceResponses = {
|
|
119329
121328
|
/**
|
|
119330
121329
|
* Successful response.
|
|
119331
121330
|
*/
|
|
119332
|
-
|
|
121331
|
+
202: MediaJob;
|
|
119333
121332
|
};
|
|
119334
|
-
export type
|
|
119335
|
-
export type
|
|
121333
|
+
export type MediaDesignVoiceResponse = MediaDesignVoiceResponses[keyof MediaDesignVoiceResponses];
|
|
121334
|
+
export type MediaListWorksData = {
|
|
119336
121335
|
body?: never;
|
|
119337
|
-
path
|
|
119338
|
-
|
|
119339
|
-
|
|
121336
|
+
path: {
|
|
121337
|
+
/**
|
|
121338
|
+
* Library ID returned by creation.
|
|
121339
|
+
*/
|
|
121340
|
+
library_id: string;
|
|
121341
|
+
};
|
|
121342
|
+
query?: {
|
|
121343
|
+
/**
|
|
121344
|
+
* Only works of this kind: gallery, article, product_listing or blocks.
|
|
121345
|
+
*/
|
|
121346
|
+
kind?: 'gallery' | 'article' | 'product_listing' | 'blocks';
|
|
121347
|
+
/**
|
|
121348
|
+
* Only works of this series.
|
|
121349
|
+
*/
|
|
121350
|
+
series?: string;
|
|
121351
|
+
/**
|
|
121352
|
+
* Only works whose title contains this text, at most 100 characters.
|
|
121353
|
+
*/
|
|
121354
|
+
q?: string;
|
|
121355
|
+
/**
|
|
121356
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
121357
|
+
*/
|
|
121358
|
+
limit?: number;
|
|
121359
|
+
/**
|
|
121360
|
+
* Cursor from the previous next_cursor.
|
|
121361
|
+
*/
|
|
121362
|
+
cursor?: string;
|
|
121363
|
+
};
|
|
121364
|
+
url: '/media/v1/libraries/{library_id}/works';
|
|
119340
121365
|
};
|
|
119341
|
-
export type
|
|
121366
|
+
export type MediaListWorksErrors = {
|
|
119342
121367
|
/**
|
|
119343
121368
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119344
121369
|
*/
|
|
@@ -119388,58 +121413,52 @@ export type MediaGetGenerationCapabilitiesErrors = {
|
|
|
119388
121413
|
*/
|
|
119389
121414
|
503: MediaMediaError;
|
|
119390
121415
|
};
|
|
119391
|
-
export type
|
|
119392
|
-
export type
|
|
121416
|
+
export type MediaListWorksError = MediaListWorksErrors[keyof MediaListWorksErrors];
|
|
121417
|
+
export type MediaListWorksResponses = {
|
|
119393
121418
|
/**
|
|
119394
121419
|
* Successful response.
|
|
119395
121420
|
*/
|
|
119396
|
-
200:
|
|
121421
|
+
200: MediaWorkPage;
|
|
119397
121422
|
};
|
|
119398
|
-
export type
|
|
119399
|
-
export type
|
|
121423
|
+
export type MediaListWorksResponse = MediaListWorksResponses[keyof MediaListWorksResponses];
|
|
121424
|
+
export type MediaCreateWorkData = {
|
|
119400
121425
|
/**
|
|
119401
|
-
*
|
|
121426
|
+
* A new work: its kind and its whole body, with an optional series and custom fields.
|
|
119402
121427
|
*/
|
|
119403
121428
|
body: {
|
|
119404
121429
|
/**
|
|
119405
|
-
*
|
|
121430
|
+
* The work’s kind; it decides which body fields are accepted.
|
|
119406
121431
|
*/
|
|
119407
|
-
|
|
121432
|
+
kind: MediaWorkKind;
|
|
119408
121433
|
/**
|
|
119409
|
-
*
|
|
121434
|
+
* The kind’s body. Every asset it names must be a live asset of this library of the fitting type, or the request is refused with ASSET_NOT_FOUND or REFERENCE_TYPE_MISMATCH naming every bad reference, and nothing is saved.
|
|
119410
121435
|
*/
|
|
119411
|
-
|
|
121436
|
+
body: MediaWorkBody;
|
|
119412
121437
|
/**
|
|
119413
|
-
*
|
|
121438
|
+
* Groups the platform versions of one story: 1 to 64 characters of a-z, 0-9, _ and -.
|
|
119414
121439
|
*/
|
|
119415
|
-
|
|
119416
|
-
};
|
|
119417
|
-
headers?: {
|
|
121440
|
+
series?: string;
|
|
119418
121441
|
/**
|
|
119419
|
-
*
|
|
121442
|
+
* Caller data such as source, published links and numbers; at most 50 keys and 16 KB as JSON.
|
|
119420
121443
|
*/
|
|
119421
|
-
|
|
121444
|
+
custom?: MediaWorkCustom;
|
|
119422
121445
|
};
|
|
119423
121446
|
path: {
|
|
119424
121447
|
/**
|
|
119425
121448
|
* Library ID returned by creation.
|
|
119426
121449
|
*/
|
|
119427
121450
|
library_id: string;
|
|
119428
|
-
/**
|
|
119429
|
-
* 32-character asset ID.
|
|
119430
|
-
*/
|
|
119431
|
-
asset_id: string;
|
|
119432
121451
|
};
|
|
119433
121452
|
query?: never;
|
|
119434
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121453
|
+
url: '/media/v1/libraries/{library_id}/works';
|
|
119435
121454
|
};
|
|
119436
|
-
export type
|
|
121455
|
+
export type MediaCreateWorkErrors = {
|
|
119437
121456
|
/**
|
|
119438
|
-
*
|
|
121457
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119439
121458
|
*/
|
|
119440
121459
|
400: MediaMediaError;
|
|
119441
121460
|
/**
|
|
119442
|
-
*
|
|
121461
|
+
* Request failed; see the error code reference.
|
|
119443
121462
|
*/
|
|
119444
121463
|
402: MediaMediaError;
|
|
119445
121464
|
/**
|
|
@@ -119447,11 +121466,11 @@ export type MediaAlignAssetErrors = {
|
|
|
119447
121466
|
*/
|
|
119448
121467
|
403: MediaMediaError;
|
|
119449
121468
|
/**
|
|
119450
|
-
*
|
|
121469
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119451
121470
|
*/
|
|
119452
121471
|
404: MediaMediaError;
|
|
119453
121472
|
/**
|
|
119454
|
-
*
|
|
121473
|
+
* Request failed; see the error code reference.
|
|
119455
121474
|
*/
|
|
119456
121475
|
409: MediaMediaError;
|
|
119457
121476
|
/**
|
|
@@ -119463,11 +121482,11 @@ export type MediaAlignAssetErrors = {
|
|
|
119463
121482
|
*/
|
|
119464
121483
|
415: MediaMediaError;
|
|
119465
121484
|
/**
|
|
119466
|
-
*
|
|
121485
|
+
* Request failed; see the error code reference.
|
|
119467
121486
|
*/
|
|
119468
121487
|
422: MediaMediaError;
|
|
119469
121488
|
/**
|
|
119470
|
-
*
|
|
121489
|
+
* A rate limit was reached; wait before retrying.
|
|
119471
121490
|
*/
|
|
119472
121491
|
429: MediaMediaError;
|
|
119473
121492
|
/**
|
|
@@ -119483,15 +121502,15 @@ export type MediaAlignAssetErrors = {
|
|
|
119483
121502
|
*/
|
|
119484
121503
|
503: MediaMediaError;
|
|
119485
121504
|
};
|
|
119486
|
-
export type
|
|
119487
|
-
export type
|
|
121505
|
+
export type MediaCreateWorkError = MediaCreateWorkErrors[keyof MediaCreateWorkErrors];
|
|
121506
|
+
export type MediaCreateWorkResponses = {
|
|
119488
121507
|
/**
|
|
119489
|
-
*
|
|
121508
|
+
* Successful response.
|
|
119490
121509
|
*/
|
|
119491
|
-
|
|
121510
|
+
200: MediaWork;
|
|
119492
121511
|
};
|
|
119493
|
-
export type
|
|
119494
|
-
export type
|
|
121512
|
+
export type MediaCreateWorkResponse = MediaCreateWorkResponses[keyof MediaCreateWorkResponses];
|
|
121513
|
+
export type MediaDeleteWorkData = {
|
|
119495
121514
|
body?: never;
|
|
119496
121515
|
path: {
|
|
119497
121516
|
/**
|
|
@@ -119499,14 +121518,14 @@ export type MediaGetHlsRenditionsData = {
|
|
|
119499
121518
|
*/
|
|
119500
121519
|
library_id: string;
|
|
119501
121520
|
/**
|
|
119502
|
-
*
|
|
121521
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
119503
121522
|
*/
|
|
119504
|
-
|
|
121523
|
+
work_id: string;
|
|
119505
121524
|
};
|
|
119506
121525
|
query?: never;
|
|
119507
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121526
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119508
121527
|
};
|
|
119509
|
-
export type
|
|
121528
|
+
export type MediaDeleteWorkErrors = {
|
|
119510
121529
|
/**
|
|
119511
121530
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119512
121531
|
*/
|
|
@@ -119556,38 +121575,35 @@ export type MediaGetHlsRenditionsErrors = {
|
|
|
119556
121575
|
*/
|
|
119557
121576
|
503: MediaMediaError;
|
|
119558
121577
|
};
|
|
119559
|
-
export type
|
|
119560
|
-
export type
|
|
121578
|
+
export type MediaDeleteWorkError = MediaDeleteWorkErrors[keyof MediaDeleteWorkErrors];
|
|
121579
|
+
export type MediaDeleteWorkResponses = {
|
|
119561
121580
|
/**
|
|
119562
121581
|
* Successful response.
|
|
119563
121582
|
*/
|
|
119564
|
-
200:
|
|
121583
|
+
200: MediaDeletedWork;
|
|
119565
121584
|
};
|
|
119566
|
-
export type
|
|
119567
|
-
export type
|
|
119568
|
-
|
|
119569
|
-
* Which clarity rungs to build for the asset. Omit heights to build the whole ladder.
|
|
119570
|
-
*/
|
|
119571
|
-
body: {
|
|
119572
|
-
/**
|
|
119573
|
-
* The clarity rungs to build: a non-empty subset of 480, 720 and 1080 with no repeats. Omitted or empty builds all three. The ladder never upscales, so a rung above the source’s short side is dropped.
|
|
119574
|
-
*/
|
|
119575
|
-
heights?: Array<480 | 720 | 1080>;
|
|
119576
|
-
};
|
|
121585
|
+
export type MediaDeleteWorkResponse = MediaDeleteWorkResponses[keyof MediaDeleteWorkResponses];
|
|
121586
|
+
export type MediaGetWorkData = {
|
|
121587
|
+
body?: never;
|
|
119577
121588
|
path: {
|
|
119578
121589
|
/**
|
|
119579
121590
|
* Library ID returned by creation.
|
|
119580
121591
|
*/
|
|
119581
121592
|
library_id: string;
|
|
119582
121593
|
/**
|
|
119583
|
-
*
|
|
121594
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
119584
121595
|
*/
|
|
119585
|
-
|
|
121596
|
+
work_id: string;
|
|
119586
121597
|
};
|
|
119587
|
-
query?:
|
|
119588
|
-
|
|
121598
|
+
query?: {
|
|
121599
|
+
/**
|
|
121600
|
+
* assets returns every referenced asset with its URLs and size.
|
|
121601
|
+
*/
|
|
121602
|
+
expand?: string;
|
|
121603
|
+
};
|
|
121604
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119589
121605
|
};
|
|
119590
|
-
export type
|
|
121606
|
+
export type MediaGetWorkErrors = {
|
|
119591
121607
|
/**
|
|
119592
121608
|
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119593
121609
|
*/
|
|
@@ -119637,37 +121653,52 @@ export type MediaRequestHlsRenditionsErrors = {
|
|
|
119637
121653
|
*/
|
|
119638
121654
|
503: MediaMediaError;
|
|
119639
121655
|
};
|
|
119640
|
-
export type
|
|
119641
|
-
export type
|
|
121656
|
+
export type MediaGetWorkError = MediaGetWorkErrors[keyof MediaGetWorkErrors];
|
|
121657
|
+
export type MediaGetWorkResponses = {
|
|
119642
121658
|
/**
|
|
119643
121659
|
* Successful response.
|
|
119644
121660
|
*/
|
|
119645
|
-
|
|
121661
|
+
200: MediaWork;
|
|
119646
121662
|
};
|
|
119647
|
-
export type
|
|
119648
|
-
export type
|
|
121663
|
+
export type MediaGetWorkResponse = MediaGetWorkResponses[keyof MediaGetWorkResponses];
|
|
121664
|
+
export type MediaUpdateWorkData = {
|
|
119649
121665
|
/**
|
|
119650
|
-
*
|
|
121666
|
+
* Changes to a work. Send only what changes.
|
|
119651
121667
|
*/
|
|
119652
|
-
body:
|
|
119653
|
-
headers?: {
|
|
121668
|
+
body: {
|
|
119654
121669
|
/**
|
|
119655
|
-
*
|
|
121670
|
+
* A whole new body for the same kind; it replaces the old one and is checked like a new one.
|
|
119656
121671
|
*/
|
|
119657
|
-
|
|
121672
|
+
body?: MediaWorkBody;
|
|
121673
|
+
/**
|
|
121674
|
+
* A new series, or null to clear it.
|
|
121675
|
+
*/
|
|
121676
|
+
series?: string | null;
|
|
121677
|
+
/**
|
|
121678
|
+
* A JSON Merge Patch (RFC 7396): keys you send are set, keys set to null are removed, keys you leave out are kept.
|
|
121679
|
+
*/
|
|
121680
|
+
custom?: MediaWorkCustom;
|
|
121681
|
+
/**
|
|
121682
|
+
* Apply the change only if the work is still at this revision; otherwise the answer is 409 REVISION_CONFLICT with the current revision.
|
|
121683
|
+
*/
|
|
121684
|
+
if_revision?: number;
|
|
119658
121685
|
};
|
|
119659
121686
|
path: {
|
|
119660
121687
|
/**
|
|
119661
121688
|
* Library ID returned by creation.
|
|
119662
121689
|
*/
|
|
119663
121690
|
library_id: string;
|
|
121691
|
+
/**
|
|
121692
|
+
* Work id (wrk_…) returned by creation or listing.
|
|
121693
|
+
*/
|
|
121694
|
+
work_id: string;
|
|
119664
121695
|
};
|
|
119665
121696
|
query?: never;
|
|
119666
|
-
url: '/media/v1/libraries/{library_id}/
|
|
121697
|
+
url: '/media/v1/libraries/{library_id}/works/{work_id}';
|
|
119667
121698
|
};
|
|
119668
|
-
export type
|
|
121699
|
+
export type MediaUpdateWorkErrors = {
|
|
119669
121700
|
/**
|
|
119670
|
-
*
|
|
121701
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119671
121702
|
*/
|
|
119672
121703
|
400: MediaMediaError;
|
|
119673
121704
|
/**
|
|
@@ -119675,11 +121706,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119675
121706
|
*/
|
|
119676
121707
|
402: MediaMediaError;
|
|
119677
121708
|
/**
|
|
119678
|
-
*
|
|
121709
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
119679
121710
|
*/
|
|
119680
121711
|
403: MediaMediaError;
|
|
119681
121712
|
/**
|
|
119682
|
-
*
|
|
121713
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119683
121714
|
*/
|
|
119684
121715
|
404: MediaMediaError;
|
|
119685
121716
|
/**
|
|
@@ -119687,11 +121718,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119687
121718
|
*/
|
|
119688
121719
|
409: MediaMediaError;
|
|
119689
121720
|
/**
|
|
119690
|
-
*
|
|
121721
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
119691
121722
|
*/
|
|
119692
121723
|
413: MediaMediaError;
|
|
119693
121724
|
/**
|
|
119694
|
-
*
|
|
121725
|
+
* This media format is unsupported; provide a supported format.
|
|
119695
121726
|
*/
|
|
119696
121727
|
415: MediaMediaError;
|
|
119697
121728
|
/**
|
|
@@ -119699,11 +121730,11 @@ export type MediaCreateVoiceErrors = {
|
|
|
119699
121730
|
*/
|
|
119700
121731
|
422: MediaMediaError;
|
|
119701
121732
|
/**
|
|
119702
|
-
*
|
|
121733
|
+
* A rate limit was reached; wait before retrying.
|
|
119703
121734
|
*/
|
|
119704
121735
|
429: MediaMediaError;
|
|
119705
121736
|
/**
|
|
119706
|
-
*
|
|
121737
|
+
* The requested operation is unsupported; choose a supported method.
|
|
119707
121738
|
*/
|
|
119708
121739
|
501: MediaMediaError;
|
|
119709
121740
|
/**
|
|
@@ -119711,58 +121742,45 @@ export type MediaCreateVoiceErrors = {
|
|
|
119711
121742
|
*/
|
|
119712
121743
|
502: MediaMediaError;
|
|
119713
121744
|
/**
|
|
119714
|
-
*
|
|
121745
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
119715
121746
|
*/
|
|
119716
121747
|
503: MediaMediaError;
|
|
119717
121748
|
};
|
|
119718
|
-
export type
|
|
119719
|
-
export type
|
|
121749
|
+
export type MediaUpdateWorkError = MediaUpdateWorkErrors[keyof MediaUpdateWorkErrors];
|
|
121750
|
+
export type MediaUpdateWorkResponses = {
|
|
119720
121751
|
/**
|
|
119721
121752
|
* Successful response.
|
|
119722
121753
|
*/
|
|
119723
|
-
|
|
121754
|
+
200: MediaWork;
|
|
119724
121755
|
};
|
|
119725
|
-
export type
|
|
119726
|
-
export type
|
|
119727
|
-
|
|
119728
|
-
|
|
119729
|
-
*/
|
|
119730
|
-
body: {
|
|
119731
|
-
/**
|
|
119732
|
-
* Text description of the voice to design, 1 to 500 characters. The model makes every preview from it; a description that fails review answers CONTENT_REJECTED.
|
|
119733
|
-
*/
|
|
119734
|
-
description: string;
|
|
119735
|
-
/**
|
|
119736
|
-
* Line each preview speaks, 15 to 200 characters: long enough to hear the voice, short enough for one model call.
|
|
119737
|
-
*/
|
|
119738
|
-
preview_text: string;
|
|
121756
|
+
export type MediaUpdateWorkResponse = MediaUpdateWorkResponses[keyof MediaUpdateWorkResponses];
|
|
121757
|
+
export type MediaListAssetWorksData = {
|
|
121758
|
+
body?: never;
|
|
121759
|
+
path: {
|
|
119739
121760
|
/**
|
|
119740
|
-
*
|
|
121761
|
+
* Library ID returned by creation.
|
|
119741
121762
|
*/
|
|
119742
|
-
|
|
121763
|
+
library_id: string;
|
|
119743
121764
|
/**
|
|
119744
|
-
*
|
|
121765
|
+
* 32-character asset ID.
|
|
119745
121766
|
*/
|
|
119746
|
-
|
|
121767
|
+
asset_id: string;
|
|
119747
121768
|
};
|
|
119748
|
-
|
|
121769
|
+
query?: {
|
|
119749
121770
|
/**
|
|
119750
|
-
*
|
|
121771
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
119751
121772
|
*/
|
|
119752
|
-
|
|
119753
|
-
};
|
|
119754
|
-
path: {
|
|
121773
|
+
limit?: number;
|
|
119755
121774
|
/**
|
|
119756
|
-
*
|
|
121775
|
+
* Cursor from the previous next_cursor.
|
|
119757
121776
|
*/
|
|
119758
|
-
|
|
121777
|
+
cursor?: string;
|
|
119759
121778
|
};
|
|
119760
|
-
|
|
119761
|
-
url: '/media/v1/libraries/{library_id}/voices/designs';
|
|
121779
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/works';
|
|
119762
121780
|
};
|
|
119763
|
-
export type
|
|
121781
|
+
export type MediaListAssetWorksErrors = {
|
|
119764
121782
|
/**
|
|
119765
|
-
*
|
|
121783
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
119766
121784
|
*/
|
|
119767
121785
|
400: MediaMediaError;
|
|
119768
121786
|
/**
|
|
@@ -119770,11 +121788,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119770
121788
|
*/
|
|
119771
121789
|
402: MediaMediaError;
|
|
119772
121790
|
/**
|
|
119773
|
-
*
|
|
121791
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
119774
121792
|
*/
|
|
119775
121793
|
403: MediaMediaError;
|
|
119776
121794
|
/**
|
|
119777
|
-
*
|
|
121795
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
119778
121796
|
*/
|
|
119779
121797
|
404: MediaMediaError;
|
|
119780
121798
|
/**
|
|
@@ -119782,11 +121800,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119782
121800
|
*/
|
|
119783
121801
|
409: MediaMediaError;
|
|
119784
121802
|
/**
|
|
119785
|
-
*
|
|
121803
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
119786
121804
|
*/
|
|
119787
121805
|
413: MediaMediaError;
|
|
119788
121806
|
/**
|
|
119789
|
-
*
|
|
121807
|
+
* This media format is unsupported; provide a supported format.
|
|
119790
121808
|
*/
|
|
119791
121809
|
415: MediaMediaError;
|
|
119792
121810
|
/**
|
|
@@ -119794,11 +121812,11 @@ export type MediaDesignVoiceErrors = {
|
|
|
119794
121812
|
*/
|
|
119795
121813
|
422: MediaMediaError;
|
|
119796
121814
|
/**
|
|
119797
|
-
*
|
|
121815
|
+
* A rate limit was reached; wait before retrying.
|
|
119798
121816
|
*/
|
|
119799
121817
|
429: MediaMediaError;
|
|
119800
121818
|
/**
|
|
119801
|
-
*
|
|
121819
|
+
* The requested operation is unsupported; choose a supported method.
|
|
119802
121820
|
*/
|
|
119803
121821
|
501: MediaMediaError;
|
|
119804
121822
|
/**
|
|
@@ -119806,18 +121824,18 @@ export type MediaDesignVoiceErrors = {
|
|
|
119806
121824
|
*/
|
|
119807
121825
|
502: MediaMediaError;
|
|
119808
121826
|
/**
|
|
119809
|
-
*
|
|
121827
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
119810
121828
|
*/
|
|
119811
121829
|
503: MediaMediaError;
|
|
119812
121830
|
};
|
|
119813
|
-
export type
|
|
119814
|
-
export type
|
|
121831
|
+
export type MediaListAssetWorksError = MediaListAssetWorksErrors[keyof MediaListAssetWorksErrors];
|
|
121832
|
+
export type MediaListAssetWorksResponses = {
|
|
119815
121833
|
/**
|
|
119816
121834
|
* Successful response.
|
|
119817
121835
|
*/
|
|
119818
|
-
|
|
121836
|
+
200: MediaWorkPage;
|
|
119819
121837
|
};
|
|
119820
|
-
export type
|
|
121838
|
+
export type MediaListAssetWorksResponse = MediaListAssetWorksResponses[keyof MediaListAssetWorksResponses];
|
|
119821
121839
|
export type OntologyListTypesData = {
|
|
119822
121840
|
body?: never;
|
|
119823
121841
|
path?: never;
|