servicem8 0.9.44 → 0.9.45

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 (63) hide show
  1. package/api.json +516 -512
  2. package/bin/mcp-server.js +22 -14
  3. package/bin/mcp-server.js.map +7 -7
  4. package/dist/commonjs/lib/config.d.ts +3 -3
  5. package/dist/commonjs/lib/config.js +3 -3
  6. package/dist/commonjs/lib/config.js.map +1 -1
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/components/knowledgearticle.d.ts +4 -4
  10. package/dist/commonjs/models/components/staff.d.ts +4 -0
  11. package/dist/commonjs/models/components/staff.d.ts.map +1 -1
  12. package/dist/commonjs/models/components/staff.js +8 -0
  13. package/dist/commonjs/models/components/staff.js.map +1 -1
  14. package/dist/esm/lib/config.d.ts +3 -3
  15. package/dist/esm/lib/config.js +3 -3
  16. package/dist/esm/lib/config.js.map +1 -1
  17. package/dist/esm/mcp-server/mcp-server.js +1 -1
  18. package/dist/esm/mcp-server/server.js +1 -1
  19. package/dist/esm/models/components/knowledgearticle.d.ts +4 -4
  20. package/dist/esm/models/components/staff.d.ts +4 -0
  21. package/dist/esm/models/components/staff.d.ts.map +1 -1
  22. package/dist/esm/models/components/staff.js +8 -0
  23. package/dist/esm/models/components/staff.js.map +1 -1
  24. package/docs/sdks/allocationwindows/README.md +4 -4
  25. package/docs/sdks/assets/README.md +8 -8
  26. package/docs/sdks/assettypefields/README.md +8 -8
  27. package/docs/sdks/assettypes/README.md +4 -4
  28. package/docs/sdks/badges/README.md +12 -12
  29. package/docs/sdks/bundles/README.md +4 -4
  30. package/docs/sdks/categories/README.md +4 -4
  31. package/docs/sdks/clients/README.md +8 -8
  32. package/docs/sdks/companycontacts/README.md +8 -8
  33. package/docs/sdks/documenttemplates/README.md +4 -4
  34. package/docs/sdks/emailtemplates/README.md +4 -4
  35. package/docs/sdks/feedback/README.md +8 -8
  36. package/docs/sdks/formfields/README.md +8 -8
  37. package/docs/sdks/formresponses/README.md +32 -32
  38. package/docs/sdks/forms/README.md +8 -8
  39. package/docs/sdks/jobactivities/README.md +36 -36
  40. package/docs/sdks/joballocations/README.md +48 -48
  41. package/docs/sdks/jobchecklists/README.md +40 -40
  42. package/docs/sdks/jobcontacts/README.md +8 -8
  43. package/docs/sdks/jobmaterialbundles/README.md +12 -12
  44. package/docs/sdks/jobmaterials/README.md +20 -20
  45. package/docs/sdks/jobpayments/README.md +20 -20
  46. package/docs/sdks/jobqueues/README.md +4 -4
  47. package/docs/sdks/jobs/README.md +76 -76
  48. package/docs/sdks/knowledgearticles/README.md +4 -4
  49. package/docs/sdks/locations/README.md +4 -4
  50. package/docs/sdks/materials/README.md +8 -8
  51. package/docs/sdks/smstemplates/README.md +4 -4
  52. package/docs/sdks/staffmembers/README.md +32 -28
  53. package/docs/sdks/staffmessages/README.md +28 -28
  54. package/docs/sdks/tasks/README.md +28 -28
  55. package/docs/sdks/taxrates/README.md +4 -4
  56. package/examples/package-lock.json +1 -1
  57. package/jsr.json +1 -1
  58. package/package.json +1 -1
  59. package/src/lib/config.ts +3 -3
  60. package/src/mcp-server/mcp-server.ts +1 -1
  61. package/src/mcp-server/server.ts +1 -1
  62. package/src/models/components/knowledgearticle.ts +4 -4
  63. package/src/models/components/staff.ts +12 -0
package/bin/mcp-server.js CHANGED
@@ -34205,9 +34205,9 @@ var init_config = __esm(() => {
34205
34205
  SDK_METADATA = {
34206
34206
  language: "typescript",
34207
34207
  openapiDocVersion: "1.0.0",
34208
- sdkVersion: "0.9.44",
34209
- genVersion: "2.687.1",
34210
- userAgent: "speakeasy-sdk/typescript 0.9.44 2.687.1 1.0.0 servicem8"
34208
+ sdkVersion: "0.9.45",
34209
+ genVersion: "2.687.13",
34210
+ userAgent: "speakeasy-sdk/typescript 0.9.45 2.687.13 1.0.0 servicem8"
34211
34211
  };
34212
34212
  });
34213
34213
 
@@ -40170,7 +40170,8 @@ var init_staff = __esm(() => {
40170
40170
  uuid: stringType().optional(),
40171
40171
  active: StaffActive$inboundSchema.default(1),
40172
40172
  edit_date: anyType().optional(),
40173
- can_receive_push_notification: stringType().optional()
40173
+ can_receive_push_notification: stringType().optional(),
40174
+ labour_material_uuid: stringType().optional()
40174
40175
  }).transform((v2) => {
40175
40176
  return remap(v2, {
40176
40177
  geo_timestamp: "geoTimestamp",
@@ -40184,7 +40185,8 @@ var init_staff = __esm(() => {
40184
40185
  hide_from_schedule: "hideFromSchedule",
40185
40186
  security_role_uuid: "securityRoleUuid",
40186
40187
  edit_date: "editDate",
40187
- can_receive_push_notification: "canReceivePushNotification"
40188
+ can_receive_push_notification: "canReceivePushNotification",
40189
+ labour_material_uuid: "labourMaterialUuid"
40188
40190
  });
40189
40191
  });
40190
40192
  Staff$outboundSchema = objectType({
@@ -40208,7 +40210,8 @@ var init_staff = __esm(() => {
40208
40210
  uuid: stringType().optional(),
40209
40211
  active: StaffActive$outboundSchema.default(1),
40210
40212
  editDate: anyType().optional(),
40211
- canReceivePushNotification: stringType().optional()
40213
+ canReceivePushNotification: stringType().optional(),
40214
+ labourMaterialUuid: stringType().optional()
40212
40215
  }).transform((v2) => {
40213
40216
  return remap(v2, {
40214
40217
  geoTimestamp: "geo_timestamp",
@@ -40222,7 +40225,8 @@ var init_staff = __esm(() => {
40222
40225
  hideFromSchedule: "hide_from_schedule",
40223
40226
  securityRoleUuid: "security_role_uuid",
40224
40227
  editDate: "edit_date",
40225
- canReceivePushNotification: "can_receive_push_notification"
40228
+ canReceivePushNotification: "can_receive_push_notification",
40229
+ labourMaterialUuid: "labour_material_uuid"
40226
40230
  });
40227
40231
  });
40228
40232
  ((Staff$) => {
@@ -40249,7 +40253,8 @@ var init_staff = __esm(() => {
40249
40253
  security_role_uuid: stringType().optional(),
40250
40254
  uuid: stringType().optional(),
40251
40255
  active: StaffActive$inboundSchema.default(1),
40252
- can_receive_push_notification: stringType().optional()
40256
+ can_receive_push_notification: stringType().optional(),
40257
+ labour_material_uuid: stringType().optional()
40253
40258
  }).transform((v2) => {
40254
40259
  return remap(v2, {
40255
40260
  geo_timestamp: "geoTimestamp",
@@ -40262,7 +40267,8 @@ var init_staff = __esm(() => {
40262
40267
  status_message_timestamp: "statusMessageTimestamp",
40263
40268
  hide_from_schedule: "hideFromSchedule",
40264
40269
  security_role_uuid: "securityRoleUuid",
40265
- can_receive_push_notification: "canReceivePushNotification"
40270
+ can_receive_push_notification: "canReceivePushNotification",
40271
+ labour_material_uuid: "labourMaterialUuid"
40266
40272
  });
40267
40273
  });
40268
40274
  StaffInput$outboundSchema = objectType({
@@ -40285,7 +40291,8 @@ var init_staff = __esm(() => {
40285
40291
  securityRoleUuid: stringType().optional(),
40286
40292
  uuid: stringType().optional(),
40287
40293
  active: StaffActive$outboundSchema.default(1),
40288
- canReceivePushNotification: stringType().optional()
40294
+ canReceivePushNotification: stringType().optional(),
40295
+ labourMaterialUuid: stringType().optional()
40289
40296
  }).transform((v2) => {
40290
40297
  return remap(v2, {
40291
40298
  geoTimestamp: "geo_timestamp",
@@ -40298,7 +40305,8 @@ var init_staff = __esm(() => {
40298
40305
  statusMessageTimestamp: "status_message_timestamp",
40299
40306
  hideFromSchedule: "hide_from_schedule",
40300
40307
  securityRoleUuid: "security_role_uuid",
40301
- canReceivePushNotification: "can_receive_push_notification"
40308
+ canReceivePushNotification: "can_receive_push_notification",
40309
+ labourMaterialUuid: "labour_material_uuid"
40302
40310
  });
40303
40311
  });
40304
40312
  ((StaffInput$) => {
@@ -65890,7 +65898,7 @@ This endpoint requires the following OAuth scope **vendor**.
65890
65898
  function createMCPServer(deps) {
65891
65899
  const server = new McpServer({
65892
65900
  name: "ServiceM8",
65893
- version: "0.9.44"
65901
+ version: "0.9.45"
65894
65902
  });
65895
65903
  const client = new ServiceM8Core({
65896
65904
  security: deps.security,
@@ -67449,7 +67457,7 @@ var routes = an({
67449
67457
  var app = He(routes, {
67450
67458
  name: "mcp",
67451
67459
  versionInfo: {
67452
- currentVersion: "0.9.44"
67460
+ currentVersion: "0.9.45"
67453
67461
  }
67454
67462
  });
67455
67463
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -67457,5 +67465,5 @@ export {
67457
67465
  app
67458
67466
  };
67459
67467
 
67460
- //# debugId=6D3471D6D0279DBB64756E2164756E21
67468
+ //# debugId=B8B523B90CDA347564756E2164756E21
67461
67469
  //# sourceMappingURL=mcp-server.js.map