@deepraxis/sdk 0.1.1-dev.2615392 → 0.1.1-dev.27abe4e
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 +4 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +19 -1
- package/dist/generated/sdk.gen.js +46 -0
- package/dist/generated/types.gen.d.ts +255 -0
- package/dist/operations.generated.js +81 -0
- package/dist/resources.generated.d.ts +3 -0
- package/dist/resources.generated.js +3 -0
- package/package.json +1 -1
|
@@ -290,6 +290,10 @@ export type BrowserSessionCreateParams = {
|
|
|
290
290
|
* 可省略;账户使用 default 项目。
|
|
291
291
|
*/
|
|
292
292
|
projectId?: string;
|
|
293
|
+
/**
|
|
294
|
+
* 谁能看到这个新会话:默认 private 只有创建者;organization 允许同组织其他成员只读观看画面。
|
|
295
|
+
*/
|
|
296
|
+
visibility?: 'private' | 'organization';
|
|
293
297
|
/**
|
|
294
298
|
* false 时最后一个客户端断开且无人观看后结束会话;true 时保留至关闭或超时。
|
|
295
299
|
*/
|
|
@@ -471,6 +475,14 @@ export type BrowserSessionCreateResult = {
|
|
|
471
475
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
472
476
|
*/
|
|
473
477
|
origin: 'api' | 'connect' | 'console';
|
|
478
|
+
/**
|
|
479
|
+
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
480
|
+
*/
|
|
481
|
+
createdBy?: string;
|
|
482
|
+
/**
|
|
483
|
+
* 谁能看到这个会话:private 只有创建者,organization 同组织成员可只读观看画面。
|
|
484
|
+
*/
|
|
485
|
+
visibility: 'private' | 'organization';
|
|
474
486
|
/**
|
|
475
487
|
* 会话释放原因;未开始释放时省略。
|
|
476
488
|
*/
|
|
@@ -605,6 +617,14 @@ export type BrowserSession = {
|
|
|
605
617
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
606
618
|
*/
|
|
607
619
|
origin: 'api' | 'connect' | 'console';
|
|
620
|
+
/**
|
|
621
|
+
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
622
|
+
*/
|
|
623
|
+
createdBy?: string;
|
|
624
|
+
/**
|
|
625
|
+
* 谁能看到这个会话:private 只有创建者,organization 同组织成员可只读观看画面。
|
|
626
|
+
*/
|
|
627
|
+
visibility: 'private' | 'organization';
|
|
608
628
|
/**
|
|
609
629
|
* 会话释放原因;未开始释放时省略。
|
|
610
630
|
*/
|
|
@@ -721,6 +741,14 @@ export type BrowserSessionGetResult = {
|
|
|
721
741
|
* 会话创建入口;api 为 API 创建,connect 为一步连接创建,console 为 Console 创建。
|
|
722
742
|
*/
|
|
723
743
|
origin: 'api' | 'connect' | 'console';
|
|
744
|
+
/**
|
|
745
|
+
* 创建这个会话的用户或智能体标识;通过能力 URL 创建、或在引入创建者之前创建的会话省略此字段。
|
|
746
|
+
*/
|
|
747
|
+
createdBy?: string;
|
|
748
|
+
/**
|
|
749
|
+
* 谁能看到这个会话:private 只有创建者,organization 同组织成员可只读观看画面。
|
|
750
|
+
*/
|
|
751
|
+
visibility: 'private' | 'organization';
|
|
724
752
|
/**
|
|
725
753
|
* 会话释放原因;未开始释放时省略。
|
|
726
754
|
*/
|
|
@@ -1014,6 +1042,29 @@ export type BrowserStreamMessage = {
|
|
|
1014
1042
|
event: 'end';
|
|
1015
1043
|
data: BrowserSession;
|
|
1016
1044
|
};
|
|
1045
|
+
export type BrowserFrameStreamMessage = {
|
|
1046
|
+
event: 'frame';
|
|
1047
|
+
data: {
|
|
1048
|
+
/**
|
|
1049
|
+
* 画面格式,固定为 image/jpeg。
|
|
1050
|
+
*/
|
|
1051
|
+
mediaType: 'image/jpeg';
|
|
1052
|
+
/**
|
|
1053
|
+
* JPEG 画面的 base64 编码;解码后最多 2 MiB。
|
|
1054
|
+
*/
|
|
1055
|
+
data: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* 浏览器产生这一帧的时刻,epoch 毫秒。
|
|
1058
|
+
*/
|
|
1059
|
+
ts: number;
|
|
1060
|
+
};
|
|
1061
|
+
} | {
|
|
1062
|
+
event: 'end';
|
|
1063
|
+
/**
|
|
1064
|
+
* 会话已结束,画面通道关闭。
|
|
1065
|
+
*/
|
|
1066
|
+
data: null;
|
|
1067
|
+
};
|
|
1017
1068
|
export type OwnFileCreateFileRequest = {
|
|
1018
1069
|
/**
|
|
1019
1070
|
* File bytes in one multipart file part, not a filename or file ID. The file must be nonempty and at most 100000000 bytes; its content determines the MIME type.
|
|
@@ -40547,6 +40598,7 @@ export type MediaShotFlag = {
|
|
|
40547
40598
|
readonly confidence: number;
|
|
40548
40599
|
};
|
|
40549
40600
|
export type PraxisSdkSseGetBrowserV1SessionsSessionIdStream = BrowserStreamMessage;
|
|
40601
|
+
export type PraxisSdkSseGetBrowserV1SessionsSessionIdFrames = BrowserFrameStreamMessage;
|
|
40550
40602
|
/**
|
|
40551
40603
|
* One decoded SSE event. The data field contains the decoded JSON payload, or a documented string sentinel. SSE comments are keepalives, not events. Optional id/event fields are absent when the server does not send them.
|
|
40552
40604
|
*/
|
|
@@ -52311,6 +52363,10 @@ export type BrowserViewerHeartbeatData = {
|
|
|
52311
52363
|
* 当前观看者的稳定标识;同一观看者重复心跳应使用相同值,长度为 1–128 个 UTF-16 代码单元。
|
|
52312
52364
|
*/
|
|
52313
52365
|
viewerId: string;
|
|
52366
|
+
/**
|
|
52367
|
+
* 观看者类型:control 是需要控制浏览器的客户端,readonly 是只读观看者。只读观看者发送 control 也会按 readonly 记录。
|
|
52368
|
+
*/
|
|
52369
|
+
kind?: 'control' | 'readonly';
|
|
52314
52370
|
};
|
|
52315
52371
|
path: {
|
|
52316
52372
|
/**
|
|
@@ -52388,6 +52444,79 @@ export type BrowserViewerHeartbeatResponses = {
|
|
|
52388
52444
|
};
|
|
52389
52445
|
};
|
|
52390
52446
|
export type BrowserViewerHeartbeatResponse = BrowserViewerHeartbeatResponses[keyof BrowserViewerHeartbeatResponses];
|
|
52447
|
+
export type BrowserGetSessionFrameData = {
|
|
52448
|
+
body?: never;
|
|
52449
|
+
path: {
|
|
52450
|
+
/**
|
|
52451
|
+
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
52452
|
+
*/
|
|
52453
|
+
sessionId: string;
|
|
52454
|
+
};
|
|
52455
|
+
query?: never;
|
|
52456
|
+
url: '/browser/v1/sessions/{sessionId}/frame';
|
|
52457
|
+
};
|
|
52458
|
+
export type BrowserGetSessionFrameErrors = {
|
|
52459
|
+
/**
|
|
52460
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
52461
|
+
*/
|
|
52462
|
+
400: BrowserError;
|
|
52463
|
+
/**
|
|
52464
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
52465
|
+
*/
|
|
52466
|
+
401: BrowserError;
|
|
52467
|
+
/**
|
|
52468
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
52469
|
+
*/
|
|
52470
|
+
402: BrowserError;
|
|
52471
|
+
/**
|
|
52472
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
52473
|
+
*/
|
|
52474
|
+
403: BrowserError;
|
|
52475
|
+
/**
|
|
52476
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
52477
|
+
*/
|
|
52478
|
+
404: BrowserError;
|
|
52479
|
+
/**
|
|
52480
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
52481
|
+
*/
|
|
52482
|
+
409: BrowserError;
|
|
52483
|
+
/**
|
|
52484
|
+
* ACTION_RESULT_TOO_LARGE
|
|
52485
|
+
*/
|
|
52486
|
+
413: BrowserError;
|
|
52487
|
+
/**
|
|
52488
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
52489
|
+
*/
|
|
52490
|
+
429: BrowserError;
|
|
52491
|
+
/**
|
|
52492
|
+
* INTERNAL
|
|
52493
|
+
*/
|
|
52494
|
+
500: BrowserError;
|
|
52495
|
+
/**
|
|
52496
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
52497
|
+
*/
|
|
52498
|
+
501: BrowserError;
|
|
52499
|
+
/**
|
|
52500
|
+
* PROVIDER_FAILED
|
|
52501
|
+
*/
|
|
52502
|
+
502: BrowserError;
|
|
52503
|
+
/**
|
|
52504
|
+
* SERVICE_UNAVAILABLE
|
|
52505
|
+
*/
|
|
52506
|
+
503: BrowserError;
|
|
52507
|
+
/**
|
|
52508
|
+
* ACTION_TIMEOUT
|
|
52509
|
+
*/
|
|
52510
|
+
504: BrowserError;
|
|
52511
|
+
};
|
|
52512
|
+
export type BrowserGetSessionFrameError = BrowserGetSessionFrameErrors[keyof BrowserGetSessionFrameErrors];
|
|
52513
|
+
export type BrowserGetSessionFrameResponses = {
|
|
52514
|
+
/**
|
|
52515
|
+
* JPEG 画面帧,最多 2 MiB。
|
|
52516
|
+
*/
|
|
52517
|
+
200: Blob | File;
|
|
52518
|
+
};
|
|
52519
|
+
export type BrowserGetSessionFrameResponse = BrowserGetSessionFrameResponses[keyof BrowserGetSessionFrameResponses];
|
|
52391
52520
|
export type BrowserListContextsData = {
|
|
52392
52521
|
body?: never;
|
|
52393
52522
|
path?: never;
|
|
@@ -53042,6 +53171,79 @@ export type BrowserStreamSessionResponses = {
|
|
|
53042
53171
|
200: BrowserStreamMessage;
|
|
53043
53172
|
};
|
|
53044
53173
|
export type BrowserStreamSessionResponse = BrowserStreamSessionResponses[keyof BrowserStreamSessionResponses];
|
|
53174
|
+
export type BrowserStreamSessionFramesData = {
|
|
53175
|
+
body?: never;
|
|
53176
|
+
path: {
|
|
53177
|
+
/**
|
|
53178
|
+
* 浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。
|
|
53179
|
+
*/
|
|
53180
|
+
sessionId: string;
|
|
53181
|
+
};
|
|
53182
|
+
query?: never;
|
|
53183
|
+
url: '/browser/v1/sessions/{sessionId}/frames';
|
|
53184
|
+
};
|
|
53185
|
+
export type BrowserStreamSessionFramesErrors = {
|
|
53186
|
+
/**
|
|
53187
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
53188
|
+
*/
|
|
53189
|
+
400: BrowserError;
|
|
53190
|
+
/**
|
|
53191
|
+
* UNAUTHENTICATED / CONNECT_SIGNATURE_INVALID
|
|
53192
|
+
*/
|
|
53193
|
+
401: BrowserError;
|
|
53194
|
+
/**
|
|
53195
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
53196
|
+
*/
|
|
53197
|
+
402: BrowserError;
|
|
53198
|
+
/**
|
|
53199
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
53200
|
+
*/
|
|
53201
|
+
403: BrowserError;
|
|
53202
|
+
/**
|
|
53203
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND / ACTION_TAB_NOT_FOUND
|
|
53204
|
+
*/
|
|
53205
|
+
404: BrowserError;
|
|
53206
|
+
/**
|
|
53207
|
+
* SESSION_ENDED / SESSION_INVALID_STATE / CONTEXT_LOCKED / HANDOFF_NOT_PENDING / ACTION_NO_TAB / ACTION_REF_STALE / ACTION_FAILED
|
|
53208
|
+
*/
|
|
53209
|
+
409: BrowserError;
|
|
53210
|
+
/**
|
|
53211
|
+
* ACTION_RESULT_TOO_LARGE
|
|
53212
|
+
*/
|
|
53213
|
+
413: BrowserError;
|
|
53214
|
+
/**
|
|
53215
|
+
* CONCURRENCY_LIMIT / RATE_LIMITED / PROVIDER_CAPACITY
|
|
53216
|
+
*/
|
|
53217
|
+
429: BrowserError;
|
|
53218
|
+
/**
|
|
53219
|
+
* INTERNAL
|
|
53220
|
+
*/
|
|
53221
|
+
500: BrowserError;
|
|
53222
|
+
/**
|
|
53223
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
53224
|
+
*/
|
|
53225
|
+
501: BrowserError;
|
|
53226
|
+
/**
|
|
53227
|
+
* PROVIDER_FAILED
|
|
53228
|
+
*/
|
|
53229
|
+
502: BrowserError;
|
|
53230
|
+
/**
|
|
53231
|
+
* SERVICE_UNAVAILABLE
|
|
53232
|
+
*/
|
|
53233
|
+
503: BrowserError;
|
|
53234
|
+
/**
|
|
53235
|
+
* ACTION_TIMEOUT
|
|
53236
|
+
*/
|
|
53237
|
+
504: BrowserError;
|
|
53238
|
+
};
|
|
53239
|
+
export type BrowserStreamSessionFramesError = BrowserStreamSessionFramesErrors[keyof BrowserStreamSessionFramesErrors];
|
|
53240
|
+
export type BrowserStreamSessionFramesResponses = {
|
|
53241
|
+
/**
|
|
53242
|
+
* 持续推送只读画面帧。
|
|
53243
|
+
*/
|
|
53244
|
+
200: BrowserFrameStreamMessage;
|
|
53245
|
+
};
|
|
53246
|
+
export type BrowserStreamSessionFramesResponse = BrowserStreamSessionFramesResponses[keyof BrowserStreamSessionFramesResponses];
|
|
53045
53247
|
export type BrowserSeleniumUnsupportedData = {
|
|
53046
53248
|
body?: never;
|
|
53047
53249
|
path?: never;
|
|
@@ -96526,3 +96728,56 @@ export type TicketGetRepositoriesResponses = {
|
|
|
96526
96728
|
};
|
|
96527
96729
|
};
|
|
96528
96730
|
export type TicketGetRepositoriesResponse = TicketGetRepositoriesResponses[keyof TicketGetRepositoriesResponses];
|
|
96731
|
+
export type TicketPatchRepositoriesIdData = {
|
|
96732
|
+
body?: never;
|
|
96733
|
+
path: {
|
|
96734
|
+
/**
|
|
96735
|
+
* Resource path value.
|
|
96736
|
+
*/
|
|
96737
|
+
id: string;
|
|
96738
|
+
};
|
|
96739
|
+
query?: {
|
|
96740
|
+
/**
|
|
96741
|
+
* Opaque repository id.
|
|
96742
|
+
*/
|
|
96743
|
+
repository?: string;
|
|
96744
|
+
};
|
|
96745
|
+
url: '/ticket/v1/repositories/{id}';
|
|
96746
|
+
};
|
|
96747
|
+
export type TicketPatchRepositoriesIdErrors = {
|
|
96748
|
+
/**
|
|
96749
|
+
* Invalid native input or unsupported GitHub API version; correct the request before retrying.
|
|
96750
|
+
*/
|
|
96751
|
+
400: unknown;
|
|
96752
|
+
/**
|
|
96753
|
+
* Credentials are absent or invalid; supply a valid API key or signed browser session.
|
|
96754
|
+
*/
|
|
96755
|
+
401: unknown;
|
|
96756
|
+
/**
|
|
96757
|
+
* Machine token, application, insufficient organization role or locked conversation; use an authorized human credential. GitHub rate limiting also uses 403 with retry-after and x-ratelimit headers.
|
|
96758
|
+
*/
|
|
96759
|
+
403: unknown;
|
|
96760
|
+
/**
|
|
96761
|
+
* Resource or repository is absent from this organization; a different owner has the identical missing-resource response.
|
|
96762
|
+
*/
|
|
96763
|
+
404: unknown;
|
|
96764
|
+
/**
|
|
96765
|
+
* Ticket is gone; refresh the repository's ticket list.
|
|
96766
|
+
*/
|
|
96767
|
+
410: unknown;
|
|
96768
|
+
/**
|
|
96769
|
+
* Invalid GitHub input, duplicate name, dependency cycle or child/assignee limit; correct the reported fields or relationships.
|
|
96770
|
+
*/
|
|
96771
|
+
422: unknown;
|
|
96772
|
+
/**
|
|
96773
|
+
* Native rate limit; wait for retry-after before retrying.
|
|
96774
|
+
*/
|
|
96775
|
+
429: unknown;
|
|
96776
|
+
};
|
|
96777
|
+
export type TicketPatchRepositoriesIdResponses = {
|
|
96778
|
+
/**
|
|
96779
|
+
* The operation succeeded; the body contains the requested resource or page.
|
|
96780
|
+
*/
|
|
96781
|
+
200: TicketRecord;
|
|
96782
|
+
};
|
|
96783
|
+
export type TicketPatchRepositoriesIdResponse = TicketPatchRepositoriesIdResponses[keyof TicketPatchRepositoriesIdResponses];
|
|
@@ -7251,6 +7251,16 @@ export const operations = [
|
|
|
7251
7251
|
"required": false,
|
|
7252
7252
|
"description": "可省略;账户使用 default 项目。"
|
|
7253
7253
|
},
|
|
7254
|
+
{
|
|
7255
|
+
"name": "visibility",
|
|
7256
|
+
"type": "string",
|
|
7257
|
+
"enum": [
|
|
7258
|
+
"private",
|
|
7259
|
+
"organization"
|
|
7260
|
+
],
|
|
7261
|
+
"required": false,
|
|
7262
|
+
"description": "谁能看到这个新会话:默认 private 只有创建者;organization 允许同组织其他成员只读观看画面。"
|
|
7263
|
+
},
|
|
7254
7264
|
{
|
|
7255
7265
|
"name": "keepAlive",
|
|
7256
7266
|
"type": "boolean",
|
|
@@ -7442,6 +7452,42 @@ export const operations = [
|
|
|
7442
7452
|
}
|
|
7443
7453
|
]
|
|
7444
7454
|
},
|
|
7455
|
+
{
|
|
7456
|
+
"resource": "browser.sessions",
|
|
7457
|
+
"method": "retrieveFrame",
|
|
7458
|
+
"summary": "读取会话只读画面帧",
|
|
7459
|
+
"description": "读取会话的一张只读画面帧(JPEG 字节)。创建者可读,同组织其他成员只在该会话声明为组织可见时可读;其余情况一律返回 404 SESSION_NOT_FOUND,不提示会话是否存在。响应体没有任何可控制浏览器的凭据,且不接受任何动作参数。",
|
|
7460
|
+
"http": "GET",
|
|
7461
|
+
"path": "/browser/v1/sessions/{sessionId}/frame",
|
|
7462
|
+
"streaming": "no",
|
|
7463
|
+
"pagination": false,
|
|
7464
|
+
"pathParams": [
|
|
7465
|
+
{
|
|
7466
|
+
"name": "sessionId",
|
|
7467
|
+
"sdkName": "sessionId",
|
|
7468
|
+
"description": "浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。"
|
|
7469
|
+
}
|
|
7470
|
+
],
|
|
7471
|
+
"query": []
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
"resource": "browser.sessions",
|
|
7475
|
+
"method": "frames",
|
|
7476
|
+
"summary": "订阅会话只读画面",
|
|
7477
|
+
"description": "SSE:只推送只读画面帧,event 为 frame 或 end,data 为帧的 JSON 或 null;帧 data 是 JPEG 的 base64 编码,ts 是浏览器产生该帧的时刻(epoch 毫秒),约每秒最多 5 帧。评论 ping 每 15 秒一次,end 后关闭。这条通道与 /sessions/{sessionId}/stream 相互独立:它的消息只含画面,绝不含 wsUrl、signingKey、connectUrl、debuggerUrl、debuggerFullscreenUrl。创建者可订阅,同组织其他成员只在该会话声明为组织可见时可订阅;其余情况一律返回 404 SESSION_NOT_FOUND。",
|
|
7478
|
+
"http": "GET",
|
|
7479
|
+
"path": "/browser/v1/sessions/{sessionId}/frames",
|
|
7480
|
+
"streaming": "always",
|
|
7481
|
+
"pagination": false,
|
|
7482
|
+
"pathParams": [
|
|
7483
|
+
{
|
|
7484
|
+
"name": "sessionId",
|
|
7485
|
+
"sdkName": "sessionId",
|
|
7486
|
+
"description": "浏览器会话 ID;使用创建或列出会话返回的 id,以 bss_ 开头。"
|
|
7487
|
+
}
|
|
7488
|
+
],
|
|
7489
|
+
"query": []
|
|
7490
|
+
},
|
|
7445
7491
|
{
|
|
7446
7492
|
"resource": "browser.sessions.handoff",
|
|
7447
7493
|
"method": "create",
|
|
@@ -7538,6 +7584,16 @@ export const operations = [
|
|
|
7538
7584
|
"type": "string",
|
|
7539
7585
|
"required": true,
|
|
7540
7586
|
"description": "当前观看者的稳定标识;同一观看者重复心跳应使用相同值,长度为 1–128 个 UTF-16 代码单元。"
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
"name": "kind",
|
|
7590
|
+
"type": "string",
|
|
7591
|
+
"enum": [
|
|
7592
|
+
"control",
|
|
7593
|
+
"readonly"
|
|
7594
|
+
],
|
|
7595
|
+
"required": false,
|
|
7596
|
+
"description": "观看者类型:control 是需要控制浏览器的客户端,readonly 是只读观看者。只读观看者发送 control 也会按 readonly 记录。"
|
|
7541
7597
|
}
|
|
7542
7598
|
]
|
|
7543
7599
|
}
|
|
@@ -24818,6 +24874,31 @@ export const operations = [
|
|
|
24818
24874
|
}
|
|
24819
24875
|
]
|
|
24820
24876
|
},
|
|
24877
|
+
{
|
|
24878
|
+
"resource": "ticket.repositories",
|
|
24879
|
+
"method": "update",
|
|
24880
|
+
"summary": "Update repositories",
|
|
24881
|
+
"description": "Update repositories within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
|
|
24882
|
+
"http": "PATCH",
|
|
24883
|
+
"path": "/ticket/v1/repositories/{id}",
|
|
24884
|
+
"streaming": "no",
|
|
24885
|
+
"pagination": false,
|
|
24886
|
+
"pathParams": [
|
|
24887
|
+
{
|
|
24888
|
+
"name": "id",
|
|
24889
|
+
"sdkName": "id",
|
|
24890
|
+
"description": "Identifier returned by the matching create or list operation; number paths take repository-local numbers."
|
|
24891
|
+
}
|
|
24892
|
+
],
|
|
24893
|
+
"query": [
|
|
24894
|
+
{
|
|
24895
|
+
"name": "repository",
|
|
24896
|
+
"type": "string",
|
|
24897
|
+
"required": false,
|
|
24898
|
+
"description": "Repository id from GET /ticket/v1/repositories; omit for the default tickets container."
|
|
24899
|
+
}
|
|
24900
|
+
]
|
|
24901
|
+
},
|
|
24821
24902
|
{
|
|
24822
24903
|
"resource": "ticket.tickets",
|
|
24823
24904
|
"method": "list",
|
|
@@ -4011,6 +4011,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4011
4011
|
nextCursor: string | null;
|
|
4012
4012
|
}>;
|
|
4013
4013
|
};
|
|
4014
|
+
frames: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionFramesData>) => AsyncIterable<Types.BrowserFrameStreamMessage>;
|
|
4014
4015
|
handoff: {
|
|
4015
4016
|
complete: (options: import("./core/transport.js").CallOptions<Types.BrowserCompleteHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
4016
4017
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserRequestHandoffData>) => Promise<Types.BrowserEventRecord>;
|
|
@@ -4021,6 +4022,7 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4021
4022
|
}>;
|
|
4022
4023
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionData>) => Promise<Types.BrowserSessionGetResult>;
|
|
4023
4024
|
retrieveDebug: (options: import("./core/transport.js").CallOptions<Types.BrowserGetDebugData>) => Promise<Types.BrowserSessionLiveUrls>;
|
|
4025
|
+
retrieveFrame: (options: import("./core/transport.js").CallOptions<Types.BrowserGetSessionFrameData>) => Promise<Blob | File>;
|
|
4024
4026
|
stream: (options: import("./core/transport.js").StreamOptions<Types.BrowserStreamSessionData>) => AsyncIterable<Types.BrowserStreamMessage>;
|
|
4025
4027
|
update: (options: import("./core/transport.js").CallOptions<Types.BrowserCloseSessionData>) => Promise<Types.BrowserSession>;
|
|
4026
4028
|
viewer: {
|
|
@@ -5701,6 +5703,7 @@ export declare function createTicket(transport: Transport): {
|
|
|
5701
5703
|
repositories: Array<Types.TicketRepository>;
|
|
5702
5704
|
next_page_token: string;
|
|
5703
5705
|
}>;
|
|
5706
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchRepositoriesIdData>) => Promise<Types.TicketRecord>;
|
|
5704
5707
|
};
|
|
5705
5708
|
tickets: {
|
|
5706
5709
|
comments: {
|
|
@@ -373,6 +373,7 @@ export function createBrowser(transport) {
|
|
|
373
373
|
events: {
|
|
374
374
|
list: bind(transport, sdk.browserListEvents),
|
|
375
375
|
},
|
|
376
|
+
frames: bindStream(transport, sdk.browserStreamSessionFrames),
|
|
376
377
|
handoff: {
|
|
377
378
|
complete: bind(transport, sdk.browserCompleteHandoff),
|
|
378
379
|
create: bind(transport, sdk.browserRequestHandoff),
|
|
@@ -380,6 +381,7 @@ export function createBrowser(transport) {
|
|
|
380
381
|
list: bind(transport, sdk.browserListSessions),
|
|
381
382
|
retrieve: bind(transport, sdk.browserGetSession),
|
|
382
383
|
retrieveDebug: bind(transport, sdk.browserGetDebug),
|
|
384
|
+
retrieveFrame: bind(transport, sdk.browserGetSessionFrame),
|
|
383
385
|
stream: bindStream(transport, sdk.browserStreamSession),
|
|
384
386
|
update: bind(transport, sdk.browserCloseSession),
|
|
385
387
|
viewer: {
|
|
@@ -1220,6 +1222,7 @@ export function createTicket(transport) {
|
|
|
1220
1222
|
},
|
|
1221
1223
|
repositories: {
|
|
1222
1224
|
list: bind(transport, sdk.ticketGetRepositories),
|
|
1225
|
+
update: bind(transport, sdk.ticketPatchRepositoriesId),
|
|
1223
1226
|
},
|
|
1224
1227
|
tickets: {
|
|
1225
1228
|
comments: {
|