@unified-api/typescript-sdk 2.73.20 → 2.73.21

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 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.20",
34235
- genVersion: "2.690.1",
34236
- userAgent: "speakeasy-sdk/typescript 2.73.20 2.690.1 1.0 @unified-api/typescript-sdk"
34234
+ sdkVersion: "2.73.21",
34235
+ genVersion: "2.692.0",
34236
+ userAgent: "speakeasy-sdk/typescript 2.73.21 2.692.0 1.0 @unified-api/typescript-sdk"
34237
34237
  };
34238
34238
  });
34239
34239
 
@@ -44336,6 +44336,7 @@ var init_hriscompany = __esm(() => {
44336
44336
  var HrisCompensationFrequency, HrisCompensationType, HrisCompensationFrequency$inboundSchema, HrisCompensationFrequency$outboundSchema, HrisCompensationFrequency$, HrisCompensationType$inboundSchema, HrisCompensationType$outboundSchema, HrisCompensationType$, HrisCompensation$inboundSchema, HrisCompensation$outboundSchema, HrisCompensation$;
44337
44337
  var init_hriscompensation = __esm(() => {
44338
44338
  init_esm();
44339
+ init_primitives();
44339
44340
  HrisCompensationFrequency = {
44340
44341
  OneTime: "ONE_TIME",
44341
44342
  Day: "DAY",
@@ -44380,13 +44381,23 @@ var init_hriscompensation = __esm(() => {
44380
44381
  amount: numberType().optional(),
44381
44382
  currency: stringType().optional(),
44382
44383
  frequency: HrisCompensationFrequency$inboundSchema.optional(),
44384
+ group_id: stringType().optional(),
44383
44385
  type: HrisCompensationType$inboundSchema.optional()
44386
+ }).transform((v2) => {
44387
+ return remap(v2, {
44388
+ group_id: "groupId"
44389
+ });
44384
44390
  });
44385
44391
  HrisCompensation$outboundSchema = objectType({
44386
44392
  amount: numberType().optional(),
44387
44393
  currency: stringType().optional(),
44388
44394
  frequency: HrisCompensationFrequency$outboundSchema.optional(),
44395
+ groupId: stringType().optional(),
44389
44396
  type: HrisCompensationType$outboundSchema.optional()
44397
+ }).transform((v2) => {
44398
+ return remap(v2, {
44399
+ groupId: "group_id"
44400
+ });
44390
44401
  });
44391
44402
  ((HrisCompensation$) => {
44392
44403
  HrisCompensation$.inboundSchema = HrisCompensation$inboundSchema;
@@ -45500,15 +45511,15 @@ var init_hristimeshift = __esm(() => {
45500
45511
  company_id: stringType().optional(),
45501
45512
  compensation: arrayType(HrisCompensation$inboundSchema).optional(),
45502
45513
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
45503
- employee_user_id: stringType().optional(),
45504
- end_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
45514
+ employee_user_id: stringType(),
45515
+ end_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
45505
45516
  group_id: stringType().optional(),
45506
45517
  hours: numberType().optional(),
45507
45518
  id: stringType().optional(),
45508
45519
  is_approved: booleanType().optional(),
45509
45520
  location_id: stringType().optional(),
45510
45521
  raw: recordType(anyType()).optional(),
45511
- start_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
45522
+ start_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
45512
45523
  updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
45513
45524
  }).transform((v2) => {
45514
45525
  return remap(v2, {
@@ -45531,15 +45542,15 @@ var init_hristimeshift = __esm(() => {
45531
45542
  companyId: stringType().optional(),
45532
45543
  compensation: arrayType(HrisCompensation$outboundSchema).optional(),
45533
45544
  createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
45534
- employeeUserId: stringType().optional(),
45535
- endAt: dateType().transform((v2) => v2.toISOString()).optional(),
45545
+ employeeUserId: stringType(),
45546
+ endAt: dateType().transform((v2) => v2.toISOString()),
45536
45547
  groupId: stringType().optional(),
45537
45548
  hours: numberType().optional(),
45538
45549
  id: stringType().optional(),
45539
45550
  isApproved: booleanType().optional(),
45540
45551
  locationId: stringType().optional(),
45541
45552
  raw: recordType(anyType()).optional(),
45542
- startAt: dateType().transform((v2) => v2.toISOString()).optional(),
45553
+ startAt: dateType().transform((v2) => v2.toISOString()),
45543
45554
  updatedAt: dateType().transform((v2) => v2.toISOString()).optional()
45544
45555
  }).transform((v2) => {
45545
45556
  return remap(v2, {
@@ -127343,7 +127354,7 @@ var init_verificationUpdateVerificationRequest2 = __esm(() => {
127343
127354
  function createMCPServer(deps) {
127344
127355
  const server = new McpServer({
127345
127356
  name: "UnifiedTo",
127346
- version: "2.73.20"
127357
+ version: "2.73.21"
127347
127358
  });
127348
127359
  const client = new UnifiedToCore({
127349
127360
  security: deps.security,
@@ -129542,7 +129553,7 @@ var routes = an({
129542
129553
  var app = He(routes, {
129543
129554
  name: "mcp",
129544
129555
  versionInfo: {
129545
- currentVersion: "2.73.20"
129556
+ currentVersion: "2.73.21"
129546
129557
  }
129547
129558
  });
129548
129559
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -129550,5 +129561,5 @@ export {
129550
129561
  app
129551
129562
  };
129552
129563
 
129553
- //# debugId=A0411B3299DFA1C064756E2164756E21
129564
+ //# debugId=109EEF9A05CE1C8A64756E2164756E21
129554
129565
  //# sourceMappingURL=mcp-server.js.map