UNPKG

passkit-webservice-toolkit

Version:

Integrate Apple Wallet Service with ease

18 lines (17 loc) 718 B
/** * Set up change notifications for a pass on a device. * @see https://developer.apple.com/documentation/walletpasses/register_a_pass_for_update_notifications */ export declare const RegisterEndpoint: { method: "POST"; path: "/v1/devices/:deviceLibraryIdentifier/registrations/:passTypeIdentifier/:serialNumber"; params: ["deviceLibraryIdentifier", "passTypeIdentifier", "serialNumber"]; toString(): "POST /v1/devices/:deviceLibraryIdentifier/registrations/:passTypeIdentifier/:serialNumber"; }; export type RegisterParams = (typeof RegisterEndpoint)["params"]; /** * @see https://developer.apple.com/documentation/walletpasses/pushtoken */ export interface PushToken { pushToken: string; }