@mestra-dev/contract 0.0.288 → 0.0.290

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 +87 -5
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1034,6 +1034,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
1034
1034
  action: string;
1035
1035
  }[];
1036
1036
  profilePicture: string | null;
1037
+ phone: string | null;
1038
+ jobTitle: string | null;
1039
+ department: string | null;
1040
+ placeId: string | null;
1041
+ employmentType: "full_time" | "part_time" | "contract" | null;
1042
+ hireDate: string | null;
1043
+ licenseNumber: string | null;
1044
+ specialty: string | null;
1037
1045
  isOwner?: boolean | undefined;
1038
1046
  isCurrentUser?: boolean | undefined;
1039
1047
  }[];
@@ -1393,6 +1401,80 @@ declare const routes: import("hono/hono-base").HonoBase<{
1393
1401
  status: 200;
1394
1402
  };
1395
1403
  };
1404
+ } & {
1405
+ "/member/profile": {
1406
+ $post: {
1407
+ input: {
1408
+ json: {
1409
+ workspace: string;
1410
+ collaboratorId: string;
1411
+ jobTitle?: string | null | undefined;
1412
+ department?: string | null | undefined;
1413
+ placeId?: string | null | undefined;
1414
+ employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
1415
+ hireDate?: string | null | undefined;
1416
+ licenseNumber?: string | null | undefined;
1417
+ specialty?: string | null | undefined;
1418
+ };
1419
+ };
1420
+ output: {
1421
+ success: false;
1422
+ error: string;
1423
+ };
1424
+ outputFormat: "json";
1425
+ status: 400;
1426
+ } | {
1427
+ input: {
1428
+ json: {
1429
+ workspace: string;
1430
+ collaboratorId: string;
1431
+ jobTitle?: string | null | undefined;
1432
+ department?: string | null | undefined;
1433
+ placeId?: string | null | undefined;
1434
+ employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
1435
+ hireDate?: string | null | undefined;
1436
+ licenseNumber?: string | null | undefined;
1437
+ specialty?: string | null | undefined;
1438
+ };
1439
+ };
1440
+ output: {
1441
+ success: false;
1442
+ error: string;
1443
+ };
1444
+ outputFormat: "json";
1445
+ status: 404;
1446
+ } | {
1447
+ input: {
1448
+ json: {
1449
+ workspace: string;
1450
+ collaboratorId: string;
1451
+ jobTitle?: string | null | undefined;
1452
+ department?: string | null | undefined;
1453
+ placeId?: string | null | undefined;
1454
+ employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
1455
+ hireDate?: string | null | undefined;
1456
+ licenseNumber?: string | null | undefined;
1457
+ specialty?: string | null | undefined;
1458
+ };
1459
+ };
1460
+ output: {
1461
+ success: true;
1462
+ profile: {
1463
+ collaboratorId: string;
1464
+ phone: string | null;
1465
+ jobTitle: string | null;
1466
+ department: string | null;
1467
+ placeId: string | null;
1468
+ employmentType: "full_time" | "part_time" | "contract" | null;
1469
+ hireDate: string | null;
1470
+ licenseNumber: string | null;
1471
+ specialty: string | null;
1472
+ };
1473
+ };
1474
+ outputFormat: "json";
1475
+ status: 200;
1476
+ };
1477
+ };
1396
1478
  } & {
1397
1479
  "/settings": {
1398
1480
  $post: {
@@ -4005,9 +4087,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4005
4087
  suspended_at: string | null;
4006
4088
  invoiceId: string;
4007
4089
  status: string;
4090
+ date: string;
4008
4091
  created_by: string;
4009
4092
  customerId: string;
4010
- date: string;
4011
4093
  fullPayment: boolean | null;
4012
4094
  installment: boolean | null;
4013
4095
  notes: string | null;
@@ -4140,9 +4222,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4140
4222
  suspended_at: string | null;
4141
4223
  invoiceId: string;
4142
4224
  status: string;
4225
+ date: string;
4143
4226
  created_by: string;
4144
4227
  customerId: string;
4145
- date: string;
4146
4228
  fullPayment: boolean | null;
4147
4229
  installment: boolean | null;
4148
4230
  notes: string | null;
@@ -4329,9 +4411,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4329
4411
  suspended_at: string | null;
4330
4412
  invoiceId: string;
4331
4413
  status: string;
4414
+ date: string;
4332
4415
  created_by: string;
4333
4416
  customerId: string;
4334
- date: string;
4335
4417
  fullPayment: boolean | null;
4336
4418
  installment: boolean | null;
4337
4419
  notes: string | null;
@@ -4472,9 +4554,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4472
4554
  deleted_at: string | null;
4473
4555
  verified_at: string | null;
4474
4556
  suspended_at: string | null;
4557
+ date: string;
4475
4558
  created_by: string;
4476
4559
  customerId: string;
4477
- date: string;
4478
4560
  notes: string | null;
4479
4561
  serviceId: string;
4480
4562
  }[];
@@ -10361,8 +10443,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10361
10443
  userId: string | null;
10362
10444
  workspaceId: string;
10363
10445
  createdAt: string;
10364
- reason: string;
10365
10446
  date: string;
10447
+ reason: string;
10366
10448
  productName: string;
10367
10449
  variant: string | null;
10368
10450
  sku: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.288",
3
+ "version": "0.0.290",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,