@keystrokehq/radar 0.1.2 → 0.1.3
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/actions/autocomplete-address-or-place.cjs +4 -4
- package/dist/actions/autocomplete-address-or-place.cjs.map +1 -1
- package/dist/actions/autocomplete-address-or-place.d.cts +4 -4
- package/dist/actions/autocomplete-address-or-place.d.mts +4 -4
- package/dist/actions/autocomplete-address-or-place.mjs +4 -4
- package/dist/actions/autocomplete-address-or-place.mjs.map +1 -1
- package/dist/actions/create-beacon.cjs +4 -4
- package/dist/actions/create-beacon.cjs.map +1 -1
- package/dist/actions/create-beacon.d.cts +4 -4
- package/dist/actions/create-beacon.d.mts +4 -4
- package/dist/actions/create-beacon.mjs +4 -4
- package/dist/actions/create-beacon.mjs.map +1 -1
- package/dist/actions/create-trip.cjs +1 -1
- package/dist/actions/create-trip.cjs.map +1 -1
- package/dist/actions/create-trip.d.cts +1 -1
- package/dist/actions/create-trip.d.mts +1 -1
- package/dist/actions/create-trip.mjs +1 -1
- package/dist/actions/create-trip.mjs.map +1 -1
- package/dist/actions/delete-beacon.cjs +2 -2
- package/dist/actions/delete-beacon.cjs.map +1 -1
- package/dist/actions/delete-beacon.d.cts +2 -2
- package/dist/actions/delete-beacon.d.mts +2 -2
- package/dist/actions/delete-beacon.mjs +2 -2
- package/dist/actions/delete-beacon.mjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.cjs +2 -2
- package/dist/actions/delete-geofence-by-tag.cjs.map +1 -1
- package/dist/actions/delete-geofence-by-tag.d.cts +2 -2
- package/dist/actions/delete-geofence-by-tag.d.mts +2 -2
- package/dist/actions/delete-geofence-by-tag.mjs +2 -2
- package/dist/actions/delete-geofence-by-tag.mjs.map +1 -1
- package/dist/actions/delete-geofence.cjs +2 -2
- package/dist/actions/delete-geofence.cjs.map +1 -1
- package/dist/actions/delete-geofence.d.cts +2 -2
- package/dist/actions/delete-geofence.d.mts +2 -2
- package/dist/actions/delete-geofence.mjs +2 -2
- package/dist/actions/delete-geofence.mjs.map +1 -1
- package/dist/actions/delete-trip.cjs +2 -2
- package/dist/actions/delete-trip.cjs.map +1 -1
- package/dist/actions/delete-trip.d.cts +2 -2
- package/dist/actions/delete-trip.d.mts +2 -2
- package/dist/actions/delete-trip.mjs +2 -2
- package/dist/actions/delete-trip.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +2 -2
- package/dist/actions/delete-user.d.mts +2 -2
- package/dist/actions/delete-user.mjs +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/forward-geocode.cjs +3 -3
- package/dist/actions/forward-geocode.cjs.map +1 -1
- package/dist/actions/forward-geocode.d.cts +3 -3
- package/dist/actions/forward-geocode.d.mts +3 -3
- package/dist/actions/forward-geocode.mjs +3 -3
- package/dist/actions/forward-geocode.mjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.cjs +2 -2
- package/dist/actions/get-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/get-beacon-by-tag.d.cts +2 -2
- package/dist/actions/get-beacon-by-tag.d.mts +2 -2
- package/dist/actions/get-beacon-by-tag.mjs +2 -2
- package/dist/actions/get-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/get-beacon.cjs +4 -4
- package/dist/actions/get-beacon.cjs.map +1 -1
- package/dist/actions/get-beacon.d.cts +4 -4
- package/dist/actions/get-beacon.d.mts +4 -4
- package/dist/actions/get-beacon.mjs +4 -4
- package/dist/actions/get-beacon.mjs.map +1 -1
- package/dist/actions/get-context-for-location.cjs +16 -16
- package/dist/actions/get-context-for-location.cjs.map +1 -1
- package/dist/actions/get-context-for-location.d.cts +16 -16
- package/dist/actions/get-context-for-location.d.mts +16 -16
- package/dist/actions/get-context-for-location.mjs +16 -16
- package/dist/actions/get-context-for-location.mjs.map +1 -1
- package/dist/actions/get-geofence.cjs +3 -3
- package/dist/actions/get-geofence.cjs.map +1 -1
- package/dist/actions/get-geofence.d.cts +3 -3
- package/dist/actions/get-geofence.d.mts +3 -3
- package/dist/actions/get-geofence.mjs +3 -3
- package/dist/actions/get-geofence.mjs.map +1 -1
- package/dist/actions/get-places-settings.cjs +3 -3
- package/dist/actions/get-places-settings.cjs.map +1 -1
- package/dist/actions/get-places-settings.d.cts +3 -3
- package/dist/actions/get-places-settings.d.mts +3 -3
- package/dist/actions/get-places-settings.mjs +3 -3
- package/dist/actions/get-places-settings.mjs.map +1 -1
- package/dist/actions/get-route-directions.cjs +9 -9
- package/dist/actions/get-route-directions.cjs.map +1 -1
- package/dist/actions/get-route-directions.d.cts +20 -20
- package/dist/actions/get-route-directions.d.mts +20 -20
- package/dist/actions/get-route-directions.mjs +9 -9
- package/dist/actions/get-route-directions.mjs.map +1 -1
- package/dist/actions/get-route-matrix.cjs +6 -6
- package/dist/actions/get-route-matrix.cjs.map +1 -1
- package/dist/actions/get-route-matrix.d.cts +9 -9
- package/dist/actions/get-route-matrix.d.mts +9 -9
- package/dist/actions/get-route-matrix.mjs +6 -6
- 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 +4 -4
- package/dist/actions/get-trip.d.mts +4 -4
- package/dist/actions/get-trip.mjs +3 -3
- package/dist/actions/get-trip.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- 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 +2 -2
- package/dist/actions/get-users-in-geofence.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/ip-geocode.cjs.map +1 -1
- package/dist/actions/ip-geocode.d.cts +1 -1
- package/dist/actions/ip-geocode.d.mts +1 -1
- package/dist/actions/ip-geocode.mjs +1 -1
- package/dist/actions/ip-geocode.mjs.map +1 -1
- package/dist/actions/list-events.cjs +6 -6
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +6 -6
- package/dist/actions/list-events.d.mts +6 -6
- package/dist/actions/list-events.mjs +6 -6
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-geofences.cjs +5 -5
- package/dist/actions/list-geofences.cjs.map +1 -1
- package/dist/actions/list-geofences.d.cts +5 -5
- package/dist/actions/list-geofences.d.mts +5 -5
- package/dist/actions/list-geofences.mjs +5 -5
- package/dist/actions/list-geofences.mjs.map +1 -1
- package/dist/actions/list-trips.cjs +5 -5
- package/dist/actions/list-trips.cjs.map +1 -1
- package/dist/actions/list-trips.d.cts +6 -6
- package/dist/actions/list-trips.d.mts +6 -6
- package/dist/actions/list-trips.mjs +5 -5
- package/dist/actions/list-trips.mjs.map +1 -1
- package/dist/actions/list-users.cjs +3 -3
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.mjs +3 -3
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/reverse-geocode.cjs +2 -2
- package/dist/actions/reverse-geocode.cjs.map +1 -1
- package/dist/actions/reverse-geocode.d.cts +2 -2
- package/dist/actions/reverse-geocode.d.mts +2 -2
- package/dist/actions/reverse-geocode.mjs +2 -2
- package/dist/actions/reverse-geocode.mjs.map +1 -1
- package/dist/actions/route-distance.cjs +8 -8
- package/dist/actions/route-distance.cjs.map +1 -1
- package/dist/actions/route-distance.d.cts +23 -23
- package/dist/actions/route-distance.d.mts +23 -23
- package/dist/actions/route-distance.mjs +8 -8
- package/dist/actions/route-distance.mjs.map +1 -1
- package/dist/actions/search-geofences-near-location.cjs +3 -3
- package/dist/actions/search-geofences-near-location.cjs.map +1 -1
- package/dist/actions/search-geofences-near-location.d.cts +3 -3
- package/dist/actions/search-geofences-near-location.d.mts +3 -3
- package/dist/actions/search-geofences-near-location.mjs +3 -3
- package/dist/actions/search-geofences-near-location.mjs.map +1 -1
- package/dist/actions/search-places-near-location.cjs +6 -6
- package/dist/actions/search-places-near-location.cjs.map +1 -1
- package/dist/actions/search-places-near-location.d.cts +6 -6
- package/dist/actions/search-places-near-location.d.mts +6 -6
- package/dist/actions/search-places-near-location.mjs +6 -6
- package/dist/actions/search-places-near-location.mjs.map +1 -1
- package/dist/actions/search-users-near-location.cjs +4 -4
- package/dist/actions/search-users-near-location.cjs.map +1 -1
- package/dist/actions/search-users-near-location.d.cts +4 -4
- package/dist/actions/search-users-near-location.d.mts +4 -4
- package/dist/actions/search-users-near-location.mjs +4 -4
- package/dist/actions/search-users-near-location.mjs.map +1 -1
- package/dist/actions/track-location-update.cjs +1 -1
- package/dist/actions/track-location-update.cjs.map +1 -1
- package/dist/actions/track-location-update.d.cts +1 -1
- package/dist/actions/track-location-update.d.mts +1 -1
- package/dist/actions/track-location-update.mjs +1 -1
- package/dist/actions/track-location-update.mjs.map +1 -1
- package/dist/actions/update-places-settings.cjs +3 -3
- package/dist/actions/update-places-settings.cjs.map +1 -1
- package/dist/actions/update-places-settings.d.cts +3 -3
- package/dist/actions/update-places-settings.d.mts +3 -3
- package/dist/actions/update-places-settings.mjs +3 -3
- package/dist/actions/update-places-settings.mjs.map +1 -1
- package/dist/actions/update-trip-by-id.cjs +3 -3
- package/dist/actions/update-trip-by-id.cjs.map +1 -1
- package/dist/actions/update-trip-by-id.d.cts +4 -4
- package/dist/actions/update-trip-by-id.d.mts +4 -4
- package/dist/actions/update-trip-by-id.mjs +3 -3
- package/dist/actions/update-trip-by-id.mjs.map +1 -1
- package/dist/actions/update-trip.cjs +3 -3
- package/dist/actions/update-trip.cjs.map +1 -1
- package/dist/actions/update-trip.d.cts +5 -5
- package/dist/actions/update-trip.d.mts +5 -5
- package/dist/actions/update-trip.mjs +3 -3
- package/dist/actions/update-trip.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.cjs +4 -4
- package/dist/actions/upsert-beacon-by-id.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-id.d.cts +4 -4
- package/dist/actions/upsert-beacon-by-id.d.mts +4 -4
- package/dist/actions/upsert-beacon-by-id.mjs +4 -4
- package/dist/actions/upsert-beacon-by-id.mjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.cjs +6 -6
- package/dist/actions/upsert-beacon-by-tag.cjs.map +1 -1
- package/dist/actions/upsert-beacon-by-tag.d.cts +7 -7
- package/dist/actions/upsert-beacon-by-tag.d.mts +7 -7
- package/dist/actions/upsert-beacon-by-tag.mjs +6 -6
- package/dist/actions/upsert-beacon-by-tag.mjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.cjs +7 -7
- package/dist/actions/upsert-geofence-by-id.cjs.map +1 -1
- package/dist/actions/upsert-geofence-by-id.d.cts +8 -8
- package/dist/actions/upsert-geofence-by-id.d.mts +8 -8
- package/dist/actions/upsert-geofence-by-id.mjs +7 -7
- package/dist/actions/upsert-geofence-by-id.mjs.map +1 -1
- package/dist/actions/upsert-geofence.cjs +3 -3
- package/dist/actions/upsert-geofence.cjs.map +1 -1
- package/dist/actions/upsert-geofence.d.cts +3 -3
- package/dist/actions/upsert-geofence.d.mts +3 -3
- package/dist/actions/upsert-geofence.mjs +3 -3
- package/dist/actions/upsert-geofence.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,13 +5,13 @@ 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").nullable() }).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() }).passthrough().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",
|
|
12
12
|
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.",
|
|
13
13
|
input: RadarDeleteGeofenceByTagInput,
|
|
14
|
-
output: 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.")
|
|
14
|
+
output: z.object({ meta: RadarDeleteGeofenceByTag_MetaSchema.nullable() }).passthrough().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.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { radarDeleteGeofenceByTag };
|
|
@@ -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 = 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;
|
|
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}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceByTagOutput = z.object({\n meta: RadarDeleteGeofenceByTag_MetaSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kKAOhB;AACV,CAAC"}
|
|
@@ -2,8 +2,8 @@ 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").nullable() }).describe("Response metadata from Radar API.");
|
|
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.");
|
|
5
|
+
const RadarDeleteGeofence_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by Radar API").nullable() }).passthrough().describe("Response metadata from Radar API.");
|
|
6
|
+
const RadarDeleteGeofenceOutput = zod.z.object({ meta: RadarDeleteGeofence_MetaSchema.nullable() }).passthrough().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",
|
|
9
9
|
name: "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 = 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;
|
|
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}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2IAA2I;AAErK,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteGeofenceInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteGeofenceInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteGeofenceOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteGeofence: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,13 +2,13 @@ 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").nullable() }).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() }).passthrough().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",
|
|
9
9
|
description: "Tool to delete a geofence by ID. Use when supplying a geofence’s unique identifier to remove it.",
|
|
10
10
|
input: RadarDeleteGeofenceInput,
|
|
11
|
-
output: 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.")
|
|
11
|
+
output: z.object({ meta: RadarDeleteGeofence_MetaSchema.nullable() }).passthrough().describe("Response model returned after deleting a geofence.\nThe Radar API returns only a meta object with the status code on successful deletion.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { radarDeleteGeofence };
|
|
@@ -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 = 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;
|
|
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}).passthrough().describe(\"Response metadata from Radar API.\");\nexport const RadarDeleteGeofenceOutput = z.object({\n meta: RadarDeleteGeofence_MetaSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,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,YAAY,CAAC,CAAC,SAAS,2IAOhB;AACV,CAAC"}
|
|
@@ -2,8 +2,8 @@ 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.").nullable() }).describe("Metadata response from Radar API.");
|
|
6
|
-
const RadarDeleteTripOutput = zod.z.object({ meta: RadarDeleteTrip_MetaResponseSchema.nullable() }).describe("Response schema for deleted trip.");
|
|
5
|
+
const RadarDeleteTrip_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable() }).passthrough().describe("Metadata response from Radar API.");
|
|
6
|
+
const RadarDeleteTripOutput = zod.z.object({ meta: RadarDeleteTrip_MetaResponseSchema.nullable() }).passthrough().describe("Response schema for deleted trip.");
|
|
7
7
|
const radarDeleteTrip = require_action.action("RADAR_DELETE_TRIP", {
|
|
8
8
|
slug: "radar-delete-trip",
|
|
9
9
|
name: "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 = 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;
|
|
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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteTripInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteTripInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteTripOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteTrip: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,13 +2,13 @@ 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.").nullable() }).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() }).passthrough().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",
|
|
9
9
|
description: "Tool to delete a trip by its Radar ID or external ID. Use after confirming the trip exists.",
|
|
10
10
|
input: RadarDeleteTripInput,
|
|
11
|
-
output: z.object({ meta: RadarDeleteTrip_MetaResponseSchema.nullable() }).describe("Response schema for deleted trip.")
|
|
11
|
+
output: z.object({ meta: RadarDeleteTrip_MetaResponseSchema.nullable() }).passthrough().describe("Response schema for deleted trip.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { radarDeleteTrip };
|
|
@@ -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 = 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;
|
|
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}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteTripOutput = z.object({\n meta: RadarDeleteTrip_MetaResponseSchema.nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
|
|
@@ -2,8 +2,8 @@ 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.").nullable() }).describe("Metadata response from Radar API.");
|
|
6
|
-
const RadarDeleteUserOutput = zod.z.object({ meta: RadarDeleteUser_MetaResponseSchema.nullable() }).describe("Response schema for deleted user.");
|
|
5
|
+
const RadarDeleteUser_MetaResponseSchema = zod.z.object({ code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable() }).passthrough().describe("Metadata response from Radar API.");
|
|
6
|
+
const RadarDeleteUserOutput = zod.z.object({ meta: RadarDeleteUser_MetaResponseSchema.nullable() }).passthrough().describe("Response schema for deleted user.");
|
|
7
7
|
const radarDeleteUser = require_action.action("RADAR_DELETE_USER", {
|
|
8
8
|
slug: "radar-delete-user",
|
|
9
9
|
name: "Delete User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_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 RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,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;
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteUserOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,8 +7,8 @@ declare const RadarDeleteUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const RadarDeleteUserOutput: z.ZodObject<{
|
|
8
8
|
meta: z.ZodNullable<z.ZodObject<{
|
|
9
9
|
code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const radarDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-user.ts
|
|
4
4
|
const RadarDeleteUserInput = z.object({ id: z.string().describe("The user identifier - can be Radar _id, userId, or deviceId.") }).describe("Request parameters for deleting a user.");
|
|
5
|
-
const RadarDeleteUser_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.").nullable() }).describe("Metadata response from Radar API.");
|
|
5
|
+
const RadarDeleteUser_MetaResponseSchema = z.object({ code: z.number().int().describe("HTTP status code returned by the API.").nullable() }).passthrough().describe("Metadata response from Radar API.");
|
|
6
6
|
const radarDeleteUser = action("RADAR_DELETE_USER", {
|
|
7
7
|
slug: "radar-delete-user",
|
|
8
8
|
name: "Delete User",
|
|
9
9
|
description: "Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.",
|
|
10
10
|
input: RadarDeleteUserInput,
|
|
11
|
-
output: z.object({ meta: RadarDeleteUser_MetaResponseSchema.nullable() }).describe("Response schema for deleted user.")
|
|
11
|
+
output: z.object({ meta: RadarDeleteUser_MetaResponseSchema.nullable() }).passthrough().describe("Response schema for deleted user.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { radarDeleteUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_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 RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,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;
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarDeleteUserInput = z.object({\n id: z.string().describe(\"The user identifier - can be Radar _id, userId, or deviceId.\"),\n}).describe(\"Request parameters for deleting a user.\");\nconst RadarDeleteUser_MetaResponseSchema = z.object({\n code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Metadata response from Radar API.\");\nexport const RadarDeleteUserOutput = z.object({\n meta: RadarDeleteUser_MetaResponseSchema.nullable(),\n}).passthrough().describe(\"Response schema for deleted user.\");\n\nexport const radarDeleteUser = action(\"RADAR_DELETE_USER\", {\n slug: \"radar-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user by Radar _id, userId, or deviceId. Use after confirming the user identifier exists.\",\n input: RadarDeleteUserInput,\n output: RadarDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EACxF,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const RadarForwardGeocodeInput = zod.z.object({
|
|
|
7
7
|
layers: zod.z.array(zod.z.string()).describe("Place types to filter results, comma-separated (e.g., 'address','locality')").optional(),
|
|
8
8
|
country: zod.z.string().describe("Two-letter ISO 3166-1 alpha-2 country code to filter results").optional()
|
|
9
9
|
}).describe("Request model for forward geocoding an address string to geographic coordinates.");
|
|
10
|
-
const RadarForwardGeocode_GeometrySchema = zod.z.object({ coordinates: zod.z.array(zod.z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).describe("Geographic geometry coordinates of the match.");
|
|
10
|
+
const RadarForwardGeocode_GeometrySchema = zod.z.object({ coordinates: zod.z.array(zod.z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).passthrough().describe("Geographic geometry coordinates of the match.");
|
|
11
11
|
const RadarForwardGeocode_AddressSchema = zod.z.object({
|
|
12
12
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
13
13
|
layer: zod.z.string().describe("Layer or place type of match").nullable(),
|
|
@@ -28,8 +28,8 @@ const RadarForwardGeocode_AddressSchema = zod.z.object({
|
|
|
28
28
|
countryFlag: zod.z.string().describe("Country flag emoji").nullable().optional(),
|
|
29
29
|
addressLabel: zod.z.string().describe("Primary display address").nullable(),
|
|
30
30
|
formattedAddress: zod.z.string().describe("Formatted complete address").nullable()
|
|
31
|
-
}).describe("A matched address object from forward geocoding.");
|
|
32
|
-
const RadarForwardGeocodeOutput = zod.z.object({ addresses: zod.z.array(RadarForwardGeocode_AddressSchema).describe("List of matched address objects") }).describe("Response model containing a list of matched addresses.");
|
|
31
|
+
}).passthrough().describe("A matched address object from forward geocoding.");
|
|
32
|
+
const RadarForwardGeocodeOutput = zod.z.object({ addresses: zod.z.array(RadarForwardGeocode_AddressSchema).describe("List of matched address objects") }).passthrough().describe("Response model containing a list of matched addresses.");
|
|
33
33
|
const radarForwardGeocode = require_action.action("RADAR_FORWARD_GEOCODE", {
|
|
34
34
|
slug: "radar-forward-geocode",
|
|
35
35
|
name: "Forward Geocode",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward-geocode.cjs","names":["z","action"],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"forward-geocode.cjs","names":["z","action"],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).passthrough().describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).passthrough().describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).passthrough().describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAO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;AAElF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
19
19
|
placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
geometry: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
coordinates: z.ZodArray<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
stateCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -30,8 +30,8 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
30
30
|
countryFlag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
addressLabel: z.ZodNullable<z.ZodString>;
|
|
32
32
|
formattedAddress: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
query: string;
|
|
37
37
|
limit?: number | undefined;
|
|
@@ -19,7 +19,7 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
19
19
|
placeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
geometry: z.ZodNullable<z.ZodObject<{
|
|
21
21
|
coordinates: z.ZodArray<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
23
|
latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
25
|
stateCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -30,8 +30,8 @@ declare const RadarForwardGeocodeOutput: z.ZodObject<{
|
|
|
30
30
|
countryFlag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
addressLabel: z.ZodNullable<z.ZodString>;
|
|
32
32
|
formattedAddress: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const radarForwardGeocode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
query: string;
|
|
37
37
|
limit?: number | undefined;
|
|
@@ -7,7 +7,7 @@ const RadarForwardGeocodeInput = z.object({
|
|
|
7
7
|
layers: z.array(z.string()).describe("Place types to filter results, comma-separated (e.g., 'address','locality')").optional(),
|
|
8
8
|
country: z.string().describe("Two-letter ISO 3166-1 alpha-2 country code to filter results").optional()
|
|
9
9
|
}).describe("Request model for forward geocoding an address string to geographic coordinates.");
|
|
10
|
-
const RadarForwardGeocode_GeometrySchema = z.object({ coordinates: z.array(z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).describe("Geographic geometry coordinates of the match.");
|
|
10
|
+
const RadarForwardGeocode_GeometrySchema = z.object({ coordinates: z.array(z.number()).describe("Longitude and latitude of the match as [lon, lat]") }).passthrough().describe("Geographic geometry coordinates of the match.");
|
|
11
11
|
const RadarForwardGeocode_AddressSchema = z.object({
|
|
12
12
|
city: z.string().describe("City name").nullable().optional(),
|
|
13
13
|
layer: z.string().describe("Layer or place type of match").nullable(),
|
|
@@ -28,13 +28,13 @@ const RadarForwardGeocode_AddressSchema = z.object({
|
|
|
28
28
|
countryFlag: z.string().describe("Country flag emoji").nullable().optional(),
|
|
29
29
|
addressLabel: z.string().describe("Primary display address").nullable(),
|
|
30
30
|
formattedAddress: z.string().describe("Formatted complete address").nullable()
|
|
31
|
-
}).describe("A matched address object from forward geocoding.");
|
|
31
|
+
}).passthrough().describe("A matched address object from forward geocoding.");
|
|
32
32
|
const radarForwardGeocode = action("RADAR_FORWARD_GEOCODE", {
|
|
33
33
|
slug: "radar-forward-geocode",
|
|
34
34
|
name: "Forward Geocode",
|
|
35
35
|
description: "Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.",
|
|
36
36
|
input: RadarForwardGeocodeInput,
|
|
37
|
-
output: z.object({ addresses: z.array(RadarForwardGeocode_AddressSchema).describe("List of matched address objects") }).describe("Response model containing a list of matched addresses.")
|
|
37
|
+
output: z.object({ addresses: z.array(RadarForwardGeocode_AddressSchema).describe("List of matched address objects") }).passthrough().describe("Response model containing a list of matched addresses.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { radarForwardGeocode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forward-geocode.mjs","names":[],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAqC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"forward-geocode.mjs","names":[],"sources":["../../src/actions/forward-geocode.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarForwardGeocodeInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return (default 10, max 100)\").optional(),\n query: z.string().describe(\"The full address or query string to geocode\"),\n layers: z.array(z.string()).describe(\"Place types to filter results, comma-separated (e.g., 'address','locality')\").optional(),\n country: z.string().describe(\"Two-letter ISO 3166-1 alpha-2 country code to filter results\").optional(),\n}).describe(\"Request model for forward geocoding an address string to geographic coordinates.\");\nconst RadarForwardGeocode_GeometrySchema = z.object({\n coordinates: z.array(z.number()).describe(\"Longitude and latitude of the match as [lon, lat]\"),\n}).passthrough().describe(\"Geographic geometry coordinates of the match.\");\nconst RadarForwardGeocode_AddressSchema = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n layer: z.string().describe(\"Layer or place type of match\").nullable(),\n state: z.string().describe(\"State name\").nullable().optional(),\n county: z.string().describe(\"County name\").nullable().optional(),\n number: z.string().describe(\"Street number\").nullable().optional(),\n street: z.string().describe(\"Street name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n placeId: z.string().describe(\"Unique identifier for the place\").nullable().optional(),\n geometry: RadarForwardGeocode_GeometrySchema.nullable(),\n latitude: z.number().describe(\"Latitude of the matched address\").nullable().optional(),\n longitude: z.number().describe(\"Longitude of the matched address\").nullable().optional(),\n stateCode: z.string().describe(\"State code\").nullable().optional(),\n confidence: z.string().describe(\"Confidence level (e.g., 'exact', 'interpolated', 'fallback')\").nullable().optional(),\n placeLabel: z.string().describe(\"Place description or label\").nullable().optional(),\n postalCode: z.string().describe(\"Postal code\").nullable().optional(),\n countryCode: z.string().describe(\"Country code of matched address\").nullable(),\n countryFlag: z.string().describe(\"Country flag emoji\").nullable().optional(),\n addressLabel: z.string().describe(\"Primary display address\").nullable(),\n formattedAddress: z.string().describe(\"Formatted complete address\").nullable(),\n}).passthrough().describe(\"A matched address object from forward geocoding.\");\nexport const RadarForwardGeocodeOutput = z.object({\n addresses: z.array(RadarForwardGeocode_AddressSchema).describe(\"List of matched address objects\"),\n}).passthrough().describe(\"Response model containing a list of matched addresses.\");\n\nexport const radarForwardGeocode = action(\"RADAR_FORWARD_GEOCODE\", {\n slug: \"radar-forward-geocode\",\n name: \"Forward Geocode\",\n description: \"Tool to convert an address into geographic coordinates. Use when you have a full address string and need precise latitude/longitude before further location analysis.\",\n input: RadarForwardGeocodeInput,\n output: RadarForwardGeocodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9F,MAAM,qCAAqC,EAAE,OAAO,EAClD,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC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C,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,iCAAiC,EAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -27,8 +27,8 @@ const RadarGetBeaconByTag_BeaconSchema = zod.z.object({
|
|
|
27
27
|
updatedAt: zod.z.string().describe("Timestamp when last updated (ISO 8601)").nullable(),
|
|
28
28
|
externalId: zod.z.string().describe("External ID of the beacon").nullable().optional(),
|
|
29
29
|
description: zod.z.string().describe("Description of the beacon").nullable().optional()
|
|
30
|
-
}).describe("Beacon object returned by Radar.");
|
|
31
|
-
const RadarGetBeaconByTagOutput = zod.z.object({ beacon: RadarGetBeaconByTag_BeaconSchema.nullable() }).describe("Response model for getting a beacon by tag and external ID.");
|
|
30
|
+
}).passthrough().describe("Beacon object returned by Radar.");
|
|
31
|
+
const RadarGetBeaconByTagOutput = zod.z.object({ beacon: RadarGetBeaconByTag_BeaconSchema.nullable() }).passthrough().describe("Response model for getting a beacon by tag and external ID.");
|
|
32
32
|
const radarGetBeaconByTag = require_action.action("RADAR_GET_BEACON_BY_TAG", {
|
|
33
33
|
slug: "radar-get-beacon-by-tag",
|
|
34
34
|
name: "Get Beacon By Tag",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-beacon-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon ident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AAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"get-beacon-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).passthrough().describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,iIAAiI;AAC7I,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQ,iCAAiC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,sBAAsBC,eAAAA,OAAO,2BAA2B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -28,8 +28,8 @@ declare const RadarGetBeaconByTagOutput: z.ZodObject<{
|
|
|
28
28
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
29
29
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
tag: string;
|
|
35
35
|
externalId: string;
|
|
@@ -28,8 +28,8 @@ declare const RadarGetBeaconByTagOutput: z.ZodObject<{
|
|
|
28
28
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
29
29
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const radarGetBeaconByTag: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
tag: string;
|
|
35
35
|
externalId: string;
|
|
@@ -27,13 +27,13 @@ const RadarGetBeaconByTag_BeaconSchema = z.object({
|
|
|
27
27
|
updatedAt: z.string().describe("Timestamp when last updated (ISO 8601)").nullable(),
|
|
28
28
|
externalId: z.string().describe("External ID of the beacon").nullable().optional(),
|
|
29
29
|
description: z.string().describe("Description of the beacon").nullable().optional()
|
|
30
|
-
}).describe("Beacon object returned by Radar.");
|
|
30
|
+
}).passthrough().describe("Beacon object returned by Radar.");
|
|
31
31
|
const radarGetBeaconByTag = action("RADAR_GET_BEACON_BY_TAG", {
|
|
32
32
|
slug: "radar-get-beacon-by-tag",
|
|
33
33
|
name: "Get Beacon By Tag",
|
|
34
34
|
description: "Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.",
|
|
35
35
|
input: RadarGetBeaconByTagInput,
|
|
36
|
-
output: z.object({ beacon: RadarGetBeaconByTag_BeaconSchema.nullable() }).describe("Response model for getting a beacon by tag and external ID.")
|
|
36
|
+
output: z.object({ beacon: RadarGetBeaconByTag_BeaconSchema.nullable() }).passthrough().describe("Response model for getting a beacon by tag and external ID.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { radarGetBeaconByTag };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-beacon-by-tag.mjs","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC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CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"get-beacon-by-tag.mjs","names":[],"sources":["../../src/actions/get-beacon-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconByTagInput = z.object({\n tag: z.string().describe(\"A group for the beacon (required)\"),\n externalId: z.string().describe(\"An external ID for the beacon (required)\"),\n}).describe(\"Request model for getting a beacon by tag and external ID.\\nBoth tag and externalId are required to uniquely identify a beacon.\");\nconst RadarGetBeaconByTag_BeaconSchema = z.object({\n id: z.string().describe(\"Beacon ID\").nullable(),\n url: z.string().describe(\"URL for Eddystone URL\").nullable().optional(),\n type: z.enum([\"iBeacon\", \"eddystone_uid\", \"eddystone_url\"]).describe(\"Beacon technology type\").nullable(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.number().int().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.number().int().describe(\"Minor value for iBeacon\").nullable().optional(),\n placeId: z.string().describe(\"Radar placeId associated with the beacon\").nullable(),\n deviceId: z.string().describe(\"Device ID or serial number of the beacon\").nullable(),\n instance: z.string().describe(\"Instance for Eddystone UID\").nullable().optional(),\n latitude: z.number().describe(\"Latitude of the beacon\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata of the beacon\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when created (ISO 8601)\").nullable(),\n longitude: z.number().describe(\"Longitude of the beacon\").nullable(),\n namespace: z.string().describe(\"Namespace for Eddystone UID\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when last updated (ISO 8601)\").nullable(),\n externalId: z.string().describe(\"External ID of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconByTagOutput = z.object({\n beacon: RadarGetBeaconByTag_BeaconSchema.nullable(),\n}).passthrough().describe(\"Response model for getting a beacon by tag and external ID.\");\n\nexport const radarGetBeaconByTag = action(\"RADAR_GET_BEACON_BY_TAG\", {\n slug: \"radar-get-beacon-by-tag\",\n name: \"Get Beacon By Tag\",\n description: \"Tool to get a specific beacon by tag and external ID. Use when you need to retrieve details of a beacon identified by its tag group and external ID.\",\n input: RadarGetBeaconByTagInput,\n output: RadarGetBeaconByTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC5E,CAAC,CAAC,CAAC,SAAS,iIAAiI;AAC7I,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,KAAK;EAAC;EAAW;EAAiB;CAAe,CAAC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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hB;AACV,CAAC"}
|
|
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-beacon.ts
|
|
4
4
|
const RadarGetBeaconInput = zod.z.object({ id: zod.z.string().describe("The Radar-generated _id of the beacon to retrieve.") }).describe("Request model for getting a beacon by Radar _id.");
|
|
5
|
-
const RadarGetBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("The HTTP status code of the response").nullable() }).describe("Response metadata.");
|
|
5
|
+
const RadarGetBeacon_MetaSchema = zod.z.object({ code: zod.z.number().int().describe("The HTTP status code of the response").nullable() }).passthrough().describe("Response metadata.");
|
|
6
6
|
const RadarGetBeacon_GeometryPointSchema = zod.z.object({
|
|
7
7
|
type: zod.z.string().describe("Geometry type, typically 'Point'").nullable(),
|
|
8
8
|
coordinates: zod.z.array(zod.z.number()).describe("Coordinates as [longitude, latitude]")
|
|
9
|
-
}).describe("GeoJSON geometry for the beacon location.");
|
|
9
|
+
}).passthrough().describe("GeoJSON geometry for the beacon location.");
|
|
10
10
|
const RadarGetBeacon_BeaconSchema = zod.z.object({
|
|
11
11
|
_id: zod.z.string().describe("Unique Radar beacon identifier").nullable(),
|
|
12
12
|
tag: zod.z.string().describe("Tag associated with the beacon").nullable().optional(),
|
|
@@ -21,11 +21,11 @@ const RadarGetBeacon_BeaconSchema = zod.z.object({
|
|
|
21
21
|
updatedAt: zod.z.string().describe("Timestamp when the beacon was last updated (ISO 8601)").nullable().optional(),
|
|
22
22
|
externalId: zod.z.string().describe("External identifier of the beacon").nullable().optional(),
|
|
23
23
|
description: zod.z.string().describe("Description of the beacon").nullable().optional()
|
|
24
|
-
}).describe("Beacon object returned by Radar.");
|
|
24
|
+
}).passthrough().describe("Beacon object returned by Radar.");
|
|
25
25
|
const RadarGetBeaconOutput = zod.z.object({
|
|
26
26
|
meta: RadarGetBeacon_MetaSchema.nullable(),
|
|
27
27
|
beacon: RadarGetBeacon_BeaconSchema.nullable()
|
|
28
|
-
}).describe("Response model for getting a beacon.");
|
|
28
|
+
}).passthrough().describe("Response model for getting a beacon.");
|
|
29
29
|
const radarGetBeacon = require_action.action("RADAR_GET_BEACON", {
|
|
30
30
|
slug: "radar-get-beacon",
|
|
31
31
|
name: "Get Beacon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-beacon.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconInput = z.object({\n id: z.string().describe(\"The Radar-generated _id of the beacon to retrieve.\"),\n}).describe(\"Request model for getting a beacon by Radar _id.\");\nconst RadarGetBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"The HTTP status code of the response\").nullable(),\n}).describe(\"Response metadata.\");\nconst RadarGetBeacon_GeometryPointSchema = z.object({\n type: z.string().describe(\"Geometry type, typically 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).describe(\"GeoJSON geometry for the beacon location.\");\nconst RadarGetBeacon_BeaconSchema = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n live: z.boolean().describe(\"Whether the beacon is in live mode\").nullable().optional(),\n type: z.string().describe(\"Beacon technology type\").nullable().optional(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.string().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value for iBeacon\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the beacon is enabled\").nullable().optional(),\n geometry: RadarGetBeacon_GeometryPointSchema.nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the beacon was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the beacon was last updated (ISO 8601)\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconOutput = z.object({\n meta: RadarGetBeacon_MetaSchema.nullable(),\n beacon: RadarGetBeacon_BeaconSchema.nullable(),\n}).describe(\"Response model for getting a beacon.\");\n\nexport const radarGetBeacon = action(\"RADAR_GET_BEACON\", {\n slug: \"radar-get-beacon\",\n name: \"Get Beacon\",\n description: \"Tool to retrieve a beacon by Radar _id. Use when you need to fetch full details of an existing beacon.\",\n input: RadarGetBeaconInput,\n output: RadarGetBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,oBAAoB;
|
|
1
|
+
{"version":3,"file":"get-beacon.cjs","names":["z","action"],"sources":["../../src/actions/get-beacon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RadarGetBeaconInput = z.object({\n id: z.string().describe(\"The Radar-generated _id of the beacon to retrieve.\"),\n}).describe(\"Request model for getting a beacon by Radar _id.\");\nconst RadarGetBeacon_MetaSchema = z.object({\n code: z.number().int().describe(\"The HTTP status code of the response\").nullable(),\n}).passthrough().describe(\"Response metadata.\");\nconst RadarGetBeacon_GeometryPointSchema = z.object({\n type: z.string().describe(\"Geometry type, typically 'Point'\").nullable(),\n coordinates: z.array(z.number()).describe(\"Coordinates as [longitude, latitude]\"),\n}).passthrough().describe(\"GeoJSON geometry for the beacon location.\");\nconst RadarGetBeacon_BeaconSchema = z.object({\n _id: z.string().describe(\"Unique Radar beacon identifier\").nullable(),\n tag: z.string().describe(\"Tag associated with the beacon\").nullable().optional(),\n live: z.boolean().describe(\"Whether the beacon is in live mode\").nullable().optional(),\n type: z.string().describe(\"Beacon technology type\").nullable().optional(),\n uuid: z.string().describe(\"UUID for iBeacon\").nullable().optional(),\n major: z.string().describe(\"Major value for iBeacon\").nullable().optional(),\n minor: z.string().describe(\"Minor value for iBeacon\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the beacon is enabled\").nullable().optional(),\n geometry: RadarGetBeacon_GeometryPointSchema.nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the beacon was created (ISO 8601)\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the beacon was last updated (ISO 8601)\").nullable().optional(),\n externalId: z.string().describe(\"External identifier of the beacon\").nullable().optional(),\n description: z.string().describe(\"Description of the beacon\").nullable().optional(),\n}).passthrough().describe(\"Beacon object returned by Radar.\");\nexport const RadarGetBeaconOutput = z.object({\n meta: RadarGetBeacon_MetaSchema.nullable(),\n beacon: RadarGetBeacon_BeaconSchema.nullable(),\n}).passthrough().describe(\"Response model for getting a beacon.\");\n\nexport const radarGetBeacon = action(\"RADAR_GET_BEACON\", {\n slug: \"radar-get-beacon\",\n name: \"Get Beacon\",\n description: \"Tool to retrieve a beacon by Radar _id. Use when you need to fetch full details of an existing beacon.\",\n input: RadarGetBeaconInput,\n output: RadarGetBeaconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oBAAoB;AAC9C,MAAM,qCAAqCA,IAAAA,E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