@keystrokehq/route4me 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-order-custom-field.cjs +1 -0
- package/dist/actions/add-order-custom-field.cjs.map +1 -1
- package/dist/actions/add-order-custom-field.d.cts +3 -9
- package/dist/actions/add-order-custom-field.d.cts.map +1 -1
- package/dist/actions/add-order-custom-field.d.mts +3 -9
- package/dist/actions/add-order-custom-field.d.mts.map +1 -1
- package/dist/actions/add-order-custom-field.mjs +1 -0
- package/dist/actions/add-order-custom-field.mjs.map +1 -1
- package/dist/actions/add-route-note.cjs +1 -0
- package/dist/actions/add-route-note.cjs.map +1 -1
- package/dist/actions/add-route-note.d.cts +3 -8
- package/dist/actions/add-route-note.d.cts.map +1 -1
- package/dist/actions/add-route-note.d.mts +3 -8
- package/dist/actions/add-route-note.d.mts.map +1 -1
- package/dist/actions/add-route-note.mjs +1 -0
- package/dist/actions/add-route-note.mjs.map +1 -1
- package/dist/actions/create-address.cjs +1 -0
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -13
- package/dist/actions/create-address.d.cts.map +1 -1
- package/dist/actions/create-address.d.mts +3 -13
- package/dist/actions/create-address.d.mts.map +1 -1
- package/dist/actions/create-address.mjs +1 -0
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-avoidance-zone.cjs +1 -0
- package/dist/actions/create-avoidance-zone.cjs.map +1 -1
- package/dist/actions/create-avoidance-zone.d.cts +3 -8
- package/dist/actions/create-avoidance-zone.d.cts.map +1 -1
- package/dist/actions/create-avoidance-zone.d.mts +3 -8
- package/dist/actions/create-avoidance-zone.d.mts.map +1 -1
- package/dist/actions/create-avoidance-zone.mjs +1 -0
- package/dist/actions/create-avoidance-zone.mjs.map +1 -1
- package/dist/actions/create-location-type.cjs +1 -0
- package/dist/actions/create-location-type.cjs.map +1 -1
- package/dist/actions/create-location-type.d.cts +3 -5
- package/dist/actions/create-location-type.d.cts.map +1 -1
- package/dist/actions/create-location-type.d.mts +3 -5
- package/dist/actions/create-location-type.d.mts.map +1 -1
- package/dist/actions/create-location-type.mjs +1 -0
- package/dist/actions/create-location-type.mjs.map +1 -1
- package/dist/actions/create-master-route.cjs +1 -0
- package/dist/actions/create-master-route.cjs.map +1 -1
- package/dist/actions/create-master-route.d.cts +3 -28
- package/dist/actions/create-master-route.d.cts.map +1 -1
- package/dist/actions/create-master-route.d.mts +3 -28
- package/dist/actions/create-master-route.d.mts.map +1 -1
- package/dist/actions/create-master-route.mjs +1 -0
- package/dist/actions/create-master-route.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -4
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -4
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-optimization-profile.cjs +1 -0
- package/dist/actions/create-optimization-profile.cjs.map +1 -1
- package/dist/actions/create-optimization-profile.d.cts +3 -25
- package/dist/actions/create-optimization-profile.d.cts.map +1 -1
- package/dist/actions/create-optimization-profile.d.mts +3 -25
- package/dist/actions/create-optimization-profile.d.mts.map +1 -1
- package/dist/actions/create-optimization-profile.mjs +1 -0
- package/dist/actions/create-optimization-profile.mjs.map +1 -1
- package/dist/actions/create-optimization.cjs +1 -0
- package/dist/actions/create-optimization.cjs.map +1 -1
- package/dist/actions/create-optimization.d.cts +3 -43
- package/dist/actions/create-optimization.d.cts.map +1 -1
- package/dist/actions/create-optimization.d.mts +3 -43
- package/dist/actions/create-optimization.d.mts.map +1 -1
- package/dist/actions/create-optimization.mjs +1 -0
- package/dist/actions/create-optimization.mjs.map +1 -1
- package/dist/actions/create-order-custom-field.cjs +1 -0
- package/dist/actions/create-order-custom-field.cjs.map +1 -1
- package/dist/actions/create-order-custom-field.d.cts +3 -9
- package/dist/actions/create-order-custom-field.d.cts.map +1 -1
- package/dist/actions/create-order-custom-field.d.mts +3 -9
- package/dist/actions/create-order-custom-field.d.mts.map +1 -1
- package/dist/actions/create-order-custom-field.mjs +1 -0
- package/dist/actions/create-order-custom-field.mjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.cjs +1 -0
- package/dist/actions/create-orders-from-contacts.cjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.d.cts +3 -4
- package/dist/actions/create-orders-from-contacts.d.cts.map +1 -1
- package/dist/actions/create-orders-from-contacts.d.mts +3 -4
- package/dist/actions/create-orders-from-contacts.d.mts.map +1 -1
- package/dist/actions/create-orders-from-contacts.mjs +1 -0
- package/dist/actions/create-orders-from-contacts.mjs.map +1 -1
- package/dist/actions/create-territory.cjs +1 -0
- package/dist/actions/create-territory.cjs.map +1 -1
- package/dist/actions/create-territory.d.cts +3 -8
- package/dist/actions/create-territory.d.cts.map +1 -1
- package/dist/actions/create-territory.d.mts +3 -8
- package/dist/actions/create-territory.d.mts.map +1 -1
- package/dist/actions/create-territory.mjs +1 -0
- package/dist/actions/create-territory.mjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.cjs +1 -0
- package/dist/actions/create-vehicle-capacity-profile.cjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.cts +3 -9
- package/dist/actions/create-vehicle-capacity-profile.d.cts.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.mts +3 -9
- package/dist/actions/create-vehicle-capacity-profile.d.mts.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.mjs +1 -0
- package/dist/actions/create-vehicle-capacity-profile.mjs.map +1 -1
- package/dist/actions/delete-address.cjs +1 -0
- package/dist/actions/delete-address.cjs.map +1 -1
- package/dist/actions/delete-address.d.cts +3 -4
- package/dist/actions/delete-address.d.cts.map +1 -1
- package/dist/actions/delete-address.d.mts +3 -4
- package/dist/actions/delete-address.d.mts.map +1 -1
- package/dist/actions/delete-address.mjs +1 -0
- package/dist/actions/delete-address.mjs.map +1 -1
- package/dist/actions/delete-addresses.cjs +1 -0
- package/dist/actions/delete-addresses.cjs.map +1 -1
- package/dist/actions/delete-addresses.d.cts +3 -3
- package/dist/actions/delete-addresses.d.cts.map +1 -1
- package/dist/actions/delete-addresses.d.mts +3 -3
- package/dist/actions/delete-addresses.d.mts.map +1 -1
- package/dist/actions/delete-addresses.mjs +1 -0
- package/dist/actions/delete-addresses.mjs.map +1 -1
- package/dist/actions/delete-avoidance.cjs +1 -0
- package/dist/actions/delete-avoidance.cjs.map +1 -1
- package/dist/actions/delete-avoidance.d.cts +3 -3
- package/dist/actions/delete-avoidance.d.cts.map +1 -1
- package/dist/actions/delete-avoidance.d.mts +3 -3
- package/dist/actions/delete-avoidance.d.mts.map +1 -1
- package/dist/actions/delete-avoidance.mjs +1 -0
- package/dist/actions/delete-avoidance.mjs.map +1 -1
- package/dist/actions/delete-configuration-setting.cjs +1 -0
- package/dist/actions/delete-configuration-setting.cjs.map +1 -1
- package/dist/actions/delete-configuration-setting.d.cts +3 -3
- package/dist/actions/delete-configuration-setting.d.cts.map +1 -1
- package/dist/actions/delete-configuration-setting.d.mts +3 -3
- package/dist/actions/delete-configuration-setting.d.mts.map +1 -1
- package/dist/actions/delete-configuration-setting.mjs +1 -0
- package/dist/actions/delete-configuration-setting.mjs.map +1 -1
- package/dist/actions/delete-current-user.cjs +1 -0
- package/dist/actions/delete-current-user.cjs.map +1 -1
- package/dist/actions/delete-current-user.d.cts +3 -1
- package/dist/actions/delete-current-user.d.cts.map +1 -1
- package/dist/actions/delete-current-user.d.mts +3 -1
- package/dist/actions/delete-current-user.d.mts.map +1 -1
- package/dist/actions/delete-current-user.mjs +1 -0
- package/dist/actions/delete-current-user.mjs.map +1 -1
- package/dist/actions/delete-location-type.cjs +1 -0
- package/dist/actions/delete-location-type.cjs.map +1 -1
- package/dist/actions/delete-location-type.d.cts +3 -3
- package/dist/actions/delete-location-type.d.cts.map +1 -1
- package/dist/actions/delete-location-type.d.mts +3 -3
- package/dist/actions/delete-location-type.d.mts.map +1 -1
- package/dist/actions/delete-location-type.mjs +1 -0
- package/dist/actions/delete-location-type.mjs.map +1 -1
- package/dist/actions/delete-optimization-profile.cjs +1 -0
- package/dist/actions/delete-optimization-profile.cjs.map +1 -1
- package/dist/actions/delete-optimization-profile.d.cts +3 -3
- package/dist/actions/delete-optimization-profile.d.cts.map +1 -1
- package/dist/actions/delete-optimization-profile.d.mts +3 -3
- package/dist/actions/delete-optimization-profile.d.mts.map +1 -1
- package/dist/actions/delete-optimization-profile.mjs +1 -0
- package/dist/actions/delete-optimization-profile.mjs.map +1 -1
- package/dist/actions/delete-optimization.cjs +1 -0
- package/dist/actions/delete-optimization.cjs.map +1 -1
- package/dist/actions/delete-optimization.d.cts +3 -3
- package/dist/actions/delete-optimization.d.cts.map +1 -1
- package/dist/actions/delete-optimization.d.mts +3 -3
- package/dist/actions/delete-optimization.d.mts.map +1 -1
- package/dist/actions/delete-optimization.mjs +1 -0
- package/dist/actions/delete-optimization.mjs.map +1 -1
- package/dist/actions/delete-order-custom-field.cjs +1 -0
- package/dist/actions/delete-order-custom-field.cjs.map +1 -1
- package/dist/actions/delete-order-custom-field.d.cts +3 -3
- package/dist/actions/delete-order-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-order-custom-field.d.mts +3 -3
- package/dist/actions/delete-order-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-order-custom-field.mjs +1 -0
- package/dist/actions/delete-order-custom-field.mjs.map +1 -1
- package/dist/actions/delete-route-v4.cjs +1 -0
- package/dist/actions/delete-route-v4.cjs.map +1 -1
- package/dist/actions/delete-route-v4.d.cts +3 -3
- package/dist/actions/delete-route-v4.d.cts.map +1 -1
- package/dist/actions/delete-route-v4.d.mts +3 -3
- package/dist/actions/delete-route-v4.d.mts.map +1 -1
- package/dist/actions/delete-route-v4.mjs +1 -0
- package/dist/actions/delete-route-v4.mjs.map +1 -1
- package/dist/actions/delete-territory.cjs +1 -0
- package/dist/actions/delete-territory.cjs.map +1 -1
- package/dist/actions/delete-territory.d.cts +3 -3
- package/dist/actions/delete-territory.d.cts.map +1 -1
- package/dist/actions/delete-territory.d.mts +3 -3
- package/dist/actions/delete-territory.d.mts.map +1 -1
- package/dist/actions/delete-territory.mjs +1 -0
- package/dist/actions/delete-territory.mjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.cts +3 -3
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.mts +3 -3
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/dispatch-routes.cjs +1 -0
- package/dist/actions/dispatch-routes.cjs.map +1 -1
- package/dist/actions/dispatch-routes.d.cts +3 -8
- package/dist/actions/dispatch-routes.d.cts.map +1 -1
- package/dist/actions/dispatch-routes.d.mts +3 -8
- package/dist/actions/dispatch-routes.d.mts.map +1 -1
- package/dist/actions/dispatch-routes.mjs +1 -0
- package/dist/actions/dispatch-routes.mjs.map +1 -1
- package/dist/actions/display-datatable-config.cjs +1 -0
- package/dist/actions/display-datatable-config.cjs.map +1 -1
- package/dist/actions/display-datatable-config.d.cts +3 -1
- package/dist/actions/display-datatable-config.d.cts.map +1 -1
- package/dist/actions/display-datatable-config.d.mts +3 -1
- package/dist/actions/display-datatable-config.d.mts.map +1 -1
- package/dist/actions/display-datatable-config.mjs +1 -0
- package/dist/actions/display-datatable-config.mjs.map +1 -1
- package/dist/actions/duplicate-routes.cjs +1 -0
- package/dist/actions/duplicate-routes.cjs.map +1 -1
- package/dist/actions/duplicate-routes.d.cts +3 -3
- package/dist/actions/duplicate-routes.d.cts.map +1 -1
- package/dist/actions/duplicate-routes.d.mts +3 -3
- package/dist/actions/duplicate-routes.d.mts.map +1 -1
- package/dist/actions/duplicate-routes.mjs +1 -0
- package/dist/actions/duplicate-routes.mjs.map +1 -1
- package/dist/actions/find-address.cjs +1 -0
- package/dist/actions/find-address.cjs.map +1 -1
- package/dist/actions/find-address.d.cts +3 -3
- package/dist/actions/find-address.d.cts.map +1 -1
- package/dist/actions/find-address.d.mts +3 -3
- package/dist/actions/find-address.d.mts.map +1 -1
- package/dist/actions/find-address.mjs +1 -0
- package/dist/actions/find-address.mjs.map +1 -1
- package/dist/actions/geocode-address-body.cjs +1 -0
- package/dist/actions/geocode-address-body.cjs.map +1 -1
- package/dist/actions/geocode-address-body.d.cts +3 -10
- package/dist/actions/geocode-address-body.d.cts.map +1 -1
- package/dist/actions/geocode-address-body.d.mts +3 -10
- package/dist/actions/geocode-address-body.d.mts.map +1 -1
- package/dist/actions/geocode-address-body.mjs +1 -0
- package/dist/actions/geocode-address-body.mjs.map +1 -1
- package/dist/actions/geocode-address-forward.cjs +1 -0
- package/dist/actions/geocode-address-forward.cjs.map +1 -1
- package/dist/actions/geocode-address-forward.d.cts +3 -17
- package/dist/actions/geocode-address-forward.d.cts.map +1 -1
- package/dist/actions/geocode-address-forward.d.mts +3 -17
- package/dist/actions/geocode-address-forward.d.mts.map +1 -1
- package/dist/actions/geocode-address-forward.mjs +1 -0
- package/dist/actions/geocode-address-forward.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +1 -0
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +3 -8
- package/dist/actions/geocode-address.d.cts.map +1 -1
- package/dist/actions/geocode-address.d.mts +3 -8
- package/dist/actions/geocode-address.d.mts.map +1 -1
- package/dist/actions/geocode-address.mjs +1 -0
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-addresses.cjs +1 -0
- package/dist/actions/geocode-addresses.cjs.map +1 -1
- package/dist/actions/geocode-addresses.d.cts +3 -17
- package/dist/actions/geocode-addresses.d.cts.map +1 -1
- package/dist/actions/geocode-addresses.d.mts +3 -17
- package/dist/actions/geocode-addresses.d.mts.map +1 -1
- package/dist/actions/geocode-addresses.mjs +1 -0
- package/dist/actions/geocode-addresses.mjs.map +1 -1
- package/dist/actions/get-activity.cjs +1 -0
- package/dist/actions/get-activity.cjs.map +1 -1
- package/dist/actions/get-activity.d.cts +3 -6
- package/dist/actions/get-activity.d.cts.map +1 -1
- package/dist/actions/get-activity.d.mts +3 -6
- package/dist/actions/get-activity.d.mts.map +1 -1
- package/dist/actions/get-activity.mjs +1 -0
- package/dist/actions/get-activity.mjs.map +1 -1
- package/dist/actions/get-address-book-groups.cjs +1 -0
- package/dist/actions/get-address-book-groups.cjs.map +1 -1
- package/dist/actions/get-address-book-groups.d.cts +3 -1
- package/dist/actions/get-address-book-groups.d.cts.map +1 -1
- package/dist/actions/get-address-book-groups.d.mts +3 -1
- package/dist/actions/get-address-book-groups.d.mts.map +1 -1
- package/dist/actions/get-address-book-groups.mjs +1 -0
- package/dist/actions/get-address-book-groups.mjs.map +1 -1
- package/dist/actions/get-address.cjs +1 -0
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +3 -5
- package/dist/actions/get-address.d.cts.map +1 -1
- package/dist/actions/get-address.d.mts +3 -5
- package/dist/actions/get-address.d.mts.map +1 -1
- package/dist/actions/get-address.mjs +1 -0
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.cjs +1 -0
- package/dist/actions/get-addresses-from-addressbook.cjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.cts +3 -5
- package/dist/actions/get-addresses-from-addressbook.d.cts.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.mts +3 -5
- package/dist/actions/get-addresses-from-addressbook.d.mts.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.mjs +1 -0
- package/dist/actions/get-addresses-from-addressbook.mjs.map +1 -1
- package/dist/actions/get-async-export.cjs +1 -0
- package/dist/actions/get-async-export.cjs.map +1 -1
- package/dist/actions/get-async-export.d.cts +3 -13
- package/dist/actions/get-async-export.d.cts.map +1 -1
- package/dist/actions/get-async-export.d.mts +3 -13
- package/dist/actions/get-async-export.d.mts.map +1 -1
- package/dist/actions/get-async-export.mjs +1 -0
- package/dist/actions/get-async-export.mjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.cjs +1 -0
- package/dist/actions/get-avoidance-by-id.cjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.d.cts +3 -3
- package/dist/actions/get-avoidance-by-id.d.cts.map +1 -1
- package/dist/actions/get-avoidance-by-id.d.mts +3 -3
- package/dist/actions/get-avoidance-by-id.d.mts.map +1 -1
- package/dist/actions/get-avoidance-by-id.mjs +1 -0
- package/dist/actions/get-avoidance-by-id.mjs.map +1 -1
- package/dist/actions/get-avoidance2.cjs +1 -0
- package/dist/actions/get-avoidance2.cjs.map +1 -1
- package/dist/actions/get-avoidance2.d.cts +3 -5
- package/dist/actions/get-avoidance2.d.cts.map +1 -1
- package/dist/actions/get-avoidance2.d.mts +3 -5
- package/dist/actions/get-avoidance2.d.mts.map +1 -1
- package/dist/actions/get-avoidance2.mjs +1 -0
- package/dist/actions/get-avoidance2.mjs.map +1 -1
- package/dist/actions/get-clustered-locations.cjs +1 -0
- package/dist/actions/get-clustered-locations.cjs.map +1 -1
- package/dist/actions/get-clustered-locations.d.cts +3 -24
- package/dist/actions/get-clustered-locations.d.cts.map +1 -1
- package/dist/actions/get-clustered-locations.d.mts +3 -24
- package/dist/actions/get-clustered-locations.d.mts.map +1 -1
- package/dist/actions/get-clustered-locations.mjs +1 -0
- package/dist/actions/get-clustered-locations.mjs.map +1 -1
- package/dist/actions/get-current-member-information.cjs +1 -0
- package/dist/actions/get-current-member-information.cjs.map +1 -1
- package/dist/actions/get-current-member-information.d.cts +3 -1
- package/dist/actions/get-current-member-information.d.cts.map +1 -1
- package/dist/actions/get-current-member-information.d.mts +3 -1
- package/dist/actions/get-current-member-information.d.mts.map +1 -1
- package/dist/actions/get-current-member-information.mjs +1 -0
- package/dist/actions/get-current-member-information.mjs.map +1 -1
- package/dist/actions/get-feed.cjs +1 -0
- package/dist/actions/get-feed.cjs.map +1 -1
- package/dist/actions/get-feed.d.cts +3 -11
- package/dist/actions/get-feed.d.cts.map +1 -1
- package/dist/actions/get-feed.d.mts +3 -11
- package/dist/actions/get-feed.d.mts.map +1 -1
- package/dist/actions/get-feed.mjs +1 -0
- package/dist/actions/get-feed.mjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.cjs +1 -0
- package/dist/actions/get-last-scheduled-route-member.cjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.d.cts +3 -3
- package/dist/actions/get-last-scheduled-route-member.d.cts.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.d.mts +3 -3
- package/dist/actions/get-last-scheduled-route-member.d.mts.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.mjs +1 -0
- package/dist/actions/get-last-scheduled-route-member.mjs.map +1 -1
- package/dist/actions/get-location-heatmap.cjs +1 -0
- package/dist/actions/get-location-heatmap.cjs.map +1 -1
- package/dist/actions/get-location-heatmap.d.cts +3 -11
- package/dist/actions/get-location-heatmap.d.cts.map +1 -1
- package/dist/actions/get-location-heatmap.d.mts +3 -11
- package/dist/actions/get-location-heatmap.d.mts.map +1 -1
- package/dist/actions/get-location-heatmap.mjs +1 -0
- package/dist/actions/get-location-heatmap.mjs.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.cjs +1 -0
- package/dist/actions/get-location-servicetime-heatmap.cjs.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.d.cts +3 -6
- package/dist/actions/get-location-servicetime-heatmap.d.cts.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.d.mts +3 -6
- package/dist/actions/get-location-servicetime-heatmap.d.mts.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.mjs +1 -0
- package/dist/actions/get-location-servicetime-heatmap.mjs.map +1 -1
- package/dist/actions/get-location-type.cjs +1 -0
- package/dist/actions/get-location-type.cjs.map +1 -1
- package/dist/actions/get-location-type.d.cts +3 -3
- package/dist/actions/get-location-type.d.cts.map +1 -1
- package/dist/actions/get-location-type.d.mts +3 -3
- package/dist/actions/get-location-type.d.mts.map +1 -1
- package/dist/actions/get-location-type.mjs +1 -0
- package/dist/actions/get-location-type.mjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.cjs +1 -0
- package/dist/actions/get-member-configuration-settings.cjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.d.cts +3 -4
- package/dist/actions/get-member-configuration-settings.d.cts.map +1 -1
- package/dist/actions/get-member-configuration-settings.d.mts +3 -4
- package/dist/actions/get-member-configuration-settings.d.mts.map +1 -1
- package/dist/actions/get-member-configuration-settings.mjs +1 -0
- package/dist/actions/get-member-configuration-settings.mjs.map +1 -1
- package/dist/actions/get-note-custom-types.cjs +1 -0
- package/dist/actions/get-note-custom-types.cjs.map +1 -1
- package/dist/actions/get-note-custom-types.d.cts +3 -1
- package/dist/actions/get-note-custom-types.d.cts.map +1 -1
- package/dist/actions/get-note-custom-types.d.mts +3 -1
- package/dist/actions/get-note-custom-types.d.mts.map +1 -1
- package/dist/actions/get-note-custom-types.mjs +1 -0
- package/dist/actions/get-note-custom-types.mjs.map +1 -1
- package/dist/actions/get-optimization-profile.cjs +1 -0
- package/dist/actions/get-optimization-profile.cjs.map +1 -1
- package/dist/actions/get-optimization-profile.d.cts +3 -3
- package/dist/actions/get-optimization-profile.d.cts.map +1 -1
- package/dist/actions/get-optimization-profile.d.mts +3 -3
- package/dist/actions/get-optimization-profile.d.mts.map +1 -1
- package/dist/actions/get-optimization-profile.mjs +1 -0
- package/dist/actions/get-optimization-profile.mjs.map +1 -1
- package/dist/actions/get-route-destination-by-id.cjs +1 -0
- package/dist/actions/get-route-destination-by-id.cjs.map +1 -1
- package/dist/actions/get-route-destination-by-id.d.cts +3 -3
- package/dist/actions/get-route-destination-by-id.d.cts.map +1 -1
- package/dist/actions/get-route-destination-by-id.d.mts +3 -3
- package/dist/actions/get-route-destination-by-id.d.mts.map +1 -1
- package/dist/actions/get-route-destination-by-id.mjs +1 -0
- package/dist/actions/get-route-destination-by-id.mjs.map +1 -1
- package/dist/actions/get-route-info.cjs +1 -0
- package/dist/actions/get-route-info.cjs.map +1 -1
- package/dist/actions/get-route-info.d.cts +3 -8
- package/dist/actions/get-route-info.d.cts.map +1 -1
- package/dist/actions/get-route-info.d.mts +3 -8
- package/dist/actions/get-route-info.d.mts.map +1 -1
- package/dist/actions/get-route-info.mjs +1 -0
- package/dist/actions/get-route-info.mjs.map +1 -1
- package/dist/actions/get-route-list.cjs +1 -0
- package/dist/actions/get-route-list.cjs.map +1 -1
- package/dist/actions/get-route-list.d.cts +3 -33
- package/dist/actions/get-route-list.d.cts.map +1 -1
- package/dist/actions/get-route-list.d.mts +3 -33
- package/dist/actions/get-route-list.d.mts.map +1 -1
- package/dist/actions/get-route-list.mjs +1 -0
- package/dist/actions/get-route-list.mjs.map +1 -1
- package/dist/actions/get-route-settings.cjs +1 -0
- package/dist/actions/get-route-settings.cjs.map +1 -1
- package/dist/actions/get-route-settings.d.cts +3 -3
- package/dist/actions/get-route-settings.d.cts.map +1 -1
- package/dist/actions/get-route-settings.d.mts +3 -3
- package/dist/actions/get-route-settings.d.mts.map +1 -1
- package/dist/actions/get-route-settings.mjs +1 -0
- package/dist/actions/get-route-settings.mjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.cjs +1 -0
- package/dist/actions/get-territories-with-location-counts.cjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.d.cts +3 -23
- package/dist/actions/get-territories-with-location-counts.d.cts.map +1 -1
- package/dist/actions/get-territories-with-location-counts.d.mts +3 -23
- package/dist/actions/get-territories-with-location-counts.d.mts.map +1 -1
- package/dist/actions/get-territories-with-location-counts.mjs +1 -0
- package/dist/actions/get-territories-with-location-counts.mjs.map +1 -1
- package/dist/actions/get-territory.cjs +1 -0
- package/dist/actions/get-territory.cjs.map +1 -1
- package/dist/actions/get-territory.d.cts +3 -4
- package/dist/actions/get-territory.d.cts.map +1 -1
- package/dist/actions/get-territory.d.mts +3 -4
- package/dist/actions/get-territory.d.mts.map +1 -1
- package/dist/actions/get-territory.mjs +1 -0
- package/dist/actions/get-territory.mjs.map +1 -1
- package/dist/actions/get-tracking-history-export.cjs +1 -0
- package/dist/actions/get-tracking-history-export.cjs.map +1 -1
- package/dist/actions/get-tracking-history-export.d.cts +3 -14
- package/dist/actions/get-tracking-history-export.d.cts.map +1 -1
- package/dist/actions/get-tracking-history-export.d.mts +3 -14
- package/dist/actions/get-tracking-history-export.d.mts.map +1 -1
- package/dist/actions/get-tracking-history-export.mjs +1 -0
- package/dist/actions/get-tracking-history-export.mjs.map +1 -1
- package/dist/actions/get-tracking.cjs +1 -0
- package/dist/actions/get-tracking.cjs.map +1 -1
- package/dist/actions/get-tracking.d.cts +3 -17
- package/dist/actions/get-tracking.d.cts.map +1 -1
- package/dist/actions/get-tracking.d.mts +3 -17
- package/dist/actions/get-tracking.d.mts.map +1 -1
- package/dist/actions/get-tracking.mjs +1 -0
- package/dist/actions/get-tracking.mjs.map +1 -1
- package/dist/actions/get-user-by-id.cjs +1 -0
- package/dist/actions/get-user-by-id.cjs.map +1 -1
- package/dist/actions/get-user-by-id.d.cts +3 -3
- package/dist/actions/get-user-by-id.d.cts.map +1 -1
- package/dist/actions/get-user-by-id.d.mts +3 -3
- package/dist/actions/get-user-by-id.d.mts.map +1 -1
- package/dist/actions/get-user-by-id.mjs +1 -0
- package/dist/actions/get-user-by-id.mjs.map +1 -1
- package/dist/actions/get-user-locations.cjs +1 -0
- package/dist/actions/get-user-locations.cjs.map +1 -1
- package/dist/actions/get-user-locations.d.cts +3 -1
- package/dist/actions/get-user-locations.d.cts.map +1 -1
- package/dist/actions/get-user-locations.d.mts +3 -1
- package/dist/actions/get-user-locations.d.mts.map +1 -1
- package/dist/actions/get-user-locations.mjs +1 -0
- package/dist/actions/get-user-locations.mjs.map +1 -1
- package/dist/actions/get-user-modification-history.cjs +1 -0
- package/dist/actions/get-user-modification-history.cjs.map +1 -1
- package/dist/actions/get-user-modification-history.d.cts +3 -3
- package/dist/actions/get-user-modification-history.d.cts.map +1 -1
- package/dist/actions/get-user-modification-history.d.mts +3 -3
- package/dist/actions/get-user-modification-history.d.mts.map +1 -1
- package/dist/actions/get-user-modification-history.mjs +1 -0
- package/dist/actions/get-user-modification-history.mjs.map +1 -1
- package/dist/actions/get-user-template.cjs +1 -0
- package/dist/actions/get-user-template.cjs.map +1 -1
- package/dist/actions/get-user-template.d.cts +3 -1
- package/dist/actions/get-user-template.d.cts.map +1 -1
- package/dist/actions/get-user-template.d.mts +3 -1
- package/dist/actions/get-user-template.d.mts.map +1 -1
- package/dist/actions/get-user-template.mjs +1 -0
- package/dist/actions/get-user-template.mjs.map +1 -1
- package/dist/actions/get-user-v4.cjs +1 -0
- package/dist/actions/get-user-v4.cjs.map +1 -1
- package/dist/actions/get-user-v4.d.cts +3 -1
- package/dist/actions/get-user-v4.d.cts.map +1 -1
- package/dist/actions/get-user-v4.d.mts +3 -1
- package/dist/actions/get-user-v4.d.mts.map +1 -1
- package/dist/actions/get-user-v4.mjs +1 -0
- package/dist/actions/get-user-v4.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.cts +3 -7
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.mts +3 -7
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.cts +3 -3
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.mts +3 -3
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.cts +3 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.mts +3 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profiles.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.d.cts +3 -6
- package/dist/actions/get-vehicle-capacity-profiles.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.d.mts +3 -6
- package/dist/actions/get-vehicle-capacity-profiles.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profiles.mjs.map +1 -1
- package/dist/actions/get-vehicle.cjs +1 -0
- package/dist/actions/get-vehicle.cjs.map +1 -1
- package/dist/actions/get-vehicle.d.cts +3 -1
- package/dist/actions/get-vehicle.d.cts.map +1 -1
- package/dist/actions/get-vehicle.d.mts +3 -1
- package/dist/actions/get-vehicle.d.mts.map +1 -1
- package/dist/actions/get-vehicle.mjs +1 -0
- package/dist/actions/get-vehicle.mjs.map +1 -1
- package/dist/actions/list-location-types.cjs +1 -0
- package/dist/actions/list-location-types.cjs.map +1 -1
- package/dist/actions/list-location-types.d.cts +3 -1
- package/dist/actions/list-location-types.d.cts.map +1 -1
- package/dist/actions/list-location-types.d.mts +3 -1
- package/dist/actions/list-location-types.d.mts.map +1 -1
- package/dist/actions/list-location-types.mjs +1 -0
- package/dist/actions/list-location-types.mjs.map +1 -1
- package/dist/actions/list-optimization-profiles.cjs +1 -0
- package/dist/actions/list-optimization-profiles.cjs.map +1 -1
- package/dist/actions/list-optimization-profiles.d.cts +3 -3
- package/dist/actions/list-optimization-profiles.d.cts.map +1 -1
- package/dist/actions/list-optimization-profiles.d.mts +3 -3
- package/dist/actions/list-optimization-profiles.d.mts.map +1 -1
- package/dist/actions/list-optimization-profiles.mjs +1 -0
- package/dist/actions/list-optimization-profiles.mjs.map +1 -1
- package/dist/actions/list-optimizations.cjs +1 -0
- package/dist/actions/list-optimizations.cjs.map +1 -1
- package/dist/actions/list-optimizations.d.cts +3 -8
- package/dist/actions/list-optimizations.d.cts.map +1 -1
- package/dist/actions/list-optimizations.d.mts +3 -8
- package/dist/actions/list-optimizations.d.mts.map +1 -1
- package/dist/actions/list-optimizations.mjs +1 -0
- package/dist/actions/list-optimizations.mjs.map +1 -1
- package/dist/actions/list-order-custom-fields.cjs +1 -0
- package/dist/actions/list-order-custom-fields.cjs.map +1 -1
- package/dist/actions/list-order-custom-fields.d.cts +3 -1
- package/dist/actions/list-order-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-order-custom-fields.d.mts +3 -1
- package/dist/actions/list-order-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-order-custom-fields.mjs +1 -0
- package/dist/actions/list-order-custom-fields.mjs.map +1 -1
- package/dist/actions/list-route-directions.cjs +1 -0
- package/dist/actions/list-route-directions.cjs.map +1 -1
- package/dist/actions/list-route-directions.d.cts +3 -5
- package/dist/actions/list-route-directions.d.cts.map +1 -1
- package/dist/actions/list-route-directions.d.mts +3 -5
- package/dist/actions/list-route-directions.d.mts.map +1 -1
- package/dist/actions/list-route-directions.mjs +1 -0
- package/dist/actions/list-route-directions.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +1 -0
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +3 -4
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -4
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +1 -0
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-users-by-ids.cjs +1 -0
- package/dist/actions/list-users-by-ids.cjs.map +1 -1
- package/dist/actions/list-users-by-ids.d.cts +3 -3
- package/dist/actions/list-users-by-ids.d.cts.map +1 -1
- package/dist/actions/list-users-by-ids.d.mts +3 -3
- package/dist/actions/list-users-by-ids.d.mts.map +1 -1
- package/dist/actions/list-users-by-ids.mjs +1 -0
- package/dist/actions/list-users-by-ids.mjs.map +1 -1
- package/dist/actions/list-users-paginated.cjs +1 -0
- package/dist/actions/list-users-paginated.cjs.map +1 -1
- package/dist/actions/list-users-paginated.d.cts +3 -8
- package/dist/actions/list-users-paginated.d.cts.map +1 -1
- package/dist/actions/list-users-paginated.d.mts +3 -8
- package/dist/actions/list-users-paginated.d.mts.map +1 -1
- package/dist/actions/list-users-paginated.mjs +1 -0
- package/dist/actions/list-users-paginated.mjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.cjs +1 -0
- package/dist/actions/lookup-for-new-destination.cjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.d.cts +3 -9
- package/dist/actions/lookup-for-new-destination.d.cts.map +1 -1
- package/dist/actions/lookup-for-new-destination.d.mts +3 -9
- package/dist/actions/lookup-for-new-destination.d.mts.map +1 -1
- package/dist/actions/lookup-for-new-destination.mjs +1 -0
- package/dist/actions/lookup-for-new-destination.mjs.map +1 -1
- package/dist/actions/merge-routes.cjs +1 -0
- package/dist/actions/merge-routes.cjs.map +1 -1
- package/dist/actions/merge-routes.d.cts +3 -4
- package/dist/actions/merge-routes.d.cts.map +1 -1
- package/dist/actions/merge-routes.d.mts +3 -4
- package/dist/actions/merge-routes.d.mts.map +1 -1
- package/dist/actions/merge-routes.mjs +1 -0
- package/dist/actions/merge-routes.mjs.map +1 -1
- package/dist/actions/move-route.cjs +1 -0
- package/dist/actions/move-route.cjs.map +1 -1
- package/dist/actions/move-route.d.cts +3 -5
- package/dist/actions/move-route.d.cts.map +1 -1
- package/dist/actions/move-route.d.mts +3 -5
- package/dist/actions/move-route.d.mts.map +1 -1
- package/dist/actions/move-route.mjs +1 -0
- package/dist/actions/move-route.mjs.map +1 -1
- package/dist/actions/preview-route-assignment.cjs +1 -0
- package/dist/actions/preview-route-assignment.cjs.map +1 -1
- package/dist/actions/preview-route-assignment.d.cts +3 -16
- package/dist/actions/preview-route-assignment.d.cts.map +1 -1
- package/dist/actions/preview-route-assignment.d.mts +3 -16
- package/dist/actions/preview-route-assignment.d.mts.map +1 -1
- package/dist/actions/preview-route-assignment.mjs +1 -0
- package/dist/actions/preview-route-assignment.mjs.map +1 -1
- package/dist/actions/rerun-optimization.cjs +1 -0
- package/dist/actions/rerun-optimization.cjs.map +1 -1
- package/dist/actions/rerun-optimization.d.cts +3 -64
- package/dist/actions/rerun-optimization.d.cts.map +1 -1
- package/dist/actions/rerun-optimization.d.mts +3 -64
- package/dist/actions/rerun-optimization.d.mts.map +1 -1
- package/dist/actions/rerun-optimization.mjs +1 -0
- package/dist/actions/rerun-optimization.mjs.map +1 -1
- package/dist/actions/reverse-geocode-address.cjs +1 -0
- package/dist/actions/reverse-geocode-address.cjs.map +1 -1
- package/dist/actions/reverse-geocode-address.d.cts +3 -8
- package/dist/actions/reverse-geocode-address.d.cts.map +1 -1
- package/dist/actions/reverse-geocode-address.d.mts +3 -8
- package/dist/actions/reverse-geocode-address.d.mts.map +1 -1
- package/dist/actions/reverse-geocode-address.mjs +1 -0
- package/dist/actions/reverse-geocode-address.mjs.map +1 -1
- package/dist/actions/set-destination-status.cjs +1 -0
- package/dist/actions/set-destination-status.cjs.map +1 -1
- package/dist/actions/set-destination-status.d.cts +3 -5
- package/dist/actions/set-destination-status.d.cts.map +1 -1
- package/dist/actions/set-destination-status.d.mts +3 -5
- package/dist/actions/set-destination-status.d.mts.map +1 -1
- package/dist/actions/set-destination-status.mjs +1 -0
- package/dist/actions/set-destination-status.mjs.map +1 -1
- package/dist/actions/set-route-rating.cjs +1 -0
- package/dist/actions/set-route-rating.cjs.map +1 -1
- package/dist/actions/set-route-rating.d.cts +3 -4
- package/dist/actions/set-route-rating.d.cts.map +1 -1
- package/dist/actions/set-route-rating.d.mts +3 -4
- package/dist/actions/set-route-rating.d.mts.map +1 -1
- package/dist/actions/set-route-rating.mjs +1 -0
- package/dist/actions/set-route-rating.mjs.map +1 -1
- package/dist/actions/set-tracking.cjs +1 -0
- package/dist/actions/set-tracking.cjs.map +1 -1
- package/dist/actions/set-tracking.d.cts +3 -15
- package/dist/actions/set-tracking.d.cts.map +1 -1
- package/dist/actions/set-tracking.d.mts +3 -15
- package/dist/actions/set-tracking.d.mts.map +1 -1
- package/dist/actions/set-tracking.mjs +1 -0
- package/dist/actions/set-tracking.mjs.map +1 -1
- package/dist/actions/update-address.cjs +1 -0
- package/dist/actions/update-address.cjs.map +1 -1
- package/dist/actions/update-address.d.cts +3 -20
- package/dist/actions/update-address.d.cts.map +1 -1
- package/dist/actions/update-address.d.mts +3 -20
- package/dist/actions/update-address.d.mts.map +1 -1
- package/dist/actions/update-address.mjs +1 -0
- package/dist/actions/update-address.mjs.map +1 -1
- package/dist/actions/update-avoidance.cjs +1 -0
- package/dist/actions/update-avoidance.cjs.map +1 -1
- package/dist/actions/update-avoidance.d.cts +3 -9
- package/dist/actions/update-avoidance.d.cts.map +1 -1
- package/dist/actions/update-avoidance.d.mts +3 -9
- package/dist/actions/update-avoidance.d.mts.map +1 -1
- package/dist/actions/update-avoidance.mjs +1 -0
- package/dist/actions/update-avoidance.mjs.map +1 -1
- package/dist/actions/update-location-type.cjs +1 -0
- package/dist/actions/update-location-type.cjs.map +1 -1
- package/dist/actions/update-location-type.d.cts +3 -7
- package/dist/actions/update-location-type.d.cts.map +1 -1
- package/dist/actions/update-location-type.d.mts +3 -7
- package/dist/actions/update-location-type.d.mts.map +1 -1
- package/dist/actions/update-location-type.mjs +1 -0
- package/dist/actions/update-location-type.mjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.cjs +1 -0
- package/dist/actions/update-member-configuration-setting.cjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.d.cts +3 -4
- package/dist/actions/update-member-configuration-setting.d.cts.map +1 -1
- package/dist/actions/update-member-configuration-setting.d.mts +3 -4
- package/dist/actions/update-member-configuration-setting.d.mts.map +1 -1
- package/dist/actions/update-member-configuration-setting.mjs +1 -0
- package/dist/actions/update-member-configuration-setting.mjs.map +1 -1
- package/dist/actions/update-note-custom-type.cjs +1 -0
- package/dist/actions/update-note-custom-type.cjs.map +1 -1
- package/dist/actions/update-note-custom-type.d.cts +3 -5
- package/dist/actions/update-note-custom-type.d.cts.map +1 -1
- package/dist/actions/update-note-custom-type.d.mts +3 -5
- package/dist/actions/update-note-custom-type.d.mts.map +1 -1
- package/dist/actions/update-note-custom-type.mjs +1 -0
- package/dist/actions/update-note-custom-type.mjs.map +1 -1
- package/dist/actions/update-optimization-profile.cjs +1 -0
- package/dist/actions/update-optimization-profile.cjs.map +1 -1
- package/dist/actions/update-optimization-profile.d.cts +3 -12
- package/dist/actions/update-optimization-profile.d.cts.map +1 -1
- package/dist/actions/update-optimization-profile.d.mts +3 -12
- package/dist/actions/update-optimization-profile.d.mts.map +1 -1
- package/dist/actions/update-optimization-profile.mjs +1 -0
- package/dist/actions/update-optimization-profile.mjs.map +1 -1
- package/dist/actions/update-order-custom-field.cjs +1 -0
- package/dist/actions/update-order-custom-field.cjs.map +1 -1
- package/dist/actions/update-order-custom-field.d.cts +3 -6
- package/dist/actions/update-order-custom-field.d.cts.map +1 -1
- package/dist/actions/update-order-custom-field.d.mts +3 -6
- package/dist/actions/update-order-custom-field.d.mts.map +1 -1
- package/dist/actions/update-order-custom-field.mjs +1 -0
- package/dist/actions/update-order-custom-field.mjs.map +1 -1
- package/dist/actions/update-route-settings.cjs +1 -0
- package/dist/actions/update-route-settings.cjs.map +1 -1
- package/dist/actions/update-route-settings.d.cts +3 -10
- package/dist/actions/update-route-settings.d.cts.map +1 -1
- package/dist/actions/update-route-settings.d.mts +3 -10
- package/dist/actions/update-route-settings.d.mts.map +1 -1
- package/dist/actions/update-route-settings.mjs +1 -0
- package/dist/actions/update-route-settings.mjs.map +1 -1
- package/dist/actions/update-route-v4.cjs +1 -0
- package/dist/actions/update-route-v4.cjs.map +1 -1
- package/dist/actions/update-route-v4.d.cts +3 -9
- package/dist/actions/update-route-v4.d.cts.map +1 -1
- package/dist/actions/update-route-v4.d.mts +3 -9
- package/dist/actions/update-route-v4.d.mts.map +1 -1
- package/dist/actions/update-route-v4.mjs +1 -0
- package/dist/actions/update-route-v4.mjs.map +1 -1
- package/dist/actions/update-routes.cjs +1 -0
- package/dist/actions/update-routes.cjs.map +1 -1
- package/dist/actions/update-routes.d.cts +3 -12
- package/dist/actions/update-routes.d.cts.map +1 -1
- package/dist/actions/update-routes.d.mts +3 -12
- package/dist/actions/update-routes.d.mts.map +1 -1
- package/dist/actions/update-routes.mjs +1 -0
- package/dist/actions/update-routes.mjs.map +1 -1
- package/dist/actions/update-territory.cjs +1 -0
- package/dist/actions/update-territory.cjs.map +1 -1
- package/dist/actions/update-territory.d.cts +3 -9
- package/dist/actions/update-territory.d.cts.map +1 -1
- package/dist/actions/update-territory.d.mts +3 -9
- package/dist/actions/update-territory.d.mts.map +1 -1
- package/dist/actions/update-territory.mjs +1 -0
- package/dist/actions/update-territory.mjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.cts +3 -10
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.mts +3 -10
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-route-list.d.ts
|
|
@@ -94,39 +96,7 @@ declare const Route4meGetRouteListOutput: z.ZodObject<{
|
|
|
94
96
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
97
|
}, z.core.$loose>>>;
|
|
96
98
|
}, z.core.$loose>;
|
|
97
|
-
declare const route4meGetRouteList:
|
|
98
|
-
page?: number | undefined;
|
|
99
|
-
filters?: {
|
|
100
|
-
[x: string]: unknown;
|
|
101
|
-
route_id?: string | string[] | undefined;
|
|
102
|
-
is_master?: boolean | undefined;
|
|
103
|
-
member_id?: number | number[] | undefined;
|
|
104
|
-
contact_id?: string | undefined;
|
|
105
|
-
vehicle_id?: string | string[] | undefined;
|
|
106
|
-
created_date?: string[] | undefined;
|
|
107
|
-
facility_ids?: string[] | undefined;
|
|
108
|
-
is_roundtrip?: boolean | undefined;
|
|
109
|
-
route_status?: number[] | undefined;
|
|
110
|
-
schedule_date?: string[] | undefined;
|
|
111
|
-
trip_distance?: number[] | undefined;
|
|
112
|
-
algorithm_type?: number | undefined;
|
|
113
|
-
is_last_locked?: boolean | undefined;
|
|
114
|
-
route_duration?: number[] | undefined;
|
|
115
|
-
dispatched_date?: string[] | undefined;
|
|
116
|
-
master_route_id?: string | undefined;
|
|
117
|
-
depot_address_id?: string | undefined;
|
|
118
|
-
destination_count?: number[] | undefined;
|
|
119
|
-
original_route_id?: string | undefined;
|
|
120
|
-
actual_travel_time?: number[] | undefined;
|
|
121
|
-
approved_to_execute?: boolean | undefined;
|
|
122
|
-
actual_travel_distance?: number[] | undefined;
|
|
123
|
-
optimization_problem_id?: string | string[] | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
group_by?: string | undefined;
|
|
126
|
-
order_by?: string[][] | undefined;
|
|
127
|
-
per_page?: number | undefined;
|
|
128
|
-
timezone?: string | undefined;
|
|
129
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
99
|
+
declare const route4meGetRouteList: AppAction<typeof Route4meGetRouteListInput, typeof Route4meGetRouteListOutput, typeof route4me.credential>;
|
|
130
100
|
//#endregion
|
|
131
101
|
export { route4meGetRouteList };
|
|
132
102
|
//# sourceMappingURL=get-route-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-list.d.cts","names":[],"sources":["../../src/actions/get-route-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-route-list.d.cts","names":[],"sources":["../../src/actions/get-route-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2FzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-route-list.d.ts
|
|
@@ -94,39 +96,7 @@ declare const Route4meGetRouteListOutput: z.ZodObject<{
|
|
|
94
96
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
97
|
}, z.core.$loose>>>;
|
|
96
98
|
}, z.core.$loose>;
|
|
97
|
-
declare const route4meGetRouteList:
|
|
98
|
-
page?: number | undefined;
|
|
99
|
-
filters?: {
|
|
100
|
-
[x: string]: unknown;
|
|
101
|
-
route_id?: string | string[] | undefined;
|
|
102
|
-
is_master?: boolean | undefined;
|
|
103
|
-
member_id?: number | number[] | undefined;
|
|
104
|
-
contact_id?: string | undefined;
|
|
105
|
-
vehicle_id?: string | string[] | undefined;
|
|
106
|
-
created_date?: string[] | undefined;
|
|
107
|
-
facility_ids?: string[] | undefined;
|
|
108
|
-
is_roundtrip?: boolean | undefined;
|
|
109
|
-
route_status?: number[] | undefined;
|
|
110
|
-
schedule_date?: string[] | undefined;
|
|
111
|
-
trip_distance?: number[] | undefined;
|
|
112
|
-
algorithm_type?: number | undefined;
|
|
113
|
-
is_last_locked?: boolean | undefined;
|
|
114
|
-
route_duration?: number[] | undefined;
|
|
115
|
-
dispatched_date?: string[] | undefined;
|
|
116
|
-
master_route_id?: string | undefined;
|
|
117
|
-
depot_address_id?: string | undefined;
|
|
118
|
-
destination_count?: number[] | undefined;
|
|
119
|
-
original_route_id?: string | undefined;
|
|
120
|
-
actual_travel_time?: number[] | undefined;
|
|
121
|
-
approved_to_execute?: boolean | undefined;
|
|
122
|
-
actual_travel_distance?: number[] | undefined;
|
|
123
|
-
optimization_problem_id?: string | string[] | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
group_by?: string | undefined;
|
|
126
|
-
order_by?: string[][] | undefined;
|
|
127
|
-
per_page?: number | undefined;
|
|
128
|
-
timezone?: string | undefined;
|
|
129
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
99
|
+
declare const route4meGetRouteList: AppAction<typeof Route4meGetRouteListInput, typeof Route4meGetRouteListOutput, typeof route4me.credential>;
|
|
130
100
|
//#endregion
|
|
131
101
|
export { route4meGetRouteList };
|
|
132
102
|
//# sourceMappingURL=get-route-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-list.d.mts","names":[],"sources":["../../src/actions/get-route-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-route-list.d.mts","names":[],"sources":["../../src/actions/get-route-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2FzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-list.mjs","names":[],"sources":["../../src/actions/get-route-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetRouteListInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be at least 1.\").optional(),\n filters: z.object({\n route_id: z.union([z.string(), z.array(z.string())]).optional(),\n is_master: z.boolean().describe(\"Filter by master routes. True for master routes, False for non-master.\").optional(),\n member_id: z.union([z.number().int(), z.array(z.number().int())]).optional(),\n contact_id: z.string().describe(\"Filter routes by contact ID.\").optional(),\n vehicle_id: z.union([z.string(), z.array(z.string())]).optional(),\n created_date: z.array(z.string()).describe(\"Date range for route creation dates in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n facility_ids: z.array(z.string()).describe(\"List of facility IDs to filter by.\").optional(),\n is_roundtrip: z.boolean().describe(\"Filter by roundtrip routes. True for roundtrips, False for one-way routes.\").optional(),\n route_status: z.array(z.number().int()).describe(\"Array of route status IDs to filter by. Common values: 1=Active, 2=Complete, 3=Deleted.\").optional(),\n schedule_date: z.array(z.string()).describe(\"Date range for scheduled routes in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n trip_distance: z.array(z.number()).describe(\"Range of trip distances in miles [min, max]. Provide up to 2 numbers.\").optional(),\n algorithm_type: z.number().int().describe(\"Filter by algorithm type used for optimization.\").optional(),\n is_last_locked: z.boolean().describe(\"Filter by locked status. True for locked routes, False for unlocked.\").optional(),\n route_duration: z.array(z.number().int()).describe(\"Range of route durations in seconds [min, max]. Provide up to 2 integers.\").optional(),\n dispatched_date: z.array(z.string()).describe(\"Date range for route dispatch dates in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n master_route_id: z.string().describe(\"Filter routes by master route ID.\").optional(),\n depot_address_id: z.string().describe(\"Filter routes by depot address ID.\").optional(),\n destination_count: z.array(z.number().int()).describe(\"Range of destination counts [min, max]. Provide up to 2 integers.\").optional(),\n original_route_id: z.string().describe(\"Filter routes by original route ID.\").optional(),\n actual_travel_time: z.array(z.number().int()).describe(\"Range of actual travel times in seconds [min, max]. Provide up to 2 integers.\").optional(),\n approved_to_execute: z.boolean().describe(\"Filter by routes approved for execution. True for approved, False for not approved.\").optional(),\n actual_travel_distance: z.array(z.number()).describe(\"Range of actual travel distances in miles [min, max]. Provide up to 2 numbers.\").optional(),\n optimization_problem_id: z.union([z.string(), z.array(z.string())]).optional(),\n}).passthrough().describe(\"Filtering parameters for route queries.\").optional(),\n group_by: z.string().describe(\"Field name to group results by (e.g., 'vehicle_id', 'member_id').\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Array of [field, direction] pairs for sorting. Direction can be 'asc' or 'desc'. Example: [['route_id', 'asc'], ['schedule_date', 'desc']]\").optional(),\n per_page: z.number().int().default(50).describe(\"Number of results per page. Must be between 1 and 500.\").optional(),\n timezone: z.string().describe(\"IANA timezone string for date/time values in the response (e.g., 'America/New_York', 'UTC').\").optional(),\n}).describe(\"Request model for retrieving a list of routes with filtering and pagination.\");\nconst Route4meGetRouteList_RouteSchema = z.object({\n cube: z.number().describe(\"Total cube/volume for this route (in configured units).\").nullable().optional(),\n pieces: z.number().int().describe(\"Total number of pieces/items on this route.\").nullable().optional(),\n weight: z.number().describe(\"Total weight for this route (in configured units).\").nullable().optional(),\n revenue: z.number().describe(\"Total revenue associated with this route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"ID of the member assigned to this route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n vehicle_id: z.string().describe(\"ID of the vehicle assigned to this route.\").nullable().optional(),\n notes_count: z.number().int().describe(\"Number of notes associated with this route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Name or alias of the driver assigned to this route.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"List of facility IDs associated with this route.\").nullable().optional(),\n route_status: z.string().describe(\"Status description of the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Planned trip distance in miles.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Alias or name of the assigned vehicle.\").nullable().optional(),\n visited_count: z.number().int().describe(\"Number of destinations that have been visited.\").nullable().optional(),\n algorithm_type: z.number().int().describe(\"Algorithm type used for route optimization.\").nullable().optional(),\n route_progress: z.number().describe(\"Route completion progress as a percentage (0-100).\").nullable().optional(),\n master_route_id: z.string().describe(\"ID of the master route if this is a sub-route.\").nullable().optional(),\n route_status_id: z.number().int().describe(\"Numeric status ID for the route.\").nullable().optional(),\n destination_count: z.number().int().describe(\"Total number of destinations on this route.\").nullable().optional(),\n actual_travel_time: z.number().int().describe(\"Actual travel time in seconds.\").nullable().optional(),\n route_created_unix: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n approved_to_execute: z.boolean().describe(\"Whether the route is approved for execution.\").nullable().optional(),\n failed_destinations: z.number().int().describe(\"Number of destinations that failed.\").nullable().optional(),\n skipped_destinations: z.number().int().describe(\"Number of destinations that were skipped.\").nullable().optional(),\n planned_end_timestamp: z.number().int().describe(\"Unix timestamp for the planned route end.\").nullable().optional(),\n actual_start_timestamp: z.number().int().describe(\"Unix timestamp when the route actually started.\").nullable().optional(),\n actual_travel_distance: z.number().describe(\"Actual travel distance recorded in miles.\").nullable().optional(),\n actual_avg_service_time: z.number().int().describe(\"Average actual service time per destination in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"ID of the optimization problem that created this route.\").nullable().optional(),\n actual_cube_load_percent: z.number().describe(\"Actual cube load as a percentage of capacity (0-100).\").nullable().optional(),\n planned_total_break_time: z.number().int().describe(\"Total planned break time in seconds.\").nullable().optional(),\n destinations_arrived_late: z.number().int().describe(\"Number of destinations arrived at late.\").nullable().optional(),\n planned_cube_load_percent: z.number().describe(\"Planned cube load as a percentage of capacity (0-100).\").nullable().optional(),\n actual_weight_load_percent: z.number().describe(\"Actual weight load as a percentage of capacity (0-100).\").nullable().optional(),\n destinations_arrived_early: z.number().int().describe(\"Number of destinations arrived at early.\").nullable().optional(),\n planned_total_service_time: z.number().int().describe(\"Total planned service time for all destinations in seconds.\").nullable().optional(),\n route_scheduled_start_unix: z.number().int().describe(\"Unix timestamp for the scheduled route start.\").nullable().optional(),\n planned_weight_load_percent: z.number().describe(\"Planned weight load as a percentage of capacity (0-100).\").nullable().optional(),\n destinations_arrived_on_time: z.number().int().describe(\"Number of destinations arrived at on time.\").nullable().optional(),\n planned_total_route_duration: z.number().int().describe(\"Planned total duration of the route in seconds.\").nullable().optional(),\n merged_actual_travel_distance: z.number().describe(\"Merged actual travel distance from multiple tracking sources.\").nullable().optional(),\n}).passthrough().describe(\"Detailed route information returned by the API.\");\nconst Route4meGetRouteList_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records matching the query.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page requested.\").nullable().optional(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number being displayed.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about pagination state.\");\nconst Route4meGetRouteList_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page of results.\").nullable().optional(),\n next: z.string().describe(\"URL to the next page of results.\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n first: z.string().describe(\"URL to the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result pages.\");\nexport const Route4meGetRouteListOutput = z.object({\n data: z.array(Route4meGetRouteList_RouteSchema).describe(\"Array of route objects matching the filter criteria.\").nullable().optional(),\n meta: Route4meGetRouteList_PaginationMetaSchema.nullable().optional(),\n links: Route4meGetRouteList_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of routes with metadata.\");\n\nexport const route4meGetRouteList = action(\"ROUTE4ME_GET_ROUTE_LIST\", {\n slug: \"route4me-get-route-list\",\n name: \"Get Route List\",\n description: \"Tool to retrieve a list of routes with filtering and pagination. Returns detailed route information including status, assignments, destinations, distances, and delivery metrics. Use when you need to query routes by various criteria such as date, vehicle, driver, or status.\",\n input: Route4meGetRouteListInput,\n output: Route4meGetRouteListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,M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,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAOjF,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwC,EAAE,OAAO;EACjD,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-route-list.mjs","names":[],"sources":["../../src/actions/get-route-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetRouteListInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Must be at least 1.\").optional(),\n filters: z.object({\n route_id: z.union([z.string(), z.array(z.string())]).optional(),\n is_master: z.boolean().describe(\"Filter by master routes. True for master routes, False for non-master.\").optional(),\n member_id: z.union([z.number().int(), z.array(z.number().int())]).optional(),\n contact_id: z.string().describe(\"Filter routes by contact ID.\").optional(),\n vehicle_id: z.union([z.string(), z.array(z.string())]).optional(),\n created_date: z.array(z.string()).describe(\"Date range for route creation dates in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n facility_ids: z.array(z.string()).describe(\"List of facility IDs to filter by.\").optional(),\n is_roundtrip: z.boolean().describe(\"Filter by roundtrip routes. True for roundtrips, False for one-way routes.\").optional(),\n route_status: z.array(z.number().int()).describe(\"Array of route status IDs to filter by. Common values: 1=Active, 2=Complete, 3=Deleted.\").optional(),\n schedule_date: z.array(z.string()).describe(\"Date range for scheduled routes in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n trip_distance: z.array(z.number()).describe(\"Range of trip distances in miles [min, max]. Provide up to 2 numbers.\").optional(),\n algorithm_type: z.number().int().describe(\"Filter by algorithm type used for optimization.\").optional(),\n is_last_locked: z.boolean().describe(\"Filter by locked status. True for locked routes, False for unlocked.\").optional(),\n route_duration: z.array(z.number().int()).describe(\"Range of route durations in seconds [min, max]. Provide up to 2 integers.\").optional(),\n dispatched_date: z.array(z.string()).describe(\"Date range for route dispatch dates in ISO 8601 format. Provide up to 2 dates [start, end].\").optional(),\n master_route_id: z.string().describe(\"Filter routes by master route ID.\").optional(),\n depot_address_id: z.string().describe(\"Filter routes by depot address ID.\").optional(),\n destination_count: z.array(z.number().int()).describe(\"Range of destination counts [min, max]. Provide up to 2 integers.\").optional(),\n original_route_id: z.string().describe(\"Filter routes by original route ID.\").optional(),\n actual_travel_time: z.array(z.number().int()).describe(\"Range of actual travel times in seconds [min, max]. Provide up to 2 integers.\").optional(),\n approved_to_execute: z.boolean().describe(\"Filter by routes approved for execution. True for approved, False for not approved.\").optional(),\n actual_travel_distance: z.array(z.number()).describe(\"Range of actual travel distances in miles [min, max]. Provide up to 2 numbers.\").optional(),\n optimization_problem_id: z.union([z.string(), z.array(z.string())]).optional(),\n}).passthrough().describe(\"Filtering parameters for route queries.\").optional(),\n group_by: z.string().describe(\"Field name to group results by (e.g., 'vehicle_id', 'member_id').\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Array of [field, direction] pairs for sorting. Direction can be 'asc' or 'desc'. Example: [['route_id', 'asc'], ['schedule_date', 'desc']]\").optional(),\n per_page: z.number().int().default(50).describe(\"Number of results per page. Must be between 1 and 500.\").optional(),\n timezone: z.string().describe(\"IANA timezone string for date/time values in the response (e.g., 'America/New_York', 'UTC').\").optional(),\n}).describe(\"Request model for retrieving a list of routes with filtering and pagination.\");\nconst Route4meGetRouteList_RouteSchema = z.object({\n cube: z.number().describe(\"Total cube/volume for this route (in configured units).\").nullable().optional(),\n pieces: z.number().int().describe(\"Total number of pieces/items on this route.\").nullable().optional(),\n weight: z.number().describe(\"Total weight for this route (in configured units).\").nullable().optional(),\n revenue: z.number().describe(\"Total revenue associated with this route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"ID of the member assigned to this route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n vehicle_id: z.string().describe(\"ID of the vehicle assigned to this route.\").nullable().optional(),\n notes_count: z.number().int().describe(\"Number of notes associated with this route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Name or alias of the driver assigned to this route.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"List of facility IDs associated with this route.\").nullable().optional(),\n route_status: z.string().describe(\"Status description of the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Planned trip distance in miles.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Alias or name of the assigned vehicle.\").nullable().optional(),\n visited_count: z.number().int().describe(\"Number of destinations that have been visited.\").nullable().optional(),\n algorithm_type: z.number().int().describe(\"Algorithm type used for route optimization.\").nullable().optional(),\n route_progress: z.number().describe(\"Route completion progress as a percentage (0-100).\").nullable().optional(),\n master_route_id: z.string().describe(\"ID of the master route if this is a sub-route.\").nullable().optional(),\n route_status_id: z.number().int().describe(\"Numeric status ID for the route.\").nullable().optional(),\n destination_count: z.number().int().describe(\"Total number of destinations on this route.\").nullable().optional(),\n actual_travel_time: z.number().int().describe(\"Actual travel time in seconds.\").nullable().optional(),\n route_created_unix: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n approved_to_execute: z.boolean().describe(\"Whether the route is approved for execution.\").nullable().optional(),\n failed_destinations: z.number().int().describe(\"Number of destinations that failed.\").nullable().optional(),\n skipped_destinations: z.number().int().describe(\"Number of destinations that were skipped.\").nullable().optional(),\n planned_end_timestamp: z.number().int().describe(\"Unix timestamp for the planned route end.\").nullable().optional(),\n actual_start_timestamp: z.number().int().describe(\"Unix timestamp when the route actually started.\").nullable().optional(),\n actual_travel_distance: z.number().describe(\"Actual travel distance recorded in miles.\").nullable().optional(),\n actual_avg_service_time: z.number().int().describe(\"Average actual service time per destination in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"ID of the optimization problem that created this route.\").nullable().optional(),\n actual_cube_load_percent: z.number().describe(\"Actual cube load as a percentage of capacity (0-100).\").nullable().optional(),\n planned_total_break_time: z.number().int().describe(\"Total planned break time in seconds.\").nullable().optional(),\n destinations_arrived_late: z.number().int().describe(\"Number of destinations arrived at late.\").nullable().optional(),\n planned_cube_load_percent: z.number().describe(\"Planned cube load as a percentage of capacity (0-100).\").nullable().optional(),\n actual_weight_load_percent: z.number().describe(\"Actual weight load as a percentage of capacity (0-100).\").nullable().optional(),\n destinations_arrived_early: z.number().int().describe(\"Number of destinations arrived at early.\").nullable().optional(),\n planned_total_service_time: z.number().int().describe(\"Total planned service time for all destinations in seconds.\").nullable().optional(),\n route_scheduled_start_unix: z.number().int().describe(\"Unix timestamp for the scheduled route start.\").nullable().optional(),\n planned_weight_load_percent: z.number().describe(\"Planned weight load as a percentage of capacity (0-100).\").nullable().optional(),\n destinations_arrived_on_time: z.number().int().describe(\"Number of destinations arrived at on time.\").nullable().optional(),\n planned_total_route_duration: z.number().int().describe(\"Planned total duration of the route in seconds.\").nullable().optional(),\n merged_actual_travel_distance: z.number().describe(\"Merged actual travel distance from multiple tracking sources.\").nullable().optional(),\n}).passthrough().describe(\"Detailed route information returned by the API.\");\nconst Route4meGetRouteList_PaginationMetaSchema = z.object({\n to: z.number().int().describe(\"Ending record number on this page.\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number on this page.\").nullable().optional(),\n path: z.string().describe(\"Base path for pagination URLs.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records matching the query.\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page requested.\").nullable().optional(),\n last_page: z.number().int().describe(\"Total number of pages available.\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number being displayed.\").nullable().optional(),\n}).passthrough().describe(\"Metadata about pagination state.\");\nconst Route4meGetRouteList_PaginationLinksSchema = z.object({\n last: z.string().describe(\"URL to the last page of results.\").nullable().optional(),\n next: z.string().describe(\"URL to the next page of results.\").nullable().optional(),\n prev: z.string().describe(\"URL to the previous page of results.\").nullable().optional(),\n first: z.string().describe(\"URL to the first page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination links for navigating through result pages.\");\nexport const Route4meGetRouteListOutput = z.object({\n data: z.array(Route4meGetRouteList_RouteSchema).describe(\"Array of route objects matching the filter criteria.\").nullable().optional(),\n meta: Route4meGetRouteList_PaginationMetaSchema.nullable().optional(),\n links: Route4meGetRouteList_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of routes with metadata.\");\n\nexport const route4meGetRouteList: AppAction<\n typeof Route4meGetRouteListInput,\n typeof Route4meGetRouteListOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_ROUTE_LIST\", {\n slug: \"route4me-get-route-list\",\n name: \"Get Route List\",\n description: \"Tool to retrieve a list of routes with filtering and pagination. Returns detailed route information including status, assignments, destinations, distances, and delivery metrics. Use when you need to query routes by various criteria such as date, vehicle, driver, or status.\",\n input: Route4meGetRouteListInput,\n output: Route4meGetRouteListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,SAAS,EAAE,OAAO;EAClB,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EAChE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACnJ,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC1H,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,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DAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-route-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetRouteSettingsInput = z.object({\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving route settings.\");\nconst Route4meGetRouteSettings_WaypointAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n time: z.number().int().describe(\"Service time in seconds at this address.\").nullable().optional(),\n alias: z.string().describe(\"Address alias or name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n address: z.string().describe(\"Full address line.\").nullable().optional(),\n last_name: z.string().describe(\"Contact last name.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n first_name: z.string().describe(\"Contact first name.\").nullable().optional(),\n is_visited: z.boolean().describe(\"Whether the destination has been visited.\").nullable().optional(),\n is_departed: z.boolean().describe(\"Whether the driver has departed from this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number for the address in the route.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the waypoint.\").nullable().optional(),\n address_stop_type: z.string().describe(\"Type of stop (DELIVERY, PICKUP, BREAK, MEETUP, etc).\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the destination.\").nullable().optional(),\n}).passthrough().describe(\"Waypoint/destination address information within a route.\");\nconst Route4meGetRouteSettings_RouteParametersSchema = z.object({\n rt: z.boolean().describe(\"Whether to return to the start location.\").nullable().optional(),\n parts: z.number().int().describe(\"Number of parts/segments to split the route into.\").nullable().optional(),\n optimize: z.string().describe(\"Optimization algorithm used (Distance, Time, timeWithTraffic, etc).\").nullable().optional(),\n is_upload: z.boolean().describe(\"Whether the route was uploaded from a file.\").nullable().optional(),\n route_date: z.number().int().describe(\"Date the route was scheduled (Unix timestamp).\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n route_time: z.number().int().describe(\"Time the route was scheduled (seconds since midnight).\").nullable().optional(),\n device_type: z.string().describe(\"Device type for route navigation (web, iphone, android, etc).\").nullable().optional(),\n route_email: z.string().describe(\"Email address for route notifications.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, Trucking, etc).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance unit used (mi for miles, km for kilometers).\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").nullable().optional(),\n}).passthrough().describe(\"Route optimization parameters and settings.\");\nexport const Route4meGetRouteSettingsOutput = z.object({\n links: z.record(z.string(), z.unknown()).describe(\"Related links and resources.\").nullable().optional(),\n notes: z.array(z.record(z.string(), z.unknown())).describe(\"Route notes and annotations.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meGetRouteSettings_WaypointAddressSchema).describe(\"List of waypoints/destinations with delivery details.\").nullable().optional(),\n member_id: z.number().int().describe(\"Member/user ID who owns the route.\").nullable().optional(),\n parameters: Route4meGetRouteSettings_RouteParametersSchema.nullable().optional(),\n route_cost: z.number().describe(\"Total estimated cost of the route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Driver identifier.\").nullable().optional(),\n member_email: z.string().describe(\"Email of route owner.\").nullable().optional(),\n route_pieces: z.number().int().describe(\"Total number of pieces/items.\").nullable().optional(),\n route_weight: z.number().describe(\"Combined weight of all shipments.\").nullable().optional(),\n route_revenue: z.number().describe(\"Total estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total route distance in the configured distance unit.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Assigned vehicle alias.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of route owner.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of route owner.\").nullable().optional(),\n approved_for_execution: z.boolean().describe(\"Whether the route has been approved for execution.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Parent optimization problem ID that generated this route.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed route settings information including waypoints, optimization settings, and delivery details.\");\n\nexport const route4meGetRouteSettings = action(\"ROUTE4ME_GET_ROUTE_SETTINGS\", {\n slug: \"route4me-get-route-settings\",\n name: \"Get Route Settings\",\n description: \"Tool to get route settings with detailed information including waypoints, optimization settings, and delivery details. Use when you need comprehensive configuration data for a specific route including all stops, delivery parameters, and optimization settings.\",\n input: Route4meGetRouteSettingsInput,\n output: Route4meGetRouteSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS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CAAC,SAAS,iIAAiI;AAE3J,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-route-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-route-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetRouteSettingsInput = z.object({\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving route settings.\");\nconst Route4meGetRouteSettings_WaypointAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n time: z.number().int().describe(\"Service time in seconds at this address.\").nullable().optional(),\n alias: z.string().describe(\"Address alias or name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n address: z.string().describe(\"Full address line.\").nullable().optional(),\n last_name: z.string().describe(\"Contact last name.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n first_name: z.string().describe(\"Contact first name.\").nullable().optional(),\n is_visited: z.boolean().describe(\"Whether the destination has been visited.\").nullable().optional(),\n is_departed: z.boolean().describe(\"Whether the driver has departed from this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number for the address in the route.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the waypoint.\").nullable().optional(),\n address_stop_type: z.string().describe(\"Type of stop (DELIVERY, PICKUP, BREAK, MEETUP, etc).\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the destination.\").nullable().optional(),\n}).passthrough().describe(\"Waypoint/destination address information within a route.\");\nconst Route4meGetRouteSettings_RouteParametersSchema = z.object({\n rt: z.boolean().describe(\"Whether to return to the start location.\").nullable().optional(),\n parts: z.number().int().describe(\"Number of parts/segments to split the route into.\").nullable().optional(),\n optimize: z.string().describe(\"Optimization algorithm used (Distance, Time, timeWithTraffic, etc).\").nullable().optional(),\n is_upload: z.boolean().describe(\"Whether the route was uploaded from a file.\").nullable().optional(),\n route_date: z.number().int().describe(\"Date the route was scheduled (Unix timestamp).\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n route_time: z.number().int().describe(\"Time the route was scheduled (seconds since midnight).\").nullable().optional(),\n device_type: z.string().describe(\"Device type for route navigation (web, iphone, android, etc).\").nullable().optional(),\n route_email: z.string().describe(\"Email address for route notifications.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, Trucking, etc).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance unit used (mi for miles, km for kilometers).\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").nullable().optional(),\n}).passthrough().describe(\"Route optimization parameters and settings.\");\nexport const Route4meGetRouteSettingsOutput = z.object({\n links: z.record(z.string(), z.unknown()).describe(\"Related links and resources.\").nullable().optional(),\n notes: z.array(z.record(z.string(), z.unknown())).describe(\"Route notes and annotations.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meGetRouteSettings_WaypointAddressSchema).describe(\"List of waypoints/destinations with delivery details.\").nullable().optional(),\n member_id: z.number().int().describe(\"Member/user ID who owns the route.\").nullable().optional(),\n parameters: Route4meGetRouteSettings_RouteParametersSchema.nullable().optional(),\n route_cost: z.number().describe(\"Total estimated cost of the route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Driver identifier.\").nullable().optional(),\n member_email: z.string().describe(\"Email of route owner.\").nullable().optional(),\n route_pieces: z.number().int().describe(\"Total number of pieces/items.\").nullable().optional(),\n route_weight: z.number().describe(\"Combined weight of all shipments.\").nullable().optional(),\n route_revenue: z.number().describe(\"Total estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total route distance in the configured distance unit.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Assigned vehicle alias.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of route owner.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of route owner.\").nullable().optional(),\n approved_for_execution: z.boolean().describe(\"Whether the route has been approved for execution.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Parent optimization problem ID that generated this route.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed route settings information including waypoints, optimization settings, and delivery details.\");\n\nexport const route4meGetRouteSettings: AppAction<\n typeof Route4meGetRouteSettingsInput,\n typeof Route4meGetRouteSettingsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_ROUTE_SETTINGS\", {\n slug: \"route4me-get-route-settings\",\n name: \"Get Route Settings\",\n description: \"Tool to get route settings with detailed information including waypoints, optimization settings, and delivery details. Use when you need comprehensive configuration data for a specific route including all stops, delivery parameters, and optimization settings.\",\n input: Route4meGetRouteSettingsInput,\n output: Route4meGetRouteSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EA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C,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iIAAiI;AAE3J,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-route-settings.d.ts
|
|
@@ -56,9 +58,7 @@ declare const Route4meGetRouteSettingsOutput: z.ZodObject<{
|
|
|
56
58
|
approved_for_execution: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
57
59
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
}, z.core.$loose>;
|
|
59
|
-
declare const route4meGetRouteSettings:
|
|
60
|
-
route_id: string;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
61
|
+
declare const route4meGetRouteSettings: AppAction<typeof Route4meGetRouteSettingsInput, typeof Route4meGetRouteSettingsOutput, typeof route4me.credential>;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { route4meGetRouteSettings };
|
|
64
64
|
//# sourceMappingURL=get-route-settings.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-settings.d.cts","names":[],"sources":["../../src/actions/get-route-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-route-settings.d.cts","names":[],"sources":["../../src/actions/get-route-settings.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-route-settings.d.ts
|
|
@@ -56,9 +58,7 @@ declare const Route4meGetRouteSettingsOutput: z.ZodObject<{
|
|
|
56
58
|
approved_for_execution: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
57
59
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
60
|
}, z.core.$loose>;
|
|
59
|
-
declare const route4meGetRouteSettings:
|
|
60
|
-
route_id: string;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
61
|
+
declare const route4meGetRouteSettings: AppAction<typeof Route4meGetRouteSettingsInput, typeof Route4meGetRouteSettingsOutput, typeof route4me.credential>;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { route4meGetRouteSettings };
|
|
64
64
|
//# sourceMappingURL=get-route-settings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-settings.d.mts","names":[],"sources":["../../src/actions/get-route-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-route-settings.d.mts","names":[],"sources":["../../src/actions/get-route-settings.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAqC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-route-settings.mjs","names":[],"sources":["../../src/actions/get-route-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetRouteSettingsInput = z.object({\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving route settings.\");\nconst Route4meGetRouteSettings_WaypointAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n time: z.number().int().describe(\"Service time in seconds at this address.\").nullable().optional(),\n alias: z.string().describe(\"Address alias or name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n address: z.string().describe(\"Full address line.\").nullable().optional(),\n last_name: z.string().describe(\"Contact last name.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n first_name: z.string().describe(\"Contact first name.\").nullable().optional(),\n is_visited: z.boolean().describe(\"Whether the destination has been visited.\").nullable().optional(),\n is_departed: z.boolean().describe(\"Whether the driver has departed from this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number for the address in the route.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the waypoint.\").nullable().optional(),\n address_stop_type: z.string().describe(\"Type of stop (DELIVERY, PICKUP, BREAK, MEETUP, etc).\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the destination.\").nullable().optional(),\n}).passthrough().describe(\"Waypoint/destination address information within a route.\");\nconst Route4meGetRouteSettings_RouteParametersSchema = z.object({\n rt: z.boolean().describe(\"Whether to return to the start location.\").nullable().optional(),\n parts: z.number().int().describe(\"Number of parts/segments to split the route into.\").nullable().optional(),\n optimize: z.string().describe(\"Optimization algorithm used (Distance, Time, timeWithTraffic, etc).\").nullable().optional(),\n is_upload: z.boolean().describe(\"Whether the route was uploaded from a file.\").nullable().optional(),\n route_date: z.number().int().describe(\"Date the route was scheduled (Unix timestamp).\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n route_time: z.number().int().describe(\"Time the route was scheduled (seconds since midnight).\").nullable().optional(),\n device_type: z.string().describe(\"Device type for route navigation (web, iphone, android, etc).\").nullable().optional(),\n route_email: z.string().describe(\"Email address for route notifications.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, Trucking, etc).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance unit used (mi for miles, km for kilometers).\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").nullable().optional(),\n}).passthrough().describe(\"Route optimization parameters and settings.\");\nexport const Route4meGetRouteSettingsOutput = z.object({\n links: z.record(z.string(), z.unknown()).describe(\"Related links and resources.\").nullable().optional(),\n notes: z.array(z.record(z.string(), z.unknown())).describe(\"Route notes and annotations.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meGetRouteSettings_WaypointAddressSchema).describe(\"List of waypoints/destinations with delivery details.\").nullable().optional(),\n member_id: z.number().int().describe(\"Member/user ID who owns the route.\").nullable().optional(),\n parameters: Route4meGetRouteSettings_RouteParametersSchema.nullable().optional(),\n route_cost: z.number().describe(\"Total estimated cost of the route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Driver identifier.\").nullable().optional(),\n member_email: z.string().describe(\"Email of route owner.\").nullable().optional(),\n route_pieces: z.number().int().describe(\"Total number of pieces/items.\").nullable().optional(),\n route_weight: z.number().describe(\"Combined weight of all shipments.\").nullable().optional(),\n route_revenue: z.number().describe(\"Total estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total route distance in the configured distance unit.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Assigned vehicle alias.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of route owner.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of route owner.\").nullable().optional(),\n approved_for_execution: z.boolean().describe(\"Whether the route has been approved for execution.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Parent optimization problem ID that generated this route.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed route settings information including waypoints, optimization settings, and delivery details.\");\n\nexport const route4meGetRouteSettings = action(\"ROUTE4ME_GET_ROUTE_SETTINGS\", {\n slug: \"route4me-get-route-settings\",\n name: \"Get Route Settings\",\n description: \"Tool to get route settings with detailed information including waypoints, optimization settings, and delivery details. Use when you need comprehensive configuration data for a specific route including all stops, delivery parameters, and optimization settings.\",\n input: Route4meGetRouteSettingsInput,\n output: Route4meGetRouteSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACxF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,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C,SAAS;EAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iIAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-route-settings.mjs","names":[],"sources":["../../src/actions/get-route-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetRouteSettingsInput = z.object({\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving route settings.\");\nconst Route4meGetRouteSettings_WaypointAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n time: z.number().int().describe(\"Service time in seconds at this address.\").nullable().optional(),\n alias: z.string().describe(\"Address alias or name.\").nullable().optional(),\n email: z.string().describe(\"Contact email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number.\").nullable().optional(),\n address: z.string().describe(\"Full address line.\").nullable().optional(),\n last_name: z.string().describe(\"Contact last name.\").nullable().optional(),\n contact_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n first_name: z.string().describe(\"Contact first name.\").nullable().optional(),\n is_visited: z.boolean().describe(\"Whether the destination has been visited.\").nullable().optional(),\n is_departed: z.boolean().describe(\"Whether the driver has departed from this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number for the address in the route.\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the waypoint.\").nullable().optional(),\n address_stop_type: z.string().describe(\"Type of stop (DELIVERY, PICKUP, BREAK, MEETUP, etc).\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the destination.\").nullable().optional(),\n}).passthrough().describe(\"Waypoint/destination address information within a route.\");\nconst Route4meGetRouteSettings_RouteParametersSchema = z.object({\n rt: z.boolean().describe(\"Whether to return to the start location.\").nullable().optional(),\n parts: z.number().int().describe(\"Number of parts/segments to split the route into.\").nullable().optional(),\n optimize: z.string().describe(\"Optimization algorithm used (Distance, Time, timeWithTraffic, etc).\").nullable().optional(),\n is_upload: z.boolean().describe(\"Whether the route was uploaded from a file.\").nullable().optional(),\n route_date: z.number().int().describe(\"Date the route was scheduled (Unix timestamp).\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n route_time: z.number().int().describe(\"Time the route was scheduled (seconds since midnight).\").nullable().optional(),\n device_type: z.string().describe(\"Device type for route navigation (web, iphone, android, etc).\").nullable().optional(),\n route_email: z.string().describe(\"Email address for route notifications.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, Trucking, etc).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance unit used (mi for miles, km for kilometers).\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").nullable().optional(),\n}).passthrough().describe(\"Route optimization parameters and settings.\");\nexport const Route4meGetRouteSettingsOutput = z.object({\n links: z.record(z.string(), z.unknown()).describe(\"Related links and resources.\").nullable().optional(),\n notes: z.array(z.record(z.string(), z.unknown())).describe(\"Route notes and annotations.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meGetRouteSettings_WaypointAddressSchema).describe(\"List of waypoints/destinations with delivery details.\").nullable().optional(),\n member_id: z.number().int().describe(\"Member/user ID who owns the route.\").nullable().optional(),\n parameters: Route4meGetRouteSettings_RouteParametersSchema.nullable().optional(),\n route_cost: z.number().describe(\"Total estimated cost of the route.\").nullable().optional(),\n driver_alias: z.string().describe(\"Driver identifier.\").nullable().optional(),\n member_email: z.string().describe(\"Email of route owner.\").nullable().optional(),\n route_pieces: z.number().int().describe(\"Total number of pieces/items.\").nullable().optional(),\n route_weight: z.number().describe(\"Combined weight of all shipments.\").nullable().optional(),\n route_revenue: z.number().describe(\"Total estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total route distance in the configured distance unit.\").nullable().optional(),\n vehicle_alias: z.string().describe(\"Assigned vehicle alias.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of route owner.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of route owner.\").nullable().optional(),\n approved_for_execution: z.boolean().describe(\"Whether the route has been approved for execution.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Parent optimization problem ID that generated this route.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed route settings information including waypoints, optimization settings, and delivery details.\");\n\nexport const route4meGetRouteSettings: AppAction<\n typeof Route4meGetRouteSettingsInput,\n typeof Route4meGetRouteSettingsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_ROUTE_SETTINGS\", {\n slug: \"route4me-get-route-settings\",\n name: \"Get Route Settings\",\n description: \"Tool to get route settings with detailed information including waypoints, optimization settings, and delivery details. Use when you need comprehensive configuration data for a specific route including all stops, delivery parameters, and optimization sett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AC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-territories-with-location-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetTerritoriesWithLocationCountsInput = z.object({\n query: z.string().describe(\"Search query phrase to filter territories by name or other text fields.\").optional(),\n center: z.object({\n lat: z.number().describe(\"Latitude coordinate of the center point (range: -90 to 90).\").optional(),\n lng: z.number().describe(\"Longitude coordinate of the center point (range: -180 to 180).\").optional(),\n}).describe(\"Center point coordinates for circular filtering.\").optional(),\n display: z.string().describe(\"Filter territories by location status: 'all' for all locations, 'routed' for locations assigned to routes, or 'unrouted' for unassigned locations.\").optional(),\n distance: z.number().describe(\"Search radius in meters from the center point. Default is 500 meters if not specified.\").optional(),\n is_assigned: z.boolean().describe(\"Filter by assignment status: true for assigned locations, false for unassigned locations.\").optional(),\n bounding_box: z.object({\n top: z.number().describe(\"Top latitude coordinate of the bounding box.\").optional(),\n left: z.number().describe(\"Left longitude coordinate of the bounding box.\").optional(),\n right: z.number().describe(\"Right longitude coordinate of the bounding box.\").optional(),\n bottom: z.number().describe(\"Bottom latitude coordinate of the bounding box.\").optional(),\n}).describe(\"Bounding box coordinates for filtering territories.\").optional(),\n customer_ids: z.array(z.string()).describe(\"Array of customer IDs to filter territories by specific customers.\").optional(),\n selected_areas: z.array(z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the shape. For circle: radius in meters. For polygon/rect: coordinate pairs like '56.127184156131065,56.93115234375'.\").optional(),\n type: z.string().describe(\"Shape type for the area: 'circle', 'polygon', or 'rect'.\").optional(),\n}).passthrough().describe(\"Geographic area definition for filtering territories.\")).describe(\"Array of geographic areas defined by circle, polygon, or rect types to filter territories.\").optional(),\n assigned_member_id: z.number().int().describe(\"Filter territories by member ID to show only locations assigned to a specific member/driver.\").optional(),\n}).describe(\"Request model for retrieving territories with location counts. All filters are optional.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the territory shape. For circle: radius in meters. For polygon/rect: coordinate pairs.\").nullable().optional(),\n type: z.string().describe(\"Territory shape type: 'poly' for polygon, 'circle' for circular, or 'rect' for rectangular.\").nullable().optional(),\n}).passthrough().describe(\"Territory shape data containing type and geodesic parameters.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritorySchema = z.object({\n member_id: z.number().int().describe(\"Member ID associated with this territory.\").nullable().optional(),\n territory: Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema.nullable().optional(),\n territory_id: z.string().describe(\"32-character MD5 unique identifier for the territory.\").nullable().optional(),\n location_count: z.number().int().describe(\"Number of locations/addresses within this territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (typically hex color).\").nullable().optional(),\n}).passthrough().describe(\"Territory object with location count information.\");\nexport const Route4meGetTerritoriesWithLocationCountsOutput = z.object({\n total: z.number().int().describe(\"Total number of territories returned.\").nullable().optional(),\n territories: z.array(Route4meGetTerritoriesWithLocationCounts_TerritorySchema).describe(\"Array of territory objects with location count information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territories with their location counts.\");\n\nexport const route4meGetTerritoriesWithLocationCounts = action(\"ROUTE4ME_GET_TERRITORIES_WITH_LOCATION_COUNTS\", {\n slug: \"route4me-get-territories-with-location-counts\",\n name: \"Get Territories with Location Counts\",\n description: \"Tool to retrieve territories with location counts for geographic analysis. Use when you need to analyze address distribution across territories or understand coverage areas.\",\n input: Route4meGetTerritoriesWithLocationCountsInput,\n output: Route4meGetTerritoriesWithLocationCountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-territories-with-location-counts.cjs","names":["z","action"],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetTerritoriesWithLocationCountsInput = z.object({\n query: z.string().describe(\"Search query phrase to filter territories by name or other text fields.\").optional(),\n center: z.object({\n lat: z.number().describe(\"Latitude coordinate of the center point (range: -90 to 90).\").optional(),\n lng: z.number().describe(\"Longitude coordinate of the center point (range: -180 to 180).\").optional(),\n}).describe(\"Center point coordinates for circular filtering.\").optional(),\n display: z.string().describe(\"Filter territories by location status: 'all' for all locations, 'routed' for locations assigned to routes, or 'unrouted' for unassigned locations.\").optional(),\n distance: z.number().describe(\"Search radius in meters from the center point. Default is 500 meters if not specified.\").optional(),\n is_assigned: z.boolean().describe(\"Filter by assignment status: true for assigned locations, false for unassigned locations.\").optional(),\n bounding_box: z.object({\n top: z.number().describe(\"Top latitude coordinate of the bounding box.\").optional(),\n left: z.number().describe(\"Left longitude coordinate of the bounding box.\").optional(),\n right: z.number().describe(\"Right longitude coordinate of the bounding box.\").optional(),\n bottom: z.number().describe(\"Bottom latitude coordinate of the bounding box.\").optional(),\n}).describe(\"Bounding box coordinates for filtering territories.\").optional(),\n customer_ids: z.array(z.string()).describe(\"Array of customer IDs to filter territories by specific customers.\").optional(),\n selected_areas: z.array(z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the shape. For circle: radius in meters. For polygon/rect: coordinate pairs like '56.127184156131065,56.93115234375'.\").optional(),\n type: z.string().describe(\"Shape type for the area: 'circle', 'polygon', or 'rect'.\").optional(),\n}).passthrough().describe(\"Geographic area definition for filtering territories.\")).describe(\"Array of geographic areas defined by circle, polygon, or rect types to filter territories.\").optional(),\n assigned_member_id: z.number().int().describe(\"Filter territories by member ID to show only locations assigned to a specific member/driver.\").optional(),\n}).describe(\"Request model for retrieving territories with location counts. All filters are optional.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the territory shape. For circle: radius in meters. For polygon/rect: coordinate pairs.\").nullable().optional(),\n type: z.string().describe(\"Territory shape type: 'poly' for polygon, 'circle' for circular, or 'rect' for rectangular.\").nullable().optional(),\n}).passthrough().describe(\"Territory shape data containing type and geodesic parameters.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritorySchema = z.object({\n member_id: z.number().int().describe(\"Member ID associated with this territory.\").nullable().optional(),\n territory: Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema.nullable().optional(),\n territory_id: z.string().describe(\"32-character MD5 unique identifier for the territory.\").nullable().optional(),\n location_count: z.number().int().describe(\"Number of locations/addresses within this territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (typically hex color).\").nullable().optional(),\n}).passthrough().describe(\"Territory object with location count information.\");\nexport const Route4meGetTerritoriesWithLocationCountsOutput = z.object({\n total: z.number().int().describe(\"Total number of territories returned.\").nullable().optional(),\n territories: z.array(Route4meGetTerritoriesWithLocationCounts_TerritorySchema).describe(\"Array of territory objects with location count information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territories with their location counts.\");\n\nexport const route4meGetTerritoriesWithLocationCounts: AppAction<\n typeof Route4meGetTerritoriesWithLocationCountsInput,\n typeof Route4meGetTerritoriesWithLocationCountsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_TERRITORIES_WITH_LOCATION_COUNTS\", {\n slug: \"route4me-get-territories-with-location-counts\",\n name: \"Get Territories with Location Counts\",\n description: \"Tool to retrieve territories with location counts for geographic analysis. Use when you need to analyze address distribution across territories or understand coverage areas.\",\n input: Route4meGetTerritoriesWithLocationCountsInput,\n output: Route4meGetTerritoriesWithLocationCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,O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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,2CAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-territories-with-location-counts.d.ts
|
|
@@ -37,29 +39,7 @@ declare const Route4meGetTerritoriesWithLocationCountsOutput: z.ZodObject<{
|
|
|
37
39
|
territory_color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const route4meGetTerritoriesWithLocationCounts:
|
|
41
|
-
query?: string | undefined;
|
|
42
|
-
center?: {
|
|
43
|
-
lat?: number | undefined;
|
|
44
|
-
lng?: number | undefined;
|
|
45
|
-
} | undefined;
|
|
46
|
-
display?: string | undefined;
|
|
47
|
-
distance?: number | undefined;
|
|
48
|
-
is_assigned?: boolean | undefined;
|
|
49
|
-
bounding_box?: {
|
|
50
|
-
top?: number | undefined;
|
|
51
|
-
left?: number | undefined;
|
|
52
|
-
right?: number | undefined;
|
|
53
|
-
bottom?: number | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
customer_ids?: string[] | undefined;
|
|
56
|
-
selected_areas?: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
data?: string[] | undefined;
|
|
59
|
-
type?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
assigned_member_id?: number | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const route4meGetTerritoriesWithLocationCounts: AppAction<typeof Route4meGetTerritoriesWithLocationCountsInput, typeof Route4meGetTerritoriesWithLocationCountsOutput, typeof route4me.credential>;
|
|
63
43
|
//#endregion
|
|
64
44
|
export { route4meGetTerritoriesWithLocationCounts };
|
|
65
45
|
//# sourceMappingURL=get-territories-with-location-counts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-territories-with-location-counts.d.cts","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-territories-with-location-counts.d.cts","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkC7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-territories-with-location-counts.d.ts
|
|
@@ -37,29 +39,7 @@ declare const Route4meGetTerritoriesWithLocationCountsOutput: z.ZodObject<{
|
|
|
37
39
|
territory_color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const route4meGetTerritoriesWithLocationCounts:
|
|
41
|
-
query?: string | undefined;
|
|
42
|
-
center?: {
|
|
43
|
-
lat?: number | undefined;
|
|
44
|
-
lng?: number | undefined;
|
|
45
|
-
} | undefined;
|
|
46
|
-
display?: string | undefined;
|
|
47
|
-
distance?: number | undefined;
|
|
48
|
-
is_assigned?: boolean | undefined;
|
|
49
|
-
bounding_box?: {
|
|
50
|
-
top?: number | undefined;
|
|
51
|
-
left?: number | undefined;
|
|
52
|
-
right?: number | undefined;
|
|
53
|
-
bottom?: number | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
customer_ids?: string[] | undefined;
|
|
56
|
-
selected_areas?: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
data?: string[] | undefined;
|
|
59
|
-
type?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
assigned_member_id?: number | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const route4meGetTerritoriesWithLocationCounts: AppAction<typeof Route4meGetTerritoriesWithLocationCountsInput, typeof Route4meGetTerritoriesWithLocationCountsOutput, typeof route4me.credential>;
|
|
63
43
|
//#endregion
|
|
64
44
|
export { route4meGetTerritoriesWithLocationCounts };
|
|
65
45
|
//# sourceMappingURL=get-territories-with-location-counts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-territories-with-location-counts.d.mts","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-territories-with-location-counts.d.mts","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkC7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-territories-with-location-counts.mjs","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetTerritoriesWithLocationCountsInput = z.object({\n query: z.string().describe(\"Search query phrase to filter territories by name or other text fields.\").optional(),\n center: z.object({\n lat: z.number().describe(\"Latitude coordinate of the center point (range: -90 to 90).\").optional(),\n lng: z.number().describe(\"Longitude coordinate of the center point (range: -180 to 180).\").optional(),\n}).describe(\"Center point coordinates for circular filtering.\").optional(),\n display: z.string().describe(\"Filter territories by location status: 'all' for all locations, 'routed' for locations assigned to routes, or 'unrouted' for unassigned locations.\").optional(),\n distance: z.number().describe(\"Search radius in meters from the center point. Default is 500 meters if not specified.\").optional(),\n is_assigned: z.boolean().describe(\"Filter by assignment status: true for assigned locations, false for unassigned locations.\").optional(),\n bounding_box: z.object({\n top: z.number().describe(\"Top latitude coordinate of the bounding box.\").optional(),\n left: z.number().describe(\"Left longitude coordinate of the bounding box.\").optional(),\n right: z.number().describe(\"Right longitude coordinate of the bounding box.\").optional(),\n bottom: z.number().describe(\"Bottom latitude coordinate of the bounding box.\").optional(),\n}).describe(\"Bounding box coordinates for filtering territories.\").optional(),\n customer_ids: z.array(z.string()).describe(\"Array of customer IDs to filter territories by specific customers.\").optional(),\n selected_areas: z.array(z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the shape. For circle: radius in meters. For polygon/rect: coordinate pairs like '56.127184156131065,56.93115234375'.\").optional(),\n type: z.string().describe(\"Shape type for the area: 'circle', 'polygon', or 'rect'.\").optional(),\n}).passthrough().describe(\"Geographic area definition for filtering territories.\")).describe(\"Array of geographic areas defined by circle, polygon, or rect types to filter territories.\").optional(),\n assigned_member_id: z.number().int().describe(\"Filter territories by member ID to show only locations assigned to a specific member/driver.\").optional(),\n}).describe(\"Request model for retrieving territories with location counts. All filters are optional.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the territory shape. For circle: radius in meters. For polygon/rect: coordinate pairs.\").nullable().optional(),\n type: z.string().describe(\"Territory shape type: 'poly' for polygon, 'circle' for circular, or 'rect' for rectangular.\").nullable().optional(),\n}).passthrough().describe(\"Territory shape data containing type and geodesic parameters.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritorySchema = z.object({\n member_id: z.number().int().describe(\"Member ID associated with this territory.\").nullable().optional(),\n territory: Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema.nullable().optional(),\n territory_id: z.string().describe(\"32-character MD5 unique identifier for the territory.\").nullable().optional(),\n location_count: z.number().int().describe(\"Number of locations/addresses within this territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (typically hex color).\").nullable().optional(),\n}).passthrough().describe(\"Territory object with location count information.\");\nexport const Route4meGetTerritoriesWithLocationCountsOutput = z.object({\n total: z.number().int().describe(\"Total number of territories returned.\").nullable().optional(),\n territories: z.array(Route4meGetTerritoriesWithLocationCounts_TerritorySchema).describe(\"Array of territory objects with location count information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territories with their location counts.\");\n\nexport const route4meGetTerritoriesWithLocationCounts = action(\"ROUTE4ME_GET_TERRITORIES_WITH_LOCATION_COUNTS\", {\n slug: \"route4me-get-territories-with-location-counts\",\n name: \"Get Territories with Location Counts\",\n description: \"Tool to retrieve territories with location counts for geographic analysis. Use when you need to analyze address distribution across territories or understand coverage areas.\",\n input: Route4meGetTerritoriesWithLocationCountsInput,\n output: Route4meGetTerritoriesWithLocationCountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-territories-with-location-counts.mjs","names":[],"sources":["../../src/actions/get-territories-with-location-counts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetTerritoriesWithLocationCountsInput = z.object({\n query: z.string().describe(\"Search query phrase to filter territories by name or other text fields.\").optional(),\n center: z.object({\n lat: z.number().describe(\"Latitude coordinate of the center point (range: -90 to 90).\").optional(),\n lng: z.number().describe(\"Longitude coordinate of the center point (range: -180 to 180).\").optional(),\n}).describe(\"Center point coordinates for circular filtering.\").optional(),\n display: z.string().describe(\"Filter territories by location status: 'all' for all locations, 'routed' for locations assigned to routes, or 'unrouted' for unassigned locations.\").optional(),\n distance: z.number().describe(\"Search radius in meters from the center point. Default is 500 meters if not specified.\").optional(),\n is_assigned: z.boolean().describe(\"Filter by assignment status: true for assigned locations, false for unassigned locations.\").optional(),\n bounding_box: z.object({\n top: z.number().describe(\"Top latitude coordinate of the bounding box.\").optional(),\n left: z.number().describe(\"Left longitude coordinate of the bounding box.\").optional(),\n right: z.number().describe(\"Right longitude coordinate of the bounding box.\").optional(),\n bottom: z.number().describe(\"Bottom latitude coordinate of the bounding box.\").optional(),\n}).describe(\"Bounding box coordinates for filtering territories.\").optional(),\n customer_ids: z.array(z.string()).describe(\"Array of customer IDs to filter territories by specific customers.\").optional(),\n selected_areas: z.array(z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the shape. For circle: radius in meters. For polygon/rect: coordinate pairs like '56.127184156131065,56.93115234375'.\").optional(),\n type: z.string().describe(\"Shape type for the area: 'circle', 'polygon', or 'rect'.\").optional(),\n}).passthrough().describe(\"Geographic area definition for filtering territories.\")).describe(\"Array of geographic areas defined by circle, polygon, or rect types to filter territories.\").optional(),\n assigned_member_id: z.number().int().describe(\"Filter territories by member ID to show only locations assigned to a specific member/driver.\").optional(),\n}).describe(\"Request model for retrieving territories with location counts. All filters are optional.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodesic parameters defining the territory shape. For circle: radius in meters. For polygon/rect: coordinate pairs.\").nullable().optional(),\n type: z.string().describe(\"Territory shape type: 'poly' for polygon, 'circle' for circular, or 'rect' for rectangular.\").nullable().optional(),\n}).passthrough().describe(\"Territory shape data containing type and geodesic parameters.\");\nconst Route4meGetTerritoriesWithLocationCounts_TerritorySchema = z.object({\n member_id: z.number().int().describe(\"Member ID associated with this territory.\").nullable().optional(),\n territory: Route4meGetTerritoriesWithLocationCounts_TerritoryDataSchema.nullable().optional(),\n territory_id: z.string().describe(\"32-character MD5 unique identifier for the territory.\").nullable().optional(),\n location_count: z.number().int().describe(\"Number of locations/addresses within this territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (typically hex color).\").nullable().optional(),\n}).passthrough().describe(\"Territory object with location count information.\");\nexport const Route4meGetTerritoriesWithLocationCountsOutput = z.object({\n total: z.number().int().describe(\"Total number of territories returned.\").nullable().optional(),\n territories: z.array(Route4meGetTerritoriesWithLocationCounts_TerritorySchema).describe(\"Array of territory objects with location count information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territories with their location counts.\");\n\nexport const route4meGetTerritoriesWithLocationCounts: AppAction<\n typeof Route4meGetTerritoriesWithLocationCountsInput,\n typeof Route4meGetTerritoriesWithLocationCountsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_TERRITORIES_WITH_LOCATION_COUNTS\", {\n slug: \"route4me-get-territories-with-location-counts\",\n name: \"Get Territories with Location Counts\",\n description: \"Tool to retrieve territories with location counts for geographic analysis. Use when you need to analyze address distribution across territories or understand coverage areas.\",\n input: Route4meGetTerritoriesWithLocationCountsInput,\n output: Route4meGetTerritoriesWithLocationCountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gDAAgD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEA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wD,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-territory.cjs","names":["z","action"],"sources":["../../src/actions/get-territory.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meGetTerritoryInput = z.object({\n addresses: z.number().int().describe(\"Set to 1 to include addresses within the territory in the response. Default is 0 (exclude addresses).\").optional(),\n territory_id: z.string().describe(\"The unique identifier for a specific territory. If omitted, returns all territories.\").optional(),\n}).describe(\"Request model for retrieving territory information.\");\nconst Route4meGetTerritory_TerritoryShapeSchema = z.object({\n data: z.array(z.string()).describe(\"Geographic data defining the territory (e.g., coordinates, radius).\").nullable().optional(),\n type: z.string().describe(\"Territory shape type (e.g., circle, polygon, rect).\").nullable().optional(),\n}).passthrough().describe(\"Geographic shape data defining the territory boundaries.\");\nconst Route4meGetTerritory_TerritoryItemSchema = z.object({\n orders: z.array(z.unknown()).describe(\"List of orders within the territory.\").nullable().optional(),\n addresses: z.array(z.unknown()).describe(\"List of addresses within the territory (included if addresses parameter is 1).\").nullable().optional(),\n member_id: z.number().int().describe(\"ID of the member who owns the territory.\").nullable().optional(),\n territory: Route4meGetTerritory_TerritoryShapeSchema.nullable().optional(),\n order_uuids: z.array(z.string()).describe(\"List of order UUIDs.\").nullable().optional(),\n territory_id: z.string().describe(\"Unique identifier for the territory.\").nullable().optional(),\n address_count: z.number().int().describe(\"Count of addresses in the territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (hex format).\").nullable().optional(),\n}).passthrough().describe(\"Single territory object returned by the API.\");\nexport const Route4meGetTerritoryOutput = z.object({\n territories: z.array(Route4meGetTerritory_TerritoryItemSchema).describe(\"List of territory objects. Contains one territory if territory_id is specified, or all territories if omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territory data. Returns a single territory or list of territories.\");\n\nexport const route4meGetTerritory = action(\"ROUTE4ME_GET_TERRITORY\", {\n slug: \"route4me-get-territory\",\n name: \"Get Territory\",\n description: \"Tool to retrieve territory information by ID or get all territories. Use when you need details about geographic zones and their boundaries.\",\n input: Route4meGetTerritoryInput,\n output: Route4meGetTerritoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-territory.cjs","names":["z","action"],"sources":["../../src/actions/get-territory.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meGetTerritoryInput = z.object({\n addresses: z.number().int().describe(\"Set to 1 to include addresses within the territory in the response. Default is 0 (exclude addresses).\").optional(),\n territory_id: z.string().describe(\"The unique identifier for a specific territory. If omitted, returns all territories.\").optional(),\n}).describe(\"Request model for retrieving territory information.\");\nconst Route4meGetTerritory_TerritoryShapeSchema = z.object({\n data: z.array(z.string()).describe(\"Geographic data defining the territory (e.g., coordinates, radius).\").nullable().optional(),\n type: z.string().describe(\"Territory shape type (e.g., circle, polygon, rect).\").nullable().optional(),\n}).passthrough().describe(\"Geographic shape data defining the territory boundaries.\");\nconst Route4meGetTerritory_TerritoryItemSchema = z.object({\n orders: z.array(z.unknown()).describe(\"List of orders within the territory.\").nullable().optional(),\n addresses: z.array(z.unknown()).describe(\"List of addresses within the territory (included if addresses parameter is 1).\").nullable().optional(),\n member_id: z.number().int().describe(\"ID of the member who owns the territory.\").nullable().optional(),\n territory: Route4meGetTerritory_TerritoryShapeSchema.nullable().optional(),\n order_uuids: z.array(z.string()).describe(\"List of order UUIDs.\").nullable().optional(),\n territory_id: z.string().describe(\"Unique identifier for the territory.\").nullable().optional(),\n address_count: z.number().int().describe(\"Count of addresses in the territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Name of the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Color code for the territory (hex format).\").nullable().optional(),\n}).passthrough().describe(\"Single territory object returned by the API.\");\nexport const Route4meGetTerritoryOutput = z.object({\n territories: z.array(Route4meGetTerritory_TerritoryItemSchema).describe(\"List of territory objects. Contains one territory if territory_id is specified, or all territories if omitted.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing territory data. Returns a single territory or list of territories.\");\n\nexport const route4meGetTerritory: AppAction<\n typeof Route4meGetTerritoryInput,\n typeof Route4meGetTerritoryOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_GET_TERRITORY\", {\n slug: \"route4me-get-territory\",\n name: \"Get Territory\",\n description: \"Tool to retrieve territory information by ID or get all territories. Use when you need details about geographic zones and their boundaries.\",\n input: Route4meGetTerritoryInput,\n output: Route4meGetTerritoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACvJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,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