@fern-api/fdr-sdk 1.1.8-c2d2da3a47 → 1.1.8-e95c6c87e3
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/js/client/FdrClient.js +46 -23
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +46 -23
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +46 -23
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +46 -23
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +44 -22
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +44 -22
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/client/FdrClient.d.ts +1 -0
- package/dist/types/client/FdrClient.d.ts.map +1 -1
- package/dist/types/orpc-client/api/client.d.ts +1 -0
- package/dist/types/orpc-client/api/client.d.ts.map +1 -1
- package/dist/types/orpc-client/client.d.ts +1 -0
- package/dist/types/orpc-client/client.d.ts.map +1 -1
- package/dist/types/orpc-client/dashboard/client.d.ts +1 -0
- package/dist/types/orpc-client/dashboard/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/read/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v1/read/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/write/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v1/write/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/library-docs/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v2/library-docs/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/organization/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v2/organization/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/read/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v2/read/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/write/client.d.ts +1 -0
- package/dist/types/orpc-client/docs/v2/write/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-cache/client.d.ts +1 -0
- package/dist/types/orpc-client/docs-cache/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-deployment/client.d.ts +1 -0
- package/dist/types/orpc-client/docs-deployment/client.d.ts.map +1 -1
- package/dist/types/orpc-client/generators/cli/client.d.ts +1 -0
- package/dist/types/orpc-client/generators/cli/client.d.ts.map +1 -1
- package/dist/types/orpc-client/generators/client.d.ts +1 -0
- package/dist/types/orpc-client/generators/client.d.ts.map +1 -1
- package/dist/types/orpc-client/generators/versions/client.d.ts +1 -0
- package/dist/types/orpc-client/generators/versions/client.d.ts.map +1 -1
- package/dist/types/orpc-client/git/client.d.ts +1 -0
- package/dist/types/orpc-client/git/client.d.ts.map +1 -1
- package/dist/types/orpc-client/pdf-export/client.d.ts +1 -0
- package/dist/types/orpc-client/pdf-export/client.d.ts.map +1 -1
- package/dist/types/orpc-client/sdks/client.d.ts +1 -0
- package/dist/types/orpc-client/sdks/client.d.ts.map +1 -1
- package/dist/types/orpc-client/snippets/client.d.ts +1 -0
- package/dist/types/orpc-client/snippets/client.d.ts.map +1 -1
- package/dist/types/orpc-client/templates/client.d.ts +1 -0
- package/dist/types/orpc-client/templates/client.d.ts.map +1 -1
- package/dist/types/orpc-client/tokens/client.d.ts +1 -0
- package/dist/types/orpc-client/tokens/client.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/js/orpc-client.mjs
CHANGED
|
@@ -1784,19 +1784,22 @@ function createApiClient(options) {
|
|
|
1784
1784
|
const latestLink = new OpenAPILink(apiLatestContract, {
|
|
1785
1785
|
url: `${options.baseUrl}/registry/api/latest`,
|
|
1786
1786
|
headers: () => ({
|
|
1787
|
-
Authorization: `Bearer ${options.token}
|
|
1787
|
+
Authorization: `Bearer ${options.token}`,
|
|
1788
|
+
...options.headers
|
|
1788
1789
|
})
|
|
1789
1790
|
});
|
|
1790
1791
|
const readLink = new OpenAPILink(apiReadContract, {
|
|
1791
1792
|
url: `${options.baseUrl}/registry/api`,
|
|
1792
1793
|
headers: () => ({
|
|
1793
|
-
Authorization: `Bearer ${options.token}
|
|
1794
|
+
Authorization: `Bearer ${options.token}`,
|
|
1795
|
+
...options.headers
|
|
1794
1796
|
})
|
|
1795
1797
|
});
|
|
1796
1798
|
const registerLink = new OpenAPILink(apiRegisterContract, {
|
|
1797
1799
|
url: `${options.baseUrl}/registry/api`,
|
|
1798
1800
|
headers: () => ({
|
|
1799
|
-
Authorization: `Bearer ${options.token}
|
|
1801
|
+
Authorization: `Bearer ${options.token}`,
|
|
1802
|
+
...options.headers
|
|
1800
1803
|
})
|
|
1801
1804
|
});
|
|
1802
1805
|
return {
|
|
@@ -1916,7 +1919,8 @@ function createDashboardClient(options) {
|
|
|
1916
1919
|
const link = new OpenAPILink2(dashboardContract, {
|
|
1917
1920
|
url: `${options.baseUrl}/dashboard`,
|
|
1918
1921
|
headers: () => ({
|
|
1919
|
-
Authorization: `Bearer ${options.token}
|
|
1922
|
+
Authorization: `Bearer ${options.token}`,
|
|
1923
|
+
...options.headers
|
|
1920
1924
|
})
|
|
1921
1925
|
});
|
|
1922
1926
|
return createORPCClient2(link);
|
|
@@ -2646,7 +2650,8 @@ function createDocsV1ReadClient(options) {
|
|
|
2646
2650
|
const link = new OpenAPILink3(docsV1ReadContract, {
|
|
2647
2651
|
url: `${options.baseUrl}/registry/docs`,
|
|
2648
2652
|
headers: () => ({
|
|
2649
|
-
Authorization: `Bearer ${options.token}
|
|
2653
|
+
Authorization: `Bearer ${options.token}`,
|
|
2654
|
+
...options.headers
|
|
2650
2655
|
})
|
|
2651
2656
|
});
|
|
2652
2657
|
return createORPCClient3(link);
|
|
@@ -2683,7 +2688,8 @@ function createDocsV1WriteClient(options) {
|
|
|
2683
2688
|
const link = new OpenAPILink4(docsV1WriteContract, {
|
|
2684
2689
|
url: `${options.baseUrl}/registry/docs`,
|
|
2685
2690
|
headers: () => ({
|
|
2686
|
-
Authorization: `Bearer ${options.token}
|
|
2691
|
+
Authorization: `Bearer ${options.token}`,
|
|
2692
|
+
...options.headers
|
|
2687
2693
|
})
|
|
2688
2694
|
});
|
|
2689
2695
|
return createORPCClient4(link);
|
|
@@ -2779,7 +2785,8 @@ function createLibraryDocsClient(options) {
|
|
|
2779
2785
|
const link = new OpenAPILink5(libraryDocsContract, {
|
|
2780
2786
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
2781
2787
|
headers: () => ({
|
|
2782
|
-
Authorization: `Bearer ${options.token}
|
|
2788
|
+
Authorization: `Bearer ${options.token}`,
|
|
2789
|
+
...options.headers
|
|
2783
2790
|
})
|
|
2784
2791
|
});
|
|
2785
2792
|
return createORPCClient5(link);
|
|
@@ -2804,7 +2811,8 @@ function createOrganizationClient(options) {
|
|
|
2804
2811
|
const link = new OpenAPILink6(organizationContract, {
|
|
2805
2812
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
2806
2813
|
headers: () => ({
|
|
2807
|
-
Authorization: `Bearer ${options.token}
|
|
2814
|
+
Authorization: `Bearer ${options.token}`,
|
|
2815
|
+
...options.headers
|
|
2808
2816
|
})
|
|
2809
2817
|
});
|
|
2810
2818
|
return createORPCClient6(link);
|
|
@@ -2892,7 +2900,8 @@ function createDocsV2ReadClient(options) {
|
|
|
2892
2900
|
const link = new OpenAPILink7(docsV2ReadContract, {
|
|
2893
2901
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
2894
2902
|
headers: () => ({
|
|
2895
|
-
Authorization: `Bearer ${options.token}
|
|
2903
|
+
Authorization: `Bearer ${options.token}`,
|
|
2904
|
+
...options.headers
|
|
2896
2905
|
})
|
|
2897
2906
|
});
|
|
2898
2907
|
return createORPCClient7(link);
|
|
@@ -2996,7 +3005,8 @@ function createDocsV2WriteClient(options) {
|
|
|
2996
3005
|
const link = new OpenAPILink8(docsV2WriteContract, {
|
|
2997
3006
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
2998
3007
|
headers: () => ({
|
|
2999
|
-
Authorization: `Bearer ${options.token}
|
|
3008
|
+
Authorization: `Bearer ${options.token}`,
|
|
3009
|
+
...options.headers
|
|
3000
3010
|
})
|
|
3001
3011
|
});
|
|
3002
3012
|
return createORPCClient8(link);
|
|
@@ -3037,7 +3047,8 @@ function createDocsCacheClient(options) {
|
|
|
3037
3047
|
const link = new OpenAPILink9(docsCacheContract, {
|
|
3038
3048
|
url: `${options.baseUrl}/docs-cache`,
|
|
3039
3049
|
headers: () => ({
|
|
3040
|
-
Authorization: `Bearer ${options.token}
|
|
3050
|
+
Authorization: `Bearer ${options.token}`,
|
|
3051
|
+
...options.headers
|
|
3041
3052
|
})
|
|
3042
3053
|
});
|
|
3043
3054
|
return createORPCClient9(link);
|
|
@@ -3146,7 +3157,8 @@ function createDocsDeploymentClient(options) {
|
|
|
3146
3157
|
const link = new OpenAPILink10(docsDeploymentContract, {
|
|
3147
3158
|
url: `${options.baseUrl}/docs-deployment`,
|
|
3148
3159
|
headers: () => ({
|
|
3149
|
-
Authorization: `Bearer ${options.token}
|
|
3160
|
+
Authorization: `Bearer ${options.token}`,
|
|
3161
|
+
...options.headers
|
|
3150
3162
|
})
|
|
3151
3163
|
});
|
|
3152
3164
|
return createORPCClient10(link);
|
|
@@ -3366,7 +3378,8 @@ function createGeneratorCliClient(options) {
|
|
|
3366
3378
|
const link = new OpenAPILink11(generatorCliContract, {
|
|
3367
3379
|
url: `${options.baseUrl}/generators/cli`,
|
|
3368
3380
|
headers: () => ({
|
|
3369
|
-
Authorization: `Bearer ${options.token}
|
|
3381
|
+
Authorization: `Bearer ${options.token}`,
|
|
3382
|
+
...options.headers
|
|
3370
3383
|
})
|
|
3371
3384
|
});
|
|
3372
3385
|
return createORPCClient11(link);
|
|
@@ -3379,7 +3392,8 @@ function createGeneratorsRootClient(options) {
|
|
|
3379
3392
|
const link = new OpenAPILink12(generatorsContract, {
|
|
3380
3393
|
url: `${options.baseUrl}/generators`,
|
|
3381
3394
|
headers: () => ({
|
|
3382
|
-
Authorization: `Bearer ${options.token}
|
|
3395
|
+
Authorization: `Bearer ${options.token}`,
|
|
3396
|
+
...options.headers
|
|
3383
3397
|
})
|
|
3384
3398
|
});
|
|
3385
3399
|
return createORPCClient12(link);
|
|
@@ -3392,7 +3406,8 @@ function createGeneratorVersionsClient(options) {
|
|
|
3392
3406
|
const link = new OpenAPILink13(generatorVersionsContract, {
|
|
3393
3407
|
url: `${options.baseUrl}/generators/versions`,
|
|
3394
3408
|
headers: () => ({
|
|
3395
|
-
Authorization: `Bearer ${options.token}
|
|
3409
|
+
Authorization: `Bearer ${options.token}`,
|
|
3410
|
+
...options.headers
|
|
3396
3411
|
})
|
|
3397
3412
|
});
|
|
3398
3413
|
return createORPCClient13(link);
|
|
@@ -3534,7 +3549,8 @@ function createGitClient(options) {
|
|
|
3534
3549
|
const link = new OpenAPILink14(gitContract, {
|
|
3535
3550
|
url: `${options.baseUrl}/generators/github`,
|
|
3536
3551
|
headers: () => ({
|
|
3537
|
-
Authorization: `Bearer ${options.token}
|
|
3552
|
+
Authorization: `Bearer ${options.token}`,
|
|
3553
|
+
...options.headers
|
|
3538
3554
|
})
|
|
3539
3555
|
});
|
|
3540
3556
|
return createORPCClient14(link);
|
|
@@ -3633,7 +3649,8 @@ function createPdfExportClient(options) {
|
|
|
3633
3649
|
const link = new OpenAPILink15(pdfExportContract, {
|
|
3634
3650
|
url: `${options.baseUrl}/pdf-export`,
|
|
3635
3651
|
headers: () => ({
|
|
3636
|
-
Authorization: `Bearer ${options.token}
|
|
3652
|
+
Authorization: `Bearer ${options.token}`,
|
|
3653
|
+
...options.headers
|
|
3637
3654
|
})
|
|
3638
3655
|
});
|
|
3639
3656
|
return createORPCClient15(link);
|
|
@@ -3676,7 +3693,8 @@ function createSdksClient(options) {
|
|
|
3676
3693
|
const link = new OpenAPILink16(sdksContract, {
|
|
3677
3694
|
url: `${options.baseUrl}/sdks`,
|
|
3678
3695
|
headers: () => ({
|
|
3679
|
-
Authorization: `Bearer ${options.token}
|
|
3696
|
+
Authorization: `Bearer ${options.token}`,
|
|
3697
|
+
...options.headers
|
|
3680
3698
|
})
|
|
3681
3699
|
});
|
|
3682
3700
|
return createORPCClient16(link);
|
|
@@ -3793,7 +3811,8 @@ function createSnippetsFactoryClient(options) {
|
|
|
3793
3811
|
const link = new OpenAPILink17(snippetsFactoryContract, {
|
|
3794
3812
|
url: `${options.baseUrl}/snippets`,
|
|
3795
3813
|
headers: () => ({
|
|
3796
|
-
Authorization: `Bearer ${options.token}
|
|
3814
|
+
Authorization: `Bearer ${options.token}`,
|
|
3815
|
+
...options.headers
|
|
3797
3816
|
})
|
|
3798
3817
|
});
|
|
3799
3818
|
return createORPCClient17(link);
|
|
@@ -3802,7 +3821,8 @@ function createSnippetsClient(options) {
|
|
|
3802
3821
|
const link = new OpenAPILink17(snippetsContract, {
|
|
3803
3822
|
url: `${options.baseUrl}/snippets`,
|
|
3804
3823
|
headers: () => ({
|
|
3805
|
-
Authorization: `Bearer ${options.token}
|
|
3824
|
+
Authorization: `Bearer ${options.token}`,
|
|
3825
|
+
...options.headers
|
|
3806
3826
|
})
|
|
3807
3827
|
});
|
|
3808
3828
|
return createORPCClient17(link);
|
|
@@ -3863,7 +3883,8 @@ function createTemplatesClient(options) {
|
|
|
3863
3883
|
const link = new OpenAPILink18(templatesContract, {
|
|
3864
3884
|
url: `${options.baseUrl}/snippet-template`,
|
|
3865
3885
|
headers: () => ({
|
|
3866
|
-
Authorization: `Bearer ${options.token}
|
|
3886
|
+
Authorization: `Bearer ${options.token}`,
|
|
3887
|
+
...options.headers
|
|
3867
3888
|
})
|
|
3868
3889
|
});
|
|
3869
3890
|
return createORPCClient18(link);
|
|
@@ -3898,7 +3919,8 @@ function createTokensClient(options) {
|
|
|
3898
3919
|
const link = new OpenAPILink19(tokensContract, {
|
|
3899
3920
|
url: `${options.baseUrl}/tokens`,
|
|
3900
3921
|
headers: () => ({
|
|
3901
|
-
Authorization: `Bearer ${options.token}
|
|
3922
|
+
Authorization: `Bearer ${options.token}`,
|
|
3923
|
+
...options.headers
|
|
3902
3924
|
})
|
|
3903
3925
|
});
|
|
3904
3926
|
return createORPCClient19(link);
|