@mestra-dev/contract 0.0.319 → 0.0.320
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/index.d.ts +78 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18434,6 +18434,49 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
18434
18434
|
};
|
|
18435
18435
|
};
|
|
18436
18436
|
}, "/analytics"> | import("hono/types").MergeSchemaPath<{
|
|
18437
|
+
"/status/:bridge": {
|
|
18438
|
+
$post: {
|
|
18439
|
+
input: {
|
|
18440
|
+
json: {
|
|
18441
|
+
state_event: string;
|
|
18442
|
+
remote_id?: string | undefined;
|
|
18443
|
+
remote_name?: string | undefined;
|
|
18444
|
+
error?: string | undefined;
|
|
18445
|
+
message?: string | undefined;
|
|
18446
|
+
};
|
|
18447
|
+
} & {
|
|
18448
|
+
param: {
|
|
18449
|
+
bridge: string;
|
|
18450
|
+
};
|
|
18451
|
+
};
|
|
18452
|
+
output: {
|
|
18453
|
+
success: false;
|
|
18454
|
+
error: string;
|
|
18455
|
+
};
|
|
18456
|
+
outputFormat: "json";
|
|
18457
|
+
status: 401;
|
|
18458
|
+
} | {
|
|
18459
|
+
input: {
|
|
18460
|
+
json: {
|
|
18461
|
+
state_event: string;
|
|
18462
|
+
remote_id?: string | undefined;
|
|
18463
|
+
remote_name?: string | undefined;
|
|
18464
|
+
error?: string | undefined;
|
|
18465
|
+
message?: string | undefined;
|
|
18466
|
+
};
|
|
18467
|
+
} & {
|
|
18468
|
+
param: {
|
|
18469
|
+
bridge: string;
|
|
18470
|
+
};
|
|
18471
|
+
};
|
|
18472
|
+
output: {
|
|
18473
|
+
success: true;
|
|
18474
|
+
};
|
|
18475
|
+
outputFormat: "json";
|
|
18476
|
+
status: 200;
|
|
18477
|
+
};
|
|
18478
|
+
};
|
|
18479
|
+
}, "/bridges"> | import("hono/types").MergeSchemaPath<{
|
|
18437
18480
|
"/accounts/list/:workspace": {
|
|
18438
18481
|
$get: {
|
|
18439
18482
|
input: {
|
|
@@ -20586,7 +20629,41 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20586
20629
|
status: 200;
|
|
20587
20630
|
};
|
|
20588
20631
|
};
|
|
20589
|
-
}, "/partners"
|
|
20632
|
+
}, "/partners"> | import("hono/types").MergeSchemaPath<{
|
|
20633
|
+
"/me": {
|
|
20634
|
+
$get: {
|
|
20635
|
+
input: {};
|
|
20636
|
+
output: {
|
|
20637
|
+
success: true;
|
|
20638
|
+
isAdmin: boolean;
|
|
20639
|
+
};
|
|
20640
|
+
outputFormat: "json";
|
|
20641
|
+
status: 200;
|
|
20642
|
+
};
|
|
20643
|
+
};
|
|
20644
|
+
} & {
|
|
20645
|
+
"/clients": {
|
|
20646
|
+
$get: {
|
|
20647
|
+
input: {};
|
|
20648
|
+
output: {
|
|
20649
|
+
success: true;
|
|
20650
|
+
clients: {
|
|
20651
|
+
id: string;
|
|
20652
|
+
firstName: string | null;
|
|
20653
|
+
lastName: string | null;
|
|
20654
|
+
email: string | null;
|
|
20655
|
+
phone: string | null;
|
|
20656
|
+
profilePicture: string | null;
|
|
20657
|
+
lastSeenAt: string | null;
|
|
20658
|
+
signedUpAt: string;
|
|
20659
|
+
workspaces: string[];
|
|
20660
|
+
}[];
|
|
20661
|
+
};
|
|
20662
|
+
outputFormat: "json";
|
|
20663
|
+
status: 200;
|
|
20664
|
+
};
|
|
20665
|
+
};
|
|
20666
|
+
}, "/admin">, "/", "/">;
|
|
20590
20667
|
type GlobalErrorResponses = {
|
|
20591
20668
|
400: {
|
|
20592
20669
|
json: ApiError;
|