servicem8 0.9.20 → 0.9.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/api.json +303 -303
- package/bin/mcp-server.js +54 -11
- package/bin/mcp-server.js.map +6 -6
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/jobchecklist.d.ts +97 -4
- package/dist/commonjs/models/components/jobchecklist.d.ts.map +1 -1
- package/dist/commonjs/models/components/jobchecklist.js +84 -5
- package/dist/commonjs/models/components/jobchecklist.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/jobchecklist.d.ts +97 -4
- package/dist/esm/models/components/jobchecklist.d.ts.map +1 -1
- package/dist/esm/models/components/jobchecklist.js +81 -4
- package/dist/esm/models/components/jobchecklist.js.map +1 -1
- package/docs/sdks/allocationwindows/README.md +4 -4
- package/docs/sdks/assets/README.md +6 -6
- package/docs/sdks/assettypefields/README.md +8 -8
- package/docs/sdks/assettypes/README.md +4 -4
- package/docs/sdks/attachments/README.md +12 -12
- package/docs/sdks/badges/README.md +12 -12
- package/docs/sdks/bundles/README.md +4 -4
- package/docs/sdks/categories/README.md +4 -4
- package/docs/sdks/clients/README.md +8 -8
- package/docs/sdks/companycontacts/README.md +8 -8
- package/docs/sdks/emailtemplates/README.md +4 -4
- package/docs/sdks/feedback/README.md +8 -8
- package/docs/sdks/formfields/README.md +8 -8
- package/docs/sdks/formresponses/README.md +28 -28
- package/docs/sdks/forms/README.md +8 -8
- package/docs/sdks/jobactivities/README.md +20 -20
- package/docs/sdks/joballocations/README.md +24 -24
- package/docs/sdks/jobchecklists/README.md +32 -32
- package/docs/sdks/jobcontacts/README.md +8 -8
- package/docs/sdks/jobmaterialbundles/README.md +12 -12
- package/docs/sdks/jobmaterials/README.md +20 -20
- package/docs/sdks/jobpayments/README.md +16 -16
- package/docs/sdks/jobqueues/README.md +4 -4
- package/docs/sdks/jobs/README.md +32 -32
- package/docs/sdks/jobtemplates/README.md +4 -4
- package/docs/sdks/knowledgearticles/README.md +4 -4
- package/docs/sdks/locations/README.md +4 -4
- package/docs/sdks/materials/README.md +8 -8
- package/docs/sdks/notes/README.md +12 -12
- package/docs/sdks/securityroles/README.md +4 -4
- package/docs/sdks/smstemplates/README.md +4 -4
- package/docs/sdks/staffmembers/README.md +12 -12
- package/docs/sdks/staffmessages/README.md +16 -16
- package/docs/sdks/tasks/README.md +20 -20
- package/docs/sdks/taxrates/README.md +4 -4
- package/docs/sdks/vendors/README.md +2 -2
- package/examples/package-lock.json +6 -5
- package/jsr.json +1 -1
- package/package.json +6 -6
- 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/models/components/jobchecklist.ts +145 -8
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.
|
|
34209
|
-
genVersion: "2.
|
|
34210
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
34208
|
+
sdkVersion: "0.9.21",
|
|
34209
|
+
genVersion: "2.668.4",
|
|
34210
|
+
userAgent: "speakeasy-sdk/typescript 0.9.21 2.668.4 1.0.0 servicem8"
|
|
34211
34211
|
};
|
|
34212
34212
|
});
|
|
34213
34213
|
|
|
@@ -38446,7 +38446,7 @@ var init_joballocation = __esm(() => {
|
|
|
38446
38446
|
});
|
|
38447
38447
|
|
|
38448
38448
|
// src/models/components/jobchecklist.ts
|
|
38449
|
-
var JobChecklistActive, IsLocked, JobChecklistActive$inboundSchema, JobChecklistActive$outboundSchema, JobChecklistActive$, ReminderData2$inboundSchema, ReminderData2$outboundSchema, ReminderData2$, ReminderDataUnion2$inboundSchema, ReminderDataUnion2$outboundSchema, ReminderDataUnion2$, ReminderData1$inboundSchema, ReminderData1$outboundSchema, ReminderData1$, ReminderDataUnion1$inboundSchema, ReminderDataUnion1$outboundSchema, ReminderDataUnion1$, ReminderDataUnion3$inboundSchema, ReminderDataUnion3$outboundSchema, ReminderDataUnion3$, IsLocked$inboundSchema, IsLocked$outboundSchema, IsLocked$, JobChecklist$inboundSchema, JobChecklist$outboundSchema, JobChecklist$, JobChecklistInput$inboundSchema, JobChecklistInput$outboundSchema, JobChecklistInput$;
|
|
38449
|
+
var JobChecklistActive, BaseDate, Unit, IsLocked, JobChecklistActive$inboundSchema, JobChecklistActive$outboundSchema, JobChecklistActive$, BaseDate$inboundSchema, BaseDate$outboundSchema, BaseDate$, Unit$inboundSchema, Unit$outboundSchema, Unit$, RelativeDateTime$inboundSchema, RelativeDateTime$outboundSchema, RelativeDateTime$, ReminderData2$inboundSchema, ReminderData2$outboundSchema, ReminderData2$, ReminderDataUnion2$inboundSchema, ReminderDataUnion2$outboundSchema, ReminderDataUnion2$, ReminderData1$inboundSchema, ReminderData1$outboundSchema, ReminderData1$, ReminderDataUnion1$inboundSchema, ReminderDataUnion1$outboundSchema, ReminderDataUnion1$, ReminderDataUnion3$inboundSchema, ReminderDataUnion3$outboundSchema, ReminderDataUnion3$, IsLocked$inboundSchema, IsLocked$outboundSchema, IsLocked$, JobChecklist$inboundSchema, JobChecklist$outboundSchema, JobChecklist$, JobChecklistInput$inboundSchema, JobChecklistInput$outboundSchema, JobChecklistInput$;
|
|
38450
38450
|
var init_jobchecklist = __esm(() => {
|
|
38451
38451
|
init_esm();
|
|
38452
38452
|
init_primitives();
|
|
@@ -38454,6 +38454,15 @@ var init_jobchecklist = __esm(() => {
|
|
|
38454
38454
|
Zero: 0,
|
|
38455
38455
|
One: 1
|
|
38456
38456
|
};
|
|
38457
|
+
BaseDate = {
|
|
38458
|
+
JobCreateTime: "JOB_CREATE_TIME",
|
|
38459
|
+
NextBookingTime: "NEXT_BOOKING_TIME"
|
|
38460
|
+
};
|
|
38461
|
+
Unit = {
|
|
38462
|
+
Day: "DAY",
|
|
38463
|
+
Hour: "HOUR",
|
|
38464
|
+
Minute: "MINUTE"
|
|
38465
|
+
};
|
|
38457
38466
|
IsLocked = {
|
|
38458
38467
|
Zero: 0,
|
|
38459
38468
|
One: 1
|
|
@@ -38464,8 +38473,38 @@ var init_jobchecklist = __esm(() => {
|
|
|
38464
38473
|
JobChecklistActive$.inboundSchema = JobChecklistActive$inboundSchema;
|
|
38465
38474
|
JobChecklistActive$.outboundSchema = JobChecklistActive$outboundSchema;
|
|
38466
38475
|
})(JobChecklistActive$ ||= {});
|
|
38467
|
-
|
|
38468
|
-
|
|
38476
|
+
BaseDate$inboundSchema = nativeEnumType(BaseDate);
|
|
38477
|
+
BaseDate$outboundSchema = BaseDate$inboundSchema;
|
|
38478
|
+
((BaseDate$) => {
|
|
38479
|
+
BaseDate$.inboundSchema = BaseDate$inboundSchema;
|
|
38480
|
+
BaseDate$.outboundSchema = BaseDate$outboundSchema;
|
|
38481
|
+
})(BaseDate$ ||= {});
|
|
38482
|
+
Unit$inboundSchema = nativeEnumType(Unit);
|
|
38483
|
+
Unit$outboundSchema = Unit$inboundSchema;
|
|
38484
|
+
((Unit$) => {
|
|
38485
|
+
Unit$.inboundSchema = Unit$inboundSchema;
|
|
38486
|
+
Unit$.outboundSchema = Unit$outboundSchema;
|
|
38487
|
+
})(Unit$ ||= {});
|
|
38488
|
+
RelativeDateTime$inboundSchema = objectType({
|
|
38489
|
+
baseDate: BaseDate$inboundSchema,
|
|
38490
|
+
unit: Unit$inboundSchema,
|
|
38491
|
+
quantity: numberType().int()
|
|
38492
|
+
});
|
|
38493
|
+
RelativeDateTime$outboundSchema = objectType({
|
|
38494
|
+
baseDate: BaseDate$outboundSchema,
|
|
38495
|
+
unit: Unit$outboundSchema,
|
|
38496
|
+
quantity: numberType().int()
|
|
38497
|
+
});
|
|
38498
|
+
((RelativeDateTime$) => {
|
|
38499
|
+
RelativeDateTime$.inboundSchema = RelativeDateTime$inboundSchema;
|
|
38500
|
+
RelativeDateTime$.outboundSchema = RelativeDateTime$outboundSchema;
|
|
38501
|
+
})(RelativeDateTime$ ||= {});
|
|
38502
|
+
ReminderData2$inboundSchema = objectType({
|
|
38503
|
+
relativeDateTime: lazyType(() => RelativeDateTime$inboundSchema)
|
|
38504
|
+
});
|
|
38505
|
+
ReminderData2$outboundSchema = objectType({
|
|
38506
|
+
relativeDateTime: lazyType(() => RelativeDateTime$outboundSchema)
|
|
38507
|
+
});
|
|
38469
38508
|
((ReminderData2$) => {
|
|
38470
38509
|
ReminderData2$.inboundSchema = ReminderData2$inboundSchema;
|
|
38471
38510
|
ReminderData2$.outboundSchema = ReminderData2$outboundSchema;
|
|
@@ -38476,8 +38515,12 @@ var init_jobchecklist = __esm(() => {
|
|
|
38476
38515
|
ReminderDataUnion2$.inboundSchema = ReminderDataUnion2$inboundSchema;
|
|
38477
38516
|
ReminderDataUnion2$.outboundSchema = ReminderDataUnion2$outboundSchema;
|
|
38478
38517
|
})(ReminderDataUnion2$ ||= {});
|
|
38479
|
-
ReminderData1$inboundSchema = objectType({
|
|
38480
|
-
|
|
38518
|
+
ReminderData1$inboundSchema = objectType({
|
|
38519
|
+
absoluteDateTime: stringType()
|
|
38520
|
+
});
|
|
38521
|
+
ReminderData1$outboundSchema = objectType({
|
|
38522
|
+
absoluteDateTime: stringType()
|
|
38523
|
+
});
|
|
38481
38524
|
((ReminderData1$) => {
|
|
38482
38525
|
ReminderData1$.inboundSchema = ReminderData1$inboundSchema;
|
|
38483
38526
|
ReminderData1$.outboundSchema = ReminderData1$outboundSchema;
|
|
@@ -69291,7 +69334,7 @@ Vendor account information
|
|
|
69291
69334
|
function createMCPServer(deps) {
|
|
69292
69335
|
const server = new McpServer({
|
|
69293
69336
|
name: "ServiceM8",
|
|
69294
|
-
version: "0.9.
|
|
69337
|
+
version: "0.9.21"
|
|
69295
69338
|
});
|
|
69296
69339
|
const client = new ServiceM8Core({
|
|
69297
69340
|
security: deps.security,
|
|
@@ -70872,7 +70915,7 @@ var routes = an({
|
|
|
70872
70915
|
var app = He(routes, {
|
|
70873
70916
|
name: "mcp",
|
|
70874
70917
|
versionInfo: {
|
|
70875
|
-
currentVersion: "0.9.
|
|
70918
|
+
currentVersion: "0.9.21"
|
|
70876
70919
|
}
|
|
70877
70920
|
});
|
|
70878
70921
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -70880,5 +70923,5 @@ export {
|
|
|
70880
70923
|
app
|
|
70881
70924
|
};
|
|
70882
70925
|
|
|
70883
|
-
//# debugId=
|
|
70926
|
+
//# debugId=B8027CE931A252CC64756E2164756E21
|
|
70884
70927
|
//# sourceMappingURL=mcp-server.js.map
|