@mestra-dev/contract 0.0.289 → 0.0.291
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 +108 -5
- 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
|
}[];
|
|
@@ -1042,6 +1050,27 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
1042
1050
|
status: 200;
|
|
1043
1051
|
};
|
|
1044
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
|
+
};
|
|
1045
1074
|
} & {
|
|
1046
1075
|
"/calculator": {
|
|
1047
1076
|
$post: {
|
|
@@ -1393,6 +1422,80 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
1393
1422
|
status: 200;
|
|
1394
1423
|
};
|
|
1395
1424
|
};
|
|
1425
|
+
} & {
|
|
1426
|
+
"/member/profile": {
|
|
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: 400;
|
|
1447
|
+
} | {
|
|
1448
|
+
input: {
|
|
1449
|
+
json: {
|
|
1450
|
+
workspace: string;
|
|
1451
|
+
collaboratorId: string;
|
|
1452
|
+
jobTitle?: string | null | undefined;
|
|
1453
|
+
department?: string | null | undefined;
|
|
1454
|
+
placeId?: string | null | undefined;
|
|
1455
|
+
employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
|
|
1456
|
+
hireDate?: string | null | undefined;
|
|
1457
|
+
licenseNumber?: string | null | undefined;
|
|
1458
|
+
specialty?: string | null | undefined;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
output: {
|
|
1462
|
+
success: false;
|
|
1463
|
+
error: string;
|
|
1464
|
+
};
|
|
1465
|
+
outputFormat: "json";
|
|
1466
|
+
status: 404;
|
|
1467
|
+
} | {
|
|
1468
|
+
input: {
|
|
1469
|
+
json: {
|
|
1470
|
+
workspace: string;
|
|
1471
|
+
collaboratorId: string;
|
|
1472
|
+
jobTitle?: string | null | undefined;
|
|
1473
|
+
department?: string | null | undefined;
|
|
1474
|
+
placeId?: string | null | undefined;
|
|
1475
|
+
employmentType?: "full_time" | "part_time" | "contract" | null | undefined;
|
|
1476
|
+
hireDate?: string | null | undefined;
|
|
1477
|
+
licenseNumber?: string | null | undefined;
|
|
1478
|
+
specialty?: string | null | undefined;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
output: {
|
|
1482
|
+
success: true;
|
|
1483
|
+
profile: {
|
|
1484
|
+
collaboratorId: string;
|
|
1485
|
+
phone: string | null;
|
|
1486
|
+
jobTitle: string | null;
|
|
1487
|
+
department: string | null;
|
|
1488
|
+
placeId: string | null;
|
|
1489
|
+
employmentType: "full_time" | "part_time" | "contract" | null;
|
|
1490
|
+
hireDate: string | null;
|
|
1491
|
+
licenseNumber: string | null;
|
|
1492
|
+
specialty: string | null;
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
outputFormat: "json";
|
|
1496
|
+
status: 200;
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1396
1499
|
} & {
|
|
1397
1500
|
"/settings": {
|
|
1398
1501
|
$post: {
|
|
@@ -4005,9 +4108,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4005
4108
|
suspended_at: string | null;
|
|
4006
4109
|
invoiceId: string;
|
|
4007
4110
|
status: string;
|
|
4111
|
+
date: string;
|
|
4008
4112
|
created_by: string;
|
|
4009
4113
|
customerId: string;
|
|
4010
|
-
date: string;
|
|
4011
4114
|
fullPayment: boolean | null;
|
|
4012
4115
|
installment: boolean | null;
|
|
4013
4116
|
notes: string | null;
|
|
@@ -4140,9 +4243,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4140
4243
|
suspended_at: string | null;
|
|
4141
4244
|
invoiceId: string;
|
|
4142
4245
|
status: string;
|
|
4246
|
+
date: string;
|
|
4143
4247
|
created_by: string;
|
|
4144
4248
|
customerId: string;
|
|
4145
|
-
date: string;
|
|
4146
4249
|
fullPayment: boolean | null;
|
|
4147
4250
|
installment: boolean | null;
|
|
4148
4251
|
notes: string | null;
|
|
@@ -4329,9 +4432,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4329
4432
|
suspended_at: string | null;
|
|
4330
4433
|
invoiceId: string;
|
|
4331
4434
|
status: string;
|
|
4435
|
+
date: string;
|
|
4332
4436
|
created_by: string;
|
|
4333
4437
|
customerId: string;
|
|
4334
|
-
date: string;
|
|
4335
4438
|
fullPayment: boolean | null;
|
|
4336
4439
|
installment: boolean | null;
|
|
4337
4440
|
notes: string | null;
|
|
@@ -4472,9 +4575,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4472
4575
|
deleted_at: string | null;
|
|
4473
4576
|
verified_at: string | null;
|
|
4474
4577
|
suspended_at: string | null;
|
|
4578
|
+
date: string;
|
|
4475
4579
|
created_by: string;
|
|
4476
4580
|
customerId: string;
|
|
4477
|
-
date: string;
|
|
4478
4581
|
notes: string | null;
|
|
4479
4582
|
serviceId: string;
|
|
4480
4583
|
}[];
|
|
@@ -10361,8 +10464,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10361
10464
|
userId: string | null;
|
|
10362
10465
|
workspaceId: string;
|
|
10363
10466
|
createdAt: string;
|
|
10364
|
-
reason: string;
|
|
10365
10467
|
date: string;
|
|
10468
|
+
reason: string;
|
|
10366
10469
|
productName: string;
|
|
10367
10470
|
variant: string | null;
|
|
10368
10471
|
sku: string;
|