Skip to content

Commit

Permalink
Merge pull request #14 from voiceflow/trs/fix-pdf-result/PL-000
Browse files Browse the repository at this point in the history
feat(billing): invoice pdf download (PL-000)
  • Loading branch information
pmvrmc authored Jan 26, 2024
2 parents 1b55d49 + f2103e6 commit 8aa1615
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/resources/invoice-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class InvoiceResource extends ChargebeeResource {
invoice: { optional: false },
});
public readonly pdf = super.request("invoice", "pdf", {
invoice: { optional: false },
download: { optional: false },
});
public readonly downloadEinvoice = super.request(
"invoice",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/quote-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ export class QuoteResource extends ChargebeeResource {
quote: { optional: false },
});
public readonly pdf = super.request("quote", "pdf", {
quote: { optional: false },
download: { optional: false },
});
}
2 changes: 1 addition & 1 deletion src/resources/usage-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export class UsageResource extends ChargebeeResource {
usage: { optional: false },
});
public readonly pdf = super.request("usage", "pdf", {
usage: { optional: false },
download: { optional: false },
});
}

0 comments on commit 8aa1615

Please sign in to comment.