servicem8 0.9.14 → 0.9.16
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 +6 -6
- package/bin/mcp-server.js.map +4 -4
- 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/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/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 +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
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0.0";
|
|
38
|
-
readonly sdkVersion: "0.9.
|
|
39
|
-
readonly genVersion: "2.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.9.
|
|
38
|
+
readonly sdkVersion: "0.9.16";
|
|
39
|
+
readonly genVersion: "2.666.0";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.16 2.666.0 1.0.0 servicem8";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "1.0.0",
|
|
31
|
-
sdkVersion: "0.9.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
31
|
+
sdkVersion: "0.9.16",
|
|
32
|
+
genVersion: "2.666.0",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 0.9.16 2.666.0 1.0.0 servicem8",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.9.
|
|
25
|
+
currentVersion: "0.9.16",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -201,7 +201,7 @@ const vendorsUpdateVendors_js_1 = require("./tools/vendorsUpdateVendors.js");
|
|
|
201
201
|
function createMCPServer(deps) {
|
|
202
202
|
const server = new mcp_js_1.McpServer({
|
|
203
203
|
name: "ServiceM8",
|
|
204
|
-
version: "0.9.
|
|
204
|
+
version: "0.9.16",
|
|
205
205
|
});
|
|
206
206
|
const client = new core_js_1.ServiceM8Core({
|
|
207
207
|
security: deps.security,
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0.0";
|
|
38
|
-
readonly sdkVersion: "0.9.
|
|
39
|
-
readonly genVersion: "2.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.9.
|
|
38
|
+
readonly sdkVersion: "0.9.16";
|
|
39
|
+
readonly genVersion: "2.666.0";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.16 2.666.0 1.0.0 servicem8";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
|
|
|
24
24
|
export const SDK_METADATA = {
|
|
25
25
|
language: "typescript",
|
|
26
26
|
openapiDocVersion: "1.0.0",
|
|
27
|
-
sdkVersion: "0.9.
|
|
28
|
-
genVersion: "2.
|
|
29
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
27
|
+
sdkVersion: "0.9.16",
|
|
28
|
+
genVersion: "2.666.0",
|
|
29
|
+
userAgent: "speakeasy-sdk/typescript 0.9.16 2.666.0 1.0.0 servicem8",
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=config.js.map
|
|
@@ -198,7 +198,7 @@ import { tool$vendorsUpdateVendors } from "./tools/vendorsUpdateVendors.js";
|
|
|
198
198
|
export function createMCPServer(deps) {
|
|
199
199
|
const server = new McpServer({
|
|
200
200
|
name: "ServiceM8",
|
|
201
|
-
version: "0.9.
|
|
201
|
+
version: "0.9.16",
|
|
202
202
|
});
|
|
203
203
|
const client = new ServiceM8Core({
|
|
204
204
|
security: deps.security,
|
|
@@ -111,7 +111,7 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.allocationWindows.createAllocationWindows({
|
|
114
|
-
uuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-b160-48fb-9eee-230c46b47f7b",
|
|
115
115
|
});
|
|
116
116
|
|
|
117
117
|
console.log(result);
|
|
@@ -138,7 +138,7 @@ const serviceM8 = new ServiceM8Core({
|
|
|
138
138
|
|
|
139
139
|
async function run() {
|
|
140
140
|
const res = await allocationWindowsCreateAllocationWindows(serviceM8, {
|
|
141
|
-
uuid: "123e4567-
|
|
141
|
+
uuid: "123e4567-b160-48fb-9eee-230c46b47f7b",
|
|
142
142
|
});
|
|
143
143
|
if (res.ok) {
|
|
144
144
|
const { value: result } = res;
|
|
@@ -267,7 +267,7 @@ async function run() {
|
|
|
267
267
|
const result = await serviceM8.allocationWindows.updateAllocationWindows({
|
|
268
268
|
uuid: "4cd38297-8da6-4b29-8742-4f293110085d",
|
|
269
269
|
allocationWindow: {
|
|
270
|
-
uuid: "123e4567-
|
|
270
|
+
uuid: "123e4567-b160-48fb-9eee-230c46b47f7b",
|
|
271
271
|
},
|
|
272
272
|
});
|
|
273
273
|
|
|
@@ -297,7 +297,7 @@ async function run() {
|
|
|
297
297
|
const res = await allocationWindowsUpdateAllocationWindows(serviceM8, {
|
|
298
298
|
uuid: "4cd38297-8da6-4b29-8742-4f293110085d",
|
|
299
299
|
allocationWindow: {
|
|
300
|
-
uuid: "123e4567-
|
|
300
|
+
uuid: "123e4567-b160-48fb-9eee-230c46b47f7b",
|
|
301
301
|
},
|
|
302
302
|
});
|
|
303
303
|
if (res.ok) {
|
|
@@ -199,9 +199,9 @@ async function run() {
|
|
|
199
199
|
const result = await serviceM8.assets.updateAssets({
|
|
200
200
|
uuid: "5b24eb53-3f3d-4b60-b9e9-e44934a80c53",
|
|
201
201
|
asset: {
|
|
202
|
-
uuid: "123e4567-
|
|
203
|
-
companyUuid: "123e4567-
|
|
204
|
-
assetTypeUuid: "123e4567-
|
|
202
|
+
uuid: "123e4567-74e1-4274-aca9-230c426f274b",
|
|
203
|
+
companyUuid: "123e4567-e870-4ca4-b717-230c4623a56b",
|
|
204
|
+
assetTypeUuid: "123e4567-2962-410b-96ee-230c4255759b",
|
|
205
205
|
geoTimestamp: "2025-07-01 12:00:00",
|
|
206
206
|
},
|
|
207
207
|
});
|
|
@@ -232,9 +232,9 @@ async function run() {
|
|
|
232
232
|
const res = await assetsUpdateAssets(serviceM8, {
|
|
233
233
|
uuid: "5b24eb53-3f3d-4b60-b9e9-e44934a80c53",
|
|
234
234
|
asset: {
|
|
235
|
-
uuid: "123e4567-
|
|
236
|
-
companyUuid: "123e4567-
|
|
237
|
-
assetTypeUuid: "123e4567-
|
|
235
|
+
uuid: "123e4567-74e1-4274-aca9-230c426f274b",
|
|
236
|
+
companyUuid: "123e4567-e870-4ca4-b717-230c4623a56b",
|
|
237
|
+
assetTypeUuid: "123e4567-2962-410b-96ee-230c4255759b",
|
|
238
238
|
geoTimestamp: "2025-07-01 12:00:00",
|
|
239
239
|
},
|
|
240
240
|
});
|
|
@@ -121,8 +121,8 @@ const serviceM8 = new ServiceM8({
|
|
|
121
121
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.assetTypeFields.createAssetTypeFields({
|
|
124
|
-
uuid: "123e4567-
|
|
125
|
-
assetTypeUuid: "123e4567-
|
|
124
|
+
uuid: "123e4567-d900-46f7-bd19-230c4bb5861b",
|
|
125
|
+
assetTypeUuid: "123e4567-64ae-47f1-98f1-230c4e25a4eb",
|
|
126
126
|
name: "<value>",
|
|
127
127
|
});
|
|
128
128
|
|
|
@@ -150,8 +150,8 @@ const serviceM8 = new ServiceM8Core({
|
|
|
150
150
|
|
|
151
151
|
async function run() {
|
|
152
152
|
const res = await assetTypeFieldsCreateAssetTypeFields(serviceM8, {
|
|
153
|
-
uuid: "123e4567-
|
|
154
|
-
assetTypeUuid: "123e4567-
|
|
153
|
+
uuid: "123e4567-d900-46f7-bd19-230c4bb5861b",
|
|
154
|
+
assetTypeUuid: "123e4567-64ae-47f1-98f1-230c4e25a4eb",
|
|
155
155
|
name: "<value>",
|
|
156
156
|
});
|
|
157
157
|
if (res.ok) {
|
|
@@ -291,8 +291,8 @@ async function run() {
|
|
|
291
291
|
const result = await serviceM8.assetTypeFields.updateAssetTypeFields({
|
|
292
292
|
uuid: "1d8d7fd0-4d09-4955-a484-0cd4add08b25",
|
|
293
293
|
assetTypeField: {
|
|
294
|
-
uuid: "123e4567-
|
|
295
|
-
assetTypeUuid: "123e4567-
|
|
294
|
+
uuid: "123e4567-d900-46f7-bd19-230c4bb5861b",
|
|
295
|
+
assetTypeUuid: "123e4567-64ae-47f1-98f1-230c4e25a4eb",
|
|
296
296
|
name: "<value>",
|
|
297
297
|
},
|
|
298
298
|
});
|
|
@@ -323,8 +323,8 @@ async function run() {
|
|
|
323
323
|
const res = await assetTypeFieldsUpdateAssetTypeFields(serviceM8, {
|
|
324
324
|
uuid: "1d8d7fd0-4d09-4955-a484-0cd4add08b25",
|
|
325
325
|
assetTypeField: {
|
|
326
|
-
uuid: "123e4567-
|
|
327
|
-
assetTypeUuid: "123e4567-
|
|
326
|
+
uuid: "123e4567-d900-46f7-bd19-230c4bb5861b",
|
|
327
|
+
assetTypeUuid: "123e4567-64ae-47f1-98f1-230c4e25a4eb",
|
|
328
328
|
name: "<value>",
|
|
329
329
|
},
|
|
330
330
|
});
|
|
@@ -121,7 +121,7 @@ const serviceM8 = new ServiceM8({
|
|
|
121
121
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.assetTypes.createAssetTypes({
|
|
124
|
-
uuid: "123e4567-
|
|
124
|
+
uuid: "123e4567-0df4-4497-81ce-230c499c81ab",
|
|
125
125
|
});
|
|
126
126
|
|
|
127
127
|
console.log(result);
|
|
@@ -148,7 +148,7 @@ const serviceM8 = new ServiceM8Core({
|
|
|
148
148
|
|
|
149
149
|
async function run() {
|
|
150
150
|
const res = await assetTypesCreateAssetTypes(serviceM8, {
|
|
151
|
-
uuid: "123e4567-
|
|
151
|
+
uuid: "123e4567-0df4-4497-81ce-230c499c81ab",
|
|
152
152
|
});
|
|
153
153
|
if (res.ok) {
|
|
154
154
|
const { value: result } = res;
|
|
@@ -287,7 +287,7 @@ async function run() {
|
|
|
287
287
|
const result = await serviceM8.assetTypes.updateAssetTypes({
|
|
288
288
|
uuid: "f89ce1c3-90b1-4b51-89a7-5bc9443eac2b",
|
|
289
289
|
assetType: {
|
|
290
|
-
uuid: "123e4567-
|
|
290
|
+
uuid: "123e4567-0df4-4497-81ce-230c499c81ab",
|
|
291
291
|
},
|
|
292
292
|
});
|
|
293
293
|
|
|
@@ -317,7 +317,7 @@ async function run() {
|
|
|
317
317
|
const res = await assetTypesUpdateAssetTypes(serviceM8, {
|
|
318
318
|
uuid: "f89ce1c3-90b1-4b51-89a7-5bc9443eac2b",
|
|
319
319
|
assetType: {
|
|
320
|
-
uuid: "123e4567-
|
|
320
|
+
uuid: "123e4567-0df4-4497-81ce-230c499c81ab",
|
|
321
321
|
},
|
|
322
322
|
});
|
|
323
323
|
if (res.ok) {
|
|
@@ -111,9 +111,9 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.attachments.createAttachments({
|
|
114
|
-
uuid: "123e4567-
|
|
115
|
-
relatedObjectUuid: "123e4567-
|
|
116
|
-
createdByStaffUuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-7c0d-4375-b3b0-230c46ab96ab",
|
|
115
|
+
relatedObjectUuid: "123e4567-d61c-434f-badf-230c452db7bb",
|
|
116
|
+
createdByStaffUuid: "123e4567-800c-427c-b6ab-230c4d9cf60b",
|
|
117
117
|
});
|
|
118
118
|
|
|
119
119
|
console.log(result);
|
|
@@ -140,9 +140,9 @@ const serviceM8 = new ServiceM8Core({
|
|
|
140
140
|
|
|
141
141
|
async function run() {
|
|
142
142
|
const res = await attachmentsCreateAttachments(serviceM8, {
|
|
143
|
-
uuid: "123e4567-
|
|
144
|
-
relatedObjectUuid: "123e4567-
|
|
145
|
-
createdByStaffUuid: "123e4567-
|
|
143
|
+
uuid: "123e4567-7c0d-4375-b3b0-230c46ab96ab",
|
|
144
|
+
relatedObjectUuid: "123e4567-d61c-434f-badf-230c452db7bb",
|
|
145
|
+
createdByStaffUuid: "123e4567-800c-427c-b6ab-230c4d9cf60b",
|
|
146
146
|
});
|
|
147
147
|
if (res.ok) {
|
|
148
148
|
const { value: result } = res;
|
|
@@ -271,9 +271,9 @@ async function run() {
|
|
|
271
271
|
const result = await serviceM8.attachments.updateAttachments({
|
|
272
272
|
uuid: "e104394b-4c20-472c-976c-b9a47147723c",
|
|
273
273
|
attachment: {
|
|
274
|
-
uuid: "123e4567-
|
|
275
|
-
relatedObjectUuid: "123e4567-
|
|
276
|
-
createdByStaffUuid: "123e4567-
|
|
274
|
+
uuid: "123e4567-7c0d-4375-b3b0-230c46ab96ab",
|
|
275
|
+
relatedObjectUuid: "123e4567-d61c-434f-badf-230c452db7bb",
|
|
276
|
+
createdByStaffUuid: "123e4567-800c-427c-b6ab-230c4d9cf60b",
|
|
277
277
|
},
|
|
278
278
|
});
|
|
279
279
|
|
|
@@ -303,9 +303,9 @@ async function run() {
|
|
|
303
303
|
const res = await attachmentsUpdateAttachments(serviceM8, {
|
|
304
304
|
uuid: "e104394b-4c20-472c-976c-b9a47147723c",
|
|
305
305
|
attachment: {
|
|
306
|
-
uuid: "123e4567-
|
|
307
|
-
relatedObjectUuid: "123e4567-
|
|
308
|
-
createdByStaffUuid: "123e4567-
|
|
306
|
+
uuid: "123e4567-7c0d-4375-b3b0-230c46ab96ab",
|
|
307
|
+
relatedObjectUuid: "123e4567-d61c-434f-badf-230c452db7bb",
|
|
308
|
+
createdByStaffUuid: "123e4567-800c-427c-b6ab-230c4d9cf60b",
|
|
309
309
|
},
|
|
310
310
|
});
|
|
311
311
|
if (res.ok) {
|
|
@@ -121,10 +121,10 @@ const serviceM8 = new ServiceM8({
|
|
|
121
121
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.badges.createBadges({
|
|
124
|
-
uuid: "123e4567-
|
|
124
|
+
uuid: "123e4567-7f4a-4251-a792-230c4ccedeeb",
|
|
125
125
|
name: "<value>",
|
|
126
|
-
regardingFormUuid: "123e4567-
|
|
127
|
-
regardingAssetTypeUuid: "123e4567-
|
|
126
|
+
regardingFormUuid: "123e4567-c8d8-4fce-aa79-230c46153a6b",
|
|
127
|
+
regardingAssetTypeUuid: "123e4567-77b0-4132-9949-230c4f9fd07b",
|
|
128
128
|
});
|
|
129
129
|
|
|
130
130
|
console.log(result);
|
|
@@ -151,10 +151,10 @@ const serviceM8 = new ServiceM8Core({
|
|
|
151
151
|
|
|
152
152
|
async function run() {
|
|
153
153
|
const res = await badgesCreateBadges(serviceM8, {
|
|
154
|
-
uuid: "123e4567-
|
|
154
|
+
uuid: "123e4567-7f4a-4251-a792-230c4ccedeeb",
|
|
155
155
|
name: "<value>",
|
|
156
|
-
regardingFormUuid: "123e4567-
|
|
157
|
-
regardingAssetTypeUuid: "123e4567-
|
|
156
|
+
regardingFormUuid: "123e4567-c8d8-4fce-aa79-230c46153a6b",
|
|
157
|
+
regardingAssetTypeUuid: "123e4567-77b0-4132-9949-230c4f9fd07b",
|
|
158
158
|
});
|
|
159
159
|
if (res.ok) {
|
|
160
160
|
const { value: result } = res;
|
|
@@ -293,10 +293,10 @@ async function run() {
|
|
|
293
293
|
const result = await serviceM8.badges.updateBadges({
|
|
294
294
|
uuid: "444f2947-b065-4aac-8159-0ffca6278fd2",
|
|
295
295
|
badge: {
|
|
296
|
-
uuid: "123e4567-
|
|
296
|
+
uuid: "123e4567-7f4a-4251-a792-230c4ccedeeb",
|
|
297
297
|
name: "<value>",
|
|
298
|
-
regardingFormUuid: "123e4567-
|
|
299
|
-
regardingAssetTypeUuid: "123e4567-
|
|
298
|
+
regardingFormUuid: "123e4567-c8d8-4fce-aa79-230c46153a6b",
|
|
299
|
+
regardingAssetTypeUuid: "123e4567-77b0-4132-9949-230c4f9fd07b",
|
|
300
300
|
},
|
|
301
301
|
});
|
|
302
302
|
|
|
@@ -326,10 +326,10 @@ async function run() {
|
|
|
326
326
|
const res = await badgesUpdateBadges(serviceM8, {
|
|
327
327
|
uuid: "444f2947-b065-4aac-8159-0ffca6278fd2",
|
|
328
328
|
badge: {
|
|
329
|
-
uuid: "123e4567-
|
|
329
|
+
uuid: "123e4567-7f4a-4251-a792-230c4ccedeeb",
|
|
330
330
|
name: "<value>",
|
|
331
|
-
regardingFormUuid: "123e4567-
|
|
332
|
-
regardingAssetTypeUuid: "123e4567-
|
|
331
|
+
regardingFormUuid: "123e4567-c8d8-4fce-aa79-230c46153a6b",
|
|
332
|
+
regardingAssetTypeUuid: "123e4567-77b0-4132-9949-230c4f9fd07b",
|
|
333
333
|
},
|
|
334
334
|
});
|
|
335
335
|
if (res.ok) {
|
|
@@ -111,7 +111,7 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.bundles.createBundles({
|
|
114
|
-
uuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-2550-4630-8bdc-230c43fdca4b",
|
|
115
115
|
itemNumber: "<value>",
|
|
116
116
|
});
|
|
117
117
|
|
|
@@ -139,7 +139,7 @@ const serviceM8 = new ServiceM8Core({
|
|
|
139
139
|
|
|
140
140
|
async function run() {
|
|
141
141
|
const res = await bundlesCreateBundles(serviceM8, {
|
|
142
|
-
uuid: "123e4567-
|
|
142
|
+
uuid: "123e4567-2550-4630-8bdc-230c43fdca4b",
|
|
143
143
|
itemNumber: "<value>",
|
|
144
144
|
});
|
|
145
145
|
if (res.ok) {
|
|
@@ -269,7 +269,7 @@ async function run() {
|
|
|
269
269
|
const result = await serviceM8.bundles.updateBundles({
|
|
270
270
|
uuid: "92d0296e-677d-4cfc-a0ec-84e1809ff960",
|
|
271
271
|
materialBundle: {
|
|
272
|
-
uuid: "123e4567-
|
|
272
|
+
uuid: "123e4567-2550-4630-8bdc-230c43fdca4b",
|
|
273
273
|
itemNumber: "<value>",
|
|
274
274
|
},
|
|
275
275
|
});
|
|
@@ -300,7 +300,7 @@ async function run() {
|
|
|
300
300
|
const res = await bundlesUpdateBundles(serviceM8, {
|
|
301
301
|
uuid: "92d0296e-677d-4cfc-a0ec-84e1809ff960",
|
|
302
302
|
materialBundle: {
|
|
303
|
-
uuid: "123e4567-
|
|
303
|
+
uuid: "123e4567-2550-4630-8bdc-230c43fdca4b",
|
|
304
304
|
itemNumber: "<value>",
|
|
305
305
|
},
|
|
306
306
|
});
|
|
@@ -122,7 +122,7 @@ const serviceM8 = new ServiceM8({
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.categories.createCategories({
|
|
124
124
|
name: "<value>",
|
|
125
|
-
uuid: "123e4567-
|
|
125
|
+
uuid: "123e4567-22c7-4c30-a999-230c4f57f3bb",
|
|
126
126
|
});
|
|
127
127
|
|
|
128
128
|
console.log(result);
|
|
@@ -150,7 +150,7 @@ const serviceM8 = new ServiceM8Core({
|
|
|
150
150
|
async function run() {
|
|
151
151
|
const res = await categoriesCreateCategories(serviceM8, {
|
|
152
152
|
name: "<value>",
|
|
153
|
-
uuid: "123e4567-
|
|
153
|
+
uuid: "123e4567-22c7-4c30-a999-230c4f57f3bb",
|
|
154
154
|
});
|
|
155
155
|
if (res.ok) {
|
|
156
156
|
const { value: result } = res;
|
|
@@ -290,7 +290,7 @@ async function run() {
|
|
|
290
290
|
uuid: "c830c901-e3ae-427d-8f08-cf28c94b319f",
|
|
291
291
|
category: {
|
|
292
292
|
name: "<value>",
|
|
293
|
-
uuid: "123e4567-
|
|
293
|
+
uuid: "123e4567-22c7-4c30-a999-230c4f57f3bb",
|
|
294
294
|
},
|
|
295
295
|
});
|
|
296
296
|
|
|
@@ -321,7 +321,7 @@ async function run() {
|
|
|
321
321
|
uuid: "c830c901-e3ae-427d-8f08-cf28c94b319f",
|
|
322
322
|
category: {
|
|
323
323
|
name: "<value>",
|
|
324
|
-
uuid: "123e4567-
|
|
324
|
+
uuid: "123e4567-22c7-4c30-a999-230c4f57f3bb",
|
|
325
325
|
},
|
|
326
326
|
});
|
|
327
327
|
if (res.ok) {
|
|
@@ -122,8 +122,8 @@ const serviceM8 = new ServiceM8({
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.clients.createClients({
|
|
124
124
|
name: "<value>",
|
|
125
|
-
uuid: "123e4567-
|
|
126
|
-
taxRateUuid: "123e4567-
|
|
125
|
+
uuid: "123e4567-f5d1-4f87-a401-230c40acfbab",
|
|
126
|
+
taxRateUuid: "123e4567-124c-4b13-8298-230c4b0ef63b",
|
|
127
127
|
});
|
|
128
128
|
|
|
129
129
|
console.log(result);
|
|
@@ -151,8 +151,8 @@ const serviceM8 = new ServiceM8Core({
|
|
|
151
151
|
async function run() {
|
|
152
152
|
const res = await clientsCreateClients(serviceM8, {
|
|
153
153
|
name: "<value>",
|
|
154
|
-
uuid: "123e4567-
|
|
155
|
-
taxRateUuid: "123e4567-
|
|
154
|
+
uuid: "123e4567-f5d1-4f87-a401-230c40acfbab",
|
|
155
|
+
taxRateUuid: "123e4567-124c-4b13-8298-230c4b0ef63b",
|
|
156
156
|
});
|
|
157
157
|
if (res.ok) {
|
|
158
158
|
const { value: result } = res;
|
|
@@ -292,8 +292,8 @@ async function run() {
|
|
|
292
292
|
uuid: "55f6bcc0-3bb7-4509-b13b-98c02374f910",
|
|
293
293
|
company: {
|
|
294
294
|
name: "<value>",
|
|
295
|
-
uuid: "123e4567-
|
|
296
|
-
taxRateUuid: "123e4567-
|
|
295
|
+
uuid: "123e4567-f5d1-4f87-a401-230c40acfbab",
|
|
296
|
+
taxRateUuid: "123e4567-124c-4b13-8298-230c4b0ef63b",
|
|
297
297
|
},
|
|
298
298
|
});
|
|
299
299
|
|
|
@@ -324,8 +324,8 @@ async function run() {
|
|
|
324
324
|
uuid: "55f6bcc0-3bb7-4509-b13b-98c02374f910",
|
|
325
325
|
company: {
|
|
326
326
|
name: "<value>",
|
|
327
|
-
uuid: "123e4567-
|
|
328
|
-
taxRateUuid: "123e4567-
|
|
327
|
+
uuid: "123e4567-f5d1-4f87-a401-230c40acfbab",
|
|
328
|
+
taxRateUuid: "123e4567-124c-4b13-8298-230c4b0ef63b",
|
|
329
329
|
},
|
|
330
330
|
});
|
|
331
331
|
if (res.ok) {
|
|
@@ -121,8 +121,8 @@ const serviceM8 = new ServiceM8({
|
|
|
121
121
|
|
|
122
122
|
async function run() {
|
|
123
123
|
const result = await serviceM8.companyContacts.createCompanyContacts({
|
|
124
|
-
uuid: "123e4567-
|
|
125
|
-
companyUuid: "123e4567-
|
|
124
|
+
uuid: "123e4567-86e6-417d-8881-230c40118edb",
|
|
125
|
+
companyUuid: "123e4567-c4b8-40ca-8da0-230c4533fa3b",
|
|
126
126
|
});
|
|
127
127
|
|
|
128
128
|
console.log(result);
|
|
@@ -149,8 +149,8 @@ const serviceM8 = new ServiceM8Core({
|
|
|
149
149
|
|
|
150
150
|
async function run() {
|
|
151
151
|
const res = await companyContactsCreateCompanyContacts(serviceM8, {
|
|
152
|
-
uuid: "123e4567-
|
|
153
|
-
companyUuid: "123e4567-
|
|
152
|
+
uuid: "123e4567-86e6-417d-8881-230c40118edb",
|
|
153
|
+
companyUuid: "123e4567-c4b8-40ca-8da0-230c4533fa3b",
|
|
154
154
|
});
|
|
155
155
|
if (res.ok) {
|
|
156
156
|
const { value: result } = res;
|
|
@@ -289,8 +289,8 @@ async function run() {
|
|
|
289
289
|
const result = await serviceM8.companyContacts.updateCompanyContacts({
|
|
290
290
|
uuid: "14a84f05-390e-4d88-ad00-a75bba477a48",
|
|
291
291
|
companyContact: {
|
|
292
|
-
uuid: "123e4567-
|
|
293
|
-
companyUuid: "123e4567-
|
|
292
|
+
uuid: "123e4567-86e6-417d-8881-230c40118edb",
|
|
293
|
+
companyUuid: "123e4567-c4b8-40ca-8da0-230c4533fa3b",
|
|
294
294
|
},
|
|
295
295
|
});
|
|
296
296
|
|
|
@@ -320,8 +320,8 @@ async function run() {
|
|
|
320
320
|
const res = await companyContactsUpdateCompanyContacts(serviceM8, {
|
|
321
321
|
uuid: "14a84f05-390e-4d88-ad00-a75bba477a48",
|
|
322
322
|
companyContact: {
|
|
323
|
-
uuid: "123e4567-
|
|
324
|
-
companyUuid: "123e4567-
|
|
323
|
+
uuid: "123e4567-86e6-417d-8881-230c40118edb",
|
|
324
|
+
companyUuid: "123e4567-c4b8-40ca-8da0-230c4533fa3b",
|
|
325
325
|
},
|
|
326
326
|
});
|
|
327
327
|
if (res.ok) {
|
|
@@ -111,7 +111,7 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.emailTemplates.createEmailTemplates({
|
|
114
|
-
uuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-e346-45ec-9977-230c4f8bd1fb",
|
|
115
115
|
name: "<value>",
|
|
116
116
|
});
|
|
117
117
|
|
|
@@ -139,7 +139,7 @@ const serviceM8 = new ServiceM8Core({
|
|
|
139
139
|
|
|
140
140
|
async function run() {
|
|
141
141
|
const res = await emailTemplatesCreateEmailTemplates(serviceM8, {
|
|
142
|
-
uuid: "123e4567-
|
|
142
|
+
uuid: "123e4567-e346-45ec-9977-230c4f8bd1fb",
|
|
143
143
|
name: "<value>",
|
|
144
144
|
});
|
|
145
145
|
if (res.ok) {
|
|
@@ -269,7 +269,7 @@ async function run() {
|
|
|
269
269
|
const result = await serviceM8.emailTemplates.updateEmailTemplates({
|
|
270
270
|
uuid: "a3ce5f33-781a-4062-b068-2e3f8605b008",
|
|
271
271
|
emailTemplate: {
|
|
272
|
-
uuid: "123e4567-
|
|
272
|
+
uuid: "123e4567-e346-45ec-9977-230c4f8bd1fb",
|
|
273
273
|
name: "<value>",
|
|
274
274
|
},
|
|
275
275
|
});
|
|
@@ -300,7 +300,7 @@ async function run() {
|
|
|
300
300
|
const res = await emailTemplatesUpdateEmailTemplates(serviceM8, {
|
|
301
301
|
uuid: "a3ce5f33-781a-4062-b068-2e3f8605b008",
|
|
302
302
|
emailTemplate: {
|
|
303
|
-
uuid: "123e4567-
|
|
303
|
+
uuid: "123e4567-e346-45ec-9977-230c4f8bd1fb",
|
|
304
304
|
name: "<value>",
|
|
305
305
|
},
|
|
306
306
|
});
|
|
@@ -111,8 +111,8 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.feedback.createFeedback({
|
|
114
|
-
uuid: "123e4567-
|
|
115
|
-
relatedObjectUuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-314d-47da-91d9-230c4226264b",
|
|
115
|
+
relatedObjectUuid: "123e4567-6900-45cb-a68f-230c4a71219b",
|
|
116
116
|
});
|
|
117
117
|
|
|
118
118
|
console.log(result);
|
|
@@ -139,8 +139,8 @@ const serviceM8 = new ServiceM8Core({
|
|
|
139
139
|
|
|
140
140
|
async function run() {
|
|
141
141
|
const res = await feedbackCreateFeedback(serviceM8, {
|
|
142
|
-
uuid: "123e4567-
|
|
143
|
-
relatedObjectUuid: "123e4567-
|
|
142
|
+
uuid: "123e4567-314d-47da-91d9-230c4226264b",
|
|
143
|
+
relatedObjectUuid: "123e4567-6900-45cb-a68f-230c4a71219b",
|
|
144
144
|
});
|
|
145
145
|
if (res.ok) {
|
|
146
146
|
const { value: result } = res;
|
|
@@ -269,8 +269,8 @@ async function run() {
|
|
|
269
269
|
const result = await serviceM8.feedback.updateFeedback({
|
|
270
270
|
uuid: "4b9b8627-caa7-402a-94b0-02cb8641823c",
|
|
271
271
|
feedback: {
|
|
272
|
-
uuid: "123e4567-
|
|
273
|
-
relatedObjectUuid: "123e4567-
|
|
272
|
+
uuid: "123e4567-314d-47da-91d9-230c4226264b",
|
|
273
|
+
relatedObjectUuid: "123e4567-6900-45cb-a68f-230c4a71219b",
|
|
274
274
|
},
|
|
275
275
|
});
|
|
276
276
|
|
|
@@ -300,8 +300,8 @@ async function run() {
|
|
|
300
300
|
const res = await feedbackUpdateFeedback(serviceM8, {
|
|
301
301
|
uuid: "4b9b8627-caa7-402a-94b0-02cb8641823c",
|
|
302
302
|
feedback: {
|
|
303
|
-
uuid: "123e4567-
|
|
304
|
-
relatedObjectUuid: "123e4567-
|
|
303
|
+
uuid: "123e4567-314d-47da-91d9-230c4226264b",
|
|
304
|
+
relatedObjectUuid: "123e4567-6900-45cb-a68f-230c4a71219b",
|
|
305
305
|
},
|
|
306
306
|
});
|
|
307
307
|
if (res.ok) {
|
|
@@ -111,8 +111,8 @@ const serviceM8 = new ServiceM8({
|
|
|
111
111
|
|
|
112
112
|
async function run() {
|
|
113
113
|
const result = await serviceM8.formFields.createFormFields({
|
|
114
|
-
uuid: "123e4567-
|
|
115
|
-
formUuid: "123e4567-
|
|
114
|
+
uuid: "123e4567-a86e-4ea8-8458-230c44a84f3b",
|
|
115
|
+
formUuid: "123e4567-e5c4-4312-a8f2-230c4807fc8b",
|
|
116
116
|
});
|
|
117
117
|
|
|
118
118
|
console.log(result);
|
|
@@ -139,8 +139,8 @@ const serviceM8 = new ServiceM8Core({
|
|
|
139
139
|
|
|
140
140
|
async function run() {
|
|
141
141
|
const res = await formFieldsCreateFormFields(serviceM8, {
|
|
142
|
-
uuid: "123e4567-
|
|
143
|
-
formUuid: "123e4567-
|
|
142
|
+
uuid: "123e4567-a86e-4ea8-8458-230c44a84f3b",
|
|
143
|
+
formUuid: "123e4567-e5c4-4312-a8f2-230c4807fc8b",
|
|
144
144
|
});
|
|
145
145
|
if (res.ok) {
|
|
146
146
|
const { value: result } = res;
|
|
@@ -269,8 +269,8 @@ async function run() {
|
|
|
269
269
|
const result = await serviceM8.formFields.updateFormFields({
|
|
270
270
|
uuid: "21a23c6a-1fd9-4be5-84ed-065250f0e6a3",
|
|
271
271
|
formField: {
|
|
272
|
-
uuid: "123e4567-
|
|
273
|
-
formUuid: "123e4567-
|
|
272
|
+
uuid: "123e4567-a86e-4ea8-8458-230c44a84f3b",
|
|
273
|
+
formUuid: "123e4567-e5c4-4312-a8f2-230c4807fc8b",
|
|
274
274
|
},
|
|
275
275
|
});
|
|
276
276
|
|
|
@@ -300,8 +300,8 @@ async function run() {
|
|
|
300
300
|
const res = await formFieldsUpdateFormFields(serviceM8, {
|
|
301
301
|
uuid: "21a23c6a-1fd9-4be5-84ed-065250f0e6a3",
|
|
302
302
|
formField: {
|
|
303
|
-
uuid: "123e4567-
|
|
304
|
-
formUuid: "123e4567-
|
|
303
|
+
uuid: "123e4567-a86e-4ea8-8458-230c44a84f3b",
|
|
304
|
+
formUuid: "123e4567-e5c4-4312-a8f2-230c4807fc8b",
|
|
305
305
|
},
|
|
306
306
|
});
|
|
307
307
|
if (res.ok) {
|