planning-center-api
Version:
A TypeScript toolkit for building applications on top of the Planning Center API.
13 lines (12 loc) • 422 B
JavaScript
export class WorkflowShareResource {
constructor(client, personId) {
this.client = client;
this.personId = personId;
}
async list() {
return this.client.request("GET", `/people/v2/people/${this.personId}/workflow_shares`);
}
async get(workflowShareId) {
return this.client.request("GET", `/people/v2/people/${this.personId}/workflow_shares/${workflowShareId}`);
}
}