@keystrokehq/radar 0.1.0 → 0.1.2
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/autocomplete-address-or-place.cjs +8 -8
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +50 -3
- package/dist/actions/autocomplete-address-or-place.d.cts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.mts +50 -3
- package/dist/actions/autocomplete-address-or-place.d.mts.map +1 -1
- package/dist/actions/autocomplete-address-or-place.mjs +8 -8
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +9 -9
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +56 -3
- package/dist/actions/create-beacon.d.cts.map +1 -1
- package/dist/actions/create-beacon.d.mts +56 -3
- package/dist/actions/create-beacon.d.mts.map +1 -1
- package/dist/actions/create-beacon.mjs +9 -9
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs.map +1 -1
- package/dist/actions/create-trip.d.cts +44 -3
- package/dist/actions/create-trip.d.cts.map +1 -1
- package/dist/actions/create-trip.d.mts +44 -3
- package/dist/actions/create-trip.d.mts.map +1 -1
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +1 -1
- package/dist/actions/delete-beacon.cjs.map +1 -1
- package/dist/actions/delete-beacon.d.cts +11 -3
- package/dist/actions/delete-beacon.d.cts.map +1 -1
- package/dist/actions/delete-beacon.d.mts +11 -3
- package/dist/actions/delete-beacon.d.mts.map +1 -1
- package/dist/actions/delete-beacon.mjs +1 -1
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.cts +13 -3
- package/dist/actions/delete-geofence-by-tag.d.cts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.mts +13 -3
- package/dist/actions/delete-geofence-by-tag.d.mts.map +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs +1 -1
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +1 -1
- package/dist/actions/delete-geofence.cjs.map +1 -1
- package/dist/actions/delete-geofence.d.cts +11 -3
- package/dist/actions/delete-geofence.d.cts.map +1 -1
- package/dist/actions/delete-geofence.d.mts +11 -3
- package/dist/actions/delete-geofence.d.mts.map +1 -1
- package/dist/actions/delete-geofence.mjs +1 -1
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +1 -1
- package/dist/actions/delete-trip.cjs.map +1 -1
- package/dist/actions/delete-trip.d.cts +11 -3
- package/dist/actions/delete-trip.d.cts.map +1 -1
- package/dist/actions/delete-trip.d.mts +11 -3
- package/dist/actions/delete-trip.d.mts.map +1 -1
- package/dist/actions/delete-trip.mjs +1 -1
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +11 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +11 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +4 -4
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +37 -3
- package/dist/actions/forward-geocode.d.cts.map +1 -1
- package/dist/actions/forward-geocode.d.mts +37 -3
- package/dist/actions/forward-geocode.d.mts.map +1 -1
- package/dist/actions/forward-geocode.mjs +4 -4
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +8 -8
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +33 -3
- package/dist/actions/get-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.mts +33 -3
- package/dist/actions/get-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/get-beacon-by-tag.mjs +8 -8
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +3 -3
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +29 -3
- package/dist/actions/get-beacon.d.cts.map +1 -1
- package/dist/actions/get-beacon.d.mts +29 -3
- package/dist/actions/get-beacon.d.mts.map +1 -1
- package/dist/actions/get-beacon.mjs +3 -3
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +2 -2
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +85 -3
- package/dist/actions/get-context-for-location.d.cts.map +1 -1
- package/dist/actions/get-context-for-location.d.mts +85 -3
- package/dist/actions/get-context-for-location.d.mts.map +1 -1
- package/dist/actions/get-context-for-location.mjs +2 -2
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +5 -5
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +26 -3
- package/dist/actions/get-geofence.d.cts.map +1 -1
- package/dist/actions/get-geofence.d.mts +26 -3
- package/dist/actions/get-geofence.d.mts.map +1 -1
- package/dist/actions/get-geofence.mjs +5 -5
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +1 -1
- package/dist/actions/get-places-settings.cjs.map +1 -1
- package/dist/actions/get-places-settings.d.cts +15 -3
- package/dist/actions/get-places-settings.d.cts.map +1 -1
- package/dist/actions/get-places-settings.d.mts +15 -3
- package/dist/actions/get-places-settings.d.mts.map +1 -1
- package/dist/actions/get-places-settings.mjs +1 -1
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +8 -8
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +118 -3
- package/dist/actions/get-route-directions.d.cts.map +1 -1
- package/dist/actions/get-route-directions.d.mts +118 -3
- package/dist/actions/get-route-directions.d.mts.map +1 -1
- package/dist/actions/get-route-directions.mjs +8 -8
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +9 -9
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +45 -3
- package/dist/actions/get-route-matrix.d.cts.map +1 -1
- package/dist/actions/get-route-matrix.d.mts +45 -3
- package/dist/actions/get-route-matrix.d.mts.map +1 -1
- package/dist/actions/get-route-matrix.mjs +9 -9
- package/dist/actions/get-route-matrix.mjs.map +1 -1
- package/dist/actions/get-trip.cjs +3 -3
- package/dist/actions/get-trip.cjs.map +1 -1
- package/dist/actions/get-trip.d.cts +39 -3
- package/dist/actions/get-trip.d.cts.map +1 -1
- package/dist/actions/get-trip.d.mts +39 -3
- package/dist/actions/get-trip.d.mts.map +1 -1
- package/dist/actions/get-trip.mjs +3 -3
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +6 -6
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +66 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +66 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +6 -6
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-in-geofence.cjs +2 -2
- package/dist/actions/get-users-in-geofence.cjs.map +1 -1
- package/dist/actions/get-users-in-geofence.d.cts +19 -3
- package/dist/actions/get-users-in-geofence.d.cts.map +1 -1
- package/dist/actions/get-users-in-geofence.d.mts +19 -3
- package/dist/actions/get-users-in-geofence.d.mts.map +1 -1
- package/dist/actions/get-users-in-geofence.mjs +2 -2
- package/dist/actions/get-users-in-geofence.mjs.map +1 -1
- package/dist/actions/ip-geocode.cjs +4 -4
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +20 -3
- package/dist/actions/ip-geocode.d.cts.map +1 -1
- package/dist/actions/ip-geocode.d.mts +20 -3
- package/dist/actions/ip-geocode.d.mts.map +1 -1
- package/dist/actions/ip-geocode.mjs +4 -4
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +4 -4
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +52 -3
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +52 -3
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +4 -4
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +8 -8
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +50 -3
- package/dist/actions/list-geofences.d.cts.map +1 -1
- package/dist/actions/list-geofences.d.mts +50 -3
- package/dist/actions/list-geofences.d.mts.map +1 -1
- package/dist/actions/list-geofences.mjs +8 -8
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +4 -4
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +50 -3
- package/dist/actions/list-trips.d.cts.map +1 -1
- package/dist/actions/list-trips.d.mts +50 -3
- package/dist/actions/list-trips.d.mts.map +1 -1
- package/dist/actions/list-trips.mjs +4 -4
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +35 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +35 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs.map +1 -1
- package/dist/actions/reverse-geocode.d.cts +33 -3
- package/dist/actions/reverse-geocode.d.cts.map +1 -1
- package/dist/actions/reverse-geocode.d.mts +33 -3
- package/dist/actions/reverse-geocode.d.mts.map +1 -1
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +5 -5
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +110 -3
- package/dist/actions/route-distance.d.cts.map +1 -1
- package/dist/actions/route-distance.d.mts +110 -3
- package/dist/actions/route-distance.d.mts.map +1 -1
- package/dist/actions/route-distance.mjs +5 -5
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +2 -2
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +34 -3
- package/dist/actions/search-geofences-near-location.d.cts.map +1 -1
- package/dist/actions/search-geofences-near-location.d.mts +34 -3
- package/dist/actions/search-geofences-near-location.d.mts.map +1 -1
- package/dist/actions/search-geofences-near-location.mjs +2 -2
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +4 -4
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +51 -3
- package/dist/actions/search-places-near-location.d.cts.map +1 -1
- package/dist/actions/search-places-near-location.d.mts +51 -3
- package/dist/actions/search-places-near-location.d.mts.map +1 -1
- package/dist/actions/search-places-near-location.mjs +4 -4
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +5 -5
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +28 -3
- package/dist/actions/search-users-near-location.d.cts.map +1 -1
- package/dist/actions/search-users-near-location.d.mts +28 -3
- package/dist/actions/search-users-near-location.d.mts.map +1 -1
- package/dist/actions/search-users-near-location.mjs +5 -5
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs.map +1 -1
- package/dist/actions/track-location-update.d.cts +43 -3
- package/dist/actions/track-location-update.d.cts.map +1 -1
- package/dist/actions/track-location-update.d.mts +43 -3
- package/dist/actions/track-location-update.d.mts.map +1 -1
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +1 -1
- package/dist/actions/update-places-settings.cjs.map +1 -1
- package/dist/actions/update-places-settings.d.cts +23 -3
- package/dist/actions/update-places-settings.d.cts.map +1 -1
- package/dist/actions/update-places-settings.d.mts +23 -3
- package/dist/actions/update-places-settings.d.mts.map +1 -1
- package/dist/actions/update-places-settings.mjs +1 -1
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs.map +1 -1
- package/dist/actions/update-trip-by-id.d.cts +47 -3
- package/dist/actions/update-trip-by-id.d.cts.map +1 -1
- package/dist/actions/update-trip-by-id.d.mts +47 -3
- package/dist/actions/update-trip-by-id.d.mts.map +1 -1
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +2 -2
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +67 -3
- package/dist/actions/update-trip.d.cts.map +1 -1
- package/dist/actions/update-trip.d.mts +67 -3
- package/dist/actions/update-trip.d.mts.map +1 -1
- package/dist/actions/update-trip.mjs +2 -2
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +6 -6
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +53 -3
- package/dist/actions/upsert-beacon-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.mts +53 -3
- package/dist/actions/upsert-beacon-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-id.mjs +6 -6
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +2 -2
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +54 -3
- package/dist/actions/upsert-beacon-by-tag.d.cts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.mts +54 -3
- package/dist/actions/upsert-beacon-by-tag.d.mts.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.mjs +2 -2
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +6 -6
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +48 -3
- package/dist/actions/upsert-geofence-by-id.d.cts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.mts +48 -3
- package/dist/actions/upsert-geofence-by-id.d.mts.map +1 -1
- package/dist/actions/upsert-geofence-by-id.mjs +6 -6
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +4 -4
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +40 -3
- package/dist/actions/upsert-geofence.d.cts.map +1 -1
- package/dist/actions/upsert-geofence.d.mts +40 -3
- package/dist/actions/upsert-geofence.d.mts.map +1 -1
- package/dist/actions/upsert-geofence.mjs +4 -4
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-trip.cjs","names":["z","action"],"sources":["../../src/actions/create-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarCreateTripInput
|
|
1
|
+
{"version":3,"file":"create-trip.cjs","names":["z","action"],"sources":["../../src/actions/create-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarCreateTripInput = z.object({\n mode: z.enum([\"car\", \"foot\", \"bike\"]).describe(\"Mode of travel, one of 'car', 'foot', or 'bike'\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for trip\").optional(),\n externalId: z.string().describe(\"External ID for the trip\"),\n originLocation: z.object({\n type: z.string().default(\"Point\").describe(\"Must be 'Point' to represent a GeoJSON Point\").optional(),\n coordinates: z.array(z.number()).describe(\"Longitude and latitude as [lng, lat]\"),\n}).describe(\"Origin location as GeoJSON Point\").optional(),\n originGeofenceTag: z.string().describe(\"Tag of origin geofence (e.g. warehouse)\").optional(),\n destinationLocation: z.object({\n type: z.string().default(\"Point\").describe(\"Must be 'Point' to represent a GeoJSON Point\").optional(),\n coordinates: z.array(z.number()).describe(\"Longitude and latitude as [lng, lat]\"),\n}).describe(\"Destination location as GeoJSON Point\").optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence (e.g. store)\").optional(),\n originGeofenceExternalId: z.string().describe(\"External ID of origin geofence\").optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").optional(),\n});\nexport const RadarCreateTripOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n trip: z.record(z.string(), z.unknown()).describe(\"The newly created trip object with all details\"),\n});\n\nexport const radarCreateTrip = action(\"RADAR_CREATE_TRIP\", {\n slug: \"radar-create-trip\",\n name: \"Create Trip\",\n description: \"Tool to create a new trip. Use after gathering origin and destination details to start tracking a trip.\",\n input: RadarCreateTripInput,\n output: RadarCreateTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC1D,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAClF,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,qBAAqBA,IAAAA,EAAE,OAAO;EAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CAClF,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzF,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB;CACpE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACnG,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-trip.d.ts
|
|
4
|
-
declare const RadarCreateTripInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarCreateTripInput: z.ZodObject<{
|
|
5
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
car: "car";
|
|
7
|
+
foot: "foot";
|
|
8
|
+
bike: "bike";
|
|
9
|
+
}>>;
|
|
10
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
externalId: z.ZodString;
|
|
12
|
+
originLocation: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
14
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
originGeofenceTag: z.ZodOptional<z.ZodString>;
|
|
17
|
+
destinationLocation: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
19
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
approachingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
destinationGeofenceTag: z.ZodOptional<z.ZodString>;
|
|
23
|
+
originGeofenceExternalId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
destinationGeofenceExternalId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const RadarCreateTripOutput: z.ZodObject<{
|
|
27
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
|
+
trip: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const radarCreateTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
externalId: string;
|
|
32
|
+
mode?: "car" | "foot" | "bike" | undefined;
|
|
33
|
+
metadata?: Record<string, unknown> | undefined;
|
|
34
|
+
originLocation?: {
|
|
35
|
+
coordinates: number[];
|
|
36
|
+
type?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
originGeofenceTag?: string | undefined;
|
|
39
|
+
destinationLocation?: {
|
|
40
|
+
coordinates: number[];
|
|
41
|
+
type?: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
approachingThreshold?: number | undefined;
|
|
44
|
+
destinationGeofenceTag?: string | undefined;
|
|
45
|
+
originGeofenceExternalId?: string | undefined;
|
|
46
|
+
destinationGeofenceExternalId?: string | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { radarCreateTrip };
|
|
9
50
|
//# sourceMappingURL=create-trip.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-trip.d.cts","names":[],"sources":["../../src/actions/create-trip.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"create-trip.d.cts","names":[],"sources":["../../src/actions/create-trip.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;aAM1B,MAAA"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-trip.d.ts
|
|
4
|
-
declare const RadarCreateTripInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarCreateTripInput: z.ZodObject<{
|
|
5
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
car: "car";
|
|
7
|
+
foot: "foot";
|
|
8
|
+
bike: "bike";
|
|
9
|
+
}>>;
|
|
10
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
externalId: z.ZodString;
|
|
12
|
+
originLocation: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
14
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
originGeofenceTag: z.ZodOptional<z.ZodString>;
|
|
17
|
+
destinationLocation: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
19
|
+
coordinates: z.ZodArray<z.ZodNumber>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
approachingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
destinationGeofenceTag: z.ZodOptional<z.ZodString>;
|
|
23
|
+
originGeofenceExternalId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
destinationGeofenceExternalId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const RadarCreateTripOutput: z.ZodObject<{
|
|
27
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
|
+
trip: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const radarCreateTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
externalId: string;
|
|
32
|
+
mode?: "car" | "foot" | "bike" | undefined;
|
|
33
|
+
metadata?: Record<string, unknown> | undefined;
|
|
34
|
+
originLocation?: {
|
|
35
|
+
coordinates: number[];
|
|
36
|
+
type?: string | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
originGeofenceTag?: string | undefined;
|
|
39
|
+
destinationLocation?: {
|
|
40
|
+
coordinates: number[];
|
|
41
|
+
type?: string | undefined;
|
|
42
|
+
} | undefined;
|
|
43
|
+
approachingThreshold?: number | undefined;
|
|
44
|
+
destinationGeofenceTag?: string | undefined;
|
|
45
|
+
originGeofenceExternalId?: string | undefined;
|
|
46
|
+
destinationGeofenceExternalId?: string | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { radarCreateTrip };
|
|
9
50
|
//# sourceMappingURL=create-trip.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-trip.d.mts","names":[],"sources":["../../src/actions/create-trip.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"create-trip.d.mts","names":[],"sources":["../../src/actions/create-trip.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkBpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;;;aAM1B,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-trip.mjs","names":[],"sources":["../../src/actions/create-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarCreateTripInput
|
|
1
|
+
{"version":3,"file":"create-trip.mjs","names":[],"sources":["../../src/actions/create-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarCreateTripInput = z.object({\n mode: z.enum([\"car\", \"foot\", \"bike\"]).describe(\"Mode of travel, one of 'car', 'foot', or 'bike'\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs for trip\").optional(),\n externalId: z.string().describe(\"External ID for the trip\"),\n originLocation: z.object({\n type: z.string().default(\"Point\").describe(\"Must be 'Point' to represent a GeoJSON Point\").optional(),\n coordinates: z.array(z.number()).describe(\"Longitude and latitude as [lng, lat]\"),\n}).describe(\"Origin location as GeoJSON Point\").optional(),\n originGeofenceTag: z.string().describe(\"Tag of origin geofence (e.g. warehouse)\").optional(),\n destinationLocation: z.object({\n type: z.string().default(\"Point\").describe(\"Must be 'Point' to represent a GeoJSON Point\").optional(),\n coordinates: z.array(z.number()).describe(\"Longitude and latitude as [lng, lat]\"),\n}).describe(\"Destination location as GeoJSON Point\").optional(),\n approachingThreshold: z.number().int().describe(\"Distance threshold in meters for approaching status\").optional(),\n destinationGeofenceTag: z.string().describe(\"Tag of destination geofence (e.g. store)\").optional(),\n originGeofenceExternalId: z.string().describe(\"External ID of origin geofence\").optional(),\n destinationGeofenceExternalId: z.string().describe(\"External ID of destination geofence\").optional(),\n});\nexport const RadarCreateTripOutput = z.object({\n meta: z.record(z.string(), z.unknown()).describe(\"Response metadata\"),\n trip: z.record(z.string(), z.unknown()).describe(\"The newly created trip object with all details\"),\n});\n\nexport const radarCreateTrip = action(\"RADAR_CREATE_TRIP\", {\n slug: \"radar-create-trip\",\n name: \"Create Trip\",\n description: \"Tool to create a new trip. Use after gathering origin and destination details to start tracking a trip.\",\n input: RadarCreateTripInput,\n output: RadarCreateTripOutput,\n});\n"],"mappings":";;AA2BA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BkC,EAAE,OAAO;EAC3C,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EAC1D,gBAAgB,EAAE,OAAO;GACzB,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GACpG,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAClF,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC3F,qBAAqB,EAAE,OAAO;GAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GACpG,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;EAClF,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5D,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChH,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzF,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrG,CAUS;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB;EACpE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACnG,CAOU;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-beacon.ts
|
|
4
4
|
const RadarDeleteBeaconInput = zod.z.object({ id: zod.z.string().describe("The Radar _id of the beacon to delete") }).describe("Request parameters for deleting a beacon.");
|
|
5
|
-
const RadarDeleteBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API") }).describe("Response metadata from Radar API.");
|
|
5
|
+
const RadarDeleteBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API").nullable() }).describe("Response metadata from Radar API.");
|
|
6
6
|
const RadarDeleteBeaconOutput = zod.z.object({ meta: RadarDeleteBeacon_MetaSchema.nullable() }).describe("Response schema for deleted beacon.\nThe Radar API returns only a meta object with the status code on successful deletion.");
|
|
7
7
|
const radarDeleteBeacon = require_action.action("RADAR_DELETE_BEACON", {
|
|
8
8
|
slug: "radar-delete-beacon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-beacon.cjs","names":["z","action"],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteBeaconInput
|
|
1
|
+
{"version":3,"file":"delete-beacon.cjs","names":["z","action"],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteBeaconInput = z.object({\n id: z.string().describe(\"The Radar _id of the beacon to delete\"),\n}).describe(\"Request parameters for deleting a beacon.\");\nconst RadarDeleteBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteBeaconOutput = z.object({\n meta: RadarDeleteBeacon_MetaSchema.nullable(),\n}).describe(\"Response schema for deleted beacon.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteBeacon = action(\"RADAR_DELETE_BEACON\", {\n slug: \"radar-delete-beacon\",\n name: \"Delete Beacon\",\n description: \"Tool to delete a beacon by its Radar ID. Use when supplying a beacon's unique identifier to remove it.\",\n input: RadarDeleteBeaconInput,\n output: RadarDeleteBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,6BAA6B,SAAS,EAC9C,CAAC,CAAC,CAAC,SAAS,4HAA4H;AAExI,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-beacon.d.ts
|
|
4
|
-
declare const RadarDeleteBeaconInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteBeaconInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteBeaconOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteBeacon: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteBeacon };
|
|
9
17
|
//# sourceMappingURL=delete-beacon.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-beacon.d.cts","names":[],"sources":["../../src/actions/delete-beacon.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"delete-beacon.d.cts","names":[],"sources":["../../src/actions/delete-beacon.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-beacon.d.ts
|
|
4
|
-
declare const RadarDeleteBeaconInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteBeaconInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteBeaconOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteBeacon: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteBeacon };
|
|
9
17
|
//# sourceMappingURL=delete-beacon.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-beacon.d.mts","names":[],"sources":["../../src/actions/delete-beacon.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"delete-beacon.d.mts","names":[],"sources":["../../src/actions/delete-beacon.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-beacon.ts
|
|
4
4
|
const RadarDeleteBeaconInput = z.object({ id: z.string().describe("The Radar _id of the beacon to delete") }).describe("Request parameters for deleting a beacon.");
|
|
5
|
-
const RadarDeleteBeacon_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API") }).describe("Response metadata from Radar API.");
|
|
5
|
+
const RadarDeleteBeacon_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API").nullable() }).describe("Response metadata from Radar API.");
|
|
6
6
|
const radarDeleteBeacon = action("RADAR_DELETE_BEACON", {
|
|
7
7
|
slug: "radar-delete-beacon",
|
|
8
8
|
name: "Delete Beacon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-beacon.mjs","names":[],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteBeaconInput
|
|
1
|
+
{"version":3,"file":"delete-beacon.mjs","names":[],"sources":["../../src/actions/delete-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteBeaconInput = z.object({\n id: z.string().describe(\"The Radar _id of the beacon to delete\"),\n}).describe(\"Request parameters for deleting a beacon.\");\nconst RadarDeleteBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteBeaconOutput = z.object({\n meta: RadarDeleteBeacon_MetaSchema.nullable(),\n}).describe(\"Response schema for deleted beacon.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteBeacon = action(\"RADAR_DELETE_BEACON\", {\n slug: \"radar-delete-beacon\",\n name: \"Delete Beacon\",\n description: \"Tool to delete a beacon by its Radar ID. Use when supplying a beacon's unique identifier to remove it.\",\n input: RadarDeleteBeaconInput,\n output: RadarDeleteBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,+BAA+B,EAAE,OAAO,EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,6BAA6B,SAAS,EAC9C,CAAC,CAAC,CAAC,SAAS,4HAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RadarDeleteGeofenceByTagInput = zod.z.object({
|
|
|
5
5
|
tag: zod.z.string().describe("The tag of the geofence to delete"),
|
|
6
6
|
externalId: zod.z.string().describe("The external ID of the geofence to delete")
|
|
7
7
|
}).describe("Request model to delete a geofence by tag and external ID.");
|
|
8
|
-
const RadarDeleteGeofenceByTag_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by Radar API") }).describe("Response metadata from Radar API.");
|
|
8
|
+
const RadarDeleteGeofenceByTag_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by Radar API").nullable() }).describe("Response metadata from Radar API.");
|
|
9
9
|
const RadarDeleteGeofenceByTagOutput = zod.z.object({ meta: RadarDeleteGeofenceByTag_MetaSchema.nullable() }).describe("Response model returned after deleting a geofence by tag and external ID.\nThe Radar API returns only a meta object with the status code on successful deletion.");
|
|
10
10
|
const radarDeleteGeofenceByTag = require_action.action("RADAR_DELETE_GEOFENCE_BY_TAG", {
|
|
11
11
|
slug: "radar-delete-geofence-by-tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,kKAAkK;AAE9K,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-geofence-by-tag.d.ts
|
|
4
|
-
declare const RadarDeleteGeofenceByTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteGeofenceByTagInput: z.ZodObject<{
|
|
5
|
+
tag: z.ZodString;
|
|
6
|
+
externalId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RadarDeleteGeofenceByTagOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const radarDeleteGeofenceByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
tag: string;
|
|
15
|
+
externalId: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { radarDeleteGeofenceByTag };
|
|
9
19
|
//# sourceMappingURL=delete-geofence-by-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.d.cts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.d.cts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-geofence-by-tag.d.ts
|
|
4
|
-
declare const RadarDeleteGeofenceByTagInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteGeofenceByTagInput: z.ZodObject<{
|
|
5
|
+
tag: z.ZodString;
|
|
6
|
+
externalId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RadarDeleteGeofenceByTagOutput: z.ZodObject<{
|
|
9
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const radarDeleteGeofenceByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
tag: string;
|
|
15
|
+
externalId: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { radarDeleteGeofenceByTag };
|
|
9
19
|
//# sourceMappingURL=delete-geofence-by-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.d.mts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.d.mts","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const RadarDeleteGeofenceByTagInput = z.object({
|
|
|
5
5
|
tag: z.string().describe("The tag of the geofence to delete"),
|
|
6
6
|
externalId: z.string().describe("The external ID of the geofence to delete")
|
|
7
7
|
}).describe("Request model to delete a geofence by tag and external ID.");
|
|
8
|
-
const RadarDeleteGeofenceByTag_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by Radar API") }).describe("Response metadata from Radar API.");
|
|
8
|
+
const RadarDeleteGeofenceByTag_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by Radar API").nullable() }).describe("Response metadata from Radar API.");
|
|
9
9
|
const radarDeleteGeofenceByTag = action("RADAR_DELETE_GEOFENCE_BY_TAG", {
|
|
10
10
|
slug: "radar-delete-geofence-by-tag",
|
|
11
11
|
name: "Delete Geofence By Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence-by-tag.mjs","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput
|
|
1
|
+
{"version":3,"file":"delete-geofence-by-tag.mjs","names":[],"sources":["../../src/actions/delete-geofence-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceByTagInput = z.object({\n tag: z.string().describe(\"The tag of the geofence to delete\"),\n externalId: z.string().describe(\"The external ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence by tag and external ID.\");\nconst RadarDeleteGeofenceByTag_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).describe(\"Response model returned after deleting a geofence by tag and external ID.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofenceByTag = action(\"RADAR_DELETE_GEOFENCE_BY_TAG\", {\n slug: \"radar-delete-geofence-by-tag\",\n name: \"Delete Geofence By Tag\",\n description: \"Tool to delete a geofence by tag and external ID. Use when you have both the tag and external identifier to remove a specific geofence.\",\n input: RadarDeleteGeofenceByTagInput,\n output: RadarDeleteGeofenceByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsC,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,kKAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-geofence.ts
|
|
4
4
|
const RadarDeleteGeofenceInput = zod.z.object({ id: zod.z.string().describe("Unique ID of the geofence to delete") }).describe("Request model to delete a geofence.");
|
|
5
|
-
const RadarDeleteGeofence_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by Radar API") }).describe("Response metadata from Radar API.");
|
|
5
|
+
const RadarDeleteGeofence_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by Radar API").nullable() }).describe("Response metadata from Radar API.");
|
|
6
6
|
const RadarDeleteGeofenceOutput = zod.z.object({ meta: RadarDeleteGeofence_MetaSchema.nullable() }).describe("Response model returned after deleting a geofence.\nThe Radar API returns only a meta object with the status code on successful deletion.");
|
|
7
7
|
const radarDeleteGeofence = require_action.action("RADAR_DELETE_GEOFENCE", {
|
|
8
8
|
slug: "radar-delete-geofence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput
|
|
1
|
+
{"version":3,"file":"delete-geofence.cjs","names":["z","action"],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,2IAA2I;AAEvJ,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-geofence.d.ts
|
|
4
|
-
declare const RadarDeleteGeofenceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteGeofenceInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteGeofence };
|
|
9
17
|
//# sourceMappingURL=delete-geofence.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.d.cts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"delete-geofence.d.cts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-geofence.d.ts
|
|
4
|
-
declare const RadarDeleteGeofenceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteGeofenceInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteGeofence };
|
|
9
17
|
//# sourceMappingURL=delete-geofence.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.d.mts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"delete-geofence.d.mts","names":[],"sources":["../../src/actions/delete-geofence.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-geofence.ts
|
|
4
4
|
const RadarDeleteGeofenceInput = z.object({ id: z.string().describe("Unique ID of the geofence to delete") }).describe("Request model to delete a geofence.");
|
|
5
|
-
const RadarDeleteGeofence_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by Radar API") }).describe("Response metadata from Radar API.");
|
|
5
|
+
const RadarDeleteGeofence_MetaSchema = z.object({ code: z.number().int().describe("HTTP status code returned by Radar API").nullable() }).describe("Response metadata from Radar API.");
|
|
6
6
|
const radarDeleteGeofence = action("RADAR_DELETE_GEOFENCE", {
|
|
7
7
|
slug: "radar-delete-geofence",
|
|
8
8
|
name: "Delete Geofence",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-geofence.mjs","names":[],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput
|
|
1
|
+
{"version":3,"file":"delete-geofence.mjs","names":[],"sources":["../../src/actions/delete-geofence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteGeofenceInput = z.object({\n id: z.string().describe(\"Unique ID of the geofence to delete\"),\n}).describe(\"Request model to delete a geofence.\");\nconst RadarDeleteGeofence_MetaSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by Radar API\").nullable(),\n}).describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).describe(\"Response model returned after deleting a geofence.\\nThe Radar API returns only a meta object with the status code on successful deletion.\");\n\nexport const radarDeleteGeofence = action(\"RADAR_DELETE_GEOFENCE\", {\n slug: \"radar-delete-geofence\",\n name: \"Delete Geofence\",\n description: \"Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.\",\n input: RadarDeleteGeofenceInput,\n output: RadarDeleteGeofenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EAC/D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,iCAAiC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,SAAS,2IAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-trip.ts
|
|
4
4
|
const RadarDeleteTripInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the trip to delete. Can be Radar _id or externalId.") }).describe("Request parameters for deleting a trip.");
|
|
5
|
-
const RadarDeleteTrip_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.") }).describe("Metadata response from Radar API.");
|
|
5
|
+
const RadarDeleteTrip_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable() }).describe("Metadata response from Radar API.");
|
|
6
6
|
const RadarDeleteTripOutput = zod.z.object({ meta: RadarDeleteTrip_MetaResponseSchema.nullable() }).describe("Response schema for deleted trip.");
|
|
7
7
|
const radarDeleteTrip = require_action.action("RADAR_DELETE_TRIP", {
|
|
8
8
|
slug: "radar-delete-trip",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.cjs","names":["z","action"],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput
|
|
1
|
+
{"version":3,"file":"delete-trip.cjs","names":["z","action"],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACxG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-trip.d.ts
|
|
4
|
-
declare const RadarDeleteTripInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteTripInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteTrip };
|
|
9
17
|
//# sourceMappingURL=delete-trip.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.d.cts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"delete-trip.d.cts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-trip.d.ts
|
|
4
|
-
declare const RadarDeleteTripInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RadarDeleteTripInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
8
|
+
meta: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const radarDeleteTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
|
+
id: string;
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { radarDeleteTrip };
|
|
9
17
|
//# sourceMappingURL=delete-trip.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.d.mts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"delete-trip.d.mts","names":[],"sources":["../../src/actions/delete-trip.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-trip.ts
|
|
4
4
|
const RadarDeleteTripInput = z.object({ id: z.string().describe("The unique identifier of the trip to delete. Can be Radar _id or externalId.") }).describe("Request parameters for deleting a trip.");
|
|
5
|
-
const RadarDeleteTrip_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.") }).describe("Metadata response from Radar API.");
|
|
5
|
+
const RadarDeleteTrip_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.").nullable() }).describe("Metadata response from Radar API.");
|
|
6
6
|
const radarDeleteTrip = action("RADAR_DELETE_TRIP", {
|
|
7
7
|
slug: "radar-delete-trip",
|
|
8
8
|
name: "Delete Trip",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-trip.mjs","names":[],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput
|
|
1
|
+
{"version":3,"file":"delete-trip.mjs","names":[],"sources":["../../src/actions/delete-trip.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteTripInput = z.object({\n id: z.string().describe(\"The unique identifier of the trip to delete. Can be Radar _id or externalId.\"),\n}).describe(\"Request parameters for deleting a trip.\");\nconst RadarDeleteTrip_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted trip.\");\n\nexport const radarDeleteTrip = action(\"RADAR_DELETE_TRIP\", {\n slug: \"radar-delete-trip\",\n name: \"Delete Trip\",\n description: \"Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.\",\n input: RadarDeleteTripInput,\n output: RadarDeleteTripOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACxG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAK/C,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-user.ts
|
|
4
4
|
const RadarDeleteUserInput = zod.z.object({ id: zod.z.string().describe("The user identifier - can be Radar _id, userId, or deviceId.") }).describe("Request parameters for deleting a user.");
|
|
5
|
-
const RadarDeleteUser_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.") }).describe("Metadata response from Radar API.");
|
|
5
|
+
const RadarDeleteUser_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable() }).describe("Metadata response from Radar API.");
|
|
6
6
|
const RadarDeleteUserOutput = zod.z.object({ meta: RadarDeleteUser_MetaResponseSchema.nullable() }).describe("Response schema for deleted user.");
|
|
7
7
|
const radarDeleteUser = require_action.action("RADAR_DELETE_USER", {
|
|
8
8
|
slug: "radar-delete-user",
|