@fern-api/fdr-sdk 1.2.174-3202dd355e → 1.2.174-35c4d02a2f

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.
@@ -6480,9 +6480,12 @@ var pdfExportContract = {
6480
6480
  };
6481
6481
 
6482
6482
  // src/orpc-client/pdf-export/client.ts
6483
- function createPdfExportClient(options) {
6483
+ function createExportClient(options) {
6484
+ return createClient(options, "/export");
6485
+ }
6486
+ function createClient(options, prefix) {
6484
6487
  const link = new import_fetch18.OpenAPILink(pdfExportContract, {
6485
- url: `${options.baseUrl}/pdf-export`,
6488
+ url: `${options.baseUrl}${prefix}`,
6486
6489
  headers: () => ({
6487
6490
  Authorization: `Bearer ${options.token}`,
6488
6491
  ...options.headers
@@ -6842,7 +6845,7 @@ function createFdrORPCClient(options) {
6842
6845
  git: createGitClient(normalizedOptions),
6843
6846
  mcpHosting: createMcpHostingClient(normalizedOptions),
6844
6847
  slugs: createSlugsClient(normalizedOptions),
6845
- pdfExport: createPdfExportClient(normalizedOptions),
6848
+ pdfExport: createExportClient(normalizedOptions),
6846
6849
  sdks: createSdksClient(normalizedOptions),
6847
6850
  snippets: createSnippetsClient(normalizedOptions),
6848
6851
  snippetsFactory: createSnippetsFactoryClient(normalizedOptions),