@keystrokehq/route4me 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-order-custom-field.cjs +1 -1
- package/dist/actions/add-order-custom-field.cjs.map +1 -1
- package/dist/actions/add-order-custom-field.d.cts +1 -1
- package/dist/actions/add-order-custom-field.d.mts +1 -1
- package/dist/actions/add-order-custom-field.mjs +1 -1
- package/dist/actions/add-order-custom-field.mjs.map +1 -1
- package/dist/actions/add-route-note.cjs +1 -1
- package/dist/actions/add-route-note.cjs.map +1 -1
- package/dist/actions/add-route-note.d.cts +1 -1
- package/dist/actions/add-route-note.d.mts +1 -1
- package/dist/actions/add-route-note.mjs +1 -1
- package/dist/actions/add-route-note.mjs.map +1 -1
- package/dist/actions/create-address.cjs +2 -2
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +2 -2
- package/dist/actions/create-address.d.mts +2 -2
- package/dist/actions/create-address.mjs +2 -2
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-avoidance-zone.cjs +2 -2
- package/dist/actions/create-avoidance-zone.cjs.map +1 -1
- package/dist/actions/create-avoidance-zone.d.cts +2 -2
- package/dist/actions/create-avoidance-zone.d.mts +2 -2
- package/dist/actions/create-avoidance-zone.mjs +2 -2
- package/dist/actions/create-avoidance-zone.mjs.map +1 -1
- package/dist/actions/create-location-type.cjs +2 -2
- package/dist/actions/create-location-type.cjs.map +1 -1
- package/dist/actions/create-location-type.d.cts +2 -2
- package/dist/actions/create-location-type.d.mts +2 -2
- package/dist/actions/create-location-type.mjs +2 -2
- package/dist/actions/create-location-type.mjs.map +1 -1
- package/dist/actions/create-master-route.cjs +2 -2
- package/dist/actions/create-master-route.cjs.map +1 -1
- package/dist/actions/create-master-route.d.cts +3 -2
- package/dist/actions/create-master-route.d.mts +3 -2
- package/dist/actions/create-master-route.mjs +2 -2
- package/dist/actions/create-master-route.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -1
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +1 -1
- package/dist/actions/create-note.d.mts +1 -1
- package/dist/actions/create-note.mjs +1 -1
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-optimization-profile.cjs +1 -1
- package/dist/actions/create-optimization-profile.cjs.map +1 -1
- package/dist/actions/create-optimization-profile.d.cts +1 -1
- package/dist/actions/create-optimization-profile.d.mts +1 -1
- package/dist/actions/create-optimization-profile.mjs +1 -1
- package/dist/actions/create-optimization-profile.mjs.map +1 -1
- package/dist/actions/create-optimization.cjs +2 -2
- package/dist/actions/create-optimization.cjs.map +1 -1
- package/dist/actions/create-optimization.d.cts +4 -3
- package/dist/actions/create-optimization.d.mts +4 -3
- package/dist/actions/create-optimization.mjs +2 -2
- package/dist/actions/create-optimization.mjs.map +1 -1
- package/dist/actions/create-order-custom-field.cjs +2 -2
- package/dist/actions/create-order-custom-field.cjs.map +1 -1
- package/dist/actions/create-order-custom-field.d.cts +2 -2
- package/dist/actions/create-order-custom-field.d.mts +2 -2
- package/dist/actions/create-order-custom-field.mjs +2 -2
- package/dist/actions/create-order-custom-field.mjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.cjs +1 -1
- package/dist/actions/create-orders-from-contacts.cjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.d.cts +1 -1
- package/dist/actions/create-orders-from-contacts.d.mts +1 -1
- package/dist/actions/create-orders-from-contacts.mjs +1 -1
- package/dist/actions/create-orders-from-contacts.mjs.map +1 -1
- package/dist/actions/create-territory.cjs +2 -2
- package/dist/actions/create-territory.cjs.map +1 -1
- package/dist/actions/create-territory.d.cts +2 -2
- package/dist/actions/create-territory.d.mts +2 -2
- package/dist/actions/create-territory.mjs +2 -2
- package/dist/actions/create-territory.mjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.cjs +1 -1
- package/dist/actions/create-vehicle-capacity-profile.cjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.cts +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.mts +1 -1
- package/dist/actions/create-vehicle-capacity-profile.mjs +1 -1
- package/dist/actions/create-vehicle-capacity-profile.mjs.map +1 -1
- package/dist/actions/delete-address.cjs +1 -1
- package/dist/actions/delete-address.cjs.map +1 -1
- package/dist/actions/delete-address.d.cts +1 -1
- package/dist/actions/delete-address.d.mts +1 -1
- package/dist/actions/delete-address.mjs +1 -1
- package/dist/actions/delete-address.mjs.map +1 -1
- package/dist/actions/delete-addresses.cjs +1 -1
- package/dist/actions/delete-addresses.cjs.map +1 -1
- package/dist/actions/delete-addresses.d.cts +1 -1
- package/dist/actions/delete-addresses.d.mts +1 -1
- package/dist/actions/delete-addresses.mjs +1 -1
- package/dist/actions/delete-addresses.mjs.map +1 -1
- package/dist/actions/delete-avoidance.cjs +1 -1
- package/dist/actions/delete-avoidance.cjs.map +1 -1
- package/dist/actions/delete-avoidance.d.cts +1 -1
- package/dist/actions/delete-avoidance.d.mts +1 -1
- package/dist/actions/delete-avoidance.mjs +1 -1
- package/dist/actions/delete-avoidance.mjs.map +1 -1
- package/dist/actions/delete-configuration-setting.cjs +1 -1
- package/dist/actions/delete-configuration-setting.cjs.map +1 -1
- package/dist/actions/delete-configuration-setting.d.cts +1 -1
- package/dist/actions/delete-configuration-setting.d.mts +1 -1
- package/dist/actions/delete-configuration-setting.mjs +1 -1
- package/dist/actions/delete-configuration-setting.mjs.map +1 -1
- package/dist/actions/delete-current-user.cjs +1 -1
- package/dist/actions/delete-current-user.cjs.map +1 -1
- package/dist/actions/delete-current-user.d.cts +1 -1
- package/dist/actions/delete-current-user.d.mts +1 -1
- package/dist/actions/delete-current-user.mjs +1 -1
- package/dist/actions/delete-current-user.mjs.map +1 -1
- package/dist/actions/delete-location-type.cjs +1 -1
- package/dist/actions/delete-location-type.cjs.map +1 -1
- package/dist/actions/delete-location-type.d.cts +1 -1
- package/dist/actions/delete-location-type.d.mts +1 -1
- package/dist/actions/delete-location-type.mjs +1 -1
- package/dist/actions/delete-location-type.mjs.map +1 -1
- package/dist/actions/delete-optimization-profile.cjs +1 -1
- package/dist/actions/delete-optimization-profile.cjs.map +1 -1
- package/dist/actions/delete-optimization-profile.d.cts +1 -1
- package/dist/actions/delete-optimization-profile.d.mts +1 -1
- package/dist/actions/delete-optimization-profile.mjs +1 -1
- package/dist/actions/delete-optimization-profile.mjs.map +1 -1
- package/dist/actions/delete-optimization.cjs +1 -1
- package/dist/actions/delete-optimization.cjs.map +1 -1
- package/dist/actions/delete-optimization.d.cts +1 -1
- package/dist/actions/delete-optimization.d.mts +1 -1
- package/dist/actions/delete-optimization.mjs +1 -1
- package/dist/actions/delete-optimization.mjs.map +1 -1
- package/dist/actions/delete-order-custom-field.cjs +1 -1
- package/dist/actions/delete-order-custom-field.cjs.map +1 -1
- package/dist/actions/delete-order-custom-field.d.cts +1 -1
- package/dist/actions/delete-order-custom-field.d.mts +1 -1
- package/dist/actions/delete-order-custom-field.mjs +1 -1
- package/dist/actions/delete-order-custom-field.mjs.map +1 -1
- package/dist/actions/delete-route-v4.cjs +1 -1
- package/dist/actions/delete-route-v4.cjs.map +1 -1
- package/dist/actions/delete-route-v4.d.cts +1 -1
- package/dist/actions/delete-route-v4.d.mts +1 -1
- package/dist/actions/delete-route-v4.mjs +1 -1
- package/dist/actions/delete-route-v4.mjs.map +1 -1
- package/dist/actions/delete-territory.cjs +1 -1
- package/dist/actions/delete-territory.cjs.map +1 -1
- package/dist/actions/delete-territory.d.cts +1 -1
- package/dist/actions/delete-territory.d.mts +1 -1
- package/dist/actions/delete-territory.mjs +1 -1
- package/dist/actions/delete-territory.mjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.cts +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.mts +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/display-datatable-config.cjs +8 -8
- package/dist/actions/display-datatable-config.cjs.map +1 -1
- package/dist/actions/display-datatable-config.d.cts +8 -8
- package/dist/actions/display-datatable-config.d.mts +8 -8
- package/dist/actions/display-datatable-config.mjs +8 -8
- package/dist/actions/display-datatable-config.mjs.map +1 -1
- package/dist/actions/duplicate-routes.cjs +1 -1
- package/dist/actions/duplicate-routes.cjs.map +1 -1
- package/dist/actions/duplicate-routes.d.cts +1 -1
- package/dist/actions/duplicate-routes.d.mts +1 -1
- package/dist/actions/duplicate-routes.mjs +1 -1
- package/dist/actions/duplicate-routes.mjs.map +1 -1
- package/dist/actions/find-address.cjs +5 -5
- package/dist/actions/find-address.cjs.map +1 -1
- package/dist/actions/find-address.d.cts +5 -5
- package/dist/actions/find-address.d.mts +5 -5
- package/dist/actions/find-address.mjs +5 -5
- package/dist/actions/find-address.mjs.map +1 -1
- package/dist/actions/geocode-address-body.cjs +3 -3
- package/dist/actions/geocode-address-body.cjs.map +1 -1
- package/dist/actions/geocode-address-body.d.cts +3 -3
- package/dist/actions/geocode-address-body.d.mts +3 -3
- package/dist/actions/geocode-address-body.mjs +3 -3
- package/dist/actions/geocode-address-body.mjs.map +1 -1
- package/dist/actions/geocode-address-forward.cjs +3 -3
- package/dist/actions/geocode-address-forward.cjs.map +1 -1
- package/dist/actions/geocode-address-forward.d.cts +3 -3
- package/dist/actions/geocode-address-forward.d.mts +3 -3
- package/dist/actions/geocode-address-forward.mjs +3 -3
- package/dist/actions/geocode-address-forward.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +3 -3
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +3 -3
- package/dist/actions/geocode-address.d.mts +3 -3
- package/dist/actions/geocode-address.mjs +3 -3
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-addresses.cjs +3 -3
- package/dist/actions/geocode-addresses.cjs.map +1 -1
- package/dist/actions/geocode-addresses.d.cts +3 -3
- package/dist/actions/geocode-addresses.d.mts +3 -3
- package/dist/actions/geocode-addresses.mjs +3 -3
- package/dist/actions/geocode-addresses.mjs.map +1 -1
- package/dist/actions/get-activity.cjs +1 -1
- package/dist/actions/get-activity.cjs.map +1 -1
- package/dist/actions/get-activity.d.cts +1 -1
- package/dist/actions/get-activity.d.mts +1 -1
- package/dist/actions/get-activity.mjs +1 -1
- package/dist/actions/get-activity.mjs.map +1 -1
- package/dist/actions/get-address-book-groups.cjs +1 -1
- package/dist/actions/get-address-book-groups.cjs.map +1 -1
- package/dist/actions/get-address-book-groups.d.cts +1 -1
- package/dist/actions/get-address-book-groups.d.mts +1 -1
- package/dist/actions/get-address-book-groups.mjs +1 -1
- package/dist/actions/get-address-book-groups.mjs.map +1 -1
- package/dist/actions/get-address.cjs +2 -2
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +2 -2
- package/dist/actions/get-address.d.mts +2 -2
- package/dist/actions/get-address.mjs +2 -2
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.cjs +1 -1
- package/dist/actions/get-addresses-from-addressbook.cjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.cts +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.mts +1 -1
- package/dist/actions/get-addresses-from-addressbook.mjs +1 -1
- package/dist/actions/get-addresses-from-addressbook.mjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.cjs +2 -2
- package/dist/actions/get-avoidance-by-id.cjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.d.cts +2 -2
- package/dist/actions/get-avoidance-by-id.d.mts +2 -2
- package/dist/actions/get-avoidance-by-id.mjs +2 -2
- package/dist/actions/get-avoidance-by-id.mjs.map +1 -1
- package/dist/actions/get-avoidance2.cjs +1 -1
- package/dist/actions/get-avoidance2.cjs.map +1 -1
- package/dist/actions/get-avoidance2.d.cts +1 -1
- package/dist/actions/get-avoidance2.d.mts +1 -1
- package/dist/actions/get-avoidance2.mjs +1 -1
- package/dist/actions/get-avoidance2.mjs.map +1 -1
- package/dist/actions/get-clustered-locations.cjs +2 -2
- package/dist/actions/get-clustered-locations.cjs.map +1 -1
- package/dist/actions/get-clustered-locations.d.cts +3 -3
- package/dist/actions/get-clustered-locations.d.mts +3 -3
- package/dist/actions/get-clustered-locations.mjs +2 -2
- package/dist/actions/get-clustered-locations.mjs.map +1 -1
- package/dist/actions/get-feed.cjs +1 -1
- package/dist/actions/get-feed.cjs.map +1 -1
- package/dist/actions/get-feed.d.cts +1 -1
- package/dist/actions/get-feed.d.mts +1 -1
- package/dist/actions/get-feed.mjs +1 -1
- package/dist/actions/get-feed.mjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.cjs +2 -2
- package/dist/actions/get-last-scheduled-route-member.cjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.d.cts +2 -2
- package/dist/actions/get-last-scheduled-route-member.d.mts +2 -2
- package/dist/actions/get-last-scheduled-route-member.mjs +2 -2
- package/dist/actions/get-last-scheduled-route-member.mjs.map +1 -1
- package/dist/actions/get-location-heatmap.cjs +1 -1
- package/dist/actions/get-location-heatmap.cjs.map +1 -1
- package/dist/actions/get-location-heatmap.d.cts +1 -1
- package/dist/actions/get-location-heatmap.d.mts +1 -1
- package/dist/actions/get-location-heatmap.mjs +1 -1
- package/dist/actions/get-location-heatmap.mjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.cjs +2 -2
- package/dist/actions/get-member-configuration-settings.cjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.d.cts +2 -2
- package/dist/actions/get-member-configuration-settings.d.mts +2 -2
- package/dist/actions/get-member-configuration-settings.mjs +2 -2
- package/dist/actions/get-member-configuration-settings.mjs.map +1 -1
- package/dist/actions/get-note-custom-types.cjs +2 -2
- package/dist/actions/get-note-custom-types.cjs.map +1 -1
- package/dist/actions/get-note-custom-types.d.cts +2 -2
- package/dist/actions/get-note-custom-types.d.mts +2 -2
- package/dist/actions/get-note-custom-types.mjs +2 -2
- package/dist/actions/get-note-custom-types.mjs.map +1 -1
- package/dist/actions/get-optimization-profile.cjs +1 -1
- package/dist/actions/get-optimization-profile.cjs.map +1 -1
- package/dist/actions/get-optimization-profile.d.cts +2 -2
- package/dist/actions/get-optimization-profile.d.mts +2 -2
- package/dist/actions/get-optimization-profile.mjs +1 -1
- package/dist/actions/get-optimization-profile.mjs.map +1 -1
- package/dist/actions/get-route-info.cjs +1 -1
- package/dist/actions/get-route-info.cjs.map +1 -1
- package/dist/actions/get-route-info.d.cts +1 -1
- package/dist/actions/get-route-info.d.mts +1 -1
- package/dist/actions/get-route-info.mjs +1 -1
- package/dist/actions/get-route-info.mjs.map +1 -1
- package/dist/actions/get-route-list.cjs +3 -3
- package/dist/actions/get-route-list.cjs.map +1 -1
- package/dist/actions/get-route-list.d.cts +3 -3
- package/dist/actions/get-route-list.d.mts +3 -3
- package/dist/actions/get-route-list.mjs +3 -3
- package/dist/actions/get-route-list.mjs.map +1 -1
- package/dist/actions/get-route-settings.cjs +1 -1
- package/dist/actions/get-route-settings.cjs.map +1 -1
- package/dist/actions/get-route-settings.d.cts +1 -1
- package/dist/actions/get-route-settings.d.mts +1 -1
- package/dist/actions/get-route-settings.mjs +1 -1
- package/dist/actions/get-route-settings.mjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.cjs +4 -4
- package/dist/actions/get-territories-with-location-counts.cjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.d.cts +5 -4
- package/dist/actions/get-territories-with-location-counts.d.mts +5 -4
- package/dist/actions/get-territories-with-location-counts.mjs +4 -4
- package/dist/actions/get-territories-with-location-counts.mjs.map +1 -1
- package/dist/actions/get-territory.cjs +2 -2
- package/dist/actions/get-territory.cjs.map +1 -1
- package/dist/actions/get-territory.d.cts +2 -2
- package/dist/actions/get-territory.d.mts +2 -2
- package/dist/actions/get-territory.mjs +2 -2
- package/dist/actions/get-territory.mjs.map +1 -1
- package/dist/actions/get-tracking-history-export.cjs +1 -1
- package/dist/actions/get-tracking-history-export.cjs.map +1 -1
- package/dist/actions/get-tracking-history-export.d.cts +1 -1
- package/dist/actions/get-tracking-history-export.d.mts +1 -1
- package/dist/actions/get-tracking-history-export.mjs +1 -1
- package/dist/actions/get-tracking-history-export.mjs.map +1 -1
- package/dist/actions/get-tracking.cjs +1 -1
- package/dist/actions/get-tracking.cjs.map +1 -1
- package/dist/actions/get-tracking.d.cts +1 -1
- package/dist/actions/get-tracking.d.mts +1 -1
- package/dist/actions/get-tracking.mjs +1 -1
- package/dist/actions/get-tracking.mjs.map +1 -1
- package/dist/actions/get-user-by-id.cjs +1 -1
- package/dist/actions/get-user-by-id.cjs.map +1 -1
- package/dist/actions/get-user-by-id.d.cts +1 -1
- package/dist/actions/get-user-by-id.d.mts +1 -1
- package/dist/actions/get-user-by-id.mjs +1 -1
- package/dist/actions/get-user-by-id.mjs.map +1 -1
- package/dist/actions/get-user-locations.cjs +2 -2
- package/dist/actions/get-user-locations.cjs.map +1 -1
- package/dist/actions/get-user-locations.d.cts +2 -2
- package/dist/actions/get-user-locations.d.mts +2 -2
- package/dist/actions/get-user-locations.mjs +2 -2
- package/dist/actions/get-user-locations.mjs.map +1 -1
- package/dist/actions/get-user-modification-history.cjs +4 -4
- package/dist/actions/get-user-modification-history.cjs.map +1 -1
- package/dist/actions/get-user-modification-history.d.cts +4 -4
- package/dist/actions/get-user-modification-history.d.mts +4 -4
- package/dist/actions/get-user-modification-history.mjs +4 -4
- package/dist/actions/get-user-modification-history.mjs.map +1 -1
- package/dist/actions/get-user-template.cjs +1 -1
- package/dist/actions/get-user-template.cjs.map +1 -1
- package/dist/actions/get-user-template.d.cts +1 -1
- package/dist/actions/get-user-template.d.mts +1 -1
- package/dist/actions/get-user-template.mjs +1 -1
- package/dist/actions/get-user-template.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.cjs +3 -3
- 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 -3
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.mts +3 -3
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs +3 -3
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.cts +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.mts +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs +3 -3
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.cts +5 -5
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.mts +5 -5
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs +3 -3
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.cjs +3 -3
- package/dist/actions/get-vehicle-capacity-profiles.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.d.cts +3 -3
- package/dist/actions/get-vehicle-capacity-profiles.d.mts +3 -3
- package/dist/actions/get-vehicle-capacity-profiles.mjs +3 -3
- package/dist/actions/get-vehicle-capacity-profiles.mjs.map +1 -1
- package/dist/actions/get-vehicle.cjs +1 -1
- package/dist/actions/get-vehicle.cjs.map +1 -1
- package/dist/actions/get-vehicle.d.cts +1 -1
- package/dist/actions/get-vehicle.d.mts +1 -1
- package/dist/actions/get-vehicle.mjs +1 -1
- package/dist/actions/get-vehicle.mjs.map +1 -1
- package/dist/actions/list-location-types.cjs +2 -2
- package/dist/actions/list-location-types.cjs.map +1 -1
- package/dist/actions/list-location-types.d.cts +2 -2
- package/dist/actions/list-location-types.d.mts +2 -2
- package/dist/actions/list-location-types.mjs +2 -2
- package/dist/actions/list-location-types.mjs.map +1 -1
- package/dist/actions/list-optimization-profiles.cjs +1 -1
- package/dist/actions/list-optimization-profiles.cjs.map +1 -1
- package/dist/actions/list-optimization-profiles.d.cts +1 -1
- package/dist/actions/list-optimization-profiles.d.mts +1 -1
- package/dist/actions/list-optimization-profiles.mjs +1 -1
- package/dist/actions/list-optimization-profiles.mjs.map +1 -1
- package/dist/actions/list-optimizations.cjs +1 -1
- package/dist/actions/list-optimizations.cjs.map +1 -1
- package/dist/actions/list-optimizations.d.cts +1 -1
- package/dist/actions/list-optimizations.d.mts +1 -1
- package/dist/actions/list-optimizations.mjs +1 -1
- package/dist/actions/list-optimizations.mjs.map +1 -1
- package/dist/actions/list-order-custom-fields.cjs +1 -1
- package/dist/actions/list-order-custom-fields.cjs.map +1 -1
- package/dist/actions/list-order-custom-fields.d.cts +1 -1
- package/dist/actions/list-order-custom-fields.d.mts +1 -1
- package/dist/actions/list-order-custom-fields.mjs +1 -1
- package/dist/actions/list-order-custom-fields.mjs.map +1 -1
- package/dist/actions/list-route-directions.cjs +3 -3
- package/dist/actions/list-route-directions.cjs.map +1 -1
- package/dist/actions/list-route-directions.d.cts +3 -3
- package/dist/actions/list-route-directions.d.mts +3 -3
- package/dist/actions/list-route-directions.mjs +3 -3
- package/dist/actions/list-route-directions.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +2 -2
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +2 -2
- package/dist/actions/list-team-users.d.mts +2 -2
- package/dist/actions/list-team-users.mjs +2 -2
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-users-by-ids.cjs +1 -1
- package/dist/actions/list-users-by-ids.cjs.map +1 -1
- package/dist/actions/list-users-by-ids.d.cts +1 -1
- package/dist/actions/list-users-by-ids.d.mts +1 -1
- package/dist/actions/list-users-by-ids.mjs +1 -1
- package/dist/actions/list-users-by-ids.mjs.map +1 -1
- package/dist/actions/list-users-paginated.cjs +1 -1
- package/dist/actions/list-users-paginated.cjs.map +1 -1
- package/dist/actions/list-users-paginated.d.cts +1 -1
- package/dist/actions/list-users-paginated.d.mts +1 -1
- package/dist/actions/list-users-paginated.mjs +1 -1
- package/dist/actions/list-users-paginated.mjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.cjs +2 -2
- package/dist/actions/lookup-for-new-destination.cjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.d.cts +2 -2
- package/dist/actions/lookup-for-new-destination.d.mts +2 -2
- package/dist/actions/lookup-for-new-destination.mjs +2 -2
- package/dist/actions/lookup-for-new-destination.mjs.map +1 -1
- package/dist/actions/merge-routes.cjs +1 -1
- package/dist/actions/merge-routes.cjs.map +1 -1
- package/dist/actions/merge-routes.d.cts +1 -1
- package/dist/actions/merge-routes.d.mts +1 -1
- package/dist/actions/merge-routes.mjs +1 -1
- package/dist/actions/merge-routes.mjs.map +1 -1
- package/dist/actions/move-route.cjs +1 -1
- package/dist/actions/move-route.cjs.map +1 -1
- package/dist/actions/move-route.d.cts +1 -1
- package/dist/actions/move-route.d.mts +1 -1
- package/dist/actions/move-route.mjs +1 -1
- package/dist/actions/move-route.mjs.map +1 -1
- package/dist/actions/rerun-optimization.cjs +6 -6
- package/dist/actions/rerun-optimization.cjs.map +1 -1
- package/dist/actions/rerun-optimization.d.cts +11 -7
- package/dist/actions/rerun-optimization.d.cts.map +1 -1
- package/dist/actions/rerun-optimization.d.mts +11 -7
- package/dist/actions/rerun-optimization.d.mts.map +1 -1
- package/dist/actions/rerun-optimization.mjs +6 -6
- package/dist/actions/rerun-optimization.mjs.map +1 -1
- package/dist/actions/reverse-geocode-address.cjs +3 -3
- package/dist/actions/reverse-geocode-address.cjs.map +1 -1
- package/dist/actions/reverse-geocode-address.d.cts +3 -3
- package/dist/actions/reverse-geocode-address.d.mts +3 -3
- package/dist/actions/reverse-geocode-address.mjs +3 -3
- package/dist/actions/reverse-geocode-address.mjs.map +1 -1
- package/dist/actions/set-destination-status.cjs +1 -1
- package/dist/actions/set-destination-status.cjs.map +1 -1
- package/dist/actions/set-destination-status.d.cts +1 -1
- package/dist/actions/set-destination-status.d.mts +1 -1
- package/dist/actions/set-destination-status.mjs +1 -1
- package/dist/actions/set-destination-status.mjs.map +1 -1
- package/dist/actions/set-route-rating.cjs +1 -1
- package/dist/actions/set-route-rating.cjs.map +1 -1
- package/dist/actions/set-route-rating.d.cts +1 -1
- package/dist/actions/set-route-rating.d.mts +1 -1
- package/dist/actions/set-route-rating.mjs +1 -1
- package/dist/actions/set-route-rating.mjs.map +1 -1
- package/dist/actions/set-tracking.cjs +1 -1
- package/dist/actions/set-tracking.cjs.map +1 -1
- package/dist/actions/set-tracking.d.cts +1 -1
- package/dist/actions/set-tracking.d.mts +1 -1
- package/dist/actions/set-tracking.mjs +1 -1
- package/dist/actions/set-tracking.mjs.map +1 -1
- package/dist/actions/update-address.cjs +2 -2
- package/dist/actions/update-address.cjs.map +1 -1
- package/dist/actions/update-address.d.cts +3 -3
- package/dist/actions/update-address.d.mts +3 -3
- package/dist/actions/update-address.mjs +2 -2
- package/dist/actions/update-address.mjs.map +1 -1
- package/dist/actions/update-avoidance.cjs +2 -2
- package/dist/actions/update-avoidance.cjs.map +1 -1
- package/dist/actions/update-avoidance.d.cts +2 -2
- package/dist/actions/update-avoidance.d.mts +2 -2
- package/dist/actions/update-avoidance.mjs +2 -2
- package/dist/actions/update-avoidance.mjs.map +1 -1
- package/dist/actions/update-location-type.cjs +2 -2
- package/dist/actions/update-location-type.cjs.map +1 -1
- package/dist/actions/update-location-type.d.cts +2 -2
- package/dist/actions/update-location-type.d.mts +2 -2
- package/dist/actions/update-location-type.mjs +2 -2
- package/dist/actions/update-location-type.mjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.cjs +1 -1
- package/dist/actions/update-member-configuration-setting.cjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.d.cts +1 -1
- package/dist/actions/update-member-configuration-setting.d.mts +1 -1
- package/dist/actions/update-member-configuration-setting.mjs +1 -1
- package/dist/actions/update-member-configuration-setting.mjs.map +1 -1
- package/dist/actions/update-note-custom-type.cjs +1 -1
- package/dist/actions/update-note-custom-type.cjs.map +1 -1
- package/dist/actions/update-note-custom-type.d.cts +1 -1
- package/dist/actions/update-note-custom-type.d.mts +1 -1
- package/dist/actions/update-note-custom-type.mjs +1 -1
- package/dist/actions/update-note-custom-type.mjs.map +1 -1
- package/dist/actions/update-optimization-profile.cjs +1 -1
- package/dist/actions/update-optimization-profile.cjs.map +1 -1
- package/dist/actions/update-optimization-profile.d.cts +1 -1
- package/dist/actions/update-optimization-profile.d.mts +1 -1
- package/dist/actions/update-optimization-profile.mjs +1 -1
- package/dist/actions/update-optimization-profile.mjs.map +1 -1
- package/dist/actions/update-order-custom-field.cjs +2 -2
- package/dist/actions/update-order-custom-field.cjs.map +1 -1
- package/dist/actions/update-order-custom-field.d.cts +2 -2
- package/dist/actions/update-order-custom-field.d.mts +2 -2
- package/dist/actions/update-order-custom-field.mjs +2 -2
- package/dist/actions/update-order-custom-field.mjs.map +1 -1
- package/dist/actions/update-route-settings.cjs +1 -1
- package/dist/actions/update-route-settings.cjs.map +1 -1
- package/dist/actions/update-route-settings.d.cts +1 -1
- package/dist/actions/update-route-settings.d.mts +1 -1
- package/dist/actions/update-route-settings.mjs +1 -1
- package/dist/actions/update-route-settings.mjs.map +1 -1
- package/dist/actions/update-route-v4.cjs +4 -4
- package/dist/actions/update-route-v4.cjs.map +1 -1
- package/dist/actions/update-route-v4.d.cts +4 -4
- package/dist/actions/update-route-v4.d.mts +4 -4
- package/dist/actions/update-route-v4.mjs +4 -4
- package/dist/actions/update-route-v4.mjs.map +1 -1
- package/dist/actions/update-routes.cjs +2 -2
- package/dist/actions/update-routes.cjs.map +1 -1
- package/dist/actions/update-routes.d.cts +3 -2
- package/dist/actions/update-routes.d.mts +3 -2
- package/dist/actions/update-routes.mjs +2 -2
- package/dist/actions/update-routes.mjs.map +1 -1
- package/dist/actions/update-territory.cjs +2 -2
- package/dist/actions/update-territory.cjs.map +1 -1
- package/dist/actions/update-territory.d.cts +2 -2
- package/dist/actions/update-territory.d.mts +2 -2
- package/dist/actions/update-territory.mjs +2 -2
- package/dist/actions/update-territory.mjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.cts +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.mts +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ declare const Route4meListRouteDirectionsOutput: z.ZodObject<{
|
|
|
25
25
|
maneuverPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
lng: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
compass_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
udu_distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
}, z.core.$loose>>>>;
|
|
@@ -34,9 +34,9 @@ declare const Route4meListRouteDirectionsOutput: z.ZodObject<{
|
|
|
34
34
|
stop_status_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
destination_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
route_destination_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const route4meListRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
route_id: string;
|
|
42
42
|
limit?: number | undefined;
|
|
@@ -25,7 +25,7 @@ declare const Route4meListRouteDirectionsOutput: z.ZodObject<{
|
|
|
25
25
|
maneuverPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
lng: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
29
|
compass_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
udu_distance_unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
}, z.core.$loose>>>>;
|
|
@@ -34,9 +34,9 @@ declare const Route4meListRouteDirectionsOutput: z.ZodObject<{
|
|
|
34
34
|
stop_status_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
destination_uuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
route_destination_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>;
|
|
38
38
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const route4meListRouteDirections: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
route_id: string;
|
|
42
42
|
limit?: number | undefined;
|
|
@@ -9,7 +9,7 @@ const Route4meListRouteDirectionsInput = z.object({
|
|
|
9
9
|
const Route4meListRouteDirections_ManeuverPointSchema = z.object({
|
|
10
10
|
lat: z.number().describe("Latitude of the maneuver point.").nullable().optional(),
|
|
11
11
|
lng: z.number().describe("Longitude of the maneuver point.").nullable().optional()
|
|
12
|
-
}).describe("Geographic coordinates of a maneuver point.");
|
|
12
|
+
}).passthrough().describe("Geographic coordinates of a maneuver point.");
|
|
13
13
|
const Route4meListRouteDirections_DirectionStepSchema = z.object({
|
|
14
14
|
distance: z.number().describe("Distance for this step in the specified unit.").nullable().optional(),
|
|
15
15
|
direction: z.string().describe("Full direction instruction text.").nullable().optional(),
|
|
@@ -35,7 +35,7 @@ const Route4meListRouteDirections_RouteDirectionItemSchema = z.object({
|
|
|
35
35
|
stop_status_id: z.number().int().describe("Numeric identifier for the stop status.").nullable().optional(),
|
|
36
36
|
destination_uuid: z.string().describe("UUID of the destination.").nullable().optional(),
|
|
37
37
|
route_destination_id: z.number().int().describe("Unique identifier for the route destination.").nullable().optional()
|
|
38
|
-
}).describe("Individual direction item containing stop and navigation information.");
|
|
38
|
+
}).passthrough().describe("Individual direction item containing stop and navigation information.");
|
|
39
39
|
const route4meListRouteDirections = action("ROUTE4ME_LIST_ROUTE_DIRECTIONS", {
|
|
40
40
|
slug: "route4me-list-route-directions",
|
|
41
41
|
name: "List Route Directions",
|
|
@@ -44,7 +44,7 @@ const route4meListRouteDirections = action("ROUTE4ME_LIST_ROUTE_DIRECTIONS", {
|
|
|
44
44
|
output: z.object({
|
|
45
45
|
data: z.array(Route4meListRouteDirections_RouteDirectionItemSchema).describe("List of route direction items for the requested route."),
|
|
46
46
|
cursor: z.number().int().describe("Pagination cursor for the next page of results. Null if no more pages available.").nullable().optional()
|
|
47
|
-
}).describe("Response model containing paginated route directions information.")
|
|
47
|
+
}).passthrough().describe("Response model containing paginated route directions information.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { route4meListRouteDirections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-route-directions.mjs","names":[],"sources":["../../src/actions/list-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListRouteDirectionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Must be between 1 and 300.\").optional(),\n cursor: z.number().int().describe(\"Pagination offset for results. Use to retrieve subsequent pages of data.\").optional(),\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving detailed route directions information.\");\nconst Route4meListRouteDirections_ManeuverPointSchema = z.object({\n lat: z.number().describe(\"Latitude of the maneuver point.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of the maneuver point.\").nullable().optional(),\n}).describe(\"Geographic coordinates of a maneuver point.\");\nconst Route4meListRouteDirections_DirectionStepSchema = z.object({\n distance: z.number().describe(\"Distance for this step in the specified unit.\").nullable().optional(),\n direction: z.string().describe(\"Full direction instruction text.\").nullable().optional(),\n directions: z.string().describe(\"Short direction instruction (e.g., 'left', 'right', 'straight').\").nullable().optional(),\n duration_sec: z.number().int().describe(\"Duration of this step in seconds.\").nullable().optional(),\n maneuverType: z.string().describe(\"Type of maneuver (e.g., 'turn-left', 'turn-right', 'depart').\").nullable().optional(),\n udu_distance: z.number().describe(\"Distance in user-defined units.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of distance measurement (e.g., 'mi', 'km').\").nullable().optional(),\n maneuverPoint: Route4meListRouteDirections_ManeuverPointSchema.nullable().optional(),\n compass_direction: z.string().describe(\"Compass direction in degrees.\").nullable().optional(),\n udu_distance_unit: z.string().describe(\"User-defined distance unit.\").nullable().optional(),\n}).passthrough().describe(\"Individual turn-by-turn direction step.\");\nconst Route4meListRouteDirections_RouteDirectionItemSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate of the destination.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate of the destination.\").nullable().optional(),\n alias: z.string().describe(\"Alias or nickname for the address.\").nullable().optional(),\n int_id: z.number().int().describe(\"Internal identifier for the direction item.\").nullable().optional(),\n address: z.string().describe(\"Full address of the destination.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this destination is a depot location.\").nullable().optional(),\n directions: z.array(Route4meListRouteDirections_DirectionStepSchema).describe(\"List of turn-by-turn direction steps for reaching this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number of the stop in the route.\").nullable().optional(),\n stop_status: z.string().describe(\"Current status of the stop (e.g., 'visited', 'pending').\").nullable().optional(),\n stop_status_id: z.number().int().describe(\"Numeric identifier for the stop status.\").nullable().optional(),\n destination_uuid: z.string().describe(\"UUID of the destination.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the route destination.\").nullable().optional(),\n}).describe(\"Individual direction item containing stop and navigation information.\");\nexport const Route4meListRouteDirectionsOutput = z.object({\n data: z.array(Route4meListRouteDirections_RouteDirectionItemSchema).describe(\"List of route direction items for the requested route.\"),\n cursor: z.number().int().describe(\"Pagination cursor for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).describe(\"Response model containing paginated route directions information.\");\n\nexport const route4meListRouteDirections = action(\"ROUTE4ME_LIST_ROUTE_DIRECTIONS\", {\n slug: \"route4me-list-route-directions\",\n name: \"List Route Directions\",\n description: \"Tool to get detailed route directions including turn-by-turn navigation information for each stop. Use when you need comprehensive direction details for a specific route including stop sequences, addresses, coordinates, and status information.\",\n input: Route4meListRouteDirectionsInput,\n output: Route4meListRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"list-route-directions.mjs","names":[],"sources":["../../src/actions/list-route-directions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListRouteDirectionsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Must be between 1 and 300.\").optional(),\n cursor: z.number().int().describe(\"Pagination offset for results. Use to retrieve subsequent pages of data.\").optional(),\n route_id: z.string().describe(\"Route identifier as a 32-character hexadecimal string.\"),\n}).describe(\"Request model for retrieving detailed route directions information.\");\nconst Route4meListRouteDirections_ManeuverPointSchema = z.object({\n lat: z.number().describe(\"Latitude of the maneuver point.\").nullable().optional(),\n lng: z.number().describe(\"Longitude of the maneuver point.\").nullable().optional(),\n}).passthrough().describe(\"Geographic coordinates of a maneuver point.\");\nconst Route4meListRouteDirections_DirectionStepSchema = z.object({\n distance: z.number().describe(\"Distance for this step in the specified unit.\").nullable().optional(),\n direction: z.string().describe(\"Full direction instruction text.\").nullable().optional(),\n directions: z.string().describe(\"Short direction instruction (e.g., 'left', 'right', 'straight').\").nullable().optional(),\n duration_sec: z.number().int().describe(\"Duration of this step in seconds.\").nullable().optional(),\n maneuverType: z.string().describe(\"Type of maneuver (e.g., 'turn-left', 'turn-right', 'depart').\").nullable().optional(),\n udu_distance: z.number().describe(\"Distance in user-defined units.\").nullable().optional(),\n distance_unit: z.string().describe(\"Unit of distance measurement (e.g., 'mi', 'km').\").nullable().optional(),\n maneuverPoint: Route4meListRouteDirections_ManeuverPointSchema.nullable().optional(),\n compass_direction: z.string().describe(\"Compass direction in degrees.\").nullable().optional(),\n udu_distance_unit: z.string().describe(\"User-defined distance unit.\").nullable().optional(),\n}).passthrough().describe(\"Individual turn-by-turn direction step.\");\nconst Route4meListRouteDirections_RouteDirectionItemSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate of the destination.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate of the destination.\").nullable().optional(),\n alias: z.string().describe(\"Alias or nickname for the address.\").nullable().optional(),\n int_id: z.number().int().describe(\"Internal identifier for the direction item.\").nullable().optional(),\n address: z.string().describe(\"Full address of the destination.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this destination is a depot location.\").nullable().optional(),\n directions: z.array(Route4meListRouteDirections_DirectionStepSchema).describe(\"List of turn-by-turn direction steps for reaching this destination.\").nullable().optional(),\n sequence_no: z.number().int().describe(\"Sequence number of the stop in the route.\").nullable().optional(),\n stop_status: z.string().describe(\"Current status of the stop (e.g., 'visited', 'pending').\").nullable().optional(),\n stop_status_id: z.number().int().describe(\"Numeric identifier for the stop status.\").nullable().optional(),\n destination_uuid: z.string().describe(\"UUID of the destination.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for the route destination.\").nullable().optional(),\n}).passthrough().describe(\"Individual direction item containing stop and navigation information.\");\nexport const Route4meListRouteDirectionsOutput = z.object({\n data: z.array(Route4meListRouteDirections_RouteDirectionItemSchema).describe(\"List of route direction items for the requested route.\"),\n cursor: z.number().int().describe(\"Pagination cursor for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated route directions information.\");\n\nexport const route4meListRouteDirections = action(\"ROUTE4ME_LIST_ROUTE_DIRECTIONS\", {\n slug: \"route4me-list-route-directions\",\n name: \"List Route Directions\",\n description: \"Tool to get detailed route directions including turn-by-turn navigation information for each stop. Use when you need comprehensive direction details for a specific route including stop sequences, addresses, coordinates, and status information.\",\n input: Route4meListRouteDirectionsInput,\n output: Route4meListRouteDirectionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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AAS;CACtF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAMjG,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,wDAAwD;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -25,8 +25,8 @@ const Route4meListTeamUsers_TeamUserSchema = zod.z.object({
|
|
|
25
25
|
HIDE_ROUTED_ADDRESSES: zod.z.boolean().describe("Whether to hide routed addresses for this user.").nullable().optional(),
|
|
26
26
|
HIDE_VISITED_ADDRESSES: zod.z.boolean().describe("Whether to hide visited addresses for this user.").nullable().optional(),
|
|
27
27
|
allowed_submember_types: zod.z.array(zod.z.string()).describe("List of allowed sub-member types for this user.").nullable().optional()
|
|
28
|
-
}).describe("Single team member/user information.");
|
|
29
|
-
const Route4meListTeamUsersOutput = zod.z.object({ items: zod.z.array(Route4meListTeamUsers_TeamUserSchema).describe("List of team members in the account.").nullable().optional() }).describe("Response model containing the list of team members/users.");
|
|
28
|
+
}).passthrough().describe("Single team member/user information.");
|
|
29
|
+
const Route4meListTeamUsersOutput = zod.z.object({ items: zod.z.array(Route4meListTeamUsers_TeamUserSchema).describe("List of team members in the account.").nullable().optional() }).passthrough().describe("Response model containing the list of team members/users.");
|
|
30
30
|
const route4meListTeamUsers = require_action.action("ROUTE4ME_LIST_TEAM_USERS", {
|
|
31
31
|
slug: "route4me-list-team-users",
|
|
32
32
|
name: "List Team Users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.cjs","names":["z","action"],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListTeamUsersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n}).describe(\"Request model for retrieving the list of team members/users.\");\nconst Route4meListTeamUsers_TeamUserSchema = z.object({\n can_edit: z.boolean().describe(\"Whether this user can be edited.\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n can_delete: z.boolean().describe(\"Whether this user can be deleted.\").nullable().optional(),\n custom_data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., SUB_ACCOUNT_DISPATCHER, PRIMARY_ACCOUNT).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n SHOW_SUSR_ADDR: z.boolean().describe(\"Whether to show sub-user addresses.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n SHOW_SUSR_ORDERS: z.boolean().describe(\"Whether to show sub-user orders.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n HIDE_NONFUTURE_ROUTES: z.boolean().describe(\"Whether to hide non-future routes for this user.\").nullable().optional(),\n HIDE_ROUTED_ADDRESSES: z.boolean().describe(\"Whether to hide routed addresses for this user.\").nullable().optional(),\n HIDE_VISITED_ADDRESSES: z.boolean().describe(\"Whether to hide visited addresses for this user.\").nullable().optional(),\n allowed_submember_types: z.array(z.string()).describe(\"List of allowed sub-member types for this user.\").nullable().optional(),\n}).describe(\"Single team member/user information.\");\nexport const Route4meListTeamUsersOutput = z.object({\n items: z.array(Route4meListTeamUsers_TeamUserSchema).describe(\"List of team members in the account.\").nullable().optional(),\n}).describe(\"Response model containing the list of team members/users.\");\n\nexport const route4meListTeamUsers = action(\"ROUTE4ME_LIST_TEAM_USERS\", {\n slug: \"route4me-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to get the list of team members/users in the account. Use when you need to view all members, their roles, permissions, and contact information.\",\n input: Route4meListTeamUsersInput,\n output: Route4meListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IA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AO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,yBAAyBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-team-users.cjs","names":["z","action"],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListTeamUsersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n}).describe(\"Request model for retrieving the list of team members/users.\");\nconst Route4meListTeamUsers_TeamUserSchema = z.object({\n can_edit: z.boolean().describe(\"Whether this user can be edited.\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n can_delete: z.boolean().describe(\"Whether this user can be deleted.\").nullable().optional(),\n custom_data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., SUB_ACCOUNT_DISPATCHER, PRIMARY_ACCOUNT).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n SHOW_SUSR_ADDR: z.boolean().describe(\"Whether to show sub-user addresses.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n SHOW_SUSR_ORDERS: z.boolean().describe(\"Whether to show sub-user orders.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n HIDE_NONFUTURE_ROUTES: z.boolean().describe(\"Whether to hide non-future routes for this user.\").nullable().optional(),\n HIDE_ROUTED_ADDRESSES: z.boolean().describe(\"Whether to hide routed addresses for this user.\").nullable().optional(),\n HIDE_VISITED_ADDRESSES: z.boolean().describe(\"Whether to hide visited addresses for this user.\").nullable().optional(),\n allowed_submember_types: z.array(z.string()).describe(\"List of allowed sub-member types for this user.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information.\");\nexport const Route4meListTeamUsersOutput = z.object({\n items: z.array(Route4meListTeamUsers_TeamUserSchema).describe(\"List of team members in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of team members/users.\");\n\nexport const route4meListTeamUsers = action(\"ROUTE4ME_LIST_TEAM_USERS\", {\n slug: \"route4me-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to get the list of team members/users in the account. Use when you need to view all members, their roles, permissions, and contact information.\",\n input: Route4meListTeamUsersInput,\n output: Route4meListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,OAAO,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AAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -26,8 +26,8 @@ declare const Route4meListTeamUsersOutput: z.ZodObject<{
|
|
|
26
26
|
HIDE_ROUTED_ADDRESSES: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
27
|
HIDE_VISITED_ADDRESSES: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
28
|
allowed_submember_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const route4meListTeamUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
per_page?: number | undefined;
|
|
@@ -26,8 +26,8 @@ declare const Route4meListTeamUsersOutput: z.ZodObject<{
|
|
|
26
26
|
HIDE_ROUTED_ADDRESSES: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
27
27
|
HIDE_VISITED_ADDRESSES: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
28
|
allowed_submember_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const route4meListTeamUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
per_page?: number | undefined;
|
|
@@ -25,13 +25,13 @@ const Route4meListTeamUsers_TeamUserSchema = z.object({
|
|
|
25
25
|
HIDE_ROUTED_ADDRESSES: z.boolean().describe("Whether to hide routed addresses for this user.").nullable().optional(),
|
|
26
26
|
HIDE_VISITED_ADDRESSES: z.boolean().describe("Whether to hide visited addresses for this user.").nullable().optional(),
|
|
27
27
|
allowed_submember_types: z.array(z.string()).describe("List of allowed sub-member types for this user.").nullable().optional()
|
|
28
|
-
}).describe("Single team member/user information.");
|
|
28
|
+
}).passthrough().describe("Single team member/user information.");
|
|
29
29
|
const route4meListTeamUsers = action("ROUTE4ME_LIST_TEAM_USERS", {
|
|
30
30
|
slug: "route4me-list-team-users",
|
|
31
31
|
name: "List Team Users",
|
|
32
32
|
description: "Tool to get the list of team members/users in the account. Use when you need to view all members, their roles, permissions, and contact information.",
|
|
33
33
|
input: Route4meListTeamUsersInput,
|
|
34
|
-
output: z.object({ items: z.array(Route4meListTeamUsers_TeamUserSchema).describe("List of team members in the account.").nullable().optional() }).describe("Response model containing the list of team members/users.")
|
|
34
|
+
output: z.object({ items: z.array(Route4meListTeamUsers_TeamUserSchema).describe("List of team members in the account.").nullable().optional() }).passthrough().describe("Response model containing the list of team members/users.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { route4meListTeamUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-team-users.mjs","names":[],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListTeamUsersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n}).describe(\"Request model for retrieving the list of team members/users.\");\nconst Route4meListTeamUsers_TeamUserSchema = z.object({\n can_edit: z.boolean().describe(\"Whether this user can be edited.\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n can_delete: z.boolean().describe(\"Whether this user can be deleted.\").nullable().optional(),\n custom_data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., SUB_ACCOUNT_DISPATCHER, PRIMARY_ACCOUNT).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n SHOW_SUSR_ADDR: z.boolean().describe(\"Whether to show sub-user addresses.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n SHOW_SUSR_ORDERS: z.boolean().describe(\"Whether to show sub-user orders.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n HIDE_NONFUTURE_ROUTES: z.boolean().describe(\"Whether to hide non-future routes for this user.\").nullable().optional(),\n HIDE_ROUTED_ADDRESSES: z.boolean().describe(\"Whether to hide routed addresses for this user.\").nullable().optional(),\n HIDE_VISITED_ADDRESSES: z.boolean().describe(\"Whether to hide visited addresses for this user.\").nullable().optional(),\n allowed_submember_types: z.array(z.string()).describe(\"List of allowed sub-member types for this user.\").nullable().optional(),\n}).describe(\"Single team member/user information.\");\nexport const Route4meListTeamUsersOutput = z.object({\n items: z.array(Route4meListTeamUsers_TeamUserSchema).describe(\"List of team members in the account.\").nullable().optional(),\n}).describe(\"Response model containing the list of team members/users.\");\n\nexport const route4meListTeamUsers = action(\"ROUTE4ME_LIST_TEAM_USERS\", {\n slug: \"route4me-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to get the list of team members/users in the account. Use when you need to view all members, their roles, permissions, and contact information.\",\n input: Route4meListTeamUsersInput,\n output: Route4meListTeamUsersOutput,\n});\n"],"mappings":";;;AAI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AAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,yBAAyB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"list-team-users.mjs","names":[],"sources":["../../src/actions/list-team-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListTeamUsersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n}).describe(\"Request model for retrieving the list of team members/users.\");\nconst Route4meListTeamUsers_TeamUserSchema = z.object({\n can_edit: z.boolean().describe(\"Whether this user can be edited.\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n can_delete: z.boolean().describe(\"Whether this user can be deleted.\").nullable().optional(),\n custom_data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., SUB_ACCOUNT_DISPATCHER, PRIMARY_ACCOUNT).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n SHOW_SUSR_ADDR: z.boolean().describe(\"Whether to show sub-user addresses.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n SHOW_SUSR_ORDERS: z.boolean().describe(\"Whether to show sub-user orders.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n HIDE_NONFUTURE_ROUTES: z.boolean().describe(\"Whether to hide non-future routes for this user.\").nullable().optional(),\n HIDE_ROUTED_ADDRESSES: z.boolean().describe(\"Whether to hide routed addresses for this user.\").nullable().optional(),\n HIDE_VISITED_ADDRESSES: z.boolean().describe(\"Whether to hide visited addresses for this user.\").nullable().optional(),\n allowed_submember_types: z.array(z.string()).describe(\"List of allowed sub-member types for this user.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information.\");\nexport const Route4meListTeamUsersOutput = z.object({\n items: z.array(Route4meListTeamUsers_TeamUserSchema).describe(\"List of team members in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of team members/users.\");\n\nexport const route4meListTeamUsers = action(\"ROUTE4ME_LIST_TEAM_USERS\", {\n slug: \"route4me-list-team-users\",\n name: \"List Team Users\",\n description: \"Tool to get the list of team members/users in the account. Use when you need to view all members, their roles, permissions, and contact information.\",\n input: Route4meListTeamUsersInput,\n output: Route4meListTeamUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,uCAAuC,EAAE,OAAO;CACpD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CA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O,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -24,7 +24,7 @@ const Route4meListUsersByIds_UserDetailsSchema = zod.z.object({
|
|
|
24
24
|
authentication_count: zod.z.number().int().describe("Number of times the member has authenticated.").nullable().optional(),
|
|
25
25
|
timestamp_last_active: zod.z.number().int().describe("Unix timestamp of the member's last activity.").nullable().optional()
|
|
26
26
|
}).passthrough().describe("Detailed information about a single team member.");
|
|
27
|
-
const Route4meListUsersByIdsOutput = zod.z.object({ items: zod.z.array(Route4meListUsersByIds_UserDetailsSchema).describe("List of team members with detailed information.").nullable().optional() }).describe("Response model containing the list of team members retrieved by IDs.");
|
|
27
|
+
const Route4meListUsersByIdsOutput = zod.z.object({ items: zod.z.array(Route4meListUsersByIds_UserDetailsSchema).describe("List of team members with detailed information.").nullable().optional() }).passthrough().describe("Response model containing the list of team members retrieved by IDs.");
|
|
28
28
|
const route4meListUsersByIds = require_action.action("ROUTE4ME_LIST_USERS_BY_IDS", {
|
|
29
29
|
slug: "route4me-list-users-by-ids",
|
|
30
30
|
name: "List Users By IDs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users-by-ids.cjs","names":["z","action"],"sources":["../../src/actions/list-users-by-ids.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersByIdsInput = z.object({\n member_ids: z.array(z.number().int()).describe(\"Array of member IDs to retrieve. Minimum 1 member ID required.\"),\n}).describe(\"Request model for retrieving detailed information about team members by their IDs.\");\nconst Route4meListUsersByIds_UserPermissionSchema = z.record(z.string(), z.unknown()).describe(\"User permission details.\");\nconst Route4meListUsersByIds_UserTerritorySchema = z.record(z.string(), z.unknown()).describe(\"User territory details.\");\nconst Route4meListUsersByIds_UserDetailsSchema = z.object({\n timezone: z.string().describe(\"Team member's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n custom_data: z.record(z.string(), z.unknown()).describe(\"Custom data associated with this team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER, SUB_ACCOUNT_ANALYST, SUB_ACCOUNT_VENDOR, SUB_ACCOUNT_CUSTOMER_SERVICE, SUB_ACCOUNT_SORTER, SUB_ACCOUNT_CUSTOMER_SUPPORT).\").nullable().optional(),\n permissions: z.array(Route4meListUsersByIds_UserPermissionSchema).describe(\"Array of permissions assigned to the member.\").nullable().optional(),\n territories: z.array(Route4meListUsersByIds_UserTerritorySchema).describe(\"Array of territories assigned to the member.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"Array of facility IDs (UUIDs) associated with this member.\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n member_phone: z.string().describe(\"Team member's phone number.\").nullable().optional(),\n member_company: z.string().describe(\"Company name associated with the team member.\").nullable().optional(),\n member_picture: z.string().describe(\"URI to the team member's picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the member was added to the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n last_login_device: z.string().describe(\"Device information from the member's last login.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n authentication_count: z.number().int().describe(\"Number of times the member has authenticated.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the member's last activity.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single team member.\");\nexport const Route4meListUsersByIdsOutput = z.object({\n items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe(\"List of team members with detailed information.\").nullable().optional(),\n}).describe(\"Response model containing the list of team members retrieved by IDs.\");\n\nexport const route4meListUsersByIds = action(\"ROUTE4ME_LIST_USERS_BY_IDS\", {\n slug: \"route4me-list-users-by-ids\",\n name: \"List Users By IDs\",\n description: \"Tool to retrieve detailed information about team members by their member IDs. Use when you need to get specific user details for one or more members by their IDs.\",\n input: Route4meListUsersByIdsInput,\n output: Route4meListUsersByIdsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACjH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,8CAA8CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACzH,MAAM,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACvH,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,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CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,sEAAsE;
|
|
1
|
+
{"version":3,"file":"list-users-by-ids.cjs","names":["z","action"],"sources":["../../src/actions/list-users-by-ids.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersByIdsInput = z.object({\n member_ids: z.array(z.number().int()).describe(\"Array of member IDs to retrieve. Minimum 1 member ID required.\"),\n}).describe(\"Request model for retrieving detailed information about team members by their IDs.\");\nconst Route4meListUsersByIds_UserPermissionSchema = z.record(z.string(), z.unknown()).describe(\"User permission details.\");\nconst Route4meListUsersByIds_UserTerritorySchema = z.record(z.string(), z.unknown()).describe(\"User territory details.\");\nconst Route4meListUsersByIds_UserDetailsSchema = z.object({\n timezone: z.string().describe(\"Team member's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n custom_data: z.record(z.string(), z.unknown()).describe(\"Custom data associated with this team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER, SUB_ACCOUNT_ANALYST, SUB_ACCOUNT_VENDOR, SUB_ACCOUNT_CUSTOMER_SERVICE, SUB_ACCOUNT_SORTER, SUB_ACCOUNT_CUSTOMER_SUPPORT).\").nullable().optional(),\n permissions: z.array(Route4meListUsersByIds_UserPermissionSchema).describe(\"Array of permissions assigned to the member.\").nullable().optional(),\n territories: z.array(Route4meListUsersByIds_UserTerritorySchema).describe(\"Array of territories assigned to the member.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"Array of facility IDs (UUIDs) associated with this member.\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n member_phone: z.string().describe(\"Team member's phone number.\").nullable().optional(),\n member_company: z.string().describe(\"Company name associated with the team member.\").nullable().optional(),\n member_picture: z.string().describe(\"URI to the team member's picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the member was added to the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n last_login_device: z.string().describe(\"Device information from the member's last login.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n authentication_count: z.number().int().describe(\"Number of times the member has authenticated.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the member's last activity.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single team member.\");\nexport const Route4meListUsersByIdsOutput = z.object({\n items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe(\"List of team members with detailed information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of team members retrieved by IDs.\");\n\nexport const route4meListUsersByIds = action(\"ROUTE4ME_LIST_USERS_BY_IDS\", {\n slug: \"route4me-list-users-by-ids\",\n name: \"List Users By IDs\",\n description: \"Tool to retrieve detailed information about team members by their member IDs. Use when you need to get specific user details for one or more members by their IDs.\",\n input: Route4meListUsersByIdsInput,\n output: Route4meListUsersByIdsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACjH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,8CAA8CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACzH,MAAM,6CAA6CA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACvH,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3U,aAAaA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,CA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,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -25,7 +25,7 @@ declare const Route4meListUsersByIdsOutput: z.ZodObject<{
|
|
|
25
25
|
authentication_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
timestamp_last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
}, z.core.$loose>>>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const route4meListUsersByIds: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
member_ids: number[];
|
|
31
31
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -25,7 +25,7 @@ declare const Route4meListUsersByIdsOutput: z.ZodObject<{
|
|
|
25
25
|
authentication_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
timestamp_last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
}, z.core.$loose>>>>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>;
|
|
29
29
|
declare const route4meListUsersByIds: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
30
|
member_ids: number[];
|
|
31
31
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -29,7 +29,7 @@ const route4meListUsersByIds = action("ROUTE4ME_LIST_USERS_BY_IDS", {
|
|
|
29
29
|
name: "List Users By IDs",
|
|
30
30
|
description: "Tool to retrieve detailed information about team members by their member IDs. Use when you need to get specific user details for one or more members by their IDs.",
|
|
31
31
|
input: Route4meListUsersByIdsInput,
|
|
32
|
-
output: z.object({ items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe("List of team members with detailed information.").nullable().optional() }).describe("Response model containing the list of team members retrieved by IDs.")
|
|
32
|
+
output: z.object({ items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe("List of team members with detailed information.").nullable().optional() }).passthrough().describe("Response model containing the list of team members retrieved by IDs.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { route4meListUsersByIds };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users-by-ids.mjs","names":[],"sources":["../../src/actions/list-users-by-ids.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersByIdsInput = z.object({\n member_ids: z.array(z.number().int()).describe(\"Array of member IDs to retrieve. Minimum 1 member ID required.\"),\n}).describe(\"Request model for retrieving detailed information about team members by their IDs.\");\nconst Route4meListUsersByIds_UserPermissionSchema = z.record(z.string(), z.unknown()).describe(\"User permission details.\");\nconst Route4meListUsersByIds_UserTerritorySchema = z.record(z.string(), z.unknown()).describe(\"User territory details.\");\nconst Route4meListUsersByIds_UserDetailsSchema = z.object({\n timezone: z.string().describe(\"Team member's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n custom_data: z.record(z.string(), z.unknown()).describe(\"Custom data associated with this team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER, SUB_ACCOUNT_ANALYST, SUB_ACCOUNT_VENDOR, SUB_ACCOUNT_CUSTOMER_SERVICE, SUB_ACCOUNT_SORTER, SUB_ACCOUNT_CUSTOMER_SUPPORT).\").nullable().optional(),\n permissions: z.array(Route4meListUsersByIds_UserPermissionSchema).describe(\"Array of permissions assigned to the member.\").nullable().optional(),\n territories: z.array(Route4meListUsersByIds_UserTerritorySchema).describe(\"Array of territories assigned to the member.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"Array of facility IDs (UUIDs) associated with this member.\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n member_phone: z.string().describe(\"Team member's phone number.\").nullable().optional(),\n member_company: z.string().describe(\"Company name associated with the team member.\").nullable().optional(),\n member_picture: z.string().describe(\"URI to the team member's picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the member was added to the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n last_login_device: z.string().describe(\"Device information from the member's last login.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n authentication_count: z.number().int().describe(\"Number of times the member has authenticated.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the member's last activity.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single team member.\");\nexport const Route4meListUsersByIdsOutput = z.object({\n items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe(\"List of team members with detailed information.\").nullable().optional(),\n}).describe(\"Response model containing the list of team members retrieved by IDs.\");\n\nexport const route4meListUsersByIds = action(\"ROUTE4ME_LIST_USERS_BY_IDS\", {\n slug: \"route4me-list-users-by-ids\",\n name: \"List Users By IDs\",\n description: \"Tool to retrieve detailed information about team members by their member IDs. Use when you need to get specific user details for one or more members by their IDs.\",\n input: Route4meListUsersByIdsInput,\n output: Route4meListUsersByIdsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACjH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,8CAA8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACzH,MAAM,6CAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACvH,MAAM,2CAA2C,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oRAAoR,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3U,aAAa,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EA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AAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-users-by-ids.mjs","names":[],"sources":["../../src/actions/list-users-by-ids.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersByIdsInput = z.object({\n member_ids: z.array(z.number().int()).describe(\"Array of member IDs to retrieve. Minimum 1 member ID required.\"),\n}).describe(\"Request model for retrieving detailed information about team members by their IDs.\");\nconst Route4meListUsersByIds_UserPermissionSchema = z.record(z.string(), z.unknown()).describe(\"User permission details.\");\nconst Route4meListUsersByIds_UserTerritorySchema = z.record(z.string(), z.unknown()).describe(\"User territory details.\");\nconst Route4meListUsersByIds_UserDetailsSchema = z.object({\n timezone: z.string().describe(\"Team member's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n custom_data: z.record(z.string(), z.unknown()).describe(\"Custom data associated with this team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_ADMIN, SUB_ACCOUNT_REGIONAL_MANAGER, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_PLANNER, SUB_ACCOUNT_DRIVER, SUB_ACCOUNT_ANALYST, SUB_ACCOUNT_VENDOR, SUB_ACCOUNT_CUSTOMER_SERVICE, SUB_ACCOUNT_SORTER, SUB_ACCOUNT_CUSTOMER_SUPPORT).\").nullable().optional(),\n permissions: z.array(Route4meListUsersByIds_UserPermissionSchema).describe(\"Array of permissions assigned to the member.\").nullable().optional(),\n territories: z.array(Route4meListUsersByIds_UserTerritorySchema).describe(\"Array of territories assigned to the member.\").nullable().optional(),\n facility_ids: z.array(z.string()).describe(\"Array of facility IDs (UUIDs) associated with this member.\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n member_phone: z.string().describe(\"Team member's phone number.\").nullable().optional(),\n member_company: z.string().describe(\"Company name associated with the team member.\").nullable().optional(),\n member_picture: z.string().describe(\"URI to the team member's picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the member was added to the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n last_login_device: z.string().describe(\"Device information from the member's last login.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n authentication_count: z.number().int().describe(\"Number of times the member has authenticated.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the member's last activity.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a single team member.\");\nexport const Route4meListUsersByIdsOutput = z.object({\n items: z.array(Route4meListUsersByIds_UserDetailsSchema).describe(\"List of team members with detailed information.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of team members retrieved by IDs.\");\n\nexport const route4meListUsersByIds = action(\"ROUTE4ME_LIST_USERS_BY_IDS\", {\n slug: \"route4me-list-users-by-ids\",\n name: \"List Users By IDs\",\n description: \"Tool to retrieve detailed information about team members by their member IDs. Use when you need to get specific user details for one or more members by their IDs.\",\n input: Route4meListUsersByIdsInput,\n output: Route4meListUsersByIdsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACjH,CAAC,CAAC,CAAC,SAAS,oFAAoF;AAChG,MAAM,8CAA8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACzH,MAAM,6CAA6C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACvH,MAAM,2CAA2C,EAAE,O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DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ const Route4meListUsersPaginatedOutput = zod.z.object({
|
|
|
28
28
|
error: zod.z.array(zod.z.string()).describe("List of errors encountered during retrieval, if any.").nullable().optional(),
|
|
29
29
|
items: zod.z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe("List of team members in the current page.").nullable().optional(),
|
|
30
30
|
total: zod.z.number().int().describe("Total number of users available across all pages.").nullable().optional()
|
|
31
|
-
}).describe("Response model containing paginated list of team members/users.");
|
|
31
|
+
}).passthrough().describe("Response model containing paginated list of team members/users.");
|
|
32
32
|
const route4meListUsersPaginated = require_action.action("ROUTE4ME_LIST_USERS_PAGINATED", {
|
|
33
33
|
slug: "route4me-list-users-paginated",
|
|
34
34
|
name: "List Team Users (Paginated)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users-paginated.cjs","names":["z","action"],"sources":["../../src/actions/list-users-paginated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersPaginatedInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to filter users by name, email, or other fields.\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Sort field and direction as nested array. Format: [[\\\"field_name\\\", \\\"asc\\\"]] or [[\\\"field_name\\\", \\\"desc\\\"]].\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n drivers_only: z.boolean().describe(\"Filter to show only drivers (members with driver role).\").optional(),\n optimization_problem_id: z.string().describe(\"Filter users by specific optimization problem ID.\").optional(),\n}).describe(\"Request model for retrieving the paginated list of team members/users.\");\nconst Route4meListUsersPaginated_PaginatedUserSchema = z.object({\n timezone: z.string().describe(\"User's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_DRIVER).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the user was added to the account.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the last time the user was active.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information in paginated response.\");\nexport const Route4meListUsersPaginatedOutput = z.object({\n error: z.array(z.string()).describe(\"List of errors encountered during retrieval, if any.\").nullable().optional(),\n items: z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe(\"List of team members in the current page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of users available across all pages.\").nullable().optional(),\n}).describe(\"Response model containing paginated list of team members/users.\");\n\nexport const route4meListUsersPaginated = action(\"ROUTE4ME_LIST_USERS_PAGINATED\", {\n slug: \"route4me-list-users-paginated\",\n name: \"List Team Users (Paginated)\",\n description: \"Tool to get a paginated list of team members/users in the account. Use when you need to retrieve team members with pagination support, search filtering, or when dealing with large teams where retrieving all users at once is not practical.\",\n input: Route4meListUsersPaginatedInput,\n output: Route4meListUsersPaginatedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC3K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;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SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"list-users-paginated.cjs","names":["z","action"],"sources":["../../src/actions/list-users-paginated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersPaginatedInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to filter users by name, email, or other fields.\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Sort field and direction as nested array. Format: [[\\\"field_name\\\", \\\"asc\\\"]] or [[\\\"field_name\\\", \\\"desc\\\"]].\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n drivers_only: z.boolean().describe(\"Filter to show only drivers (members with driver role).\").optional(),\n optimization_problem_id: z.string().describe(\"Filter users by specific optimization problem ID.\").optional(),\n}).describe(\"Request model for retrieving the paginated list of team members/users.\");\nconst Route4meListUsersPaginated_PaginatedUserSchema = z.object({\n timezone: z.string().describe(\"User's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_DRIVER).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the user was added to the account.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the last time the user was active.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information in paginated response.\");\nexport const Route4meListUsersPaginatedOutput = z.object({\n error: z.array(z.string()).describe(\"List of errors encountered during retrieval, if any.\").nullable().optional(),\n items: z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe(\"List of team members in the current page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of users available across all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of team members/users.\");\n\nexport const route4meListUsersPaginated = action(\"ROUTE4ME_LIST_USERS_PAGINATED\", {\n slug: \"route4me-list-users-paginated\",\n name: \"List Team Users (Paginated)\",\n description: \"Tool to get a paginated list of team members/users in the account. Use when you need to retrieve team members with pagination support, search filtering, or when dealing with large teams where retrieving all users at once is not practical.\",\n input: Route4meListUsersPaginatedInput,\n output: Route4meListUsersPaginatedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC3K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACvG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,QAAQ,CA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A,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ declare const Route4meListUsersPaginatedOutput: z.ZodObject<{
|
|
|
27
27
|
timestamp_last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
}, z.core.$loose>>>>;
|
|
29
29
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const route4meListUsersPaginated: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
query?: string | undefined;
|
|
@@ -27,7 +27,7 @@ declare const Route4meListUsersPaginatedOutput: z.ZodObject<{
|
|
|
27
27
|
timestamp_last_active: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
}, z.core.$loose>>>>;
|
|
29
29
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const route4meListUsersPaginated: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
page?: number | undefined;
|
|
33
33
|
query?: string | undefined;
|
|
@@ -33,7 +33,7 @@ const route4meListUsersPaginated = action("ROUTE4ME_LIST_USERS_PAGINATED", {
|
|
|
33
33
|
error: z.array(z.string()).describe("List of errors encountered during retrieval, if any.").nullable().optional(),
|
|
34
34
|
items: z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe("List of team members in the current page.").nullable().optional(),
|
|
35
35
|
total: z.number().int().describe("Total number of users available across all pages.").nullable().optional()
|
|
36
|
-
}).describe("Response model containing paginated list of team members/users.")
|
|
36
|
+
}).passthrough().describe("Response model containing paginated list of team members/users.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { route4meListUsersPaginated };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-users-paginated.mjs","names":[],"sources":["../../src/actions/list-users-paginated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersPaginatedInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to filter users by name, email, or other fields.\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Sort field and direction as nested array. Format: [[\\\"field_name\\\", \\\"asc\\\"]] or [[\\\"field_name\\\", \\\"desc\\\"]].\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n drivers_only: z.boolean().describe(\"Filter to show only drivers (members with driver role).\").optional(),\n optimization_problem_id: z.string().describe(\"Filter users by specific optimization problem ID.\").optional(),\n}).describe(\"Request model for retrieving the paginated list of team members/users.\");\nconst Route4meListUsersPaginated_PaginatedUserSchema = z.object({\n timezone: z.string().describe(\"User's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_DRIVER).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the user was added to the account.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the last time the user was active.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information in paginated response.\");\nexport const Route4meListUsersPaginatedOutput = z.object({\n error: z.array(z.string()).describe(\"List of errors encountered during retrieval, if any.\").nullable().optional(),\n items: z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe(\"List of team members in the current page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of users available across all pages.\").nullable().optional(),\n}).describe(\"Response model containing paginated list of team members/users.\");\n\nexport const route4meListUsersPaginated = action(\"ROUTE4ME_LIST_USERS_PAGINATED\", {\n slug: \"route4me-list-users-paginated\",\n name: \"List Team Users (Paginated)\",\n description: \"Tool to get a paginated list of team members/users in the account. Use when you need to retrieve team members with pagination support, search filtering, or when dealing with large teams where retrieving all users at once is not practical.\",\n input: Route4meListUsersPaginatedInput,\n output: Route4meListUsersPaginatedOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC3K,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACtH,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,S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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAOtF,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"list-users-paginated.mjs","names":[],"sources":["../../src/actions/list-users-paginated.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meListUsersPaginatedInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to filter users by name, email, or other fields.\").optional(),\n order_by: z.array(z.array(z.string())).describe(\"Sort field and direction as nested array. Format: [[\\\"field_name\\\", \\\"asc\\\"]] or [[\\\"field_name\\\", \\\"desc\\\"]].\").optional(),\n per_page: z.number().int().describe(\"Number of results to return per page. Common values: 10, 25, 50, 100.\").optional(),\n drivers_only: z.boolean().describe(\"Filter to show only drivers (members with driver role).\").optional(),\n optimization_problem_id: z.string().describe(\"Filter users by specific optimization problem ID.\").optional(),\n}).describe(\"Request model for retrieving the paginated list of team members/users.\");\nconst Route4meListUsersPaginated_PaginatedUserSchema = z.object({\n timezone: z.string().describe(\"User's timezone (e.g., America/New_York).\").nullable().optional(),\n member_id: z.number().int().describe(\"Unique identifier for the team member.\").nullable().optional(),\n member_type: z.string().describe(\"Type of member (e.g., PRIMARY_ACCOUNT, SUB_ACCOUNT_DISPATCHER, SUB_ACCOUNT_DRIVER).\").nullable().optional(),\n member_email: z.string().describe(\"Team member's email address.\").nullable().optional(),\n READONLY_USER: z.boolean().describe(\"Whether this user has read-only access.\").nullable().optional(),\n member_picture: z.string().describe(\"URL path to the member's profile picture.\").nullable().optional(),\n OWNER_MEMBER_ID: z.number().int().describe(\"ID of the account owner for this member.\").nullable().optional(),\n timestamp_added: z.number().int().describe(\"Unix timestamp when the user was added to the account.\").nullable().optional(),\n SHOW_ALL_DRIVERS: z.boolean().describe(\"Whether this user can see all drivers in the account.\").nullable().optional(),\n member_last_name: z.string().describe(\"Team member's last name.\").nullable().optional(),\n SHOW_ALL_VEHICLES: z.boolean().describe(\"Whether this user can see all vehicles in the account.\").nullable().optional(),\n member_first_name: z.string().describe(\"Team member's first name.\").nullable().optional(),\n timestamp_last_active: z.number().int().describe(\"Unix timestamp of the last time the user was active.\").nullable().optional(),\n}).passthrough().describe(\"Single team member/user information in paginated response.\");\nexport const Route4meListUsersPaginatedOutput = z.object({\n error: z.array(z.string()).describe(\"List of errors encountered during retrieval, if any.\").nullable().optional(),\n items: z.array(Route4meListUsersPaginated_PaginatedUserSchema).describe(\"List of team members in the current page.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of users available across all pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing paginated list of team members/users.\");\n\nexport const route4meListUsersPaginated = action(\"ROUTE4ME_LIST_USERS_PAGINATED\", {\n slug: \"route4me-list-users-paginated\",\n name: \"List Team Users (Paginated)\",\n description: \"Tool to get a paginated list of team members/users in the account. Use when you need to retrieve team members with pagination support, search filtering, or when dealing with large teams where retrieving all users at once is not practical.\",\n input: Route4meListUsersPaginatedInput,\n output: Route4meListUsersPaginatedOutput,\n});\n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z.number().describe("Percentage increase in route time after inserting the new destination.").nullable().optional(),
|
|
27
27
|
percentage_distance_increase: zod.z.number().describe("Percentage increase in route distance after inserting the new destination.").nullable().optional(),
|
|
28
28
|
recommended_insertion_stop_number: zod.z.number().int().describe("Recommended stop sequence number where the new destination should be inserted.").nullable().optional()
|
|
29
|
-
}).describe("A single route recommendation for inserting the new destination.");
|
|
30
|
-
const Route4meLookupForNewDestinationOutput = zod.z.object({ recommendations: zod.z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe("List of route recommendations sorted by optimization criteria.").nullable().optional() }).describe("Response model containing recommended routes for the new destination.");
|
|
29
|
+
}).passthrough().describe("A single route recommendation for inserting the new destination.");
|
|
30
|
+
const Route4meLookupForNewDestinationOutput = zod.z.object({ recommendations: zod.z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe("List of route recommendations sorted by optimization criteria.").nullable().optional() }).passthrough().describe("Response model containing recommended routes for the new destination.");
|
|
31
31
|
const route4meLookupForNewDestination = require_action.action("ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION", {
|
|
32
32
|
slug: "route4me-lookup-for-new-destination",
|
|
33
33
|
name: "Lookup For New Destination",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-for-new-destination.cjs","names":["z","action"],"sources":["../../src/actions/lookup-for-new-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meLookupForNewDestinationInput = z.object({\n lat: z.number().describe(\"Latitude coordinate of the new destination (range: -90 to 90).\"),\n lng: z.number().describe(\"Longitude coordinate of the new destination (range: -180 to 180).\"),\n insert_mode: z.enum([\"optimal_anywhere\", \"optimal_after_last_visited\", \"end_of_route\", \"beginning_of_route\"]).default(\"optimal_after_last_visited\").describe(\"Enum for destination insert modes.\").optional(),\n recommend_by: z.enum([\"distance\", \"duration\"]).default(\"distance\").describe(\"Enum for recommendation criteria.\").optional(),\n scheduled_for: z.string().describe(\"Date the destination is scheduled for in YYYY-MM-DD format.\"),\n lookup_results_limit: z.number().int().default(3).describe(\"Maximum number of route recommendations to return. Default: 3.\").optional(),\n max_increase_percent_allowed: z.number().default(500).describe(\"Maximum allowed percentage increase in route distance or time. Routes exceeding this increase will be filtered out. Default: 500.\").optional(),\n}).describe(\"Request model for looking up optimal routes for a new destination.\");\nconst Route4meLookupForNewDestination_RouteRecommendationSchema = z.object({\n new_time: z.number().describe(\"New total time of the route after inserting the new destination (in seconds).\").nullable().optional(),\n old_time: z.number().describe(\"Original total time of the route before inserting the new destination (in seconds).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier of the recommended route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the recommended route.\").nullable().optional(),\n new_distance: z.number().describe(\"New total distance of the route after inserting the new destination.\").nullable().optional(),\n old_distance: z.number().describe(\"Original total distance of the route before inserting the new destination.\").nullable().optional(),\n time_violation: z.number().describe(\"Time constraint violation indicator (in seconds). 0 or null indicates no violation.\").nullable().optional(),\n percentage_time_increase: z.number().describe(\"Percentage increase in route time after inserting the new destination.\").nullable().optional(),\n percentage_distance_increase: z.number().describe(\"Percentage increase in route distance after inserting the new destination.\").nullable().optional(),\n recommended_insertion_stop_number: z.number().int().describe(\"Recommended stop sequence number where the new destination should be inserted.\").nullable().optional(),\n}).describe(\"A single route recommendation for inserting the new destination.\");\nexport const Route4meLookupForNewDestinationOutput = z.object({\n recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe(\"List of route recommendations sorted by optimization criteria.\").nullable().optional(),\n}).describe(\"Response model containing recommended routes for the new destination.\");\n\nexport const route4meLookupForNewDestination = action(\"ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION\", {\n slug: \"route4me-lookup-for-new-destination\",\n name: \"Lookup For New Destination\",\n description: \"Tool to lookup optimal routes for inserting a new destination. Use when you need to find the best existing route(s) to add a new stop to, based on distance or time optimization.\",\n input: Route4meLookupForNewDestinationInput,\n output: Route4meLookupForNewDestinationOutput,\n});\n"],"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AC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"lookup-for-new-destination.cjs","names":["z","action"],"sources":["../../src/actions/lookup-for-new-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meLookupForNewDestinationInput = z.object({\n lat: z.number().describe(\"Latitude coordinate of the new destination (range: -90 to 90).\"),\n lng: z.number().describe(\"Longitude coordinate of the new destination (range: -180 to 180).\"),\n insert_mode: z.enum([\"optimal_anywhere\", \"optimal_after_last_visited\", \"end_of_route\", \"beginning_of_route\"]).default(\"optimal_after_last_visited\").describe(\"Enum for destination insert modes.\").optional(),\n recommend_by: z.enum([\"distance\", \"duration\"]).default(\"distance\").describe(\"Enum for recommendation criteria.\").optional(),\n scheduled_for: z.string().describe(\"Date the destination is scheduled for in YYYY-MM-DD format.\"),\n lookup_results_limit: z.number().int().default(3).describe(\"Maximum number of route recommendations to return. Default: 3.\").optional(),\n max_increase_percent_allowed: z.number().default(500).describe(\"Maximum allowed percentage increase in route distance or time. Routes exceeding this increase will be filtered out. Default: 500.\").optional(),\n}).describe(\"Request model for looking up optimal routes for a new destination.\");\nconst Route4meLookupForNewDestination_RouteRecommendationSchema = z.object({\n new_time: z.number().describe(\"New total time of the route after inserting the new destination (in seconds).\").nullable().optional(),\n old_time: z.number().describe(\"Original total time of the route before inserting the new destination (in seconds).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier of the recommended route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the recommended route.\").nullable().optional(),\n new_distance: z.number().describe(\"New total distance of the route after inserting the new destination.\").nullable().optional(),\n old_distance: z.number().describe(\"Original total distance of the route before inserting the new destination.\").nullable().optional(),\n time_violation: z.number().describe(\"Time constraint violation indicator (in seconds). 0 or null indicates no violation.\").nullable().optional(),\n percentage_time_increase: z.number().describe(\"Percentage increase in route time after inserting the new destination.\").nullable().optional(),\n percentage_distance_increase: z.number().describe(\"Percentage increase in route distance after inserting the new destination.\").nullable().optional(),\n recommended_insertion_stop_number: z.number().int().describe(\"Recommended stop sequence number where the new destination should be inserted.\").nullable().optional(),\n}).passthrough().describe(\"A single route recommendation for inserting the new destination.\");\nexport const Route4meLookupForNewDestinationOutput = z.object({\n recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe(\"List of route recommendations sorted by optimization criteria.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing recommended routes for the new destination.\");\n\nexport const route4meLookupForNewDestination = action(\"ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION\", {\n slug: \"route4me-lookup-for-new-destination\",\n name: \"Lookup For New Destination\",\n description: \"Tool to lookup optimal routes for inserting a new destination. Use when you need to find the best existing route(s) to add a new stop to, based on distance or time optimization.\",\n input: Route4meLookupForNewDestinationInput,\n output: Route4meLookupForNewDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACzF,KAAKA,IAAAA,EAAE,O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,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,iBAAiBA,IAAAA,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,8 +30,8 @@ declare const Route4meLookupForNewDestinationOutput: z.ZodObject<{
|
|
|
30
30
|
percentage_time_increase: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
percentage_distance_increase: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
recommended_insertion_stop_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const route4meLookupForNewDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
lat: number;
|
|
37
37
|
lng: number;
|
|
@@ -30,8 +30,8 @@ declare const Route4meLookupForNewDestinationOutput: z.ZodObject<{
|
|
|
30
30
|
percentage_time_increase: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
percentage_distance_increase: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
recommended_insertion_stop_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const route4meLookupForNewDestination: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
lat: number;
|
|
37
37
|
lng: number;
|
|
@@ -26,13 +26,13 @@ const Route4meLookupForNewDestination_RouteRecommendationSchema = z.object({
|
|
|
26
26
|
percentage_time_increase: z.number().describe("Percentage increase in route time after inserting the new destination.").nullable().optional(),
|
|
27
27
|
percentage_distance_increase: z.number().describe("Percentage increase in route distance after inserting the new destination.").nullable().optional(),
|
|
28
28
|
recommended_insertion_stop_number: z.number().int().describe("Recommended stop sequence number where the new destination should be inserted.").nullable().optional()
|
|
29
|
-
}).describe("A single route recommendation for inserting the new destination.");
|
|
29
|
+
}).passthrough().describe("A single route recommendation for inserting the new destination.");
|
|
30
30
|
const route4meLookupForNewDestination = action("ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION", {
|
|
31
31
|
slug: "route4me-lookup-for-new-destination",
|
|
32
32
|
name: "Lookup For New Destination",
|
|
33
33
|
description: "Tool to lookup optimal routes for inserting a new destination. Use when you need to find the best existing route(s) to add a new stop to, based on distance or time optimization.",
|
|
34
34
|
input: Route4meLookupForNewDestinationInput,
|
|
35
|
-
output: z.object({ recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe("List of route recommendations sorted by optimization criteria.").nullable().optional() }).describe("Response model containing recommended routes for the new destination.")
|
|
35
|
+
output: z.object({ recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe("List of route recommendations sorted by optimization criteria.").nullable().optional() }).passthrough().describe("Response model containing recommended routes for the new destination.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { route4meLookupForNewDestination };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup-for-new-destination.mjs","names":[],"sources":["../../src/actions/lookup-for-new-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meLookupForNewDestinationInput = z.object({\n lat: z.number().describe(\"Latitude coordinate of the new destination (range: -90 to 90).\"),\n lng: z.number().describe(\"Longitude coordinate of the new destination (range: -180 to 180).\"),\n insert_mode: z.enum([\"optimal_anywhere\", \"optimal_after_last_visited\", \"end_of_route\", \"beginning_of_route\"]).default(\"optimal_after_last_visited\").describe(\"Enum for destination insert modes.\").optional(),\n recommend_by: z.enum([\"distance\", \"duration\"]).default(\"distance\").describe(\"Enum for recommendation criteria.\").optional(),\n scheduled_for: z.string().describe(\"Date the destination is scheduled for in YYYY-MM-DD format.\"),\n lookup_results_limit: z.number().int().default(3).describe(\"Maximum number of route recommendations to return. Default: 3.\").optional(),\n max_increase_percent_allowed: z.number().default(500).describe(\"Maximum allowed percentage increase in route distance or time. Routes exceeding this increase will be filtered out. Default: 500.\").optional(),\n}).describe(\"Request model for looking up optimal routes for a new destination.\");\nconst Route4meLookupForNewDestination_RouteRecommendationSchema = z.object({\n new_time: z.number().describe(\"New total time of the route after inserting the new destination (in seconds).\").nullable().optional(),\n old_time: z.number().describe(\"Original total time of the route before inserting the new destination (in seconds).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier of the recommended route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the recommended route.\").nullable().optional(),\n new_distance: z.number().describe(\"New total distance of the route after inserting the new destination.\").nullable().optional(),\n old_distance: z.number().describe(\"Original total distance of the route before inserting the new destination.\").nullable().optional(),\n time_violation: z.number().describe(\"Time constraint violation indicator (in seconds). 0 or null indicates no violation.\").nullable().optional(),\n percentage_time_increase: z.number().describe(\"Percentage increase in route time after inserting the new destination.\").nullable().optional(),\n percentage_distance_increase: z.number().describe(\"Percentage increase in route distance after inserting the new destination.\").nullable().optional(),\n recommended_insertion_stop_number: z.number().int().describe(\"Recommended stop sequence number where the new destination should be inserted.\").nullable().optional(),\n}).describe(\"A single route recommendation for inserting the new destination.\");\nexport const Route4meLookupForNewDestinationOutput = z.object({\n recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe(\"List of route recommendations sorted by optimization criteria.\").nullable().optional(),\n}).describe(\"Response model containing recommended routes for the new destination.\");\n\nexport const route4meLookupForNewDestination = action(\"ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION\", {\n slug: \"route4me-lookup-for-new-destination\",\n name: \"Lookup For New Destination\",\n description: \"Tool to lookup optimal routes for inserting a new destination. Use when you need to find the best existing route(s) to add a new stop to, based on distance or time optimization.\",\n input: Route4meLookupForNewDestinationInput,\n output: Route4meLookupForNewDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,aAAa,EAAE,KAAK;EAAC;EAAoB;EAA8B;EAAgB;CAAoB,CAAC,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5M,cAAc,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtI,8BAA8B,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4DAA4D,EAAE,OAAO;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,SAAS,kEAAkE;
|
|
1
|
+
{"version":3,"file":"lookup-for-new-destination.mjs","names":[],"sources":["../../src/actions/lookup-for-new-destination.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meLookupForNewDestinationInput = z.object({\n lat: z.number().describe(\"Latitude coordinate of the new destination (range: -90 to 90).\"),\n lng: z.number().describe(\"Longitude coordinate of the new destination (range: -180 to 180).\"),\n insert_mode: z.enum([\"optimal_anywhere\", \"optimal_after_last_visited\", \"end_of_route\", \"beginning_of_route\"]).default(\"optimal_after_last_visited\").describe(\"Enum for destination insert modes.\").optional(),\n recommend_by: z.enum([\"distance\", \"duration\"]).default(\"distance\").describe(\"Enum for recommendation criteria.\").optional(),\n scheduled_for: z.string().describe(\"Date the destination is scheduled for in YYYY-MM-DD format.\"),\n lookup_results_limit: z.number().int().default(3).describe(\"Maximum number of route recommendations to return. Default: 3.\").optional(),\n max_increase_percent_allowed: z.number().default(500).describe(\"Maximum allowed percentage increase in route distance or time. Routes exceeding this increase will be filtered out. Default: 500.\").optional(),\n}).describe(\"Request model for looking up optimal routes for a new destination.\");\nconst Route4meLookupForNewDestination_RouteRecommendationSchema = z.object({\n new_time: z.number().describe(\"New total time of the route after inserting the new destination (in seconds).\").nullable().optional(),\n old_time: z.number().describe(\"Original total time of the route before inserting the new destination (in seconds).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier of the recommended route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the recommended route.\").nullable().optional(),\n new_distance: z.number().describe(\"New total distance of the route after inserting the new destination.\").nullable().optional(),\n old_distance: z.number().describe(\"Original total distance of the route before inserting the new destination.\").nullable().optional(),\n time_violation: z.number().describe(\"Time constraint violation indicator (in seconds). 0 or null indicates no violation.\").nullable().optional(),\n percentage_time_increase: z.number().describe(\"Percentage increase in route time after inserting the new destination.\").nullable().optional(),\n percentage_distance_increase: z.number().describe(\"Percentage increase in route distance after inserting the new destination.\").nullable().optional(),\n recommended_insertion_stop_number: z.number().int().describe(\"Recommended stop sequence number where the new destination should be inserted.\").nullable().optional(),\n}).passthrough().describe(\"A single route recommendation for inserting the new destination.\");\nexport const Route4meLookupForNewDestinationOutput = z.object({\n recommendations: z.array(Route4meLookupForNewDestination_RouteRecommendationSchema).describe(\"List of route recommendations sorted by optimization criteria.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing recommended routes for the new destination.\");\n\nexport const route4meLookupForNewDestination = action(\"ROUTE4ME_LOOKUP_FOR_NEW_DESTINATION\", {\n slug: \"route4me-lookup-for-new-destination\",\n name: \"Lookup For New Destination\",\n description: \"Tool to lookup optimal routes for inserting a new destination. Use when you need to find the best existing route(s) to add a new stop to, based on distance or time optimization.\",\n input: Route4meLookupForNewDestinationInput,\n output: Route4meLookupForNewDestinationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACzF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC5F,aAAa,EAAE,KAAK;EAAC;EAAoB;EAA8B;EAAgB;CAAoB,CAAC,CAAC,CAAC,QAAQ,4BAA4B,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5M,cAAc,EAAE,KAAK,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAChG,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtI,8BAA8B,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4DAA4D,EAAE,OAAO;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAK5F,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,iBAAiB,EAAE,MAAM,yDAAyD,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const Route4meMergeRoutesInput = zod.z.object({
|
|
|
8
8
|
const Route4meMergeRoutesOutput = zod.z.object({
|
|
9
9
|
success: zod.z.boolean().describe("Indicates whether the routes were merged successfully.").nullable(),
|
|
10
10
|
route_id: zod.z.string().describe("The ID of the target route that now contains merged destinations.").nullable().optional()
|
|
11
|
-
}).describe("Response model for MergeRoutes action.");
|
|
11
|
+
}).passthrough().describe("Response model for MergeRoutes action.");
|
|
12
12
|
const route4meMergeRoutes = require_action.action("ROUTE4ME_MERGE_ROUTES", {
|
|
13
13
|
slug: "route4me-merge-routes",
|
|
14
14
|
name: "Merge Routes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge-routes.cjs","names":["z","action"],"sources":["../../src/actions/merge-routes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meMergeRoutesInput = z.object({\n route_ids: z.array(z.string()).describe(\"Array of route IDs to merge into the target route. These routes' destinations will be added to the target route.\"),\n target_route_id: z.string().describe(\"The unique ID of the target route that will receive the merged destinations from other routes.\"),\n}).describe(\"Request model for merging multiple routes into a target route.\");\nexport const Route4meMergeRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the routes were merged successfully.\").nullable(),\n route_id: z.string().describe(\"The ID of the target route that now contains merged destinations.\").nullable().optional(),\n}).describe(\"Response model for MergeRoutes action.\");\n\nexport const route4meMergeRoutes = action(\"ROUTE4ME_MERGE_ROUTES\", {\n slug: \"route4me-merge-routes\",\n name: \"Merge Routes\",\n description: \"Tool to merge multiple routes into a single target route. Use when consolidating routes to optimize delivery operations or reduce the number of active routes.\",\n input: Route4meMergeRoutesInput,\n output: Route4meMergeRoutesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kHAAkH;CAC1J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AACvI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"merge-routes.cjs","names":["z","action"],"sources":["../../src/actions/merge-routes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meMergeRoutesInput = z.object({\n route_ids: z.array(z.string()).describe(\"Array of route IDs to merge into the target route. These routes' destinations will be added to the target route.\"),\n target_route_id: z.string().describe(\"The unique ID of the target route that will receive the merged destinations from other routes.\"),\n}).describe(\"Request model for merging multiple routes into a target route.\");\nexport const Route4meMergeRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the routes were merged successfully.\").nullable(),\n route_id: z.string().describe(\"The ID of the target route that now contains merged destinations.\").nullable().optional(),\n}).passthrough().describe(\"Response model for MergeRoutes action.\");\n\nexport const route4meMergeRoutes = action(\"ROUTE4ME_MERGE_ROUTES\", {\n slug: \"route4me-merge-routes\",\n name: \"Merge Routes\",\n description: \"Tool to merge multiple routes into a single target route. Use when consolidating routes to optimize delivery operations or reduce the number of active routes.\",\n input: Route4meMergeRoutesInput,\n output: Route4meMergeRoutesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kHAAkH;CAC1J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AACvI,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|