@antasphere/chassis-contract 1.5.0 → 1.6.0

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.
@@ -5918,15 +5918,1496 @@ export interface ChassisRoutesCopy {
5918
5918
  /** How the document describes the 409 of `DELETE /files/{id}`: what references a blob is the tool's to name. */
5919
5919
  fileInUseOpenApi: string;
5920
5920
  }
5921
- /**
5922
- * The route contracts that carry something of the TOOL: every route whose
5923
- * request or response schema transitively holds `scopeSchema`, and the routes
5924
- * whose OpenAPI text names a scope or the tool's domain (the CLI key's grant,
5925
- * the export scope, the file-in-use refusal). Built from the contract
5926
- * `defineChassisContract({ scopes })` returned, from the tool's identity and
5927
- * from its wording of the document — no module-level state, one instantiation
5928
- * per tool, and no route object that no tool serves.
5929
- */
5921
+ export declare const connectionsListRoute: {
5922
+ method: "get";
5923
+ path: "/connections";
5924
+ tags: string[];
5925
+ summary: string;
5926
+ responses: {
5927
+ 200: {
5928
+ content: {
5929
+ 'application/json': {
5930
+ schema: z.ZodObject<{
5931
+ connections: z.ZodArray<z.ZodObject<{
5932
+ source: z.ZodString;
5933
+ name: z.ZodString;
5934
+ kind: z.ZodEnum<{
5935
+ key: "key";
5936
+ inbound: "inbound";
5937
+ both: "both";
5938
+ }>;
5939
+ declared: z.ZodObject<{
5940
+ description: z.ZodNullable<z.ZodString>;
5941
+ verifier: z.ZodNullable<z.ZodString>;
5942
+ events: z.ZodArray<z.ZodString>;
5943
+ secretHint: z.ZodNullable<z.ZodString>;
5944
+ fields: z.ZodArray<z.ZodObject<{
5945
+ key: z.ZodString;
5946
+ label: z.ZodString;
5947
+ description: z.ZodNullable<z.ZodString>;
5948
+ required: z.ZodBoolean;
5949
+ multiple: z.ZodBoolean;
5950
+ }, z.core.$strip>>;
5951
+ sibling: z.ZodNullable<z.ZodObject<{
5952
+ toolSlug: z.ZodString;
5953
+ events: z.ZodArray<z.ZodString>;
5954
+ }, z.core.$strip>>;
5955
+ }, z.core.$strip>;
5956
+ connected: z.ZodBoolean;
5957
+ receiving: z.ZodNullable<z.ZodObject<{
5958
+ madeAt: z.ZodString;
5959
+ madeBy: z.ZodNullable<z.ZodObject<{
5960
+ id: z.ZodString;
5961
+ name: z.ZodString;
5962
+ email: z.ZodString;
5963
+ }, z.core.$strip>>;
5964
+ }, z.core.$strip>>;
5965
+ secretState: z.ZodObject<{
5966
+ set: z.ZodBoolean;
5967
+ readable: z.ZodBoolean;
5968
+ setAt: z.ZodNullable<z.ZodString>;
5969
+ setBy: z.ZodNullable<z.ZodObject<{
5970
+ id: z.ZodString;
5971
+ name: z.ZodString;
5972
+ email: z.ZodString;
5973
+ }, z.core.$strip>>;
5974
+ }, z.core.$strip>;
5975
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
5976
+ connectedAt: z.ZodNullable<z.ZodString>;
5977
+ connectedBy: z.ZodNullable<z.ZodObject<{
5978
+ id: z.ZodString;
5979
+ name: z.ZodString;
5980
+ email: z.ZodString;
5981
+ }, z.core.$strip>>;
5982
+ lastDelivery: z.ZodNullable<z.ZodObject<{
5983
+ at: z.ZodString;
5984
+ type: z.ZodString;
5985
+ outcome: z.ZodEnum<{
5986
+ failed: "failed";
5987
+ processed: "processed";
5988
+ ignored: "ignored";
5989
+ }>;
5990
+ }, z.core.$strip>>;
5991
+ check: z.ZodNullable<z.ZodObject<{
5992
+ at: z.ZodString;
5993
+ ok: z.ZodBoolean;
5994
+ detail: z.ZodString;
5995
+ }, z.core.$strip>>;
5996
+ sibling: z.ZodNullable<z.ZodObject<{
5997
+ endpointId: z.ZodNullable<z.ZodString>;
5998
+ }, z.core.$strip>>;
5999
+ }, z.core.$strip>>;
6000
+ }, z.core.$strip>;
6001
+ };
6002
+ };
6003
+ description: string;
6004
+ };
6005
+ 401: {
6006
+ content: {
6007
+ 'application/json': {
6008
+ schema: z.ZodObject<{
6009
+ error: z.ZodObject<{
6010
+ code: z.ZodString;
6011
+ message: z.ZodString;
6012
+ details: z.ZodOptional<z.ZodUnknown>;
6013
+ }, z.core.$strip>;
6014
+ }, z.core.$strip>;
6015
+ };
6016
+ };
6017
+ description: string;
6018
+ };
6019
+ 403: {
6020
+ content: {
6021
+ 'application/json': {
6022
+ schema: z.ZodObject<{
6023
+ error: z.ZodObject<{
6024
+ code: z.ZodString;
6025
+ message: z.ZodString;
6026
+ details: z.ZodOptional<z.ZodUnknown>;
6027
+ }, z.core.$strip>;
6028
+ }, z.core.$strip>;
6029
+ };
6030
+ };
6031
+ description: string;
6032
+ };
6033
+ };
6034
+ } & {
6035
+ getRoutingPath(): "/connections";
6036
+ };
6037
+ export declare const connectionGetRoute: {
6038
+ method: "get";
6039
+ path: "/connections/{source}";
6040
+ tags: string[];
6041
+ summary: string;
6042
+ request: {
6043
+ params: z.ZodObject<{
6044
+ source: z.ZodString;
6045
+ }, z.core.$strip>;
6046
+ };
6047
+ responses: {
6048
+ 401: {
6049
+ content: {
6050
+ 'application/json': {
6051
+ schema: z.ZodObject<{
6052
+ error: z.ZodObject<{
6053
+ code: z.ZodString;
6054
+ message: z.ZodString;
6055
+ details: z.ZodOptional<z.ZodUnknown>;
6056
+ }, z.core.$strip>;
6057
+ }, z.core.$strip>;
6058
+ };
6059
+ };
6060
+ description: string;
6061
+ };
6062
+ 403: {
6063
+ content: {
6064
+ 'application/json': {
6065
+ schema: z.ZodObject<{
6066
+ error: z.ZodObject<{
6067
+ code: z.ZodString;
6068
+ message: z.ZodString;
6069
+ details: z.ZodOptional<z.ZodUnknown>;
6070
+ }, z.core.$strip>;
6071
+ }, z.core.$strip>;
6072
+ };
6073
+ };
6074
+ description: string;
6075
+ };
6076
+ 404: {
6077
+ content: {
6078
+ 'application/json': {
6079
+ schema: z.ZodObject<{
6080
+ error: z.ZodObject<{
6081
+ code: z.ZodString;
6082
+ message: z.ZodString;
6083
+ details: z.ZodOptional<z.ZodUnknown>;
6084
+ }, z.core.$strip>;
6085
+ }, z.core.$strip>;
6086
+ };
6087
+ };
6088
+ description: string;
6089
+ };
6090
+ 200: {
6091
+ content: {
6092
+ 'application/json': {
6093
+ schema: z.ZodObject<{
6094
+ source: z.ZodString;
6095
+ name: z.ZodString;
6096
+ kind: z.ZodEnum<{
6097
+ key: "key";
6098
+ inbound: "inbound";
6099
+ both: "both";
6100
+ }>;
6101
+ declared: z.ZodObject<{
6102
+ description: z.ZodNullable<z.ZodString>;
6103
+ verifier: z.ZodNullable<z.ZodString>;
6104
+ events: z.ZodArray<z.ZodString>;
6105
+ secretHint: z.ZodNullable<z.ZodString>;
6106
+ fields: z.ZodArray<z.ZodObject<{
6107
+ key: z.ZodString;
6108
+ label: z.ZodString;
6109
+ description: z.ZodNullable<z.ZodString>;
6110
+ required: z.ZodBoolean;
6111
+ multiple: z.ZodBoolean;
6112
+ }, z.core.$strip>>;
6113
+ sibling: z.ZodNullable<z.ZodObject<{
6114
+ toolSlug: z.ZodString;
6115
+ events: z.ZodArray<z.ZodString>;
6116
+ }, z.core.$strip>>;
6117
+ }, z.core.$strip>;
6118
+ connected: z.ZodBoolean;
6119
+ receiving: z.ZodNullable<z.ZodObject<{
6120
+ madeAt: z.ZodString;
6121
+ madeBy: z.ZodNullable<z.ZodObject<{
6122
+ id: z.ZodString;
6123
+ name: z.ZodString;
6124
+ email: z.ZodString;
6125
+ }, z.core.$strip>>;
6126
+ }, z.core.$strip>>;
6127
+ secretState: z.ZodObject<{
6128
+ set: z.ZodBoolean;
6129
+ readable: z.ZodBoolean;
6130
+ setAt: z.ZodNullable<z.ZodString>;
6131
+ setBy: z.ZodNullable<z.ZodObject<{
6132
+ id: z.ZodString;
6133
+ name: z.ZodString;
6134
+ email: z.ZodString;
6135
+ }, z.core.$strip>>;
6136
+ }, z.core.$strip>;
6137
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6138
+ connectedAt: z.ZodNullable<z.ZodString>;
6139
+ connectedBy: z.ZodNullable<z.ZodObject<{
6140
+ id: z.ZodString;
6141
+ name: z.ZodString;
6142
+ email: z.ZodString;
6143
+ }, z.core.$strip>>;
6144
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6145
+ at: z.ZodString;
6146
+ type: z.ZodString;
6147
+ outcome: z.ZodEnum<{
6148
+ failed: "failed";
6149
+ processed: "processed";
6150
+ ignored: "ignored";
6151
+ }>;
6152
+ }, z.core.$strip>>;
6153
+ check: z.ZodNullable<z.ZodObject<{
6154
+ at: z.ZodString;
6155
+ ok: z.ZodBoolean;
6156
+ detail: z.ZodString;
6157
+ }, z.core.$strip>>;
6158
+ sibling: z.ZodNullable<z.ZodObject<{
6159
+ endpointId: z.ZodNullable<z.ZodString>;
6160
+ }, z.core.$strip>>;
6161
+ }, z.core.$strip>;
6162
+ };
6163
+ };
6164
+ description: string;
6165
+ };
6166
+ };
6167
+ } & {
6168
+ getRoutingPath(): "/connections/:source";
6169
+ };
6170
+ export declare const connectionConnectRoute: {
6171
+ method: "post";
6172
+ path: "/connections/{source}";
6173
+ tags: string[];
6174
+ summary: string;
6175
+ request: {
6176
+ params: z.ZodObject<{
6177
+ source: z.ZodString;
6178
+ }, z.core.$strip>;
6179
+ };
6180
+ responses: {
6181
+ 409: {
6182
+ content: {
6183
+ 'application/json': {
6184
+ schema: z.ZodObject<{
6185
+ error: z.ZodObject<{
6186
+ code: z.ZodString;
6187
+ message: z.ZodString;
6188
+ details: z.ZodOptional<z.ZodUnknown>;
6189
+ }, z.core.$strip>;
6190
+ }, z.core.$strip>;
6191
+ };
6192
+ };
6193
+ description: string;
6194
+ };
6195
+ 401: {
6196
+ content: {
6197
+ 'application/json': {
6198
+ schema: z.ZodObject<{
6199
+ error: z.ZodObject<{
6200
+ code: z.ZodString;
6201
+ message: z.ZodString;
6202
+ details: z.ZodOptional<z.ZodUnknown>;
6203
+ }, z.core.$strip>;
6204
+ }, z.core.$strip>;
6205
+ };
6206
+ };
6207
+ description: string;
6208
+ };
6209
+ 403: {
6210
+ content: {
6211
+ 'application/json': {
6212
+ schema: z.ZodObject<{
6213
+ error: z.ZodObject<{
6214
+ code: z.ZodString;
6215
+ message: z.ZodString;
6216
+ details: z.ZodOptional<z.ZodUnknown>;
6217
+ }, z.core.$strip>;
6218
+ }, z.core.$strip>;
6219
+ };
6220
+ };
6221
+ description: string;
6222
+ };
6223
+ 404: {
6224
+ content: {
6225
+ 'application/json': {
6226
+ schema: z.ZodObject<{
6227
+ error: z.ZodObject<{
6228
+ code: z.ZodString;
6229
+ message: z.ZodString;
6230
+ details: z.ZodOptional<z.ZodUnknown>;
6231
+ }, z.core.$strip>;
6232
+ }, z.core.$strip>;
6233
+ };
6234
+ };
6235
+ description: string;
6236
+ };
6237
+ 200: {
6238
+ content: {
6239
+ 'application/json': {
6240
+ schema: z.ZodObject<{
6241
+ connection: z.ZodObject<{
6242
+ source: z.ZodString;
6243
+ name: z.ZodString;
6244
+ kind: z.ZodEnum<{
6245
+ key: "key";
6246
+ inbound: "inbound";
6247
+ both: "both";
6248
+ }>;
6249
+ declared: z.ZodObject<{
6250
+ description: z.ZodNullable<z.ZodString>;
6251
+ verifier: z.ZodNullable<z.ZodString>;
6252
+ events: z.ZodArray<z.ZodString>;
6253
+ secretHint: z.ZodNullable<z.ZodString>;
6254
+ fields: z.ZodArray<z.ZodObject<{
6255
+ key: z.ZodString;
6256
+ label: z.ZodString;
6257
+ description: z.ZodNullable<z.ZodString>;
6258
+ required: z.ZodBoolean;
6259
+ multiple: z.ZodBoolean;
6260
+ }, z.core.$strip>>;
6261
+ sibling: z.ZodNullable<z.ZodObject<{
6262
+ toolSlug: z.ZodString;
6263
+ events: z.ZodArray<z.ZodString>;
6264
+ }, z.core.$strip>>;
6265
+ }, z.core.$strip>;
6266
+ connected: z.ZodBoolean;
6267
+ receiving: z.ZodNullable<z.ZodObject<{
6268
+ madeAt: z.ZodString;
6269
+ madeBy: z.ZodNullable<z.ZodObject<{
6270
+ id: z.ZodString;
6271
+ name: z.ZodString;
6272
+ email: z.ZodString;
6273
+ }, z.core.$strip>>;
6274
+ }, z.core.$strip>>;
6275
+ secretState: z.ZodObject<{
6276
+ set: z.ZodBoolean;
6277
+ readable: z.ZodBoolean;
6278
+ setAt: z.ZodNullable<z.ZodString>;
6279
+ setBy: z.ZodNullable<z.ZodObject<{
6280
+ id: z.ZodString;
6281
+ name: z.ZodString;
6282
+ email: z.ZodString;
6283
+ }, z.core.$strip>>;
6284
+ }, z.core.$strip>;
6285
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6286
+ connectedAt: z.ZodNullable<z.ZodString>;
6287
+ connectedBy: z.ZodNullable<z.ZodObject<{
6288
+ id: z.ZodString;
6289
+ name: z.ZodString;
6290
+ email: z.ZodString;
6291
+ }, z.core.$strip>>;
6292
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6293
+ at: z.ZodString;
6294
+ type: z.ZodString;
6295
+ outcome: z.ZodEnum<{
6296
+ failed: "failed";
6297
+ processed: "processed";
6298
+ ignored: "ignored";
6299
+ }>;
6300
+ }, z.core.$strip>>;
6301
+ check: z.ZodNullable<z.ZodObject<{
6302
+ at: z.ZodString;
6303
+ ok: z.ZodBoolean;
6304
+ detail: z.ZodString;
6305
+ }, z.core.$strip>>;
6306
+ sibling: z.ZodNullable<z.ZodObject<{
6307
+ endpointId: z.ZodNullable<z.ZodString>;
6308
+ }, z.core.$strip>>;
6309
+ }, z.core.$strip>;
6310
+ receivingUrl: z.ZodString;
6311
+ }, z.core.$strip>;
6312
+ };
6313
+ };
6314
+ description: string;
6315
+ };
6316
+ };
6317
+ } & {
6318
+ getRoutingPath(): "/connections/:source";
6319
+ };
6320
+ export declare const connectionSecretRoute: {
6321
+ method: "put";
6322
+ path: "/connections/{source}/secret";
6323
+ tags: string[];
6324
+ summary: string;
6325
+ request: {
6326
+ params: z.ZodObject<{
6327
+ source: z.ZodString;
6328
+ }, z.core.$strip>;
6329
+ body: {
6330
+ required: boolean;
6331
+ content: {
6332
+ 'application/json': {
6333
+ schema: z.ZodObject<{
6334
+ secret: z.ZodString;
6335
+ }, z.core.$strip>;
6336
+ };
6337
+ };
6338
+ description: string;
6339
+ };
6340
+ };
6341
+ responses: {
6342
+ 409: {
6343
+ content: {
6344
+ 'application/json': {
6345
+ schema: z.ZodObject<{
6346
+ error: z.ZodObject<{
6347
+ code: z.ZodString;
6348
+ message: z.ZodString;
6349
+ details: z.ZodOptional<z.ZodUnknown>;
6350
+ }, z.core.$strip>;
6351
+ }, z.core.$strip>;
6352
+ };
6353
+ };
6354
+ description: string;
6355
+ };
6356
+ 502: {
6357
+ content: {
6358
+ 'application/json': {
6359
+ schema: z.ZodObject<{
6360
+ error: z.ZodObject<{
6361
+ code: z.ZodString;
6362
+ message: z.ZodString;
6363
+ details: z.ZodOptional<z.ZodUnknown>;
6364
+ }, z.core.$strip>;
6365
+ }, z.core.$strip>;
6366
+ };
6367
+ };
6368
+ description: string;
6369
+ };
6370
+ 401: {
6371
+ content: {
6372
+ 'application/json': {
6373
+ schema: z.ZodObject<{
6374
+ error: z.ZodObject<{
6375
+ code: z.ZodString;
6376
+ message: z.ZodString;
6377
+ details: z.ZodOptional<z.ZodUnknown>;
6378
+ }, z.core.$strip>;
6379
+ }, z.core.$strip>;
6380
+ };
6381
+ };
6382
+ description: string;
6383
+ };
6384
+ 403: {
6385
+ content: {
6386
+ 'application/json': {
6387
+ schema: z.ZodObject<{
6388
+ error: z.ZodObject<{
6389
+ code: z.ZodString;
6390
+ message: z.ZodString;
6391
+ details: z.ZodOptional<z.ZodUnknown>;
6392
+ }, z.core.$strip>;
6393
+ }, z.core.$strip>;
6394
+ };
6395
+ };
6396
+ description: string;
6397
+ };
6398
+ 404: {
6399
+ content: {
6400
+ 'application/json': {
6401
+ schema: z.ZodObject<{
6402
+ error: z.ZodObject<{
6403
+ code: z.ZodString;
6404
+ message: z.ZodString;
6405
+ details: z.ZodOptional<z.ZodUnknown>;
6406
+ }, z.core.$strip>;
6407
+ }, z.core.$strip>;
6408
+ };
6409
+ };
6410
+ description: string;
6411
+ };
6412
+ 200: {
6413
+ content: {
6414
+ 'application/json': {
6415
+ schema: z.ZodObject<{
6416
+ source: z.ZodString;
6417
+ name: z.ZodString;
6418
+ kind: z.ZodEnum<{
6419
+ key: "key";
6420
+ inbound: "inbound";
6421
+ both: "both";
6422
+ }>;
6423
+ declared: z.ZodObject<{
6424
+ description: z.ZodNullable<z.ZodString>;
6425
+ verifier: z.ZodNullable<z.ZodString>;
6426
+ events: z.ZodArray<z.ZodString>;
6427
+ secretHint: z.ZodNullable<z.ZodString>;
6428
+ fields: z.ZodArray<z.ZodObject<{
6429
+ key: z.ZodString;
6430
+ label: z.ZodString;
6431
+ description: z.ZodNullable<z.ZodString>;
6432
+ required: z.ZodBoolean;
6433
+ multiple: z.ZodBoolean;
6434
+ }, z.core.$strip>>;
6435
+ sibling: z.ZodNullable<z.ZodObject<{
6436
+ toolSlug: z.ZodString;
6437
+ events: z.ZodArray<z.ZodString>;
6438
+ }, z.core.$strip>>;
6439
+ }, z.core.$strip>;
6440
+ connected: z.ZodBoolean;
6441
+ receiving: z.ZodNullable<z.ZodObject<{
6442
+ madeAt: z.ZodString;
6443
+ madeBy: z.ZodNullable<z.ZodObject<{
6444
+ id: z.ZodString;
6445
+ name: z.ZodString;
6446
+ email: z.ZodString;
6447
+ }, z.core.$strip>>;
6448
+ }, z.core.$strip>>;
6449
+ secretState: z.ZodObject<{
6450
+ set: z.ZodBoolean;
6451
+ readable: z.ZodBoolean;
6452
+ setAt: z.ZodNullable<z.ZodString>;
6453
+ setBy: z.ZodNullable<z.ZodObject<{
6454
+ id: z.ZodString;
6455
+ name: z.ZodString;
6456
+ email: z.ZodString;
6457
+ }, z.core.$strip>>;
6458
+ }, z.core.$strip>;
6459
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6460
+ connectedAt: z.ZodNullable<z.ZodString>;
6461
+ connectedBy: z.ZodNullable<z.ZodObject<{
6462
+ id: z.ZodString;
6463
+ name: z.ZodString;
6464
+ email: z.ZodString;
6465
+ }, z.core.$strip>>;
6466
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6467
+ at: z.ZodString;
6468
+ type: z.ZodString;
6469
+ outcome: z.ZodEnum<{
6470
+ failed: "failed";
6471
+ processed: "processed";
6472
+ ignored: "ignored";
6473
+ }>;
6474
+ }, z.core.$strip>>;
6475
+ check: z.ZodNullable<z.ZodObject<{
6476
+ at: z.ZodString;
6477
+ ok: z.ZodBoolean;
6478
+ detail: z.ZodString;
6479
+ }, z.core.$strip>>;
6480
+ sibling: z.ZodNullable<z.ZodObject<{
6481
+ endpointId: z.ZodNullable<z.ZodString>;
6482
+ }, z.core.$strip>>;
6483
+ }, z.core.$strip>;
6484
+ };
6485
+ };
6486
+ description: string;
6487
+ };
6488
+ 400: {
6489
+ content: {
6490
+ 'application/json': {
6491
+ schema: z.ZodObject<{
6492
+ error: z.ZodObject<{
6493
+ code: z.ZodString;
6494
+ message: z.ZodString;
6495
+ details: z.ZodOptional<z.ZodUnknown>;
6496
+ }, z.core.$strip>;
6497
+ }, z.core.$strip>;
6498
+ };
6499
+ };
6500
+ description: string;
6501
+ };
6502
+ };
6503
+ } & {
6504
+ getRoutingPath(): "/connections/:source/secret";
6505
+ };
6506
+ export declare const connectionFieldsRoute: {
6507
+ method: "patch";
6508
+ path: "/connections/{source}";
6509
+ tags: string[];
6510
+ summary: string;
6511
+ request: {
6512
+ params: z.ZodObject<{
6513
+ source: z.ZodString;
6514
+ }, z.core.$strip>;
6515
+ body: {
6516
+ required: boolean;
6517
+ content: {
6518
+ 'application/json': {
6519
+ schema: z.ZodObject<{
6520
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6521
+ }, z.core.$strip>;
6522
+ };
6523
+ };
6524
+ description: string;
6525
+ };
6526
+ };
6527
+ responses: {
6528
+ 409: {
6529
+ content: {
6530
+ 'application/json': {
6531
+ schema: z.ZodObject<{
6532
+ error: z.ZodObject<{
6533
+ code: z.ZodString;
6534
+ message: z.ZodString;
6535
+ details: z.ZodOptional<z.ZodUnknown>;
6536
+ }, z.core.$strip>;
6537
+ }, z.core.$strip>;
6538
+ };
6539
+ };
6540
+ description: string;
6541
+ };
6542
+ 401: {
6543
+ content: {
6544
+ 'application/json': {
6545
+ schema: z.ZodObject<{
6546
+ error: z.ZodObject<{
6547
+ code: z.ZodString;
6548
+ message: z.ZodString;
6549
+ details: z.ZodOptional<z.ZodUnknown>;
6550
+ }, z.core.$strip>;
6551
+ }, z.core.$strip>;
6552
+ };
6553
+ };
6554
+ description: string;
6555
+ };
6556
+ 403: {
6557
+ content: {
6558
+ 'application/json': {
6559
+ schema: z.ZodObject<{
6560
+ error: z.ZodObject<{
6561
+ code: z.ZodString;
6562
+ message: z.ZodString;
6563
+ details: z.ZodOptional<z.ZodUnknown>;
6564
+ }, z.core.$strip>;
6565
+ }, z.core.$strip>;
6566
+ };
6567
+ };
6568
+ description: string;
6569
+ };
6570
+ 404: {
6571
+ content: {
6572
+ 'application/json': {
6573
+ schema: z.ZodObject<{
6574
+ error: z.ZodObject<{
6575
+ code: z.ZodString;
6576
+ message: z.ZodString;
6577
+ details: z.ZodOptional<z.ZodUnknown>;
6578
+ }, z.core.$strip>;
6579
+ }, z.core.$strip>;
6580
+ };
6581
+ };
6582
+ description: string;
6583
+ };
6584
+ 200: {
6585
+ content: {
6586
+ 'application/json': {
6587
+ schema: z.ZodObject<{
6588
+ source: z.ZodString;
6589
+ name: z.ZodString;
6590
+ kind: z.ZodEnum<{
6591
+ key: "key";
6592
+ inbound: "inbound";
6593
+ both: "both";
6594
+ }>;
6595
+ declared: z.ZodObject<{
6596
+ description: z.ZodNullable<z.ZodString>;
6597
+ verifier: z.ZodNullable<z.ZodString>;
6598
+ events: z.ZodArray<z.ZodString>;
6599
+ secretHint: z.ZodNullable<z.ZodString>;
6600
+ fields: z.ZodArray<z.ZodObject<{
6601
+ key: z.ZodString;
6602
+ label: z.ZodString;
6603
+ description: z.ZodNullable<z.ZodString>;
6604
+ required: z.ZodBoolean;
6605
+ multiple: z.ZodBoolean;
6606
+ }, z.core.$strip>>;
6607
+ sibling: z.ZodNullable<z.ZodObject<{
6608
+ toolSlug: z.ZodString;
6609
+ events: z.ZodArray<z.ZodString>;
6610
+ }, z.core.$strip>>;
6611
+ }, z.core.$strip>;
6612
+ connected: z.ZodBoolean;
6613
+ receiving: z.ZodNullable<z.ZodObject<{
6614
+ madeAt: z.ZodString;
6615
+ madeBy: z.ZodNullable<z.ZodObject<{
6616
+ id: z.ZodString;
6617
+ name: z.ZodString;
6618
+ email: z.ZodString;
6619
+ }, z.core.$strip>>;
6620
+ }, z.core.$strip>>;
6621
+ secretState: z.ZodObject<{
6622
+ set: z.ZodBoolean;
6623
+ readable: z.ZodBoolean;
6624
+ setAt: z.ZodNullable<z.ZodString>;
6625
+ setBy: z.ZodNullable<z.ZodObject<{
6626
+ id: z.ZodString;
6627
+ name: z.ZodString;
6628
+ email: z.ZodString;
6629
+ }, z.core.$strip>>;
6630
+ }, z.core.$strip>;
6631
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6632
+ connectedAt: z.ZodNullable<z.ZodString>;
6633
+ connectedBy: z.ZodNullable<z.ZodObject<{
6634
+ id: z.ZodString;
6635
+ name: z.ZodString;
6636
+ email: z.ZodString;
6637
+ }, z.core.$strip>>;
6638
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6639
+ at: z.ZodString;
6640
+ type: z.ZodString;
6641
+ outcome: z.ZodEnum<{
6642
+ failed: "failed";
6643
+ processed: "processed";
6644
+ ignored: "ignored";
6645
+ }>;
6646
+ }, z.core.$strip>>;
6647
+ check: z.ZodNullable<z.ZodObject<{
6648
+ at: z.ZodString;
6649
+ ok: z.ZodBoolean;
6650
+ detail: z.ZodString;
6651
+ }, z.core.$strip>>;
6652
+ sibling: z.ZodNullable<z.ZodObject<{
6653
+ endpointId: z.ZodNullable<z.ZodString>;
6654
+ }, z.core.$strip>>;
6655
+ }, z.core.$strip>;
6656
+ };
6657
+ };
6658
+ description: string;
6659
+ };
6660
+ 400: {
6661
+ content: {
6662
+ 'application/json': {
6663
+ schema: z.ZodObject<{
6664
+ error: z.ZodObject<{
6665
+ code: z.ZodString;
6666
+ message: z.ZodString;
6667
+ details: z.ZodOptional<z.ZodUnknown>;
6668
+ }, z.core.$strip>;
6669
+ }, z.core.$strip>;
6670
+ };
6671
+ };
6672
+ description: string;
6673
+ };
6674
+ };
6675
+ } & {
6676
+ getRoutingPath(): "/connections/:source";
6677
+ };
6678
+ export declare const connectionTestRoute: {
6679
+ method: "post";
6680
+ path: "/connections/{source}/test";
6681
+ tags: string[];
6682
+ summary: string;
6683
+ request: {
6684
+ params: z.ZodObject<{
6685
+ source: z.ZodString;
6686
+ }, z.core.$strip>;
6687
+ };
6688
+ responses: {
6689
+ 409: {
6690
+ content: {
6691
+ 'application/json': {
6692
+ schema: z.ZodObject<{
6693
+ error: z.ZodObject<{
6694
+ code: z.ZodString;
6695
+ message: z.ZodString;
6696
+ details: z.ZodOptional<z.ZodUnknown>;
6697
+ }, z.core.$strip>;
6698
+ }, z.core.$strip>;
6699
+ };
6700
+ };
6701
+ description: string;
6702
+ };
6703
+ 401: {
6704
+ content: {
6705
+ 'application/json': {
6706
+ schema: z.ZodObject<{
6707
+ error: z.ZodObject<{
6708
+ code: z.ZodString;
6709
+ message: z.ZodString;
6710
+ details: z.ZodOptional<z.ZodUnknown>;
6711
+ }, z.core.$strip>;
6712
+ }, z.core.$strip>;
6713
+ };
6714
+ };
6715
+ description: string;
6716
+ };
6717
+ 403: {
6718
+ content: {
6719
+ 'application/json': {
6720
+ schema: z.ZodObject<{
6721
+ error: z.ZodObject<{
6722
+ code: z.ZodString;
6723
+ message: z.ZodString;
6724
+ details: z.ZodOptional<z.ZodUnknown>;
6725
+ }, z.core.$strip>;
6726
+ }, z.core.$strip>;
6727
+ };
6728
+ };
6729
+ description: string;
6730
+ };
6731
+ 404: {
6732
+ content: {
6733
+ 'application/json': {
6734
+ schema: z.ZodObject<{
6735
+ error: z.ZodObject<{
6736
+ code: z.ZodString;
6737
+ message: z.ZodString;
6738
+ details: z.ZodOptional<z.ZodUnknown>;
6739
+ }, z.core.$strip>;
6740
+ }, z.core.$strip>;
6741
+ };
6742
+ };
6743
+ description: string;
6744
+ };
6745
+ 200: {
6746
+ content: {
6747
+ 'application/json': {
6748
+ schema: z.ZodObject<{
6749
+ ok: z.ZodBoolean;
6750
+ detail: z.ZodString;
6751
+ connection: z.ZodObject<{
6752
+ source: z.ZodString;
6753
+ name: z.ZodString;
6754
+ kind: z.ZodEnum<{
6755
+ key: "key";
6756
+ inbound: "inbound";
6757
+ both: "both";
6758
+ }>;
6759
+ declared: z.ZodObject<{
6760
+ description: z.ZodNullable<z.ZodString>;
6761
+ verifier: z.ZodNullable<z.ZodString>;
6762
+ events: z.ZodArray<z.ZodString>;
6763
+ secretHint: z.ZodNullable<z.ZodString>;
6764
+ fields: z.ZodArray<z.ZodObject<{
6765
+ key: z.ZodString;
6766
+ label: z.ZodString;
6767
+ description: z.ZodNullable<z.ZodString>;
6768
+ required: z.ZodBoolean;
6769
+ multiple: z.ZodBoolean;
6770
+ }, z.core.$strip>>;
6771
+ sibling: z.ZodNullable<z.ZodObject<{
6772
+ toolSlug: z.ZodString;
6773
+ events: z.ZodArray<z.ZodString>;
6774
+ }, z.core.$strip>>;
6775
+ }, z.core.$strip>;
6776
+ connected: z.ZodBoolean;
6777
+ receiving: z.ZodNullable<z.ZodObject<{
6778
+ madeAt: z.ZodString;
6779
+ madeBy: z.ZodNullable<z.ZodObject<{
6780
+ id: z.ZodString;
6781
+ name: z.ZodString;
6782
+ email: z.ZodString;
6783
+ }, z.core.$strip>>;
6784
+ }, z.core.$strip>>;
6785
+ secretState: z.ZodObject<{
6786
+ set: z.ZodBoolean;
6787
+ readable: z.ZodBoolean;
6788
+ setAt: z.ZodNullable<z.ZodString>;
6789
+ setBy: z.ZodNullable<z.ZodObject<{
6790
+ id: z.ZodString;
6791
+ name: z.ZodString;
6792
+ email: z.ZodString;
6793
+ }, z.core.$strip>>;
6794
+ }, z.core.$strip>;
6795
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6796
+ connectedAt: z.ZodNullable<z.ZodString>;
6797
+ connectedBy: z.ZodNullable<z.ZodObject<{
6798
+ id: z.ZodString;
6799
+ name: z.ZodString;
6800
+ email: z.ZodString;
6801
+ }, z.core.$strip>>;
6802
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6803
+ at: z.ZodString;
6804
+ type: z.ZodString;
6805
+ outcome: z.ZodEnum<{
6806
+ failed: "failed";
6807
+ processed: "processed";
6808
+ ignored: "ignored";
6809
+ }>;
6810
+ }, z.core.$strip>>;
6811
+ check: z.ZodNullable<z.ZodObject<{
6812
+ at: z.ZodString;
6813
+ ok: z.ZodBoolean;
6814
+ detail: z.ZodString;
6815
+ }, z.core.$strip>>;
6816
+ sibling: z.ZodNullable<z.ZodObject<{
6817
+ endpointId: z.ZodNullable<z.ZodString>;
6818
+ }, z.core.$strip>>;
6819
+ }, z.core.$strip>;
6820
+ }, z.core.$strip>;
6821
+ };
6822
+ };
6823
+ description: string;
6824
+ };
6825
+ };
6826
+ } & {
6827
+ getRoutingPath(): "/connections/:source/test";
6828
+ };
6829
+ export declare const connectionDisconnectRoute: {
6830
+ method: "delete";
6831
+ path: "/connections/{source}";
6832
+ tags: string[];
6833
+ summary: string;
6834
+ request: {
6835
+ params: z.ZodObject<{
6836
+ source: z.ZodString;
6837
+ }, z.core.$strip>;
6838
+ };
6839
+ responses: {
6840
+ 401: {
6841
+ content: {
6842
+ 'application/json': {
6843
+ schema: z.ZodObject<{
6844
+ error: z.ZodObject<{
6845
+ code: z.ZodString;
6846
+ message: z.ZodString;
6847
+ details: z.ZodOptional<z.ZodUnknown>;
6848
+ }, z.core.$strip>;
6849
+ }, z.core.$strip>;
6850
+ };
6851
+ };
6852
+ description: string;
6853
+ };
6854
+ 403: {
6855
+ content: {
6856
+ 'application/json': {
6857
+ schema: z.ZodObject<{
6858
+ error: z.ZodObject<{
6859
+ code: z.ZodString;
6860
+ message: z.ZodString;
6861
+ details: z.ZodOptional<z.ZodUnknown>;
6862
+ }, z.core.$strip>;
6863
+ }, z.core.$strip>;
6864
+ };
6865
+ };
6866
+ description: string;
6867
+ };
6868
+ 404: {
6869
+ content: {
6870
+ 'application/json': {
6871
+ schema: z.ZodObject<{
6872
+ error: z.ZodObject<{
6873
+ code: z.ZodString;
6874
+ message: z.ZodString;
6875
+ details: z.ZodOptional<z.ZodUnknown>;
6876
+ }, z.core.$strip>;
6877
+ }, z.core.$strip>;
6878
+ };
6879
+ };
6880
+ description: string;
6881
+ };
6882
+ 200: {
6883
+ content: {
6884
+ 'application/json': {
6885
+ schema: z.ZodObject<{
6886
+ source: z.ZodString;
6887
+ name: z.ZodString;
6888
+ kind: z.ZodEnum<{
6889
+ key: "key";
6890
+ inbound: "inbound";
6891
+ both: "both";
6892
+ }>;
6893
+ declared: z.ZodObject<{
6894
+ description: z.ZodNullable<z.ZodString>;
6895
+ verifier: z.ZodNullable<z.ZodString>;
6896
+ events: z.ZodArray<z.ZodString>;
6897
+ secretHint: z.ZodNullable<z.ZodString>;
6898
+ fields: z.ZodArray<z.ZodObject<{
6899
+ key: z.ZodString;
6900
+ label: z.ZodString;
6901
+ description: z.ZodNullable<z.ZodString>;
6902
+ required: z.ZodBoolean;
6903
+ multiple: z.ZodBoolean;
6904
+ }, z.core.$strip>>;
6905
+ sibling: z.ZodNullable<z.ZodObject<{
6906
+ toolSlug: z.ZodString;
6907
+ events: z.ZodArray<z.ZodString>;
6908
+ }, z.core.$strip>>;
6909
+ }, z.core.$strip>;
6910
+ connected: z.ZodBoolean;
6911
+ receiving: z.ZodNullable<z.ZodObject<{
6912
+ madeAt: z.ZodString;
6913
+ madeBy: z.ZodNullable<z.ZodObject<{
6914
+ id: z.ZodString;
6915
+ name: z.ZodString;
6916
+ email: z.ZodString;
6917
+ }, z.core.$strip>>;
6918
+ }, z.core.$strip>>;
6919
+ secretState: z.ZodObject<{
6920
+ set: z.ZodBoolean;
6921
+ readable: z.ZodBoolean;
6922
+ setAt: z.ZodNullable<z.ZodString>;
6923
+ setBy: z.ZodNullable<z.ZodObject<{
6924
+ id: z.ZodString;
6925
+ name: z.ZodString;
6926
+ email: z.ZodString;
6927
+ }, z.core.$strip>>;
6928
+ }, z.core.$strip>;
6929
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
6930
+ connectedAt: z.ZodNullable<z.ZodString>;
6931
+ connectedBy: z.ZodNullable<z.ZodObject<{
6932
+ id: z.ZodString;
6933
+ name: z.ZodString;
6934
+ email: z.ZodString;
6935
+ }, z.core.$strip>>;
6936
+ lastDelivery: z.ZodNullable<z.ZodObject<{
6937
+ at: z.ZodString;
6938
+ type: z.ZodString;
6939
+ outcome: z.ZodEnum<{
6940
+ failed: "failed";
6941
+ processed: "processed";
6942
+ ignored: "ignored";
6943
+ }>;
6944
+ }, z.core.$strip>>;
6945
+ check: z.ZodNullable<z.ZodObject<{
6946
+ at: z.ZodString;
6947
+ ok: z.ZodBoolean;
6948
+ detail: z.ZodString;
6949
+ }, z.core.$strip>>;
6950
+ sibling: z.ZodNullable<z.ZodObject<{
6951
+ endpointId: z.ZodNullable<z.ZodString>;
6952
+ }, z.core.$strip>>;
6953
+ }, z.core.$strip>;
6954
+ };
6955
+ };
6956
+ description: string;
6957
+ };
6958
+ };
6959
+ } & {
6960
+ getRoutingPath(): "/connections/:source";
6961
+ };
6962
+ export declare const connectionDeliveriesRoute: {
6963
+ method: "get";
6964
+ path: "/connections/{source}/deliveries";
6965
+ tags: string[];
6966
+ summary: string;
6967
+ request: {
6968
+ params: z.ZodObject<{
6969
+ source: z.ZodString;
6970
+ }, z.core.$strip>;
6971
+ query: z.ZodObject<{
6972
+ cursor: z.ZodOptional<z.ZodString>;
6973
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6974
+ }, z.core.$strip>;
6975
+ };
6976
+ responses: {
6977
+ 401: {
6978
+ content: {
6979
+ 'application/json': {
6980
+ schema: z.ZodObject<{
6981
+ error: z.ZodObject<{
6982
+ code: z.ZodString;
6983
+ message: z.ZodString;
6984
+ details: z.ZodOptional<z.ZodUnknown>;
6985
+ }, z.core.$strip>;
6986
+ }, z.core.$strip>;
6987
+ };
6988
+ };
6989
+ description: string;
6990
+ };
6991
+ 403: {
6992
+ content: {
6993
+ 'application/json': {
6994
+ schema: z.ZodObject<{
6995
+ error: z.ZodObject<{
6996
+ code: z.ZodString;
6997
+ message: z.ZodString;
6998
+ details: z.ZodOptional<z.ZodUnknown>;
6999
+ }, z.core.$strip>;
7000
+ }, z.core.$strip>;
7001
+ };
7002
+ };
7003
+ description: string;
7004
+ };
7005
+ 404: {
7006
+ content: {
7007
+ 'application/json': {
7008
+ schema: z.ZodObject<{
7009
+ error: z.ZodObject<{
7010
+ code: z.ZodString;
7011
+ message: z.ZodString;
7012
+ details: z.ZodOptional<z.ZodUnknown>;
7013
+ }, z.core.$strip>;
7014
+ }, z.core.$strip>;
7015
+ };
7016
+ };
7017
+ description: string;
7018
+ };
7019
+ 200: {
7020
+ content: {
7021
+ 'application/json': {
7022
+ schema: z.ZodObject<{
7023
+ deliveries: z.ZodArray<z.ZodObject<{
7024
+ id: z.ZodString;
7025
+ source: z.ZodString;
7026
+ deliveryId: z.ZodString;
7027
+ type: z.ZodString;
7028
+ receivedAt: z.ZodString;
7029
+ outcome: z.ZodEnum<{
7030
+ failed: "failed";
7031
+ processed: "processed";
7032
+ ignored: "ignored";
7033
+ }>;
7034
+ detail: z.ZodNullable<z.ZodString>;
7035
+ error: z.ZodNullable<z.ZodString>;
7036
+ }, z.core.$strip>>;
7037
+ nextCursor: z.ZodNullable<z.ZodString>;
7038
+ }, z.core.$strip>;
7039
+ };
7040
+ };
7041
+ description: string;
7042
+ };
7043
+ 400: {
7044
+ content: {
7045
+ 'application/json': {
7046
+ schema: z.ZodObject<{
7047
+ error: z.ZodObject<{
7048
+ code: z.ZodString;
7049
+ message: z.ZodString;
7050
+ details: z.ZodOptional<z.ZodUnknown>;
7051
+ }, z.core.$strip>;
7052
+ }, z.core.$strip>;
7053
+ };
7054
+ };
7055
+ description: string;
7056
+ };
7057
+ };
7058
+ } & {
7059
+ getRoutingPath(): "/connections/:source/deliveries";
7060
+ };
7061
+ export declare const connectionSiblingConnectRoute: {
7062
+ method: "post";
7063
+ path: "/connections/{source}/sibling";
7064
+ tags: string[];
7065
+ summary: string;
7066
+ request: {
7067
+ params: z.ZodObject<{
7068
+ source: z.ZodString;
7069
+ }, z.core.$strip>;
7070
+ };
7071
+ responses: {
7072
+ 200: {
7073
+ content: {
7074
+ 'application/json': {
7075
+ schema: z.ZodObject<{
7076
+ source: z.ZodString;
7077
+ name: z.ZodString;
7078
+ kind: z.ZodEnum<{
7079
+ key: "key";
7080
+ inbound: "inbound";
7081
+ both: "both";
7082
+ }>;
7083
+ declared: z.ZodObject<{
7084
+ description: z.ZodNullable<z.ZodString>;
7085
+ verifier: z.ZodNullable<z.ZodString>;
7086
+ events: z.ZodArray<z.ZodString>;
7087
+ secretHint: z.ZodNullable<z.ZodString>;
7088
+ fields: z.ZodArray<z.ZodObject<{
7089
+ key: z.ZodString;
7090
+ label: z.ZodString;
7091
+ description: z.ZodNullable<z.ZodString>;
7092
+ required: z.ZodBoolean;
7093
+ multiple: z.ZodBoolean;
7094
+ }, z.core.$strip>>;
7095
+ sibling: z.ZodNullable<z.ZodObject<{
7096
+ toolSlug: z.ZodString;
7097
+ events: z.ZodArray<z.ZodString>;
7098
+ }, z.core.$strip>>;
7099
+ }, z.core.$strip>;
7100
+ connected: z.ZodBoolean;
7101
+ receiving: z.ZodNullable<z.ZodObject<{
7102
+ madeAt: z.ZodString;
7103
+ madeBy: z.ZodNullable<z.ZodObject<{
7104
+ id: z.ZodString;
7105
+ name: z.ZodString;
7106
+ email: z.ZodString;
7107
+ }, z.core.$strip>>;
7108
+ }, z.core.$strip>>;
7109
+ secretState: z.ZodObject<{
7110
+ set: z.ZodBoolean;
7111
+ readable: z.ZodBoolean;
7112
+ setAt: z.ZodNullable<z.ZodString>;
7113
+ setBy: z.ZodNullable<z.ZodObject<{
7114
+ id: z.ZodString;
7115
+ name: z.ZodString;
7116
+ email: z.ZodString;
7117
+ }, z.core.$strip>>;
7118
+ }, z.core.$strip>;
7119
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
7120
+ connectedAt: z.ZodNullable<z.ZodString>;
7121
+ connectedBy: z.ZodNullable<z.ZodObject<{
7122
+ id: z.ZodString;
7123
+ name: z.ZodString;
7124
+ email: z.ZodString;
7125
+ }, z.core.$strip>>;
7126
+ lastDelivery: z.ZodNullable<z.ZodObject<{
7127
+ at: z.ZodString;
7128
+ type: z.ZodString;
7129
+ outcome: z.ZodEnum<{
7130
+ failed: "failed";
7131
+ processed: "processed";
7132
+ ignored: "ignored";
7133
+ }>;
7134
+ }, z.core.$strip>>;
7135
+ check: z.ZodNullable<z.ZodObject<{
7136
+ at: z.ZodString;
7137
+ ok: z.ZodBoolean;
7138
+ detail: z.ZodString;
7139
+ }, z.core.$strip>>;
7140
+ sibling: z.ZodNullable<z.ZodObject<{
7141
+ endpointId: z.ZodNullable<z.ZodString>;
7142
+ }, z.core.$strip>>;
7143
+ }, z.core.$strip>;
7144
+ };
7145
+ };
7146
+ description: string;
7147
+ };
7148
+ 400: {
7149
+ content: {
7150
+ 'application/json': {
7151
+ schema: z.ZodObject<{
7152
+ error: z.ZodObject<{
7153
+ code: z.ZodString;
7154
+ message: z.ZodString;
7155
+ details: z.ZodOptional<z.ZodUnknown>;
7156
+ }, z.core.$strip>;
7157
+ }, z.core.$strip>;
7158
+ };
7159
+ };
7160
+ description: string;
7161
+ };
7162
+ 401: {
7163
+ content: {
7164
+ 'application/json': {
7165
+ schema: z.ZodObject<{
7166
+ error: z.ZodObject<{
7167
+ code: z.ZodString;
7168
+ message: z.ZodString;
7169
+ details: z.ZodOptional<z.ZodUnknown>;
7170
+ }, z.core.$strip>;
7171
+ }, z.core.$strip>;
7172
+ };
7173
+ };
7174
+ description: string;
7175
+ };
7176
+ 403: {
7177
+ content: {
7178
+ 'application/json': {
7179
+ schema: z.ZodObject<{
7180
+ error: z.ZodObject<{
7181
+ code: z.ZodString;
7182
+ message: z.ZodString;
7183
+ details: z.ZodOptional<z.ZodUnknown>;
7184
+ }, z.core.$strip>;
7185
+ }, z.core.$strip>;
7186
+ };
7187
+ };
7188
+ description: string;
7189
+ };
7190
+ 404: {
7191
+ content: {
7192
+ 'application/json': {
7193
+ schema: z.ZodObject<{
7194
+ error: z.ZodObject<{
7195
+ code: z.ZodString;
7196
+ message: z.ZodString;
7197
+ details: z.ZodOptional<z.ZodUnknown>;
7198
+ }, z.core.$strip>;
7199
+ }, z.core.$strip>;
7200
+ };
7201
+ };
7202
+ description: string;
7203
+ };
7204
+ 409: {
7205
+ content: {
7206
+ 'application/json': {
7207
+ schema: z.ZodObject<{
7208
+ error: z.ZodObject<{
7209
+ code: z.ZodString;
7210
+ message: z.ZodString;
7211
+ details: z.ZodOptional<z.ZodUnknown>;
7212
+ }, z.core.$strip>;
7213
+ }, z.core.$strip>;
7214
+ };
7215
+ };
7216
+ description: string;
7217
+ };
7218
+ 502: {
7219
+ content: {
7220
+ 'application/json': {
7221
+ schema: z.ZodObject<{
7222
+ error: z.ZodObject<{
7223
+ code: z.ZodString;
7224
+ message: z.ZodString;
7225
+ details: z.ZodOptional<z.ZodUnknown>;
7226
+ }, z.core.$strip>;
7227
+ }, z.core.$strip>;
7228
+ };
7229
+ };
7230
+ description: string;
7231
+ };
7232
+ };
7233
+ } & {
7234
+ getRoutingPath(): "/connections/:source/sibling";
7235
+ };
7236
+ export declare const connectionSiblingDisconnectRoute: {
7237
+ method: "delete";
7238
+ path: "/connections/{source}/sibling";
7239
+ tags: string[];
7240
+ summary: string;
7241
+ request: {
7242
+ params: z.ZodObject<{
7243
+ source: z.ZodString;
7244
+ }, z.core.$strip>;
7245
+ };
7246
+ responses: {
7247
+ 200: {
7248
+ content: {
7249
+ 'application/json': {
7250
+ schema: z.ZodObject<{
7251
+ source: z.ZodString;
7252
+ name: z.ZodString;
7253
+ kind: z.ZodEnum<{
7254
+ key: "key";
7255
+ inbound: "inbound";
7256
+ both: "both";
7257
+ }>;
7258
+ declared: z.ZodObject<{
7259
+ description: z.ZodNullable<z.ZodString>;
7260
+ verifier: z.ZodNullable<z.ZodString>;
7261
+ events: z.ZodArray<z.ZodString>;
7262
+ secretHint: z.ZodNullable<z.ZodString>;
7263
+ fields: z.ZodArray<z.ZodObject<{
7264
+ key: z.ZodString;
7265
+ label: z.ZodString;
7266
+ description: z.ZodNullable<z.ZodString>;
7267
+ required: z.ZodBoolean;
7268
+ multiple: z.ZodBoolean;
7269
+ }, z.core.$strip>>;
7270
+ sibling: z.ZodNullable<z.ZodObject<{
7271
+ toolSlug: z.ZodString;
7272
+ events: z.ZodArray<z.ZodString>;
7273
+ }, z.core.$strip>>;
7274
+ }, z.core.$strip>;
7275
+ connected: z.ZodBoolean;
7276
+ receiving: z.ZodNullable<z.ZodObject<{
7277
+ madeAt: z.ZodString;
7278
+ madeBy: z.ZodNullable<z.ZodObject<{
7279
+ id: z.ZodString;
7280
+ name: z.ZodString;
7281
+ email: z.ZodString;
7282
+ }, z.core.$strip>>;
7283
+ }, z.core.$strip>>;
7284
+ secretState: z.ZodObject<{
7285
+ set: z.ZodBoolean;
7286
+ readable: z.ZodBoolean;
7287
+ setAt: z.ZodNullable<z.ZodString>;
7288
+ setBy: z.ZodNullable<z.ZodObject<{
7289
+ id: z.ZodString;
7290
+ name: z.ZodString;
7291
+ email: z.ZodString;
7292
+ }, z.core.$strip>>;
7293
+ }, z.core.$strip>;
7294
+ fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
7295
+ connectedAt: z.ZodNullable<z.ZodString>;
7296
+ connectedBy: z.ZodNullable<z.ZodObject<{
7297
+ id: z.ZodString;
7298
+ name: z.ZodString;
7299
+ email: z.ZodString;
7300
+ }, z.core.$strip>>;
7301
+ lastDelivery: z.ZodNullable<z.ZodObject<{
7302
+ at: z.ZodString;
7303
+ type: z.ZodString;
7304
+ outcome: z.ZodEnum<{
7305
+ failed: "failed";
7306
+ processed: "processed";
7307
+ ignored: "ignored";
7308
+ }>;
7309
+ }, z.core.$strip>>;
7310
+ check: z.ZodNullable<z.ZodObject<{
7311
+ at: z.ZodString;
7312
+ ok: z.ZodBoolean;
7313
+ detail: z.ZodString;
7314
+ }, z.core.$strip>>;
7315
+ sibling: z.ZodNullable<z.ZodObject<{
7316
+ endpointId: z.ZodNullable<z.ZodString>;
7317
+ }, z.core.$strip>>;
7318
+ }, z.core.$strip>;
7319
+ };
7320
+ };
7321
+ description: string;
7322
+ };
7323
+ 400: {
7324
+ content: {
7325
+ 'application/json': {
7326
+ schema: z.ZodObject<{
7327
+ error: z.ZodObject<{
7328
+ code: z.ZodString;
7329
+ message: z.ZodString;
7330
+ details: z.ZodOptional<z.ZodUnknown>;
7331
+ }, z.core.$strip>;
7332
+ }, z.core.$strip>;
7333
+ };
7334
+ };
7335
+ description: string;
7336
+ };
7337
+ 401: {
7338
+ content: {
7339
+ 'application/json': {
7340
+ schema: z.ZodObject<{
7341
+ error: z.ZodObject<{
7342
+ code: z.ZodString;
7343
+ message: z.ZodString;
7344
+ details: z.ZodOptional<z.ZodUnknown>;
7345
+ }, z.core.$strip>;
7346
+ }, z.core.$strip>;
7347
+ };
7348
+ };
7349
+ description: string;
7350
+ };
7351
+ 403: {
7352
+ content: {
7353
+ 'application/json': {
7354
+ schema: z.ZodObject<{
7355
+ error: z.ZodObject<{
7356
+ code: z.ZodString;
7357
+ message: z.ZodString;
7358
+ details: z.ZodOptional<z.ZodUnknown>;
7359
+ }, z.core.$strip>;
7360
+ }, z.core.$strip>;
7361
+ };
7362
+ };
7363
+ description: string;
7364
+ };
7365
+ 404: {
7366
+ content: {
7367
+ 'application/json': {
7368
+ schema: z.ZodObject<{
7369
+ error: z.ZodObject<{
7370
+ code: z.ZodString;
7371
+ message: z.ZodString;
7372
+ details: z.ZodOptional<z.ZodUnknown>;
7373
+ }, z.core.$strip>;
7374
+ }, z.core.$strip>;
7375
+ };
7376
+ };
7377
+ description: string;
7378
+ };
7379
+ 409: {
7380
+ content: {
7381
+ 'application/json': {
7382
+ schema: z.ZodObject<{
7383
+ error: z.ZodObject<{
7384
+ code: z.ZodString;
7385
+ message: z.ZodString;
7386
+ details: z.ZodOptional<z.ZodUnknown>;
7387
+ }, z.core.$strip>;
7388
+ }, z.core.$strip>;
7389
+ };
7390
+ };
7391
+ description: string;
7392
+ };
7393
+ 502: {
7394
+ content: {
7395
+ 'application/json': {
7396
+ schema: z.ZodObject<{
7397
+ error: z.ZodObject<{
7398
+ code: z.ZodString;
7399
+ message: z.ZodString;
7400
+ details: z.ZodOptional<z.ZodUnknown>;
7401
+ }, z.core.$strip>;
7402
+ }, z.core.$strip>;
7403
+ };
7404
+ };
7405
+ description: string;
7406
+ };
7407
+ };
7408
+ } & {
7409
+ getRoutingPath(): "/connections/:source/sibling";
7410
+ };
5930
7411
  export declare function defineChassisRoutes<TScope extends string>(contract: ChassisContract<TScope>, identity: Pick<ToolIdentity, 'cliKeyScopesLabel'> & {
5931
7412
  scopes: Pick<ToolIdentity['scopes'], 'dataExport'>;
5932
7413
  }, copy: ChassisRoutesCopy): {