Type alias ZendriveAttributes

ZendriveAttributes: {
    alias?: string;
    group?: string;
    serviceLevel?: ServiceLevelAttribute;
    vehicleType?: ZendriveVehicleType;
} & {
    [key: string]: string;
}

Additional attributes of a Zendrive driver. The application can specify both predefined and custom attributes for a driver. These attributes are associated with a SDK driverId at SDK initialization time. In addition to predefined special attributes, up to 4 custom key value attributes can be associated with a driver of the Zendrive SDK. These attributes are available on the Zendrive dashboard and via the API.

All attribute keys and values can be upto 64 characters in length. Longer keys and values will be truncated to the first 64 characters.

Type declaration

Type declaration

  • [key: string]: string