@belonguniverseai/react-sdk 0.6.6 → 0.6.8
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/dist/api/client.d.ts +886 -2
- package/dist/api/connectors.d.ts +448 -0
- package/dist/api/query-keys.d.ts +9 -0
- package/dist/component/{abnfDiagram-N423BO3Z-C6FcPK3d.js → abnfDiagram-N423BO3Z-DAMVrmeh.js} +4 -4
- package/dist/component/{arc-BFUQjzCS.js → arc-Gc-Ug7JA.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-BDBrDBki.js → architectureDiagram-T3A2C74G-DEETzZJN.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-UZV4Vc3P.js → blockDiagram-VBNYF7ZC-B63eqqq8.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-CCPtctjO.js → c4Diagram-5PPSVZJV-B1BOYc8g.js} +3 -3
- package/dist/component/{channel-CIUveBDa.js → channel-PLzmp3cE.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-CRCj56HD.js → chunk-2GRJ4B5K-B6eq3oGl.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-CL0yogzL.js → chunk-2Q5K7J3B-B7muvlHI.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-Blwl04-V.js → chunk-5RXB4S5H-DwKu1vp-.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-C497fKeV.js → chunk-5VM5RSS4-DfsJf4Z4.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-C_2Jk1ii.js → chunk-6Q2QTUOP-CeaiyGYA.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-Cs_Nhfpw.js → chunk-GF5L2VYU-CNmM7mNX.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-Dcs41Q_n.js → chunk-JWPE2WC7-BzOJ0gSs.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-BWm1frM-.js → chunk-KBJHAD2P-B_0sEXXZ.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-XA_jesTk.js → chunk-RYQCIY6F-CzrE1hmt.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-BDtOkxP3.js → chunk-XXDRQBXY-BUnNxHRd.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-CvZflq4I.js → classDiagram-JCYQIIEL-9VG4K9gL.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-CvZflq4I.js → classDiagram-v2-OCEON4UE-9VG4K9gL.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-C1arfbyI.js → cose-bilkent-JH36ORCC-_cCdJsPR.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-CS5V8R4P.js → cynefinDiagram-MW4NZA55-DrosRrWG.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-BZ6hBjLx.js → dagre-VZM6K2ZE-DVXWVoHI.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-sP7Tm4Ov.js → diagram-7IWD3JNH-BvdLH-gr.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-BNGAdSWl.js → diagram-B4RE2ZJO-yq2kxzf4.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-FUyO9neA.js → diagram-LBJQPF4R-DjZj7wKC.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-j_dqjRdo.js → diagram-Q27KOJAE-DjV3mMFp.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-C9DPA3Ub.js → diagram-UB23O5K3-DG73tqIa.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-D33P9__e.js → ebnfDiagram-BXEA7PRR-TI3Mi84Z.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-DOB0CdMC.js → erDiagram-JOGREHBK-p28VOtOG.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-Byd1bpG0.js → flowDiagram-UKHOOZJN-DptddxZK.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-DYe8BZEh.js → ganttDiagram-PKOTCBZU-CPBYUclk.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-XZ8Mo4GA.js → gitGraphDiagram-DS77QQ5N-DDJEly11.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-CL31TQjN.js → highlighted-body-OFNGDK62-DmArOVtb.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-CKFHlOyG.js → infoDiagram-6WML65LV-fa5NoEep.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-DcYs6_Ks.js → ishikawaDiagram-WSZJBQD7-D19tW2EN.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-BdL6QUhp.js → journeyDiagram-NVQOT4AX-BMjN5JId.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-BXSCmJV1.js → kanban-definition-27J2QSJJ-DpEZoYj2.js} +3 -3
- package/dist/component/{linear-CKjHF2HZ.js → linear-BlZm6_oy.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-DkoZohjm.js → mermaid-GHXKKRXX-p-OyUfKz.js} +41095 -37516
- package/dist/component/{mindmap-definition-FAOFIHXS-DW4hhNZQ.js → mindmap-definition-FAOFIHXS-CZooOHo7.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-Bi-Kyrnt.js → pegDiagram-VL7TDLO6-BgsgvnUj.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-BMhIZVGK.js → pieDiagram-7S7Q4E2Y-BMc5yYJ4.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-bceN8tX9.js → quadrantDiagram-CIZ2JOQS-2w1cEVRE.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-D-nJshKI.js → railroadDiagram-AXF67PYL-DoiX2thq.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-CYZUa3OC.js → requirementDiagram-LRYGKXZP-CTB2STpc.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-BGB3WZee.js → sankeyDiagram-W5VNT64P-9xxjcZWi.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-C1vZr0MI.js → sequenceDiagram-SI44F4Z6-mkS0lJ2i.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-RlcsaXgG.js → sizeCapture-X5ZJPWSS-BoQhOM5q.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-fvMUXvo7.js → stateDiagram-OKZ733FA-BC9-EQhL.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-C5wIei7D.js → stateDiagram-v2-UEYNNEHI-DtIgdpQz.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-C3hQy7qq.js → swimlanes-SLNWSIFB-Dt29sUod.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-ByZ1cbCX.js → swimlanesDiagram-ULZ7WXOC-XhpcM99S.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-D0_tzWD4.js → timeline-definition-Z64GVDOM-BaSPNtp7.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-C9YEUDaF.js → vennDiagram-T6HMQDX7-DEh8MevO.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-CXHDuHLt.js → wardleyDiagram-T6FBY63Y-DAL7SU3o.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-n_ilatMg.js → xychartDiagram-ELKLHX3M-Cde-mFmr.js} +3 -3
- package/dist/components/connectors/ConfirmDeleteConnectorDialog.d.ts +16 -0
- package/dist/components/connectors/ConnectorAuthFields.d.ts +18 -0
- package/dist/components/connectors/ConnectorAvatar.d.ts +14 -0
- package/dist/components/connectors/ConnectorDetailsDialog.d.ts +8 -0
- package/dist/components/connectors/ConnectorMarketplaceDialog.d.ts +9 -0
- package/dist/components/connectors/ConnectorNoticeLine.d.ts +5 -0
- package/dist/components/connectors/ConnectorsListSurface.d.ts +37 -0
- package/dist/components/connectors/NewConnectorDialog.d.ts +10 -0
- package/dist/components/connectors/connector-copy.d.ts +37 -0
- package/dist/components/connectors/connector-form.d.ts +299 -0
- package/dist/components/connectors/portal-theme.d.ts +8 -0
- package/dist/components/connectors/product-name.d.ts +17 -0
- package/dist/components/connectors/use-connector-oauth.d.ts +28 -0
- package/dist/components/embed/EmbedRail.d.ts +14 -2
- package/dist/components/embed/rail-flags.d.ts +14 -0
- package/dist/components/embed/save-prompt-name.d.ts +20 -7
- package/dist/embed/dock-state.d.ts +1 -1
- package/dist/i18n/messages/en.d.ts +195 -0
- package/dist/i18n/messages/surfaces/connectors.d.ts +635 -0
- package/dist/i18n/messages/surfaces/header.d.ts +3 -0
- package/dist/routes/connectors.d.ts +2 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
231
231
|
json: {
|
|
232
232
|
title?: string | undefined;
|
|
233
233
|
workspaceExternalId?: string | undefined;
|
|
234
|
+
origin?: "user" | "benchmark" | undefined;
|
|
234
235
|
};
|
|
235
236
|
};
|
|
236
237
|
output: {
|
|
@@ -243,6 +244,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
243
244
|
json: {
|
|
244
245
|
title?: string | undefined;
|
|
245
246
|
workspaceExternalId?: string | undefined;
|
|
247
|
+
origin?: "user" | "benchmark" | undefined;
|
|
246
248
|
};
|
|
247
249
|
};
|
|
248
250
|
output: {
|
|
@@ -617,7 +619,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
617
619
|
};
|
|
618
620
|
};
|
|
619
621
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
622
|
+
status: 403 | 404 | 409;
|
|
621
623
|
} | {
|
|
622
624
|
input: {
|
|
623
625
|
param: {
|
|
@@ -677,7 +679,7 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
677
679
|
};
|
|
678
680
|
};
|
|
679
681
|
outputFormat: "json";
|
|
680
|
-
status:
|
|
682
|
+
status: 403 | 404 | 409;
|
|
681
683
|
};
|
|
682
684
|
}>;
|
|
683
685
|
};
|
|
@@ -4490,6 +4492,888 @@ export declare const createApiClient: (baseUrl: string) => {
|
|
|
4490
4492
|
}>;
|
|
4491
4493
|
};
|
|
4492
4494
|
};
|
|
4495
|
+
} & {
|
|
4496
|
+
v1: {
|
|
4497
|
+
connectors: import('hono/client').ClientRequest<string, "/v1/connectors", {
|
|
4498
|
+
$get: {
|
|
4499
|
+
input: {};
|
|
4500
|
+
output: {
|
|
4501
|
+
connectors: {
|
|
4502
|
+
connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
|
|
4503
|
+
name: string;
|
|
4504
|
+
alias: string;
|
|
4505
|
+
description: string;
|
|
4506
|
+
emoji: string | null;
|
|
4507
|
+
serverUrl: string;
|
|
4508
|
+
transport: "streamable_http" | "sse";
|
|
4509
|
+
authMode: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
4510
|
+
hasCredentials: boolean;
|
|
4511
|
+
enabled: boolean;
|
|
4512
|
+
status: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorStatus;
|
|
4513
|
+
lastError: string | null;
|
|
4514
|
+
tools: readonly {
|
|
4515
|
+
readonly name: string;
|
|
4516
|
+
readonly description: string;
|
|
4517
|
+
readonly enabled: boolean;
|
|
4518
|
+
}[];
|
|
4519
|
+
refusedTools: readonly {
|
|
4520
|
+
readonly toolName: string;
|
|
4521
|
+
readonly message: string;
|
|
4522
|
+
}[];
|
|
4523
|
+
lastDiscoveredAt: string | null;
|
|
4524
|
+
createdAt: string;
|
|
4525
|
+
}[];
|
|
4526
|
+
};
|
|
4527
|
+
outputFormat: "json";
|
|
4528
|
+
status: 200;
|
|
4529
|
+
} | {
|
|
4530
|
+
input: {};
|
|
4531
|
+
output: {
|
|
4532
|
+
readonly error: {
|
|
4533
|
+
readonly type: "connectors_disabled";
|
|
4534
|
+
};
|
|
4535
|
+
};
|
|
4536
|
+
outputFormat: "json";
|
|
4537
|
+
status: 503;
|
|
4538
|
+
};
|
|
4539
|
+
$post: {
|
|
4540
|
+
input: {
|
|
4541
|
+
json: {
|
|
4542
|
+
name: string;
|
|
4543
|
+
serverUrl: string;
|
|
4544
|
+
clientConnectorId: string;
|
|
4545
|
+
auth: {
|
|
4546
|
+
mode: "oauth";
|
|
4547
|
+
clientId?: string | undefined;
|
|
4548
|
+
clientSecret?: string | undefined;
|
|
4549
|
+
scope?: string | undefined;
|
|
4550
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4551
|
+
} | {
|
|
4552
|
+
mode: "none";
|
|
4553
|
+
} | {
|
|
4554
|
+
mode: "bearer";
|
|
4555
|
+
token: string;
|
|
4556
|
+
} | {
|
|
4557
|
+
mode: "headers";
|
|
4558
|
+
headers: Record<string, string>;
|
|
4559
|
+
} | {
|
|
4560
|
+
mode: "oauth_client_credentials";
|
|
4561
|
+
clientId: string;
|
|
4562
|
+
clientSecret: string;
|
|
4563
|
+
tokenEndpoint?: string | undefined;
|
|
4564
|
+
scope?: string | undefined;
|
|
4565
|
+
};
|
|
4566
|
+
catalogEntryId?: string | undefined;
|
|
4567
|
+
description?: string | undefined;
|
|
4568
|
+
emoji?: string | undefined;
|
|
4569
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4570
|
+
};
|
|
4571
|
+
};
|
|
4572
|
+
output: {
|
|
4573
|
+
readonly error: {
|
|
4574
|
+
readonly type: "connectors_disabled";
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4577
|
+
outputFormat: "json";
|
|
4578
|
+
status: 503;
|
|
4579
|
+
} | {
|
|
4580
|
+
input: {
|
|
4581
|
+
json: {
|
|
4582
|
+
name: string;
|
|
4583
|
+
serverUrl: string;
|
|
4584
|
+
clientConnectorId: string;
|
|
4585
|
+
auth: {
|
|
4586
|
+
mode: "oauth";
|
|
4587
|
+
clientId?: string | undefined;
|
|
4588
|
+
clientSecret?: string | undefined;
|
|
4589
|
+
scope?: string | undefined;
|
|
4590
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4591
|
+
} | {
|
|
4592
|
+
mode: "none";
|
|
4593
|
+
} | {
|
|
4594
|
+
mode: "bearer";
|
|
4595
|
+
token: string;
|
|
4596
|
+
} | {
|
|
4597
|
+
mode: "headers";
|
|
4598
|
+
headers: Record<string, string>;
|
|
4599
|
+
} | {
|
|
4600
|
+
mode: "oauth_client_credentials";
|
|
4601
|
+
clientId: string;
|
|
4602
|
+
clientSecret: string;
|
|
4603
|
+
tokenEndpoint?: string | undefined;
|
|
4604
|
+
scope?: string | undefined;
|
|
4605
|
+
};
|
|
4606
|
+
catalogEntryId?: string | undefined;
|
|
4607
|
+
description?: string | undefined;
|
|
4608
|
+
emoji?: string | undefined;
|
|
4609
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4610
|
+
};
|
|
4611
|
+
};
|
|
4612
|
+
output: {
|
|
4613
|
+
error: {
|
|
4614
|
+
type: string;
|
|
4615
|
+
requiredScope: string;
|
|
4616
|
+
};
|
|
4617
|
+
};
|
|
4618
|
+
outputFormat: "json";
|
|
4619
|
+
status: 403;
|
|
4620
|
+
} | {
|
|
4621
|
+
input: {
|
|
4622
|
+
json: {
|
|
4623
|
+
name: string;
|
|
4624
|
+
serverUrl: string;
|
|
4625
|
+
clientConnectorId: string;
|
|
4626
|
+
auth: {
|
|
4627
|
+
mode: "oauth";
|
|
4628
|
+
clientId?: string | undefined;
|
|
4629
|
+
clientSecret?: string | undefined;
|
|
4630
|
+
scope?: string | undefined;
|
|
4631
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4632
|
+
} | {
|
|
4633
|
+
mode: "none";
|
|
4634
|
+
} | {
|
|
4635
|
+
mode: "bearer";
|
|
4636
|
+
token: string;
|
|
4637
|
+
} | {
|
|
4638
|
+
mode: "headers";
|
|
4639
|
+
headers: Record<string, string>;
|
|
4640
|
+
} | {
|
|
4641
|
+
mode: "oauth_client_credentials";
|
|
4642
|
+
clientId: string;
|
|
4643
|
+
clientSecret: string;
|
|
4644
|
+
tokenEndpoint?: string | undefined;
|
|
4645
|
+
scope?: string | undefined;
|
|
4646
|
+
};
|
|
4647
|
+
catalogEntryId?: string | undefined;
|
|
4648
|
+
description?: string | undefined;
|
|
4649
|
+
emoji?: string | undefined;
|
|
4650
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4651
|
+
};
|
|
4652
|
+
};
|
|
4653
|
+
output: {
|
|
4654
|
+
connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
|
|
4655
|
+
};
|
|
4656
|
+
outputFormat: "json";
|
|
4657
|
+
status: 200 | 201;
|
|
4658
|
+
} | {
|
|
4659
|
+
input: {
|
|
4660
|
+
json: {
|
|
4661
|
+
name: string;
|
|
4662
|
+
serverUrl: string;
|
|
4663
|
+
clientConnectorId: string;
|
|
4664
|
+
auth: {
|
|
4665
|
+
mode: "oauth";
|
|
4666
|
+
clientId?: string | undefined;
|
|
4667
|
+
clientSecret?: string | undefined;
|
|
4668
|
+
scope?: string | undefined;
|
|
4669
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4670
|
+
} | {
|
|
4671
|
+
mode: "none";
|
|
4672
|
+
} | {
|
|
4673
|
+
mode: "bearer";
|
|
4674
|
+
token: string;
|
|
4675
|
+
} | {
|
|
4676
|
+
mode: "headers";
|
|
4677
|
+
headers: Record<string, string>;
|
|
4678
|
+
} | {
|
|
4679
|
+
mode: "oauth_client_credentials";
|
|
4680
|
+
clientId: string;
|
|
4681
|
+
clientSecret: string;
|
|
4682
|
+
tokenEndpoint?: string | undefined;
|
|
4683
|
+
scope?: string | undefined;
|
|
4684
|
+
};
|
|
4685
|
+
catalogEntryId?: string | undefined;
|
|
4686
|
+
description?: string | undefined;
|
|
4687
|
+
emoji?: string | undefined;
|
|
4688
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4689
|
+
};
|
|
4690
|
+
};
|
|
4691
|
+
output: {
|
|
4692
|
+
error: {
|
|
4693
|
+
type: string;
|
|
4694
|
+
};
|
|
4695
|
+
};
|
|
4696
|
+
outputFormat: "json";
|
|
4697
|
+
status: 404;
|
|
4698
|
+
} | {
|
|
4699
|
+
input: {
|
|
4700
|
+
json: {
|
|
4701
|
+
name: string;
|
|
4702
|
+
serverUrl: string;
|
|
4703
|
+
clientConnectorId: string;
|
|
4704
|
+
auth: {
|
|
4705
|
+
mode: "oauth";
|
|
4706
|
+
clientId?: string | undefined;
|
|
4707
|
+
clientSecret?: string | undefined;
|
|
4708
|
+
scope?: string | undefined;
|
|
4709
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4710
|
+
} | {
|
|
4711
|
+
mode: "none";
|
|
4712
|
+
} | {
|
|
4713
|
+
mode: "bearer";
|
|
4714
|
+
token: string;
|
|
4715
|
+
} | {
|
|
4716
|
+
mode: "headers";
|
|
4717
|
+
headers: Record<string, string>;
|
|
4718
|
+
} | {
|
|
4719
|
+
mode: "oauth_client_credentials";
|
|
4720
|
+
clientId: string;
|
|
4721
|
+
clientSecret: string;
|
|
4722
|
+
tokenEndpoint?: string | undefined;
|
|
4723
|
+
scope?: string | undefined;
|
|
4724
|
+
};
|
|
4725
|
+
catalogEntryId?: string | undefined;
|
|
4726
|
+
description?: string | undefined;
|
|
4727
|
+
emoji?: string | undefined;
|
|
4728
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4729
|
+
};
|
|
4730
|
+
};
|
|
4731
|
+
output: {
|
|
4732
|
+
error: {
|
|
4733
|
+
type: string;
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4736
|
+
outputFormat: "json";
|
|
4737
|
+
status: 503;
|
|
4738
|
+
} | {
|
|
4739
|
+
input: {
|
|
4740
|
+
json: {
|
|
4741
|
+
name: string;
|
|
4742
|
+
serverUrl: string;
|
|
4743
|
+
clientConnectorId: string;
|
|
4744
|
+
auth: {
|
|
4745
|
+
mode: "oauth";
|
|
4746
|
+
clientId?: string | undefined;
|
|
4747
|
+
clientSecret?: string | undefined;
|
|
4748
|
+
scope?: string | undefined;
|
|
4749
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4750
|
+
} | {
|
|
4751
|
+
mode: "none";
|
|
4752
|
+
} | {
|
|
4753
|
+
mode: "bearer";
|
|
4754
|
+
token: string;
|
|
4755
|
+
} | {
|
|
4756
|
+
mode: "headers";
|
|
4757
|
+
headers: Record<string, string>;
|
|
4758
|
+
} | {
|
|
4759
|
+
mode: "oauth_client_credentials";
|
|
4760
|
+
clientId: string;
|
|
4761
|
+
clientSecret: string;
|
|
4762
|
+
tokenEndpoint?: string | undefined;
|
|
4763
|
+
scope?: string | undefined;
|
|
4764
|
+
};
|
|
4765
|
+
catalogEntryId?: string | undefined;
|
|
4766
|
+
description?: string | undefined;
|
|
4767
|
+
emoji?: string | undefined;
|
|
4768
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4769
|
+
};
|
|
4770
|
+
};
|
|
4771
|
+
output: {
|
|
4772
|
+
error: {
|
|
4773
|
+
type: string;
|
|
4774
|
+
};
|
|
4775
|
+
};
|
|
4776
|
+
outputFormat: "json";
|
|
4777
|
+
status: 422;
|
|
4778
|
+
} | {
|
|
4779
|
+
input: {
|
|
4780
|
+
json: {
|
|
4781
|
+
name: string;
|
|
4782
|
+
serverUrl: string;
|
|
4783
|
+
clientConnectorId: string;
|
|
4784
|
+
auth: {
|
|
4785
|
+
mode: "oauth";
|
|
4786
|
+
clientId?: string | undefined;
|
|
4787
|
+
clientSecret?: string | undefined;
|
|
4788
|
+
scope?: string | undefined;
|
|
4789
|
+
authorizationParams?: Record<string, string> | undefined;
|
|
4790
|
+
} | {
|
|
4791
|
+
mode: "none";
|
|
4792
|
+
} | {
|
|
4793
|
+
mode: "bearer";
|
|
4794
|
+
token: string;
|
|
4795
|
+
} | {
|
|
4796
|
+
mode: "headers";
|
|
4797
|
+
headers: Record<string, string>;
|
|
4798
|
+
} | {
|
|
4799
|
+
mode: "oauth_client_credentials";
|
|
4800
|
+
clientId: string;
|
|
4801
|
+
clientSecret: string;
|
|
4802
|
+
tokenEndpoint?: string | undefined;
|
|
4803
|
+
scope?: string | undefined;
|
|
4804
|
+
};
|
|
4805
|
+
catalogEntryId?: string | undefined;
|
|
4806
|
+
description?: string | undefined;
|
|
4807
|
+
emoji?: string | undefined;
|
|
4808
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4809
|
+
};
|
|
4810
|
+
};
|
|
4811
|
+
output: {
|
|
4812
|
+
error: {
|
|
4813
|
+
type: string;
|
|
4814
|
+
alias: string;
|
|
4815
|
+
};
|
|
4816
|
+
};
|
|
4817
|
+
outputFormat: "json";
|
|
4818
|
+
status: 409;
|
|
4819
|
+
};
|
|
4820
|
+
}>;
|
|
4821
|
+
};
|
|
4822
|
+
} & {
|
|
4823
|
+
v1: {
|
|
4824
|
+
connectors: {
|
|
4825
|
+
catalog: import('hono/client').ClientRequest<string, "/v1/connectors/catalog", {
|
|
4826
|
+
$get: {
|
|
4827
|
+
input: {};
|
|
4828
|
+
output: {
|
|
4829
|
+
readonly error: {
|
|
4830
|
+
readonly type: "connectors_disabled";
|
|
4831
|
+
};
|
|
4832
|
+
};
|
|
4833
|
+
outputFormat: "json";
|
|
4834
|
+
status: 503;
|
|
4835
|
+
} | {
|
|
4836
|
+
input: {};
|
|
4837
|
+
output: {
|
|
4838
|
+
connectors: {
|
|
4839
|
+
id: string;
|
|
4840
|
+
name: string;
|
|
4841
|
+
description: string;
|
|
4842
|
+
iconKey: string;
|
|
4843
|
+
category: string;
|
|
4844
|
+
serverUrl: string;
|
|
4845
|
+
transport: "streamable_http" | "sse";
|
|
4846
|
+
authMode: import('node_modules/@belong/cloud/src/features/connectors/connector.repo').ConnectorAuthMode;
|
|
4847
|
+
oauthScope: string | null;
|
|
4848
|
+
oauthAuthorizationParams: {
|
|
4849
|
+
readonly [x: string]: string;
|
|
4850
|
+
} | null;
|
|
4851
|
+
oauthAppCredentialsRequired: boolean;
|
|
4852
|
+
documentationUrl: string;
|
|
4853
|
+
featured: boolean;
|
|
4854
|
+
preview: boolean;
|
|
4855
|
+
}[];
|
|
4856
|
+
};
|
|
4857
|
+
outputFormat: "json";
|
|
4858
|
+
status: 200;
|
|
4859
|
+
};
|
|
4860
|
+
}>;
|
|
4861
|
+
};
|
|
4862
|
+
};
|
|
4863
|
+
} & {
|
|
4864
|
+
v1: {
|
|
4865
|
+
connectors: {
|
|
4866
|
+
probe: import('hono/client').ClientRequest<string, "/v1/connectors/probe", {
|
|
4867
|
+
$post: {
|
|
4868
|
+
input: {
|
|
4869
|
+
json: {
|
|
4870
|
+
serverUrl: string;
|
|
4871
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4872
|
+
};
|
|
4873
|
+
};
|
|
4874
|
+
output: {
|
|
4875
|
+
readonly error: {
|
|
4876
|
+
readonly type: "connectors_disabled";
|
|
4877
|
+
};
|
|
4878
|
+
};
|
|
4879
|
+
outputFormat: "json";
|
|
4880
|
+
status: 503;
|
|
4881
|
+
} | {
|
|
4882
|
+
input: {
|
|
4883
|
+
json: {
|
|
4884
|
+
serverUrl: string;
|
|
4885
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4886
|
+
};
|
|
4887
|
+
};
|
|
4888
|
+
output: {
|
|
4889
|
+
error: {
|
|
4890
|
+
type: string;
|
|
4891
|
+
requiredScope: string;
|
|
4892
|
+
};
|
|
4893
|
+
};
|
|
4894
|
+
outputFormat: "json";
|
|
4895
|
+
status: 403;
|
|
4896
|
+
} | {
|
|
4897
|
+
input: {
|
|
4898
|
+
json: {
|
|
4899
|
+
serverUrl: string;
|
|
4900
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4901
|
+
};
|
|
4902
|
+
};
|
|
4903
|
+
output: {
|
|
4904
|
+
transport: "streamable_http" | "sse";
|
|
4905
|
+
auth: {
|
|
4906
|
+
readonly mode: "none";
|
|
4907
|
+
readonly toolCount: number;
|
|
4908
|
+
} | {
|
|
4909
|
+
readonly mode: "oauth";
|
|
4910
|
+
readonly registration: "dynamic" | "client_id_required";
|
|
4911
|
+
readonly authorizationServerOrigin: string;
|
|
4912
|
+
readonly scope: string | null;
|
|
4913
|
+
} | {
|
|
4914
|
+
readonly mode: "bearer";
|
|
4915
|
+
};
|
|
4916
|
+
};
|
|
4917
|
+
outputFormat: "json";
|
|
4918
|
+
status: 200;
|
|
4919
|
+
} | {
|
|
4920
|
+
input: {
|
|
4921
|
+
json: {
|
|
4922
|
+
serverUrl: string;
|
|
4923
|
+
transport?: "streamable_http" | "sse" | undefined;
|
|
4924
|
+
};
|
|
4925
|
+
};
|
|
4926
|
+
output: {
|
|
4927
|
+
error: {
|
|
4928
|
+
type: string;
|
|
4929
|
+
message: string;
|
|
4930
|
+
};
|
|
4931
|
+
};
|
|
4932
|
+
outputFormat: "json";
|
|
4933
|
+
status: 422;
|
|
4934
|
+
};
|
|
4935
|
+
}>;
|
|
4936
|
+
};
|
|
4937
|
+
};
|
|
4938
|
+
} & {
|
|
4939
|
+
v1: {
|
|
4940
|
+
connectors: {
|
|
4941
|
+
":connectorId": import('hono/client').ClientRequest<string, "/v1/connectors/:connectorId", {
|
|
4942
|
+
$patch: {
|
|
4943
|
+
input: {
|
|
4944
|
+
param: {
|
|
4945
|
+
connectorId: string;
|
|
4946
|
+
};
|
|
4947
|
+
} & {
|
|
4948
|
+
json: {
|
|
4949
|
+
name?: string | undefined;
|
|
4950
|
+
description?: string | undefined;
|
|
4951
|
+
emoji?: string | null | undefined;
|
|
4952
|
+
enabled?: boolean | undefined;
|
|
4953
|
+
disabledTools?: string[] | undefined;
|
|
4954
|
+
auth?: {
|
|
4955
|
+
mode: "none";
|
|
4956
|
+
} | {
|
|
4957
|
+
mode: "bearer";
|
|
4958
|
+
token: string;
|
|
4959
|
+
} | {
|
|
4960
|
+
mode: "headers";
|
|
4961
|
+
headers: Record<string, string>;
|
|
4962
|
+
} | {
|
|
4963
|
+
mode: "oauth_client_credentials";
|
|
4964
|
+
clientId: string;
|
|
4965
|
+
clientSecret: string;
|
|
4966
|
+
tokenEndpoint?: string | undefined;
|
|
4967
|
+
scope?: string | undefined;
|
|
4968
|
+
} | undefined;
|
|
4969
|
+
};
|
|
4970
|
+
};
|
|
4971
|
+
output: {
|
|
4972
|
+
readonly error: {
|
|
4973
|
+
readonly type: "connectors_disabled";
|
|
4974
|
+
};
|
|
4975
|
+
};
|
|
4976
|
+
outputFormat: "json";
|
|
4977
|
+
status: 503;
|
|
4978
|
+
} | {
|
|
4979
|
+
input: {
|
|
4980
|
+
param: {
|
|
4981
|
+
connectorId: string;
|
|
4982
|
+
};
|
|
4983
|
+
} & {
|
|
4984
|
+
json: {
|
|
4985
|
+
name?: string | undefined;
|
|
4986
|
+
description?: string | undefined;
|
|
4987
|
+
emoji?: string | null | undefined;
|
|
4988
|
+
enabled?: boolean | undefined;
|
|
4989
|
+
disabledTools?: string[] | undefined;
|
|
4990
|
+
auth?: {
|
|
4991
|
+
mode: "none";
|
|
4992
|
+
} | {
|
|
4993
|
+
mode: "bearer";
|
|
4994
|
+
token: string;
|
|
4995
|
+
} | {
|
|
4996
|
+
mode: "headers";
|
|
4997
|
+
headers: Record<string, string>;
|
|
4998
|
+
} | {
|
|
4999
|
+
mode: "oauth_client_credentials";
|
|
5000
|
+
clientId: string;
|
|
5001
|
+
clientSecret: string;
|
|
5002
|
+
tokenEndpoint?: string | undefined;
|
|
5003
|
+
scope?: string | undefined;
|
|
5004
|
+
} | undefined;
|
|
5005
|
+
};
|
|
5006
|
+
};
|
|
5007
|
+
output: {
|
|
5008
|
+
error: {
|
|
5009
|
+
type: string;
|
|
5010
|
+
requiredScope: string;
|
|
5011
|
+
};
|
|
5012
|
+
};
|
|
5013
|
+
outputFormat: "json";
|
|
5014
|
+
status: 403;
|
|
5015
|
+
} | {
|
|
5016
|
+
input: {
|
|
5017
|
+
param: {
|
|
5018
|
+
connectorId: string;
|
|
5019
|
+
};
|
|
5020
|
+
} & {
|
|
5021
|
+
json: {
|
|
5022
|
+
name?: string | undefined;
|
|
5023
|
+
description?: string | undefined;
|
|
5024
|
+
emoji?: string | null | undefined;
|
|
5025
|
+
enabled?: boolean | undefined;
|
|
5026
|
+
disabledTools?: string[] | undefined;
|
|
5027
|
+
auth?: {
|
|
5028
|
+
mode: "none";
|
|
5029
|
+
} | {
|
|
5030
|
+
mode: "bearer";
|
|
5031
|
+
token: string;
|
|
5032
|
+
} | {
|
|
5033
|
+
mode: "headers";
|
|
5034
|
+
headers: Record<string, string>;
|
|
5035
|
+
} | {
|
|
5036
|
+
mode: "oauth_client_credentials";
|
|
5037
|
+
clientId: string;
|
|
5038
|
+
clientSecret: string;
|
|
5039
|
+
tokenEndpoint?: string | undefined;
|
|
5040
|
+
scope?: string | undefined;
|
|
5041
|
+
} | undefined;
|
|
5042
|
+
};
|
|
5043
|
+
};
|
|
5044
|
+
output: {
|
|
5045
|
+
connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
|
|
5046
|
+
};
|
|
5047
|
+
outputFormat: "json";
|
|
5048
|
+
status: 200;
|
|
5049
|
+
} | {
|
|
5050
|
+
input: {
|
|
5051
|
+
param: {
|
|
5052
|
+
connectorId: string;
|
|
5053
|
+
};
|
|
5054
|
+
} & {
|
|
5055
|
+
json: {
|
|
5056
|
+
name?: string | undefined;
|
|
5057
|
+
description?: string | undefined;
|
|
5058
|
+
emoji?: string | null | undefined;
|
|
5059
|
+
enabled?: boolean | undefined;
|
|
5060
|
+
disabledTools?: string[] | undefined;
|
|
5061
|
+
auth?: {
|
|
5062
|
+
mode: "none";
|
|
5063
|
+
} | {
|
|
5064
|
+
mode: "bearer";
|
|
5065
|
+
token: string;
|
|
5066
|
+
} | {
|
|
5067
|
+
mode: "headers";
|
|
5068
|
+
headers: Record<string, string>;
|
|
5069
|
+
} | {
|
|
5070
|
+
mode: "oauth_client_credentials";
|
|
5071
|
+
clientId: string;
|
|
5072
|
+
clientSecret: string;
|
|
5073
|
+
tokenEndpoint?: string | undefined;
|
|
5074
|
+
scope?: string | undefined;
|
|
5075
|
+
} | undefined;
|
|
5076
|
+
};
|
|
5077
|
+
};
|
|
5078
|
+
output: {
|
|
5079
|
+
error: {
|
|
5080
|
+
type: string;
|
|
5081
|
+
};
|
|
5082
|
+
};
|
|
5083
|
+
outputFormat: "json";
|
|
5084
|
+
status: 404;
|
|
5085
|
+
} | {
|
|
5086
|
+
input: {
|
|
5087
|
+
param: {
|
|
5088
|
+
connectorId: string;
|
|
5089
|
+
};
|
|
5090
|
+
} & {
|
|
5091
|
+
json: {
|
|
5092
|
+
name?: string | undefined;
|
|
5093
|
+
description?: string | undefined;
|
|
5094
|
+
emoji?: string | null | undefined;
|
|
5095
|
+
enabled?: boolean | undefined;
|
|
5096
|
+
disabledTools?: string[] | undefined;
|
|
5097
|
+
auth?: {
|
|
5098
|
+
mode: "none";
|
|
5099
|
+
} | {
|
|
5100
|
+
mode: "bearer";
|
|
5101
|
+
token: string;
|
|
5102
|
+
} | {
|
|
5103
|
+
mode: "headers";
|
|
5104
|
+
headers: Record<string, string>;
|
|
5105
|
+
} | {
|
|
5106
|
+
mode: "oauth_client_credentials";
|
|
5107
|
+
clientId: string;
|
|
5108
|
+
clientSecret: string;
|
|
5109
|
+
tokenEndpoint?: string | undefined;
|
|
5110
|
+
scope?: string | undefined;
|
|
5111
|
+
} | undefined;
|
|
5112
|
+
};
|
|
5113
|
+
};
|
|
5114
|
+
output: {
|
|
5115
|
+
error: {
|
|
5116
|
+
type: string;
|
|
5117
|
+
};
|
|
5118
|
+
};
|
|
5119
|
+
outputFormat: "json";
|
|
5120
|
+
status: 422;
|
|
5121
|
+
};
|
|
5122
|
+
$delete: {
|
|
5123
|
+
input: {
|
|
5124
|
+
param: {
|
|
5125
|
+
connectorId: string;
|
|
5126
|
+
};
|
|
5127
|
+
};
|
|
5128
|
+
output: null;
|
|
5129
|
+
outputFormat: "body";
|
|
5130
|
+
status: 204;
|
|
5131
|
+
} | {
|
|
5132
|
+
input: {
|
|
5133
|
+
param: {
|
|
5134
|
+
connectorId: string;
|
|
5135
|
+
};
|
|
5136
|
+
};
|
|
5137
|
+
output: {
|
|
5138
|
+
readonly error: {
|
|
5139
|
+
readonly type: "connectors_disabled";
|
|
5140
|
+
};
|
|
5141
|
+
};
|
|
5142
|
+
outputFormat: "json";
|
|
5143
|
+
status: 503;
|
|
5144
|
+
} | {
|
|
5145
|
+
input: {
|
|
5146
|
+
param: {
|
|
5147
|
+
connectorId: string;
|
|
5148
|
+
};
|
|
5149
|
+
};
|
|
5150
|
+
output: {
|
|
5151
|
+
error: {
|
|
5152
|
+
type: string;
|
|
5153
|
+
requiredScope: string;
|
|
5154
|
+
};
|
|
5155
|
+
};
|
|
5156
|
+
outputFormat: "json";
|
|
5157
|
+
status: 403;
|
|
5158
|
+
} | {
|
|
5159
|
+
input: {
|
|
5160
|
+
param: {
|
|
5161
|
+
connectorId: string;
|
|
5162
|
+
};
|
|
5163
|
+
};
|
|
5164
|
+
output: {
|
|
5165
|
+
error: {
|
|
5166
|
+
type: string;
|
|
5167
|
+
};
|
|
5168
|
+
};
|
|
5169
|
+
outputFormat: "json";
|
|
5170
|
+
status: 404;
|
|
5171
|
+
};
|
|
5172
|
+
}>;
|
|
5173
|
+
};
|
|
5174
|
+
};
|
|
5175
|
+
} & {
|
|
5176
|
+
v1: {
|
|
5177
|
+
connectors: {
|
|
5178
|
+
":connectorId": {
|
|
5179
|
+
refresh: import('hono/client').ClientRequest<string, "/v1/connectors/:connectorId/refresh", {
|
|
5180
|
+
$post: {
|
|
5181
|
+
input: {
|
|
5182
|
+
param: {
|
|
5183
|
+
connectorId: string;
|
|
5184
|
+
};
|
|
5185
|
+
};
|
|
5186
|
+
output: {
|
|
5187
|
+
readonly error: {
|
|
5188
|
+
readonly type: "connectors_disabled";
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
5191
|
+
outputFormat: "json";
|
|
5192
|
+
status: 503;
|
|
5193
|
+
} | {
|
|
5194
|
+
input: {
|
|
5195
|
+
param: {
|
|
5196
|
+
connectorId: string;
|
|
5197
|
+
};
|
|
5198
|
+
};
|
|
5199
|
+
output: {
|
|
5200
|
+
error: {
|
|
5201
|
+
type: string;
|
|
5202
|
+
requiredScope: string;
|
|
5203
|
+
};
|
|
5204
|
+
};
|
|
5205
|
+
outputFormat: "json";
|
|
5206
|
+
status: 403;
|
|
5207
|
+
} | {
|
|
5208
|
+
input: {
|
|
5209
|
+
param: {
|
|
5210
|
+
connectorId: string;
|
|
5211
|
+
};
|
|
5212
|
+
};
|
|
5213
|
+
output: {
|
|
5214
|
+
connectorId: import('node_modules/@belong/cloud/src/platform/ids').ConnectorId;
|
|
5215
|
+
};
|
|
5216
|
+
outputFormat: "json";
|
|
5217
|
+
status: 200;
|
|
5218
|
+
} | {
|
|
5219
|
+
input: {
|
|
5220
|
+
param: {
|
|
5221
|
+
connectorId: string;
|
|
5222
|
+
};
|
|
5223
|
+
};
|
|
5224
|
+
output: {
|
|
5225
|
+
error: {
|
|
5226
|
+
type: string;
|
|
5227
|
+
};
|
|
5228
|
+
};
|
|
5229
|
+
outputFormat: "json";
|
|
5230
|
+
status: 404;
|
|
5231
|
+
} | {
|
|
5232
|
+
input: {
|
|
5233
|
+
param: {
|
|
5234
|
+
connectorId: string;
|
|
5235
|
+
};
|
|
5236
|
+
};
|
|
5237
|
+
output: {
|
|
5238
|
+
error: {
|
|
5239
|
+
type: string;
|
|
5240
|
+
};
|
|
5241
|
+
};
|
|
5242
|
+
outputFormat: "json";
|
|
5243
|
+
status: 409;
|
|
5244
|
+
} | {
|
|
5245
|
+
input: {
|
|
5246
|
+
param: {
|
|
5247
|
+
connectorId: string;
|
|
5248
|
+
};
|
|
5249
|
+
};
|
|
5250
|
+
output: {
|
|
5251
|
+
error: {
|
|
5252
|
+
type: string;
|
|
5253
|
+
};
|
|
5254
|
+
};
|
|
5255
|
+
outputFormat: "json";
|
|
5256
|
+
status: 422;
|
|
5257
|
+
};
|
|
5258
|
+
}>;
|
|
5259
|
+
};
|
|
5260
|
+
};
|
|
5261
|
+
};
|
|
5262
|
+
} & {
|
|
5263
|
+
v1: {
|
|
5264
|
+
connectors: {
|
|
5265
|
+
":connectorId": {
|
|
5266
|
+
oauth: {
|
|
5267
|
+
start: import('hono/client').ClientRequest<string, "/v1/connectors/:connectorId/oauth/start", {
|
|
5268
|
+
$post: {
|
|
5269
|
+
input: {
|
|
5270
|
+
param: {
|
|
5271
|
+
connectorId: string;
|
|
5272
|
+
};
|
|
5273
|
+
};
|
|
5274
|
+
output: {
|
|
5275
|
+
readonly error: {
|
|
5276
|
+
readonly type: "connectors_disabled";
|
|
5277
|
+
};
|
|
5278
|
+
};
|
|
5279
|
+
outputFormat: "json";
|
|
5280
|
+
status: 503;
|
|
5281
|
+
} | {
|
|
5282
|
+
input: {
|
|
5283
|
+
param: {
|
|
5284
|
+
connectorId: string;
|
|
5285
|
+
};
|
|
5286
|
+
};
|
|
5287
|
+
output: {
|
|
5288
|
+
error: {
|
|
5289
|
+
type: string;
|
|
5290
|
+
requiredScope: string;
|
|
5291
|
+
};
|
|
5292
|
+
};
|
|
5293
|
+
outputFormat: "json";
|
|
5294
|
+
status: 403;
|
|
5295
|
+
} | {
|
|
5296
|
+
input: {
|
|
5297
|
+
param: {
|
|
5298
|
+
connectorId: string;
|
|
5299
|
+
};
|
|
5300
|
+
};
|
|
5301
|
+
output: {
|
|
5302
|
+
authorizationUrl: string;
|
|
5303
|
+
};
|
|
5304
|
+
outputFormat: "json";
|
|
5305
|
+
status: 200;
|
|
5306
|
+
} | {
|
|
5307
|
+
input: {
|
|
5308
|
+
param: {
|
|
5309
|
+
connectorId: string;
|
|
5310
|
+
};
|
|
5311
|
+
};
|
|
5312
|
+
output: {
|
|
5313
|
+
error: {
|
|
5314
|
+
type: string;
|
|
5315
|
+
};
|
|
5316
|
+
};
|
|
5317
|
+
outputFormat: "json";
|
|
5318
|
+
status: 503;
|
|
5319
|
+
} | {
|
|
5320
|
+
input: {
|
|
5321
|
+
param: {
|
|
5322
|
+
connectorId: string;
|
|
5323
|
+
};
|
|
5324
|
+
};
|
|
5325
|
+
output: {
|
|
5326
|
+
error: {
|
|
5327
|
+
type: string;
|
|
5328
|
+
};
|
|
5329
|
+
};
|
|
5330
|
+
outputFormat: "json";
|
|
5331
|
+
status: 404;
|
|
5332
|
+
} | {
|
|
5333
|
+
input: {
|
|
5334
|
+
param: {
|
|
5335
|
+
connectorId: string;
|
|
5336
|
+
};
|
|
5337
|
+
};
|
|
5338
|
+
output: {
|
|
5339
|
+
error: {
|
|
5340
|
+
type: string;
|
|
5341
|
+
};
|
|
5342
|
+
};
|
|
5343
|
+
outputFormat: "json";
|
|
5344
|
+
status: 409;
|
|
5345
|
+
} | {
|
|
5346
|
+
input: {
|
|
5347
|
+
param: {
|
|
5348
|
+
connectorId: string;
|
|
5349
|
+
};
|
|
5350
|
+
};
|
|
5351
|
+
output: {
|
|
5352
|
+
error: {
|
|
5353
|
+
type: string;
|
|
5354
|
+
};
|
|
5355
|
+
};
|
|
5356
|
+
outputFormat: "json";
|
|
5357
|
+
status: 422;
|
|
5358
|
+
};
|
|
5359
|
+
}>;
|
|
5360
|
+
};
|
|
5361
|
+
};
|
|
5362
|
+
};
|
|
5363
|
+
};
|
|
5364
|
+
} & {
|
|
5365
|
+
v1: {
|
|
5366
|
+
"connector-oauth": {
|
|
5367
|
+
callback: import('hono/client').ClientRequest<string, "/v1/connector-oauth/callback", {
|
|
5368
|
+
$get: {
|
|
5369
|
+
input: {};
|
|
5370
|
+
output: {};
|
|
5371
|
+
outputFormat: string;
|
|
5372
|
+
status: import('hono/utils/http-status').StatusCode;
|
|
5373
|
+
};
|
|
5374
|
+
}>;
|
|
5375
|
+
};
|
|
5376
|
+
};
|
|
4493
5377
|
} & {
|
|
4494
5378
|
v1: {
|
|
4495
5379
|
admin: {
|