@deepraxis/sdk 0.2.0-dev.b5ef50d → 0.2.0-dev.b803c8d
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 +137 -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 +197 -14
- package/dist/generated/sdk.gen.js +503 -76
- package/dist/generated/types.gen.d.ts +2409 -185
- 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 +973 -259
- package/dist/resources.generated.d.ts +804 -67
- package/dist/resources.generated.js +204 -78
- package/package.json +1 -1
|
@@ -4680,17 +4680,29 @@ export type BrowserStreamMessage = {
|
|
|
4680
4680
|
*/
|
|
4681
4681
|
nextCursor: string | null;
|
|
4682
4682
|
};
|
|
4683
|
+
/**
|
|
4684
|
+
* The tab in front: the newest one the browser opened, the one a client or a page action last brought to the front, or the fallback tab after the front one closed. null when the session has no tab.
|
|
4685
|
+
*/
|
|
4686
|
+
activePageId?: string | null;
|
|
4683
4687
|
};
|
|
4684
4688
|
} | {
|
|
4685
4689
|
event: 'session';
|
|
4686
4690
|
data: BrowserSession;
|
|
4687
4691
|
} | {
|
|
4688
4692
|
event: 'pages';
|
|
4689
|
-
data: BrowserSessionLiveUrls
|
|
4693
|
+
data: BrowserSessionLiveUrls & {
|
|
4694
|
+
/**
|
|
4695
|
+
* The tab in front, sent with every pages message and whenever the front tab moves even if the tab list did not. A viewer shows this tab and never infers its own; null when the session has no tab.
|
|
4696
|
+
*/
|
|
4697
|
+
activePageId?: string | null;
|
|
4698
|
+
};
|
|
4690
4699
|
} | {
|
|
4691
4700
|
event: 'action';
|
|
4692
4701
|
data: {
|
|
4693
|
-
|
|
4702
|
+
/**
|
|
4703
|
+
* 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.
|
|
4704
|
+
*/
|
|
4705
|
+
kind: 'navigate' | 'click' | 'type' | 'scroll' | 'page_opened' | 'page_closed' | 'page_activated';
|
|
4694
4706
|
pageId?: string;
|
|
4695
4707
|
url?: string;
|
|
4696
4708
|
x?: number;
|
|
@@ -12211,6 +12223,19 @@ export type AutomationDefinition = {
|
|
|
12211
12223
|
*/
|
|
12212
12224
|
updated_at: string;
|
|
12213
12225
|
};
|
|
12226
|
+
/**
|
|
12227
|
+
* The draft written on creation, in the shape a read returns: source is required and revision may be omitted.
|
|
12228
|
+
*/
|
|
12229
|
+
export type AutomationDraftCreateInput = {
|
|
12230
|
+
/**
|
|
12231
|
+
* Draft source: TypeScript for scripts, YAML for workflows.
|
|
12232
|
+
*/
|
|
12233
|
+
source: string;
|
|
12234
|
+
/**
|
|
12235
|
+
* 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.
|
|
12236
|
+
*/
|
|
12237
|
+
revision?: string;
|
|
12238
|
+
};
|
|
12214
12239
|
export type AutomationDefinitionDetail = {
|
|
12215
12240
|
draft: AutomationDraft;
|
|
12216
12241
|
/**
|
|
@@ -12288,6 +12313,19 @@ export type AutomationDefinitionDetail = {
|
|
|
12288
12313
|
*/
|
|
12289
12314
|
updated_at: string;
|
|
12290
12315
|
};
|
|
12316
|
+
/**
|
|
12317
|
+
* The draft written on update, in the shape a read returns: revision is the concurrency token, and omitting source changes only metadata.
|
|
12318
|
+
*/
|
|
12319
|
+
export type AutomationDraftUpdateInput = {
|
|
12320
|
+
/**
|
|
12321
|
+
* The new draft source; omit it to keep the draft source and change only metadata.
|
|
12322
|
+
*/
|
|
12323
|
+
source?: string;
|
|
12324
|
+
/**
|
|
12325
|
+
* 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.
|
|
12326
|
+
*/
|
|
12327
|
+
revision?: string;
|
|
12328
|
+
};
|
|
12291
12329
|
export type AutomationVersion = {
|
|
12292
12330
|
/**
|
|
12293
12331
|
* Version id, prefixed scv_ for scripts and wfv_ for workflows.
|
|
@@ -12968,7 +13006,9 @@ export type AutomationWait = {
|
|
|
12968
13006
|
*/
|
|
12969
13007
|
kind: 'event' | 'timer' | 'child';
|
|
12970
13008
|
/**
|
|
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.
|
|
13009
|
+
* 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.
|
|
13010
|
+
*
|
|
13011
|
+
* @deprecated
|
|
12972
13012
|
*/
|
|
12973
13013
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
12974
13014
|
/**
|
|
@@ -13008,6 +13048,10 @@ export type AutomationWait = {
|
|
|
13008
13048
|
* Time the wait point was resolved (RFC 3339 UTC), or null if still open.
|
|
13009
13049
|
*/
|
|
13010
13050
|
resolved_at: null | string;
|
|
13051
|
+
/**
|
|
13052
|
+
* Wait point status. open is still waiting; resolved was satisfied; expired passed its expires_at; cancelled was cancelled and can no longer be satisfied.
|
|
13053
|
+
*/
|
|
13054
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
13011
13055
|
};
|
|
13012
13056
|
/**
|
|
13013
13057
|
* Record of one call made during a script run (an action, platform API, script or workflow), ordered by seq.
|
|
@@ -13252,7 +13296,7 @@ export type AutomationRunEvent = {
|
|
|
13252
13296
|
*/
|
|
13253
13297
|
id: string;
|
|
13254
13298
|
/**
|
|
13255
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13299
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13256
13300
|
*/
|
|
13257
13301
|
source: string;
|
|
13258
13302
|
/**
|
|
@@ -13282,7 +13326,7 @@ export type AutomationRunEvent = {
|
|
|
13282
13326
|
*/
|
|
13283
13327
|
id: string;
|
|
13284
13328
|
/**
|
|
13285
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13329
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13286
13330
|
*/
|
|
13287
13331
|
source: string;
|
|
13288
13332
|
/**
|
|
@@ -13312,7 +13356,7 @@ export type AutomationRunEvent = {
|
|
|
13312
13356
|
*/
|
|
13313
13357
|
id: string;
|
|
13314
13358
|
/**
|
|
13315
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13359
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13316
13360
|
*/
|
|
13317
13361
|
source: string;
|
|
13318
13362
|
/**
|
|
@@ -13342,7 +13386,7 @@ export type AutomationRunEvent = {
|
|
|
13342
13386
|
*/
|
|
13343
13387
|
id: string;
|
|
13344
13388
|
/**
|
|
13345
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13389
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13346
13390
|
*/
|
|
13347
13391
|
source: string;
|
|
13348
13392
|
/**
|
|
@@ -13372,7 +13416,7 @@ export type AutomationRunEvent = {
|
|
|
13372
13416
|
*/
|
|
13373
13417
|
id: string;
|
|
13374
13418
|
/**
|
|
13375
|
-
* Event source, of the form /automation/v1/runs/{
|
|
13419
|
+
* Event source, of the form /automation/v1/runs/{run_id}.
|
|
13376
13420
|
*/
|
|
13377
13421
|
source: string;
|
|
13378
13422
|
/**
|
|
@@ -13469,7 +13513,7 @@ export type AutomationTrigger = {
|
|
|
13469
13513
|
*/
|
|
13470
13514
|
input_mode: 'body' | 'envelope';
|
|
13471
13515
|
/**
|
|
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/{
|
|
13516
|
+
* 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
13517
|
*/
|
|
13474
13518
|
url_hint: string;
|
|
13475
13519
|
} | null;
|
|
@@ -13481,6 +13525,11 @@ export type AutomationTrigger = {
|
|
|
13481
13525
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13482
13526
|
*/
|
|
13483
13527
|
owner: string;
|
|
13528
|
+
/**
|
|
13529
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13530
|
+
*
|
|
13531
|
+
* @deprecated
|
|
13532
|
+
*/
|
|
13484
13533
|
state: AutomationTriggerState;
|
|
13485
13534
|
/**
|
|
13486
13535
|
* 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 +13582,13 @@ export type AutomationTrigger = {
|
|
|
13533
13582
|
*/
|
|
13534
13583
|
etag: string;
|
|
13535
13584
|
/**
|
|
13536
|
-
* Returned only by GET /triggers/{
|
|
13585
|
+
* 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
13586
|
*/
|
|
13538
13587
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13588
|
+
/**
|
|
13589
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13590
|
+
*/
|
|
13591
|
+
status: AutomationTriggerState;
|
|
13539
13592
|
};
|
|
13540
13593
|
export type AutomationTriggerCreateResult = {
|
|
13541
13594
|
/**
|
|
@@ -13589,7 +13642,7 @@ export type AutomationTriggerCreateResult = {
|
|
|
13589
13642
|
*/
|
|
13590
13643
|
input_mode: 'body' | 'envelope';
|
|
13591
13644
|
/**
|
|
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/{
|
|
13645
|
+
* 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
13646
|
*/
|
|
13594
13647
|
url_hint: string;
|
|
13595
13648
|
} | null;
|
|
@@ -13601,6 +13654,11 @@ export type AutomationTriggerCreateResult = {
|
|
|
13601
13654
|
* Tenant that owns the trigger, injected by the gateway; treat it as an opaque string.
|
|
13602
13655
|
*/
|
|
13603
13656
|
owner: string;
|
|
13657
|
+
/**
|
|
13658
|
+
* Deprecated, read status, which holds the same value. Trigger state: enabled, paused or expired.
|
|
13659
|
+
*
|
|
13660
|
+
* @deprecated
|
|
13661
|
+
*/
|
|
13604
13662
|
state: AutomationTriggerState;
|
|
13605
13663
|
/**
|
|
13606
13664
|
* 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 +13711,19 @@ export type AutomationTriggerCreateResult = {
|
|
|
13653
13711
|
*/
|
|
13654
13712
|
etag: string;
|
|
13655
13713
|
/**
|
|
13656
|
-
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{
|
|
13714
|
+
* Always null in a create response; the 30-day usage is only returned by GET /triggers/{trigger_id}.
|
|
13657
13715
|
*/
|
|
13658
13716
|
usage_30d?: AutomationAttributedUsage | null;
|
|
13659
13717
|
/**
|
|
13660
13718
|
* Returned only on webhook creation or rotation.
|
|
13661
13719
|
*/
|
|
13662
13720
|
webhook_url?: string;
|
|
13721
|
+
/**
|
|
13722
|
+
* Trigger status: enabled fires on schedule or request; paused does not fire; expired is final and no longer fires.
|
|
13723
|
+
*
|
|
13724
|
+
* @deprecated
|
|
13725
|
+
*/
|
|
13726
|
+
status: AutomationTriggerState;
|
|
13663
13727
|
};
|
|
13664
13728
|
/**
|
|
13665
13729
|
* 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).
|
|
@@ -14391,6 +14455,95 @@ export type CanvasLibraryVersionPage = {
|
|
|
14391
14455
|
*/
|
|
14392
14456
|
next_cursor: string | null;
|
|
14393
14457
|
};
|
|
14458
|
+
/**
|
|
14459
|
+
* Everything needed to fill one step of a canvas process; a read of the document that stores nothing.
|
|
14460
|
+
*/
|
|
14461
|
+
export type CanvasProcessStepBrief = {
|
|
14462
|
+
version: CanvasVersion;
|
|
14463
|
+
/**
|
|
14464
|
+
* The process this step belongs to.
|
|
14465
|
+
*/
|
|
14466
|
+
process: {
|
|
14467
|
+
/**
|
|
14468
|
+
* Node id of the process frame or instance.
|
|
14469
|
+
*/
|
|
14470
|
+
id: string;
|
|
14471
|
+
/**
|
|
14472
|
+
* Process name from its metadata.
|
|
14473
|
+
*/
|
|
14474
|
+
name: string;
|
|
14475
|
+
};
|
|
14476
|
+
/**
|
|
14477
|
+
* The step and what is asked of it.
|
|
14478
|
+
*/
|
|
14479
|
+
step: {
|
|
14480
|
+
/**
|
|
14481
|
+
* Step key within the process.
|
|
14482
|
+
*/
|
|
14483
|
+
step: string;
|
|
14484
|
+
/**
|
|
14485
|
+
* Node id of the step frame; inside an instance it is a path such as inst/frame.
|
|
14486
|
+
*/
|
|
14487
|
+
node_id: string;
|
|
14488
|
+
/**
|
|
14489
|
+
* Step title shown on the block.
|
|
14490
|
+
*/
|
|
14491
|
+
title: string;
|
|
14492
|
+
/**
|
|
14493
|
+
* Derived from the document; filled means at least one output points at the step (an each step with expected needs that many), ready means unfilled with every needed step filled, waiting means otherwise; the state never blocks a write.
|
|
14494
|
+
*/
|
|
14495
|
+
state: 'waiting' | 'ready' | 'filled';
|
|
14496
|
+
/**
|
|
14497
|
+
* For an each step, how many outputs the filler decided on; omitted when none was set.
|
|
14498
|
+
*/
|
|
14499
|
+
expected?: number;
|
|
14500
|
+
/**
|
|
14501
|
+
* The requirement as stored in metadata.requirement; output says what to produce, rules are instructions where a skill:name entry names a skill to follow, and needs, back and each carry when and by text for you to read, never evaluated.
|
|
14502
|
+
*/
|
|
14503
|
+
requirement: {
|
|
14504
|
+
[key: string]: unknown;
|
|
14505
|
+
};
|
|
14506
|
+
};
|
|
14507
|
+
/**
|
|
14508
|
+
* This production's linked materials for the step, resolved; dangling links are dropped.
|
|
14509
|
+
*/
|
|
14510
|
+
materials: Array<CanvasProcessElement>;
|
|
14511
|
+
/**
|
|
14512
|
+
* The process's shared context elements, such as the series bible, resolved.
|
|
14513
|
+
*/
|
|
14514
|
+
shared: Array<CanvasProcessElement>;
|
|
14515
|
+
/**
|
|
14516
|
+
* One entry per step in needs, in needs order, with that step's current outputs.
|
|
14517
|
+
*/
|
|
14518
|
+
upstream: Array<{
|
|
14519
|
+
/**
|
|
14520
|
+
* Key of the upstream step.
|
|
14521
|
+
*/
|
|
14522
|
+
step: string;
|
|
14523
|
+
/**
|
|
14524
|
+
* Title of the upstream step.
|
|
14525
|
+
*/
|
|
14526
|
+
title: string;
|
|
14527
|
+
/**
|
|
14528
|
+
* Derived state of the upstream step; filled means it has its outputs, ready means unfilled with its own needs filled, waiting means otherwise.
|
|
14529
|
+
*/
|
|
14530
|
+
state: 'waiting' | 'ready' | 'filled';
|
|
14531
|
+
/**
|
|
14532
|
+
* Outputs of the upstream step, resolved.
|
|
14533
|
+
*/
|
|
14534
|
+
outputs: Array<CanvasProcessElement>;
|
|
14535
|
+
}>;
|
|
14536
|
+
/**
|
|
14537
|
+
* Elements that already answer this step through metadata.output; check them before adding more.
|
|
14538
|
+
*/
|
|
14539
|
+
outputs: Array<CanvasProcessElement>;
|
|
14540
|
+
/**
|
|
14541
|
+
* Problems found in the whole process, such as dangling-material, dangling-shared, orphan-output, duplicate-step, unknown-step, needs-cycle and invalid-requirement; each has a kind plus the step or node it names.
|
|
14542
|
+
*/
|
|
14543
|
+
issues: Array<{
|
|
14544
|
+
[key: string]: unknown;
|
|
14545
|
+
}>;
|
|
14546
|
+
};
|
|
14394
14547
|
export type CanvasLibraryPage = {
|
|
14395
14548
|
/**
|
|
14396
14549
|
* Libraries on this page, most recently published first.
|
|
@@ -17016,7 +17169,7 @@ export type CutExportInput = {
|
|
|
17016
17169
|
*/
|
|
17017
17170
|
output?: CutExportOutput;
|
|
17018
17171
|
/**
|
|
17019
|
-
* Writable binding name
|
|
17172
|
+
* Writable binding name the finished video is imported into; the response then carries asset. Omit binding and folder and nothing is imported (default_upload is not used here): the export is a file only, read file.url to download it within one hour.
|
|
17020
17173
|
*/
|
|
17021
17174
|
binding?: string;
|
|
17022
17175
|
revision?: CutRevision;
|
|
@@ -20245,6 +20398,31 @@ export type DevopsPullRequest = {
|
|
|
20245
20398
|
*/
|
|
20246
20399
|
runs?: Array<string>;
|
|
20247
20400
|
};
|
|
20401
|
+
/**
|
|
20402
|
+
* The exception to record: which head, which checks, and whose written authorization.
|
|
20403
|
+
*/
|
|
20404
|
+
export type DevopsPullRequestOverrideGateRequest = {
|
|
20405
|
+
/**
|
|
20406
|
+
* The pull request's current head commit, from the pull request's head.sha; any other commit is refused with HEAD_MOVED.
|
|
20407
|
+
*/
|
|
20408
|
+
headSha: string;
|
|
20409
|
+
/**
|
|
20410
|
+
* The gate checks the exception covers, at least one; a name that is not a gate check is refused with INVALID_ARGUMENT.
|
|
20411
|
+
*/
|
|
20412
|
+
checks: Array<string>;
|
|
20413
|
+
/**
|
|
20414
|
+
* The ticket the authorization is written on, as #<number> or its URL.
|
|
20415
|
+
*/
|
|
20416
|
+
ticket: string;
|
|
20417
|
+
/**
|
|
20418
|
+
* Why the check is let through at this head, in one sentence a later reader can audit.
|
|
20419
|
+
*/
|
|
20420
|
+
reason: string;
|
|
20421
|
+
/**
|
|
20422
|
+
* The holder of a listed position who authorized it, as agent:<id> or human:<id>; must hold an active assignment to one of the positions listed in practice-config (today CEO, CTO, COO).
|
|
20423
|
+
*/
|
|
20424
|
+
authorizedBy: string;
|
|
20425
|
+
};
|
|
20248
20426
|
/**
|
|
20249
20427
|
* How to land the pull request. Every field is optional: an empty object merges now with GitHub's default shape.
|
|
20250
20428
|
*/
|
|
@@ -20816,6 +20994,497 @@ export type DevopsUnitTransitionPage = {
|
|
|
20816
20994
|
*/
|
|
20817
20995
|
nextPageToken: string;
|
|
20818
20996
|
};
|
|
20997
|
+
/**
|
|
20998
|
+
* The end user to sign in and what the sign-in may reach.
|
|
20999
|
+
*/
|
|
21000
|
+
export type EndGrantCodeInput = {
|
|
21001
|
+
/**
|
|
21002
|
+
* Your own identifier for the end user, a non-empty string; do not use an email address or phone number, and a value starting with anon_ is reserved for visitors.
|
|
21003
|
+
*/
|
|
21004
|
+
end_user_id: string;
|
|
21005
|
+
/**
|
|
21006
|
+
* Product metadata to record with the end user, as string key to string value; it is merged over what is already stored.
|
|
21007
|
+
*/
|
|
21008
|
+
metadata?: {
|
|
21009
|
+
[key: string]: string;
|
|
21010
|
+
};
|
|
21011
|
+
/**
|
|
21012
|
+
* Resource scopes the sign-in may reach, at least one, each a scope string or an object with scope and params.
|
|
21013
|
+
*/
|
|
21014
|
+
resources: Array<EndScopeInput>;
|
|
21015
|
+
/**
|
|
21016
|
+
* Page origin this sign-in is bound to, for example https://school.example.com; a later exchange with another Origin is refused.
|
|
21017
|
+
*/
|
|
21018
|
+
origin?: string;
|
|
21019
|
+
/**
|
|
21020
|
+
* Lifetime of the code in seconds; omit for the fifteen-minute default, and send a smaller number to shorten it.
|
|
21021
|
+
*/
|
|
21022
|
+
expires_in?: number;
|
|
21023
|
+
/**
|
|
21024
|
+
* Lifetime of the sign-in the code starts, in seconds; omit for the seven-day default.
|
|
21025
|
+
*/
|
|
21026
|
+
max_session_seconds?: number;
|
|
21027
|
+
/**
|
|
21028
|
+
* An existing anonymous end user (anon_…) whose record joins this person when the code is exchanged.
|
|
21029
|
+
*/
|
|
21030
|
+
merge_end_user_id?: string;
|
|
21031
|
+
/**
|
|
21032
|
+
* The visitor's own Praxis end user access token, when the browser holds one, so this sign-in keeps that anonymous visitor instead of creating a new person; it is the access_token from a previous exchange, sent from your backend and never from the browser. It must be a live anonymous (anon_…) end user of this organization. It may not be combined with merge_end_user_id, and an expired, forged or foreign token answers 400 INVALID_PARAMS.
|
|
21033
|
+
*/
|
|
21034
|
+
anonymous_access_token?: string;
|
|
21035
|
+
};
|
|
21036
|
+
/**
|
|
21037
|
+
* A one-time code that the browser exchanges for an access token.
|
|
21038
|
+
*/
|
|
21039
|
+
export type EndGrantCode = {
|
|
21040
|
+
/**
|
|
21041
|
+
* Object type, always end_user_grant_code.
|
|
21042
|
+
*/
|
|
21043
|
+
type?: 'end_user_grant_code';
|
|
21044
|
+
/**
|
|
21045
|
+
* The single-use code (cgc_…) to hand to the Kit in the browser; it is never shown again.
|
|
21046
|
+
*/
|
|
21047
|
+
code?: string;
|
|
21048
|
+
/**
|
|
21049
|
+
* The end user this code signs in.
|
|
21050
|
+
*/
|
|
21051
|
+
end_user_id?: string;
|
|
21052
|
+
/**
|
|
21053
|
+
* The resource scopes the sign-in will carry, exactly as they were requested.
|
|
21054
|
+
*/
|
|
21055
|
+
resources?: Array<EndResourceGrant>;
|
|
21056
|
+
/**
|
|
21057
|
+
* RFC 3339 time after which the code can no longer be exchanged (fifteen minutes after issue by default).
|
|
21058
|
+
*/
|
|
21059
|
+
expires_at?: string;
|
|
21060
|
+
};
|
|
21061
|
+
/**
|
|
21062
|
+
* Exactly one credential to exchange. A publishable_key may be accompanied by the continuation_token of an earlier anonymous answer.
|
|
21063
|
+
*/
|
|
21064
|
+
export type EndAccessTokenInput = {
|
|
21065
|
+
/**
|
|
21066
|
+
* A grant code (cgc_…) from grant_codes, for an end user you signed in from your backend; it works once.
|
|
21067
|
+
*/
|
|
21068
|
+
grant_code?: string;
|
|
21069
|
+
/**
|
|
21070
|
+
* A publishable key (pk_…) for an anonymous visitor; the exchange creates a new anonymous end user bound to the request Origin, unless continuation_token continues an earlier visitor of this key's organization.
|
|
21071
|
+
*/
|
|
21072
|
+
publishable_key?: string;
|
|
21073
|
+
/**
|
|
21074
|
+
* The continuation_token of an earlier anonymous answer, kept by the page's own storage. A live one continues that anonymous end user (a new sign-in of seven days, with a rotated token); an unknown, expired, revoked, merged, blocked or foreign-organization one is treated as absent, so the answer never reveals whether it exists. It also continues the visitor when the page presents another publishable key of the same organization, but the resources it may reach are only those of the key presented now. Only accepted with publishable_key.
|
|
21075
|
+
*/
|
|
21076
|
+
continuation_token?: string;
|
|
21077
|
+
};
|
|
21078
|
+
/**
|
|
21079
|
+
* The short Praxis end user access token the Kit carries, with the sign-in behind it.
|
|
21080
|
+
*/
|
|
21081
|
+
export type EndAccessToken = {
|
|
21082
|
+
/**
|
|
21083
|
+
* Object type, always end_user_access_token.
|
|
21084
|
+
*/
|
|
21085
|
+
type?: 'end_user_access_token';
|
|
21086
|
+
/**
|
|
21087
|
+
* The bearer token to send as `Authorization: Bearer <access_token>`; it lasts at most two hours and never outlives the sign-in.
|
|
21088
|
+
*/
|
|
21089
|
+
access_token?: string;
|
|
21090
|
+
/**
|
|
21091
|
+
* RFC 3339 time this token stops working; renew before it with access_tokens/renew.
|
|
21092
|
+
*/
|
|
21093
|
+
expires_at?: string;
|
|
21094
|
+
/**
|
|
21095
|
+
* RFC 3339 time the sign-in itself ends; a renewal never extends it.
|
|
21096
|
+
*/
|
|
21097
|
+
session_expires_at?: string;
|
|
21098
|
+
/**
|
|
21099
|
+
* Id of the sign-in (csi_…) this token was issued from, which the renewal and the sign-out act on.
|
|
21100
|
+
*/
|
|
21101
|
+
sign_in_id?: string;
|
|
21102
|
+
/**
|
|
21103
|
+
* Present on an anonymous answer only. An opaque credential the embed page stores in its own first-party storage and sends back with the next publishable-key exchange, so a returning visitor keeps the same anonymous end user after the access token has expired. It also carries the visitor across a change of publishable key within the same organization, while the accessible resources follow the key presented. It lasts as long as the sign-in (seven days) and is replaced on every anonymous exchange; sign-out ends it. Never put it in a URL or share it across origins.
|
|
21104
|
+
*/
|
|
21105
|
+
continuation_token?: string;
|
|
21106
|
+
/**
|
|
21107
|
+
* The end user the token belongs to.
|
|
21108
|
+
*/
|
|
21109
|
+
end_user?: {
|
|
21110
|
+
/**
|
|
21111
|
+
* End-user id (the merchant's own value, or anon_… for a visitor).
|
|
21112
|
+
*/
|
|
21113
|
+
id: string;
|
|
21114
|
+
/**
|
|
21115
|
+
* Kind of end user: identified for one that signed in through a grant code, anonymous for a visitor admitted with a publishable key.
|
|
21116
|
+
*/
|
|
21117
|
+
type: 'identified' | 'anonymous';
|
|
21118
|
+
};
|
|
21119
|
+
};
|
|
21120
|
+
/**
|
|
21121
|
+
* One page of end users.
|
|
21122
|
+
*/
|
|
21123
|
+
export type EndEndUserPage = {
|
|
21124
|
+
/**
|
|
21125
|
+
* The end users of this page, most recently seen first.
|
|
21126
|
+
*/
|
|
21127
|
+
data?: Array<EndEndUser>;
|
|
21128
|
+
/**
|
|
21129
|
+
* Cursor to send as page_token for the next page, or null when this is the last page.
|
|
21130
|
+
*/
|
|
21131
|
+
next_page?: string | null;
|
|
21132
|
+
};
|
|
21133
|
+
/**
|
|
21134
|
+
* One end user in the organization's directory.
|
|
21135
|
+
*/
|
|
21136
|
+
export type EndEndUser = {
|
|
21137
|
+
/**
|
|
21138
|
+
* Object type, always end user.
|
|
21139
|
+
*/
|
|
21140
|
+
type?: 'end user';
|
|
21141
|
+
/**
|
|
21142
|
+
* End-user id — your own end_user_id for an identified person, or anon_… for a visitor admitted with a publishable key.
|
|
21143
|
+
*/
|
|
21144
|
+
id?: string;
|
|
21145
|
+
/**
|
|
21146
|
+
* Kind of end user: identified for one that signed in through a grant code, anonymous for a visitor admitted with a publishable key.
|
|
21147
|
+
*/
|
|
21148
|
+
end_user_type?: 'identified' | 'anonymous';
|
|
21149
|
+
/**
|
|
21150
|
+
* For an anonymous end user that later signed in, the identified end user it joined; null otherwise.
|
|
21151
|
+
*/
|
|
21152
|
+
merged_into?: string | null;
|
|
21153
|
+
/**
|
|
21154
|
+
* The block fact (time, reason and actor) while the end user is blocked; null when it is not.
|
|
21155
|
+
*/
|
|
21156
|
+
blocked?: EndEndUserBlock | null;
|
|
21157
|
+
/**
|
|
21158
|
+
* Product metadata recorded with this end user, as string key to string value; empty when none was sent.
|
|
21159
|
+
*/
|
|
21160
|
+
metadata?: {
|
|
21161
|
+
[key: string]: string;
|
|
21162
|
+
};
|
|
21163
|
+
/**
|
|
21164
|
+
* RFC 3339 time the end user was first seen (first sign-in, admission or token issue).
|
|
21165
|
+
*/
|
|
21166
|
+
first_seen_at?: string;
|
|
21167
|
+
/**
|
|
21168
|
+
* RFC 3339 time the end user was last seen; the directory list is ordered by it, newest first.
|
|
21169
|
+
*/
|
|
21170
|
+
last_seen_at?: string;
|
|
21171
|
+
/**
|
|
21172
|
+
* Products this end user has used, with counts and last use; present only when expand asked for products.
|
|
21173
|
+
*/
|
|
21174
|
+
products?: Array<EndEndUserProductUse>;
|
|
21175
|
+
/**
|
|
21176
|
+
* Sign-ins of this end user, newest first; present only when expand asked for sign_ins.
|
|
21177
|
+
*/
|
|
21178
|
+
sign_ins?: Array<EndEndUserSignIn>;
|
|
21179
|
+
/**
|
|
21180
|
+
* Usage recorded for this end user; present only when expand asked for usage.
|
|
21181
|
+
*/
|
|
21182
|
+
usage?: EndEndUserUsage;
|
|
21183
|
+
};
|
|
21184
|
+
/**
|
|
21185
|
+
* The result of deleting an end user.
|
|
21186
|
+
*/
|
|
21187
|
+
export type EndEndUserDeleted = {
|
|
21188
|
+
/**
|
|
21189
|
+
* Object type, always end_user.deleted.
|
|
21190
|
+
*/
|
|
21191
|
+
type?: 'end_user.deleted';
|
|
21192
|
+
/**
|
|
21193
|
+
* The end-user id that was deleted.
|
|
21194
|
+
*/
|
|
21195
|
+
id?: string;
|
|
21196
|
+
/**
|
|
21197
|
+
* Always true; the call would have failed otherwise.
|
|
21198
|
+
*/
|
|
21199
|
+
deleted?: boolean;
|
|
21200
|
+
};
|
|
21201
|
+
/**
|
|
21202
|
+
* What one end user has cost, read from billing by the endId dimension.
|
|
21203
|
+
*/
|
|
21204
|
+
export type EndEndUserUsage = {
|
|
21205
|
+
/**
|
|
21206
|
+
* Object type, always end_user.usage.
|
|
21207
|
+
*/
|
|
21208
|
+
type?: 'end_user.usage';
|
|
21209
|
+
/**
|
|
21210
|
+
* The end user this usage belongs to.
|
|
21211
|
+
*/
|
|
21212
|
+
end_user_id?: string;
|
|
21213
|
+
/**
|
|
21214
|
+
* Total recorded cost over the window (or over everything when no window was sent).
|
|
21215
|
+
*/
|
|
21216
|
+
total?: EndMoney;
|
|
21217
|
+
/**
|
|
21218
|
+
* The recorded cost split by the product that incurred it.
|
|
21219
|
+
*/
|
|
21220
|
+
by_product?: Array<{
|
|
21221
|
+
/**
|
|
21222
|
+
* The product the cost belongs to.
|
|
21223
|
+
*/
|
|
21224
|
+
product?: {
|
|
21225
|
+
/**
|
|
21226
|
+
* Product type: agent, content or application.
|
|
21227
|
+
*/
|
|
21228
|
+
type: string;
|
|
21229
|
+
/**
|
|
21230
|
+
* Product id, for example agent_123 or cnt_0123456789abcdef.
|
|
21231
|
+
*/
|
|
21232
|
+
id: string;
|
|
21233
|
+
};
|
|
21234
|
+
/**
|
|
21235
|
+
* Cost recorded for that product.
|
|
21236
|
+
*/
|
|
21237
|
+
cost?: EndMoney;
|
|
21238
|
+
}>;
|
|
21239
|
+
/**
|
|
21240
|
+
* The recorded cost split by day.
|
|
21241
|
+
*/
|
|
21242
|
+
by_day?: Array<{
|
|
21243
|
+
/**
|
|
21244
|
+
* Day the cost was recorded, as an ISO date such as 2026-11-17.
|
|
21245
|
+
*/
|
|
21246
|
+
date?: string;
|
|
21247
|
+
/**
|
|
21248
|
+
* Cost recorded on that day.
|
|
21249
|
+
*/
|
|
21250
|
+
cost?: EndMoney;
|
|
21251
|
+
}>;
|
|
21252
|
+
};
|
|
21253
|
+
/**
|
|
21254
|
+
* The optional detail of a block.
|
|
21255
|
+
*/
|
|
21256
|
+
export type EndBlockInput = {
|
|
21257
|
+
/**
|
|
21258
|
+
* Why the end user is blocked, recorded with the block fact; omit for none.
|
|
21259
|
+
*/
|
|
21260
|
+
reason?: string;
|
|
21261
|
+
};
|
|
21262
|
+
/**
|
|
21263
|
+
* The result of revoking every token of an end user.
|
|
21264
|
+
*/
|
|
21265
|
+
export type EndTokensRevoked = {
|
|
21266
|
+
/**
|
|
21267
|
+
* Object type, always end_user_tokens_revoked.
|
|
21268
|
+
*/
|
|
21269
|
+
type?: 'end_user_tokens_revoked';
|
|
21270
|
+
/**
|
|
21271
|
+
* How many sign-ins were revoked.
|
|
21272
|
+
*/
|
|
21273
|
+
revoked?: number;
|
|
21274
|
+
};
|
|
21275
|
+
/**
|
|
21276
|
+
* One page of publishable keys.
|
|
21277
|
+
*/
|
|
21278
|
+
export type EndPublishableKeyPage = {
|
|
21279
|
+
/**
|
|
21280
|
+
* The publishable keys of this page, newest first.
|
|
21281
|
+
*/
|
|
21282
|
+
data?: Array<EndPublishableKey>;
|
|
21283
|
+
/**
|
|
21284
|
+
* Cursor to send as page_token for the next page, or null when this is the last page.
|
|
21285
|
+
*/
|
|
21286
|
+
next_page?: string | null;
|
|
21287
|
+
};
|
|
21288
|
+
/**
|
|
21289
|
+
* A publishable key to mint.
|
|
21290
|
+
*/
|
|
21291
|
+
export type EndCreatePublishableKeyInput = {
|
|
21292
|
+
/**
|
|
21293
|
+
* Label for the key, shown in the console and the key list, for example Storefront.
|
|
21294
|
+
*/
|
|
21295
|
+
name: string;
|
|
21296
|
+
/**
|
|
21297
|
+
* Resource scopes an anonymous visitor may reach, at least one, each a scope string or an object with scope and params; grant only what the anonymous experience needs.
|
|
21298
|
+
*/
|
|
21299
|
+
resources: Array<EndScopeInput>;
|
|
21300
|
+
/**
|
|
21301
|
+
* Most exchanges of this key per UTC minute, from 1 to 100000, counting every visitor together; omit or send null for no per-key limit.
|
|
21302
|
+
*/
|
|
21303
|
+
anon_rate_per_min?: number | null;
|
|
21304
|
+
/**
|
|
21305
|
+
* Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; returning visitors are not counted. Omit or send null for no limit.
|
|
21306
|
+
*/
|
|
21307
|
+
daily_session_cap?: number | null;
|
|
21308
|
+
/**
|
|
21309
|
+
* The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; 0.00 closes the key. Omit or send null for no spend cap.
|
|
21310
|
+
*/
|
|
21311
|
+
daily_spend_cap?: EndBudgetAmount | null;
|
|
21312
|
+
};
|
|
21313
|
+
/**
|
|
21314
|
+
* A key that admits anonymous visitors to the products it names.
|
|
21315
|
+
*/
|
|
21316
|
+
export type EndPublishableKey = {
|
|
21317
|
+
/**
|
|
21318
|
+
* Object type, always end_user_publishable_key.
|
|
21319
|
+
*/
|
|
21320
|
+
type?: 'end_user_publishable_key';
|
|
21321
|
+
/**
|
|
21322
|
+
* Key id (pk_…) used by the key list and the delete call.
|
|
21323
|
+
*/
|
|
21324
|
+
id?: string;
|
|
21325
|
+
/**
|
|
21326
|
+
* Label you gave the key, for example Storefront.
|
|
21327
|
+
*/
|
|
21328
|
+
name?: string;
|
|
21329
|
+
/**
|
|
21330
|
+
* The resource scopes the key grants an anonymous visitor.
|
|
21331
|
+
*/
|
|
21332
|
+
resources?: Array<EndResourceGrant>;
|
|
21333
|
+
/**
|
|
21334
|
+
* RFC 3339 time the key was created; the key list is ordered by it, newest first.
|
|
21335
|
+
*/
|
|
21336
|
+
created_at?: string;
|
|
21337
|
+
/**
|
|
21338
|
+
* Most exchanges this key allows per UTC minute, counting every exchange (a returning visitor's too), or null for no per-key limit; the per-IP limit of the exchange applies either way.
|
|
21339
|
+
*/
|
|
21340
|
+
anon_rate_per_min?: number | null;
|
|
21341
|
+
/**
|
|
21342
|
+
* Most new anonymous visitors this key admits per UTC day, or null for no limit; a returning visitor that continues with its continuation_token is not counted, and 0 admits no new visitor at all.
|
|
21343
|
+
*/
|
|
21344
|
+
daily_session_cap?: number | null;
|
|
21345
|
+
/**
|
|
21346
|
+
* The most the usage events of this key may cost in one UTC day, or null for no spend cap; once reached, every visitor is refused until 00:00 UTC and a running product answers its admission check as refused.
|
|
21347
|
+
*/
|
|
21348
|
+
daily_spend_cap?: EndBudgetAmount | null;
|
|
21349
|
+
/**
|
|
21350
|
+
* The plaintext key value, present only in the create response; every later read returns the key without it, because only its hash is stored.
|
|
21351
|
+
*/
|
|
21352
|
+
key?: string;
|
|
21353
|
+
};
|
|
21354
|
+
/**
|
|
21355
|
+
* The fields of a publishable key to change; at least one, and a field left out keeps its value.
|
|
21356
|
+
*/
|
|
21357
|
+
export type EndUpdatePublishableKeyInput = {
|
|
21358
|
+
/**
|
|
21359
|
+
* New label for the key, 1 to 64 characters.
|
|
21360
|
+
*/
|
|
21361
|
+
name?: string;
|
|
21362
|
+
/**
|
|
21363
|
+
* Most exchanges of this key per UTC minute, from 1 to 100000; null removes the per-key limit.
|
|
21364
|
+
*/
|
|
21365
|
+
anon_rate_per_min?: number | null;
|
|
21366
|
+
/**
|
|
21367
|
+
* Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; null removes the limit.
|
|
21368
|
+
*/
|
|
21369
|
+
daily_session_cap?: number | null;
|
|
21370
|
+
/**
|
|
21371
|
+
* The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; null removes the cap.
|
|
21372
|
+
*/
|
|
21373
|
+
daily_spend_cap?: EndBudgetAmount | null;
|
|
21374
|
+
};
|
|
21375
|
+
/**
|
|
21376
|
+
* The result of deleting a publishable key.
|
|
21377
|
+
*/
|
|
21378
|
+
export type EndPublishableKeyDeleted = {
|
|
21379
|
+
/**
|
|
21380
|
+
* Object type, always end_user_publishable_key_deleted.
|
|
21381
|
+
*/
|
|
21382
|
+
type?: 'end_user_publishable_key_deleted';
|
|
21383
|
+
/**
|
|
21384
|
+
* The key id that was deleted.
|
|
21385
|
+
*/
|
|
21386
|
+
id?: string;
|
|
21387
|
+
/**
|
|
21388
|
+
* Always true; the call would have failed otherwise.
|
|
21389
|
+
*/
|
|
21390
|
+
deleted?: boolean;
|
|
21391
|
+
};
|
|
21392
|
+
/**
|
|
21393
|
+
* The tenant event types.
|
|
21394
|
+
*/
|
|
21395
|
+
export type EventsEventTypePage = {
|
|
21396
|
+
/**
|
|
21397
|
+
* One entry per type and schema version.
|
|
21398
|
+
*/
|
|
21399
|
+
data: Array<EventsEventType>;
|
|
21400
|
+
/**
|
|
21401
|
+
* Always null today; the list is one page.
|
|
21402
|
+
*/
|
|
21403
|
+
next_cursor: string | null;
|
|
21404
|
+
/**
|
|
21405
|
+
* Always false today; the list is one page.
|
|
21406
|
+
*/
|
|
21407
|
+
has_more: boolean;
|
|
21408
|
+
};
|
|
21409
|
+
/**
|
|
21410
|
+
* What to subscribe to. The organization and the sink come from your credential and are not fields.
|
|
21411
|
+
*/
|
|
21412
|
+
export type EventsCreateEventSubscriptionInput = {
|
|
21413
|
+
/**
|
|
21414
|
+
* The tenant event types to hear about, from events.types.list; an event of any one of them can match.
|
|
21415
|
+
*/
|
|
21416
|
+
types: Array<string>;
|
|
21417
|
+
/**
|
|
21418
|
+
* Conditions that must all hold for an event to match; omit or leave empty to match every event of the types.
|
|
21419
|
+
*/
|
|
21420
|
+
filters?: Array<EventsEventSubscriptionFilter>;
|
|
21421
|
+
/**
|
|
21422
|
+
* 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.
|
|
21423
|
+
*/
|
|
21424
|
+
sink?: string;
|
|
21425
|
+
/**
|
|
21426
|
+
* True (the default) ends the subscription after the first letter; false keeps it until expires_at, at most 30 letters an hour.
|
|
21427
|
+
*/
|
|
21428
|
+
once?: boolean;
|
|
21429
|
+
/**
|
|
21430
|
+
* When the subscription ends, RFC 3339. Defaults to 7 days from now; at most 30 days from now.
|
|
21431
|
+
*/
|
|
21432
|
+
expires_at?: string;
|
|
21433
|
+
};
|
|
21434
|
+
/**
|
|
21435
|
+
* One event subscription.
|
|
21436
|
+
*/
|
|
21437
|
+
export type EventsEventSubscription = {
|
|
21438
|
+
/**
|
|
21439
|
+
* The subscription id, esub_...; use it to retrieve or delete it.
|
|
21440
|
+
*/
|
|
21441
|
+
id: string;
|
|
21442
|
+
/**
|
|
21443
|
+
* The tenant event types it listens to.
|
|
21444
|
+
*/
|
|
21445
|
+
types: Array<string>;
|
|
21446
|
+
/**
|
|
21447
|
+
* The conditions that must all hold; empty means every event of the types.
|
|
21448
|
+
*/
|
|
21449
|
+
filters: Array<EventsEventSubscriptionFilter>;
|
|
21450
|
+
/**
|
|
21451
|
+
* The inbox address the letters go to, agent:<id> or human:<id>.
|
|
21452
|
+
*/
|
|
21453
|
+
sink: string;
|
|
21454
|
+
/**
|
|
21455
|
+
* Whether the subscription ends after its first letter.
|
|
21456
|
+
*/
|
|
21457
|
+
once: boolean;
|
|
21458
|
+
/**
|
|
21459
|
+
* When the subscription ends and stops matching, RFC 3339.
|
|
21460
|
+
*/
|
|
21461
|
+
expires_at: string;
|
|
21462
|
+
/**
|
|
21463
|
+
* When the subscription was created, RFC 3339.
|
|
21464
|
+
*/
|
|
21465
|
+
created_at: string;
|
|
21466
|
+
/**
|
|
21467
|
+
* The address that created it, agent:<id> or human:<id>; only that caller can see it.
|
|
21468
|
+
*/
|
|
21469
|
+
created_by: string;
|
|
21470
|
+
};
|
|
21471
|
+
/**
|
|
21472
|
+
* Your live subscriptions.
|
|
21473
|
+
*/
|
|
21474
|
+
export type EventsEventSubscriptionPage = {
|
|
21475
|
+
/**
|
|
21476
|
+
* The subscriptions, at most limit.
|
|
21477
|
+
*/
|
|
21478
|
+
data: Array<EventsEventSubscription>;
|
|
21479
|
+
/**
|
|
21480
|
+
* Always null today; the list is one page.
|
|
21481
|
+
*/
|
|
21482
|
+
next_cursor: string | null;
|
|
21483
|
+
/**
|
|
21484
|
+
* Always false today; the list is one page.
|
|
21485
|
+
*/
|
|
21486
|
+
has_more: boolean;
|
|
21487
|
+
};
|
|
20819
21488
|
export type KnowledgeNativeVectorStore = {
|
|
20820
21489
|
/**
|
|
20821
21490
|
* Resource ID.
|
|
@@ -36970,7 +37639,7 @@ export type AutomationDraft = {
|
|
|
36970
37639
|
*/
|
|
36971
37640
|
source: string;
|
|
36972
37641
|
/**
|
|
36973
|
-
* Draft revision tag (ETag); send it
|
|
37642
|
+
* Draft revision tag (ETag); send it back unchanged as draft.revision when updating the draft or publishing, and a mismatch returns 412.
|
|
36974
37643
|
*/
|
|
36975
37644
|
revision: string;
|
|
36976
37645
|
/**
|
|
@@ -37497,6 +38166,60 @@ export type CanvasLibraryVersion = {
|
|
|
37497
38166
|
*/
|
|
37498
38167
|
removed: Array<CanvasComponentRef>;
|
|
37499
38168
|
};
|
|
38169
|
+
/**
|
|
38170
|
+
* One canvas element resolved for a brief; which fields besides kind and node_id are present depends on kind.
|
|
38171
|
+
*/
|
|
38172
|
+
export type CanvasProcessElement = {
|
|
38173
|
+
/**
|
|
38174
|
+
* What the element is; text carries content, image carries file_id, embed carries ref, other carries type, and html carries only its name because its source is large.
|
|
38175
|
+
*/
|
|
38176
|
+
kind: 'text' | 'image' | 'html' | 'embed' | 'other';
|
|
38177
|
+
/**
|
|
38178
|
+
* Node id of the element on this canvas; use it with nodes.list to read the full node.
|
|
38179
|
+
*/
|
|
38180
|
+
node_id: string;
|
|
38181
|
+
/**
|
|
38182
|
+
* The node's name, when it has one.
|
|
38183
|
+
*/
|
|
38184
|
+
name?: string;
|
|
38185
|
+
/**
|
|
38186
|
+
* Text of a text node.
|
|
38187
|
+
*/
|
|
38188
|
+
content?: string;
|
|
38189
|
+
/**
|
|
38190
|
+
* Platform file id of an image fill; read the picture through the file domain.
|
|
38191
|
+
*/
|
|
38192
|
+
file_id?: string;
|
|
38193
|
+
/**
|
|
38194
|
+
* Reference of an embed node's platform object; read the object from its own domain, as the canvas stores no copy of it.
|
|
38195
|
+
*/
|
|
38196
|
+
ref?: {
|
|
38197
|
+
/**
|
|
38198
|
+
* Object type such as media-asset or media-work.
|
|
38199
|
+
*/
|
|
38200
|
+
object: string;
|
|
38201
|
+
/**
|
|
38202
|
+
* Object id inside its domain.
|
|
38203
|
+
*/
|
|
38204
|
+
id: string;
|
|
38205
|
+
/**
|
|
38206
|
+
* Optional position inside the object, such as a timestamp or page.
|
|
38207
|
+
*/
|
|
38208
|
+
anchor?: string;
|
|
38209
|
+
};
|
|
38210
|
+
/**
|
|
38211
|
+
* How an embed node is drawn on the canvas, one of card, embed or inline.
|
|
38212
|
+
*/
|
|
38213
|
+
appearance?: string;
|
|
38214
|
+
/**
|
|
38215
|
+
* Node type of an element that is none of the other kinds.
|
|
38216
|
+
*/
|
|
38217
|
+
type?: string;
|
|
38218
|
+
/**
|
|
38219
|
+
* For an output of an each step, which item it answers, such as a section name.
|
|
38220
|
+
*/
|
|
38221
|
+
item?: string;
|
|
38222
|
+
};
|
|
37500
38223
|
export type CanvasLibrarySummary = {
|
|
37501
38224
|
/**
|
|
37502
38225
|
* The library's canvas id; use it as canvas_id in library_versions and publish.
|
|
@@ -39363,7 +40086,7 @@ export type DevopsReleaseSchedule = {
|
|
|
39363
40086
|
*/
|
|
39364
40087
|
export type DevopsGatePolicy = {
|
|
39365
40088
|
/**
|
|
39366
|
-
* How the merge gate's tests check reads on this project. evidence requires per-case test evidence: the check fails and names the command the author runs on the pushed head while a required case has no passing evidence. off does not gate tests: the check reports
|
|
40089
|
+
* How the merge gate's tests check reads on this project. evidence requires per-case test evidence: the check fails and names the command the author runs on the pushed head while a required case has no passing evidence. off does not gate tests: the check reports not_run with mode off, saying so, is not counted, and no evidence is read. Absent means off, so a project that never wrote it keeps merging without test evidence until it is set to evidence.
|
|
39367
40090
|
*/
|
|
39368
40091
|
tests?: 'evidence' | 'off';
|
|
39369
40092
|
/**
|
|
@@ -39379,7 +40102,7 @@ export type DevopsGatePolicy = {
|
|
|
39379
40102
|
*/
|
|
39380
40103
|
mode: 'enforce' | 'evaluate' | 'off';
|
|
39381
40104
|
/**
|
|
39382
|
-
* What an unavailable check does: fail-closed blocks the gate, fail-open shows it without blocking.
|
|
40105
|
+
* What an unavailable check does: fail-closed blocks the gate, fail-open shows it without blocking. Every check defaults to fail-closed.
|
|
39383
40106
|
*/
|
|
39384
40107
|
whenUnavailable: 'fail-closed' | 'fail-open';
|
|
39385
40108
|
/**
|
|
@@ -39389,10 +40112,6 @@ export type DevopsGatePolicy = {
|
|
|
39389
40112
|
[key: string]: unknown;
|
|
39390
40113
|
};
|
|
39391
40114
|
}>;
|
|
39392
|
-
/**
|
|
39393
|
-
* Subjects allowed to bypass the gate, as agent:<id> or human:<id>.
|
|
39394
|
-
*/
|
|
39395
|
-
bypass?: Array<string>;
|
|
39396
40115
|
};
|
|
39397
40116
|
/**
|
|
39398
40117
|
* One commit inside a release, so a reader can see what is about to ship without leaving this answer.
|
|
@@ -40205,7 +40924,7 @@ export type DevopsChangeCell = {
|
|
|
40205
40924
|
*/
|
|
40206
40925
|
export type DevopsMergeGate = {
|
|
40207
40926
|
/**
|
|
40208
|
-
* The gate's verdict: failed as soon as one check failed, pending while
|
|
40927
|
+
* The gate's verdict, fail-closed: failed as soon as one counted check failed, could not be evaluated (unavailable) or applies and produced no answer (not_run); pending while a counted check is still waiting; passed only when every counted check passed or does not apply (not_applicable). A check with no answer never passes; the one exception is a recorded override (overrideGate).
|
|
40209
40928
|
*/
|
|
40210
40929
|
state: 'pending' | 'passed' | 'failed';
|
|
40211
40930
|
/**
|
|
@@ -40221,9 +40940,38 @@ export type DevopsMergeGate = {
|
|
|
40221
40940
|
*/
|
|
40222
40941
|
name: 'exposure-declared' | 'flag-registered' | 'flag-paired-scenarios' | 'removal-ticket' | 'tests' | 'lockfile' | 'exposure-judged' | 'owner-approved' | 'repo-lint';
|
|
40223
40942
|
/**
|
|
40224
|
-
* The check's verdict
|
|
40943
|
+
* The check's verdict; not_applicable means the check does not apply to this change and passes, while not_run means it applies and produced no answer, which never passes when counted.
|
|
40225
40944
|
*/
|
|
40226
|
-
result: 'passed' | 'failed' | '
|
|
40945
|
+
result: 'passed' | 'failed' | 'not_applicable' | 'not_run' | 'pending' | 'unavailable';
|
|
40946
|
+
/**
|
|
40947
|
+
* How the project's gate policy counts this check; enforce when absent. off on a shown check means it is reported and not counted.
|
|
40948
|
+
*/
|
|
40949
|
+
mode?: 'enforce' | 'evaluate' | 'off';
|
|
40950
|
+
/**
|
|
40951
|
+
* Whether this check moves the gate's state; false for evaluate and off checks and for a check a recorded override let through. Absent means counted.
|
|
40952
|
+
*/
|
|
40953
|
+
counted?: boolean;
|
|
40954
|
+
/**
|
|
40955
|
+
* Why a check has no answer; infrastructure means the platform failed (the build machine did not come up, its records could not be read, no result within the bound), not the change, so the next step is rerunGate, not an edit.
|
|
40956
|
+
*/
|
|
40957
|
+
cause?: 'infrastructure';
|
|
40958
|
+
/**
|
|
40959
|
+
* Present when a recorded override let this check through at this head: the check keeps its real result and stops counting.
|
|
40960
|
+
*/
|
|
40961
|
+
overriddenBy?: {
|
|
40962
|
+
/**
|
|
40963
|
+
* The override id (gov_…) overrideGate recorded.
|
|
40964
|
+
*/
|
|
40965
|
+
override: string;
|
|
40966
|
+
/**
|
|
40967
|
+
* The holder of a listed position who authorized it, as agent:<id> or human:<id>.
|
|
40968
|
+
*/
|
|
40969
|
+
authorizedBy: string;
|
|
40970
|
+
/**
|
|
40971
|
+
* The ticket the authorization is written on.
|
|
40972
|
+
*/
|
|
40973
|
+
ticket: string;
|
|
40974
|
+
};
|
|
40227
40975
|
/**
|
|
40228
40976
|
* What to do about a failed or pending check, or the gatekeeper's reason for a judgement; absent when the check simply passed.
|
|
40229
40977
|
*/
|
|
@@ -40597,6 +41345,221 @@ export type DevopsCleanupEntry = {
|
|
|
40597
41345
|
*/
|
|
40598
41346
|
error: string | null;
|
|
40599
41347
|
};
|
|
41348
|
+
/**
|
|
41349
|
+
* One resource the sign-in may reach, as a scope string or an object carrying that scope and product params.
|
|
41350
|
+
*/
|
|
41351
|
+
export type EndScopeInput = string | {
|
|
41352
|
+
/**
|
|
41353
|
+
* Scope in the form <type>:<id>:<action>, where <id> may be * for every object of that type.
|
|
41354
|
+
*/
|
|
41355
|
+
scope: string;
|
|
41356
|
+
/**
|
|
41357
|
+
* Product-defined data for this grant, for example an agent version or a budget.
|
|
41358
|
+
*/
|
|
41359
|
+
params?: {
|
|
41360
|
+
[key: string]: unknown;
|
|
41361
|
+
};
|
|
41362
|
+
};
|
|
41363
|
+
/**
|
|
41364
|
+
* One resource an end user may reach, as the sign-in carries it.
|
|
41365
|
+
*/
|
|
41366
|
+
export type EndResourceGrant = {
|
|
41367
|
+
/**
|
|
41368
|
+
* Scope in the form <type>:<id>:<action> — agent:<id>:chat, content:<id>:play or application:<id>:visit — where <id> may be * for every object of that type.
|
|
41369
|
+
*/
|
|
41370
|
+
scope?: string;
|
|
41371
|
+
/**
|
|
41372
|
+
* Product-defined data for this grant, for example an agent version or a budget; this service stores it and never interprets it.
|
|
41373
|
+
*/
|
|
41374
|
+
params?: {
|
|
41375
|
+
[key: string]: unknown;
|
|
41376
|
+
};
|
|
41377
|
+
};
|
|
41378
|
+
/**
|
|
41379
|
+
* The refusal this face returns for a non-2xx status; the same envelope as the other own faces under /end user/v1.
|
|
41380
|
+
*/
|
|
41381
|
+
export type EndErrorEnvelope = {
|
|
41382
|
+
/**
|
|
41383
|
+
* The refusal itself.
|
|
41384
|
+
*/
|
|
41385
|
+
error?: {
|
|
41386
|
+
/**
|
|
41387
|
+
* Domain code of the refusal, for example END_USER_NOT_FOUND, GRANT_CODE_INVALID or INVALID_PARAMS.
|
|
41388
|
+
*/
|
|
41389
|
+
code: string;
|
|
41390
|
+
/**
|
|
41391
|
+
* Human-readable reason, produced by the service or by this door, naming the condition that failed.
|
|
41392
|
+
*/
|
|
41393
|
+
message: string;
|
|
41394
|
+
/**
|
|
41395
|
+
* Field at fault for an INVALID_PARAMS refusal, for example confirm or resources; null when the refusal is not about one field.
|
|
41396
|
+
*/
|
|
41397
|
+
param?: string | null;
|
|
41398
|
+
};
|
|
41399
|
+
};
|
|
41400
|
+
/**
|
|
41401
|
+
* The block fact of an end user.
|
|
41402
|
+
*/
|
|
41403
|
+
export type EndEndUserBlock = {
|
|
41404
|
+
/**
|
|
41405
|
+
* RFC 3339 time the end user was blocked; a repeated block keeps the first time.
|
|
41406
|
+
*/
|
|
41407
|
+
time?: string;
|
|
41408
|
+
/**
|
|
41409
|
+
* Reason recorded with the block, or null when none was given.
|
|
41410
|
+
*/
|
|
41411
|
+
reason?: string | null;
|
|
41412
|
+
/**
|
|
41413
|
+
* Actor that blocked the end user, either human:<user id> or agent:<api key id>.
|
|
41414
|
+
*/
|
|
41415
|
+
by?: string;
|
|
41416
|
+
};
|
|
41417
|
+
/**
|
|
41418
|
+
* What one product has done with this end user.
|
|
41419
|
+
*/
|
|
41420
|
+
export type EndEndUserProductUse = {
|
|
41421
|
+
/**
|
|
41422
|
+
* The product the end user used.
|
|
41423
|
+
*/
|
|
41424
|
+
product?: {
|
|
41425
|
+
/**
|
|
41426
|
+
* Product type: agent, content or application.
|
|
41427
|
+
*/
|
|
41428
|
+
type: string;
|
|
41429
|
+
/**
|
|
41430
|
+
* Product id, for example agent_123 or cnt_0123456789abcdef.
|
|
41431
|
+
*/
|
|
41432
|
+
id: string;
|
|
41433
|
+
};
|
|
41434
|
+
/**
|
|
41435
|
+
* How many times this end user was admitted to that product.
|
|
41436
|
+
*/
|
|
41437
|
+
count?: number;
|
|
41438
|
+
/**
|
|
41439
|
+
* RFC 3339 time this end user was last admitted to that product.
|
|
41440
|
+
*/
|
|
41441
|
+
last_used_at?: string;
|
|
41442
|
+
};
|
|
41443
|
+
/**
|
|
41444
|
+
* One sign-in of an end user.
|
|
41445
|
+
*/
|
|
41446
|
+
export type EndEndUserSignIn = {
|
|
41447
|
+
/**
|
|
41448
|
+
* Sign-in id (csi_…) that its tokens renew and that the sign-out act ends.
|
|
41449
|
+
*/
|
|
41450
|
+
id?: string;
|
|
41451
|
+
/**
|
|
41452
|
+
* The resource scopes this sign-in may reach, recorded at issue time.
|
|
41453
|
+
*/
|
|
41454
|
+
resources?: Array<EndResourceGrant>;
|
|
41455
|
+
/**
|
|
41456
|
+
* Page origin this sign-in is bound to, or null when it was not bound.
|
|
41457
|
+
*/
|
|
41458
|
+
origin?: string | null;
|
|
41459
|
+
/**
|
|
41460
|
+
* RFC 3339 time this sign-in started.
|
|
41461
|
+
*/
|
|
41462
|
+
created_at?: string;
|
|
41463
|
+
/**
|
|
41464
|
+
* RFC 3339 time this sign-in ends; a renewal of its tokens never extends it.
|
|
41465
|
+
*/
|
|
41466
|
+
expires_at?: string;
|
|
41467
|
+
/**
|
|
41468
|
+
* RFC 3339 time this sign-in was revoked, or null while it is live.
|
|
41469
|
+
*/
|
|
41470
|
+
revoked_at?: string | null;
|
|
41471
|
+
};
|
|
41472
|
+
/**
|
|
41473
|
+
* One money figure, as the platform recorded it.
|
|
41474
|
+
*/
|
|
41475
|
+
export type EndMoney = {
|
|
41476
|
+
/**
|
|
41477
|
+
* Amount as a decimal string in the currency's smallest written form, for example 12.340000; never a float and never arithmetic on the client.
|
|
41478
|
+
*/
|
|
41479
|
+
amount?: string;
|
|
41480
|
+
/**
|
|
41481
|
+
* Currency of the amount; platform usage is charged in USD.
|
|
41482
|
+
*/
|
|
41483
|
+
currency?: string;
|
|
41484
|
+
};
|
|
41485
|
+
/**
|
|
41486
|
+
* A limit you set, as a money amount in the budget format.
|
|
41487
|
+
*/
|
|
41488
|
+
export type EndBudgetAmount = {
|
|
41489
|
+
/**
|
|
41490
|
+
* Amount in major units of the currency as a decimal string with at most 2 decimals, for example 5.00 for five dollars; read back with exactly 2 decimals. Never a float, never cents.
|
|
41491
|
+
*/
|
|
41492
|
+
amount: string;
|
|
41493
|
+
/**
|
|
41494
|
+
* Currency the amount is in, USD or CNY. The cap is compared with the usage the platform charged in this same currency; spend in another currency is not compared.
|
|
41495
|
+
*/
|
|
41496
|
+
currency: 'USD' | 'CNY';
|
|
41497
|
+
};
|
|
41498
|
+
/**
|
|
41499
|
+
* One tenant event type at one schema version.
|
|
41500
|
+
*/
|
|
41501
|
+
export type EventsEventType = {
|
|
41502
|
+
/**
|
|
41503
|
+
* The event type name, for example automation.run.finished; pass it in the types of subscriptions.create.
|
|
41504
|
+
*/
|
|
41505
|
+
type: string;
|
|
41506
|
+
/**
|
|
41507
|
+
* 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.
|
|
41508
|
+
*/
|
|
41509
|
+
schemaversion: number;
|
|
41510
|
+
/**
|
|
41511
|
+
* What the event means and when it is published.
|
|
41512
|
+
*/
|
|
41513
|
+
description?: string;
|
|
41514
|
+
/**
|
|
41515
|
+
* JSON Schema of the event's data, the body of the letter a subscription writes.
|
|
41516
|
+
*/
|
|
41517
|
+
data_schema: {
|
|
41518
|
+
[key: string]: unknown;
|
|
41519
|
+
};
|
|
41520
|
+
/**
|
|
41521
|
+
* The names a filter of this type may use, always subject and actor, plus data.<field> for each top-level field of data_schema.
|
|
41522
|
+
*/
|
|
41523
|
+
filterable: Array<string>;
|
|
41524
|
+
};
|
|
41525
|
+
/**
|
|
41526
|
+
* An RFC 9457 problem; every non-2xx response of this face has this shape.
|
|
41527
|
+
*/
|
|
41528
|
+
export type EventsEventsProblem = {
|
|
41529
|
+
/**
|
|
41530
|
+
* The HTTP status of the response.
|
|
41531
|
+
*/
|
|
41532
|
+
status: number;
|
|
41533
|
+
/**
|
|
41534
|
+
* Machine-readable failure, such as INVALID_PARAMS, UNSUPPORTED_FILTER_DIALECT, SUBSCRIPTION_NOT_FOUND or PROVIDER_UNAVAILABLE.
|
|
41535
|
+
*/
|
|
41536
|
+
code: string;
|
|
41537
|
+
/**
|
|
41538
|
+
* Human-readable reason; it names the offending field and what to do.
|
|
41539
|
+
*/
|
|
41540
|
+
message: string;
|
|
41541
|
+
/**
|
|
41542
|
+
* True when repeating the same call can succeed, as for PROVIDER_UNAVAILABLE; false when the request itself must change.
|
|
41543
|
+
*/
|
|
41544
|
+
retryable?: boolean;
|
|
41545
|
+
};
|
|
41546
|
+
/**
|
|
41547
|
+
* 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>.
|
|
41548
|
+
*/
|
|
41549
|
+
export type EventsEventSubscriptionFilter = {
|
|
41550
|
+
/**
|
|
41551
|
+
* The attribute equals the value, for example { subject: "runs/run_1" } or { "data.status": "faulted" }.
|
|
41552
|
+
*/
|
|
41553
|
+
exact?: {
|
|
41554
|
+
[key: string]: string;
|
|
41555
|
+
};
|
|
41556
|
+
/**
|
|
41557
|
+
* The attribute starts with the value, for example { subject: "runs/" }.
|
|
41558
|
+
*/
|
|
41559
|
+
prefix?: {
|
|
41560
|
+
[key: string]: string;
|
|
41561
|
+
};
|
|
41562
|
+
};
|
|
40600
41563
|
/**
|
|
40601
41564
|
* Counts of files still attached to the store or batch, grouped by ingestion status.
|
|
40602
41565
|
*/
|
|
@@ -42130,9 +43093,13 @@ export type MediaProductListingBody = {
|
|
|
42130
43093
|
style?: MediaWorkStyle;
|
|
42131
43094
|
};
|
|
42132
43095
|
/**
|
|
42133
|
-
* Body of a general work (通用作品)
|
|
43096
|
+
* 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.
|
|
42134
43097
|
*/
|
|
42135
43098
|
export type MediaBlocksBody = {
|
|
43099
|
+
/**
|
|
43100
|
+
* The work’s title, 1 to 200 characters, written explicitly as in the other kinds; lists and sorting use it.
|
|
43101
|
+
*/
|
|
43102
|
+
title: string;
|
|
42136
43103
|
/**
|
|
42137
43104
|
* Optional Editor.js save time in milliseconds, kept as sent.
|
|
42138
43105
|
*/
|
|
@@ -51287,7 +52254,7 @@ export type PraxisSdkSsePostModelV1Messages = {
|
|
|
51287
52254
|
};
|
|
51288
52255
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdEventsStream = AgentSseEvent;
|
|
51289
52256
|
export type PraxisSdkSseGetAgentV1SessionsSessionIdThreadsThreadIdStream = AgentSseEvent;
|
|
51290
|
-
export type
|
|
52257
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdEvents = ({
|
|
51291
52258
|
/**
|
|
51292
52259
|
* 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.
|
|
51293
52260
|
*/
|
|
@@ -51320,7 +52287,7 @@ export type PraxisSdkSseGetAutomationV1RunsIdEvents = ({
|
|
|
51320
52287
|
[key: string]: unknown;
|
|
51321
52288
|
};
|
|
51322
52289
|
};
|
|
51323
|
-
export type
|
|
52290
|
+
export type PraxisSdkSseGetAutomationV1RunsRunIdLogs = ({
|
|
51324
52291
|
/**
|
|
51325
52292
|
* SSE event name: log, one log line is carried in data.
|
|
51326
52293
|
*/
|
|
@@ -52956,6 +53923,22 @@ export type DevopsWorkspaceStagePath = DevopsWorkspaceStage;
|
|
|
52956
53923
|
* 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.
|
|
52957
53924
|
*/
|
|
52958
53925
|
export type DevopsUnitIdPath = string;
|
|
53926
|
+
/**
|
|
53927
|
+
* Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch.
|
|
53928
|
+
*/
|
|
53929
|
+
export type EndOriginHeader = string;
|
|
53930
|
+
/**
|
|
53931
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
53932
|
+
*/
|
|
53933
|
+
export type EndEndUserIdPath = string;
|
|
53934
|
+
/**
|
|
53935
|
+
* Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
|
|
53936
|
+
*/
|
|
53937
|
+
export type EndPublishableKeyIdPath = string;
|
|
53938
|
+
/**
|
|
53939
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
53940
|
+
*/
|
|
53941
|
+
export type EventsSubscriptionId = string;
|
|
52959
53942
|
/**
|
|
52960
53943
|
* A type name from types.list, with its dots preserved — a display label is not accepted.
|
|
52961
53944
|
*/
|
|
@@ -58826,7 +59809,7 @@ export type GetAgentEmbedPolicyErrors = {
|
|
|
58826
59809
|
*/
|
|
58827
59810
|
404: unknown;
|
|
58828
59811
|
/**
|
|
58829
|
-
*
|
|
59812
|
+
* EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
|
|
58830
59813
|
*/
|
|
58831
59814
|
409: unknown;
|
|
58832
59815
|
/**
|
|
@@ -58968,7 +59951,7 @@ export type UpdateAgentEmbedPolicyErrors = {
|
|
|
58968
59951
|
*/
|
|
58969
59952
|
404: unknown;
|
|
58970
59953
|
/**
|
|
58971
|
-
*
|
|
59954
|
+
* EMBED_POLICY_CONFLICT: the settings changed while this request was in flight; read them again and resend, which is not automatic.
|
|
58972
59955
|
*/
|
|
58973
59956
|
409: unknown;
|
|
58974
59957
|
/**
|
|
@@ -69745,15 +70728,15 @@ export type CreateAgentUploadContentUrlResponse = CreateAgentUploadContentUrlRes
|
|
|
69745
70728
|
export type CreateAudioSpeechData = {
|
|
69746
70729
|
body: unknown & {
|
|
69747
70730
|
/**
|
|
69748
|
-
* Speech model id, for example `
|
|
70731
|
+
* Speech model id, for example `aura-2-en`; list candidates with listModels?type=speech. Router support (supported): Verified to take effect.
|
|
69749
70732
|
*/
|
|
69750
70733
|
model: string;
|
|
69751
70734
|
/**
|
|
69752
|
-
* Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported):
|
|
70735
|
+
* Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported): input is supported; text/prompt aliases also work.
|
|
69753
70736
|
*/
|
|
69754
70737
|
input?: string;
|
|
69755
70738
|
/**
|
|
69756
|
-
* Aura speaker name; custom voice objects are rejected by Aura.
|
|
70739
|
+
* Aura speaker name; custom voice objects are rejected by Aura.
|
|
69757
70740
|
*/
|
|
69758
70741
|
voice?: string | {
|
|
69759
70742
|
/**
|
|
@@ -69766,7 +70749,7 @@ export type CreateAudioSpeechData = {
|
|
|
69766
70749
|
*/
|
|
69767
70750
|
instructions?: string;
|
|
69768
70751
|
/**
|
|
69769
|
-
*
|
|
70752
|
+
* When omitted the actual upstream format is returned. Aura defaults to mp3; aac returns 400.
|
|
69770
70753
|
*/
|
|
69771
70754
|
response_format?: 'mp3' | 'opus' | 'flac' | 'wav' | 'pcm';
|
|
69772
70755
|
/**
|
|
@@ -69782,7 +70765,7 @@ export type CreateAudioSpeechData = {
|
|
|
69782
70765
|
*/
|
|
69783
70766
|
text?: string;
|
|
69784
70767
|
/**
|
|
69785
|
-
*
|
|
70768
|
+
* Alias for input; input then text take precedence.
|
|
69786
70769
|
*/
|
|
69787
70770
|
prompt?: string;
|
|
69788
70771
|
/**
|
|
@@ -69790,7 +70773,7 @@ export type CreateAudioSpeechData = {
|
|
|
69790
70773
|
*/
|
|
69791
70774
|
speaker?: string;
|
|
69792
70775
|
/**
|
|
69793
|
-
*
|
|
70776
|
+
* Language code. No speech model currently offered reads it. Aura rejects lang with 400 input_not_representable so omit it.
|
|
69794
70777
|
*/
|
|
69795
70778
|
lang?: 'en' | 'fr' | 'es' | 'zh' | 'ja' | 'ko';
|
|
69796
70779
|
/**
|
|
@@ -70569,6 +71552,78 @@ export type BrowserRunPageActionData = {
|
|
|
70569
71552
|
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
70570
71553
|
*/
|
|
70571
71554
|
tab?: string;
|
|
71555
|
+
} | {
|
|
71556
|
+
/**
|
|
71557
|
+
* 动作类型,固定为 route。
|
|
71558
|
+
*/
|
|
71559
|
+
type: 'route';
|
|
71560
|
+
/**
|
|
71561
|
+
* 要匹配的请求地址:glob(* 不跨 /,** 跨 /,** 匹配零段或更多路径段)或用 /…/ 包起来的正则;最多 2048 个字符,写错在注册时即返回 400 INVALID_PARAMS。
|
|
71562
|
+
*/
|
|
71563
|
+
url: string;
|
|
71564
|
+
/**
|
|
71565
|
+
* 只匹配这个 HTTP 方法(不区分大小写);省略则匹配所有方法。
|
|
71566
|
+
*/
|
|
71567
|
+
method?: string;
|
|
71568
|
+
/**
|
|
71569
|
+
* 标签页 ID,来自 tabs.list 或上一个动作的结果;省略时作用于当前标签页。
|
|
71570
|
+
*/
|
|
71571
|
+
tab?: string;
|
|
71572
|
+
/**
|
|
71573
|
+
* 命中后的处理方式,由 kind 选择:fulfill 直接返回给定响应,abort 让请求失败,delay 按原样转发但推迟给定的毫秒数。
|
|
71574
|
+
*/
|
|
71575
|
+
response: {
|
|
71576
|
+
/**
|
|
71577
|
+
* 直接返回给定响应。
|
|
71578
|
+
*/
|
|
71579
|
+
kind: 'fulfill';
|
|
71580
|
+
/**
|
|
71581
|
+
* 返回的 HTTP 状态码,100 到 599。
|
|
71582
|
+
*/
|
|
71583
|
+
status: number;
|
|
71584
|
+
/**
|
|
71585
|
+
* 返回的响应头,名 → 值;最多 100 项。
|
|
71586
|
+
*/
|
|
71587
|
+
headers?: {
|
|
71588
|
+
[key: string]: string;
|
|
71589
|
+
};
|
|
71590
|
+
/**
|
|
71591
|
+
* 返回的响应体,最多 1000000 个字符。
|
|
71592
|
+
*/
|
|
71593
|
+
body?: string;
|
|
71594
|
+
} | {
|
|
71595
|
+
/**
|
|
71596
|
+
* 让请求失败,页面看到一次网络错误。
|
|
71597
|
+
*/
|
|
71598
|
+
kind: 'abort';
|
|
71599
|
+
/**
|
|
71600
|
+
* Playwright 的错误码;省略为 failed。
|
|
71601
|
+
*/
|
|
71602
|
+
error?: 'aborted' | 'accessdenied' | 'addressunreachable' | 'blockedbyclient' | 'blockedbyresponse' | 'connectionaborted' | 'connectionclosed' | 'connectionfailed' | 'connectionrefused' | 'connectionreset' | 'internetdisconnected' | 'namenotresolved' | 'timedout' | 'failed';
|
|
71603
|
+
} | {
|
|
71604
|
+
/**
|
|
71605
|
+
* 按原样转发请求,但推迟给定毫秒数,用来观察页面的加载态。
|
|
71606
|
+
*/
|
|
71607
|
+
kind: 'delay';
|
|
71608
|
+
/**
|
|
71609
|
+
* 推迟的毫秒数,0 到 60000;超出返回 400 INVALID_PARAMS。
|
|
71610
|
+
*/
|
|
71611
|
+
ms: number;
|
|
71612
|
+
};
|
|
71613
|
+
} | {
|
|
71614
|
+
/**
|
|
71615
|
+
* 动作类型,固定为 unroute。
|
|
71616
|
+
*/
|
|
71617
|
+
type: 'unroute';
|
|
71618
|
+
/**
|
|
71619
|
+
* route 动作返回的规则 ID;不存在时 removed 为 false,不报错。
|
|
71620
|
+
*/
|
|
71621
|
+
routeId: string;
|
|
71622
|
+
} | {
|
|
71623
|
+
/**
|
|
71624
|
+
* 动作类型,固定为 routes。
|
|
71625
|
+
*/
|
|
71626
|
+
type: 'routes';
|
|
70572
71627
|
} | {
|
|
70573
71628
|
/**
|
|
70574
71629
|
* 动作类型:后退、前进或刷新当前页。
|
|
@@ -70787,6 +71842,60 @@ export type BrowserRunPageActionResponses = {
|
|
|
70787
71842
|
* 已设置的 cookie 的域。
|
|
70788
71843
|
*/
|
|
70789
71844
|
domain: string;
|
|
71845
|
+
} | {
|
|
71846
|
+
/**
|
|
71847
|
+
* 动作类型,固定为 route。
|
|
71848
|
+
*/
|
|
71849
|
+
type: 'route';
|
|
71850
|
+
/**
|
|
71851
|
+
* 新规则的 ID,后续 unroute 用它移除;规则的作用域是会话,会话结束时随之清除。
|
|
71852
|
+
*/
|
|
71853
|
+
routeId: string;
|
|
71854
|
+
} | {
|
|
71855
|
+
/**
|
|
71856
|
+
* 动作类型,固定为 unroute。
|
|
71857
|
+
*/
|
|
71858
|
+
type: 'unroute';
|
|
71859
|
+
/**
|
|
71860
|
+
* 请求移除的规则 ID。
|
|
71861
|
+
*/
|
|
71862
|
+
routeId: string;
|
|
71863
|
+
/**
|
|
71864
|
+
* 是否真的移除了一条规则;ID 不存在时为 false。
|
|
71865
|
+
*/
|
|
71866
|
+
removed: boolean;
|
|
71867
|
+
} | {
|
|
71868
|
+
/**
|
|
71869
|
+
* 动作类型,固定为 routes。
|
|
71870
|
+
*/
|
|
71871
|
+
type: 'routes';
|
|
71872
|
+
/**
|
|
71873
|
+
* 当前会话上的规则,按注册顺序;多条都匹配时后注册的优先。
|
|
71874
|
+
*/
|
|
71875
|
+
routes: Array<{
|
|
71876
|
+
/**
|
|
71877
|
+
* 规则 ID,注册时由服务端生成并返回。
|
|
71878
|
+
*/
|
|
71879
|
+
routeId: string;
|
|
71880
|
+
/**
|
|
71881
|
+
* 规则匹配的地址模式。
|
|
71882
|
+
*/
|
|
71883
|
+
url: string;
|
|
71884
|
+
/**
|
|
71885
|
+
* 规则限定的 HTTP 方法;不限定时省略。
|
|
71886
|
+
*/
|
|
71887
|
+
method?: string;
|
|
71888
|
+
/**
|
|
71889
|
+
* 规则只作用的标签页;作用于整个会话时省略。
|
|
71890
|
+
*/
|
|
71891
|
+
tab?: string;
|
|
71892
|
+
/**
|
|
71893
|
+
* 规则的处理方式:kind 为 fulfill、abort 或 delay,其余字段同注册时的 response。
|
|
71894
|
+
*/
|
|
71895
|
+
response: {
|
|
71896
|
+
[key: string]: unknown;
|
|
71897
|
+
};
|
|
71898
|
+
}>;
|
|
70790
71899
|
};
|
|
70791
71900
|
};
|
|
70792
71901
|
export type BrowserRunPageActionResponse = BrowserRunPageActionResponses[keyof BrowserRunPageActionResponses];
|
|
@@ -79186,10 +80295,10 @@ export type ListOrganizationCostsData = {
|
|
|
79186
80295
|
*/
|
|
79187
80296
|
time_zone?: string;
|
|
79188
80297
|
/**
|
|
79189
|
-
*
|
|
80298
|
+
* 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.
|
|
79190
80299
|
*
|
|
79191
80300
|
*/
|
|
79192
|
-
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit'>;
|
|
80301
|
+
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit' | 'SessionId' | 'AgentId' | 'ApiKeyId' | 'RunId'>;
|
|
79193
80302
|
/**
|
|
79194
80303
|
* Opaque cursor from the previous page's next_page.
|
|
79195
80304
|
*/
|
|
@@ -79256,6 +80365,22 @@ export type ListOrganizationCostsResponses = {
|
|
|
79256
80365
|
* Display name of the resource; falls back to ResourceId when no name is known.
|
|
79257
80366
|
*/
|
|
79258
80367
|
ResourceName?: string;
|
|
80368
|
+
/**
|
|
80369
|
+
* The session the usage belongs to. Present when SessionId is grouped by; null for a call no session made.
|
|
80370
|
+
*/
|
|
80371
|
+
SessionId?: string | null;
|
|
80372
|
+
/**
|
|
80373
|
+
* The agent that made the call. Present when AgentId is grouped by; null when the caller is not a session's agent.
|
|
80374
|
+
*/
|
|
80375
|
+
AgentId?: string | null;
|
|
80376
|
+
/**
|
|
80377
|
+
* The API key the call was made with. Present when ApiKeyId is grouped by; null for session, run and binding callers.
|
|
80378
|
+
*/
|
|
80379
|
+
ApiKeyId?: string | null;
|
|
80380
|
+
/**
|
|
80381
|
+
* The automation run the usage belongs to. Present when RunId is grouped by; null when no automation run made the call.
|
|
80382
|
+
*/
|
|
80383
|
+
RunId?: string | null;
|
|
79259
80384
|
/**
|
|
79260
80385
|
* Amount in BillingCurrency: US dollars for USD, decimal string, 6 decimals.
|
|
79261
80386
|
*/
|
|
@@ -79304,10 +80429,10 @@ export type ListOrganizationUsageData = {
|
|
|
79304
80429
|
*/
|
|
79305
80430
|
time_zone?: string;
|
|
79306
80431
|
/**
|
|
79307
|
-
*
|
|
80432
|
+
* 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.
|
|
79308
80433
|
*
|
|
79309
80434
|
*/
|
|
79310
|
-
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit'>;
|
|
80435
|
+
group_by?: Array<'ServiceName' | 'ServiceCategory' | 'ResourceId' | 'ConsumedUnit' | 'SessionId' | 'AgentId' | 'ApiKeyId' | 'RunId'>;
|
|
79311
80436
|
/**
|
|
79312
80437
|
* Opaque cursor from the previous page's next_page.
|
|
79313
80438
|
*/
|
|
@@ -79374,6 +80499,22 @@ export type ListOrganizationUsageResponses = {
|
|
|
79374
80499
|
* Display name of the resource; falls back to ResourceId when no name is known.
|
|
79375
80500
|
*/
|
|
79376
80501
|
ResourceName?: string;
|
|
80502
|
+
/**
|
|
80503
|
+
* The session the usage belongs to. Present when SessionId is grouped by; null for a call no session made.
|
|
80504
|
+
*/
|
|
80505
|
+
SessionId?: string | null;
|
|
80506
|
+
/**
|
|
80507
|
+
* The agent that made the call. Present when AgentId is grouped by; null when the caller is not a session's agent.
|
|
80508
|
+
*/
|
|
80509
|
+
AgentId?: string | null;
|
|
80510
|
+
/**
|
|
80511
|
+
* The API key the call was made with. Present when ApiKeyId is grouped by; null for session, run and binding callers.
|
|
80512
|
+
*/
|
|
80513
|
+
ApiKeyId?: string | null;
|
|
80514
|
+
/**
|
|
80515
|
+
* The automation run the usage belongs to. Present when RunId is grouped by; null when no automation run made the call.
|
|
80516
|
+
*/
|
|
80517
|
+
RunId?: string | null;
|
|
79377
80518
|
/**
|
|
79378
80519
|
* Exact decimal string in ConsumedUnit.
|
|
79379
80520
|
*/
|
|
@@ -79490,6 +80631,22 @@ export type ListOrganizationEventsResponses = {
|
|
|
79490
80631
|
* X-Request-Id of the API call that produced the usage; null for usage that does not come from a request.
|
|
79491
80632
|
*/
|
|
79492
80633
|
request_id: string | null;
|
|
80634
|
+
/**
|
|
80635
|
+
* The session the usage belongs to (sesn_…, public form); null for a call no session made.
|
|
80636
|
+
*/
|
|
80637
|
+
session_id: string | null;
|
|
80638
|
+
/**
|
|
80639
|
+
* The agent that made the call (agent_…); null when the caller is not a session's agent.
|
|
80640
|
+
*/
|
|
80641
|
+
agent_id: string | null;
|
|
80642
|
+
/**
|
|
80643
|
+
* The API key the call was made with (key_…); null for session, run and binding callers.
|
|
80644
|
+
*/
|
|
80645
|
+
api_key_id: string | null;
|
|
80646
|
+
/**
|
|
80647
|
+
* The automation run the usage belongs to (run_…); null when no automation run made the call.
|
|
80648
|
+
*/
|
|
80649
|
+
run_id: string | null;
|
|
79493
80650
|
/**
|
|
79494
80651
|
* How the usage was charged: settlement state, any shortfall, and why nothing was charged.
|
|
79495
80652
|
*/
|
|
@@ -79611,6 +80768,22 @@ export type GetOrganizationEventResponses = {
|
|
|
79611
80768
|
* X-Request-Id of the API call that produced the usage; null for usage that does not come from a request.
|
|
79612
80769
|
*/
|
|
79613
80770
|
request_id: string | null;
|
|
80771
|
+
/**
|
|
80772
|
+
* The session the usage belongs to (sesn_…, public form); null for a call no session made.
|
|
80773
|
+
*/
|
|
80774
|
+
session_id: string | null;
|
|
80775
|
+
/**
|
|
80776
|
+
* The agent that made the call (agent_…); null when the caller is not a session's agent.
|
|
80777
|
+
*/
|
|
80778
|
+
agent_id: string | null;
|
|
80779
|
+
/**
|
|
80780
|
+
* The API key the call was made with (key_…); null for session, run and binding callers.
|
|
80781
|
+
*/
|
|
80782
|
+
api_key_id: string | null;
|
|
80783
|
+
/**
|
|
80784
|
+
* The automation run the usage belongs to (run_…); null when no automation run made the call.
|
|
80785
|
+
*/
|
|
80786
|
+
run_id: string | null;
|
|
79614
80787
|
/**
|
|
79615
80788
|
* How the usage was charged: settlement state, any shortfall, and why nothing was charged.
|
|
79616
80789
|
*/
|
|
@@ -79889,9 +81062,9 @@ export type ListOrganizationNotificationLettersResponses = {
|
|
|
79889
81062
|
*/
|
|
79890
81063
|
thread: string;
|
|
79891
81064
|
/**
|
|
79892
|
-
* The letter's kind (ADR-193 §2, #4107): notice, mention or
|
|
81065
|
+
* 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.
|
|
79893
81066
|
*/
|
|
79894
|
-
kind: 'notice' | 'mention' | 'decision';
|
|
81067
|
+
kind: 'notice' | 'mention' | 'decision' | 'event';
|
|
79895
81068
|
/**
|
|
79896
81069
|
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
79897
81070
|
*/
|
|
@@ -80078,7 +81251,7 @@ export type GetOrganizationNotificationLetterResponses = {
|
|
|
80078
81251
|
/**
|
|
80079
81252
|
* The letter's kind (ADR-193 §2, #4107).
|
|
80080
81253
|
*/
|
|
80081
|
-
kind: 'notice' | 'mention' | 'decision';
|
|
81254
|
+
kind: 'notice' | 'mention' | 'decision' | 'event';
|
|
80082
81255
|
/**
|
|
80083
81256
|
* Where the letter came from (a ticket number, a comment, a change); null when the sender gave none.
|
|
80084
81257
|
*/
|
|
@@ -80171,7 +81344,7 @@ export type ReadAllOrganizationNotificationLettersData = {
|
|
|
80171
81344
|
/**
|
|
80172
81345
|
* Only letters of this kind; omit for all kinds.
|
|
80173
81346
|
*/
|
|
80174
|
-
kind?: 'notice' | 'mention' | 'decision';
|
|
81347
|
+
kind?: 'notice' | 'mention' | 'decision' | 'event';
|
|
80175
81348
|
};
|
|
80176
81349
|
path?: never;
|
|
80177
81350
|
query?: never;
|
|
@@ -82411,6 +83584,117 @@ export type GetByodPairingResponses = {
|
|
|
82411
83584
|
};
|
|
82412
83585
|
};
|
|
82413
83586
|
export type GetByodPairingResponse = GetByodPairingResponses[keyof GetByodPairingResponses];
|
|
83587
|
+
export type GetByodPairingStatusData = {
|
|
83588
|
+
body?: never;
|
|
83589
|
+
path: {
|
|
83590
|
+
/**
|
|
83591
|
+
* The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404.
|
|
83592
|
+
*/
|
|
83593
|
+
code: string;
|
|
83594
|
+
};
|
|
83595
|
+
query?: never;
|
|
83596
|
+
url: '/sandbox/v1/byod/pairings/{code}/status';
|
|
83597
|
+
};
|
|
83598
|
+
export type GetByodPairingStatusErrors = {
|
|
83599
|
+
/**
|
|
83600
|
+
* Authentication required: supply an organization API key that carries a tenant.
|
|
83601
|
+
*/
|
|
83602
|
+
401: unknown;
|
|
83603
|
+
/**
|
|
83604
|
+
* NOT_FOUND: no such pairing for this organization. The code is unknown or belongs to another organization; the two are indistinguishable.
|
|
83605
|
+
*/
|
|
83606
|
+
404: unknown;
|
|
83607
|
+
/**
|
|
83608
|
+
* SERVICE_UNAVAILABLE: BYOD is not bound in this deployment, or the sandbox is not ready. Wait and retry.
|
|
83609
|
+
*/
|
|
83610
|
+
503: unknown;
|
|
83611
|
+
};
|
|
83612
|
+
export type GetByodPairingStatusResponses = {
|
|
83613
|
+
/**
|
|
83614
|
+
* One pairing of the organization.
|
|
83615
|
+
*/
|
|
83616
|
+
200: {
|
|
83617
|
+
/**
|
|
83618
|
+
* The 8-character pairing code that was asked about.
|
|
83619
|
+
*/
|
|
83620
|
+
code: string;
|
|
83621
|
+
/**
|
|
83622
|
+
* When the code stops working, as an ISO-8601 timestamp.
|
|
83623
|
+
*/
|
|
83624
|
+
expires_at: string;
|
|
83625
|
+
/**
|
|
83626
|
+
* The device this code registered, or null while no phone has claimed it (or when that device was disconnected since).
|
|
83627
|
+
*/
|
|
83628
|
+
claimed_device: {
|
|
83629
|
+
/**
|
|
83630
|
+
* Resource type; always "byod_device".
|
|
83631
|
+
*/
|
|
83632
|
+
object: 'byod_device';
|
|
83633
|
+
/**
|
|
83634
|
+
* 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.
|
|
83635
|
+
*/
|
|
83636
|
+
id: string;
|
|
83637
|
+
/**
|
|
83638
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
83639
|
+
*/
|
|
83640
|
+
platform: 'android' | 'macos' | 'linux';
|
|
83641
|
+
/**
|
|
83642
|
+
* Display name of the device, 1 to 64 characters. Change it with updateByodDevice; it is not an identifier.
|
|
83643
|
+
*/
|
|
83644
|
+
name: string;
|
|
83645
|
+
/**
|
|
83646
|
+
* Device model the phone's app reported when it claimed the pairing, such as 23127PN0CC; empty when the app sent none.
|
|
83647
|
+
*/
|
|
83648
|
+
model: string;
|
|
83649
|
+
/**
|
|
83650
|
+
* Operating-system version the app reported, such as 16; empty when the app sent none. Not the device's model.
|
|
83651
|
+
*/
|
|
83652
|
+
os_version: string;
|
|
83653
|
+
/**
|
|
83654
|
+
* 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.
|
|
83655
|
+
*/
|
|
83656
|
+
online: boolean;
|
|
83657
|
+
/**
|
|
83658
|
+
* When the device last said hello or answered a ping, as an ISO-8601 timestamp; null until it first connects.
|
|
83659
|
+
*/
|
|
83660
|
+
last_seen_at: string | null;
|
|
83661
|
+
/**
|
|
83662
|
+
* When the device was paired, as an ISO-8601 timestamp; the list is ordered by it, oldest first.
|
|
83663
|
+
*/
|
|
83664
|
+
created_at: string;
|
|
83665
|
+
/**
|
|
83666
|
+
* 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).
|
|
83667
|
+
*/
|
|
83668
|
+
capabilities: Array<'display' | 'agent'>;
|
|
83669
|
+
/**
|
|
83670
|
+
* 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.
|
|
83671
|
+
*/
|
|
83672
|
+
agent_dirs: Array<string>;
|
|
83673
|
+
/**
|
|
83674
|
+
* 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.
|
|
83675
|
+
*/
|
|
83676
|
+
agent_bindings: Array<{
|
|
83677
|
+
/**
|
|
83678
|
+
* The absolute directory the desktop bound to an agent with praxis agent connect.
|
|
83679
|
+
*/
|
|
83680
|
+
dir: string;
|
|
83681
|
+
/**
|
|
83682
|
+
* The agent the directory is bound to: its identity number or its agent id.
|
|
83683
|
+
*/
|
|
83684
|
+
agent: string;
|
|
83685
|
+
}>;
|
|
83686
|
+
/**
|
|
83687
|
+
* 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.
|
|
83688
|
+
*/
|
|
83689
|
+
envd_version: string | null;
|
|
83690
|
+
/**
|
|
83691
|
+
* 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.
|
|
83692
|
+
*/
|
|
83693
|
+
allow_bypass: boolean;
|
|
83694
|
+
} | null;
|
|
83695
|
+
};
|
|
83696
|
+
};
|
|
83697
|
+
export type GetByodPairingStatusResponse = GetByodPairingStatusResponses[keyof GetByodPairingStatusResponses];
|
|
82414
83698
|
export type ClaimByodPairingData = {
|
|
82415
83699
|
/**
|
|
82416
83700
|
* What the phone's app knows about itself when it claims the pairing.
|
|
@@ -98031,14 +99315,14 @@ export type AutomationActionsGetData = {
|
|
|
98031
99315
|
/**
|
|
98032
99316
|
* 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.
|
|
98033
99317
|
*/
|
|
98034
|
-
|
|
99318
|
+
namespace: string;
|
|
98035
99319
|
/**
|
|
98036
99320
|
* 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}.
|
|
98037
99321
|
*/
|
|
98038
99322
|
name: string;
|
|
98039
99323
|
};
|
|
98040
99324
|
query?: never;
|
|
98041
|
-
url: '/automation/v1/actions/{
|
|
99325
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
98042
99326
|
};
|
|
98043
99327
|
export type AutomationActionsGetErrors = {
|
|
98044
99328
|
/**
|
|
@@ -98161,7 +99445,7 @@ export type AutomationActionsUpdateData = {
|
|
|
98161
99445
|
/**
|
|
98162
99446
|
* 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.
|
|
98163
99447
|
*/
|
|
98164
|
-
|
|
99448
|
+
namespace: string;
|
|
98165
99449
|
/**
|
|
98166
99450
|
* 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}.
|
|
98167
99451
|
*/
|
|
@@ -98173,7 +99457,7 @@ export type AutomationActionsUpdateData = {
|
|
|
98173
99457
|
*/
|
|
98174
99458
|
dry_run?: boolean;
|
|
98175
99459
|
};
|
|
98176
|
-
url: '/automation/v1/actions/{
|
|
99460
|
+
url: '/automation/v1/actions/{namespace}/{name}';
|
|
98177
99461
|
};
|
|
98178
99462
|
export type AutomationActionsUpdateErrors = {
|
|
98179
99463
|
/**
|
|
@@ -98224,7 +99508,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
98224
99508
|
/**
|
|
98225
99509
|
* 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.
|
|
98226
99510
|
*/
|
|
98227
|
-
|
|
99511
|
+
namespace: string;
|
|
98228
99512
|
/**
|
|
98229
99513
|
* 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}.
|
|
98230
99514
|
*/
|
|
@@ -98244,7 +99528,7 @@ export type AutomationActionsRevisionsData = {
|
|
|
98244
99528
|
*/
|
|
98245
99529
|
expand?: 'source';
|
|
98246
99530
|
};
|
|
98247
|
-
url: '/automation/v1/actions/{
|
|
99531
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions';
|
|
98248
99532
|
};
|
|
98249
99533
|
export type AutomationActionsRevisionsErrors = {
|
|
98250
99534
|
/**
|
|
@@ -98283,7 +99567,7 @@ export type AutomationActionsRevisionData = {
|
|
|
98283
99567
|
/**
|
|
98284
99568
|
* 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.
|
|
98285
99569
|
*/
|
|
98286
|
-
|
|
99570
|
+
namespace: string;
|
|
98287
99571
|
/**
|
|
98288
99572
|
* 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}.
|
|
98289
99573
|
*/
|
|
@@ -98294,7 +99578,7 @@ export type AutomationActionsRevisionData = {
|
|
|
98294
99578
|
revision: string;
|
|
98295
99579
|
};
|
|
98296
99580
|
query?: never;
|
|
98297
|
-
url: '/automation/v1/actions/{
|
|
99581
|
+
url: '/automation/v1/actions/{namespace}/{name}/revisions/{revision}';
|
|
98298
99582
|
};
|
|
98299
99583
|
export type AutomationActionsRevisionErrors = {
|
|
98300
99584
|
/**
|
|
@@ -98344,14 +99628,14 @@ export type AutomationActionsRollbackData = {
|
|
|
98344
99628
|
/**
|
|
98345
99629
|
* 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.
|
|
98346
99630
|
*/
|
|
98347
|
-
|
|
99631
|
+
namespace: string;
|
|
98348
99632
|
/**
|
|
98349
99633
|
* 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}.
|
|
98350
99634
|
*/
|
|
98351
99635
|
name: string;
|
|
98352
99636
|
};
|
|
98353
99637
|
query?: never;
|
|
98354
|
-
url: '/automation/v1/actions/{
|
|
99638
|
+
url: '/automation/v1/actions/{namespace}/{name}/rollback';
|
|
98355
99639
|
};
|
|
98356
99640
|
export type AutomationActionsRollbackErrors = {
|
|
98357
99641
|
/**
|
|
@@ -98405,7 +99689,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
98405
99689
|
/**
|
|
98406
99690
|
* 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.
|
|
98407
99691
|
*/
|
|
98408
|
-
|
|
99692
|
+
namespace: string;
|
|
98409
99693
|
/**
|
|
98410
99694
|
* 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}.
|
|
98411
99695
|
*/
|
|
@@ -98441,7 +99725,7 @@ export type AutomationActionsInvocationsData = {
|
|
|
98441
99725
|
*/
|
|
98442
99726
|
'created_at[gte]'?: string;
|
|
98443
99727
|
};
|
|
98444
|
-
url: '/automation/v1/actions/{
|
|
99728
|
+
url: '/automation/v1/actions/{namespace}/{name}/invocations';
|
|
98445
99729
|
};
|
|
98446
99730
|
export type AutomationActionsInvocationsErrors = {
|
|
98447
99731
|
/**
|
|
@@ -98480,7 +99764,7 @@ export type AutomationActionsDependentsData = {
|
|
|
98480
99764
|
/**
|
|
98481
99765
|
* 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.
|
|
98482
99766
|
*/
|
|
98483
|
-
|
|
99767
|
+
namespace: string;
|
|
98484
99768
|
/**
|
|
98485
99769
|
* 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}.
|
|
98486
99770
|
*/
|
|
@@ -98496,7 +99780,7 @@ export type AutomationActionsDependentsData = {
|
|
|
98496
99780
|
*/
|
|
98497
99781
|
cursor?: string;
|
|
98498
99782
|
};
|
|
98499
|
-
url: '/automation/v1/actions/{
|
|
99783
|
+
url: '/automation/v1/actions/{namespace}/{name}/dependents';
|
|
98500
99784
|
};
|
|
98501
99785
|
export type AutomationActionsDependentsErrors = {
|
|
98502
99786
|
/**
|
|
@@ -98535,14 +99819,14 @@ export type AutomationActionsArchiveData = {
|
|
|
98535
99819
|
/**
|
|
98536
99820
|
* 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.
|
|
98537
99821
|
*/
|
|
98538
|
-
|
|
99822
|
+
namespace: string;
|
|
98539
99823
|
/**
|
|
98540
99824
|
* 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}.
|
|
98541
99825
|
*/
|
|
98542
99826
|
name: string;
|
|
98543
99827
|
};
|
|
98544
99828
|
query?: never;
|
|
98545
|
-
url: '/automation/v1/actions/{
|
|
99829
|
+
url: '/automation/v1/actions/{namespace}/{name}/archive';
|
|
98546
99830
|
};
|
|
98547
99831
|
export type AutomationActionsArchiveErrors = {
|
|
98548
99832
|
/**
|
|
@@ -98576,14 +99860,14 @@ export type AutomationActionsRestoreData = {
|
|
|
98576
99860
|
/**
|
|
98577
99861
|
* 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.
|
|
98578
99862
|
*/
|
|
98579
|
-
|
|
99863
|
+
namespace: string;
|
|
98580
99864
|
/**
|
|
98581
99865
|
* 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}.
|
|
98582
99866
|
*/
|
|
98583
99867
|
name: string;
|
|
98584
99868
|
};
|
|
98585
99869
|
query?: never;
|
|
98586
|
-
url: '/automation/v1/actions/{
|
|
99870
|
+
url: '/automation/v1/actions/{namespace}/{name}/restore';
|
|
98587
99871
|
};
|
|
98588
99872
|
export type AutomationActionsRestoreErrors = {
|
|
98589
99873
|
/**
|
|
@@ -98698,9 +99982,9 @@ export type AutomationScriptsCreateData = {
|
|
|
98698
99982
|
*/
|
|
98699
99983
|
description?: string;
|
|
98700
99984
|
/**
|
|
98701
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
99985
|
+
* 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 }.
|
|
98702
99986
|
*/
|
|
98703
|
-
draft?: string;
|
|
99987
|
+
draft?: AutomationDraftCreateInput | string;
|
|
98704
99988
|
/**
|
|
98705
99989
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
98706
99990
|
*/
|
|
@@ -98755,14 +100039,14 @@ export type AutomationScriptsGetData = {
|
|
|
98755
100039
|
/**
|
|
98756
100040
|
* 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.
|
|
98757
100041
|
*/
|
|
98758
|
-
|
|
100042
|
+
namespace: string;
|
|
98759
100043
|
/**
|
|
98760
100044
|
* 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}.
|
|
98761
100045
|
*/
|
|
98762
100046
|
name: string;
|
|
98763
100047
|
};
|
|
98764
100048
|
query?: never;
|
|
98765
|
-
url: '/automation/v1/scripts/{
|
|
100049
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
98766
100050
|
};
|
|
98767
100051
|
export type AutomationScriptsGetErrors = {
|
|
98768
100052
|
/**
|
|
@@ -98799,28 +100083,30 @@ export type AutomationScriptsPatchData = {
|
|
|
98799
100083
|
[key: string]: string;
|
|
98800
100084
|
};
|
|
98801
100085
|
/**
|
|
98802
|
-
*
|
|
100086
|
+
* 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.
|
|
98803
100087
|
*/
|
|
98804
|
-
draft?: string;
|
|
100088
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
98805
100089
|
};
|
|
98806
|
-
headers
|
|
100090
|
+
headers?: {
|
|
98807
100091
|
/**
|
|
98808
|
-
*
|
|
100092
|
+
* 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.
|
|
100093
|
+
*
|
|
100094
|
+
* @deprecated
|
|
98809
100095
|
*/
|
|
98810
|
-
'If-Match'
|
|
100096
|
+
'If-Match'?: string;
|
|
98811
100097
|
};
|
|
98812
100098
|
path: {
|
|
98813
100099
|
/**
|
|
98814
100100
|
* 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.
|
|
98815
100101
|
*/
|
|
98816
|
-
|
|
100102
|
+
namespace: string;
|
|
98817
100103
|
/**
|
|
98818
100104
|
* 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}.
|
|
98819
100105
|
*/
|
|
98820
100106
|
name: string;
|
|
98821
100107
|
};
|
|
98822
100108
|
query?: never;
|
|
98823
|
-
url: '/automation/v1/scripts/{
|
|
100109
|
+
url: '/automation/v1/scripts/{namespace}/{name}';
|
|
98824
100110
|
};
|
|
98825
100111
|
export type AutomationScriptsPatchErrors = {
|
|
98826
100112
|
/**
|
|
@@ -98862,14 +100148,14 @@ export type AutomationScriptsArchiveData = {
|
|
|
98862
100148
|
/**
|
|
98863
100149
|
* 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.
|
|
98864
100150
|
*/
|
|
98865
|
-
|
|
100151
|
+
namespace: string;
|
|
98866
100152
|
/**
|
|
98867
100153
|
* 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}.
|
|
98868
100154
|
*/
|
|
98869
100155
|
name: string;
|
|
98870
100156
|
};
|
|
98871
100157
|
query?: never;
|
|
98872
|
-
url: '/automation/v1/scripts/{
|
|
100158
|
+
url: '/automation/v1/scripts/{namespace}/{name}/archive';
|
|
98873
100159
|
};
|
|
98874
100160
|
export type AutomationScriptsArchiveErrors = {
|
|
98875
100161
|
/**
|
|
@@ -98907,14 +100193,14 @@ export type AutomationScriptsRestoreData = {
|
|
|
98907
100193
|
/**
|
|
98908
100194
|
* 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.
|
|
98909
100195
|
*/
|
|
98910
|
-
|
|
100196
|
+
namespace: string;
|
|
98911
100197
|
/**
|
|
98912
100198
|
* 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}.
|
|
98913
100199
|
*/
|
|
98914
100200
|
name: string;
|
|
98915
100201
|
};
|
|
98916
100202
|
query?: never;
|
|
98917
|
-
url: '/automation/v1/scripts/{
|
|
100203
|
+
url: '/automation/v1/scripts/{namespace}/{name}/restore';
|
|
98918
100204
|
};
|
|
98919
100205
|
export type AutomationScriptsRestoreErrors = {
|
|
98920
100206
|
/**
|
|
@@ -98952,7 +100238,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
98952
100238
|
/**
|
|
98953
100239
|
* 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.
|
|
98954
100240
|
*/
|
|
98955
|
-
|
|
100241
|
+
namespace: string;
|
|
98956
100242
|
/**
|
|
98957
100243
|
* 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}.
|
|
98958
100244
|
*/
|
|
@@ -98972,7 +100258,7 @@ export type AutomationScriptsVersionsData = {
|
|
|
98972
100258
|
*/
|
|
98973
100259
|
expand?: 'source';
|
|
98974
100260
|
};
|
|
98975
|
-
url: '/automation/v1/scripts/{
|
|
100261
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
98976
100262
|
};
|
|
98977
100263
|
export type AutomationScriptsVersionsErrors = {
|
|
98978
100264
|
/**
|
|
@@ -99012,13 +100298,24 @@ export type AutomationScriptsPublishData = {
|
|
|
99012
100298
|
*/
|
|
99013
100299
|
version: string;
|
|
99014
100300
|
/**
|
|
99015
|
-
* Draft revision to publish, matching the current draft;
|
|
100301
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
100302
|
+
*
|
|
100303
|
+
* @deprecated
|
|
99016
100304
|
*/
|
|
99017
|
-
expected_draft_revision
|
|
100305
|
+
expected_draft_revision?: string;
|
|
99018
100306
|
/**
|
|
99019
100307
|
* 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.
|
|
99020
100308
|
*/
|
|
99021
100309
|
tag?: string;
|
|
100310
|
+
/**
|
|
100311
|
+
* 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.
|
|
100312
|
+
*/
|
|
100313
|
+
draft?: {
|
|
100314
|
+
/**
|
|
100315
|
+
* 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.
|
|
100316
|
+
*/
|
|
100317
|
+
revision: string;
|
|
100318
|
+
};
|
|
99022
100319
|
} | {
|
|
99023
100320
|
/**
|
|
99024
100321
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -99047,14 +100344,14 @@ export type AutomationScriptsPublishData = {
|
|
|
99047
100344
|
/**
|
|
99048
100345
|
* 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.
|
|
99049
100346
|
*/
|
|
99050
|
-
|
|
100347
|
+
namespace: string;
|
|
99051
100348
|
/**
|
|
99052
100349
|
* 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}.
|
|
99053
100350
|
*/
|
|
99054
100351
|
name: string;
|
|
99055
100352
|
};
|
|
99056
100353
|
query?: never;
|
|
99057
|
-
url: '/automation/v1/scripts/{
|
|
100354
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions';
|
|
99058
100355
|
};
|
|
99059
100356
|
export type AutomationScriptsPublishErrors = {
|
|
99060
100357
|
/**
|
|
@@ -99109,7 +100406,7 @@ export type AutomationScriptsVersionData = {
|
|
|
99109
100406
|
/**
|
|
99110
100407
|
* 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.
|
|
99111
100408
|
*/
|
|
99112
|
-
|
|
100409
|
+
namespace: string;
|
|
99113
100410
|
/**
|
|
99114
100411
|
* 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}.
|
|
99115
100412
|
*/
|
|
@@ -99120,7 +100417,7 @@ export type AutomationScriptsVersionData = {
|
|
|
99120
100417
|
version: string;
|
|
99121
100418
|
};
|
|
99122
100419
|
query?: never;
|
|
99123
|
-
url: '/automation/v1/scripts/{
|
|
100420
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}';
|
|
99124
100421
|
};
|
|
99125
100422
|
export type AutomationScriptsVersionErrors = {
|
|
99126
100423
|
/**
|
|
@@ -99156,7 +100453,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
99156
100453
|
/**
|
|
99157
100454
|
* 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.
|
|
99158
100455
|
*/
|
|
99159
|
-
|
|
100456
|
+
namespace: string;
|
|
99160
100457
|
/**
|
|
99161
100458
|
* 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}.
|
|
99162
100459
|
*/
|
|
@@ -99167,7 +100464,7 @@ export type AutomationScriptsDeprecateData = {
|
|
|
99167
100464
|
version: string;
|
|
99168
100465
|
};
|
|
99169
100466
|
query?: never;
|
|
99170
|
-
url: '/automation/v1/scripts/{
|
|
100467
|
+
url: '/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate';
|
|
99171
100468
|
};
|
|
99172
100469
|
export type AutomationScriptsDeprecateErrors = {
|
|
99173
100470
|
/**
|
|
@@ -99210,14 +100507,14 @@ export type AutomationScriptsDistTagsData = {
|
|
|
99210
100507
|
/**
|
|
99211
100508
|
* 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.
|
|
99212
100509
|
*/
|
|
99213
|
-
|
|
100510
|
+
namespace: string;
|
|
99214
100511
|
/**
|
|
99215
100512
|
* 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}.
|
|
99216
100513
|
*/
|
|
99217
100514
|
name: string;
|
|
99218
100515
|
};
|
|
99219
100516
|
query?: never;
|
|
99220
|
-
url: '/automation/v1/scripts/{
|
|
100517
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags';
|
|
99221
100518
|
};
|
|
99222
100519
|
export type AutomationScriptsDistTagsErrors = {
|
|
99223
100520
|
/**
|
|
@@ -99249,7 +100546,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
99249
100546
|
/**
|
|
99250
100547
|
* 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.
|
|
99251
100548
|
*/
|
|
99252
|
-
|
|
100549
|
+
namespace: string;
|
|
99253
100550
|
/**
|
|
99254
100551
|
* 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}.
|
|
99255
100552
|
*/
|
|
@@ -99260,7 +100557,7 @@ export type AutomationScriptsDeleteDistTagData = {
|
|
|
99260
100557
|
tag: string;
|
|
99261
100558
|
};
|
|
99262
100559
|
query?: never;
|
|
99263
|
-
url: '/automation/v1/scripts/{
|
|
100560
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
99264
100561
|
};
|
|
99265
100562
|
export type AutomationScriptsDeleteDistTagErrors = {
|
|
99266
100563
|
/**
|
|
@@ -99310,7 +100607,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
99310
100607
|
/**
|
|
99311
100608
|
* 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.
|
|
99312
100609
|
*/
|
|
99313
|
-
|
|
100610
|
+
namespace: string;
|
|
99314
100611
|
/**
|
|
99315
100612
|
* 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}.
|
|
99316
100613
|
*/
|
|
@@ -99321,7 +100618,7 @@ export type AutomationScriptsSetDistTagData = {
|
|
|
99321
100618
|
tag: string;
|
|
99322
100619
|
};
|
|
99323
100620
|
query?: never;
|
|
99324
|
-
url: '/automation/v1/scripts/{
|
|
100621
|
+
url: '/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}';
|
|
99325
100622
|
};
|
|
99326
100623
|
export type AutomationScriptsSetDistTagErrors = {
|
|
99327
100624
|
/**
|
|
@@ -99448,9 +100745,9 @@ export type AutomationWorkflowsCreateData = {
|
|
|
99448
100745
|
*/
|
|
99449
100746
|
description?: string;
|
|
99450
100747
|
/**
|
|
99451
|
-
* Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation.
|
|
100748
|
+
* 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 }.
|
|
99452
100749
|
*/
|
|
99453
|
-
draft?: string;
|
|
100750
|
+
draft?: AutomationDraftCreateInput | string;
|
|
99454
100751
|
/**
|
|
99455
100752
|
* At most 50 labels; keys contain 1–40 characters and values at most 500 characters.
|
|
99456
100753
|
*/
|
|
@@ -99505,14 +100802,14 @@ export type AutomationWorkflowsGetData = {
|
|
|
99505
100802
|
/**
|
|
99506
100803
|
* 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.
|
|
99507
100804
|
*/
|
|
99508
|
-
|
|
100805
|
+
namespace: string;
|
|
99509
100806
|
/**
|
|
99510
100807
|
* 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}.
|
|
99511
100808
|
*/
|
|
99512
100809
|
name: string;
|
|
99513
100810
|
};
|
|
99514
100811
|
query?: never;
|
|
99515
|
-
url: '/automation/v1/workflows/{
|
|
100812
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
99516
100813
|
};
|
|
99517
100814
|
export type AutomationWorkflowsGetErrors = {
|
|
99518
100815
|
/**
|
|
@@ -99549,28 +100846,30 @@ export type AutomationWorkflowsPatchData = {
|
|
|
99549
100846
|
[key: string]: string;
|
|
99550
100847
|
};
|
|
99551
100848
|
/**
|
|
99552
|
-
*
|
|
100849
|
+
* 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.
|
|
99553
100850
|
*/
|
|
99554
|
-
draft?: string;
|
|
100851
|
+
draft?: AutomationDraftUpdateInput | string;
|
|
99555
100852
|
};
|
|
99556
|
-
headers
|
|
100853
|
+
headers?: {
|
|
99557
100854
|
/**
|
|
99558
|
-
*
|
|
100855
|
+
* 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.
|
|
100856
|
+
*
|
|
100857
|
+
* @deprecated
|
|
99559
100858
|
*/
|
|
99560
|
-
'If-Match'
|
|
100859
|
+
'If-Match'?: string;
|
|
99561
100860
|
};
|
|
99562
100861
|
path: {
|
|
99563
100862
|
/**
|
|
99564
100863
|
* 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.
|
|
99565
100864
|
*/
|
|
99566
|
-
|
|
100865
|
+
namespace: string;
|
|
99567
100866
|
/**
|
|
99568
100867
|
* 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}.
|
|
99569
100868
|
*/
|
|
99570
100869
|
name: string;
|
|
99571
100870
|
};
|
|
99572
100871
|
query?: never;
|
|
99573
|
-
url: '/automation/v1/workflows/{
|
|
100872
|
+
url: '/automation/v1/workflows/{namespace}/{name}';
|
|
99574
100873
|
};
|
|
99575
100874
|
export type AutomationWorkflowsPatchErrors = {
|
|
99576
100875
|
/**
|
|
@@ -99612,14 +100911,14 @@ export type AutomationWorkflowsArchiveData = {
|
|
|
99612
100911
|
/**
|
|
99613
100912
|
* 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.
|
|
99614
100913
|
*/
|
|
99615
|
-
|
|
100914
|
+
namespace: string;
|
|
99616
100915
|
/**
|
|
99617
100916
|
* 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}.
|
|
99618
100917
|
*/
|
|
99619
100918
|
name: string;
|
|
99620
100919
|
};
|
|
99621
100920
|
query?: never;
|
|
99622
|
-
url: '/automation/v1/workflows/{
|
|
100921
|
+
url: '/automation/v1/workflows/{namespace}/{name}/archive';
|
|
99623
100922
|
};
|
|
99624
100923
|
export type AutomationWorkflowsArchiveErrors = {
|
|
99625
100924
|
/**
|
|
@@ -99657,14 +100956,14 @@ export type AutomationWorkflowsRestoreData = {
|
|
|
99657
100956
|
/**
|
|
99658
100957
|
* 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.
|
|
99659
100958
|
*/
|
|
99660
|
-
|
|
100959
|
+
namespace: string;
|
|
99661
100960
|
/**
|
|
99662
100961
|
* 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}.
|
|
99663
100962
|
*/
|
|
99664
100963
|
name: string;
|
|
99665
100964
|
};
|
|
99666
100965
|
query?: never;
|
|
99667
|
-
url: '/automation/v1/workflows/{
|
|
100966
|
+
url: '/automation/v1/workflows/{namespace}/{name}/restore';
|
|
99668
100967
|
};
|
|
99669
100968
|
export type AutomationWorkflowsRestoreErrors = {
|
|
99670
100969
|
/**
|
|
@@ -99702,7 +101001,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
99702
101001
|
/**
|
|
99703
101002
|
* 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.
|
|
99704
101003
|
*/
|
|
99705
|
-
|
|
101004
|
+
namespace: string;
|
|
99706
101005
|
/**
|
|
99707
101006
|
* 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}.
|
|
99708
101007
|
*/
|
|
@@ -99722,7 +101021,7 @@ export type AutomationWorkflowsVersionsData = {
|
|
|
99722
101021
|
*/
|
|
99723
101022
|
expand?: 'source';
|
|
99724
101023
|
};
|
|
99725
|
-
url: '/automation/v1/workflows/{
|
|
101024
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
99726
101025
|
};
|
|
99727
101026
|
export type AutomationWorkflowsVersionsErrors = {
|
|
99728
101027
|
/**
|
|
@@ -99762,13 +101061,24 @@ export type AutomationWorkflowsPublishData = {
|
|
|
99762
101061
|
*/
|
|
99763
101062
|
version: string;
|
|
99764
101063
|
/**
|
|
99765
|
-
* Draft revision to publish, matching the current draft;
|
|
101064
|
+
* Deprecated alias of draft.revision. Draft revision to publish, matching the current draft; a different value together with draft.revision returns 400.
|
|
101065
|
+
*
|
|
101066
|
+
* @deprecated
|
|
99766
101067
|
*/
|
|
99767
|
-
expected_draft_revision
|
|
101068
|
+
expected_draft_revision?: string;
|
|
99768
101069
|
/**
|
|
99769
101070
|
* 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.
|
|
99770
101071
|
*/
|
|
99771
101072
|
tag?: string;
|
|
101073
|
+
/**
|
|
101074
|
+
* 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.
|
|
101075
|
+
*/
|
|
101076
|
+
draft?: {
|
|
101077
|
+
/**
|
|
101078
|
+
* 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.
|
|
101079
|
+
*/
|
|
101080
|
+
revision: string;
|
|
101081
|
+
};
|
|
99772
101082
|
} | {
|
|
99773
101083
|
/**
|
|
99774
101084
|
* An exact canonical semantic version, such as 1.2.0 or 1.3.0-beta.1, not a range.
|
|
@@ -99797,14 +101107,14 @@ export type AutomationWorkflowsPublishData = {
|
|
|
99797
101107
|
/**
|
|
99798
101108
|
* 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.
|
|
99799
101109
|
*/
|
|
99800
|
-
|
|
101110
|
+
namespace: string;
|
|
99801
101111
|
/**
|
|
99802
101112
|
* 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}.
|
|
99803
101113
|
*/
|
|
99804
101114
|
name: string;
|
|
99805
101115
|
};
|
|
99806
101116
|
query?: never;
|
|
99807
|
-
url: '/automation/v1/workflows/{
|
|
101117
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions';
|
|
99808
101118
|
};
|
|
99809
101119
|
export type AutomationWorkflowsPublishErrors = {
|
|
99810
101120
|
/**
|
|
@@ -99867,7 +101177,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
99867
101177
|
/**
|
|
99868
101178
|
* 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.
|
|
99869
101179
|
*/
|
|
99870
|
-
|
|
101180
|
+
namespace: string;
|
|
99871
101181
|
/**
|
|
99872
101182
|
* 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}.
|
|
99873
101183
|
*/
|
|
@@ -99878,7 +101188,7 @@ export type AutomationWorkflowsVersionData = {
|
|
|
99878
101188
|
version: string;
|
|
99879
101189
|
};
|
|
99880
101190
|
query?: never;
|
|
99881
|
-
url: '/automation/v1/workflows/{
|
|
101191
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}';
|
|
99882
101192
|
};
|
|
99883
101193
|
export type AutomationWorkflowsVersionErrors = {
|
|
99884
101194
|
/**
|
|
@@ -99914,7 +101224,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
99914
101224
|
/**
|
|
99915
101225
|
* 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.
|
|
99916
101226
|
*/
|
|
99917
|
-
|
|
101227
|
+
namespace: string;
|
|
99918
101228
|
/**
|
|
99919
101229
|
* 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}.
|
|
99920
101230
|
*/
|
|
@@ -99925,7 +101235,7 @@ export type AutomationWorkflowsDeprecateData = {
|
|
|
99925
101235
|
version: string;
|
|
99926
101236
|
};
|
|
99927
101237
|
query?: never;
|
|
99928
|
-
url: '/automation/v1/workflows/{
|
|
101238
|
+
url: '/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate';
|
|
99929
101239
|
};
|
|
99930
101240
|
export type AutomationWorkflowsDeprecateErrors = {
|
|
99931
101241
|
/**
|
|
@@ -99968,14 +101278,14 @@ export type AutomationWorkflowsDistTagsData = {
|
|
|
99968
101278
|
/**
|
|
99969
101279
|
* 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.
|
|
99970
101280
|
*/
|
|
99971
|
-
|
|
101281
|
+
namespace: string;
|
|
99972
101282
|
/**
|
|
99973
101283
|
* 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}.
|
|
99974
101284
|
*/
|
|
99975
101285
|
name: string;
|
|
99976
101286
|
};
|
|
99977
101287
|
query?: never;
|
|
99978
|
-
url: '/automation/v1/workflows/{
|
|
101288
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags';
|
|
99979
101289
|
};
|
|
99980
101290
|
export type AutomationWorkflowsDistTagsErrors = {
|
|
99981
101291
|
/**
|
|
@@ -100007,7 +101317,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
100007
101317
|
/**
|
|
100008
101318
|
* 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.
|
|
100009
101319
|
*/
|
|
100010
|
-
|
|
101320
|
+
namespace: string;
|
|
100011
101321
|
/**
|
|
100012
101322
|
* 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}.
|
|
100013
101323
|
*/
|
|
@@ -100018,7 +101328,7 @@ export type AutomationWorkflowsDeleteDistTagData = {
|
|
|
100018
101328
|
tag: string;
|
|
100019
101329
|
};
|
|
100020
101330
|
query?: never;
|
|
100021
|
-
url: '/automation/v1/workflows/{
|
|
101331
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
100022
101332
|
};
|
|
100023
101333
|
export type AutomationWorkflowsDeleteDistTagErrors = {
|
|
100024
101334
|
/**
|
|
@@ -100068,7 +101378,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
100068
101378
|
/**
|
|
100069
101379
|
* 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.
|
|
100070
101380
|
*/
|
|
100071
|
-
|
|
101381
|
+
namespace: string;
|
|
100072
101382
|
/**
|
|
100073
101383
|
* 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}.
|
|
100074
101384
|
*/
|
|
@@ -100079,7 +101389,7 @@ export type AutomationWorkflowsSetDistTagData = {
|
|
|
100079
101389
|
tag: string;
|
|
100080
101390
|
};
|
|
100081
101391
|
query?: never;
|
|
100082
|
-
url: '/automation/v1/workflows/{
|
|
101392
|
+
url: '/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}';
|
|
100083
101393
|
};
|
|
100084
101394
|
export type AutomationWorkflowsSetDistTagErrors = {
|
|
100085
101395
|
/**
|
|
@@ -100494,7 +101804,7 @@ export type AutomationRunsGetData = {
|
|
|
100494
101804
|
/**
|
|
100495
101805
|
* Run ID (run_).
|
|
100496
101806
|
*/
|
|
100497
|
-
|
|
101807
|
+
run_id: string;
|
|
100498
101808
|
};
|
|
100499
101809
|
query?: {
|
|
100500
101810
|
/**
|
|
@@ -100506,7 +101816,7 @@ export type AutomationRunsGetData = {
|
|
|
100506
101816
|
*/
|
|
100507
101817
|
wait?: number;
|
|
100508
101818
|
};
|
|
100509
|
-
url: '/automation/v1/runs/{
|
|
101819
|
+
url: '/automation/v1/runs/{run_id}';
|
|
100510
101820
|
};
|
|
100511
101821
|
export type AutomationRunsGetErrors = {
|
|
100512
101822
|
/**
|
|
@@ -100541,10 +101851,10 @@ export type AutomationRunsCancelData = {
|
|
|
100541
101851
|
/**
|
|
100542
101852
|
* Run ID (run_).
|
|
100543
101853
|
*/
|
|
100544
|
-
|
|
101854
|
+
run_id: string;
|
|
100545
101855
|
};
|
|
100546
101856
|
query?: never;
|
|
100547
|
-
url: '/automation/v1/runs/{
|
|
101857
|
+
url: '/automation/v1/runs/{run_id}/cancel';
|
|
100548
101858
|
};
|
|
100549
101859
|
export type AutomationRunsCancelErrors = {
|
|
100550
101860
|
/**
|
|
@@ -100589,10 +101899,10 @@ export type AutomationRunsRerunData = {
|
|
|
100589
101899
|
/**
|
|
100590
101900
|
* Run ID (run_).
|
|
100591
101901
|
*/
|
|
100592
|
-
|
|
101902
|
+
run_id: string;
|
|
100593
101903
|
};
|
|
100594
101904
|
query?: never;
|
|
100595
|
-
url: '/automation/v1/runs/{
|
|
101905
|
+
url: '/automation/v1/runs/{run_id}/rerun';
|
|
100596
101906
|
};
|
|
100597
101907
|
export type AutomationRunsRerunErrors = {
|
|
100598
101908
|
/**
|
|
@@ -100644,10 +101954,10 @@ export type AutomationRunsSuspendData = {
|
|
|
100644
101954
|
/**
|
|
100645
101955
|
* Run ID (run_).
|
|
100646
101956
|
*/
|
|
100647
|
-
|
|
101957
|
+
run_id: string;
|
|
100648
101958
|
};
|
|
100649
101959
|
query?: never;
|
|
100650
|
-
url: '/automation/v1/runs/{
|
|
101960
|
+
url: '/automation/v1/runs/{run_id}/suspend';
|
|
100651
101961
|
};
|
|
100652
101962
|
export type AutomationRunsSuspendErrors = {
|
|
100653
101963
|
/**
|
|
@@ -100682,10 +101992,10 @@ export type AutomationRunsResumeData = {
|
|
|
100682
101992
|
/**
|
|
100683
101993
|
* Run ID (run_).
|
|
100684
101994
|
*/
|
|
100685
|
-
|
|
101995
|
+
run_id: string;
|
|
100686
101996
|
};
|
|
100687
101997
|
query?: never;
|
|
100688
|
-
url: '/automation/v1/runs/{
|
|
101998
|
+
url: '/automation/v1/runs/{run_id}/resume';
|
|
100689
101999
|
};
|
|
100690
102000
|
export type AutomationRunsResumeErrors = {
|
|
100691
102001
|
/**
|
|
@@ -100720,7 +102030,7 @@ export type AutomationRunsWaitsData = {
|
|
|
100720
102030
|
/**
|
|
100721
102031
|
* Run ID (run_).
|
|
100722
102032
|
*/
|
|
100723
|
-
|
|
102033
|
+
run_id: string;
|
|
100724
102034
|
};
|
|
100725
102035
|
query?: {
|
|
100726
102036
|
/**
|
|
@@ -100732,7 +102042,7 @@ export type AutomationRunsWaitsData = {
|
|
|
100732
102042
|
*/
|
|
100733
102043
|
cursor?: string;
|
|
100734
102044
|
};
|
|
100735
|
-
url: '/automation/v1/runs/{
|
|
102045
|
+
url: '/automation/v1/runs/{run_id}/waits';
|
|
100736
102046
|
};
|
|
100737
102047
|
export type AutomationRunsWaitsErrors = {
|
|
100738
102048
|
/**
|
|
@@ -100771,7 +102081,7 @@ export type AutomationRunsCallsData = {
|
|
|
100771
102081
|
/**
|
|
100772
102082
|
* Run ID (run_).
|
|
100773
102083
|
*/
|
|
100774
|
-
|
|
102084
|
+
run_id: string;
|
|
100775
102085
|
};
|
|
100776
102086
|
query?: {
|
|
100777
102087
|
/**
|
|
@@ -100783,7 +102093,7 @@ export type AutomationRunsCallsData = {
|
|
|
100783
102093
|
*/
|
|
100784
102094
|
cursor?: string;
|
|
100785
102095
|
};
|
|
100786
|
-
url: '/automation/v1/runs/{
|
|
102096
|
+
url: '/automation/v1/runs/{run_id}/calls';
|
|
100787
102097
|
};
|
|
100788
102098
|
export type AutomationRunsCallsErrors = {
|
|
100789
102099
|
/**
|
|
@@ -100822,7 +102132,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
100822
102132
|
/**
|
|
100823
102133
|
* Run ID (run_).
|
|
100824
102134
|
*/
|
|
100825
|
-
|
|
102135
|
+
run_id: string;
|
|
100826
102136
|
};
|
|
100827
102137
|
query?: {
|
|
100828
102138
|
/**
|
|
@@ -100834,7 +102144,7 @@ export type AutomationRunsArtifactsData = {
|
|
|
100834
102144
|
*/
|
|
100835
102145
|
cursor?: string;
|
|
100836
102146
|
};
|
|
100837
|
-
url: '/automation/v1/runs/{
|
|
102147
|
+
url: '/automation/v1/runs/{run_id}/artifacts';
|
|
100838
102148
|
};
|
|
100839
102149
|
export type AutomationRunsArtifactsErrors = {
|
|
100840
102150
|
/**
|
|
@@ -100882,14 +102192,14 @@ export type AutomationRunsCompleteWaitData = {
|
|
|
100882
102192
|
/**
|
|
100883
102193
|
* Run ID (run_).
|
|
100884
102194
|
*/
|
|
100885
|
-
|
|
102195
|
+
run_id: string;
|
|
100886
102196
|
/**
|
|
100887
102197
|
* Wait ID (wait_) belonging to this run.
|
|
100888
102198
|
*/
|
|
100889
102199
|
wait_id: string;
|
|
100890
102200
|
};
|
|
100891
102201
|
query?: never;
|
|
100892
|
-
url: '/automation/v1/runs/{
|
|
102202
|
+
url: '/automation/v1/runs/{run_id}/waits/{wait_id}/complete';
|
|
100893
102203
|
};
|
|
100894
102204
|
export type AutomationRunsCompleteWaitErrors = {
|
|
100895
102205
|
/**
|
|
@@ -100940,6 +102250,8 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
100940
102250
|
kind: 'event' | 'timer' | 'child';
|
|
100941
102251
|
/**
|
|
100942
102252
|
* 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.
|
|
102253
|
+
*
|
|
102254
|
+
* @deprecated
|
|
100943
102255
|
*/
|
|
100944
102256
|
state: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
100945
102257
|
/**
|
|
@@ -100983,6 +102295,10 @@ export type AutomationRunsCompleteWaitResponses = {
|
|
|
100983
102295
|
* true when this was a repeated submission with the same id and payload, so the original result is returned instead of processing it again.
|
|
100984
102296
|
*/
|
|
100985
102297
|
replayed: boolean;
|
|
102298
|
+
/**
|
|
102299
|
+
* 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.
|
|
102300
|
+
*/
|
|
102301
|
+
status: 'cancelled' | 'open' | 'resolved' | 'expired';
|
|
100986
102302
|
};
|
|
100987
102303
|
};
|
|
100988
102304
|
export type AutomationRunsCompleteWaitResponse = AutomationRunsCompleteWaitResponses[keyof AutomationRunsCompleteWaitResponses];
|
|
@@ -100992,7 +102308,7 @@ export type AutomationRunsTasksData = {
|
|
|
100992
102308
|
/**
|
|
100993
102309
|
* Run ID (run_).
|
|
100994
102310
|
*/
|
|
100995
|
-
|
|
102311
|
+
run_id: string;
|
|
100996
102312
|
};
|
|
100997
102313
|
query?: {
|
|
100998
102314
|
/**
|
|
@@ -101012,7 +102328,7 @@ export type AutomationRunsTasksData = {
|
|
|
101012
102328
|
*/
|
|
101013
102329
|
group_by?: 'reference';
|
|
101014
102330
|
};
|
|
101015
|
-
url: '/automation/v1/runs/{
|
|
102331
|
+
url: '/automation/v1/runs/{run_id}/tasks';
|
|
101016
102332
|
};
|
|
101017
102333
|
export type AutomationRunsTasksErrors = {
|
|
101018
102334
|
/**
|
|
@@ -101061,7 +102377,7 @@ export type AutomationRunsEventsData = {
|
|
|
101061
102377
|
/**
|
|
101062
102378
|
* Run ID (run_).
|
|
101063
102379
|
*/
|
|
101064
|
-
|
|
102380
|
+
run_id: string;
|
|
101065
102381
|
};
|
|
101066
102382
|
query?: {
|
|
101067
102383
|
/**
|
|
@@ -101073,7 +102389,7 @@ export type AutomationRunsEventsData = {
|
|
|
101073
102389
|
*/
|
|
101074
102390
|
cursor?: string;
|
|
101075
102391
|
};
|
|
101076
|
-
url: '/automation/v1/runs/{
|
|
102392
|
+
url: '/automation/v1/runs/{run_id}/events';
|
|
101077
102393
|
};
|
|
101078
102394
|
export type AutomationRunsEventsErrors = {
|
|
101079
102395
|
/**
|
|
@@ -101122,7 +102438,7 @@ export type AutomationRunsLogsData = {
|
|
|
101122
102438
|
/**
|
|
101123
102439
|
* Run ID (run_).
|
|
101124
102440
|
*/
|
|
101125
|
-
|
|
102441
|
+
run_id: string;
|
|
101126
102442
|
};
|
|
101127
102443
|
query?: {
|
|
101128
102444
|
/**
|
|
@@ -101134,7 +102450,7 @@ export type AutomationRunsLogsData = {
|
|
|
101134
102450
|
*/
|
|
101135
102451
|
cursor?: string;
|
|
101136
102452
|
};
|
|
101137
|
-
url: '/automation/v1/runs/{
|
|
102453
|
+
url: '/automation/v1/runs/{run_id}/logs';
|
|
101138
102454
|
};
|
|
101139
102455
|
export type AutomationRunsLogsErrors = {
|
|
101140
102456
|
/**
|
|
@@ -101173,10 +102489,10 @@ export type AutomationRunsSourceData = {
|
|
|
101173
102489
|
/**
|
|
101174
102490
|
* Run ID (run_).
|
|
101175
102491
|
*/
|
|
101176
|
-
|
|
102492
|
+
run_id: string;
|
|
101177
102493
|
};
|
|
101178
102494
|
query?: never;
|
|
101179
|
-
url: '/automation/v1/runs/{
|
|
102495
|
+
url: '/automation/v1/runs/{run_id}/source';
|
|
101180
102496
|
};
|
|
101181
102497
|
export type AutomationRunsSourceErrors = {
|
|
101182
102498
|
/**
|
|
@@ -101231,7 +102547,9 @@ export type AutomationTriggersListData = {
|
|
|
101231
102547
|
*/
|
|
101232
102548
|
kind?: Array<'schedule' | 'webhook'>;
|
|
101233
102549
|
/**
|
|
101234
|
-
* Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
102550
|
+
* Deprecated, use status. Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value.
|
|
102551
|
+
*
|
|
102552
|
+
* @deprecated
|
|
101235
102553
|
*/
|
|
101236
102554
|
state?: Array<AutomationTriggerState>;
|
|
101237
102555
|
/**
|
|
@@ -101248,6 +102566,10 @@ export type AutomationTriggersListData = {
|
|
|
101248
102566
|
* Inclusive creation-time upper bound, as an ISO 8601 timestamp with timezone.
|
|
101249
102567
|
*/
|
|
101250
102568
|
'created_at[lte]'?: string;
|
|
102569
|
+
/**
|
|
102570
|
+
* 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.
|
|
102571
|
+
*/
|
|
102572
|
+
status?: Array<AutomationTriggerState>;
|
|
101251
102573
|
};
|
|
101252
102574
|
url: '/automation/v1/triggers';
|
|
101253
102575
|
};
|
|
@@ -101413,10 +102735,10 @@ export type AutomationTriggersDeleteData = {
|
|
|
101413
102735
|
/**
|
|
101414
102736
|
* Trigger ID (trg_).
|
|
101415
102737
|
*/
|
|
101416
|
-
|
|
102738
|
+
trigger_id: string;
|
|
101417
102739
|
};
|
|
101418
102740
|
query?: never;
|
|
101419
|
-
url: '/automation/v1/triggers/{
|
|
102741
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
101420
102742
|
};
|
|
101421
102743
|
export type AutomationTriggersDeleteErrors = {
|
|
101422
102744
|
/**
|
|
@@ -101450,10 +102772,10 @@ export type AutomationTriggersGetData = {
|
|
|
101450
102772
|
/**
|
|
101451
102773
|
* Trigger ID (trg_).
|
|
101452
102774
|
*/
|
|
101453
|
-
|
|
102775
|
+
trigger_id: string;
|
|
101454
102776
|
};
|
|
101455
102777
|
query?: never;
|
|
101456
|
-
url: '/automation/v1/triggers/{
|
|
102778
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
101457
102779
|
};
|
|
101458
102780
|
export type AutomationTriggersGetErrors = {
|
|
101459
102781
|
/**
|
|
@@ -101561,10 +102883,10 @@ export type AutomationTriggersPatchData = {
|
|
|
101561
102883
|
/**
|
|
101562
102884
|
* Trigger ID (trg_).
|
|
101563
102885
|
*/
|
|
101564
|
-
|
|
102886
|
+
trigger_id: string;
|
|
101565
102887
|
};
|
|
101566
102888
|
query?: never;
|
|
101567
|
-
url: '/automation/v1/triggers/{
|
|
102889
|
+
url: '/automation/v1/triggers/{trigger_id}';
|
|
101568
102890
|
};
|
|
101569
102891
|
export type AutomationTriggersPatchErrors = {
|
|
101570
102892
|
/**
|
|
@@ -101617,10 +102939,10 @@ export type AutomationTriggersPauseData = {
|
|
|
101617
102939
|
/**
|
|
101618
102940
|
* Trigger ID (trg_).
|
|
101619
102941
|
*/
|
|
101620
|
-
|
|
102942
|
+
trigger_id: string;
|
|
101621
102943
|
};
|
|
101622
102944
|
query?: never;
|
|
101623
|
-
url: '/automation/v1/triggers/{
|
|
102945
|
+
url: '/automation/v1/triggers/{trigger_id}/pause';
|
|
101624
102946
|
};
|
|
101625
102947
|
export type AutomationTriggersPauseErrors = {
|
|
101626
102948
|
/**
|
|
@@ -101654,10 +102976,10 @@ export type AutomationTriggersResumeData = {
|
|
|
101654
102976
|
/**
|
|
101655
102977
|
* Trigger ID (trg_).
|
|
101656
102978
|
*/
|
|
101657
|
-
|
|
102979
|
+
trigger_id: string;
|
|
101658
102980
|
};
|
|
101659
102981
|
query?: never;
|
|
101660
|
-
url: '/automation/v1/triggers/{
|
|
102982
|
+
url: '/automation/v1/triggers/{trigger_id}/resume';
|
|
101661
102983
|
};
|
|
101662
102984
|
export type AutomationTriggersResumeErrors = {
|
|
101663
102985
|
/**
|
|
@@ -101701,10 +103023,10 @@ export type AutomationTriggersFireData = {
|
|
|
101701
103023
|
/**
|
|
101702
103024
|
* Trigger ID (trg_).
|
|
101703
103025
|
*/
|
|
101704
|
-
|
|
103026
|
+
trigger_id: string;
|
|
101705
103027
|
};
|
|
101706
103028
|
query?: never;
|
|
101707
|
-
url: '/automation/v1/triggers/{
|
|
103029
|
+
url: '/automation/v1/triggers/{trigger_id}/fire';
|
|
101708
103030
|
};
|
|
101709
103031
|
export type AutomationTriggersFireErrors = {
|
|
101710
103032
|
/**
|
|
@@ -101747,10 +103069,10 @@ export type AutomationTriggersRotateWebhookData = {
|
|
|
101747
103069
|
/**
|
|
101748
103070
|
* Trigger ID (trg_).
|
|
101749
103071
|
*/
|
|
101750
|
-
|
|
103072
|
+
trigger_id: string;
|
|
101751
103073
|
};
|
|
101752
103074
|
query?: never;
|
|
101753
|
-
url: '/automation/v1/triggers/{
|
|
103075
|
+
url: '/automation/v1/triggers/{trigger_id}/rotate-webhook';
|
|
101754
103076
|
};
|
|
101755
103077
|
export type AutomationTriggersRotateWebhookErrors = {
|
|
101756
103078
|
/**
|
|
@@ -101780,7 +103102,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
101780
103102
|
/**
|
|
101781
103103
|
* Trigger ID (trg_).
|
|
101782
103104
|
*/
|
|
101783
|
-
|
|
103105
|
+
trigger_id: string;
|
|
101784
103106
|
};
|
|
101785
103107
|
query?: {
|
|
101786
103108
|
/**
|
|
@@ -101800,7 +103122,7 @@ export type AutomationTriggersFiringsData = {
|
|
|
101800
103122
|
*/
|
|
101801
103123
|
run_id?: string;
|
|
101802
103124
|
};
|
|
101803
|
-
url: '/automation/v1/triggers/{
|
|
103125
|
+
url: '/automation/v1/triggers/{trigger_id}/firings';
|
|
101804
103126
|
};
|
|
101805
103127
|
export type AutomationTriggersFiringsErrors = {
|
|
101806
103128
|
/**
|
|
@@ -102006,10 +103328,10 @@ export type AutomationHumanTasksGetData = {
|
|
|
102006
103328
|
/**
|
|
102007
103329
|
* Human task ID (htask_), from the list or the run's waits.
|
|
102008
103330
|
*/
|
|
102009
|
-
|
|
103331
|
+
task_id: string;
|
|
102010
103332
|
};
|
|
102011
103333
|
query?: never;
|
|
102012
|
-
url: '/automation/v1/human-tasks/{
|
|
103334
|
+
url: '/automation/v1/human-tasks/{task_id}';
|
|
102013
103335
|
};
|
|
102014
103336
|
export type AutomationHumanTasksGetErrors = {
|
|
102015
103337
|
/**
|
|
@@ -102045,10 +103367,10 @@ export type AutomationHumanTasksRespondData = {
|
|
|
102045
103367
|
/**
|
|
102046
103368
|
* Human task ID (htask_).
|
|
102047
103369
|
*/
|
|
102048
|
-
|
|
103370
|
+
task_id: string;
|
|
102049
103371
|
};
|
|
102050
103372
|
query?: never;
|
|
102051
|
-
url: '/automation/v1/human-tasks/{
|
|
103373
|
+
url: '/automation/v1/human-tasks/{task_id}/respond';
|
|
102052
103374
|
};
|
|
102053
103375
|
export type AutomationHumanTasksRespondErrors = {
|
|
102054
103376
|
/**
|
|
@@ -102103,10 +103425,10 @@ export type AutomationHumanTasksCancelData = {
|
|
|
102103
103425
|
/**
|
|
102104
103426
|
* Human task ID (htask_).
|
|
102105
103427
|
*/
|
|
102106
|
-
|
|
103428
|
+
task_id: string;
|
|
102107
103429
|
};
|
|
102108
103430
|
query?: never;
|
|
102109
|
-
url: '/automation/v1/human-tasks/{
|
|
103431
|
+
url: '/automation/v1/human-tasks/{task_id}/cancel';
|
|
102110
103432
|
};
|
|
102111
103433
|
export type AutomationHumanTasksCancelErrors = {
|
|
102112
103434
|
/**
|
|
@@ -102149,10 +103471,10 @@ export type AutomationHumanTasksDelegateData = {
|
|
|
102149
103471
|
/**
|
|
102150
103472
|
* Human task ID (htask_).
|
|
102151
103473
|
*/
|
|
102152
|
-
|
|
103474
|
+
task_id: string;
|
|
102153
103475
|
};
|
|
102154
103476
|
query?: never;
|
|
102155
|
-
url: '/automation/v1/human-tasks/{
|
|
103477
|
+
url: '/automation/v1/human-tasks/{task_id}/delegate';
|
|
102156
103478
|
};
|
|
102157
103479
|
export type AutomationHumanTasksDelegateErrors = {
|
|
102158
103480
|
/**
|
|
@@ -102193,14 +103515,14 @@ export type AutomationScriptsVaultsListData = {
|
|
|
102193
103515
|
/**
|
|
102194
103516
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
102195
103517
|
*/
|
|
102196
|
-
|
|
103518
|
+
namespace: string;
|
|
102197
103519
|
/**
|
|
102198
103520
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
102199
103521
|
*/
|
|
102200
103522
|
name: string;
|
|
102201
103523
|
};
|
|
102202
103524
|
query?: never;
|
|
102203
|
-
url: '/automation/v1/scripts/{
|
|
103525
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults';
|
|
102204
103526
|
};
|
|
102205
103527
|
export type AutomationScriptsVaultsListErrors = {
|
|
102206
103528
|
/**
|
|
@@ -102266,7 +103588,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
102266
103588
|
/**
|
|
102267
103589
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
102268
103590
|
*/
|
|
102269
|
-
|
|
103591
|
+
namespace: string;
|
|
102270
103592
|
/**
|
|
102271
103593
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
102272
103594
|
*/
|
|
@@ -102277,7 +103599,7 @@ export type AutomationScriptsVaultsDeleteData = {
|
|
|
102277
103599
|
alias: string;
|
|
102278
103600
|
};
|
|
102279
103601
|
query?: never;
|
|
102280
|
-
url: '/automation/v1/scripts/{
|
|
103602
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
102281
103603
|
};
|
|
102282
103604
|
export type AutomationScriptsVaultsDeleteErrors = {
|
|
102283
103605
|
/**
|
|
@@ -102312,7 +103634,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
102312
103634
|
/**
|
|
102313
103635
|
* Namespace from automation.scripts.list or create; identifies the saved script, independently of versions.
|
|
102314
103636
|
*/
|
|
102315
|
-
|
|
103637
|
+
namespace: string;
|
|
102316
103638
|
/**
|
|
102317
103639
|
* Resource name from automation.scripts.list or create; combine with ns to identify the saved script.
|
|
102318
103640
|
*/
|
|
@@ -102323,7 +103645,7 @@ export type AutomationScriptsVaultsSetData = {
|
|
|
102323
103645
|
alias: string;
|
|
102324
103646
|
};
|
|
102325
103647
|
query?: never;
|
|
102326
|
-
url: '/automation/v1/scripts/{
|
|
103648
|
+
url: '/automation/v1/scripts/{namespace}/{name}/vaults/{alias}';
|
|
102327
103649
|
};
|
|
102328
103650
|
export type AutomationScriptsVaultsSetErrors = {
|
|
102329
103651
|
/**
|
|
@@ -102393,14 +103715,14 @@ export type AutomationWorkflowsVaultsListData = {
|
|
|
102393
103715
|
/**
|
|
102394
103716
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
102395
103717
|
*/
|
|
102396
|
-
|
|
103718
|
+
namespace: string;
|
|
102397
103719
|
/**
|
|
102398
103720
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
102399
103721
|
*/
|
|
102400
103722
|
name: string;
|
|
102401
103723
|
};
|
|
102402
103724
|
query?: never;
|
|
102403
|
-
url: '/automation/v1/workflows/{
|
|
103725
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults';
|
|
102404
103726
|
};
|
|
102405
103727
|
export type AutomationWorkflowsVaultsListErrors = {
|
|
102406
103728
|
/**
|
|
@@ -102466,7 +103788,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
102466
103788
|
/**
|
|
102467
103789
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
102468
103790
|
*/
|
|
102469
|
-
|
|
103791
|
+
namespace: string;
|
|
102470
103792
|
/**
|
|
102471
103793
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
102472
103794
|
*/
|
|
@@ -102477,7 +103799,7 @@ export type AutomationWorkflowsVaultsDeleteData = {
|
|
|
102477
103799
|
alias: string;
|
|
102478
103800
|
};
|
|
102479
103801
|
query?: never;
|
|
102480
|
-
url: '/automation/v1/workflows/{
|
|
103802
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
102481
103803
|
};
|
|
102482
103804
|
export type AutomationWorkflowsVaultsDeleteErrors = {
|
|
102483
103805
|
/**
|
|
@@ -102512,7 +103834,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
102512
103834
|
/**
|
|
102513
103835
|
* Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions.
|
|
102514
103836
|
*/
|
|
102515
|
-
|
|
103837
|
+
namespace: string;
|
|
102516
103838
|
/**
|
|
102517
103839
|
* Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow.
|
|
102518
103840
|
*/
|
|
@@ -102523,7 +103845,7 @@ export type AutomationWorkflowsVaultsSetData = {
|
|
|
102523
103845
|
alias: string;
|
|
102524
103846
|
};
|
|
102525
103847
|
query?: never;
|
|
102526
|
-
url: '/automation/v1/workflows/{
|
|
103848
|
+
url: '/automation/v1/workflows/{namespace}/{name}/vaults/{alias}';
|
|
102527
103849
|
};
|
|
102528
103850
|
export type AutomationWorkflowsVaultsSetErrors = {
|
|
102529
103851
|
/**
|
|
@@ -103370,6 +104692,60 @@ export type CanvasListLibraryVersionsResponses = {
|
|
|
103370
104692
|
200: CanvasLibraryVersionPage;
|
|
103371
104693
|
};
|
|
103372
104694
|
export type CanvasListLibraryVersionsResponse = CanvasListLibraryVersionsResponses[keyof CanvasListLibraryVersionsResponses];
|
|
104695
|
+
export type CanvasRetrieveProcessStepBriefData = {
|
|
104696
|
+
body?: never;
|
|
104697
|
+
path: {
|
|
104698
|
+
/**
|
|
104699
|
+
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
104700
|
+
*/
|
|
104701
|
+
canvas_id: string;
|
|
104702
|
+
/**
|
|
104703
|
+
* Node id of the process frame, or of the ref instance that is one production of a library process; the outputs of a production point at this id.
|
|
104704
|
+
*/
|
|
104705
|
+
process_id: string;
|
|
104706
|
+
/**
|
|
104707
|
+
* Step key from the requirement block, such as 1 or 9a; not the node id of the step frame.
|
|
104708
|
+
*/
|
|
104709
|
+
step_id: string;
|
|
104710
|
+
};
|
|
104711
|
+
query?: {
|
|
104712
|
+
/**
|
|
104713
|
+
* Decimal version from versions.list, or its earliest_restorable_version, for a read-only historical snapshot; omit to read current state. Unavailable versions return VERSION_NOT_FOUND.
|
|
104714
|
+
*/
|
|
104715
|
+
version?: string;
|
|
104716
|
+
};
|
|
104717
|
+
url: '/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief';
|
|
104718
|
+
};
|
|
104719
|
+
export type CanvasRetrieveProcessStepBriefErrors = {
|
|
104720
|
+
/**
|
|
104721
|
+
* INVALID_PARAMS means a field, query value or identifier violates the documented format or range; correct the indicated input before retrying.
|
|
104722
|
+
*/
|
|
104723
|
+
400: CanvasCanvasError;
|
|
104724
|
+
/**
|
|
104725
|
+
* The bearer API key is missing or invalid; provide a valid Praxis API key before retrying.
|
|
104726
|
+
*/
|
|
104727
|
+
401: CanvasCanvasError;
|
|
104728
|
+
/**
|
|
104729
|
+
* The API key lacks permission for this operation; use a key with the required canvas access in the owning organization.
|
|
104730
|
+
*/
|
|
104731
|
+
403: CanvasCanvasError;
|
|
104732
|
+
/**
|
|
104733
|
+
* CANVAS_NOT_FOUND means the canvas is missing or belongs to another organization. NODE_NOT_FOUND means process_id is not a process on this canvas or step is not one of its step keys; read the process with nodes.list to see its requirement blocks.
|
|
104734
|
+
*/
|
|
104735
|
+
404: CanvasCanvasError;
|
|
104736
|
+
/**
|
|
104737
|
+
* INTERNAL means the service could not complete the request; inspect the current canvas before retrying a write to avoid duplicating an already committed edit.
|
|
104738
|
+
*/
|
|
104739
|
+
500: CanvasCanvasError;
|
|
104740
|
+
};
|
|
104741
|
+
export type CanvasRetrieveProcessStepBriefError = CanvasRetrieveProcessStepBriefErrors[keyof CanvasRetrieveProcessStepBriefErrors];
|
|
104742
|
+
export type CanvasRetrieveProcessStepBriefResponses = {
|
|
104743
|
+
/**
|
|
104744
|
+
* The step brief at the requested canvas version.
|
|
104745
|
+
*/
|
|
104746
|
+
200: CanvasProcessStepBrief;
|
|
104747
|
+
};
|
|
104748
|
+
export type CanvasRetrieveProcessStepBriefResponse = CanvasRetrieveProcessStepBriefResponses[keyof CanvasRetrieveProcessStepBriefResponses];
|
|
103373
104749
|
export type CanvasListLibrariesData = {
|
|
103374
104750
|
body?: never;
|
|
103375
104751
|
path?: never;
|
|
@@ -113724,6 +115100,10 @@ export type DevopsPullRequestsRerunGateErrors = {
|
|
|
113724
115100
|
* PULL_REQUEST_NOT_FOUND means no pull request with that id is visible to this organization — one of another organization is never readable; list the project's pull requests and use an id from that answer.
|
|
113725
115101
|
*/
|
|
113726
115102
|
404: DevopsDevOpsError;
|
|
115103
|
+
/**
|
|
115104
|
+
* GATE_RERUN_LIMITED: this head's checks were already restarted 3 times in the last hour, or another rerun of this head is restarting them right now; the message says which.
|
|
115105
|
+
*/
|
|
115106
|
+
429: DevopsDevOpsError;
|
|
113727
115107
|
/**
|
|
113728
115108
|
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
113729
115109
|
*/
|
|
@@ -113737,6 +115117,51 @@ export type DevopsPullRequestsRerunGateResponses = {
|
|
|
113737
115117
|
200: DevopsPullRequest;
|
|
113738
115118
|
};
|
|
113739
115119
|
export type DevopsPullRequestsRerunGateResponse = DevopsPullRequestsRerunGateResponses[keyof DevopsPullRequestsRerunGateResponses];
|
|
115120
|
+
export type DevopsPullRequestsOverrideGateData = {
|
|
115121
|
+
body: DevopsPullRequestOverrideGateRequest;
|
|
115122
|
+
path: {
|
|
115123
|
+
/**
|
|
115124
|
+
* The pull request's platform id (pr_…) from a pull request list, not GitHub's pull request number; the retrieve, rerunGate, merge and recordVerdict calls all address the pull request by it.
|
|
115125
|
+
*/
|
|
115126
|
+
id: string;
|
|
115127
|
+
};
|
|
115128
|
+
query?: never;
|
|
115129
|
+
url: '/devops/v1/pull-requests/{id}:overrideGate';
|
|
115130
|
+
};
|
|
115131
|
+
export type DevopsPullRequestsOverrideGateErrors = {
|
|
115132
|
+
/**
|
|
115133
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
115134
|
+
*/
|
|
115135
|
+
400: DevopsDevOpsError;
|
|
115136
|
+
/**
|
|
115137
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
115138
|
+
*/
|
|
115139
|
+
401: DevopsDevOpsError;
|
|
115140
|
+
/**
|
|
115141
|
+
* GATE_OVERRIDE_NOT_AUTHORIZED when authorizedBy holds no active assignment to a position listed in practice-config (or the list or the workforce assignments could not be read), or the caller's key lacks the permission.
|
|
115142
|
+
*/
|
|
115143
|
+
403: DevopsDevOpsError;
|
|
115144
|
+
/**
|
|
115145
|
+
* PULL_REQUEST_NOT_FOUND means no pull request with that id is visible to this organization — one of another organization is never readable; list the project's pull requests and use an id from that answer.
|
|
115146
|
+
*/
|
|
115147
|
+
404: DevopsDevOpsError;
|
|
115148
|
+
/**
|
|
115149
|
+
* HEAD_MOVED when headSha is not the pull request's current head, or PULL_REQUEST_NOT_OPEN when the pull request is merged or closed.
|
|
115150
|
+
*/
|
|
115151
|
+
409: DevopsDevOpsError;
|
|
115152
|
+
/**
|
|
115153
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
115154
|
+
*/
|
|
115155
|
+
500: DevopsDevOpsError;
|
|
115156
|
+
};
|
|
115157
|
+
export type DevopsPullRequestsOverrideGateError = DevopsPullRequestsOverrideGateErrors[keyof DevopsPullRequestsOverrideGateErrors];
|
|
115158
|
+
export type DevopsPullRequestsOverrideGateResponses = {
|
|
115159
|
+
/**
|
|
115160
|
+
* The pull request with the gate decided again under the override: the covered checks show their real result with counted false and overriddenBy.
|
|
115161
|
+
*/
|
|
115162
|
+
200: DevopsPullRequest;
|
|
115163
|
+
};
|
|
115164
|
+
export type DevopsPullRequestsOverrideGateResponse = DevopsPullRequestsOverrideGateResponses[keyof DevopsPullRequestsOverrideGateResponses];
|
|
113740
115165
|
export type DevopsPullRequestsMergeData = {
|
|
113741
115166
|
body?: DevopsPullRequestMergeRequest;
|
|
113742
115167
|
path: {
|
|
@@ -115002,6 +116427,805 @@ export type DevopsUnitsTransitionsListResponses = {
|
|
|
115002
116427
|
200: DevopsUnitTransitionPage;
|
|
115003
116428
|
};
|
|
115004
116429
|
export type DevopsUnitsTransitionsListResponse = DevopsUnitsTransitionsListResponses[keyof DevopsUnitsTransitionsListResponses];
|
|
116430
|
+
export type EndCreateGrantCodeData = {
|
|
116431
|
+
/**
|
|
116432
|
+
* The end user to sign in and the resources the sign-in may reach.
|
|
116433
|
+
*/
|
|
116434
|
+
body: EndGrantCodeInput;
|
|
116435
|
+
path?: never;
|
|
116436
|
+
query?: never;
|
|
116437
|
+
url: '/end/v1/grant_codes';
|
|
116438
|
+
};
|
|
116439
|
+
export type EndCreateGrantCodeErrors = {
|
|
116440
|
+
/**
|
|
116441
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116442
|
+
*/
|
|
116443
|
+
400: EndErrorEnvelope;
|
|
116444
|
+
/**
|
|
116445
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116446
|
+
*/
|
|
116447
|
+
401: EndErrorEnvelope;
|
|
116448
|
+
/**
|
|
116449
|
+
* The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
|
|
116450
|
+
*/
|
|
116451
|
+
403: EndErrorEnvelope;
|
|
116452
|
+
/**
|
|
116453
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116454
|
+
*/
|
|
116455
|
+
502: EndErrorEnvelope;
|
|
116456
|
+
/**
|
|
116457
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116458
|
+
*/
|
|
116459
|
+
503: EndErrorEnvelope;
|
|
116460
|
+
};
|
|
116461
|
+
export type EndCreateGrantCodeError = EndCreateGrantCodeErrors[keyof EndCreateGrantCodeErrors];
|
|
116462
|
+
export type EndCreateGrantCodeResponses = {
|
|
116463
|
+
/**
|
|
116464
|
+
* The one-time grant code and the moment it stops being exchangeable.
|
|
116465
|
+
*/
|
|
116466
|
+
201: EndGrantCode;
|
|
116467
|
+
};
|
|
116468
|
+
export type EndCreateGrantCodeResponse = EndCreateGrantCodeResponses[keyof EndCreateGrantCodeResponses];
|
|
116469
|
+
export type EndCreateAccessTokenData = {
|
|
116470
|
+
/**
|
|
116471
|
+
* Exactly one credential to exchange: a grant code from grant_codes, or a publishable key for an anonymous visitor.
|
|
116472
|
+
*/
|
|
116473
|
+
body: EndAccessTokenInput;
|
|
116474
|
+
headers?: {
|
|
116475
|
+
/**
|
|
116476
|
+
* Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch.
|
|
116477
|
+
*/
|
|
116478
|
+
Origin?: string;
|
|
116479
|
+
};
|
|
116480
|
+
path?: never;
|
|
116481
|
+
query?: never;
|
|
116482
|
+
url: '/end/v1/access_tokens';
|
|
116483
|
+
};
|
|
116484
|
+
export type EndCreateAccessTokenErrors = {
|
|
116485
|
+
/**
|
|
116486
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116487
|
+
*/
|
|
116488
|
+
400: EndErrorEnvelope;
|
|
116489
|
+
/**
|
|
116490
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116491
|
+
*/
|
|
116492
|
+
401: EndErrorEnvelope;
|
|
116493
|
+
/**
|
|
116494
|
+
* The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
|
|
116495
|
+
*/
|
|
116496
|
+
403: EndErrorEnvelope;
|
|
116497
|
+
/**
|
|
116498
|
+
* One of four limits on the exchange, each with a Retry-After header in seconds. RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. PUBLISHABLE_KEY_RATE_LIMITED: the publishable key has spent its anon_rate_per_min exchanges for this UTC minute, whoever sent them; Retry-After is the rest of the minute. PUBLISHABLE_KEY_DAILY_CAP_REACHED: the key has admitted daily_session_cap new anonymous visitors in this UTC day; a new visitor is refused until 00:00 UTC (Retry-After), while a returning visitor that sends its continuation_token is still admitted. PUBLISHABLE_KEY_DAILY_SPEND_CAP_REACHED: what the usage of this key has cost in this UTC day reached its daily_spend_cap; every visitor, a returning one included, is refused until 00:00 UTC (Retry-After). Wait before retrying, never retry immediately; raise or clear the key limit with praxis.end.publishableKeys.update if it is set too low.
|
|
116499
|
+
*/
|
|
116500
|
+
429: EndErrorEnvelope;
|
|
116501
|
+
/**
|
|
116502
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116503
|
+
*/
|
|
116504
|
+
502: EndErrorEnvelope;
|
|
116505
|
+
/**
|
|
116506
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116507
|
+
*/
|
|
116508
|
+
503: EndErrorEnvelope;
|
|
116509
|
+
};
|
|
116510
|
+
export type EndCreateAccessTokenError = EndCreateAccessTokenErrors[keyof EndCreateAccessTokenErrors];
|
|
116511
|
+
export type EndCreateAccessTokenResponses = {
|
|
116512
|
+
/**
|
|
116513
|
+
* The new access token, the sign-in behind it and the end user it belongs to.
|
|
116514
|
+
*/
|
|
116515
|
+
201: EndAccessToken;
|
|
116516
|
+
};
|
|
116517
|
+
export type EndCreateAccessTokenResponse = EndCreateAccessTokenResponses[keyof EndCreateAccessTokenResponses];
|
|
116518
|
+
export type EndRenewAccessTokenData = {
|
|
116519
|
+
body?: never;
|
|
116520
|
+
path?: never;
|
|
116521
|
+
query?: never;
|
|
116522
|
+
url: '/end/v1/access_tokens/renew';
|
|
116523
|
+
};
|
|
116524
|
+
export type EndRenewAccessTokenErrors = {
|
|
116525
|
+
/**
|
|
116526
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116527
|
+
*/
|
|
116528
|
+
400: EndErrorEnvelope;
|
|
116529
|
+
/**
|
|
116530
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116531
|
+
*/
|
|
116532
|
+
401: EndErrorEnvelope;
|
|
116533
|
+
/**
|
|
116534
|
+
* The credential is valid but the call is refused: ORIGIN_NOT_ALLOWED when the request Origin does not satisfy the sign-in or grant binding, END_USER_BLOCKED when the directory has blocked that end user, RESOURCE_NOT_GRANTED when the resource asked for is outside what the sign-in carries. Fix the cause the message names — send the bound origin, unblock the end user, or grant the resource in the next grant code — then retry.
|
|
116535
|
+
*/
|
|
116536
|
+
403: EndErrorEnvelope;
|
|
116537
|
+
/**
|
|
116538
|
+
* RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. Wait the seconds in the Retry-After response header and send the request again; do not retry immediately.
|
|
116539
|
+
*/
|
|
116540
|
+
429: EndErrorEnvelope;
|
|
116541
|
+
/**
|
|
116542
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116543
|
+
*/
|
|
116544
|
+
502: EndErrorEnvelope;
|
|
116545
|
+
/**
|
|
116546
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116547
|
+
*/
|
|
116548
|
+
503: EndErrorEnvelope;
|
|
116549
|
+
};
|
|
116550
|
+
export type EndRenewAccessTokenError = EndRenewAccessTokenErrors[keyof EndRenewAccessTokenErrors];
|
|
116551
|
+
export type EndRenewAccessTokenResponses = {
|
|
116552
|
+
/**
|
|
116553
|
+
* A fresh access token for the same sign-in, with its new expiry.
|
|
116554
|
+
*/
|
|
116555
|
+
201: EndAccessToken;
|
|
116556
|
+
};
|
|
116557
|
+
export type EndRenewAccessTokenResponse = EndRenewAccessTokenResponses[keyof EndRenewAccessTokenResponses];
|
|
116558
|
+
export type EndRevokeCurrentTokensData = {
|
|
116559
|
+
body?: never;
|
|
116560
|
+
path?: never;
|
|
116561
|
+
query?: never;
|
|
116562
|
+
url: '/end/v1/access_tokens/current';
|
|
116563
|
+
};
|
|
116564
|
+
export type EndRevokeCurrentTokensErrors = {
|
|
116565
|
+
/**
|
|
116566
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116567
|
+
*/
|
|
116568
|
+
400: EndErrorEnvelope;
|
|
116569
|
+
/**
|
|
116570
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116571
|
+
*/
|
|
116572
|
+
401: EndErrorEnvelope;
|
|
116573
|
+
/**
|
|
116574
|
+
* RATE_LIMITED: the caller IP has spent this door per-minute anonymous budget. Wait the seconds in the Retry-After response header and send the request again; do not retry immediately.
|
|
116575
|
+
*/
|
|
116576
|
+
429: EndErrorEnvelope;
|
|
116577
|
+
/**
|
|
116578
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116579
|
+
*/
|
|
116580
|
+
502: EndErrorEnvelope;
|
|
116581
|
+
/**
|
|
116582
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116583
|
+
*/
|
|
116584
|
+
503: EndErrorEnvelope;
|
|
116585
|
+
};
|
|
116586
|
+
export type EndRevokeCurrentTokensError = EndRevokeCurrentTokensErrors[keyof EndRevokeCurrentTokensErrors];
|
|
116587
|
+
export type EndRevokeCurrentTokensResponses = {
|
|
116588
|
+
/**
|
|
116589
|
+
* The sign-in and its tokens are revoked; the response body is empty.
|
|
116590
|
+
*/
|
|
116591
|
+
200: unknown;
|
|
116592
|
+
};
|
|
116593
|
+
export type EndListUsersData = {
|
|
116594
|
+
body?: never;
|
|
116595
|
+
path?: never;
|
|
116596
|
+
query?: {
|
|
116597
|
+
/**
|
|
116598
|
+
* Maximum end users in one page, from 1 to 100; defaults to 50.
|
|
116599
|
+
*/
|
|
116600
|
+
page_size?: number;
|
|
116601
|
+
/**
|
|
116602
|
+
* next_page from the preceding list response with the same filters; omit for the first page.
|
|
116603
|
+
*/
|
|
116604
|
+
page_token?: string;
|
|
116605
|
+
/**
|
|
116606
|
+
* Only end users of this kind; identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key. Omit for both.
|
|
116607
|
+
*/
|
|
116608
|
+
type?: 'identified' | 'anonymous';
|
|
116609
|
+
/**
|
|
116610
|
+
* true for blocked end users only, false for end users who are not blocked; omit for both.
|
|
116611
|
+
*/
|
|
116612
|
+
blocked?: boolean;
|
|
116613
|
+
/**
|
|
116614
|
+
* Only end users of one product, as <type>:<id>, for example content:cnt_0123456789abcdef, agent:agent_123 or application:app_456.
|
|
116615
|
+
*/
|
|
116616
|
+
resource?: string;
|
|
116617
|
+
/**
|
|
116618
|
+
* Only end users whose end user id starts with this prefix, for example cus_; omit for every id.
|
|
116619
|
+
*/
|
|
116620
|
+
q?: string;
|
|
116621
|
+
};
|
|
116622
|
+
url: '/end/v1/users';
|
|
116623
|
+
};
|
|
116624
|
+
export type EndListUsersErrors = {
|
|
116625
|
+
/**
|
|
116626
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116627
|
+
*/
|
|
116628
|
+
400: EndErrorEnvelope;
|
|
116629
|
+
/**
|
|
116630
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116631
|
+
*/
|
|
116632
|
+
401: EndErrorEnvelope;
|
|
116633
|
+
/**
|
|
116634
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116635
|
+
*/
|
|
116636
|
+
502: EndErrorEnvelope;
|
|
116637
|
+
/**
|
|
116638
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116639
|
+
*/
|
|
116640
|
+
503: EndErrorEnvelope;
|
|
116641
|
+
};
|
|
116642
|
+
export type EndListUsersError = EndListUsersErrors[keyof EndListUsersErrors];
|
|
116643
|
+
export type EndListUsersResponses = {
|
|
116644
|
+
/**
|
|
116645
|
+
* One page of end users, most recently seen first, with each one's product use.
|
|
116646
|
+
*/
|
|
116647
|
+
200: EndEndUserPage;
|
|
116648
|
+
};
|
|
116649
|
+
export type EndListUsersResponse = EndListUsersResponses[keyof EndListUsersResponses];
|
|
116650
|
+
export type EndDeleteUserData = {
|
|
116651
|
+
body?: never;
|
|
116652
|
+
path: {
|
|
116653
|
+
/**
|
|
116654
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116655
|
+
*/
|
|
116656
|
+
end_user_id: string;
|
|
116657
|
+
};
|
|
116658
|
+
query: {
|
|
116659
|
+
/**
|
|
116660
|
+
* The end_user_id being deleted, repeated exactly; the service compares it with the path and refuses a mismatch with 400.
|
|
116661
|
+
*/
|
|
116662
|
+
confirm: string;
|
|
116663
|
+
};
|
|
116664
|
+
url: '/end/v1/users/{end_user_id}';
|
|
116665
|
+
};
|
|
116666
|
+
export type EndDeleteUserErrors = {
|
|
116667
|
+
/**
|
|
116668
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116669
|
+
*/
|
|
116670
|
+
400: EndErrorEnvelope;
|
|
116671
|
+
/**
|
|
116672
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116673
|
+
*/
|
|
116674
|
+
401: EndErrorEnvelope;
|
|
116675
|
+
/**
|
|
116676
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116677
|
+
*/
|
|
116678
|
+
404: EndErrorEnvelope;
|
|
116679
|
+
/**
|
|
116680
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116681
|
+
*/
|
|
116682
|
+
502: EndErrorEnvelope;
|
|
116683
|
+
/**
|
|
116684
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116685
|
+
*/
|
|
116686
|
+
503: EndErrorEnvelope;
|
|
116687
|
+
};
|
|
116688
|
+
export type EndDeleteUserError = EndDeleteUserErrors[keyof EndDeleteUserErrors];
|
|
116689
|
+
export type EndDeleteUserResponses = {
|
|
116690
|
+
/**
|
|
116691
|
+
* The directory record is gone and the deletion has been announced to the products.
|
|
116692
|
+
*/
|
|
116693
|
+
200: EndEndUserDeleted;
|
|
116694
|
+
};
|
|
116695
|
+
export type EndDeleteUserResponse = EndDeleteUserResponses[keyof EndDeleteUserResponses];
|
|
116696
|
+
export type EndGetUserData = {
|
|
116697
|
+
body?: never;
|
|
116698
|
+
path: {
|
|
116699
|
+
/**
|
|
116700
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116701
|
+
*/
|
|
116702
|
+
end_user_id: string;
|
|
116703
|
+
};
|
|
116704
|
+
query?: {
|
|
116705
|
+
/**
|
|
116706
|
+
* Comma-separated extras to include; products for the products this end user has used, sign_ins for its sign-ins, usage for its recorded usage. Omit to get only the directory record.
|
|
116707
|
+
*/
|
|
116708
|
+
expand?: string;
|
|
116709
|
+
};
|
|
116710
|
+
url: '/end/v1/users/{end_user_id}';
|
|
116711
|
+
};
|
|
116712
|
+
export type EndGetUserErrors = {
|
|
116713
|
+
/**
|
|
116714
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116715
|
+
*/
|
|
116716
|
+
400: EndErrorEnvelope;
|
|
116717
|
+
/**
|
|
116718
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116719
|
+
*/
|
|
116720
|
+
401: EndErrorEnvelope;
|
|
116721
|
+
/**
|
|
116722
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116723
|
+
*/
|
|
116724
|
+
404: EndErrorEnvelope;
|
|
116725
|
+
/**
|
|
116726
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116727
|
+
*/
|
|
116728
|
+
502: EndErrorEnvelope;
|
|
116729
|
+
/**
|
|
116730
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116731
|
+
*/
|
|
116732
|
+
503: EndErrorEnvelope;
|
|
116733
|
+
};
|
|
116734
|
+
export type EndGetUserError = EndGetUserErrors[keyof EndGetUserErrors];
|
|
116735
|
+
export type EndGetUserResponses = {
|
|
116736
|
+
/**
|
|
116737
|
+
* The end user, with the extras named by expand when it was sent.
|
|
116738
|
+
*/
|
|
116739
|
+
200: EndEndUser;
|
|
116740
|
+
};
|
|
116741
|
+
export type EndGetUserResponse = EndGetUserResponses[keyof EndGetUserResponses];
|
|
116742
|
+
export type EndGetUsageData = {
|
|
116743
|
+
body?: never;
|
|
116744
|
+
path: {
|
|
116745
|
+
/**
|
|
116746
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116747
|
+
*/
|
|
116748
|
+
end_user_id: string;
|
|
116749
|
+
};
|
|
116750
|
+
query?: {
|
|
116751
|
+
/**
|
|
116752
|
+
* Start of the window as an RFC 3339 time, inclusive; omit for the beginning of the record.
|
|
116753
|
+
*/
|
|
116754
|
+
from?: string;
|
|
116755
|
+
/**
|
|
116756
|
+
* End of the window as an RFC 3339 time, exclusive; omit for now.
|
|
116757
|
+
*/
|
|
116758
|
+
to?: string;
|
|
116759
|
+
};
|
|
116760
|
+
url: '/end/v1/users/{end_user_id}/usage';
|
|
116761
|
+
};
|
|
116762
|
+
export type EndGetUsageErrors = {
|
|
116763
|
+
/**
|
|
116764
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116765
|
+
*/
|
|
116766
|
+
400: EndErrorEnvelope;
|
|
116767
|
+
/**
|
|
116768
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116769
|
+
*/
|
|
116770
|
+
401: EndErrorEnvelope;
|
|
116771
|
+
/**
|
|
116772
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116773
|
+
*/
|
|
116774
|
+
404: EndErrorEnvelope;
|
|
116775
|
+
/**
|
|
116776
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116777
|
+
*/
|
|
116778
|
+
502: EndErrorEnvelope;
|
|
116779
|
+
/**
|
|
116780
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116781
|
+
*/
|
|
116782
|
+
503: EndErrorEnvelope;
|
|
116783
|
+
};
|
|
116784
|
+
export type EndGetUsageError = EndGetUsageErrors[keyof EndGetUsageErrors];
|
|
116785
|
+
export type EndGetUsageResponses = {
|
|
116786
|
+
/**
|
|
116787
|
+
* The end user's recorded cost with its per-product and per-day breakdowns.
|
|
116788
|
+
*/
|
|
116789
|
+
200: EndEndUserUsage;
|
|
116790
|
+
};
|
|
116791
|
+
export type EndGetUsageResponse = EndGetUsageResponses[keyof EndGetUsageResponses];
|
|
116792
|
+
export type EndBlockUserData = {
|
|
116793
|
+
/**
|
|
116794
|
+
* Optionally the reason for the block, recorded with the block fact.
|
|
116795
|
+
*/
|
|
116796
|
+
body?: EndBlockInput;
|
|
116797
|
+
path: {
|
|
116798
|
+
/**
|
|
116799
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116800
|
+
*/
|
|
116801
|
+
end_user_id: string;
|
|
116802
|
+
};
|
|
116803
|
+
query?: never;
|
|
116804
|
+
url: '/end/v1/users/{end_user_id}/block';
|
|
116805
|
+
};
|
|
116806
|
+
export type EndBlockUserErrors = {
|
|
116807
|
+
/**
|
|
116808
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116809
|
+
*/
|
|
116810
|
+
400: EndErrorEnvelope;
|
|
116811
|
+
/**
|
|
116812
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116813
|
+
*/
|
|
116814
|
+
401: EndErrorEnvelope;
|
|
116815
|
+
/**
|
|
116816
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116817
|
+
*/
|
|
116818
|
+
404: EndErrorEnvelope;
|
|
116819
|
+
/**
|
|
116820
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116821
|
+
*/
|
|
116822
|
+
502: EndErrorEnvelope;
|
|
116823
|
+
/**
|
|
116824
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116825
|
+
*/
|
|
116826
|
+
503: EndErrorEnvelope;
|
|
116827
|
+
};
|
|
116828
|
+
export type EndBlockUserError = EndBlockUserErrors[keyof EndBlockUserErrors];
|
|
116829
|
+
export type EndBlockUserResponses = {
|
|
116830
|
+
/**
|
|
116831
|
+
* The end user with its block fact set.
|
|
116832
|
+
*/
|
|
116833
|
+
200: EndEndUser;
|
|
116834
|
+
};
|
|
116835
|
+
export type EndBlockUserResponse = EndBlockUserResponses[keyof EndBlockUserResponses];
|
|
116836
|
+
export type EndUnblockUserData = {
|
|
116837
|
+
body?: never;
|
|
116838
|
+
path: {
|
|
116839
|
+
/**
|
|
116840
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116841
|
+
*/
|
|
116842
|
+
end_user_id: string;
|
|
116843
|
+
};
|
|
116844
|
+
query?: never;
|
|
116845
|
+
url: '/end/v1/users/{end_user_id}/unblock';
|
|
116846
|
+
};
|
|
116847
|
+
export type EndUnblockUserErrors = {
|
|
116848
|
+
/**
|
|
116849
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116850
|
+
*/
|
|
116851
|
+
400: EndErrorEnvelope;
|
|
116852
|
+
/**
|
|
116853
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116854
|
+
*/
|
|
116855
|
+
401: EndErrorEnvelope;
|
|
116856
|
+
/**
|
|
116857
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116858
|
+
*/
|
|
116859
|
+
404: EndErrorEnvelope;
|
|
116860
|
+
/**
|
|
116861
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116862
|
+
*/
|
|
116863
|
+
502: EndErrorEnvelope;
|
|
116864
|
+
/**
|
|
116865
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116866
|
+
*/
|
|
116867
|
+
503: EndErrorEnvelope;
|
|
116868
|
+
};
|
|
116869
|
+
export type EndUnblockUserError = EndUnblockUserErrors[keyof EndUnblockUserErrors];
|
|
116870
|
+
export type EndUnblockUserResponses = {
|
|
116871
|
+
/**
|
|
116872
|
+
* The end user with no block fact.
|
|
116873
|
+
*/
|
|
116874
|
+
200: EndEndUser;
|
|
116875
|
+
};
|
|
116876
|
+
export type EndUnblockUserResponse = EndUnblockUserResponses[keyof EndUnblockUserResponses];
|
|
116877
|
+
export type EndRevokeTokensData = {
|
|
116878
|
+
body?: never;
|
|
116879
|
+
path: {
|
|
116880
|
+
/**
|
|
116881
|
+
* End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND.
|
|
116882
|
+
*/
|
|
116883
|
+
end_user_id: string;
|
|
116884
|
+
};
|
|
116885
|
+
query?: never;
|
|
116886
|
+
url: '/end/v1/users/{end_user_id}/revoke_tokens';
|
|
116887
|
+
};
|
|
116888
|
+
export type EndRevokeTokensErrors = {
|
|
116889
|
+
/**
|
|
116890
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116891
|
+
*/
|
|
116892
|
+
400: EndErrorEnvelope;
|
|
116893
|
+
/**
|
|
116894
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116895
|
+
*/
|
|
116896
|
+
401: EndErrorEnvelope;
|
|
116897
|
+
/**
|
|
116898
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
116899
|
+
*/
|
|
116900
|
+
404: EndErrorEnvelope;
|
|
116901
|
+
/**
|
|
116902
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116903
|
+
*/
|
|
116904
|
+
502: EndErrorEnvelope;
|
|
116905
|
+
/**
|
|
116906
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116907
|
+
*/
|
|
116908
|
+
503: EndErrorEnvelope;
|
|
116909
|
+
};
|
|
116910
|
+
export type EndRevokeTokensError = EndRevokeTokensErrors[keyof EndRevokeTokensErrors];
|
|
116911
|
+
export type EndRevokeTokensResponses = {
|
|
116912
|
+
/**
|
|
116913
|
+
* How many sign-ins were revoked; the end user stays in the directory.
|
|
116914
|
+
*/
|
|
116915
|
+
200: EndTokensRevoked;
|
|
116916
|
+
};
|
|
116917
|
+
export type EndRevokeTokensResponse = EndRevokeTokensResponses[keyof EndRevokeTokensResponses];
|
|
116918
|
+
export type EndListPublishableKeysData = {
|
|
116919
|
+
body?: never;
|
|
116920
|
+
path?: never;
|
|
116921
|
+
query?: {
|
|
116922
|
+
/**
|
|
116923
|
+
* Maximum keys in one page, from 1 to 100; defaults to 50.
|
|
116924
|
+
*/
|
|
116925
|
+
page_size?: number;
|
|
116926
|
+
/**
|
|
116927
|
+
* next_page from the preceding key list response; omit for the first page.
|
|
116928
|
+
*/
|
|
116929
|
+
page_token?: string;
|
|
116930
|
+
};
|
|
116931
|
+
url: '/end/v1/publishable_keys';
|
|
116932
|
+
};
|
|
116933
|
+
export type EndListPublishableKeysErrors = {
|
|
116934
|
+
/**
|
|
116935
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116936
|
+
*/
|
|
116937
|
+
400: EndErrorEnvelope;
|
|
116938
|
+
/**
|
|
116939
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116940
|
+
*/
|
|
116941
|
+
401: EndErrorEnvelope;
|
|
116942
|
+
/**
|
|
116943
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116944
|
+
*/
|
|
116945
|
+
502: EndErrorEnvelope;
|
|
116946
|
+
/**
|
|
116947
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116948
|
+
*/
|
|
116949
|
+
503: EndErrorEnvelope;
|
|
116950
|
+
};
|
|
116951
|
+
export type EndListPublishableKeysError = EndListPublishableKeysErrors[keyof EndListPublishableKeysErrors];
|
|
116952
|
+
export type EndListPublishableKeysResponses = {
|
|
116953
|
+
/**
|
|
116954
|
+
* One page of publishable keys, newest first, with the cursor for the next page.
|
|
116955
|
+
*/
|
|
116956
|
+
200: EndPublishableKeyPage;
|
|
116957
|
+
};
|
|
116958
|
+
export type EndListPublishableKeysResponse = EndListPublishableKeysResponses[keyof EndListPublishableKeysResponses];
|
|
116959
|
+
export type EndCreatePublishableKeyData = {
|
|
116960
|
+
/**
|
|
116961
|
+
* The name of the key and the resource scopes it grants anonymous visitors.
|
|
116962
|
+
*/
|
|
116963
|
+
body: EndCreatePublishableKeyInput;
|
|
116964
|
+
path?: never;
|
|
116965
|
+
query?: never;
|
|
116966
|
+
url: '/end/v1/publishable_keys';
|
|
116967
|
+
};
|
|
116968
|
+
export type EndCreatePublishableKeyErrors = {
|
|
116969
|
+
/**
|
|
116970
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
116971
|
+
*/
|
|
116972
|
+
400: EndErrorEnvelope;
|
|
116973
|
+
/**
|
|
116974
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
116975
|
+
*/
|
|
116976
|
+
401: EndErrorEnvelope;
|
|
116977
|
+
/**
|
|
116978
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
116979
|
+
*/
|
|
116980
|
+
502: EndErrorEnvelope;
|
|
116981
|
+
/**
|
|
116982
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
116983
|
+
*/
|
|
116984
|
+
503: EndErrorEnvelope;
|
|
116985
|
+
};
|
|
116986
|
+
export type EndCreatePublishableKeyError = EndCreatePublishableKeyErrors[keyof EndCreatePublishableKeyErrors];
|
|
116987
|
+
export type EndCreatePublishableKeyResponses = {
|
|
116988
|
+
/**
|
|
116989
|
+
* The new key with its plaintext value, shown only in this response.
|
|
116990
|
+
*/
|
|
116991
|
+
201: EndPublishableKey;
|
|
116992
|
+
};
|
|
116993
|
+
export type EndCreatePublishableKeyResponse = EndCreatePublishableKeyResponses[keyof EndCreatePublishableKeyResponses];
|
|
116994
|
+
export type EndDeletePublishableKeyData = {
|
|
116995
|
+
body?: never;
|
|
116996
|
+
path: {
|
|
116997
|
+
/**
|
|
116998
|
+
* Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
|
|
116999
|
+
*/
|
|
117000
|
+
key_id: string;
|
|
117001
|
+
};
|
|
117002
|
+
query?: never;
|
|
117003
|
+
url: '/end/v1/publishable_keys/{key_id}';
|
|
117004
|
+
};
|
|
117005
|
+
export type EndDeletePublishableKeyErrors = {
|
|
117006
|
+
/**
|
|
117007
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
117008
|
+
*/
|
|
117009
|
+
400: EndErrorEnvelope;
|
|
117010
|
+
/**
|
|
117011
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
117012
|
+
*/
|
|
117013
|
+
401: EndErrorEnvelope;
|
|
117014
|
+
/**
|
|
117015
|
+
* END_USER_NOT_FOUND: no end user of this organization has that id, or the id belongs to another organization; a deleted key answers the same way. Read the current id from users.list (or publishable_keys.list for a key) and retry with that; never construct an id.
|
|
117016
|
+
*/
|
|
117017
|
+
404: EndErrorEnvelope;
|
|
117018
|
+
/**
|
|
117019
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
117020
|
+
*/
|
|
117021
|
+
502: EndErrorEnvelope;
|
|
117022
|
+
/**
|
|
117023
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
117024
|
+
*/
|
|
117025
|
+
503: EndErrorEnvelope;
|
|
117026
|
+
};
|
|
117027
|
+
export type EndDeletePublishableKeyError = EndDeletePublishableKeyErrors[keyof EndDeletePublishableKeyErrors];
|
|
117028
|
+
export type EndDeletePublishableKeyResponses = {
|
|
117029
|
+
/**
|
|
117030
|
+
* The key is gone; the response repeats its id with deleted true.
|
|
117031
|
+
*/
|
|
117032
|
+
200: EndPublishableKeyDeleted;
|
|
117033
|
+
};
|
|
117034
|
+
export type EndDeletePublishableKeyResponse = EndDeletePublishableKeyResponses[keyof EndDeletePublishableKeyResponses];
|
|
117035
|
+
export type EndUpdatePublishableKeyData = {
|
|
117036
|
+
/**
|
|
117037
|
+
* The fields to change; at least one.
|
|
117038
|
+
*/
|
|
117039
|
+
body: EndUpdatePublishableKeyInput;
|
|
117040
|
+
path: {
|
|
117041
|
+
/**
|
|
117042
|
+
* Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value.
|
|
117043
|
+
*/
|
|
117044
|
+
key_id: string;
|
|
117045
|
+
};
|
|
117046
|
+
query?: never;
|
|
117047
|
+
url: '/end/v1/publishable_keys/{key_id}';
|
|
117048
|
+
};
|
|
117049
|
+
export type EndUpdatePublishableKeyErrors = {
|
|
117050
|
+
/**
|
|
117051
|
+
* INVALID_PARAMS: the request is not shaped the way this face accepts — an unknown or misspelled field, a repeated query parameter, a resource scope not in the form <type>:<id>:<action>, an expand value that is not products, sign_ins or usage, or a confirm that does not repeat the path end user id. The error names the field at fault and what it accepts; correct that field and send the request again.
|
|
117052
|
+
*/
|
|
117053
|
+
400: EndErrorEnvelope;
|
|
117054
|
+
/**
|
|
117055
|
+
* The credential is missing, malformed or expired. Merchant routes answer UNAUTHENTICATED when the API key or session names no organization; the pre-auth doors answer GRANT_CODE_INVALID when a grant code is unknown, already used, expired or foreign, and ACCESS_TOKEN_EXPIRED when the end-user token cannot be verified (a sign-in that is over answers SIGN_IN_EXPIRED or SIGN_IN_REVOKED). Send a valid API key, request a fresh grant code, or sign the end user in again.
|
|
117056
|
+
*/
|
|
117057
|
+
401: EndErrorEnvelope;
|
|
117058
|
+
/**
|
|
117059
|
+
* UPSTREAM_UNAVAILABLE: the token issuer or another dependency refused the call, so nothing was issued or changed. Retry later, and if it persists report the time and the request path.
|
|
117060
|
+
*/
|
|
117061
|
+
502: EndErrorEnvelope;
|
|
117062
|
+
/**
|
|
117063
|
+
* UPSTREAM_UNAVAILABLE: this face is not usable in this environment — the end user service binding is unwired, or the anonymous rate limiter is unavailable or misconfigured so the door fails closed. Use an environment where the face is wired, or retry when the dependency is back.
|
|
117064
|
+
*/
|
|
117065
|
+
503: EndErrorEnvelope;
|
|
117066
|
+
};
|
|
117067
|
+
export type EndUpdatePublishableKeyError = EndUpdatePublishableKeyErrors[keyof EndUpdatePublishableKeyErrors];
|
|
117068
|
+
export type EndUpdatePublishableKeyResponses = {
|
|
117069
|
+
/**
|
|
117070
|
+
* The key with its new name and limits, without its plaintext value.
|
|
117071
|
+
*/
|
|
117072
|
+
200: EndPublishableKey;
|
|
117073
|
+
};
|
|
117074
|
+
export type EndUpdatePublishableKeyResponse = EndUpdatePublishableKeyResponses[keyof EndUpdatePublishableKeyResponses];
|
|
117075
|
+
export type EventsListTypesData = {
|
|
117076
|
+
body?: never;
|
|
117077
|
+
path?: never;
|
|
117078
|
+
query?: never;
|
|
117079
|
+
url: '/events/v1/types';
|
|
117080
|
+
};
|
|
117081
|
+
export type EventsListTypesErrors = {
|
|
117082
|
+
/**
|
|
117083
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
117084
|
+
*/
|
|
117085
|
+
401: EventsEventsProblem;
|
|
117086
|
+
/**
|
|
117087
|
+
* 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.
|
|
117088
|
+
*/
|
|
117089
|
+
503: EventsEventsProblem;
|
|
117090
|
+
};
|
|
117091
|
+
export type EventsListTypesError = EventsListTypesErrors[keyof EventsListTypesErrors];
|
|
117092
|
+
export type EventsListTypesResponses = {
|
|
117093
|
+
/**
|
|
117094
|
+
* The tenant event types, one entry per type and schema version.
|
|
117095
|
+
*/
|
|
117096
|
+
200: EventsEventTypePage;
|
|
117097
|
+
};
|
|
117098
|
+
export type EventsListTypesResponse = EventsListTypesResponses[keyof EventsListTypesResponses];
|
|
117099
|
+
export type EventsListSubscriptionsData = {
|
|
117100
|
+
body?: never;
|
|
117101
|
+
path?: never;
|
|
117102
|
+
query?: {
|
|
117103
|
+
/**
|
|
117104
|
+
* Maximum subscriptions to return, from 1 to 100; defaults to 50.
|
|
117105
|
+
*/
|
|
117106
|
+
limit?: number;
|
|
117107
|
+
};
|
|
117108
|
+
url: '/events/v1/subscriptions';
|
|
117109
|
+
};
|
|
117110
|
+
export type EventsListSubscriptionsErrors = {
|
|
117111
|
+
/**
|
|
117112
|
+
* 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.
|
|
117113
|
+
*/
|
|
117114
|
+
400: EventsEventsProblem;
|
|
117115
|
+
/**
|
|
117116
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
117117
|
+
*/
|
|
117118
|
+
401: EventsEventsProblem;
|
|
117119
|
+
/**
|
|
117120
|
+
* 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.
|
|
117121
|
+
*/
|
|
117122
|
+
503: EventsEventsProblem;
|
|
117123
|
+
};
|
|
117124
|
+
export type EventsListSubscriptionsError = EventsListSubscriptionsErrors[keyof EventsListSubscriptionsErrors];
|
|
117125
|
+
export type EventsListSubscriptionsResponses = {
|
|
117126
|
+
/**
|
|
117127
|
+
* Your live subscriptions.
|
|
117128
|
+
*/
|
|
117129
|
+
200: EventsEventSubscriptionPage;
|
|
117130
|
+
};
|
|
117131
|
+
export type EventsListSubscriptionsResponse = EventsListSubscriptionsResponses[keyof EventsListSubscriptionsResponses];
|
|
117132
|
+
export type EventsCreateSubscriptionData = {
|
|
117133
|
+
/**
|
|
117134
|
+
* What to subscribe to and how long the subscription lasts.
|
|
117135
|
+
*/
|
|
117136
|
+
body: EventsCreateEventSubscriptionInput;
|
|
117137
|
+
path?: never;
|
|
117138
|
+
query?: never;
|
|
117139
|
+
url: '/events/v1/subscriptions';
|
|
117140
|
+
};
|
|
117141
|
+
export type EventsCreateSubscriptionErrors = {
|
|
117142
|
+
/**
|
|
117143
|
+
* 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.
|
|
117144
|
+
*/
|
|
117145
|
+
400: EventsEventsProblem;
|
|
117146
|
+
/**
|
|
117147
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
117148
|
+
*/
|
|
117149
|
+
401: EventsEventsProblem;
|
|
117150
|
+
/**
|
|
117151
|
+
* 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.
|
|
117152
|
+
*/
|
|
117153
|
+
503: EventsEventsProblem;
|
|
117154
|
+
};
|
|
117155
|
+
export type EventsCreateSubscriptionError = EventsCreateSubscriptionErrors[keyof EventsCreateSubscriptionErrors];
|
|
117156
|
+
export type EventsCreateSubscriptionResponses = {
|
|
117157
|
+
/**
|
|
117158
|
+
* The new subscription.
|
|
117159
|
+
*/
|
|
117160
|
+
201: EventsEventSubscription;
|
|
117161
|
+
};
|
|
117162
|
+
export type EventsCreateSubscriptionResponse = EventsCreateSubscriptionResponses[keyof EventsCreateSubscriptionResponses];
|
|
117163
|
+
export type EventsDeleteSubscriptionData = {
|
|
117164
|
+
body?: never;
|
|
117165
|
+
path: {
|
|
117166
|
+
/**
|
|
117167
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
117168
|
+
*/
|
|
117169
|
+
subscription_id: string;
|
|
117170
|
+
};
|
|
117171
|
+
query?: never;
|
|
117172
|
+
url: '/events/v1/subscriptions/{subscription_id}';
|
|
117173
|
+
};
|
|
117174
|
+
export type EventsDeleteSubscriptionErrors = {
|
|
117175
|
+
/**
|
|
117176
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
117177
|
+
*/
|
|
117178
|
+
401: EventsEventsProblem;
|
|
117179
|
+
/**
|
|
117180
|
+
* 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.
|
|
117181
|
+
*/
|
|
117182
|
+
404: EventsEventsProblem;
|
|
117183
|
+
/**
|
|
117184
|
+
* 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.
|
|
117185
|
+
*/
|
|
117186
|
+
503: EventsEventsProblem;
|
|
117187
|
+
};
|
|
117188
|
+
export type EventsDeleteSubscriptionError = EventsDeleteSubscriptionErrors[keyof EventsDeleteSubscriptionErrors];
|
|
117189
|
+
export type EventsDeleteSubscriptionResponses = {
|
|
117190
|
+
/**
|
|
117191
|
+
* The subscription is deleted; there is no body.
|
|
117192
|
+
*/
|
|
117193
|
+
204: void;
|
|
117194
|
+
};
|
|
117195
|
+
export type EventsDeleteSubscriptionResponse = EventsDeleteSubscriptionResponses[keyof EventsDeleteSubscriptionResponses];
|
|
117196
|
+
export type EventsRetrieveSubscriptionData = {
|
|
117197
|
+
body?: never;
|
|
117198
|
+
path: {
|
|
117199
|
+
/**
|
|
117200
|
+
* Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits.
|
|
117201
|
+
*/
|
|
117202
|
+
subscription_id: string;
|
|
117203
|
+
};
|
|
117204
|
+
query?: never;
|
|
117205
|
+
url: '/events/v1/subscriptions/{subscription_id}';
|
|
117206
|
+
};
|
|
117207
|
+
export type EventsRetrieveSubscriptionErrors = {
|
|
117208
|
+
/**
|
|
117209
|
+
* UNAUTHENTICATED means the credential is missing or invalid; send a valid Praxis credential of your organization.
|
|
117210
|
+
*/
|
|
117211
|
+
401: EventsEventsProblem;
|
|
117212
|
+
/**
|
|
117213
|
+
* 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.
|
|
117214
|
+
*/
|
|
117215
|
+
404: EventsEventsProblem;
|
|
117216
|
+
/**
|
|
117217
|
+
* 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.
|
|
117218
|
+
*/
|
|
117219
|
+
503: EventsEventsProblem;
|
|
117220
|
+
};
|
|
117221
|
+
export type EventsRetrieveSubscriptionError = EventsRetrieveSubscriptionErrors[keyof EventsRetrieveSubscriptionErrors];
|
|
117222
|
+
export type EventsRetrieveSubscriptionResponses = {
|
|
117223
|
+
/**
|
|
117224
|
+
* The subscription.
|
|
117225
|
+
*/
|
|
117226
|
+
200: EventsEventSubscription;
|
|
117227
|
+
};
|
|
117228
|
+
export type EventsRetrieveSubscriptionResponse = EventsRetrieveSubscriptionResponses[keyof EventsRetrieveSubscriptionResponses];
|
|
115005
117229
|
export type KnowledgeListVectorStoresData = {
|
|
115006
117230
|
body?: never;
|
|
115007
117231
|
path?: never;
|