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.
- package/api.json +516 -512
- package/bin/mcp-server.js +22 -14
- package/bin/mcp-server.js.map +7 -7
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/knowledgearticle.d.ts +4 -4
- package/dist/commonjs/models/components/staff.d.ts +4 -0
- package/dist/commonjs/models/components/staff.d.ts.map +1 -1
- package/dist/commonjs/models/components/staff.js +8 -0
- package/dist/commonjs/models/components/staff.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/knowledgearticle.d.ts +4 -4
- package/dist/esm/models/components/staff.d.ts +4 -0
- package/dist/esm/models/components/staff.d.ts.map +1 -1
- package/dist/esm/models/components/staff.js +8 -0
- package/dist/esm/models/components/staff.js.map +1 -1
- package/docs/sdks/allocationwindows/README.md +4 -4
- package/docs/sdks/assets/README.md +8 -8
- package/docs/sdks/assettypefields/README.md +8 -8
- package/docs/sdks/assettypes/README.md +4 -4
- 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/documenttemplates/README.md +4 -4
- 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 +32 -32
- package/docs/sdks/forms/README.md +8 -8
- package/docs/sdks/jobactivities/README.md +36 -36
- package/docs/sdks/joballocations/README.md +48 -48
- package/docs/sdks/jobchecklists/README.md +40 -40
- 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 +20 -20
- package/docs/sdks/jobqueues/README.md +4 -4
- package/docs/sdks/jobs/README.md +76 -76
- 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/smstemplates/README.md +4 -4
- package/docs/sdks/staffmembers/README.md +32 -28
- package/docs/sdks/staffmessages/README.md +28 -28
- package/docs/sdks/tasks/README.md +28 -28
- package/docs/sdks/taxrates/README.md +4 -4
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +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/models/components/knowledgearticle.ts +4 -4
- package/src/models/components/staff.ts +12 -0
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.0.0",
|
|
68
|
-
sdkVersion: "0.9.
|
|
69
|
-
genVersion: "2.687.
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
68
|
+
sdkVersion: "0.9.45",
|
|
69
|
+
genVersion: "2.687.13",
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.9.45 2.687.13 1.0.0 servicem8",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -52,11 +52,11 @@ export type KnowledgeArticle = {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string;
|
|
54
54
|
/**
|
|
55
|
-
* The main content of the knowledge article. For 'richtext' articles, this contains HTML formatted text. For 'video' articles, this may contain supplementary information. For 'call' articles, this contains call details. Supports extended text length.
|
|
55
|
+
* The main content of the knowledge article. For 'richtext' and 'pdf' articles, this contains HTML formatted text. For 'video' articles, this may contain supplementary information. For 'call' articles, this contains call details. Supports extended text length.
|
|
56
56
|
*/
|
|
57
57
|
content?: string | undefined;
|
|
58
58
|
/**
|
|
59
|
-
* Type of knowledge article. Valid values are 'video', 'richtext', or 'call'. This determines how the article content is presented and processed in the system.
|
|
59
|
+
* Type of knowledge article. Valid values are 'video', 'richtext', 'pdf', or 'call'. This determines how the article content is presented and processed in the system.
|
|
60
60
|
*/
|
|
61
61
|
articleType?: string | undefined;
|
|
62
62
|
/**
|
|
@@ -83,11 +83,11 @@ export type KnowledgeArticleInput = {
|
|
|
83
83
|
*/
|
|
84
84
|
name: string;
|
|
85
85
|
/**
|
|
86
|
-
* The main content of the knowledge article. For 'richtext' articles, this contains HTML formatted text. For 'video' articles, this may contain supplementary information. For 'call' articles, this contains call details. Supports extended text length.
|
|
86
|
+
* The main content of the knowledge article. For 'richtext' and 'pdf' articles, this contains HTML formatted text. For 'video' articles, this may contain supplementary information. For 'call' articles, this contains call details. Supports extended text length.
|
|
87
87
|
*/
|
|
88
88
|
content?: string | undefined;
|
|
89
89
|
/**
|
|
90
|
-
* Type of knowledge article. Valid values are 'video', 'richtext', or 'call'. This determines how the article content is presented and processed in the system.
|
|
90
|
+
* Type of knowledge article. Valid values are 'video', 'richtext', 'pdf', or 'call'. This determines how the article content is presented and processed in the system.
|
|
91
91
|
*/
|
|
92
92
|
articleType?: string | undefined;
|
|
93
93
|
/**
|
|
@@ -115,6 +115,7 @@ export type Staff = {
|
|
|
115
115
|
*/
|
|
116
116
|
editDate?: any | undefined;
|
|
117
117
|
canReceivePushNotification?: string | undefined;
|
|
118
|
+
labourMaterialUuid?: string | undefined;
|
|
118
119
|
};
|
|
119
120
|
|
|
120
121
|
export type StaffInput = {
|
|
@@ -195,6 +196,7 @@ export type StaffInput = {
|
|
|
195
196
|
*/
|
|
196
197
|
active?: StaffActive | undefined;
|
|
197
198
|
canReceivePushNotification?: string | undefined;
|
|
199
|
+
labourMaterialUuid?: string | undefined;
|
|
198
200
|
};
|
|
199
201
|
|
|
200
202
|
/** @internal */
|
|
@@ -261,6 +263,7 @@ export const Staff$inboundSchema: z.ZodType<Staff, z.ZodTypeDef, unknown> = z
|
|
|
261
263
|
active: StaffActive$inboundSchema.default(1),
|
|
262
264
|
edit_date: z.any().optional(),
|
|
263
265
|
can_receive_push_notification: z.string().optional(),
|
|
266
|
+
labour_material_uuid: z.string().optional(),
|
|
264
267
|
}).transform((v) => {
|
|
265
268
|
return remap$(v, {
|
|
266
269
|
"geo_timestamp": "geoTimestamp",
|
|
@@ -275,6 +278,7 @@ export const Staff$inboundSchema: z.ZodType<Staff, z.ZodTypeDef, unknown> = z
|
|
|
275
278
|
"security_role_uuid": "securityRoleUuid",
|
|
276
279
|
"edit_date": "editDate",
|
|
277
280
|
"can_receive_push_notification": "canReceivePushNotification",
|
|
281
|
+
"labour_material_uuid": "labourMaterialUuid",
|
|
278
282
|
});
|
|
279
283
|
});
|
|
280
284
|
|
|
@@ -301,6 +305,7 @@ export type Staff$Outbound = {
|
|
|
301
305
|
active: number;
|
|
302
306
|
edit_date?: any | undefined;
|
|
303
307
|
can_receive_push_notification?: string | undefined;
|
|
308
|
+
labour_material_uuid?: string | undefined;
|
|
304
309
|
};
|
|
305
310
|
|
|
306
311
|
/** @internal */
|
|
@@ -330,6 +335,7 @@ export const Staff$outboundSchema: z.ZodType<
|
|
|
330
335
|
active: StaffActive$outboundSchema.default(1),
|
|
331
336
|
editDate: z.any().optional(),
|
|
332
337
|
canReceivePushNotification: z.string().optional(),
|
|
338
|
+
labourMaterialUuid: z.string().optional(),
|
|
333
339
|
}).transform((v) => {
|
|
334
340
|
return remap$(v, {
|
|
335
341
|
geoTimestamp: "geo_timestamp",
|
|
@@ -344,6 +350,7 @@ export const Staff$outboundSchema: z.ZodType<
|
|
|
344
350
|
securityRoleUuid: "security_role_uuid",
|
|
345
351
|
editDate: "edit_date",
|
|
346
352
|
canReceivePushNotification: "can_receive_push_notification",
|
|
353
|
+
labourMaterialUuid: "labour_material_uuid",
|
|
347
354
|
});
|
|
348
355
|
});
|
|
349
356
|
|
|
@@ -400,6 +407,7 @@ export const StaffInput$inboundSchema: z.ZodType<
|
|
|
400
407
|
uuid: z.string().optional(),
|
|
401
408
|
active: StaffActive$inboundSchema.default(1),
|
|
402
409
|
can_receive_push_notification: z.string().optional(),
|
|
410
|
+
labour_material_uuid: z.string().optional(),
|
|
403
411
|
}).transform((v) => {
|
|
404
412
|
return remap$(v, {
|
|
405
413
|
"geo_timestamp": "geoTimestamp",
|
|
@@ -413,6 +421,7 @@ export const StaffInput$inboundSchema: z.ZodType<
|
|
|
413
421
|
"hide_from_schedule": "hideFromSchedule",
|
|
414
422
|
"security_role_uuid": "securityRoleUuid",
|
|
415
423
|
"can_receive_push_notification": "canReceivePushNotification",
|
|
424
|
+
"labour_material_uuid": "labourMaterialUuid",
|
|
416
425
|
});
|
|
417
426
|
});
|
|
418
427
|
|
|
@@ -438,6 +447,7 @@ export type StaffInput$Outbound = {
|
|
|
438
447
|
uuid?: string | undefined;
|
|
439
448
|
active: number;
|
|
440
449
|
can_receive_push_notification?: string | undefined;
|
|
450
|
+
labour_material_uuid?: string | undefined;
|
|
441
451
|
};
|
|
442
452
|
|
|
443
453
|
/** @internal */
|
|
@@ -466,6 +476,7 @@ export const StaffInput$outboundSchema: z.ZodType<
|
|
|
466
476
|
uuid: z.string().optional(),
|
|
467
477
|
active: StaffActive$outboundSchema.default(1),
|
|
468
478
|
canReceivePushNotification: z.string().optional(),
|
|
479
|
+
labourMaterialUuid: z.string().optional(),
|
|
469
480
|
}).transform((v) => {
|
|
470
481
|
return remap$(v, {
|
|
471
482
|
geoTimestamp: "geo_timestamp",
|
|
@@ -479,6 +490,7 @@ export const StaffInput$outboundSchema: z.ZodType<
|
|
|
479
490
|
hideFromSchedule: "hide_from_schedule",
|
|
480
491
|
securityRoleUuid: "security_role_uuid",
|
|
481
492
|
canReceivePushNotification: "can_receive_push_notification",
|
|
493
|
+
labourMaterialUuid: "labour_material_uuid",
|
|
482
494
|
});
|
|
483
495
|
});
|
|
484
496
|
|