academe-kit 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5565,12 +5565,22 @@ function createCertificateService(apiClient) {
5565
5565
  params: { path: { id } },
5566
5566
  });
5567
5567
  },
5568
+ /**
5569
+ * Download all certificates of a given user as a single merged PDF
5570
+ */
5571
+ downloadAll(userId) {
5572
+ return apiClient.GET("/certificates/{userId}/download-all", {
5573
+ params: { path: { userId } },
5574
+ parseAs: 'blob',
5575
+ });
5576
+ },
5568
5577
  /**
5569
5578
  * Download certificate PDF
5570
5579
  */
5571
5580
  download(id) {
5572
5581
  return apiClient.GET("/certificates/{id}/download", {
5573
5582
  params: { path: { id } },
5583
+ parseAs: 'blob',
5574
5584
  });
5575
5585
  },
5576
5586
  /**