@mestra-dev/contract 0.0.290 → 0.0.292

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +41 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1050,6 +1050,27 @@ declare const routes: import("hono/hono-base").HonoBase<{
1050
1050
  status: 200;
1051
1051
  };
1052
1052
  };
1053
+ } & {
1054
+ "/places/:workspace": {
1055
+ $get: {
1056
+ input: {
1057
+ param: {
1058
+ workspace: string;
1059
+ };
1060
+ };
1061
+ output: {
1062
+ success: true;
1063
+ places: {
1064
+ id: string;
1065
+ name: string;
1066
+ branchName: string;
1067
+ active: boolean;
1068
+ }[];
1069
+ };
1070
+ outputFormat: "json";
1071
+ status: 200;
1072
+ };
1073
+ };
1053
1074
  } & {
1054
1075
  "/calculator": {
1055
1076
  $post: {
@@ -1404,6 +1425,26 @@ declare const routes: import("hono/hono-base").HonoBase<{
1404
1425
  } & {
1405
1426
  "/member/profile": {
1406
1427
  $post: {
1428
+ input: {
1429
+ json: {
1430
+ workspace: string;
1431
+ collaboratorId: string;
1432
+ jobTitle?: string | null | undefined;
1433
+ department?: string | null | undefined;
1434
+ placeId?: string | null | undefined;
1435
+ employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
1436
+ hireDate?: string | null | undefined;
1437
+ licenseNumber?: string | null | undefined;
1438
+ specialty?: string | null | undefined;
1439
+ };
1440
+ };
1441
+ output: {
1442
+ success: false;
1443
+ error: string;
1444
+ };
1445
+ outputFormat: "json";
1446
+ status: 403;
1447
+ } | {
1407
1448
  input: {
1408
1449
  json: {
1409
1450
  workspace: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.290",
3
+ "version": "0.0.292",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,