@keystrokehq/servicem8 0.1.4 → 0.1.5
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-job-note.cjs +1 -0
- package/dist/actions/create-job-note.cjs.map +1 -1
- package/dist/actions/create-job-note.d.cts +3 -22
- package/dist/actions/create-job-note.d.cts.map +1 -1
- package/dist/actions/create-job-note.d.mts +3 -22
- package/dist/actions/create-job-note.d.mts.map +1 -1
- package/dist/actions/create-job-note.mjs +1 -0
- package/dist/actions/create-job-note.mjs.map +1 -1
- package/dist/actions/create-job-payment.cjs +1 -0
- package/dist/actions/create-job-payment.cjs.map +1 -1
- package/dist/actions/create-job-payment.d.cts +3 -25
- package/dist/actions/create-job-payment.d.cts.map +1 -1
- package/dist/actions/create-job-payment.d.mts +3 -25
- package/dist/actions/create-job-payment.d.mts.map +1 -1
- package/dist/actions/create-job-payment.mjs +1 -0
- package/dist/actions/create-job-payment.mjs.map +1 -1
- package/dist/actions/create-jobs.cjs +1 -0
- package/dist/actions/create-jobs.cjs.map +1 -1
- package/dist/actions/create-jobs.d.cts +3 -25
- package/dist/actions/create-jobs.d.cts.map +1 -1
- package/dist/actions/create-jobs.d.mts +3 -25
- package/dist/actions/create-jobs.d.mts.map +1 -1
- package/dist/actions/create-jobs.mjs +1 -0
- package/dist/actions/create-jobs.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +3 -15
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +3 -15
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-job-note.cjs +1 -0
- package/dist/actions/delete-job-note.cjs.map +1 -1
- package/dist/actions/delete-job-note.d.cts +3 -15
- package/dist/actions/delete-job-note.d.cts.map +1 -1
- package/dist/actions/delete-job-note.d.mts +3 -15
- package/dist/actions/delete-job-note.d.mts.map +1 -1
- package/dist/actions/delete-job-note.mjs +1 -0
- package/dist/actions/delete-job-note.mjs.map +1 -1
- package/dist/actions/delete-job-payment.cjs +1 -0
- package/dist/actions/delete-job-payment.cjs.map +1 -1
- package/dist/actions/delete-job-payment.d.cts +3 -15
- package/dist/actions/delete-job-payment.d.cts.map +1 -1
- package/dist/actions/delete-job-payment.d.mts +3 -15
- package/dist/actions/delete-job-payment.d.mts.map +1 -1
- package/dist/actions/delete-job-payment.mjs +1 -0
- package/dist/actions/delete-job-payment.mjs.map +1 -1
- package/dist/actions/list-all-assets.cjs +1 -0
- package/dist/actions/list-all-assets.cjs.map +1 -1
- package/dist/actions/list-all-assets.d.cts +3 -15
- package/dist/actions/list-all-assets.d.cts.map +1 -1
- package/dist/actions/list-all-assets.d.mts +3 -15
- package/dist/actions/list-all-assets.d.mts.map +1 -1
- package/dist/actions/list-all-assets.mjs +1 -0
- package/dist/actions/list-all-assets.mjs.map +1 -1
- package/dist/actions/list-all-clients.cjs +1 -0
- package/dist/actions/list-all-clients.cjs.map +1 -1
- package/dist/actions/list-all-clients.d.cts +3 -15
- package/dist/actions/list-all-clients.d.cts.map +1 -1
- package/dist/actions/list-all-clients.d.mts +3 -15
- package/dist/actions/list-all-clients.d.mts.map +1 -1
- package/dist/actions/list-all-clients.mjs +1 -0
- package/dist/actions/list-all-clients.mjs.map +1 -1
- package/dist/actions/list-all-document-templates.cjs +1 -0
- package/dist/actions/list-all-document-templates.cjs.map +1 -1
- package/dist/actions/list-all-document-templates.d.cts +3 -16
- package/dist/actions/list-all-document-templates.d.cts.map +1 -1
- package/dist/actions/list-all-document-templates.d.mts +3 -16
- package/dist/actions/list-all-document-templates.d.mts.map +1 -1
- package/dist/actions/list-all-document-templates.mjs +1 -0
- package/dist/actions/list-all-document-templates.mjs.map +1 -1
- package/dist/actions/list-all-forms.cjs +1 -0
- package/dist/actions/list-all-forms.cjs.map +1 -1
- package/dist/actions/list-all-forms.d.cts +3 -15
- package/dist/actions/list-all-forms.d.cts.map +1 -1
- package/dist/actions/list-all-forms.d.mts +3 -15
- package/dist/actions/list-all-forms.d.mts.map +1 -1
- package/dist/actions/list-all-forms.mjs +1 -0
- package/dist/actions/list-all-forms.mjs.map +1 -1
- package/dist/actions/list-all-job-notes.cjs +1 -0
- package/dist/actions/list-all-job-notes.cjs.map +1 -1
- package/dist/actions/list-all-job-notes.d.cts +3 -16
- package/dist/actions/list-all-job-notes.d.cts.map +1 -1
- package/dist/actions/list-all-job-notes.d.mts +3 -16
- package/dist/actions/list-all-job-notes.d.mts.map +1 -1
- package/dist/actions/list-all-job-notes.mjs +1 -0
- package/dist/actions/list-all-job-notes.mjs.map +1 -1
- package/dist/actions/list-all-job-queues.cjs +1 -0
- package/dist/actions/list-all-job-queues.cjs.map +1 -1
- package/dist/actions/list-all-job-queues.d.cts +3 -13
- package/dist/actions/list-all-job-queues.d.cts.map +1 -1
- package/dist/actions/list-all-job-queues.d.mts +3 -13
- package/dist/actions/list-all-job-queues.d.mts.map +1 -1
- package/dist/actions/list-all-job-queues.mjs +1 -0
- package/dist/actions/list-all-job-queues.mjs.map +1 -1
- package/dist/actions/list-all-jobs.cjs +1 -0
- package/dist/actions/list-all-jobs.cjs.map +1 -1
- package/dist/actions/list-all-jobs.d.cts +3 -15
- package/dist/actions/list-all-jobs.d.cts.map +1 -1
- package/dist/actions/list-all-jobs.d.mts +3 -15
- package/dist/actions/list-all-jobs.d.mts.map +1 -1
- package/dist/actions/list-all-jobs.mjs +1 -0
- package/dist/actions/list-all-jobs.mjs.map +1 -1
- package/dist/actions/list-all-locations.cjs +1 -0
- package/dist/actions/list-all-locations.cjs.map +1 -1
- package/dist/actions/list-all-locations.d.cts +3 -15
- package/dist/actions/list-all-locations.d.cts.map +1 -1
- package/dist/actions/list-all-locations.d.mts +3 -15
- package/dist/actions/list-all-locations.d.mts.map +1 -1
- package/dist/actions/list-all-locations.mjs +1 -0
- package/dist/actions/list-all-locations.mjs.map +1 -1
- package/dist/actions/list-all-materials.cjs +1 -0
- package/dist/actions/list-all-materials.cjs.map +1 -1
- package/dist/actions/list-all-materials.d.cts +3 -15
- package/dist/actions/list-all-materials.d.cts.map +1 -1
- package/dist/actions/list-all-materials.d.mts +3 -15
- package/dist/actions/list-all-materials.d.mts.map +1 -1
- package/dist/actions/list-all-materials.mjs +1 -0
- package/dist/actions/list-all-materials.mjs.map +1 -1
- package/dist/actions/list-all-tasks.cjs +1 -0
- package/dist/actions/list-all-tasks.cjs.map +1 -1
- package/dist/actions/list-all-tasks.d.cts +3 -16
- package/dist/actions/list-all-tasks.d.cts.map +1 -1
- package/dist/actions/list-all-tasks.d.mts +3 -16
- package/dist/actions/list-all-tasks.d.mts.map +1 -1
- package/dist/actions/list-all-tasks.mjs +1 -0
- package/dist/actions/list-all-tasks.mjs.map +1 -1
- package/dist/actions/retrieve-client.cjs +1 -0
- package/dist/actions/retrieve-client.cjs.map +1 -1
- package/dist/actions/retrieve-client.d.cts +3 -15
- package/dist/actions/retrieve-client.d.cts.map +1 -1
- package/dist/actions/retrieve-client.d.mts +3 -15
- package/dist/actions/retrieve-client.d.mts.map +1 -1
- package/dist/actions/retrieve-client.mjs +1 -0
- package/dist/actions/retrieve-client.mjs.map +1 -1
- package/dist/actions/retrieve-form.cjs +1 -0
- package/dist/actions/retrieve-form.cjs.map +1 -1
- package/dist/actions/retrieve-form.d.cts +3 -15
- package/dist/actions/retrieve-form.d.cts.map +1 -1
- package/dist/actions/retrieve-form.d.mts +3 -15
- package/dist/actions/retrieve-form.d.mts.map +1 -1
- package/dist/actions/retrieve-form.mjs +1 -0
- package/dist/actions/retrieve-form.mjs.map +1 -1
- package/dist/actions/retrieve-job-activity.cjs +1 -0
- package/dist/actions/retrieve-job-activity.cjs.map +1 -1
- package/dist/actions/retrieve-job-activity.d.cts +3 -15
- package/dist/actions/retrieve-job-activity.d.cts.map +1 -1
- package/dist/actions/retrieve-job-activity.d.mts +3 -15
- package/dist/actions/retrieve-job-activity.d.mts.map +1 -1
- package/dist/actions/retrieve-job-activity.mjs +1 -0
- package/dist/actions/retrieve-job-activity.mjs.map +1 -1
- package/dist/actions/retrieve-job-note.cjs +1 -0
- package/dist/actions/retrieve-job-note.cjs.map +1 -1
- package/dist/actions/retrieve-job-note.d.cts +3 -15
- package/dist/actions/retrieve-job-note.d.cts.map +1 -1
- package/dist/actions/retrieve-job-note.d.mts +3 -15
- package/dist/actions/retrieve-job-note.d.mts.map +1 -1
- package/dist/actions/retrieve-job-note.mjs +1 -0
- package/dist/actions/retrieve-job-note.mjs.map +1 -1
- package/dist/actions/retrieve-job-payment.cjs +1 -0
- package/dist/actions/retrieve-job-payment.cjs.map +1 -1
- package/dist/actions/retrieve-job-payment.d.cts +3 -15
- package/dist/actions/retrieve-job-payment.d.cts.map +1 -1
- package/dist/actions/retrieve-job-payment.d.mts +3 -15
- package/dist/actions/retrieve-job-payment.d.mts.map +1 -1
- package/dist/actions/retrieve-job-payment.mjs +1 -0
- package/dist/actions/retrieve-job-payment.mjs.map +1 -1
- package/dist/actions/retrieve-job-queue.cjs +1 -0
- package/dist/actions/retrieve-job-queue.cjs.map +1 -1
- package/dist/actions/retrieve-job-queue.d.cts +3 -15
- package/dist/actions/retrieve-job-queue.d.cts.map +1 -1
- package/dist/actions/retrieve-job-queue.d.mts +3 -15
- package/dist/actions/retrieve-job-queue.d.mts.map +1 -1
- package/dist/actions/retrieve-job-queue.mjs +1 -0
- package/dist/actions/retrieve-job-queue.mjs.map +1 -1
- package/dist/actions/retrieve-job.cjs +1 -0
- package/dist/actions/retrieve-job.cjs.map +1 -1
- package/dist/actions/retrieve-job.d.cts +3 -15
- package/dist/actions/retrieve-job.d.cts.map +1 -1
- package/dist/actions/retrieve-job.d.mts +3 -15
- package/dist/actions/retrieve-job.d.mts.map +1 -1
- package/dist/actions/retrieve-job.mjs +1 -0
- package/dist/actions/retrieve-job.mjs.map +1 -1
- package/dist/actions/retrieve-location.cjs +1 -0
- package/dist/actions/retrieve-location.cjs.map +1 -1
- package/dist/actions/retrieve-location.d.cts +3 -15
- package/dist/actions/retrieve-location.d.cts.map +1 -1
- package/dist/actions/retrieve-location.d.mts +3 -15
- package/dist/actions/retrieve-location.d.mts.map +1 -1
- package/dist/actions/retrieve-location.mjs +1 -0
- package/dist/actions/retrieve-location.mjs.map +1 -1
- package/dist/actions/retrieve-material.cjs +1 -0
- package/dist/actions/retrieve-material.cjs.map +1 -1
- package/dist/actions/retrieve-material.d.cts +3 -15
- package/dist/actions/retrieve-material.d.cts.map +1 -1
- package/dist/actions/retrieve-material.d.mts +3 -15
- package/dist/actions/retrieve-material.d.mts.map +1 -1
- package/dist/actions/retrieve-material.mjs +1 -0
- package/dist/actions/retrieve-material.mjs.map +1 -1
- package/dist/actions/retrieve-staff-member.cjs +1 -0
- package/dist/actions/retrieve-staff-member.cjs.map +1 -1
- package/dist/actions/retrieve-staff-member.d.cts +3 -15
- package/dist/actions/retrieve-staff-member.d.cts.map +1 -1
- package/dist/actions/retrieve-staff-member.d.mts +3 -15
- package/dist/actions/retrieve-staff-member.d.mts.map +1 -1
- package/dist/actions/retrieve-staff-member.mjs +1 -0
- package/dist/actions/retrieve-staff-member.mjs.map +1 -1
- package/dist/actions/update-job-note.cjs +1 -0
- package/dist/actions/update-job-note.cjs.map +1 -1
- package/dist/actions/update-job-note.d.cts +3 -18
- package/dist/actions/update-job-note.d.cts.map +1 -1
- package/dist/actions/update-job-note.d.mts +3 -18
- package/dist/actions/update-job-note.d.mts.map +1 -1
- package/dist/actions/update-job-note.mjs +1 -0
- package/dist/actions/update-job-note.mjs.map +1 -1
- package/dist/actions/update-job-payment.cjs +1 -0
- package/dist/actions/update-job-payment.cjs.map +1 -1
- package/dist/actions/update-job-payment.d.cts +3 -23
- package/dist/actions/update-job-payment.d.cts.map +1 -1
- package/dist/actions/update-job-payment.d.mts +3 -23
- package/dist/actions/update-job-payment.d.mts.map +1 -1
- package/dist/actions/update-job-payment.mjs +1 -0
- package/dist/actions/update-job-payment.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-location.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveLocationInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the location to retrieve. Must be a valid 36-character UUID string.\"),\n}).describe(\"Request model for retrieving a ServiceM8 location by UUID.\");\nexport const Servicem8RetrieveLocationOutput = z.object({\n lat: z.number().describe(\"Latitude coordinate in decimal degrees (-90 to 90).\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate in decimal degrees (-180 to 180).\").nullable().optional(),\n city: z.string().describe(\"City of the location.\").nullable().optional(),\n name: z.string().describe(\"Name or label of the location.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the location.\").nullable(),\n line1: z.string().describe(\"Street number and street name (address line 1).\").nullable().optional(),\n line2: z.string().describe(\"Additional address info like building/suite numbers (address line 2).\").nullable().optional(),\n line3: z.string().describe(\"Extra address details if lines 1-2 are insufficient (address line 3).\").nullable().optional(),\n state: z.string().describe(\"State or region of the location.\").nullable().optional(),\n active: z.number().int().describe(\"Active/deleted flag: 1 = active, 0 = deleted.\").nullable().optional(),\n country: z.string().describe(\"Country of the location.\").nullable().optional(),\n phone_1: z.string().describe(\"Primary contact phone number for the location.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the location was last modified (format: YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n post_code: z.string().describe(\"Postal or ZIP code of the location.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 location containing address, geolocation, and contact information.\");\n\nexport const servicem8RetrieveLocation = action(\"SERVICEM8_RETRIEVE_LOCATION\", {\n slug: \"servicem8-retrieve-location\",\n name: \"Retrieve Location\",\n description: \"Retrieve a specific ServiceM8 location by its UUID. Returns complete location details including name, address fields (street, city, state, country, postal code), geographic coordinates (lat/lng), contact phone number, and active status. Use this when you have a known location UUID and need its full details. To list all available locations, use the List All Locations action first.\",\n input: Servicem8RetrieveLocationInput,\n output: Servicem8RetrieveLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-location.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveLocationInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the location to retrieve. Must be a valid 36-character UUID string.\"),\n}).describe(\"Request model for retrieving a ServiceM8 location by UUID.\");\nexport const Servicem8RetrieveLocationOutput = z.object({\n lat: z.number().describe(\"Latitude coordinate in decimal degrees (-90 to 90).\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate in decimal degrees (-180 to 180).\").nullable().optional(),\n city: z.string().describe(\"City of the location.\").nullable().optional(),\n name: z.string().describe(\"Name or label of the location.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the location.\").nullable(),\n line1: z.string().describe(\"Street number and street name (address line 1).\").nullable().optional(),\n line2: z.string().describe(\"Additional address info like building/suite numbers (address line 2).\").nullable().optional(),\n line3: z.string().describe(\"Extra address details if lines 1-2 are insufficient (address line 3).\").nullable().optional(),\n state: z.string().describe(\"State or region of the location.\").nullable().optional(),\n active: z.number().int().describe(\"Active/deleted flag: 1 = active, 0 = deleted.\").nullable().optional(),\n country: z.string().describe(\"Country of the location.\").nullable().optional(),\n phone_1: z.string().describe(\"Primary contact phone number for the location.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the location was last modified (format: YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n post_code: z.string().describe(\"Postal or ZIP code of the location.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 location containing address, geolocation, and contact information.\");\n\nexport const servicem8RetrieveLocation: AppAction<\n typeof Servicem8RetrieveLocationInput,\n typeof Servicem8RetrieveLocationOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_LOCATION\", {\n slug: \"servicem8-retrieve-location\",\n name: \"Retrieve Location\",\n description: \"Retrieve a specific ServiceM8 location by its UUID. Returns complete location details including name, address fields (street, city, state, country, postal code), geographic coordinates (lat/lng), contact phone number, and active status. Use this when you have a known location UUID and need its full details. To list all available locations, use the List All Locations action first.\",\n input: Servicem8RetrieveLocationInput,\n output: Servicem8RetrieveLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACjI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAAmG;AAE7H,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-location.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Servicem8RetrieveLocationOutput: z.ZodObject<{
|
|
|
20
22
|
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
post_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const servicem8RetrieveLocation:
|
|
24
|
-
uuid: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const servicem8RetrieveLocation: AppAction<typeof Servicem8RetrieveLocationInput, typeof Servicem8RetrieveLocationOutput, typeof servicem8.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { servicem8RetrieveLocation };
|
|
40
28
|
//# sourceMappingURL=retrieve-location.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-location.d.cts","names":[],"sources":["../../src/actions/retrieve-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-location.d.cts","names":[],"sources":["../../src/actions/retrieve-location.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-location.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Servicem8RetrieveLocationOutput: z.ZodObject<{
|
|
|
20
22
|
edit_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
post_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const servicem8RetrieveLocation:
|
|
24
|
-
uuid: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const servicem8RetrieveLocation: AppAction<typeof Servicem8RetrieveLocationInput, typeof Servicem8RetrieveLocationOutput, typeof servicem8.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { servicem8RetrieveLocation };
|
|
40
28
|
//# sourceMappingURL=retrieve-location.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-location.d.mts","names":[],"sources":["../../src/actions/retrieve-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-location.d.mts","names":[],"sources":["../../src/actions/retrieve-location.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-location.mjs","names":[],"sources":["../../src/actions/retrieve-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveLocationInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the location to retrieve. Must be a valid 36-character UUID string.\"),\n}).describe(\"Request model for retrieving a ServiceM8 location by UUID.\");\nexport const Servicem8RetrieveLocationOutput = z.object({\n lat: z.number().describe(\"Latitude coordinate in decimal degrees (-90 to 90).\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate in decimal degrees (-180 to 180).\").nullable().optional(),\n city: z.string().describe(\"City of the location.\").nullable().optional(),\n name: z.string().describe(\"Name or label of the location.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the location.\").nullable(),\n line1: z.string().describe(\"Street number and street name (address line 1).\").nullable().optional(),\n line2: z.string().describe(\"Additional address info like building/suite numbers (address line 2).\").nullable().optional(),\n line3: z.string().describe(\"Extra address details if lines 1-2 are insufficient (address line 3).\").nullable().optional(),\n state: z.string().describe(\"State or region of the location.\").nullable().optional(),\n active: z.number().int().describe(\"Active/deleted flag: 1 = active, 0 = deleted.\").nullable().optional(),\n country: z.string().describe(\"Country of the location.\").nullable().optional(),\n phone_1: z.string().describe(\"Primary contact phone number for the location.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the location was last modified (format: YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n post_code: z.string().describe(\"Postal or ZIP code of the location.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 location containing address, geolocation, and contact information.\");\n\nexport const servicem8RetrieveLocation = action(\"SERVICEM8_RETRIEVE_LOCATION\", {\n slug: \"servicem8-retrieve-location\",\n name: \"Retrieve Location\",\n description: \"Retrieve a specific ServiceM8 location by its UUID. Returns complete location details including name, address fields (street, city, state, country, postal code), geographic coordinates (lat/lng), contact phone number, and active status. Use this when you have a known location UUID and need its full details. To list all available locations, use the List All Locations action first.\",\n input: Servicem8RetrieveLocationInput,\n output: Servicem8RetrieveLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-location.mjs","names":[],"sources":["../../src/actions/retrieve-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveLocationInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the location to retrieve. Must be a valid 36-character UUID string.\"),\n}).describe(\"Request model for retrieving a ServiceM8 location by UUID.\");\nexport const Servicem8RetrieveLocationOutput = z.object({\n lat: z.number().describe(\"Latitude coordinate in decimal degrees (-90 to 90).\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate in decimal degrees (-180 to 180).\").nullable().optional(),\n city: z.string().describe(\"City of the location.\").nullable().optional(),\n name: z.string().describe(\"Name or label of the location.\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the location.\").nullable(),\n line1: z.string().describe(\"Street number and street name (address line 1).\").nullable().optional(),\n line2: z.string().describe(\"Additional address info like building/suite numbers (address line 2).\").nullable().optional(),\n line3: z.string().describe(\"Extra address details if lines 1-2 are insufficient (address line 3).\").nullable().optional(),\n state: z.string().describe(\"State or region of the location.\").nullable().optional(),\n active: z.number().int().describe(\"Active/deleted flag: 1 = active, 0 = deleted.\").nullable().optional(),\n country: z.string().describe(\"Country of the location.\").nullable().optional(),\n phone_1: z.string().describe(\"Primary contact phone number for the location.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the location was last modified (format: YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n post_code: z.string().describe(\"Postal or ZIP code of the location.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 location containing address, geolocation, and contact information.\");\n\nexport const servicem8RetrieveLocation: AppAction<\n typeof Servicem8RetrieveLocationInput,\n typeof Servicem8RetrieveLocationOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_LOCATION\", {\n slug: \"servicem8-retrieve-location\",\n name: \"Retrieve Location\",\n description: \"Retrieve a specific ServiceM8 location by its UUID. Returns complete location details including name, address fields (street, city, state, country, postal code), geographic coordinates (lat/lng), contact phone number, and active status. Use this when you have a known location UUID and need its full details. To list all available locations, use the List All Locations action first.\",\n input: Servicem8RetrieveLocationInput,\n output: Servicem8RetrieveLocationOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACjI,CAAC,CAAC,CAAC,SAAS,4DA0BH;CACP,QA1B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-material.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveMaterialInput = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\").nullable(),\n name: z.string().describe(\"Display name of the material, product, or labour rate\").nullable(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\").nullable(),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\").nullable(),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\").nullable(),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\").nullable(),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-material.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveMaterialInput = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\").nullable(),\n name: z.string().describe(\"Display name of the material, product, or labour rate\").nullable(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\").nullable(),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\").nullable(),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\").nullable(),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\").nullable(),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial: AppAction<\n typeof Servicem8RetrieveMaterialInput,\n typeof Servicem8RetrieveMaterialOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAA2G;AAErI,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-material.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Servicem8RetrieveMaterialOutput: z.ZodObject<{
|
|
|
20
22
|
price_includes_taxes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
use_description_for_invoicing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const servicem8RetrieveMaterial:
|
|
24
|
-
uuid: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const servicem8RetrieveMaterial: AppAction<typeof Servicem8RetrieveMaterialInput, typeof Servicem8RetrieveMaterialOutput, typeof servicem8.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { servicem8RetrieveMaterial };
|
|
40
28
|
//# sourceMappingURL=retrieve-material.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-material.d.cts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-material.d.cts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-material.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Servicem8RetrieveMaterialOutput: z.ZodObject<{
|
|
|
20
22
|
price_includes_taxes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
use_description_for_invoicing: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const servicem8RetrieveMaterial:
|
|
24
|
-
uuid: string;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
accessToken: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const servicem8RetrieveMaterial: AppAction<typeof Servicem8RetrieveMaterialInput, typeof Servicem8RetrieveMaterialOutput, typeof servicem8.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { servicem8RetrieveMaterial };
|
|
40
28
|
//# sourceMappingURL=retrieve-material.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-material.d.mts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-material.d.mts","names":[],"sources":["../../src/actions/retrieve-material.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-material.mjs","names":[],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveMaterialInput = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\").nullable(),\n name: z.string().describe(\"Display name of the material, product, or labour rate\").nullable(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\").nullable(),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\").nullable(),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\").nullable(),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\").nullable(),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-material.mjs","names":[],"sources":["../../src/actions/retrieve-material.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveMaterialInput = z.object({\n uuid: z.string().describe(\"UUID of the material to retrieve. Obtain this from the 'List All Materials' action or from job material records.\"),\n}).describe(\"Request model for retrieving a specific ServiceM8 material by UUID.\");\nexport const Servicem8RetrieveMaterialOutput = z.object({\n cost: z.string().describe(\"Purchase/internal cost of the material in account currency (as string)\").nullable(),\n name: z.string().describe(\"Display name of the material, product, or labour rate\").nullable(),\n uuid: z.string().describe(\"Unique identifier (UUID) of the material record\").nullable(),\n price: z.string().describe(\"Selling price of the material in account currency (as string)\").nullable(),\n active: z.number().int().describe(\"Record status flag: 1 if active, 0 if soft-deleted (hidden in UI but accessible via API)\").nullable(),\n barcode: z.string().describe(\"Barcode/UPC identifier for the material\").nullable().optional(),\n edit_date: z.string().describe(\"ISO-8601 timestamp of last modification (e.g., '2023-05-01T15:20:30')\").nullable(),\n item_number: z.string().describe(\"Unique item/SKU code for the material used for lookups and imports\").nullable().optional(),\n tax_rate_uuid: z.string().describe(\"UUID of the default tax rate applied to this material\").nullable().optional(),\n item_description: z.string().describe(\"Detailed description of the material for display on forms or invoices\").nullable().optional(),\n quantity_in_stock: z.number().describe(\"Current inventory quantity available (only populated if inventory tracking is enabled)\").nullable().optional(),\n item_is_inventoried: z.number().int().describe(\"Inventory tracking flag: 1 if inventory tracking is enabled, 0 if disabled\").nullable().optional(),\n price_includes_taxes: z.number().int().describe(\"Tax inclusion flag: 1 if price includes taxes, 0 if price excludes taxes\").nullable().optional(),\n use_description_for_invoicing: z.string().describe(\"Alternative description text used specifically for invoicing (if different from item_description)\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ServiceM8 material record containing pricing, inventory, and identification details.\");\n\nexport const servicem8RetrieveMaterial: AppAction<\n typeof Servicem8RetrieveMaterialInput,\n typeof Servicem8RetrieveMaterialOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_MATERIAL\", {\n slug: \"servicem8-retrieve-material\",\n name: \"Retrieve ServiceM8 Material\",\n description: \"Retrieve detailed information about a specific material/product/service by its UUID. Returns pricing, inventory levels, tax settings, and identification details. Use this when you have a material UUID from a job or list operation and need complete details like current stock levels or pricing information.\",\n input: Servicem8RetrieveMaterialInput,\n output: Servicem8RetrieveMaterialOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B4C,EAAE,OAAO,EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EAC9I,CAAC,CAAC,CAAC,SAAS,qEA0BH;CACP,QA1B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC7G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-staff-member.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveStaffMemberInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this staff record.\").nullable(),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\").nullable(),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\").nullable(),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\").nullable(),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).passthrough().describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-staff-member.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveStaffMemberInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this staff record.\").nullable(),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\").nullable(),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\").nullable(),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\").nullable(),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).passthrough().describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember: AppAction<\n typeof Servicem8RetrieveStaffMemberInput,\n typeof Servicem8RetrieveStaffMemberOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC3F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-staff-member.d.ts
|
|
@@ -27,21 +29,7 @@ declare const Servicem8RetrieveStaffMemberOutput: z.ZodObject<{
|
|
|
27
29
|
navigating_expiry_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
can_receive_push_notification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const servicem8RetrieveStaffMember:
|
|
31
|
-
uuid: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const servicem8RetrieveStaffMember: AppAction<typeof Servicem8RetrieveStaffMemberInput, typeof Servicem8RetrieveStaffMemberOutput, typeof servicem8.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { servicem8RetrieveStaffMember };
|
|
47
35
|
//# sourceMappingURL=retrieve-staff-member.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-staff-member.d.cts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-staff-member.d.cts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAwBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/retrieve-staff-member.d.ts
|
|
@@ -27,21 +29,7 @@ declare const Servicem8RetrieveStaffMemberOutput: z.ZodObject<{
|
|
|
27
29
|
navigating_expiry_timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
can_receive_push_notification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const servicem8RetrieveStaffMember:
|
|
31
|
-
uuid: string;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const servicem8RetrieveStaffMember: AppAction<typeof Servicem8RetrieveStaffMemberInput, typeof Servicem8RetrieveStaffMemberOutput, typeof servicem8.credential>;
|
|
45
33
|
//#endregion
|
|
46
34
|
export { servicem8RetrieveStaffMember };
|
|
47
35
|
//# sourceMappingURL=retrieve-staff-member.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-staff-member.d.mts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-staff-member.d.mts","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAwBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-staff-member.mjs","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8RetrieveStaffMemberInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this staff record.\").nullable(),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\").nullable(),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\").nullable(),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\").nullable(),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).passthrough().describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"retrieve-staff-member.mjs","names":[],"sources":["../../src/actions/retrieve-staff-member.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8RetrieveStaffMemberInput = z.object({\n uuid: z.string().describe(\"The unique identifier (UUID) of the staff member to retrieve.\"),\n}).describe(\"Request parameters for retrieving a specific staff member.\");\nexport const Servicem8RetrieveStaffMemberOutput = z.object({\n lat: z.number().describe(\"Latitude of last known location.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of last known location.\").nullable().optional(),\n last: z.string().describe(\"Last name of the staff member (≤30 chars).\").nullable(),\n uuid: z.string().describe(\"Unique identifier for this staff record.\").nullable(),\n color: z.string().describe(\"Hex color code for visual identification.\").nullable().optional(),\n email: z.string().describe(\"Email address (also login name).\").nullable(),\n first: z.string().describe(\"First name of the staff member (≤30 chars).\").nullable(),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived.\").nullable(),\n mobile: z.string().describe(\"Mobile phone number of the staff member.\").nullable().optional(),\n edit_date: z.string().describe(\"Timestamp when the record was last modified (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n job_title: z.string().describe(\"Job title or role.\").nullable().optional(),\n geo_timestamp: z.string().describe(\"Timestamp when geographic location was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n status_message: z.string().describe(\"Short message summarising current status.\").nullable().optional(),\n custom_icon_url: z.string().describe(\"DEPRECATED. Custom icon URL.\").nullable().optional(),\n hide_from_schedule: z.number().int().describe(\"1 to hide from schedule view, 0 to show.\").nullable().optional(),\n security_role_uuid: z.string().describe(\"UUID of the primary security role.\").nullable().optional(),\n navigating_timestamp: z.string().describe(\"Timestamp when navigation to a job started (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_to_job_uuid: z.string().describe(\"UUID of the job the staff member is navigating to.\").nullable().optional(),\n status_message_timestamp: z.string().describe(\"When status message was last updated (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n navigating_expiry_timestamp: z.string().describe(\"When navigation is expected to complete or expire (YYYY-MM-DD HH:MM:SS).\").nullable().optional(),\n can_receive_push_notification: z.string().describe(\"Whether the staff can receive push notifications.\").nullable().optional(),\n}).passthrough().describe(\"Schema of a Staff Member record returned by ServiceM8.\");\n\nexport const servicem8RetrieveStaffMember: AppAction<\n typeof Servicem8RetrieveStaffMemberInput,\n typeof Servicem8RetrieveStaffMemberOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_RETRIEVE_STAFF_MEMBER\", {\n slug: \"servicem8-retrieve-staff-member\",\n name: \"Retrieve Staff Member\",\n description: \"Tool to retrieve details of a specific staff member by their UUID. Use when you need up-to-date staff information given a known staff UUID.\",\n input: Servicem8RetrieveStaffMemberInput,\n output: Servicem8RetrieveStaffMemberOutput,\n});\n"],"mappings":";;;AAiCA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnC+C,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC3F,CAAC,CAAC,CAAC,SAAS,4DAiCH;CACP,QAjCgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-note.cjs","names":["z","action"],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobNoteInput = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput = z.object({\n note: z.string().describe(\"Content of the job note\").nullable(),\n uuid: z.string().describe(\"UUID of the updated job note\").nullable(),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\").nullable(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\").nullable(),\n}).passthrough().describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-note.cjs","names":["z","action"],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8UpdateJobNoteInput = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput = z.object({\n note: z.string().describe(\"Content of the job note\").nullable(),\n uuid: z.string().describe(\"UUID of the updated job note\").nullable(),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\").nullable(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\").nullable(),\n}).passthrough().describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote: AppAction<\n typeof Servicem8UpdateJobNoteInput,\n typeof Servicem8UpdateJobNoteOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-job-note.d.ts
|
|
@@ -16,24 +18,7 @@ declare const Servicem8UpdateJobNoteOutput: z.ZodObject<{
|
|
|
16
18
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
17
19
|
created_by_staff_uuid: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const servicem8UpdateJobNote:
|
|
20
|
-
uuid: string;
|
|
21
|
-
note?: string | undefined;
|
|
22
|
-
active?: number | undefined;
|
|
23
|
-
edit_date?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const servicem8UpdateJobNote: AppAction<typeof Servicem8UpdateJobNoteInput, typeof Servicem8UpdateJobNoteOutput, typeof servicem8.credential>;
|
|
37
22
|
//#endregion
|
|
38
23
|
export { servicem8UpdateJobNote };
|
|
39
24
|
//# sourceMappingURL=update-job-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-note.d.cts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-note.d.cts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-job-note.d.ts
|
|
@@ -16,24 +18,7 @@ declare const Servicem8UpdateJobNoteOutput: z.ZodObject<{
|
|
|
16
18
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
17
19
|
created_by_staff_uuid: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const servicem8UpdateJobNote:
|
|
20
|
-
uuid: string;
|
|
21
|
-
note?: string | undefined;
|
|
22
|
-
active?: number | undefined;
|
|
23
|
-
edit_date?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const servicem8UpdateJobNote: AppAction<typeof Servicem8UpdateJobNoteInput, typeof Servicem8UpdateJobNoteOutput, typeof servicem8.credential>;
|
|
37
22
|
//#endregion
|
|
38
23
|
export { servicem8UpdateJobNote };
|
|
39
24
|
//# sourceMappingURL=update-job-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-note.d.mts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-note.d.mts","names":[],"sources":["../../src/actions/update-job-note.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-note.mjs","names":[],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobNoteInput = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput = z.object({\n note: z.string().describe(\"Content of the job note\").nullable(),\n uuid: z.string().describe(\"UUID of the updated job note\").nullable(),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\").nullable(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\").nullable(),\n}).passthrough().describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-note.mjs","names":[],"sources":["../../src/actions/update-job-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8UpdateJobNoteInput = z.object({\n note: z.string().describe(\"New content for the job note\").optional(),\n uuid: z.string().describe(\"UUID of the job note to update\"),\n active: z.number().int().describe(\"Active flag: 1=active, 0=archived\").optional(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n}).describe(\"Request model for updating a ServiceM8 job note. Provide the note UUID and at least one field to modify.\");\nexport const Servicem8UpdateJobNoteOutput = z.object({\n note: z.string().describe(\"Content of the job note\").nullable(),\n uuid: z.string().describe(\"UUID of the updated job note\").nullable(),\n active: z.number().int().describe(\"Active flag of the note: 1=active, 0=archived\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this note is associated with\").nullable(),\n edit_date: z.string().describe(\"Timestamp when the note was last edited (YYYY-MM-DD HH:MM:SS)\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the note was created (YYYY-MM-DD HH:MM:SS)\").nullable(),\n created_by_staff_uuid: z.string().describe(\"UUID of the staff member who created the note\").nullable(),\n}).passthrough().describe(\"Response model for an updated ServiceM8 job note.\");\n\nexport const servicem8UpdateJobNote: AppAction<\n typeof Servicem8UpdateJobNoteInput,\n typeof Servicem8UpdateJobNoteOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_UPDATE_JOB_NOTE\", {\n slug: \"servicem8-update-job-note\",\n name: \"Update a ServiceM8 Job Note\",\n description: \"Tool to update details of an existing job note. Use when modifying a note after its creation.\",\n input: Servicem8UpdateJobNoteInput,\n output: Servicem8UpdateJobNoteOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,0GAmBH;CACP,QAnB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-job-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Servicem8UpdateJobPaymentInput = z.object({\n note: z.string().describe(\"Note or memo for the payment\").optional(),\n uuid: z.string().describe(\"UUID of the job payment record to update (required)\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived/deleted\").optional(),\n amount: z.string().describe(\"New payment amount as a decimal string (e.g., '150.00')\").optional(),\n method: z.string().describe(\"Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'\").optional(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").optional(),\n attachment_uuid: z.string().describe(\"UUID of an attachment (e.g., receipt image) linked to this payment\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded or updated the payment\").optional(),\n}).describe(\"Request model for updating an existing ServiceM8 job payment record.\\nThe payment UUID is required along with at least one field to update.\");\nexport const Servicem8UpdateJobPaymentOutput = z.object({\n note: z.string().describe(\"Payment note or memo\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the job payment record\").nullable(),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string\").nullable(),\n method: z.string().describe(\"Payment method used\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with\").nullable(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").nullable(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of staff member who recorded the payment\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated job payment record details.\");\n\nexport const servicem8UpdateJobPayment = action(\"SERVICEM8_UPDATE_JOB_PAYMENT\", {\n slug: \"servicem8-update-job-payment\",\n name: \"Update Job Payment\",\n description: \"Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.\",\n input: Servicem8UpdateJobPaymentInput,\n output: Servicem8UpdateJobPaymentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-payment.cjs","names":["z","action"],"sources":["../../src/actions/update-job-payment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { servicem8 } from \"../app\";\n\nexport const Servicem8UpdateJobPaymentInput = z.object({\n note: z.string().describe(\"Note or memo for the payment\").optional(),\n uuid: z.string().describe(\"UUID of the job payment record to update (required)\"),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived/deleted\").optional(),\n amount: z.string().describe(\"New payment amount as a decimal string (e.g., '150.00')\").optional(),\n method: z.string().describe(\"Payment method: 'cash', 'credit_card', 'eftpos', 'cheque', 'direct_deposit', or 'other'\").optional(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").optional(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").optional(),\n attachment_uuid: z.string().describe(\"UUID of an attachment (e.g., receipt image) linked to this payment\").optional(),\n actioned_by_uuid: z.string().describe(\"UUID of the staff member who recorded or updated the payment\").optional(),\n}).describe(\"Request model for updating an existing ServiceM8 job payment record.\\nThe payment UUID is required along with at least one field to update.\");\nexport const Servicem8UpdateJobPaymentOutput = z.object({\n note: z.string().describe(\"Payment note or memo\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier of the job payment record\").nullable(),\n active: z.number().int().describe(\"Active status: 1=active, 0=archived\").nullable().optional(),\n amount: z.string().describe(\"Payment amount as a decimal string\").nullable(),\n method: z.string().describe(\"Payment method used\").nullable(),\n job_uuid: z.string().describe(\"UUID of the job this payment is associated with\").nullable(),\n timestamp: z.string().describe(\"Payment date/time in 'YYYY-MM-DD HH:MM:SS' format\").nullable(),\n is_deposit: z.number().int().describe(\"Whether this is a deposit: 1=deposit, 0=regular payment\").nullable().optional(),\n actioned_by_uuid: z.string().describe(\"UUID of staff member who recorded the payment\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated job payment record details.\");\n\nexport const servicem8UpdateJobPayment: AppAction<\n typeof Servicem8UpdateJobPaymentInput,\n typeof Servicem8UpdateJobPaymentOutput,\n typeof servicem8.credential\n> = action(\"SERVICEM8_UPDATE_JOB_PAYMENT\", {\n slug: \"servicem8-update-job-payment\",\n name: \"Update Job Payment\",\n description: \"Update an existing job payment record in ServiceM8. Use this to modify payment details such as amount, method, note, or status. Requires the payment UUID and at least one field to update.\",\n input: Servicem8UpdateJobPaymentInput,\n output: Servicem8UpdateJobPaymentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACpH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,6IAA6I;AACzJ,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { servicem8 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-job-payment.d.ts
|
|
@@ -23,29 +25,7 @@ declare const Servicem8UpdateJobPaymentOutput: z.ZodObject<{
|
|
|
23
25
|
is_deposit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
26
|
actioned_by_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const servicem8UpdateJobPayment:
|
|
27
|
-
uuid: string;
|
|
28
|
-
note?: string | undefined;
|
|
29
|
-
active?: number | undefined;
|
|
30
|
-
amount?: string | undefined;
|
|
31
|
-
method?: string | undefined;
|
|
32
|
-
timestamp?: string | undefined;
|
|
33
|
-
is_deposit?: number | undefined;
|
|
34
|
-
attachment_uuid?: string | undefined;
|
|
35
|
-
actioned_by_uuid?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
accessToken: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"servicem8", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
accessToken: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const servicem8UpdateJobPayment: AppAction<typeof Servicem8UpdateJobPaymentInput, typeof Servicem8UpdateJobPaymentOutput, typeof servicem8.credential>;
|
|
49
29
|
//#endregion
|
|
50
30
|
export { servicem8UpdateJobPayment };
|
|
51
31
|
//# sourceMappingURL=update-job-payment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-job-payment.d.cts","names":[],"sources":["../../src/actions/update-job-payment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-job-payment.d.cts","names":[],"sources":["../../src/actions/update-job-payment.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|