@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
15 lines (14 loc) • 416 B
TypeScript
import Endpoint from './Endpoint';
/**
* Communicate with the claims endpoints.
*/
export default class ClaimsEndpoint extends Endpoint {
/**
* Returns the pkpass file for a campaign and pass.
*
* @param campaignId The ID of the campaign.
* @param passId The ID of the pass.
* @returns The pkpass file.
*/
getPkpass: (campaignId: string, passId: string) => Promise<string>;
}