@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.
@@ -6891,8 +6891,14 @@ var pdfExportContract = {
6891
6891
 
6892
6892
  // src/orpc-client/pdf-export/client.ts
6893
6893
  function createPdfExportClient(options) {
6894
+ return createClient(options, "/pdf-export");
6895
+ }
6896
+ function createExportClient(options) {
6897
+ return createClient(options, "/export");
6898
+ }
6899
+ function createClient(options, prefix) {
6894
6900
  const link = new OpenAPILink18(pdfExportContract, {
6895
- url: `${options.baseUrl}/pdf-export`,
6901
+ url: `${options.baseUrl}${prefix}`,
6896
6902
  headers: () => ({
6897
6903
  Authorization: `Bearer ${options.token}`,
6898
6904
  ...options.headers
@@ -7252,7 +7258,7 @@ function createFdrORPCClient(options) {
7252
7258
  git: createGitClient(normalizedOptions),
7253
7259
  mcpHosting: createMcpHostingClient(normalizedOptions),
7254
7260
  slugs: createSlugsClient(normalizedOptions),
7255
- pdfExport: createPdfExportClient(normalizedOptions),
7261
+ pdfExport: createExportClient(normalizedOptions),
7256
7262
  sdks: createSdksClient(normalizedOptions),
7257
7263
  snippets: createSnippetsClient(normalizedOptions),
7258
7264
  snippetsFactory: createSnippetsFactoryClient(normalizedOptions),
@@ -8919,6 +8925,7 @@ export {
8919
8925
  createDocsV2ReadClient,
8920
8926
  createDocsV2WriteClient,
8921
8927
  createEditorSnapshotClient,
8928
+ createExportClient,
8922
8929
  createFdrORPCClient,
8923
8930
  createGeneratorCliClient,
8924
8931
  createGeneratorVersionsClient,