@unified-api/typescript-sdk 2.73.21 → 2.73.22
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/bin/mcp-server.js +13 -25
- package/bin/mcp-server.js.map +6 -6
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +1 -1
- package/sdk/models/shared/hristimeoff.d.ts +4 -21
- package/sdk/models/shared/hristimeoff.d.ts.map +1 -1
- package/sdk/models/shared/hristimeoff.js +7 -29
- package/sdk/models/shared/hristimeoff.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/sdk/models/shared/hristimeoff.ts +10 -42
package/bin/mcp-server.js
CHANGED
|
@@ -34231,9 +34231,9 @@ var init_config = __esm(() => {
|
|
|
34231
34231
|
SDK_METADATA = {
|
|
34232
34232
|
language: "typescript",
|
|
34233
34233
|
openapiDocVersion: "1.0",
|
|
34234
|
-
sdkVersion: "2.73.
|
|
34235
|
-
genVersion: "2.
|
|
34236
|
-
userAgent: "speakeasy-sdk/typescript 2.73.
|
|
34234
|
+
sdkVersion: "2.73.22",
|
|
34235
|
+
genVersion: "2.694.1",
|
|
34236
|
+
userAgent: "speakeasy-sdk/typescript 2.73.22 2.694.1 1.0 @unified-api/typescript-sdk"
|
|
34237
34237
|
};
|
|
34238
34238
|
});
|
|
34239
34239
|
|
|
@@ -45404,7 +45404,7 @@ var init_hrispayslip = __esm(() => {
|
|
|
45404
45404
|
});
|
|
45405
45405
|
|
|
45406
45406
|
// src/sdk/models/shared/hristimeoff.ts
|
|
45407
|
-
var HrisTimeoffStatus,
|
|
45407
|
+
var HrisTimeoffStatus, HrisTimeoffStatus$inboundSchema, HrisTimeoffStatus$outboundSchema, HrisTimeoffStatus$, HrisTimeoff$inboundSchema, HrisTimeoff$outboundSchema, HrisTimeoff$;
|
|
45408
45408
|
var init_hristimeoff = __esm(() => {
|
|
45409
45409
|
init_esm();
|
|
45410
45410
|
init_primitives();
|
|
@@ -45413,10 +45413,6 @@ var init_hristimeoff = __esm(() => {
|
|
|
45413
45413
|
Pending: "PENDING",
|
|
45414
45414
|
Denied: "DENIED"
|
|
45415
45415
|
};
|
|
45416
|
-
HrisTimeoffType = {
|
|
45417
|
-
Paid: "PAID",
|
|
45418
|
-
Unpaid: "UNPAID"
|
|
45419
|
-
};
|
|
45420
45416
|
HrisTimeoffStatus$inboundSchema = unionType([
|
|
45421
45417
|
nativeEnumType(HrisTimeoffStatus),
|
|
45422
45418
|
stringType().transform(catchUnrecognizedEnum)
|
|
@@ -45429,18 +45425,6 @@ var init_hristimeoff = __esm(() => {
|
|
|
45429
45425
|
HrisTimeoffStatus$.inboundSchema = HrisTimeoffStatus$inboundSchema;
|
|
45430
45426
|
HrisTimeoffStatus$.outboundSchema = HrisTimeoffStatus$outboundSchema;
|
|
45431
45427
|
})(HrisTimeoffStatus$ ||= {});
|
|
45432
|
-
HrisTimeoffType$inboundSchema = unionType([
|
|
45433
|
-
nativeEnumType(HrisTimeoffType),
|
|
45434
|
-
stringType().transform(catchUnrecognizedEnum)
|
|
45435
|
-
]);
|
|
45436
|
-
HrisTimeoffType$outboundSchema = unionType([
|
|
45437
|
-
nativeEnumType(HrisTimeoffType),
|
|
45438
|
-
stringType().and(custom())
|
|
45439
|
-
]);
|
|
45440
|
-
((HrisTimeoffType$) => {
|
|
45441
|
-
HrisTimeoffType$.inboundSchema = HrisTimeoffType$inboundSchema;
|
|
45442
|
-
HrisTimeoffType$.outboundSchema = HrisTimeoffType$outboundSchema;
|
|
45443
|
-
})(HrisTimeoffType$ ||= {});
|
|
45444
45428
|
HrisTimeoff$inboundSchema = objectType({
|
|
45445
45429
|
approved_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45446
45430
|
approver_user_id: stringType().optional(),
|
|
@@ -45449,10 +45433,11 @@ var init_hristimeoff = __esm(() => {
|
|
|
45449
45433
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45450
45434
|
end_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45451
45435
|
id: stringType().optional(),
|
|
45436
|
+
is_paid: booleanType().optional(),
|
|
45452
45437
|
raw: recordType(anyType()).optional(),
|
|
45438
|
+
reason: stringType().optional(),
|
|
45453
45439
|
start_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
45454
45440
|
status: HrisTimeoffStatus$inboundSchema.optional(),
|
|
45455
|
-
type: HrisTimeoffType$inboundSchema.optional(),
|
|
45456
45441
|
updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45457
45442
|
user_id: stringType().optional()
|
|
45458
45443
|
}).transform((v2) => {
|
|
@@ -45462,6 +45447,7 @@ var init_hristimeoff = __esm(() => {
|
|
|
45462
45447
|
company_id: "companyId",
|
|
45463
45448
|
created_at: "createdAt",
|
|
45464
45449
|
end_at: "endAt",
|
|
45450
|
+
is_paid: "isPaid",
|
|
45465
45451
|
start_at: "startAt",
|
|
45466
45452
|
updated_at: "updatedAt",
|
|
45467
45453
|
user_id: "userId"
|
|
@@ -45475,10 +45461,11 @@ var init_hristimeoff = __esm(() => {
|
|
|
45475
45461
|
createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45476
45462
|
endAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45477
45463
|
id: stringType().optional(),
|
|
45464
|
+
isPaid: booleanType().optional(),
|
|
45478
45465
|
raw: recordType(anyType()).optional(),
|
|
45466
|
+
reason: stringType().optional(),
|
|
45479
45467
|
startAt: dateType().transform((v2) => v2.toISOString()),
|
|
45480
45468
|
status: HrisTimeoffStatus$outboundSchema.optional(),
|
|
45481
|
-
type: HrisTimeoffType$outboundSchema.optional(),
|
|
45482
45469
|
updatedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45483
45470
|
userId: stringType().optional()
|
|
45484
45471
|
}).transform((v2) => {
|
|
@@ -45488,6 +45475,7 @@ var init_hristimeoff = __esm(() => {
|
|
|
45488
45475
|
companyId: "company_id",
|
|
45489
45476
|
createdAt: "created_at",
|
|
45490
45477
|
endAt: "end_at",
|
|
45478
|
+
isPaid: "is_paid",
|
|
45491
45479
|
startAt: "start_at",
|
|
45492
45480
|
updatedAt: "updated_at",
|
|
45493
45481
|
userId: "user_id"
|
|
@@ -127354,7 +127342,7 @@ var init_verificationUpdateVerificationRequest2 = __esm(() => {
|
|
|
127354
127342
|
function createMCPServer(deps) {
|
|
127355
127343
|
const server = new McpServer({
|
|
127356
127344
|
name: "UnifiedTo",
|
|
127357
|
-
version: "2.73.
|
|
127345
|
+
version: "2.73.22"
|
|
127358
127346
|
});
|
|
127359
127347
|
const client = new UnifiedToCore({
|
|
127360
127348
|
security: deps.security,
|
|
@@ -129553,7 +129541,7 @@ var routes = an({
|
|
|
129553
129541
|
var app = He(routes, {
|
|
129554
129542
|
name: "mcp",
|
|
129555
129543
|
versionInfo: {
|
|
129556
|
-
currentVersion: "2.73.
|
|
129544
|
+
currentVersion: "2.73.22"
|
|
129557
129545
|
}
|
|
129558
129546
|
});
|
|
129559
129547
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -129561,5 +129549,5 @@ export {
|
|
|
129561
129549
|
app
|
|
129562
129550
|
};
|
|
129563
129551
|
|
|
129564
|
-
//# debugId=
|
|
129552
|
+
//# debugId=C81C9B1862E22E5564756E2164756E21
|
|
129565
129553
|
//# sourceMappingURL=mcp-server.js.map
|