servicem8 0.3.15 → 0.3.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/FUNCTIONS.md +1 -1
- package/README.md +11 -11
- package/api.json +728 -728
- package/bin/mcp-server.js +22 -22
- package/bin/mcp-server.js.map +10 -10
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/env.d.ts +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +1 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/lib/security.js +6 -6
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +4 -4
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -2
- package/dist/commonjs/mcp-server/cli/start/impl.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/security.d.ts +2 -2
- package/dist/commonjs/models/components/security.d.ts.map +1 -1
- package/dist/commonjs/models/components/security.js +2 -2
- package/dist/commonjs/models/components/security.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/env.d.ts +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +1 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/lib/security.js +6 -6
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +4 -4
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -2
- package/dist/esm/mcp-server/cli/start/impl.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/security.d.ts +2 -2
- package/dist/esm/models/components/security.d.ts.map +1 -1
- package/dist/esm/models/components/security.js +2 -2
- package/dist/esm/models/components/security.js.map +1 -1
- package/docs/sdks/allocationwindows/README.md +10 -10
- package/docs/sdks/assets/README.md +8 -8
- package/docs/sdks/assettypefields/README.md +10 -10
- package/docs/sdks/assettypes/README.md +10 -10
- package/docs/sdks/attachments/README.md +10 -10
- package/docs/sdks/badges/README.md +10 -10
- package/docs/sdks/bundles/README.md +10 -10
- package/docs/sdks/categories/README.md +10 -10
- package/docs/sdks/clients/README.md +10 -10
- package/docs/sdks/companycontacts/README.md +10 -10
- package/docs/sdks/emailtemplates/README.md +10 -10
- package/docs/sdks/feedback/README.md +10 -10
- package/docs/sdks/formfields/README.md +10 -10
- package/docs/sdks/formresponses/README.md +10 -10
- package/docs/sdks/forms/README.md +10 -10
- package/docs/sdks/jobactivities/README.md +10 -10
- package/docs/sdks/joballocations/README.md +10 -10
- package/docs/sdks/jobchecklists/README.md +10 -10
- package/docs/sdks/jobcontacts/README.md +10 -10
- package/docs/sdks/jobmaterialbundles/README.md +10 -10
- package/docs/sdks/jobmaterials/README.md +10 -10
- package/docs/sdks/jobpayments/README.md +10 -10
- package/docs/sdks/jobqueues/README.md +10 -10
- package/docs/sdks/jobs/README.md +10 -10
- package/docs/sdks/knowledgearticles/README.md +10 -10
- package/docs/sdks/locations/README.md +10 -10
- package/docs/sdks/materials/README.md +10 -10
- package/docs/sdks/notes/README.md +10 -10
- package/docs/sdks/securityroles/README.md +10 -10
- package/docs/sdks/smstemplates/README.md +10 -10
- package/docs/sdks/staffmembers/README.md +10 -10
- package/docs/sdks/staffmessages/README.md +10 -10
- package/docs/sdks/tasks/README.md +10 -10
- package/docs/sdks/taxrates/README.md +10 -10
- package/docs/sdks/vendors/README.md +6 -6
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/lib/env.ts +2 -2
- package/src/lib/security.ts +6 -6
- package/src/mcp-server/cli/start/command.ts +4 -4
- package/src/mcp-server/cli/start/impl.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/security.ts +4 -4
|
@@ -28,7 +28,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
28
28
|
|
|
29
29
|
const serviceM8 = new ServiceM8({
|
|
30
30
|
security: {
|
|
31
|
-
|
|
31
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
32
32
|
},
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -54,7 +54,7 @@ import { allocationWindowsListAllocationWindows } from "servicem8/funcs/allocati
|
|
|
54
54
|
// You can create one instance of it to use across an application.
|
|
55
55
|
const serviceM8 = new ServiceM8Core({
|
|
56
56
|
security: {
|
|
57
|
-
|
|
57
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -109,7 +109,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
109
109
|
|
|
110
110
|
const serviceM8 = new ServiceM8({
|
|
111
111
|
security: {
|
|
112
|
-
|
|
112
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -137,7 +137,7 @@ import { allocationWindowsCreateAllocationWindows } from "servicem8/funcs/alloca
|
|
|
137
137
|
// You can create one instance of it to use across an application.
|
|
138
138
|
const serviceM8 = new ServiceM8Core({
|
|
139
139
|
security: {
|
|
140
|
-
|
|
140
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
141
141
|
},
|
|
142
142
|
});
|
|
143
143
|
|
|
@@ -190,7 +190,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
190
190
|
|
|
191
191
|
const serviceM8 = new ServiceM8({
|
|
192
192
|
security: {
|
|
193
|
-
|
|
193
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
194
194
|
},
|
|
195
195
|
});
|
|
196
196
|
|
|
@@ -218,7 +218,7 @@ import { allocationWindowsGetAllocationWindows } from "servicem8/funcs/allocatio
|
|
|
218
218
|
// You can create one instance of it to use across an application.
|
|
219
219
|
const serviceM8 = new ServiceM8Core({
|
|
220
220
|
security: {
|
|
221
|
-
|
|
221
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
222
222
|
},
|
|
223
223
|
});
|
|
224
224
|
|
|
@@ -271,7 +271,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
271
271
|
|
|
272
272
|
const serviceM8 = new ServiceM8({
|
|
273
273
|
security: {
|
|
274
|
-
|
|
274
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
275
275
|
},
|
|
276
276
|
});
|
|
277
277
|
|
|
@@ -302,7 +302,7 @@ import { allocationWindowsUpdateAllocationWindows } from "servicem8/funcs/alloca
|
|
|
302
302
|
// You can create one instance of it to use across an application.
|
|
303
303
|
const serviceM8 = new ServiceM8Core({
|
|
304
304
|
security: {
|
|
305
|
-
|
|
305
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
306
306
|
},
|
|
307
307
|
});
|
|
308
308
|
|
|
@@ -362,7 +362,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
362
362
|
|
|
363
363
|
const serviceM8 = new ServiceM8({
|
|
364
364
|
security: {
|
|
365
|
-
|
|
365
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
366
366
|
},
|
|
367
367
|
});
|
|
368
368
|
|
|
@@ -390,7 +390,7 @@ import { allocationWindowsDeleteAllocationWindows } from "servicem8/funcs/alloca
|
|
|
390
390
|
// You can create one instance of it to use across an application.
|
|
391
391
|
const serviceM8 = new ServiceM8Core({
|
|
392
392
|
security: {
|
|
393
|
-
|
|
393
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
394
394
|
},
|
|
395
395
|
});
|
|
396
396
|
|
|
@@ -32,7 +32,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
32
32
|
|
|
33
33
|
const serviceM8 = new ServiceM8({
|
|
34
34
|
security: {
|
|
35
|
-
|
|
35
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
36
36
|
},
|
|
37
37
|
});
|
|
38
38
|
|
|
@@ -58,7 +58,7 @@ import { assetsListAssets } from "servicem8/funcs/assetsListAssets.js";
|
|
|
58
58
|
// You can create one instance of it to use across an application.
|
|
59
59
|
const serviceM8 = new ServiceM8Core({
|
|
60
60
|
security: {
|
|
61
|
-
|
|
61
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
64
|
|
|
@@ -113,7 +113,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
113
113
|
|
|
114
114
|
const serviceM8 = new ServiceM8({
|
|
115
115
|
security: {
|
|
116
|
-
|
|
116
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
117
117
|
},
|
|
118
118
|
});
|
|
119
119
|
|
|
@@ -141,7 +141,7 @@ import { assetsGetAssets } from "servicem8/funcs/assetsGetAssets.js";
|
|
|
141
141
|
// You can create one instance of it to use across an application.
|
|
142
142
|
const serviceM8 = new ServiceM8Core({
|
|
143
143
|
security: {
|
|
144
|
-
|
|
144
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
145
145
|
},
|
|
146
146
|
});
|
|
147
147
|
|
|
@@ -194,7 +194,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
194
194
|
|
|
195
195
|
const serviceM8 = new ServiceM8({
|
|
196
196
|
security: {
|
|
197
|
-
|
|
197
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
198
198
|
},
|
|
199
199
|
});
|
|
200
200
|
|
|
@@ -229,7 +229,7 @@ import { assetsUpdateAssets } from "servicem8/funcs/assetsUpdateAssets.js";
|
|
|
229
229
|
// You can create one instance of it to use across an application.
|
|
230
230
|
const serviceM8 = new ServiceM8Core({
|
|
231
231
|
security: {
|
|
232
|
-
|
|
232
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
233
233
|
},
|
|
234
234
|
});
|
|
235
235
|
|
|
@@ -293,7 +293,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
293
293
|
|
|
294
294
|
const serviceM8 = new ServiceM8({
|
|
295
295
|
security: {
|
|
296
|
-
|
|
296
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
297
297
|
},
|
|
298
298
|
});
|
|
299
299
|
|
|
@@ -321,7 +321,7 @@ import { assetsDeleteAssets } from "servicem8/funcs/assetsDeleteAssets.js";
|
|
|
321
321
|
// You can create one instance of it to use across an application.
|
|
322
322
|
const serviceM8 = new ServiceM8Core({
|
|
323
323
|
security: {
|
|
324
|
-
|
|
324
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
325
325
|
},
|
|
326
326
|
});
|
|
327
327
|
|
|
@@ -33,7 +33,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
33
33
|
|
|
34
34
|
const serviceM8 = new ServiceM8({
|
|
35
35
|
security: {
|
|
36
|
-
|
|
36
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
37
37
|
},
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ import { assetTypeFieldsListAssetTypeFields } from "servicem8/funcs/assetTypeFie
|
|
|
59
59
|
// You can create one instance of it to use across an application.
|
|
60
60
|
const serviceM8 = new ServiceM8Core({
|
|
61
61
|
security: {
|
|
62
|
-
|
|
62
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
63
63
|
},
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -119,7 +119,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
119
119
|
|
|
120
120
|
const serviceM8 = new ServiceM8({
|
|
121
121
|
security: {
|
|
122
|
-
|
|
122
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -149,7 +149,7 @@ import { assetTypeFieldsCreateAssetTypeFields } from "servicem8/funcs/assetTypeF
|
|
|
149
149
|
// You can create one instance of it to use across an application.
|
|
150
150
|
const serviceM8 = new ServiceM8Core({
|
|
151
151
|
security: {
|
|
152
|
-
|
|
152
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
153
153
|
},
|
|
154
154
|
});
|
|
155
155
|
|
|
@@ -209,7 +209,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
209
209
|
|
|
210
210
|
const serviceM8 = new ServiceM8({
|
|
211
211
|
security: {
|
|
212
|
-
|
|
212
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
213
213
|
},
|
|
214
214
|
});
|
|
215
215
|
|
|
@@ -237,7 +237,7 @@ import { assetTypeFieldsGetAssetTypeFields } from "servicem8/funcs/assetTypeFiel
|
|
|
237
237
|
// You can create one instance of it to use across an application.
|
|
238
238
|
const serviceM8 = new ServiceM8Core({
|
|
239
239
|
security: {
|
|
240
|
-
|
|
240
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
241
241
|
},
|
|
242
242
|
});
|
|
243
243
|
|
|
@@ -290,7 +290,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
290
290
|
|
|
291
291
|
const serviceM8 = new ServiceM8({
|
|
292
292
|
security: {
|
|
293
|
-
|
|
293
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
294
294
|
},
|
|
295
295
|
});
|
|
296
296
|
|
|
@@ -323,7 +323,7 @@ import { assetTypeFieldsUpdateAssetTypeFields } from "servicem8/funcs/assetTypeF
|
|
|
323
323
|
// You can create one instance of it to use across an application.
|
|
324
324
|
const serviceM8 = new ServiceM8Core({
|
|
325
325
|
security: {
|
|
326
|
-
|
|
326
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
327
327
|
},
|
|
328
328
|
});
|
|
329
329
|
|
|
@@ -385,7 +385,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
385
385
|
|
|
386
386
|
const serviceM8 = new ServiceM8({
|
|
387
387
|
security: {
|
|
388
|
-
|
|
388
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
389
389
|
},
|
|
390
390
|
});
|
|
391
391
|
|
|
@@ -413,7 +413,7 @@ import { assetTypeFieldsDeleteAssetTypeFields } from "servicem8/funcs/assetTypeF
|
|
|
413
413
|
// You can create one instance of it to use across an application.
|
|
414
414
|
const serviceM8 = new ServiceM8Core({
|
|
415
415
|
security: {
|
|
416
|
-
|
|
416
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
417
417
|
},
|
|
418
418
|
});
|
|
419
419
|
|
|
@@ -33,7 +33,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
33
33
|
|
|
34
34
|
const serviceM8 = new ServiceM8({
|
|
35
35
|
security: {
|
|
36
|
-
|
|
36
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
37
37
|
},
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ import { assetTypesListAssetTypes } from "servicem8/funcs/assetTypesListAssetTyp
|
|
|
59
59
|
// You can create one instance of it to use across an application.
|
|
60
60
|
const serviceM8 = new ServiceM8Core({
|
|
61
61
|
security: {
|
|
62
|
-
|
|
62
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
63
63
|
},
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -119,7 +119,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
119
119
|
|
|
120
120
|
const serviceM8 = new ServiceM8({
|
|
121
121
|
security: {
|
|
122
|
-
|
|
122
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -147,7 +147,7 @@ import { assetTypesCreateAssetTypes } from "servicem8/funcs/assetTypesCreateAsse
|
|
|
147
147
|
// You can create one instance of it to use across an application.
|
|
148
148
|
const serviceM8 = new ServiceM8Core({
|
|
149
149
|
security: {
|
|
150
|
-
|
|
150
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
151
151
|
},
|
|
152
152
|
});
|
|
153
153
|
|
|
@@ -205,7 +205,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
205
205
|
|
|
206
206
|
const serviceM8 = new ServiceM8({
|
|
207
207
|
security: {
|
|
208
|
-
|
|
208
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
209
209
|
},
|
|
210
210
|
});
|
|
211
211
|
|
|
@@ -233,7 +233,7 @@ import { assetTypesGetAssetTypes } from "servicem8/funcs/assetTypesGetAssetTypes
|
|
|
233
233
|
// You can create one instance of it to use across an application.
|
|
234
234
|
const serviceM8 = new ServiceM8Core({
|
|
235
235
|
security: {
|
|
236
|
-
|
|
236
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
237
237
|
},
|
|
238
238
|
});
|
|
239
239
|
|
|
@@ -286,7 +286,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
286
286
|
|
|
287
287
|
const serviceM8 = new ServiceM8({
|
|
288
288
|
security: {
|
|
289
|
-
|
|
289
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
290
290
|
},
|
|
291
291
|
});
|
|
292
292
|
|
|
@@ -317,7 +317,7 @@ import { assetTypesUpdateAssetTypes } from "servicem8/funcs/assetTypesUpdateAsse
|
|
|
317
317
|
// You can create one instance of it to use across an application.
|
|
318
318
|
const serviceM8 = new ServiceM8Core({
|
|
319
319
|
security: {
|
|
320
|
-
|
|
320
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
321
321
|
},
|
|
322
322
|
});
|
|
323
323
|
|
|
@@ -377,7 +377,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
377
377
|
|
|
378
378
|
const serviceM8 = new ServiceM8({
|
|
379
379
|
security: {
|
|
380
|
-
|
|
380
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
381
381
|
},
|
|
382
382
|
});
|
|
383
383
|
|
|
@@ -405,7 +405,7 @@ import { assetTypesDeleteAssetTypes } from "servicem8/funcs/assetTypesDeleteAsse
|
|
|
405
405
|
// You can create one instance of it to use across an application.
|
|
406
406
|
const serviceM8 = new ServiceM8Core({
|
|
407
407
|
security: {
|
|
408
|
-
|
|
408
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
409
409
|
},
|
|
410
410
|
});
|
|
411
411
|
|
|
@@ -28,7 +28,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
28
28
|
|
|
29
29
|
const serviceM8 = new ServiceM8({
|
|
30
30
|
security: {
|
|
31
|
-
|
|
31
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
32
32
|
},
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -54,7 +54,7 @@ import { attachmentsListAttachments } from "servicem8/funcs/attachmentsListAttac
|
|
|
54
54
|
// You can create one instance of it to use across an application.
|
|
55
55
|
const serviceM8 = new ServiceM8Core({
|
|
56
56
|
security: {
|
|
57
|
-
|
|
57
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -109,7 +109,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
109
109
|
|
|
110
110
|
const serviceM8 = new ServiceM8({
|
|
111
111
|
security: {
|
|
112
|
-
|
|
112
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -139,7 +139,7 @@ import { attachmentsCreateAttachments } from "servicem8/funcs/attachmentsCreateA
|
|
|
139
139
|
// You can create one instance of it to use across an application.
|
|
140
140
|
const serviceM8 = new ServiceM8Core({
|
|
141
141
|
security: {
|
|
142
|
-
|
|
142
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
143
143
|
},
|
|
144
144
|
});
|
|
145
145
|
|
|
@@ -194,7 +194,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
194
194
|
|
|
195
195
|
const serviceM8 = new ServiceM8({
|
|
196
196
|
security: {
|
|
197
|
-
|
|
197
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
198
198
|
},
|
|
199
199
|
});
|
|
200
200
|
|
|
@@ -222,7 +222,7 @@ import { attachmentsGetAttachments } from "servicem8/funcs/attachmentsGetAttachm
|
|
|
222
222
|
// You can create one instance of it to use across an application.
|
|
223
223
|
const serviceM8 = new ServiceM8Core({
|
|
224
224
|
security: {
|
|
225
|
-
|
|
225
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
226
226
|
},
|
|
227
227
|
});
|
|
228
228
|
|
|
@@ -275,7 +275,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
275
275
|
|
|
276
276
|
const serviceM8 = new ServiceM8({
|
|
277
277
|
security: {
|
|
278
|
-
|
|
278
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
279
279
|
},
|
|
280
280
|
});
|
|
281
281
|
|
|
@@ -308,7 +308,7 @@ import { attachmentsUpdateAttachments } from "servicem8/funcs/attachmentsUpdateA
|
|
|
308
308
|
// You can create one instance of it to use across an application.
|
|
309
309
|
const serviceM8 = new ServiceM8Core({
|
|
310
310
|
security: {
|
|
311
|
-
|
|
311
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
312
312
|
},
|
|
313
313
|
});
|
|
314
314
|
|
|
@@ -370,7 +370,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
370
370
|
|
|
371
371
|
const serviceM8 = new ServiceM8({
|
|
372
372
|
security: {
|
|
373
|
-
|
|
373
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
374
374
|
},
|
|
375
375
|
});
|
|
376
376
|
|
|
@@ -398,7 +398,7 @@ import { attachmentsDeleteAttachments } from "servicem8/funcs/attachmentsDeleteA
|
|
|
398
398
|
// You can create one instance of it to use across an application.
|
|
399
399
|
const serviceM8 = new ServiceM8Core({
|
|
400
400
|
security: {
|
|
401
|
-
|
|
401
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
402
402
|
},
|
|
403
403
|
});
|
|
404
404
|
|
|
@@ -33,7 +33,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
33
33
|
|
|
34
34
|
const serviceM8 = new ServiceM8({
|
|
35
35
|
security: {
|
|
36
|
-
|
|
36
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
37
37
|
},
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ import { badgesListBadges } from "servicem8/funcs/badgesListBadges.js";
|
|
|
59
59
|
// You can create one instance of it to use across an application.
|
|
60
60
|
const serviceM8 = new ServiceM8Core({
|
|
61
61
|
security: {
|
|
62
|
-
|
|
62
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
63
63
|
},
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -119,7 +119,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
119
119
|
|
|
120
120
|
const serviceM8 = new ServiceM8({
|
|
121
121
|
security: {
|
|
122
|
-
|
|
122
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -150,7 +150,7 @@ import { badgesCreateBadges } from "servicem8/funcs/badgesCreateBadges.js";
|
|
|
150
150
|
// You can create one instance of it to use across an application.
|
|
151
151
|
const serviceM8 = new ServiceM8Core({
|
|
152
152
|
security: {
|
|
153
|
-
|
|
153
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
154
154
|
},
|
|
155
155
|
});
|
|
156
156
|
|
|
@@ -211,7 +211,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
211
211
|
|
|
212
212
|
const serviceM8 = new ServiceM8({
|
|
213
213
|
security: {
|
|
214
|
-
|
|
214
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
215
215
|
},
|
|
216
216
|
});
|
|
217
217
|
|
|
@@ -239,7 +239,7 @@ import { badgesGetBadges } from "servicem8/funcs/badgesGetBadges.js";
|
|
|
239
239
|
// You can create one instance of it to use across an application.
|
|
240
240
|
const serviceM8 = new ServiceM8Core({
|
|
241
241
|
security: {
|
|
242
|
-
|
|
242
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
243
243
|
},
|
|
244
244
|
});
|
|
245
245
|
|
|
@@ -292,7 +292,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
292
292
|
|
|
293
293
|
const serviceM8 = new ServiceM8({
|
|
294
294
|
security: {
|
|
295
|
-
|
|
295
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
296
296
|
},
|
|
297
297
|
});
|
|
298
298
|
|
|
@@ -326,7 +326,7 @@ import { badgesUpdateBadges } from "servicem8/funcs/badgesUpdateBadges.js";
|
|
|
326
326
|
// You can create one instance of it to use across an application.
|
|
327
327
|
const serviceM8 = new ServiceM8Core({
|
|
328
328
|
security: {
|
|
329
|
-
|
|
329
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
330
330
|
},
|
|
331
331
|
});
|
|
332
332
|
|
|
@@ -389,7 +389,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
389
389
|
|
|
390
390
|
const serviceM8 = new ServiceM8({
|
|
391
391
|
security: {
|
|
392
|
-
|
|
392
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
393
393
|
},
|
|
394
394
|
});
|
|
395
395
|
|
|
@@ -417,7 +417,7 @@ import { badgesDeleteBadges } from "servicem8/funcs/badgesDeleteBadges.js";
|
|
|
417
417
|
// You can create one instance of it to use across an application.
|
|
418
418
|
const serviceM8 = new ServiceM8Core({
|
|
419
419
|
security: {
|
|
420
|
-
|
|
420
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
421
421
|
},
|
|
422
422
|
});
|
|
423
423
|
|
|
@@ -28,7 +28,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
28
28
|
|
|
29
29
|
const serviceM8 = new ServiceM8({
|
|
30
30
|
security: {
|
|
31
|
-
|
|
31
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
32
32
|
},
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -54,7 +54,7 @@ import { bundlesListBundles } from "servicem8/funcs/bundlesListBundles.js";
|
|
|
54
54
|
// You can create one instance of it to use across an application.
|
|
55
55
|
const serviceM8 = new ServiceM8Core({
|
|
56
56
|
security: {
|
|
57
|
-
|
|
57
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -109,7 +109,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
109
109
|
|
|
110
110
|
const serviceM8 = new ServiceM8({
|
|
111
111
|
security: {
|
|
112
|
-
|
|
112
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -138,7 +138,7 @@ import { bundlesCreateBundles } from "servicem8/funcs/bundlesCreateBundles.js";
|
|
|
138
138
|
// You can create one instance of it to use across an application.
|
|
139
139
|
const serviceM8 = new ServiceM8Core({
|
|
140
140
|
security: {
|
|
141
|
-
|
|
141
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
142
142
|
},
|
|
143
143
|
});
|
|
144
144
|
|
|
@@ -192,7 +192,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
192
192
|
|
|
193
193
|
const serviceM8 = new ServiceM8({
|
|
194
194
|
security: {
|
|
195
|
-
|
|
195
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
196
196
|
},
|
|
197
197
|
});
|
|
198
198
|
|
|
@@ -220,7 +220,7 @@ import { bundlesGetBundles } from "servicem8/funcs/bundlesGetBundles.js";
|
|
|
220
220
|
// You can create one instance of it to use across an application.
|
|
221
221
|
const serviceM8 = new ServiceM8Core({
|
|
222
222
|
security: {
|
|
223
|
-
|
|
223
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
224
224
|
},
|
|
225
225
|
});
|
|
226
226
|
|
|
@@ -273,7 +273,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
273
273
|
|
|
274
274
|
const serviceM8 = new ServiceM8({
|
|
275
275
|
security: {
|
|
276
|
-
|
|
276
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
277
277
|
},
|
|
278
278
|
});
|
|
279
279
|
|
|
@@ -305,7 +305,7 @@ import { bundlesUpdateBundles } from "servicem8/funcs/bundlesUpdateBundles.js";
|
|
|
305
305
|
// You can create one instance of it to use across an application.
|
|
306
306
|
const serviceM8 = new ServiceM8Core({
|
|
307
307
|
security: {
|
|
308
|
-
|
|
308
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
309
309
|
},
|
|
310
310
|
});
|
|
311
311
|
|
|
@@ -366,7 +366,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
366
366
|
|
|
367
367
|
const serviceM8 = new ServiceM8({
|
|
368
368
|
security: {
|
|
369
|
-
|
|
369
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
370
370
|
},
|
|
371
371
|
});
|
|
372
372
|
|
|
@@ -394,7 +394,7 @@ import { bundlesDeleteBundles } from "servicem8/funcs/bundlesDeleteBundles.js";
|
|
|
394
394
|
// You can create one instance of it to use across an application.
|
|
395
395
|
const serviceM8 = new ServiceM8Core({
|
|
396
396
|
security: {
|
|
397
|
-
|
|
397
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
398
398
|
},
|
|
399
399
|
});
|
|
400
400
|
|
|
@@ -33,7 +33,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
33
33
|
|
|
34
34
|
const serviceM8 = new ServiceM8({
|
|
35
35
|
security: {
|
|
36
|
-
|
|
36
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
37
37
|
},
|
|
38
38
|
});
|
|
39
39
|
|
|
@@ -59,7 +59,7 @@ import { categoriesListCategories } from "servicem8/funcs/categoriesListCategori
|
|
|
59
59
|
// You can create one instance of it to use across an application.
|
|
60
60
|
const serviceM8 = new ServiceM8Core({
|
|
61
61
|
security: {
|
|
62
|
-
|
|
62
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
63
63
|
},
|
|
64
64
|
});
|
|
65
65
|
|
|
@@ -119,7 +119,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
119
119
|
|
|
120
120
|
const serviceM8 = new ServiceM8({
|
|
121
121
|
security: {
|
|
122
|
-
|
|
122
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
|
|
@@ -148,7 +148,7 @@ import { categoriesCreateCategories } from "servicem8/funcs/categoriesCreateCate
|
|
|
148
148
|
// You can create one instance of it to use across an application.
|
|
149
149
|
const serviceM8 = new ServiceM8Core({
|
|
150
150
|
security: {
|
|
151
|
-
|
|
151
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
152
152
|
},
|
|
153
153
|
});
|
|
154
154
|
|
|
@@ -207,7 +207,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
207
207
|
|
|
208
208
|
const serviceM8 = new ServiceM8({
|
|
209
209
|
security: {
|
|
210
|
-
|
|
210
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
211
211
|
},
|
|
212
212
|
});
|
|
213
213
|
|
|
@@ -235,7 +235,7 @@ import { categoriesGetCategories } from "servicem8/funcs/categoriesGetCategories
|
|
|
235
235
|
// You can create one instance of it to use across an application.
|
|
236
236
|
const serviceM8 = new ServiceM8Core({
|
|
237
237
|
security: {
|
|
238
|
-
|
|
238
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
239
239
|
},
|
|
240
240
|
});
|
|
241
241
|
|
|
@@ -293,7 +293,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
293
293
|
|
|
294
294
|
const serviceM8 = new ServiceM8({
|
|
295
295
|
security: {
|
|
296
|
-
|
|
296
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
297
297
|
},
|
|
298
298
|
});
|
|
299
299
|
|
|
@@ -325,7 +325,7 @@ import { categoriesUpdateCategories } from "servicem8/funcs/categoriesUpdateCate
|
|
|
325
325
|
// You can create one instance of it to use across an application.
|
|
326
326
|
const serviceM8 = new ServiceM8Core({
|
|
327
327
|
security: {
|
|
328
|
-
|
|
328
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
329
329
|
},
|
|
330
330
|
});
|
|
331
331
|
|
|
@@ -391,7 +391,7 @@ import { ServiceM8 } from "servicem8";
|
|
|
391
391
|
|
|
392
392
|
const serviceM8 = new ServiceM8({
|
|
393
393
|
security: {
|
|
394
|
-
|
|
394
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
395
395
|
},
|
|
396
396
|
});
|
|
397
397
|
|
|
@@ -419,7 +419,7 @@ import { categoriesDeleteCategories } from "servicem8/funcs/categoriesDeleteCate
|
|
|
419
419
|
// You can create one instance of it to use across an application.
|
|
420
420
|
const serviceM8 = new ServiceM8Core({
|
|
421
421
|
security: {
|
|
422
|
-
|
|
422
|
+
apiKeyAuth: process.env["SERVICEM8_API_KEY_AUTH"] ?? "",
|
|
423
423
|
},
|
|
424
424
|
});
|
|
425
425
|
|