@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.js
CHANGED
|
@@ -2288,19 +2288,22 @@ function createApiClient(options) {
|
|
|
2288
2288
|
const latestLink = new import_fetch.OpenAPILink(apiLatestContract, {
|
|
2289
2289
|
url: `${options.baseUrl}/registry/api/latest`,
|
|
2290
2290
|
headers: () => ({
|
|
2291
|
-
Authorization: `Bearer ${options.token}
|
|
2291
|
+
Authorization: `Bearer ${options.token}`,
|
|
2292
|
+
...options.headers
|
|
2292
2293
|
})
|
|
2293
2294
|
});
|
|
2294
2295
|
const readLink = new import_fetch.OpenAPILink(apiReadContract, {
|
|
2295
2296
|
url: `${options.baseUrl}/registry/api`,
|
|
2296
2297
|
headers: () => ({
|
|
2297
|
-
Authorization: `Bearer ${options.token}
|
|
2298
|
+
Authorization: `Bearer ${options.token}`,
|
|
2299
|
+
...options.headers
|
|
2298
2300
|
})
|
|
2299
2301
|
});
|
|
2300
2302
|
const registerLink = new import_fetch.OpenAPILink(apiRegisterContract, {
|
|
2301
2303
|
url: `${options.baseUrl}/registry/api`,
|
|
2302
2304
|
headers: () => ({
|
|
2303
|
-
Authorization: `Bearer ${options.token}
|
|
2305
|
+
Authorization: `Bearer ${options.token}`,
|
|
2306
|
+
...options.headers
|
|
2304
2307
|
})
|
|
2305
2308
|
});
|
|
2306
2309
|
return {
|
|
@@ -2420,7 +2423,8 @@ function createDashboardClient(options) {
|
|
|
2420
2423
|
const link = new import_fetch2.OpenAPILink(dashboardContract, {
|
|
2421
2424
|
url: `${options.baseUrl}/dashboard`,
|
|
2422
2425
|
headers: () => ({
|
|
2423
|
-
Authorization: `Bearer ${options.token}
|
|
2426
|
+
Authorization: `Bearer ${options.token}`,
|
|
2427
|
+
...options.headers
|
|
2424
2428
|
})
|
|
2425
2429
|
});
|
|
2426
2430
|
return (0, import_client2.createORPCClient)(link);
|
|
@@ -3150,7 +3154,8 @@ function createDocsV1ReadClient(options) {
|
|
|
3150
3154
|
const link = new import_fetch3.OpenAPILink(docsV1ReadContract, {
|
|
3151
3155
|
url: `${options.baseUrl}/registry/docs`,
|
|
3152
3156
|
headers: () => ({
|
|
3153
|
-
Authorization: `Bearer ${options.token}
|
|
3157
|
+
Authorization: `Bearer ${options.token}`,
|
|
3158
|
+
...options.headers
|
|
3154
3159
|
})
|
|
3155
3160
|
});
|
|
3156
3161
|
return (0, import_client3.createORPCClient)(link);
|
|
@@ -3187,7 +3192,8 @@ function createDocsV1WriteClient(options) {
|
|
|
3187
3192
|
const link = new import_fetch4.OpenAPILink(docsV1WriteContract, {
|
|
3188
3193
|
url: `${options.baseUrl}/registry/docs`,
|
|
3189
3194
|
headers: () => ({
|
|
3190
|
-
Authorization: `Bearer ${options.token}
|
|
3195
|
+
Authorization: `Bearer ${options.token}`,
|
|
3196
|
+
...options.headers
|
|
3191
3197
|
})
|
|
3192
3198
|
});
|
|
3193
3199
|
return (0, import_client4.createORPCClient)(link);
|
|
@@ -3283,7 +3289,8 @@ function createLibraryDocsClient(options) {
|
|
|
3283
3289
|
const link = new import_fetch5.OpenAPILink(libraryDocsContract, {
|
|
3284
3290
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
3285
3291
|
headers: () => ({
|
|
3286
|
-
Authorization: `Bearer ${options.token}
|
|
3292
|
+
Authorization: `Bearer ${options.token}`,
|
|
3293
|
+
...options.headers
|
|
3287
3294
|
})
|
|
3288
3295
|
});
|
|
3289
3296
|
return (0, import_client5.createORPCClient)(link);
|
|
@@ -3308,7 +3315,8 @@ function createOrganizationClient(options) {
|
|
|
3308
3315
|
const link = new import_fetch6.OpenAPILink(organizationContract, {
|
|
3309
3316
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
3310
3317
|
headers: () => ({
|
|
3311
|
-
Authorization: `Bearer ${options.token}
|
|
3318
|
+
Authorization: `Bearer ${options.token}`,
|
|
3319
|
+
...options.headers
|
|
3312
3320
|
})
|
|
3313
3321
|
});
|
|
3314
3322
|
return (0, import_client6.createORPCClient)(link);
|
|
@@ -3396,7 +3404,8 @@ function createDocsV2ReadClient(options) {
|
|
|
3396
3404
|
const link = new import_fetch7.OpenAPILink(docsV2ReadContract, {
|
|
3397
3405
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
3398
3406
|
headers: () => ({
|
|
3399
|
-
Authorization: `Bearer ${options.token}
|
|
3407
|
+
Authorization: `Bearer ${options.token}`,
|
|
3408
|
+
...options.headers
|
|
3400
3409
|
})
|
|
3401
3410
|
});
|
|
3402
3411
|
return (0, import_client7.createORPCClient)(link);
|
|
@@ -3500,7 +3509,8 @@ function createDocsV2WriteClient(options) {
|
|
|
3500
3509
|
const link = new import_fetch8.OpenAPILink(docsV2WriteContract, {
|
|
3501
3510
|
url: `${options.baseUrl}/v2/registry/docs`,
|
|
3502
3511
|
headers: () => ({
|
|
3503
|
-
Authorization: `Bearer ${options.token}
|
|
3512
|
+
Authorization: `Bearer ${options.token}`,
|
|
3513
|
+
...options.headers
|
|
3504
3514
|
})
|
|
3505
3515
|
});
|
|
3506
3516
|
return (0, import_client8.createORPCClient)(link);
|
|
@@ -3541,7 +3551,8 @@ function createDocsCacheClient(options) {
|
|
|
3541
3551
|
const link = new import_fetch9.OpenAPILink(docsCacheContract, {
|
|
3542
3552
|
url: `${options.baseUrl}/docs-cache`,
|
|
3543
3553
|
headers: () => ({
|
|
3544
|
-
Authorization: `Bearer ${options.token}
|
|
3554
|
+
Authorization: `Bearer ${options.token}`,
|
|
3555
|
+
...options.headers
|
|
3545
3556
|
})
|
|
3546
3557
|
});
|
|
3547
3558
|
return (0, import_client15.createORPCClient)(link);
|
|
@@ -3650,7 +3661,8 @@ function createDocsDeploymentClient(options) {
|
|
|
3650
3661
|
const link = new import_fetch10.OpenAPILink(docsDeploymentContract, {
|
|
3651
3662
|
url: `${options.baseUrl}/docs-deployment`,
|
|
3652
3663
|
headers: () => ({
|
|
3653
|
-
Authorization: `Bearer ${options.token}
|
|
3664
|
+
Authorization: `Bearer ${options.token}`,
|
|
3665
|
+
...options.headers
|
|
3654
3666
|
})
|
|
3655
3667
|
});
|
|
3656
3668
|
return (0, import_client16.createORPCClient)(link);
|
|
@@ -3870,7 +3882,8 @@ function createGeneratorCliClient(options) {
|
|
|
3870
3882
|
const link = new import_fetch11.OpenAPILink(generatorCliContract, {
|
|
3871
3883
|
url: `${options.baseUrl}/generators/cli`,
|
|
3872
3884
|
headers: () => ({
|
|
3873
|
-
Authorization: `Bearer ${options.token}
|
|
3885
|
+
Authorization: `Bearer ${options.token}`,
|
|
3886
|
+
...options.headers
|
|
3874
3887
|
})
|
|
3875
3888
|
});
|
|
3876
3889
|
return (0, import_client17.createORPCClient)(link);
|
|
@@ -3883,7 +3896,8 @@ function createGeneratorsRootClient(options) {
|
|
|
3883
3896
|
const link = new import_fetch12.OpenAPILink(generatorsContract, {
|
|
3884
3897
|
url: `${options.baseUrl}/generators`,
|
|
3885
3898
|
headers: () => ({
|
|
3886
|
-
Authorization: `Bearer ${options.token}
|
|
3899
|
+
Authorization: `Bearer ${options.token}`,
|
|
3900
|
+
...options.headers
|
|
3887
3901
|
})
|
|
3888
3902
|
});
|
|
3889
3903
|
return (0, import_client18.createORPCClient)(link);
|
|
@@ -3896,7 +3910,8 @@ function createGeneratorVersionsClient(options) {
|
|
|
3896
3910
|
const link = new import_fetch13.OpenAPILink(generatorVersionsContract, {
|
|
3897
3911
|
url: `${options.baseUrl}/generators/versions`,
|
|
3898
3912
|
headers: () => ({
|
|
3899
|
-
Authorization: `Bearer ${options.token}
|
|
3913
|
+
Authorization: `Bearer ${options.token}`,
|
|
3914
|
+
...options.headers
|
|
3900
3915
|
})
|
|
3901
3916
|
});
|
|
3902
3917
|
return (0, import_client19.createORPCClient)(link);
|
|
@@ -4038,7 +4053,8 @@ function createGitClient(options) {
|
|
|
4038
4053
|
const link = new import_fetch14.OpenAPILink(gitContract, {
|
|
4039
4054
|
url: `${options.baseUrl}/generators/github`,
|
|
4040
4055
|
headers: () => ({
|
|
4041
|
-
Authorization: `Bearer ${options.token}
|
|
4056
|
+
Authorization: `Bearer ${options.token}`,
|
|
4057
|
+
...options.headers
|
|
4042
4058
|
})
|
|
4043
4059
|
});
|
|
4044
4060
|
return (0, import_client20.createORPCClient)(link);
|
|
@@ -4137,7 +4153,8 @@ function createPdfExportClient(options) {
|
|
|
4137
4153
|
const link = new import_fetch15.OpenAPILink(pdfExportContract, {
|
|
4138
4154
|
url: `${options.baseUrl}/pdf-export`,
|
|
4139
4155
|
headers: () => ({
|
|
4140
|
-
Authorization: `Bearer ${options.token}
|
|
4156
|
+
Authorization: `Bearer ${options.token}`,
|
|
4157
|
+
...options.headers
|
|
4141
4158
|
})
|
|
4142
4159
|
});
|
|
4143
4160
|
return (0, import_client21.createORPCClient)(link);
|
|
@@ -4180,7 +4197,8 @@ function createSdksClient(options) {
|
|
|
4180
4197
|
const link = new import_fetch16.OpenAPILink(sdksContract, {
|
|
4181
4198
|
url: `${options.baseUrl}/sdks`,
|
|
4182
4199
|
headers: () => ({
|
|
4183
|
-
Authorization: `Bearer ${options.token}
|
|
4200
|
+
Authorization: `Bearer ${options.token}`,
|
|
4201
|
+
...options.headers
|
|
4184
4202
|
})
|
|
4185
4203
|
});
|
|
4186
4204
|
return (0, import_client22.createORPCClient)(link);
|
|
@@ -4297,7 +4315,8 @@ function createSnippetsFactoryClient(options) {
|
|
|
4297
4315
|
const link = new import_fetch17.OpenAPILink(snippetsFactoryContract, {
|
|
4298
4316
|
url: `${options.baseUrl}/snippets`,
|
|
4299
4317
|
headers: () => ({
|
|
4300
|
-
Authorization: `Bearer ${options.token}
|
|
4318
|
+
Authorization: `Bearer ${options.token}`,
|
|
4319
|
+
...options.headers
|
|
4301
4320
|
})
|
|
4302
4321
|
});
|
|
4303
4322
|
return (0, import_client23.createORPCClient)(link);
|
|
@@ -4306,7 +4325,8 @@ function createSnippetsClient(options) {
|
|
|
4306
4325
|
const link = new import_fetch17.OpenAPILink(snippetsContract, {
|
|
4307
4326
|
url: `${options.baseUrl}/snippets`,
|
|
4308
4327
|
headers: () => ({
|
|
4309
|
-
Authorization: `Bearer ${options.token}
|
|
4328
|
+
Authorization: `Bearer ${options.token}`,
|
|
4329
|
+
...options.headers
|
|
4310
4330
|
})
|
|
4311
4331
|
});
|
|
4312
4332
|
return (0, import_client23.createORPCClient)(link);
|
|
@@ -4367,7 +4387,8 @@ function createTemplatesClient(options) {
|
|
|
4367
4387
|
const link = new import_fetch18.OpenAPILink(templatesContract, {
|
|
4368
4388
|
url: `${options.baseUrl}/snippet-template`,
|
|
4369
4389
|
headers: () => ({
|
|
4370
|
-
Authorization: `Bearer ${options.token}
|
|
4390
|
+
Authorization: `Bearer ${options.token}`,
|
|
4391
|
+
...options.headers
|
|
4371
4392
|
})
|
|
4372
4393
|
});
|
|
4373
4394
|
return (0, import_client24.createORPCClient)(link);
|
|
@@ -4402,7 +4423,8 @@ function createTokensClient(options) {
|
|
|
4402
4423
|
const link = new import_fetch19.OpenAPILink(tokensContract, {
|
|
4403
4424
|
url: `${options.baseUrl}/tokens`,
|
|
4404
4425
|
headers: () => ({
|
|
4405
|
-
Authorization: `Bearer ${options.token}
|
|
4426
|
+
Authorization: `Bearer ${options.token}`,
|
|
4427
|
+
...options.headers
|
|
4406
4428
|
})
|
|
4407
4429
|
});
|
|
4408
4430
|
return (0, import_client25.createORPCClient)(link);
|