@keystrokehq/route4me 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-order-custom-field.cjs +1 -0
- package/dist/actions/add-order-custom-field.cjs.map +1 -1
- package/dist/actions/add-order-custom-field.d.cts +3 -21
- package/dist/actions/add-order-custom-field.d.cts.map +1 -1
- package/dist/actions/add-order-custom-field.d.mts +3 -21
- package/dist/actions/add-order-custom-field.d.mts.map +1 -1
- package/dist/actions/add-order-custom-field.mjs +1 -0
- package/dist/actions/add-order-custom-field.mjs.map +1 -1
- package/dist/actions/add-route-note.cjs +1 -0
- package/dist/actions/add-route-note.cjs.map +1 -1
- package/dist/actions/add-route-note.d.cts +3 -20
- package/dist/actions/add-route-note.d.cts.map +1 -1
- package/dist/actions/add-route-note.d.mts +3 -20
- package/dist/actions/add-route-note.d.mts.map +1 -1
- package/dist/actions/add-route-note.mjs +1 -0
- package/dist/actions/add-route-note.mjs.map +1 -1
- package/dist/actions/create-address.cjs +1 -0
- package/dist/actions/create-address.cjs.map +1 -1
- package/dist/actions/create-address.d.cts +3 -25
- package/dist/actions/create-address.d.cts.map +1 -1
- package/dist/actions/create-address.d.mts +3 -25
- package/dist/actions/create-address.d.mts.map +1 -1
- package/dist/actions/create-address.mjs +1 -0
- package/dist/actions/create-address.mjs.map +1 -1
- package/dist/actions/create-avoidance-zone.cjs +1 -0
- package/dist/actions/create-avoidance-zone.cjs.map +1 -1
- package/dist/actions/create-avoidance-zone.d.cts +3 -20
- package/dist/actions/create-avoidance-zone.d.cts.map +1 -1
- package/dist/actions/create-avoidance-zone.d.mts +3 -20
- package/dist/actions/create-avoidance-zone.d.mts.map +1 -1
- package/dist/actions/create-avoidance-zone.mjs +1 -0
- package/dist/actions/create-avoidance-zone.mjs.map +1 -1
- package/dist/actions/create-location-type.cjs +1 -0
- package/dist/actions/create-location-type.cjs.map +1 -1
- package/dist/actions/create-location-type.d.cts +3 -17
- package/dist/actions/create-location-type.d.cts.map +1 -1
- package/dist/actions/create-location-type.d.mts +3 -17
- package/dist/actions/create-location-type.d.mts.map +1 -1
- package/dist/actions/create-location-type.mjs +1 -0
- package/dist/actions/create-location-type.mjs.map +1 -1
- package/dist/actions/create-master-route.cjs +1 -0
- package/dist/actions/create-master-route.cjs.map +1 -1
- package/dist/actions/create-master-route.d.cts +3 -40
- package/dist/actions/create-master-route.d.cts.map +1 -1
- package/dist/actions/create-master-route.d.mts +3 -40
- package/dist/actions/create-master-route.d.mts.map +1 -1
- package/dist/actions/create-master-route.mjs +1 -0
- package/dist/actions/create-master-route.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -16
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -16
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-optimization-profile.cjs +1 -0
- package/dist/actions/create-optimization-profile.cjs.map +1 -1
- package/dist/actions/create-optimization-profile.d.cts +3 -37
- package/dist/actions/create-optimization-profile.d.cts.map +1 -1
- package/dist/actions/create-optimization-profile.d.mts +3 -37
- package/dist/actions/create-optimization-profile.d.mts.map +1 -1
- package/dist/actions/create-optimization-profile.mjs +1 -0
- package/dist/actions/create-optimization-profile.mjs.map +1 -1
- package/dist/actions/create-optimization.cjs +1 -0
- package/dist/actions/create-optimization.cjs.map +1 -1
- package/dist/actions/create-optimization.d.cts +3 -55
- package/dist/actions/create-optimization.d.cts.map +1 -1
- package/dist/actions/create-optimization.d.mts +3 -55
- package/dist/actions/create-optimization.d.mts.map +1 -1
- package/dist/actions/create-optimization.mjs +1 -0
- package/dist/actions/create-optimization.mjs.map +1 -1
- package/dist/actions/create-order-custom-field.cjs +1 -0
- package/dist/actions/create-order-custom-field.cjs.map +1 -1
- package/dist/actions/create-order-custom-field.d.cts +3 -21
- package/dist/actions/create-order-custom-field.d.cts.map +1 -1
- package/dist/actions/create-order-custom-field.d.mts +3 -21
- package/dist/actions/create-order-custom-field.d.mts.map +1 -1
- package/dist/actions/create-order-custom-field.mjs +1 -0
- package/dist/actions/create-order-custom-field.mjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.cjs +1 -0
- package/dist/actions/create-orders-from-contacts.cjs.map +1 -1
- package/dist/actions/create-orders-from-contacts.d.cts +3 -16
- package/dist/actions/create-orders-from-contacts.d.cts.map +1 -1
- package/dist/actions/create-orders-from-contacts.d.mts +3 -16
- package/dist/actions/create-orders-from-contacts.d.mts.map +1 -1
- package/dist/actions/create-orders-from-contacts.mjs +1 -0
- package/dist/actions/create-orders-from-contacts.mjs.map +1 -1
- package/dist/actions/create-territory.cjs +1 -0
- package/dist/actions/create-territory.cjs.map +1 -1
- package/dist/actions/create-territory.d.cts +3 -20
- package/dist/actions/create-territory.d.cts.map +1 -1
- package/dist/actions/create-territory.d.mts +3 -20
- package/dist/actions/create-territory.d.mts.map +1 -1
- package/dist/actions/create-territory.mjs +1 -0
- package/dist/actions/create-territory.mjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.cjs +1 -0
- package/dist/actions/create-vehicle-capacity-profile.cjs.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.cts +3 -21
- package/dist/actions/create-vehicle-capacity-profile.d.cts.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.d.mts +3 -21
- package/dist/actions/create-vehicle-capacity-profile.d.mts.map +1 -1
- package/dist/actions/create-vehicle-capacity-profile.mjs +1 -0
- package/dist/actions/create-vehicle-capacity-profile.mjs.map +1 -1
- package/dist/actions/delete-address.cjs +1 -0
- package/dist/actions/delete-address.cjs.map +1 -1
- package/dist/actions/delete-address.d.cts +3 -16
- package/dist/actions/delete-address.d.cts.map +1 -1
- package/dist/actions/delete-address.d.mts +3 -16
- package/dist/actions/delete-address.d.mts.map +1 -1
- package/dist/actions/delete-address.mjs +1 -0
- package/dist/actions/delete-address.mjs.map +1 -1
- package/dist/actions/delete-addresses.cjs +1 -0
- package/dist/actions/delete-addresses.cjs.map +1 -1
- package/dist/actions/delete-addresses.d.cts +3 -15
- package/dist/actions/delete-addresses.d.cts.map +1 -1
- package/dist/actions/delete-addresses.d.mts +3 -15
- package/dist/actions/delete-addresses.d.mts.map +1 -1
- package/dist/actions/delete-addresses.mjs +1 -0
- package/dist/actions/delete-addresses.mjs.map +1 -1
- package/dist/actions/delete-avoidance.cjs +1 -0
- package/dist/actions/delete-avoidance.cjs.map +1 -1
- package/dist/actions/delete-avoidance.d.cts +3 -15
- package/dist/actions/delete-avoidance.d.cts.map +1 -1
- package/dist/actions/delete-avoidance.d.mts +3 -15
- package/dist/actions/delete-avoidance.d.mts.map +1 -1
- package/dist/actions/delete-avoidance.mjs +1 -0
- package/dist/actions/delete-avoidance.mjs.map +1 -1
- package/dist/actions/delete-configuration-setting.cjs +1 -0
- package/dist/actions/delete-configuration-setting.cjs.map +1 -1
- package/dist/actions/delete-configuration-setting.d.cts +3 -15
- package/dist/actions/delete-configuration-setting.d.cts.map +1 -1
- package/dist/actions/delete-configuration-setting.d.mts +3 -15
- package/dist/actions/delete-configuration-setting.d.mts.map +1 -1
- package/dist/actions/delete-configuration-setting.mjs +1 -0
- package/dist/actions/delete-configuration-setting.mjs.map +1 -1
- package/dist/actions/delete-current-user.cjs +1 -0
- package/dist/actions/delete-current-user.cjs.map +1 -1
- package/dist/actions/delete-current-user.d.cts +3 -13
- package/dist/actions/delete-current-user.d.cts.map +1 -1
- package/dist/actions/delete-current-user.d.mts +3 -13
- package/dist/actions/delete-current-user.d.mts.map +1 -1
- package/dist/actions/delete-current-user.mjs +1 -0
- package/dist/actions/delete-current-user.mjs.map +1 -1
- package/dist/actions/delete-location-type.cjs +1 -0
- package/dist/actions/delete-location-type.cjs.map +1 -1
- package/dist/actions/delete-location-type.d.cts +3 -15
- package/dist/actions/delete-location-type.d.cts.map +1 -1
- package/dist/actions/delete-location-type.d.mts +3 -15
- package/dist/actions/delete-location-type.d.mts.map +1 -1
- package/dist/actions/delete-location-type.mjs +1 -0
- package/dist/actions/delete-location-type.mjs.map +1 -1
- package/dist/actions/delete-optimization-profile.cjs +1 -0
- package/dist/actions/delete-optimization-profile.cjs.map +1 -1
- package/dist/actions/delete-optimization-profile.d.cts +3 -15
- package/dist/actions/delete-optimization-profile.d.cts.map +1 -1
- package/dist/actions/delete-optimization-profile.d.mts +3 -15
- package/dist/actions/delete-optimization-profile.d.mts.map +1 -1
- package/dist/actions/delete-optimization-profile.mjs +1 -0
- package/dist/actions/delete-optimization-profile.mjs.map +1 -1
- package/dist/actions/delete-optimization.cjs +1 -0
- package/dist/actions/delete-optimization.cjs.map +1 -1
- package/dist/actions/delete-optimization.d.cts +3 -15
- package/dist/actions/delete-optimization.d.cts.map +1 -1
- package/dist/actions/delete-optimization.d.mts +3 -15
- package/dist/actions/delete-optimization.d.mts.map +1 -1
- package/dist/actions/delete-optimization.mjs +1 -0
- package/dist/actions/delete-optimization.mjs.map +1 -1
- package/dist/actions/delete-order-custom-field.cjs +1 -0
- package/dist/actions/delete-order-custom-field.cjs.map +1 -1
- package/dist/actions/delete-order-custom-field.d.cts +3 -15
- package/dist/actions/delete-order-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-order-custom-field.d.mts +3 -15
- package/dist/actions/delete-order-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-order-custom-field.mjs +1 -0
- package/dist/actions/delete-order-custom-field.mjs.map +1 -1
- package/dist/actions/delete-route-v4.cjs +1 -0
- package/dist/actions/delete-route-v4.cjs.map +1 -1
- package/dist/actions/delete-route-v4.d.cts +3 -15
- package/dist/actions/delete-route-v4.d.cts.map +1 -1
- package/dist/actions/delete-route-v4.d.mts +3 -15
- package/dist/actions/delete-route-v4.d.mts.map +1 -1
- package/dist/actions/delete-route-v4.mjs +1 -0
- package/dist/actions/delete-route-v4.mjs.map +1 -1
- package/dist/actions/delete-territory.cjs +1 -0
- package/dist/actions/delete-territory.cjs.map +1 -1
- package/dist/actions/delete-territory.d.cts +3 -15
- package/dist/actions/delete-territory.d.cts.map +1 -1
- package/dist/actions/delete-territory.d.mts +3 -15
- package/dist/actions/delete-territory.d.mts.map +1 -1
- package/dist/actions/delete-territory.mjs +1 -0
- package/dist/actions/delete-territory.mjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/delete-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.cts +3 -15
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.mts +3 -15
- package/dist/actions/delete-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/delete-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/dispatch-routes.cjs +1 -0
- package/dist/actions/dispatch-routes.cjs.map +1 -1
- package/dist/actions/dispatch-routes.d.cts +3 -20
- package/dist/actions/dispatch-routes.d.cts.map +1 -1
- package/dist/actions/dispatch-routes.d.mts +3 -20
- package/dist/actions/dispatch-routes.d.mts.map +1 -1
- package/dist/actions/dispatch-routes.mjs +1 -0
- package/dist/actions/dispatch-routes.mjs.map +1 -1
- package/dist/actions/display-datatable-config.cjs +1 -0
- package/dist/actions/display-datatable-config.cjs.map +1 -1
- package/dist/actions/display-datatable-config.d.cts +3 -13
- package/dist/actions/display-datatable-config.d.cts.map +1 -1
- package/dist/actions/display-datatable-config.d.mts +3 -13
- package/dist/actions/display-datatable-config.d.mts.map +1 -1
- package/dist/actions/display-datatable-config.mjs +1 -0
- package/dist/actions/display-datatable-config.mjs.map +1 -1
- package/dist/actions/duplicate-routes.cjs +1 -0
- package/dist/actions/duplicate-routes.cjs.map +1 -1
- package/dist/actions/duplicate-routes.d.cts +3 -15
- package/dist/actions/duplicate-routes.d.cts.map +1 -1
- package/dist/actions/duplicate-routes.d.mts +3 -15
- package/dist/actions/duplicate-routes.d.mts.map +1 -1
- package/dist/actions/duplicate-routes.mjs +1 -0
- package/dist/actions/duplicate-routes.mjs.map +1 -1
- package/dist/actions/find-address.cjs +1 -0
- package/dist/actions/find-address.cjs.map +1 -1
- package/dist/actions/find-address.d.cts +3 -15
- package/dist/actions/find-address.d.cts.map +1 -1
- package/dist/actions/find-address.d.mts +3 -15
- package/dist/actions/find-address.d.mts.map +1 -1
- package/dist/actions/find-address.mjs +1 -0
- package/dist/actions/find-address.mjs.map +1 -1
- package/dist/actions/geocode-address-body.cjs +1 -0
- package/dist/actions/geocode-address-body.cjs.map +1 -1
- package/dist/actions/geocode-address-body.d.cts +3 -22
- package/dist/actions/geocode-address-body.d.cts.map +1 -1
- package/dist/actions/geocode-address-body.d.mts +3 -22
- package/dist/actions/geocode-address-body.d.mts.map +1 -1
- package/dist/actions/geocode-address-body.mjs +1 -0
- package/dist/actions/geocode-address-body.mjs.map +1 -1
- package/dist/actions/geocode-address-forward.cjs +1 -0
- package/dist/actions/geocode-address-forward.cjs.map +1 -1
- package/dist/actions/geocode-address-forward.d.cts +3 -29
- package/dist/actions/geocode-address-forward.d.cts.map +1 -1
- package/dist/actions/geocode-address-forward.d.mts +3 -29
- package/dist/actions/geocode-address-forward.d.mts.map +1 -1
- package/dist/actions/geocode-address-forward.mjs +1 -0
- package/dist/actions/geocode-address-forward.mjs.map +1 -1
- package/dist/actions/geocode-address.cjs +1 -0
- package/dist/actions/geocode-address.cjs.map +1 -1
- package/dist/actions/geocode-address.d.cts +3 -20
- package/dist/actions/geocode-address.d.cts.map +1 -1
- package/dist/actions/geocode-address.d.mts +3 -20
- package/dist/actions/geocode-address.d.mts.map +1 -1
- package/dist/actions/geocode-address.mjs +1 -0
- package/dist/actions/geocode-address.mjs.map +1 -1
- package/dist/actions/geocode-addresses.cjs +1 -0
- package/dist/actions/geocode-addresses.cjs.map +1 -1
- package/dist/actions/geocode-addresses.d.cts +3 -29
- package/dist/actions/geocode-addresses.d.cts.map +1 -1
- package/dist/actions/geocode-addresses.d.mts +3 -29
- package/dist/actions/geocode-addresses.d.mts.map +1 -1
- package/dist/actions/geocode-addresses.mjs +1 -0
- package/dist/actions/geocode-addresses.mjs.map +1 -1
- package/dist/actions/get-activity.cjs +1 -0
- package/dist/actions/get-activity.cjs.map +1 -1
- package/dist/actions/get-activity.d.cts +3 -18
- package/dist/actions/get-activity.d.cts.map +1 -1
- package/dist/actions/get-activity.d.mts +3 -18
- package/dist/actions/get-activity.d.mts.map +1 -1
- package/dist/actions/get-activity.mjs +1 -0
- package/dist/actions/get-activity.mjs.map +1 -1
- package/dist/actions/get-address-book-groups.cjs +1 -0
- package/dist/actions/get-address-book-groups.cjs.map +1 -1
- package/dist/actions/get-address-book-groups.d.cts +3 -13
- package/dist/actions/get-address-book-groups.d.cts.map +1 -1
- package/dist/actions/get-address-book-groups.d.mts +3 -13
- package/dist/actions/get-address-book-groups.d.mts.map +1 -1
- package/dist/actions/get-address-book-groups.mjs +1 -0
- package/dist/actions/get-address-book-groups.mjs.map +1 -1
- package/dist/actions/get-address.cjs +1 -0
- package/dist/actions/get-address.cjs.map +1 -1
- package/dist/actions/get-address.d.cts +3 -17
- package/dist/actions/get-address.d.cts.map +1 -1
- package/dist/actions/get-address.d.mts +3 -17
- package/dist/actions/get-address.d.mts.map +1 -1
- package/dist/actions/get-address.mjs +1 -0
- package/dist/actions/get-address.mjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.cjs +1 -0
- package/dist/actions/get-addresses-from-addressbook.cjs.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.cts +3 -17
- package/dist/actions/get-addresses-from-addressbook.d.cts.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.d.mts +3 -17
- package/dist/actions/get-addresses-from-addressbook.d.mts.map +1 -1
- package/dist/actions/get-addresses-from-addressbook.mjs +1 -0
- package/dist/actions/get-addresses-from-addressbook.mjs.map +1 -1
- package/dist/actions/get-async-export.cjs +1 -0
- package/dist/actions/get-async-export.cjs.map +1 -1
- package/dist/actions/get-async-export.d.cts +3 -25
- package/dist/actions/get-async-export.d.cts.map +1 -1
- package/dist/actions/get-async-export.d.mts +3 -25
- package/dist/actions/get-async-export.d.mts.map +1 -1
- package/dist/actions/get-async-export.mjs +1 -0
- package/dist/actions/get-async-export.mjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.cjs +1 -0
- package/dist/actions/get-avoidance-by-id.cjs.map +1 -1
- package/dist/actions/get-avoidance-by-id.d.cts +3 -15
- package/dist/actions/get-avoidance-by-id.d.cts.map +1 -1
- package/dist/actions/get-avoidance-by-id.d.mts +3 -15
- package/dist/actions/get-avoidance-by-id.d.mts.map +1 -1
- package/dist/actions/get-avoidance-by-id.mjs +1 -0
- package/dist/actions/get-avoidance-by-id.mjs.map +1 -1
- package/dist/actions/get-avoidance2.cjs +1 -0
- package/dist/actions/get-avoidance2.cjs.map +1 -1
- package/dist/actions/get-avoidance2.d.cts +3 -17
- package/dist/actions/get-avoidance2.d.cts.map +1 -1
- package/dist/actions/get-avoidance2.d.mts +3 -17
- package/dist/actions/get-avoidance2.d.mts.map +1 -1
- package/dist/actions/get-avoidance2.mjs +1 -0
- package/dist/actions/get-avoidance2.mjs.map +1 -1
- package/dist/actions/get-clustered-locations.cjs +1 -0
- package/dist/actions/get-clustered-locations.cjs.map +1 -1
- package/dist/actions/get-clustered-locations.d.cts +3 -36
- package/dist/actions/get-clustered-locations.d.cts.map +1 -1
- package/dist/actions/get-clustered-locations.d.mts +3 -36
- package/dist/actions/get-clustered-locations.d.mts.map +1 -1
- package/dist/actions/get-clustered-locations.mjs +1 -0
- package/dist/actions/get-clustered-locations.mjs.map +1 -1
- package/dist/actions/get-current-member-information.cjs +1 -0
- package/dist/actions/get-current-member-information.cjs.map +1 -1
- package/dist/actions/get-current-member-information.d.cts +3 -13
- package/dist/actions/get-current-member-information.d.cts.map +1 -1
- package/dist/actions/get-current-member-information.d.mts +3 -13
- package/dist/actions/get-current-member-information.d.mts.map +1 -1
- package/dist/actions/get-current-member-information.mjs +1 -0
- package/dist/actions/get-current-member-information.mjs.map +1 -1
- package/dist/actions/get-feed.cjs +1 -0
- package/dist/actions/get-feed.cjs.map +1 -1
- package/dist/actions/get-feed.d.cts +3 -23
- package/dist/actions/get-feed.d.cts.map +1 -1
- package/dist/actions/get-feed.d.mts +3 -23
- package/dist/actions/get-feed.d.mts.map +1 -1
- package/dist/actions/get-feed.mjs +1 -0
- package/dist/actions/get-feed.mjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.cjs +1 -0
- package/dist/actions/get-last-scheduled-route-member.cjs.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.d.cts +3 -15
- package/dist/actions/get-last-scheduled-route-member.d.cts.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.d.mts +3 -15
- package/dist/actions/get-last-scheduled-route-member.d.mts.map +1 -1
- package/dist/actions/get-last-scheduled-route-member.mjs +1 -0
- package/dist/actions/get-last-scheduled-route-member.mjs.map +1 -1
- package/dist/actions/get-location-heatmap.cjs +1 -0
- package/dist/actions/get-location-heatmap.cjs.map +1 -1
- package/dist/actions/get-location-heatmap.d.cts +3 -23
- package/dist/actions/get-location-heatmap.d.cts.map +1 -1
- package/dist/actions/get-location-heatmap.d.mts +3 -23
- package/dist/actions/get-location-heatmap.d.mts.map +1 -1
- package/dist/actions/get-location-heatmap.mjs +1 -0
- package/dist/actions/get-location-heatmap.mjs.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.cjs +1 -0
- package/dist/actions/get-location-servicetime-heatmap.cjs.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.d.cts +3 -18
- package/dist/actions/get-location-servicetime-heatmap.d.cts.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.d.mts +3 -18
- package/dist/actions/get-location-servicetime-heatmap.d.mts.map +1 -1
- package/dist/actions/get-location-servicetime-heatmap.mjs +1 -0
- package/dist/actions/get-location-servicetime-heatmap.mjs.map +1 -1
- package/dist/actions/get-location-type.cjs +1 -0
- package/dist/actions/get-location-type.cjs.map +1 -1
- package/dist/actions/get-location-type.d.cts +3 -15
- package/dist/actions/get-location-type.d.cts.map +1 -1
- package/dist/actions/get-location-type.d.mts +3 -15
- package/dist/actions/get-location-type.d.mts.map +1 -1
- package/dist/actions/get-location-type.mjs +1 -0
- package/dist/actions/get-location-type.mjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.cjs +1 -0
- package/dist/actions/get-member-configuration-settings.cjs.map +1 -1
- package/dist/actions/get-member-configuration-settings.d.cts +3 -16
- package/dist/actions/get-member-configuration-settings.d.cts.map +1 -1
- package/dist/actions/get-member-configuration-settings.d.mts +3 -16
- package/dist/actions/get-member-configuration-settings.d.mts.map +1 -1
- package/dist/actions/get-member-configuration-settings.mjs +1 -0
- package/dist/actions/get-member-configuration-settings.mjs.map +1 -1
- package/dist/actions/get-note-custom-types.cjs +1 -0
- package/dist/actions/get-note-custom-types.cjs.map +1 -1
- package/dist/actions/get-note-custom-types.d.cts +3 -13
- package/dist/actions/get-note-custom-types.d.cts.map +1 -1
- package/dist/actions/get-note-custom-types.d.mts +3 -13
- package/dist/actions/get-note-custom-types.d.mts.map +1 -1
- package/dist/actions/get-note-custom-types.mjs +1 -0
- package/dist/actions/get-note-custom-types.mjs.map +1 -1
- package/dist/actions/get-optimization-profile.cjs +1 -0
- package/dist/actions/get-optimization-profile.cjs.map +1 -1
- package/dist/actions/get-optimization-profile.d.cts +3 -15
- package/dist/actions/get-optimization-profile.d.cts.map +1 -1
- package/dist/actions/get-optimization-profile.d.mts +3 -15
- package/dist/actions/get-optimization-profile.d.mts.map +1 -1
- package/dist/actions/get-optimization-profile.mjs +1 -0
- package/dist/actions/get-optimization-profile.mjs.map +1 -1
- package/dist/actions/get-route-destination-by-id.cjs +1 -0
- package/dist/actions/get-route-destination-by-id.cjs.map +1 -1
- package/dist/actions/get-route-destination-by-id.d.cts +3 -15
- package/dist/actions/get-route-destination-by-id.d.cts.map +1 -1
- package/dist/actions/get-route-destination-by-id.d.mts +3 -15
- package/dist/actions/get-route-destination-by-id.d.mts.map +1 -1
- package/dist/actions/get-route-destination-by-id.mjs +1 -0
- package/dist/actions/get-route-destination-by-id.mjs.map +1 -1
- package/dist/actions/get-route-info.cjs +1 -0
- package/dist/actions/get-route-info.cjs.map +1 -1
- package/dist/actions/get-route-info.d.cts +3 -20
- package/dist/actions/get-route-info.d.cts.map +1 -1
- package/dist/actions/get-route-info.d.mts +3 -20
- package/dist/actions/get-route-info.d.mts.map +1 -1
- package/dist/actions/get-route-info.mjs +1 -0
- package/dist/actions/get-route-info.mjs.map +1 -1
- package/dist/actions/get-route-list.cjs +1 -0
- package/dist/actions/get-route-list.cjs.map +1 -1
- package/dist/actions/get-route-list.d.cts +3 -45
- package/dist/actions/get-route-list.d.cts.map +1 -1
- package/dist/actions/get-route-list.d.mts +3 -45
- package/dist/actions/get-route-list.d.mts.map +1 -1
- package/dist/actions/get-route-list.mjs +1 -0
- package/dist/actions/get-route-list.mjs.map +1 -1
- package/dist/actions/get-route-settings.cjs +1 -0
- package/dist/actions/get-route-settings.cjs.map +1 -1
- package/dist/actions/get-route-settings.d.cts +3 -15
- package/dist/actions/get-route-settings.d.cts.map +1 -1
- package/dist/actions/get-route-settings.d.mts +3 -15
- package/dist/actions/get-route-settings.d.mts.map +1 -1
- package/dist/actions/get-route-settings.mjs +1 -0
- package/dist/actions/get-route-settings.mjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.cjs +1 -0
- package/dist/actions/get-territories-with-location-counts.cjs.map +1 -1
- package/dist/actions/get-territories-with-location-counts.d.cts +3 -35
- package/dist/actions/get-territories-with-location-counts.d.cts.map +1 -1
- package/dist/actions/get-territories-with-location-counts.d.mts +3 -35
- package/dist/actions/get-territories-with-location-counts.d.mts.map +1 -1
- package/dist/actions/get-territories-with-location-counts.mjs +1 -0
- package/dist/actions/get-territories-with-location-counts.mjs.map +1 -1
- package/dist/actions/get-territory.cjs +1 -0
- package/dist/actions/get-territory.cjs.map +1 -1
- package/dist/actions/get-territory.d.cts +3 -16
- package/dist/actions/get-territory.d.cts.map +1 -1
- package/dist/actions/get-territory.d.mts +3 -16
- package/dist/actions/get-territory.d.mts.map +1 -1
- package/dist/actions/get-territory.mjs +1 -0
- package/dist/actions/get-territory.mjs.map +1 -1
- package/dist/actions/get-tracking-history-export.cjs +1 -0
- package/dist/actions/get-tracking-history-export.cjs.map +1 -1
- package/dist/actions/get-tracking-history-export.d.cts +3 -26
- package/dist/actions/get-tracking-history-export.d.cts.map +1 -1
- package/dist/actions/get-tracking-history-export.d.mts +3 -26
- package/dist/actions/get-tracking-history-export.d.mts.map +1 -1
- package/dist/actions/get-tracking-history-export.mjs +1 -0
- package/dist/actions/get-tracking-history-export.mjs.map +1 -1
- package/dist/actions/get-tracking.cjs +1 -0
- package/dist/actions/get-tracking.cjs.map +1 -1
- package/dist/actions/get-tracking.d.cts +3 -29
- package/dist/actions/get-tracking.d.cts.map +1 -1
- package/dist/actions/get-tracking.d.mts +3 -29
- package/dist/actions/get-tracking.d.mts.map +1 -1
- package/dist/actions/get-tracking.mjs +1 -0
- package/dist/actions/get-tracking.mjs.map +1 -1
- package/dist/actions/get-user-by-id.cjs +1 -0
- package/dist/actions/get-user-by-id.cjs.map +1 -1
- package/dist/actions/get-user-by-id.d.cts +3 -15
- package/dist/actions/get-user-by-id.d.cts.map +1 -1
- package/dist/actions/get-user-by-id.d.mts +3 -15
- package/dist/actions/get-user-by-id.d.mts.map +1 -1
- package/dist/actions/get-user-by-id.mjs +1 -0
- package/dist/actions/get-user-by-id.mjs.map +1 -1
- package/dist/actions/get-user-locations.cjs +1 -0
- package/dist/actions/get-user-locations.cjs.map +1 -1
- package/dist/actions/get-user-locations.d.cts +3 -13
- package/dist/actions/get-user-locations.d.cts.map +1 -1
- package/dist/actions/get-user-locations.d.mts +3 -13
- package/dist/actions/get-user-locations.d.mts.map +1 -1
- package/dist/actions/get-user-locations.mjs +1 -0
- package/dist/actions/get-user-locations.mjs.map +1 -1
- package/dist/actions/get-user-modification-history.cjs +1 -0
- package/dist/actions/get-user-modification-history.cjs.map +1 -1
- package/dist/actions/get-user-modification-history.d.cts +3 -15
- package/dist/actions/get-user-modification-history.d.cts.map +1 -1
- package/dist/actions/get-user-modification-history.d.mts +3 -15
- package/dist/actions/get-user-modification-history.d.mts.map +1 -1
- package/dist/actions/get-user-modification-history.mjs +1 -0
- package/dist/actions/get-user-modification-history.mjs.map +1 -1
- package/dist/actions/get-user-template.cjs +1 -0
- package/dist/actions/get-user-template.cjs.map +1 -1
- package/dist/actions/get-user-template.d.cts +3 -13
- package/dist/actions/get-user-template.d.cts.map +1 -1
- package/dist/actions/get-user-template.d.mts +3 -13
- package/dist/actions/get-user-template.d.mts.map +1 -1
- package/dist/actions/get-user-template.mjs +1 -0
- package/dist/actions/get-user-template.mjs.map +1 -1
- package/dist/actions/get-user-v4.cjs +1 -0
- package/dist/actions/get-user-v4.cjs.map +1 -1
- package/dist/actions/get-user-v4.d.cts +3 -13
- package/dist/actions/get-user-v4.d.cts.map +1 -1
- package/dist/actions/get-user-v4.d.mts +3 -13
- package/dist/actions/get-user-v4.d.mts.map +1 -1
- package/dist/actions/get-user-v4.mjs +1 -0
- package/dist/actions/get-user-v4.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.cts +3 -19
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.mts +3 -19
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-as-datatable.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.cts +3 -15
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.mts +3 -15
- package/dist/actions/get-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-page-config.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.cts +3 -13
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.mts +3 -13
- package/dist/actions/get-vehicle-capacity-profile-page-config.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profile-page-config.mjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.cjs +1 -0
- package/dist/actions/get-vehicle-capacity-profiles.cjs.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.d.cts +3 -18
- package/dist/actions/get-vehicle-capacity-profiles.d.cts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.d.mts +3 -18
- package/dist/actions/get-vehicle-capacity-profiles.d.mts.map +1 -1
- package/dist/actions/get-vehicle-capacity-profiles.mjs +1 -0
- package/dist/actions/get-vehicle-capacity-profiles.mjs.map +1 -1
- package/dist/actions/get-vehicle.cjs +1 -0
- package/dist/actions/get-vehicle.cjs.map +1 -1
- package/dist/actions/get-vehicle.d.cts +3 -13
- package/dist/actions/get-vehicle.d.cts.map +1 -1
- package/dist/actions/get-vehicle.d.mts +3 -13
- package/dist/actions/get-vehicle.d.mts.map +1 -1
- package/dist/actions/get-vehicle.mjs +1 -0
- package/dist/actions/get-vehicle.mjs.map +1 -1
- package/dist/actions/list-location-types.cjs +1 -0
- package/dist/actions/list-location-types.cjs.map +1 -1
- package/dist/actions/list-location-types.d.cts +3 -13
- package/dist/actions/list-location-types.d.cts.map +1 -1
- package/dist/actions/list-location-types.d.mts +3 -13
- package/dist/actions/list-location-types.d.mts.map +1 -1
- package/dist/actions/list-location-types.mjs +1 -0
- package/dist/actions/list-location-types.mjs.map +1 -1
- package/dist/actions/list-optimization-profiles.cjs +1 -0
- package/dist/actions/list-optimization-profiles.cjs.map +1 -1
- package/dist/actions/list-optimization-profiles.d.cts +3 -15
- package/dist/actions/list-optimization-profiles.d.cts.map +1 -1
- package/dist/actions/list-optimization-profiles.d.mts +3 -15
- package/dist/actions/list-optimization-profiles.d.mts.map +1 -1
- package/dist/actions/list-optimization-profiles.mjs +1 -0
- package/dist/actions/list-optimization-profiles.mjs.map +1 -1
- package/dist/actions/list-optimizations.cjs +1 -0
- package/dist/actions/list-optimizations.cjs.map +1 -1
- package/dist/actions/list-optimizations.d.cts +3 -20
- package/dist/actions/list-optimizations.d.cts.map +1 -1
- package/dist/actions/list-optimizations.d.mts +3 -20
- package/dist/actions/list-optimizations.d.mts.map +1 -1
- package/dist/actions/list-optimizations.mjs +1 -0
- package/dist/actions/list-optimizations.mjs.map +1 -1
- package/dist/actions/list-order-custom-fields.cjs +1 -0
- package/dist/actions/list-order-custom-fields.cjs.map +1 -1
- package/dist/actions/list-order-custom-fields.d.cts +3 -13
- package/dist/actions/list-order-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-order-custom-fields.d.mts +3 -13
- package/dist/actions/list-order-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-order-custom-fields.mjs +1 -0
- package/dist/actions/list-order-custom-fields.mjs.map +1 -1
- package/dist/actions/list-route-directions.cjs +1 -0
- package/dist/actions/list-route-directions.cjs.map +1 -1
- package/dist/actions/list-route-directions.d.cts +3 -17
- package/dist/actions/list-route-directions.d.cts.map +1 -1
- package/dist/actions/list-route-directions.d.mts +3 -17
- package/dist/actions/list-route-directions.d.mts.map +1 -1
- package/dist/actions/list-route-directions.mjs +1 -0
- package/dist/actions/list-route-directions.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +1 -0
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +3 -16
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -16
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +1 -0
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-users-by-ids.cjs +1 -0
- package/dist/actions/list-users-by-ids.cjs.map +1 -1
- package/dist/actions/list-users-by-ids.d.cts +3 -15
- package/dist/actions/list-users-by-ids.d.cts.map +1 -1
- package/dist/actions/list-users-by-ids.d.mts +3 -15
- package/dist/actions/list-users-by-ids.d.mts.map +1 -1
- package/dist/actions/list-users-by-ids.mjs +1 -0
- package/dist/actions/list-users-by-ids.mjs.map +1 -1
- package/dist/actions/list-users-paginated.cjs +1 -0
- package/dist/actions/list-users-paginated.cjs.map +1 -1
- package/dist/actions/list-users-paginated.d.cts +3 -20
- package/dist/actions/list-users-paginated.d.cts.map +1 -1
- package/dist/actions/list-users-paginated.d.mts +3 -20
- package/dist/actions/list-users-paginated.d.mts.map +1 -1
- package/dist/actions/list-users-paginated.mjs +1 -0
- package/dist/actions/list-users-paginated.mjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.cjs +1 -0
- package/dist/actions/lookup-for-new-destination.cjs.map +1 -1
- package/dist/actions/lookup-for-new-destination.d.cts +3 -21
- package/dist/actions/lookup-for-new-destination.d.cts.map +1 -1
- package/dist/actions/lookup-for-new-destination.d.mts +3 -21
- package/dist/actions/lookup-for-new-destination.d.mts.map +1 -1
- package/dist/actions/lookup-for-new-destination.mjs +1 -0
- package/dist/actions/lookup-for-new-destination.mjs.map +1 -1
- package/dist/actions/merge-routes.cjs +1 -0
- package/dist/actions/merge-routes.cjs.map +1 -1
- package/dist/actions/merge-routes.d.cts +3 -16
- package/dist/actions/merge-routes.d.cts.map +1 -1
- package/dist/actions/merge-routes.d.mts +3 -16
- package/dist/actions/merge-routes.d.mts.map +1 -1
- package/dist/actions/merge-routes.mjs +1 -0
- package/dist/actions/merge-routes.mjs.map +1 -1
- package/dist/actions/move-route.cjs +1 -0
- package/dist/actions/move-route.cjs.map +1 -1
- package/dist/actions/move-route.d.cts +3 -17
- package/dist/actions/move-route.d.cts.map +1 -1
- package/dist/actions/move-route.d.mts +3 -17
- package/dist/actions/move-route.d.mts.map +1 -1
- package/dist/actions/move-route.mjs +1 -0
- package/dist/actions/move-route.mjs.map +1 -1
- package/dist/actions/preview-route-assignment.cjs +1 -0
- package/dist/actions/preview-route-assignment.cjs.map +1 -1
- package/dist/actions/preview-route-assignment.d.cts +3 -28
- package/dist/actions/preview-route-assignment.d.cts.map +1 -1
- package/dist/actions/preview-route-assignment.d.mts +3 -28
- package/dist/actions/preview-route-assignment.d.mts.map +1 -1
- package/dist/actions/preview-route-assignment.mjs +1 -0
- package/dist/actions/preview-route-assignment.mjs.map +1 -1
- package/dist/actions/rerun-optimization.cjs +1 -0
- package/dist/actions/rerun-optimization.cjs.map +1 -1
- package/dist/actions/rerun-optimization.d.cts +3 -76
- package/dist/actions/rerun-optimization.d.cts.map +1 -1
- package/dist/actions/rerun-optimization.d.mts +3 -76
- package/dist/actions/rerun-optimization.d.mts.map +1 -1
- package/dist/actions/rerun-optimization.mjs +1 -0
- package/dist/actions/rerun-optimization.mjs.map +1 -1
- package/dist/actions/reverse-geocode-address.cjs +1 -0
- package/dist/actions/reverse-geocode-address.cjs.map +1 -1
- package/dist/actions/reverse-geocode-address.d.cts +3 -20
- package/dist/actions/reverse-geocode-address.d.cts.map +1 -1
- package/dist/actions/reverse-geocode-address.d.mts +3 -20
- package/dist/actions/reverse-geocode-address.d.mts.map +1 -1
- package/dist/actions/reverse-geocode-address.mjs +1 -0
- package/dist/actions/reverse-geocode-address.mjs.map +1 -1
- package/dist/actions/set-destination-status.cjs +1 -0
- package/dist/actions/set-destination-status.cjs.map +1 -1
- package/dist/actions/set-destination-status.d.cts +3 -17
- package/dist/actions/set-destination-status.d.cts.map +1 -1
- package/dist/actions/set-destination-status.d.mts +3 -17
- package/dist/actions/set-destination-status.d.mts.map +1 -1
- package/dist/actions/set-destination-status.mjs +1 -0
- package/dist/actions/set-destination-status.mjs.map +1 -1
- package/dist/actions/set-route-rating.cjs +1 -0
- package/dist/actions/set-route-rating.cjs.map +1 -1
- package/dist/actions/set-route-rating.d.cts +3 -16
- package/dist/actions/set-route-rating.d.cts.map +1 -1
- package/dist/actions/set-route-rating.d.mts +3 -16
- package/dist/actions/set-route-rating.d.mts.map +1 -1
- package/dist/actions/set-route-rating.mjs +1 -0
- package/dist/actions/set-route-rating.mjs.map +1 -1
- package/dist/actions/set-tracking.cjs +1 -0
- package/dist/actions/set-tracking.cjs.map +1 -1
- package/dist/actions/set-tracking.d.cts +3 -27
- package/dist/actions/set-tracking.d.cts.map +1 -1
- package/dist/actions/set-tracking.d.mts +3 -27
- package/dist/actions/set-tracking.d.mts.map +1 -1
- package/dist/actions/set-tracking.mjs +1 -0
- package/dist/actions/set-tracking.mjs.map +1 -1
- package/dist/actions/update-address.cjs +1 -0
- package/dist/actions/update-address.cjs.map +1 -1
- package/dist/actions/update-address.d.cts +3 -32
- package/dist/actions/update-address.d.cts.map +1 -1
- package/dist/actions/update-address.d.mts +3 -32
- package/dist/actions/update-address.d.mts.map +1 -1
- package/dist/actions/update-address.mjs +1 -0
- package/dist/actions/update-address.mjs.map +1 -1
- package/dist/actions/update-avoidance.cjs +1 -0
- package/dist/actions/update-avoidance.cjs.map +1 -1
- package/dist/actions/update-avoidance.d.cts +3 -21
- package/dist/actions/update-avoidance.d.cts.map +1 -1
- package/dist/actions/update-avoidance.d.mts +3 -21
- package/dist/actions/update-avoidance.d.mts.map +1 -1
- package/dist/actions/update-avoidance.mjs +1 -0
- package/dist/actions/update-avoidance.mjs.map +1 -1
- package/dist/actions/update-location-type.cjs +1 -0
- package/dist/actions/update-location-type.cjs.map +1 -1
- package/dist/actions/update-location-type.d.cts +3 -19
- package/dist/actions/update-location-type.d.cts.map +1 -1
- package/dist/actions/update-location-type.d.mts +3 -19
- package/dist/actions/update-location-type.d.mts.map +1 -1
- package/dist/actions/update-location-type.mjs +1 -0
- package/dist/actions/update-location-type.mjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.cjs +1 -0
- package/dist/actions/update-member-configuration-setting.cjs.map +1 -1
- package/dist/actions/update-member-configuration-setting.d.cts +3 -16
- package/dist/actions/update-member-configuration-setting.d.cts.map +1 -1
- package/dist/actions/update-member-configuration-setting.d.mts +3 -16
- package/dist/actions/update-member-configuration-setting.d.mts.map +1 -1
- package/dist/actions/update-member-configuration-setting.mjs +1 -0
- package/dist/actions/update-member-configuration-setting.mjs.map +1 -1
- package/dist/actions/update-note-custom-type.cjs +1 -0
- package/dist/actions/update-note-custom-type.cjs.map +1 -1
- package/dist/actions/update-note-custom-type.d.cts +3 -17
- package/dist/actions/update-note-custom-type.d.cts.map +1 -1
- package/dist/actions/update-note-custom-type.d.mts +3 -17
- package/dist/actions/update-note-custom-type.d.mts.map +1 -1
- package/dist/actions/update-note-custom-type.mjs +1 -0
- package/dist/actions/update-note-custom-type.mjs.map +1 -1
- package/dist/actions/update-optimization-profile.cjs +1 -0
- package/dist/actions/update-optimization-profile.cjs.map +1 -1
- package/dist/actions/update-optimization-profile.d.cts +3 -24
- package/dist/actions/update-optimization-profile.d.cts.map +1 -1
- package/dist/actions/update-optimization-profile.d.mts +3 -24
- package/dist/actions/update-optimization-profile.d.mts.map +1 -1
- package/dist/actions/update-optimization-profile.mjs +1 -0
- package/dist/actions/update-optimization-profile.mjs.map +1 -1
- package/dist/actions/update-order-custom-field.cjs +1 -0
- package/dist/actions/update-order-custom-field.cjs.map +1 -1
- package/dist/actions/update-order-custom-field.d.cts +3 -18
- package/dist/actions/update-order-custom-field.d.cts.map +1 -1
- package/dist/actions/update-order-custom-field.d.mts +3 -18
- package/dist/actions/update-order-custom-field.d.mts.map +1 -1
- package/dist/actions/update-order-custom-field.mjs +1 -0
- package/dist/actions/update-order-custom-field.mjs.map +1 -1
- package/dist/actions/update-route-settings.cjs +1 -0
- package/dist/actions/update-route-settings.cjs.map +1 -1
- package/dist/actions/update-route-settings.d.cts +3 -22
- package/dist/actions/update-route-settings.d.cts.map +1 -1
- package/dist/actions/update-route-settings.d.mts +3 -22
- package/dist/actions/update-route-settings.d.mts.map +1 -1
- package/dist/actions/update-route-settings.mjs +1 -0
- package/dist/actions/update-route-settings.mjs.map +1 -1
- package/dist/actions/update-route-v4.cjs +1 -0
- package/dist/actions/update-route-v4.cjs.map +1 -1
- package/dist/actions/update-route-v4.d.cts +3 -21
- package/dist/actions/update-route-v4.d.cts.map +1 -1
- package/dist/actions/update-route-v4.d.mts +3 -21
- package/dist/actions/update-route-v4.d.mts.map +1 -1
- package/dist/actions/update-route-v4.mjs +1 -0
- package/dist/actions/update-route-v4.mjs.map +1 -1
- package/dist/actions/update-routes.cjs +1 -0
- package/dist/actions/update-routes.cjs.map +1 -1
- package/dist/actions/update-routes.d.cts +3 -24
- package/dist/actions/update-routes.d.cts.map +1 -1
- package/dist/actions/update-routes.d.mts +3 -24
- package/dist/actions/update-routes.d.mts.map +1 -1
- package/dist/actions/update-routes.mjs +1 -0
- package/dist/actions/update-routes.mjs.map +1 -1
- package/dist/actions/update-territory.cjs +1 -0
- package/dist/actions/update-territory.cjs.map +1 -1
- package/dist/actions/update-territory.d.cts +3 -21
- package/dist/actions/update-territory.d.cts.map +1 -1
- package/dist/actions/update-territory.d.mts +3 -21
- package/dist/actions/update-territory.d.mts.map +1 -1
- package/dist/actions/update-territory.mjs +1 -0
- package/dist/actions/update-territory.mjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs +1 -0
- package/dist/actions/update-vehicle-capacity-profile-by-id.cjs.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.cts +3 -22
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.cts.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.mts +3 -22
- package/dist/actions/update-vehicle-capacity-profile-by-id.d.mts.map +1 -1
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs +1 -0
- package/dist/actions/update-vehicle-capacity-profile-by-id.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-order-custom-field.d.ts
|
|
@@ -19,24 +21,7 @@ declare const Route4meUpdateOrderCustomFieldOutput: z.ZodObject<{
|
|
|
19
21
|
}, z.core.$loose>>>;
|
|
20
22
|
status: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const route4meUpdateOrderCustomField:
|
|
23
|
-
order_custom_field_id: number;
|
|
24
|
-
order_custom_field_type: string;
|
|
25
|
-
order_custom_field_label: string;
|
|
26
|
-
order_custom_field_type_info: Record<string, unknown>;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const route4meUpdateOrderCustomField: AppAction<typeof Route4meUpdateOrderCustomFieldInput, typeof Route4meUpdateOrderCustomFieldOutput, typeof route4me.credential>;
|
|
40
25
|
//#endregion
|
|
41
26
|
export { route4meUpdateOrderCustomField };
|
|
42
27
|
//# sourceMappingURL=update-order-custom-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order-custom-field.d.mts","names":[],"sources":["../../src/actions/update-order-custom-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order-custom-field.d.mts","names":[],"sources":["../../src/actions/update-order-custom-field.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAenC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order-custom-field.mjs","names":[],"sources":["../../src/actions/update-order-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateOrderCustomFieldInput = z.object({\n order_custom_field_id: z.number().int().describe(\"The unique identifier for the custom field being updated.\"),\n order_custom_field_type: z.string().describe(\"Updated type of the custom field (e.g., checkbox, text, dropdown).\"),\n order_custom_field_label: z.string().describe(\"Updated label for the custom field.\"),\n order_custom_field_type_info: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the field type with configuration details.\"),\n}).describe(\"Request model for updating an existing order custom field.\");\nconst Route4meUpdateOrderCustomField_OrderCustomFieldTypeInfoSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific information for a custom field. Structure varies by field type.\");\nconst Route4meUpdateOrderCustomField_OrderCustomFieldDataSchema = z.object({\n root_owner_member_id: z.number().int().describe(\"Member ID of the root owner who created this field.\").nullable().optional(),\n order_custom_field_id: z.number().int().describe(\"Unique identifier for the custom field.\").nullable().optional(),\n order_custom_field_name: z.string().describe(\"Internal name of the custom field.\").nullable().optional(),\n order_custom_field_type: z.string().describe(\"Type of the custom field (e.g., text, number, dropdown, checkbox).\").nullable().optional(),\n order_custom_field_label: z.string().describe(\"User-facing label/display name for the custom field.\").nullable().optional(),\n order_custom_field_type_info: Route4meUpdateOrderCustomField_OrderCustomFieldTypeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Updated order custom field data returned in the response.\");\nexport const Route4meUpdateOrderCustomFieldOutput = z.object({\n code: z.number().int().describe(\"Response status code from the API.\").nullable().optional(),\n data: Route4meUpdateOrderCustomField_OrderCustomFieldDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated order custom field details.\");\n\nexport const route4meUpdateOrderCustomField = action(\"ROUTE4ME_UPDATE_ORDER_CUSTOM_FIELD\", {\n slug: \"route4me-update-order-custom-field\",\n name: \"Update Order Custom Field\",\n description: \"Tool to update an existing order custom field in Route4Me. Use when you need to modify the label, type, or configuration of a custom field for orders.\",\n input: Route4meUpdateOrderCustomFieldInput,\n output: Route4meUpdateOrderCustomFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order-custom-field.mjs","names":[],"sources":["../../src/actions/update-order-custom-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateOrderCustomFieldInput = z.object({\n order_custom_field_id: z.number().int().describe(\"The unique identifier for the custom field being updated.\"),\n order_custom_field_type: z.string().describe(\"Updated type of the custom field (e.g., checkbox, text, dropdown).\"),\n order_custom_field_label: z.string().describe(\"Updated label for the custom field.\"),\n order_custom_field_type_info: z.record(z.string(), z.unknown()).describe(\"Additional metadata about the field type with configuration details.\"),\n}).describe(\"Request model for updating an existing order custom field.\");\nconst Route4meUpdateOrderCustomField_OrderCustomFieldTypeInfoSchema = z.record(z.string(), z.unknown()).describe(\"Type-specific information for a custom field. Structure varies by field type.\");\nconst Route4meUpdateOrderCustomField_OrderCustomFieldDataSchema = z.object({\n root_owner_member_id: z.number().int().describe(\"Member ID of the root owner who created this field.\").nullable().optional(),\n order_custom_field_id: z.number().int().describe(\"Unique identifier for the custom field.\").nullable().optional(),\n order_custom_field_name: z.string().describe(\"Internal name of the custom field.\").nullable().optional(),\n order_custom_field_type: z.string().describe(\"Type of the custom field (e.g., text, number, dropdown, checkbox).\").nullable().optional(),\n order_custom_field_label: z.string().describe(\"User-facing label/display name for the custom field.\").nullable().optional(),\n order_custom_field_type_info: Route4meUpdateOrderCustomField_OrderCustomFieldTypeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Updated order custom field data returned in the response.\");\nexport const Route4meUpdateOrderCustomFieldOutput = z.object({\n code: z.number().int().describe(\"Response status code from the API.\").nullable().optional(),\n data: Route4meUpdateOrderCustomField_OrderCustomFieldDataSchema.nullable().optional(),\n status: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated order custom field details.\");\n\nexport const route4meUpdateOrderCustomField: AppAction<\n typeof Route4meUpdateOrderCustomFieldInput,\n typeof Route4meUpdateOrderCustomFieldOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ORDER_CUSTOM_FIELD\", {\n slug: \"route4me-update-order-custom-field\",\n name: \"Update Order Custom Field\",\n description: \"Tool to update an existing order custom field in Route4Me. Use when you need to modify the label, type, or configuration of a custom field for orders.\",\n input: Route4meUpdateOrderCustomFieldInput,\n output: Route4meUpdateOrderCustomFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC5G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnF,8BAA8B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,gEAAgE,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAChM,MAAM,4DAA4D,EAAE,OAAO;CACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,8BAA8B,8DAA8D,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAOrF,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-route-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRouteSettingsInput = z.object({\n optimize: z.string().describe(\"Optimization criterion for the route (e.g., Distance, Time, timeWithTraffic).\").optional(),\n route_id: z.string().describe(\"The unique identifier of the route to update. Route ID is a hex string with 32 characters.\"),\n device_type: z.string().describe(\"Device type used for accessing the route (e.g., web, iphone, android).\").optional(),\n travel_mode: z.string().describe(\"Travel mode for the route (e.g., Driving, Walking, Bicycling, Trucking).\").optional(),\n distance_unit: z.string().describe(\"Distance measurement unit for the route. Use 'mi' for miles or 'km' for kilometers.\").optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").optional(),\n}).describe(\"Request model for updating route settings.\");\nexport const Route4meUpdateRouteSettingsOutput = z.object({\n optimize: z.string().describe(\"Optimization criterion used for the route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"Team member ID assigned to the route.\").nullable().optional(),\n device_type: z.string().describe(\"Device type used for the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route settings.\");\n\nexport const route4meUpdateRouteSettings = action(\"ROUTE4ME_UPDATE_ROUTE_SETTINGS\", {\n slug: \"route4me-update-route-settings\",\n name: \"Update Route Settings\",\n description: \"Tool to update route settings including optimization parameters, distance units, and device types. Use when you need to modify route configuration such as optimization criteria, distance measurement units, or device-specific settings.\",\n input: Route4meUpdateRouteSettingsInput,\n output: Route4meUpdateRouteSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-route-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRouteSettingsInput = z.object({\n optimize: z.string().describe(\"Optimization criterion for the route (e.g., Distance, Time, timeWithTraffic).\").optional(),\n route_id: z.string().describe(\"The unique identifier of the route to update. Route ID is a hex string with 32 characters.\"),\n device_type: z.string().describe(\"Device type used for accessing the route (e.g., web, iphone, android).\").optional(),\n travel_mode: z.string().describe(\"Travel mode for the route (e.g., Driving, Walking, Bicycling, Trucking).\").optional(),\n distance_unit: z.string().describe(\"Distance measurement unit for the route. Use 'mi' for miles or 'km' for kilometers.\").optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").optional(),\n}).describe(\"Request model for updating route settings.\");\nexport const Route4meUpdateRouteSettingsOutput = z.object({\n optimize: z.string().describe(\"Optimization criterion used for the route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"Team member ID assigned to the route.\").nullable().optional(),\n device_type: z.string().describe(\"Device type used for the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route settings.\");\n\nexport const route4meUpdateRouteSettings: AppAction<\n typeof Route4meUpdateRouteSettingsInput,\n typeof Route4meUpdateRouteSettingsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTE_SETTINGS\", {\n slug: \"route4me-update-route-settings\",\n name: \"Update Route Settings\",\n description: \"Tool to update route settings including optimization parameters, distance units, and device types. Use when you need to modify route configuration such as optimization criteria, distance measurement units, or device-specific settings.\",\n input: Route4meUpdateRouteSettingsInput,\n output: Route4meUpdateRouteSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAA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AAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-route-settings.d.ts
|
|
@@ -25,28 +27,7 @@ declare const Route4meUpdateRouteSettingsOutput: z.ZodObject<{
|
|
|
25
27
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
vehicle_max_distance_mi: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const route4meUpdateRouteSettings:
|
|
29
|
-
route_id: string;
|
|
30
|
-
optimize?: string | undefined;
|
|
31
|
-
device_type?: string | undefined;
|
|
32
|
-
travel_mode?: string | undefined;
|
|
33
|
-
distance_unit?: string | undefined;
|
|
34
|
-
vehicle_capacity?: number | undefined;
|
|
35
|
-
route_max_duration?: number | undefined;
|
|
36
|
-
vehicle_max_distance_mi?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const route4meUpdateRouteSettings: AppAction<typeof Route4meUpdateRouteSettingsInput, typeof Route4meUpdateRouteSettingsOutput, typeof route4me.credential>;
|
|
50
31
|
//#endregion
|
|
51
32
|
export { route4meUpdateRouteSettings };
|
|
52
33
|
//# sourceMappingURL=update-route-settings.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-settings.d.cts","names":[],"sources":["../../src/actions/update-route-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-settings.d.cts","names":[],"sources":["../../src/actions/update-route-settings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAejC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-route-settings.d.ts
|
|
@@ -25,28 +27,7 @@ declare const Route4meUpdateRouteSettingsOutput: z.ZodObject<{
|
|
|
25
27
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
vehicle_max_distance_mi: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const route4meUpdateRouteSettings:
|
|
29
|
-
route_id: string;
|
|
30
|
-
optimize?: string | undefined;
|
|
31
|
-
device_type?: string | undefined;
|
|
32
|
-
travel_mode?: string | undefined;
|
|
33
|
-
distance_unit?: string | undefined;
|
|
34
|
-
vehicle_capacity?: number | undefined;
|
|
35
|
-
route_max_duration?: number | undefined;
|
|
36
|
-
vehicle_max_distance_mi?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
30
|
+
declare const route4meUpdateRouteSettings: AppAction<typeof Route4meUpdateRouteSettingsInput, typeof Route4meUpdateRouteSettingsOutput, typeof route4me.credential>;
|
|
50
31
|
//#endregion
|
|
51
32
|
export { route4meUpdateRouteSettings };
|
|
52
33
|
//# sourceMappingURL=update-route-settings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-settings.d.mts","names":[],"sources":["../../src/actions/update-route-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-settings.d.mts","names":[],"sources":["../../src/actions/update-route-settings.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAejC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-settings.mjs","names":[],"sources":["../../src/actions/update-route-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRouteSettingsInput = z.object({\n optimize: z.string().describe(\"Optimization criterion for the route (e.g., Distance, Time, timeWithTraffic).\").optional(),\n route_id: z.string().describe(\"The unique identifier of the route to update. Route ID is a hex string with 32 characters.\"),\n device_type: z.string().describe(\"Device type used for accessing the route (e.g., web, iphone, android).\").optional(),\n travel_mode: z.string().describe(\"Travel mode for the route (e.g., Driving, Walking, Bicycling, Trucking).\").optional(),\n distance_unit: z.string().describe(\"Distance measurement unit for the route. Use 'mi' for miles or 'km' for kilometers.\").optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").optional(),\n}).describe(\"Request model for updating route settings.\");\nexport const Route4meUpdateRouteSettingsOutput = z.object({\n optimize: z.string().describe(\"Optimization criterion used for the route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"Team member ID assigned to the route.\").nullable().optional(),\n device_type: z.string().describe(\"Device type used for the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route settings.\");\n\nexport const route4meUpdateRouteSettings = action(\"ROUTE4ME_UPDATE_ROUTE_SETTINGS\", {\n slug: \"route4me-update-route-settings\",\n name: \"Update Route Settings\",\n description: \"Tool to update route settings including optimization parameters, distance units, and device types. Use when you need to modify route configuration such as optimization criteria, distance measurement units, or device-specific settings.\",\n input: Route4meUpdateRouteSettingsInput,\n output: Route4meUpdateRouteSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-settings.mjs","names":[],"sources":["../../src/actions/update-route-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRouteSettingsInput = z.object({\n optimize: z.string().describe(\"Optimization criterion for the route (e.g., Distance, Time, timeWithTraffic).\").optional(),\n route_id: z.string().describe(\"The unique identifier of the route to update. Route ID is a hex string with 32 characters.\"),\n device_type: z.string().describe(\"Device type used for accessing the route (e.g., web, iphone, android).\").optional(),\n travel_mode: z.string().describe(\"Travel mode for the route (e.g., Driving, Walking, Bicycling, Trucking).\").optional(),\n distance_unit: z.string().describe(\"Distance measurement unit for the route. Use 'mi' for miles or 'km' for kilometers.\").optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel in miles.\").optional(),\n}).describe(\"Request model for updating route settings.\");\nexport const Route4meUpdateRouteSettingsOutput = z.object({\n optimize: z.string().describe(\"Optimization criterion used for the route.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.number().int().describe(\"Team member ID assigned to the route.\").nullable().optional(),\n device_type: z.string().describe(\"Device type used for the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n vehicle_capacity: z.number().int().describe(\"Vehicle capacity constraint.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n vehicle_max_distance_mi: z.number().describe(\"Maximum distance the vehicle can travel.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route settings.\");\n\nexport const route4meUpdateRouteSettings: AppAction<\n typeof Route4meUpdateRouteSettingsInput,\n typeof Route4meUpdateRouteSettingsOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTE_SETTINGS\", {\n slug: \"route4me-update-route-settings\",\n name: \"Update Route Settings\",\n description: \"Tool to update route settings including optimization parameters, distance units, and device types. Use when you need to modify route configuration such as optimization criteria, distance measurement units, or device-specific settings.\",\n input: Route4meUpdateRouteSettingsInput,\n output: Route4meUpdateRouteSettingsOutput,\n});\n"],"mappings":";;;AA+BA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjC8C,EAAE,OAAO;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACtH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACnI,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC7G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,4CAwBH;CACP,QAxB+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-v4.cjs","names":["z","action"],"sources":["../../src/actions/update-route-v4.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRouteV4Input = z.object({\n route_id: z.string().describe(\"The ID of the route to update.\"),\n parameters: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"Descriptive name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing route update fields.\"),\n}).describe(\"Request model for updating route parameters.\");\nconst Route4meUpdateRouteV4_AddressManifestSchema = z.object({\n running_distance: z.number().describe(\"Cumulative distance up to this stop.\").nullable().optional(),\n running_wait_time: z.number().int().describe(\"Cumulative wait time up to this stop in seconds.\").nullable().optional(),\n running_travel_time: z.number().int().describe(\"Cumulative travel time up to this stop in seconds.\").nullable().optional(),\n running_service_time: z.number().int().describe(\"Cumulative service time up to this stop in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Manifest containing running totals for a route stop.\");\nconst Route4meUpdateRouteV4_RouteAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n alias: z.string().describe(\"Custom name or alias for this stop.\").nullable().optional(),\n address: z.string().describe(\"Street address of the stop.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this address is a depot (starting point).\").nullable().optional(),\n manifest: Route4meUpdateRouteV4_AddressManifestSchema.nullable().optional(),\n sequence_no: z.number().int().describe(\"Order of this stop in the route.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for this destination in the route.\").nullable().optional(),\n}).passthrough().describe(\"Address stop in the route.\");\nconst Route4meUpdateRouteV4_RouteParametersResponseSchema = z.object({\n optimize: z.string().describe(\"Optimization criterion used.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Route parameters in the response.\");\nexport const Route4meUpdateRouteV4Output = z.object({\n mpg: z.number().describe(\"Miles per gallon (fuel efficiency).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meUpdateRouteV4_RouteAddressSchema).describe(\"List of addresses (stops) in the route.\").nullable().optional(),\n gas_price: z.number().describe(\"Gas price used for cost calculations.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n parameters: Route4meUpdateRouteV4_RouteParametersResponseSchema.nullable().optional(),\n route_cost: z.number().describe(\"Estimated cost of the route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n member_email: z.string().describe(\"Email of the team member.\").nullable().optional(),\n route_revenue: z.number().describe(\"Estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of the team member.\").nullable().optional(),\n created_timestamp: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of the team member.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route details.\");\n\nexport const route4meUpdateRouteV4 = action(\"ROUTE4ME_UPDATE_ROUTE_V4\", {\n slug: \"route4me-update-route-v4\",\n name: \"Update Route V4\",\n description: \"Tool to update route parameters and addresses in Route4Me. Use when you need to modify route name, optimization settings, duration constraints, or reassign routes to team members.\",\n input: Route4meUpdateRouteV4Input,\n output: Route4meUpdateRouteV4Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-v4.cjs","names":["z","action"],"sources":["../../src/actions/update-route-v4.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRouteV4Input = z.object({\n route_id: z.string().describe(\"The ID of the route to update.\"),\n parameters: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"Descriptive name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing route update fields.\"),\n}).describe(\"Request model for updating route parameters.\");\nconst Route4meUpdateRouteV4_AddressManifestSchema = z.object({\n running_distance: z.number().describe(\"Cumulative distance up to this stop.\").nullable().optional(),\n running_wait_time: z.number().int().describe(\"Cumulative wait time up to this stop in seconds.\").nullable().optional(),\n running_travel_time: z.number().int().describe(\"Cumulative travel time up to this stop in seconds.\").nullable().optional(),\n running_service_time: z.number().int().describe(\"Cumulative service time up to this stop in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Manifest containing running totals for a route stop.\");\nconst Route4meUpdateRouteV4_RouteAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n alias: z.string().describe(\"Custom name or alias for this stop.\").nullable().optional(),\n address: z.string().describe(\"Street address of the stop.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this address is a depot (starting point).\").nullable().optional(),\n manifest: Route4meUpdateRouteV4_AddressManifestSchema.nullable().optional(),\n sequence_no: z.number().int().describe(\"Order of this stop in the route.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for this destination in the route.\").nullable().optional(),\n}).passthrough().describe(\"Address stop in the route.\");\nconst Route4meUpdateRouteV4_RouteParametersResponseSchema = z.object({\n optimize: z.string().describe(\"Optimization criterion used.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Route parameters in the response.\");\nexport const Route4meUpdateRouteV4Output = z.object({\n mpg: z.number().describe(\"Miles per gallon (fuel efficiency).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meUpdateRouteV4_RouteAddressSchema).describe(\"List of addresses (stops) in the route.\").nullable().optional(),\n gas_price: z.number().describe(\"Gas price used for cost calculations.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n parameters: Route4meUpdateRouteV4_RouteParametersResponseSchema.nullable().optional(),\n route_cost: z.number().describe(\"Estimated cost of the route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n member_email: z.string().describe(\"Email of the team member.\").nullable().optional(),\n route_revenue: z.number().describe(\"Estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of the team member.\").nullable().optional(),\n created_timestamp: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of the team member.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route details.\");\n\nexport const route4meUpdateRouteV4: AppAction<\n typeof Route4meUpdateRouteV4Input,\n typeof Route4meUpdateRouteV4Output,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTE_V4\", {\n slug: \"route4me-update-route-v4\",\n name: \"Update Route V4\",\n description: \"Tool to update route parameters and addresses in Route4Me. Use when you need to modify route name, optimization settings, duration constraints, or reassign routes to team members.\",\n input: Route4me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AAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-route-v4.d.ts
|
|
@@ -50,27 +52,7 @@ declare const Route4meUpdateRouteV4Output: z.ZodObject<{
|
|
|
50
52
|
route_duration_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
53
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const route4meUpdateRouteV4:
|
|
54
|
-
route_id: string;
|
|
55
|
-
parameters: {
|
|
56
|
-
optimize?: string | undefined;
|
|
57
|
-
member_id?: string | undefined;
|
|
58
|
-
route_name?: string | undefined;
|
|
59
|
-
route_max_duration?: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
68
|
-
connectionId: z.ZodString;
|
|
69
|
-
entityId: z.ZodString;
|
|
70
|
-
instanceId: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
generic_api_key: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>]>;
|
|
55
|
+
declare const route4meUpdateRouteV4: AppAction<typeof Route4meUpdateRouteV4Input, typeof Route4meUpdateRouteV4Output, typeof route4me.credential>;
|
|
74
56
|
//#endregion
|
|
75
57
|
export { route4meUpdateRouteV4 };
|
|
76
58
|
//# sourceMappingURL=update-route-v4.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-v4.d.cts","names":[],"sources":["../../src/actions/update-route-v4.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-v4.d.cts","names":[],"sources":["../../src/actions/update-route-v4.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAkC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-route-v4.d.ts
|
|
@@ -50,27 +52,7 @@ declare const Route4meUpdateRouteV4Output: z.ZodObject<{
|
|
|
50
52
|
route_duration_sec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
53
|
optimization_problem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
}, z.core.$loose>;
|
|
53
|
-
declare const route4meUpdateRouteV4:
|
|
54
|
-
route_id: string;
|
|
55
|
-
parameters: {
|
|
56
|
-
optimize?: string | undefined;
|
|
57
|
-
member_id?: string | undefined;
|
|
58
|
-
route_name?: string | undefined;
|
|
59
|
-
route_max_duration?: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
68
|
-
connectionId: z.ZodString;
|
|
69
|
-
entityId: z.ZodString;
|
|
70
|
-
instanceId: z.ZodString;
|
|
71
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
72
|
-
generic_api_key: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>]>;
|
|
55
|
+
declare const route4meUpdateRouteV4: AppAction<typeof Route4meUpdateRouteV4Input, typeof Route4meUpdateRouteV4Output, typeof route4me.credential>;
|
|
74
56
|
//#endregion
|
|
75
57
|
export { route4meUpdateRouteV4 };
|
|
76
58
|
//# sourceMappingURL=update-route-v4.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-v4.d.mts","names":[],"sources":["../../src/actions/update-route-v4.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-v4.d.mts","names":[],"sources":["../../src/actions/update-route-v4.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAkC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-route-v4.mjs","names":[],"sources":["../../src/actions/update-route-v4.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRouteV4Input = z.object({\n route_id: z.string().describe(\"The ID of the route to update.\"),\n parameters: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"Descriptive name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing route update fields.\"),\n}).describe(\"Request model for updating route parameters.\");\nconst Route4meUpdateRouteV4_AddressManifestSchema = z.object({\n running_distance: z.number().describe(\"Cumulative distance up to this stop.\").nullable().optional(),\n running_wait_time: z.number().int().describe(\"Cumulative wait time up to this stop in seconds.\").nullable().optional(),\n running_travel_time: z.number().int().describe(\"Cumulative travel time up to this stop in seconds.\").nullable().optional(),\n running_service_time: z.number().int().describe(\"Cumulative service time up to this stop in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Manifest containing running totals for a route stop.\");\nconst Route4meUpdateRouteV4_RouteAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n alias: z.string().describe(\"Custom name or alias for this stop.\").nullable().optional(),\n address: z.string().describe(\"Street address of the stop.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this address is a depot (starting point).\").nullable().optional(),\n manifest: Route4meUpdateRouteV4_AddressManifestSchema.nullable().optional(),\n sequence_no: z.number().int().describe(\"Order of this stop in the route.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for this destination in the route.\").nullable().optional(),\n}).passthrough().describe(\"Address stop in the route.\");\nconst Route4meUpdateRouteV4_RouteParametersResponseSchema = z.object({\n optimize: z.string().describe(\"Optimization criterion used.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Route parameters in the response.\");\nexport const Route4meUpdateRouteV4Output = z.object({\n mpg: z.number().describe(\"Miles per gallon (fuel efficiency).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meUpdateRouteV4_RouteAddressSchema).describe(\"List of addresses (stops) in the route.\").nullable().optional(),\n gas_price: z.number().describe(\"Gas price used for cost calculations.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n parameters: Route4meUpdateRouteV4_RouteParametersResponseSchema.nullable().optional(),\n route_cost: z.number().describe(\"Estimated cost of the route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n member_email: z.string().describe(\"Email of the team member.\").nullable().optional(),\n route_revenue: z.number().describe(\"Estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of the team member.\").nullable().optional(),\n created_timestamp: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of the team member.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route details.\");\n\nexport const route4meUpdateRouteV4 = action(\"ROUTE4ME_UPDATE_ROUTE_V4\", {\n slug: \"route4me-update-route-v4\",\n name: \"Update Route V4\",\n description: \"Tool to update route parameters and addresses in Route4Me. Use when you need to modify route name, optimization settings, duration constraints, or reassign routes to team members.\",\n input: Route4meUpdateRouteV4Input,\n output: Route4meUpdateRouteV4Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-route-v4.mjs","names":[],"sources":["../../src/actions/update-route-v4.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRouteV4Input = z.object({\n route_id: z.string().describe(\"The ID of the route to update.\"),\n parameters: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"Descriptive name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing route update fields.\"),\n}).describe(\"Request model for updating route parameters.\");\nconst Route4meUpdateRouteV4_AddressManifestSchema = z.object({\n running_distance: z.number().describe(\"Cumulative distance up to this stop.\").nullable().optional(),\n running_wait_time: z.number().int().describe(\"Cumulative wait time up to this stop in seconds.\").nullable().optional(),\n running_travel_time: z.number().int().describe(\"Cumulative travel time up to this stop in seconds.\").nullable().optional(),\n running_service_time: z.number().int().describe(\"Cumulative service time up to this stop in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Manifest containing running totals for a route stop.\");\nconst Route4meUpdateRouteV4_RouteAddressSchema = z.object({\n lat: z.number().describe(\"Latitude coordinate.\").nullable().optional(),\n lng: z.number().describe(\"Longitude coordinate.\").nullable().optional(),\n alias: z.string().describe(\"Custom name or alias for this stop.\").nullable().optional(),\n address: z.string().describe(\"Street address of the stop.\").nullable().optional(),\n is_depot: z.boolean().describe(\"Whether this address is a depot (starting point).\").nullable().optional(),\n manifest: Route4meUpdateRouteV4_AddressManifestSchema.nullable().optional(),\n sequence_no: z.number().int().describe(\"Order of this stop in the route.\").nullable().optional(),\n route_destination_id: z.number().int().describe(\"Unique identifier for this destination in the route.\").nullable().optional(),\n}).passthrough().describe(\"Address stop in the route.\");\nconst Route4meUpdateRouteV4_RouteParametersResponseSchema = z.object({\n optimize: z.string().describe(\"Optimization criterion used.\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n travel_mode: z.string().describe(\"Travel mode (Driving, Walking, etc.).\").nullable().optional(),\n distance_unit: z.string().describe(\"Distance measurement unit (mi or km).\").nullable().optional(),\n route_max_duration: z.number().int().describe(\"Maximum route duration in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Route parameters in the response.\");\nexport const Route4meUpdateRouteV4Output = z.object({\n mpg: z.number().describe(\"Miles per gallon (fuel efficiency).\").nullable().optional(),\n route_id: z.string().describe(\"Unique identifier for the route.\").nullable().optional(),\n addresses: z.array(Route4meUpdateRouteV4_RouteAddressSchema).describe(\"List of addresses (stops) in the route.\").nullable().optional(),\n gas_price: z.number().describe(\"Gas price used for cost calculations.\").nullable().optional(),\n member_id: z.union([z.string(), z.number().int()]).nullable().optional(),\n parameters: Route4meUpdateRouteV4_RouteParametersResponseSchema.nullable().optional(),\n route_cost: z.number().describe(\"Estimated cost of the route.\").nullable().optional(),\n route_name: z.string().describe(\"Name of the route.\").nullable().optional(),\n member_email: z.string().describe(\"Email of the team member.\").nullable().optional(),\n route_revenue: z.number().describe(\"Estimated revenue from the route.\").nullable().optional(),\n trip_distance: z.number().describe(\"Total trip distance in the configured unit.\").nullable().optional(),\n member_last_name: z.string().describe(\"Last name of the team member.\").nullable().optional(),\n created_timestamp: z.number().int().describe(\"Unix timestamp when the route was created.\").nullable().optional(),\n member_first_name: z.string().describe(\"First name of the team member.\").nullable().optional(),\n route_duration_sec: z.number().int().describe(\"Total route duration in seconds.\").nullable().optional(),\n optimization_problem_id: z.string().describe(\"Associated optimization problem ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated route details.\");\n\nexport const route4meUpdateRouteV4: AppAction<\n typeof Route4meUpdateRouteV4Input,\n typeof Route4meUpdateRouteV4Output,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTE_V4\", {\n slug: \"route4me-update-route-v4\",\n name: \"Update Route V4\",\n description: \"Tool to update route parameters and addresses in Route4Me. Use when you need to modify route name, optimization settings, duration constraints, or reassign routes to team members.\",\n input: Route4meUpdateRouteV4Input,\n output: Route4meUpdateRouteV4Output,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC9D,YAAY,EAAE,OAAO;EACrB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC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;EACtG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-routes.cjs","names":["z","action"],"sources":["../../src/actions/update-routes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRoutesInput = z.object({\n routes: z.array(z.object({\n route_id: z.string().describe(\"The unique identifier of the route to update.\"),\n update_data: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"New name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing the fields to update for this route.\"),\n}).passthrough().describe(\"Individual route update item containing route ID and update data.\")).describe(\"Array of route objects to update. Each object must contain route_id and update_data fields.\"),\n}).describe(\"Request model for bulk updating multiple routes.\");\nexport const Route4meUpdateRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the bulk update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for bulk route update operation.\");\n\nexport const route4meUpdateRoutes = action(\"ROUTE4ME_UPDATE_ROUTES\", {\n slug: \"route4me-update-routes\",\n name: \"Update Routes\",\n description: \"Tool to bulk update multiple routes in a single operation. Use when you need to update route names, optimization settings, duration constraints, or reassign multiple routes to team members efficiently.\",\n input: Route4meUpdateRoutesInput,\n output: Route4meUpdateRoutesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-routes.cjs","names":["z","action"],"sources":["../../src/actions/update-routes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRoutesInput = z.object({\n routes: z.array(z.object({\n route_id: z.string().describe(\"The unique identifier of the route to update.\"),\n update_data: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"New name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing the fields to update for this route.\"),\n}).passthrough().describe(\"Individual route update item containing route ID and update data.\")).describe(\"Array of route objects to update. Each object must contain route_id and update_data fields.\"),\n}).describe(\"Request model for bulk updating multiple routes.\");\nexport const Route4meUpdateRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the bulk update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for bulk route update operation.\");\n\nexport const route4meUpdateRoutes: AppAction<\n typeof Route4meUpdateRoutesInput,\n typeof Route4meUpdateRoutesOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTES\", {\n slug: \"route4me-update-routes\",\n name: \"Update Routes\",\n description: \"Tool to bulk update multiple routes in a single operation. Use when you need to update route names, optimization settings, duration constraints, or reassign multiple routes to team members efficiently.\",\n input: Route4meUpdateRoutesInput,\n output: Route4meUpdateRoutesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,aAAaA,IAAAA,EAAE,OAAO;EACtB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,CAAC,SAAS,6FAA6F,EACtM,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-routes.d.ts
|
|
@@ -15,30 +17,7 @@ declare const Route4meUpdateRoutesInput: z.ZodObject<{
|
|
|
15
17
|
declare const Route4meUpdateRoutesOutput: z.ZodObject<{
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const route4meUpdateRoutes:
|
|
19
|
-
routes: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
route_id: string;
|
|
22
|
-
update_data: {
|
|
23
|
-
optimize?: string | undefined;
|
|
24
|
-
member_id?: string | undefined;
|
|
25
|
-
route_name?: string | undefined;
|
|
26
|
-
route_max_duration?: number | undefined;
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const route4meUpdateRoutes: AppAction<typeof Route4meUpdateRoutesInput, typeof Route4meUpdateRoutesOutput, typeof route4me.credential>;
|
|
42
21
|
//#endregion
|
|
43
22
|
export { route4meUpdateRoutes };
|
|
44
23
|
//# sourceMappingURL=update-routes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-routes.d.cts","names":[],"sources":["../../src/actions/update-routes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-routes.d.cts","names":[],"sources":["../../src/actions/update-routes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { route4me } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-routes.d.ts
|
|
@@ -15,30 +17,7 @@ declare const Route4meUpdateRoutesInput: z.ZodObject<{
|
|
|
15
17
|
declare const Route4meUpdateRoutesOutput: z.ZodObject<{
|
|
16
18
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const route4meUpdateRoutes:
|
|
19
|
-
routes: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
route_id: string;
|
|
22
|
-
update_data: {
|
|
23
|
-
optimize?: string | undefined;
|
|
24
|
-
member_id?: string | undefined;
|
|
25
|
-
route_name?: string | undefined;
|
|
26
|
-
route_max_duration?: number | undefined;
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"route4me", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const route4meUpdateRoutes: AppAction<typeof Route4meUpdateRoutesInput, typeof Route4meUpdateRoutesOutput, typeof route4me.credential>;
|
|
42
21
|
//#endregion
|
|
43
22
|
export { route4meUpdateRoutes };
|
|
44
23
|
//# sourceMappingURL=update-routes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-routes.d.mts","names":[],"sources":["../../src/actions/update-routes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-routes.d.mts","names":[],"sources":["../../src/actions/update-routes.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-routes.mjs","names":[],"sources":["../../src/actions/update-routes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateRoutesInput = z.object({\n routes: z.array(z.object({\n route_id: z.string().describe(\"The unique identifier of the route to update.\"),\n update_data: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"New name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing the fields to update for this route.\"),\n}).passthrough().describe(\"Individual route update item containing route ID and update data.\")).describe(\"Array of route objects to update. Each object must contain route_id and update_data fields.\"),\n}).describe(\"Request model for bulk updating multiple routes.\");\nexport const Route4meUpdateRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the bulk update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for bulk route update operation.\");\n\nexport const route4meUpdateRoutes = action(\"ROUTE4ME_UPDATE_ROUTES\", {\n slug: \"route4me-update-routes\",\n name: \"Update Routes\",\n description: \"Tool to bulk update multiple routes in a single operation. Use when you need to update route names, optimization settings, duration constraints, or reassign multiple routes to team members efficiently.\",\n input: Route4meUpdateRoutesInput,\n output: Route4meUpdateRoutesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-routes.mjs","names":[],"sources":["../../src/actions/update-routes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateRoutesInput = z.object({\n routes: z.array(z.object({\n route_id: z.string().describe(\"The unique identifier of the route to update.\"),\n update_data: z.object({\n optimize: z.string().describe(\"Optimization criterion (e.g., Distance, Time, timeWithTraffic).\").optional(),\n member_id: z.string().describe(\"Identifier for the team member managing the route.\").optional(),\n route_name: z.string().describe(\"New name for the route.\").optional(),\n route_max_duration: z.number().int().describe(\"Maximum duration allowed for the route in seconds.\").optional(),\n}).describe(\"Object containing the fields to update for this route.\"),\n}).passthrough().describe(\"Individual route update item containing route ID and update data.\")).describe(\"Array of route objects to update. Each object must contain route_id and update_data fields.\"),\n}).describe(\"Request model for bulk updating multiple routes.\");\nexport const Route4meUpdateRoutesOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the bulk update operation was successful.\").nullable(),\n}).passthrough().describe(\"Response model for bulk route update operation.\");\n\nexport const route4meUpdateRoutes: AppAction<\n typeof Route4meUpdateRoutesInput,\n typeof Route4meUpdateRoutesOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_ROUTES\", {\n slug: \"route4me-update-routes\",\n name: \"Update Routes\",\n description: \"Tool to bulk update multiple routes in a single operation. Use when you need to update route names, optimization settings, duration constraints, or reassign multiple routes to team members efficiently.\",\n input: Route4meUpdateRoutesInput,\n output: Route4meUpdateRoutesOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBuC,EAAE,OAAO,EAChD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,aAAa,EAAE,OAAO;GACtB,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;GAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;GAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,CAAC,SAAS,6FAA6F,EACtM,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-territory.cjs","names":["z","action"],"sources":["../../src/actions/update-territory.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Route4meUpdateTerritoryInput = z.object({\n territory: z.object({\n data: z.array(z.string()).describe(\"Array of geodetic parameters defining the territory shape. For 'circle': [center_coordinates, radius_in_meters] e.g. ['37.569752822786455,-77.47833251953125', '7500']. For 'rect' and 'poly': array of coordinate pairs as strings.\"),\n type: z.enum([\"circle\", \"rect\", \"poly\"]).describe(\"Shape type of the territory: 'circle' for circular zones, 'rect' for rectangular zones, or 'poly' for polygon zones.\"),\n}).describe(\"Geospatial data defining the territory shape.\").optional(),\n territory_id: z.string().describe(\"The unique 32-character MD5 identifier of the territory to update.\"),\n territory_name: z.string().describe(\"Updated name for the territory.\").optional(),\n territory_color: z.string().describe(\"Updated hex color code for the territory (e.g., '00ff00' for green, 'ff0000' for red).\").optional(),\n}).describe(\"Request model for updating an existing territory.\");\nconst Route4meUpdateTerritory_TerritoryGeometrySchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodetic parameters defining the territory shape. For 'circle': [center_coordinates, radius_in_meters] e.g. ['37.569752822786455,-77.47833251953125', '7500']. For 'rect' and 'poly': array of coordinate pairs as strings.\"),\n type: z.enum([\"circle\", \"rect\", \"poly\"]).describe(\"Shape type of the territory: 'circle' for circular zones, 'rect' for rectangular zones, or 'poly' for polygon zones.\").nullable(),\n}).passthrough().describe(\"Geospatial data defining the territory shape.\");\nexport const Route4meUpdateTerritoryOutput = z.object({\n member_id: z.number().int().describe(\"Associated member/user ID who owns this territory.\").nullable().optional(),\n territory: Route4meUpdateTerritory_TerritoryGeometrySchema.nullable().optional(),\n territory_id: z.string().describe(\"Unique 32-character MD5 identifier for the territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Updated name for the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Updated hex color code for the territory.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated territory details.\");\n\nexport const route4meUpdateTerritory = action(\"ROUTE4ME_UPDATE_TERRITORY\", {\n slug: \"route4me-update-territory\",\n name: \"Update Territory\",\n description: \"Tool to update an existing territory. Use when you need to modify the name, color, or geographic boundaries of a territory for route planning and organization.\",\n input: Route4meUpdateTerritoryInput,\n output: Route4meUpdateTerritoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-territory.cjs","names":["z","action"],"sources":["../../src/actions/update-territory.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { route4me } from \"../app\";\n\nexport const Route4meUpdateTerritoryInput = z.object({\n territory: z.object({\n data: z.array(z.string()).describe(\"Array of geodetic parameters defining the territory shape. For 'circle': [center_coordinates, radius_in_meters] e.g. ['37.569752822786455,-77.47833251953125', '7500']. For 'rect' and 'poly': array of coordinate pairs as strings.\"),\n type: z.enum([\"circle\", \"rect\", \"poly\"]).describe(\"Shape type of the territory: 'circle' for circular zones, 'rect' for rectangular zones, or 'poly' for polygon zones.\"),\n}).describe(\"Geospatial data defining the territory shape.\").optional(),\n territory_id: z.string().describe(\"The unique 32-character MD5 identifier of the territory to update.\"),\n territory_name: z.string().describe(\"Updated name for the territory.\").optional(),\n territory_color: z.string().describe(\"Updated hex color code for the territory (e.g., '00ff00' for green, 'ff0000' for red).\").optional(),\n}).describe(\"Request model for updating an existing territory.\");\nconst Route4meUpdateTerritory_TerritoryGeometrySchema = z.object({\n data: z.array(z.string()).describe(\"Array of geodetic parameters defining the territory shape. For 'circle': [center_coordinates, radius_in_meters] e.g. ['37.569752822786455,-77.47833251953125', '7500']. For 'rect' and 'poly': array of coordinate pairs as strings.\"),\n type: z.enum([\"circle\", \"rect\", \"poly\"]).describe(\"Shape type of the territory: 'circle' for circular zones, 'rect' for rectangular zones, or 'poly' for polygon zones.\").nullable(),\n}).passthrough().describe(\"Geospatial data defining the territory shape.\");\nexport const Route4meUpdateTerritoryOutput = z.object({\n member_id: z.number().int().describe(\"Associated member/user ID who owns this territory.\").nullable().optional(),\n territory: Route4meUpdateTerritory_TerritoryGeometrySchema.nullable().optional(),\n territory_id: z.string().describe(\"Unique 32-character MD5 identifier for the territory.\").nullable().optional(),\n territory_name: z.string().describe(\"Updated name for the territory.\").nullable().optional(),\n territory_color: z.string().describe(\"Updated hex color code for the territory.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated territory details.\");\n\nexport const route4meUpdateTerritory: AppAction<\n typeof Route4meUpdateTerritoryInput,\n typeof Route4meUpdateTerritoryOutput,\n typeof route4me.credential\n> = action(\"ROUTE4ME_UPDATE_TERRITORY\", {\n slug: \"route4me-update-territory\",\n name: \"Update Territory\",\n description: \"Tool to update an existing territory. Use when you need to modify the name, color, or geographic boundaries of a territory for route planning and organization.\",\n input: Route4meUpdateTerritoryInput,\n output: Route4meUpdateTerritoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO;EACpB,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sOAAsO;EACzQ,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAU;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,sHAA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