@fern-api/fdr-sdk 1.2.121-ae61767225 → 1.2.122-10cd6e7ad7

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.
Files changed (47) hide show
  1. package/dist/js/api-definition/index.js +5 -0
  2. package/dist/js/api-definition/index.js.map +1 -1
  3. package/dist/js/api-definition/index.mjs +5 -0
  4. package/dist/js/api-definition/index.mjs.map +1 -1
  5. package/dist/js/client/FdrClient.js +5 -0
  6. package/dist/js/client/FdrClient.js.map +1 -1
  7. package/dist/js/client/FdrClient.mjs +5 -0
  8. package/dist/js/client/FdrClient.mjs.map +1 -1
  9. package/dist/js/client/types.js +5 -0
  10. package/dist/js/client/types.js.map +1 -1
  11. package/dist/js/client/types.mjs +5 -0
  12. package/dist/js/client/types.mjs.map +1 -1
  13. package/dist/js/converters/index.js +5 -0
  14. package/dist/js/converters/index.js.map +1 -1
  15. package/dist/js/converters/index.mjs +5 -0
  16. package/dist/js/converters/index.mjs.map +1 -1
  17. package/dist/js/index.js +5 -0
  18. package/dist/js/index.js.map +1 -1
  19. package/dist/js/index.mjs +5 -0
  20. package/dist/js/index.mjs.map +1 -1
  21. package/dist/js/navigation/index.js +5 -0
  22. package/dist/js/navigation/index.js.map +1 -1
  23. package/dist/js/navigation/index.mjs +5 -0
  24. package/dist/js/navigation/index.mjs.map +1 -1
  25. package/dist/js/navigation/ledger-root-builder.js +5 -0
  26. package/dist/js/navigation/ledger-root-builder.js.map +1 -1
  27. package/dist/js/navigation/ledger-root-builder.mjs +5 -0
  28. package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
  29. package/dist/js/orpc-client.js +5 -0
  30. package/dist/js/orpc-client.js.map +1 -1
  31. package/dist/js/orpc-client.mjs +5 -0
  32. package/dist/js/orpc-client.mjs.map +1 -1
  33. package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts +8 -0
  34. package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts.map +1 -1
  35. package/dist/types/navigation/utils/toApis.d.ts +4 -0
  36. package/dist/types/navigation/utils/toApis.d.ts.map +1 -1
  37. package/dist/types/orpc-client/api/contract-db.d.ts +72 -0
  38. package/dist/types/orpc-client/api/contract-db.d.ts.map +1 -1
  39. package/dist/types/orpc-client/api/contract-latest.d.ts +64 -0
  40. package/dist/types/orpc-client/api/contract-latest.d.ts.map +1 -1
  41. package/dist/types/orpc-client/api/contract-read.d.ts +48 -0
  42. package/dist/types/orpc-client/api/contract-read.d.ts.map +1 -1
  43. package/dist/types/orpc-client/api/contract-register.d.ts +48 -0
  44. package/dist/types/orpc-client/api/contract-register.d.ts.map +1 -1
  45. package/dist/types/orpc-client/api/shared.d.ts +36 -0
  46. package/dist/types/orpc-client/api/shared.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -85331,18 +85331,22 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85331
85331
  }>>>;
85332
85332
  auth: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85333
85333
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85334
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85334
85335
  tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85335
85336
  type: z.ZodLiteral<"bearerAuth">;
85336
85337
  }, "strip", z.ZodTypeAny, {
85337
85338
  type: "bearerAuth";
85338
85339
  description?: string | null | undefined;
85340
+ playgroundDescription?: string | null | undefined;
85339
85341
  tokenName?: string | null | undefined;
85340
85342
  }, {
85341
85343
  type: "bearerAuth";
85342
85344
  description?: string | null | undefined;
85345
+ playgroundDescription?: string | null | undefined;
85343
85346
  tokenName?: string | null | undefined;
85344
85347
  }>, z.ZodObject<{
85345
85348
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85349
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85346
85350
  usernameName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85347
85351
  passwordName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85348
85352
  passwordAlwaysEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -85350,17 +85354,20 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85350
85354
  }, "strip", z.ZodTypeAny, {
85351
85355
  type: "basicAuth";
85352
85356
  description?: string | null | undefined;
85357
+ playgroundDescription?: string | null | undefined;
85353
85358
  usernameName?: string | null | undefined;
85354
85359
  passwordName?: string | null | undefined;
85355
85360
  passwordAlwaysEmpty?: boolean | null | undefined;
85356
85361
  }, {
85357
85362
  type: "basicAuth";
85358
85363
  description?: string | null | undefined;
85364
+ playgroundDescription?: string | null | undefined;
85359
85365
  usernameName?: string | null | undefined;
85360
85366
  passwordName?: string | null | undefined;
85361
85367
  passwordAlwaysEmpty?: boolean | null | undefined;
85362
85368
  }>, z.ZodObject<{
85363
85369
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85370
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85364
85371
  nameOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85365
85372
  headerWireValue: z.ZodString;
85366
85373
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -85369,12 +85376,14 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85369
85376
  type: "header";
85370
85377
  headerWireValue: string;
85371
85378
  description?: string | null | undefined;
85379
+ playgroundDescription?: string | null | undefined;
85372
85380
  nameOverride?: string | null | undefined;
85373
85381
  prefix?: string | null | undefined;
85374
85382
  }, {
85375
85383
  type: "header";
85376
85384
  headerWireValue: string;
85377
85385
  description?: string | null | undefined;
85386
+ playgroundDescription?: string | null | undefined;
85378
85387
  nameOverride?: string | null | undefined;
85379
85388
  prefix?: string | null | undefined;
85380
85389
  }>, z.ZodObject<{
@@ -85383,6 +85392,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85383
85392
  type: z.ZodLiteral<"clientCredentials">;
85384
85393
  value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85385
85394
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85395
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85386
85396
  endpointId: z.ZodString;
85387
85397
  accessTokenLocator: z.ZodString;
85388
85398
  headerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -85393,6 +85403,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85393
85403
  endpointId: string;
85394
85404
  accessTokenLocator: string;
85395
85405
  description?: string | null | undefined;
85406
+ playgroundDescription?: string | null | undefined;
85396
85407
  headerName?: string | null | undefined;
85397
85408
  tokenPrefix?: string | null | undefined;
85398
85409
  }, {
@@ -85400,6 +85411,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85400
85411
  endpointId: string;
85401
85412
  accessTokenLocator: string;
85402
85413
  description?: string | null | undefined;
85414
+ playgroundDescription?: string | null | undefined;
85403
85415
  headerName?: string | null | undefined;
85404
85416
  tokenPrefix?: string | null | undefined;
85405
85417
  }>]>;
@@ -85409,6 +85421,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85409
85421
  endpointId: string;
85410
85422
  accessTokenLocator: string;
85411
85423
  description?: string | null | undefined;
85424
+ playgroundDescription?: string | null | undefined;
85412
85425
  headerName?: string | null | undefined;
85413
85426
  tokenPrefix?: string | null | undefined;
85414
85427
  };
@@ -85419,6 +85432,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85419
85432
  endpointId: string;
85420
85433
  accessTokenLocator: string;
85421
85434
  description?: string | null | undefined;
85435
+ playgroundDescription?: string | null | undefined;
85422
85436
  headerName?: string | null | undefined;
85423
85437
  tokenPrefix?: string | null | undefined;
85424
85438
  };
@@ -85431,6 +85445,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85431
85445
  endpointId: string;
85432
85446
  accessTokenLocator: string;
85433
85447
  description?: string | null | undefined;
85448
+ playgroundDescription?: string | null | undefined;
85434
85449
  headerName?: string | null | undefined;
85435
85450
  tokenPrefix?: string | null | undefined;
85436
85451
  };
@@ -85444,6 +85459,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85444
85459
  endpointId: string;
85445
85460
  accessTokenLocator: string;
85446
85461
  description?: string | null | undefined;
85462
+ playgroundDescription?: string | null | undefined;
85447
85463
  headerName?: string | null | undefined;
85448
85464
  tokenPrefix?: string | null | undefined;
85449
85465
  };
@@ -85453,18 +85469,22 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85453
85469
  }>]>>>;
85454
85470
  authSchemes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85455
85471
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85472
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85456
85473
  tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85457
85474
  type: z.ZodLiteral<"bearerAuth">;
85458
85475
  }, "strip", z.ZodTypeAny, {
85459
85476
  type: "bearerAuth";
85460
85477
  description?: string | null | undefined;
85478
+ playgroundDescription?: string | null | undefined;
85461
85479
  tokenName?: string | null | undefined;
85462
85480
  }, {
85463
85481
  type: "bearerAuth";
85464
85482
  description?: string | null | undefined;
85483
+ playgroundDescription?: string | null | undefined;
85465
85484
  tokenName?: string | null | undefined;
85466
85485
  }>, z.ZodObject<{
85467
85486
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85487
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85468
85488
  usernameName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85469
85489
  passwordName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85470
85490
  passwordAlwaysEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -85472,17 +85492,20 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85472
85492
  }, "strip", z.ZodTypeAny, {
85473
85493
  type: "basicAuth";
85474
85494
  description?: string | null | undefined;
85495
+ playgroundDescription?: string | null | undefined;
85475
85496
  usernameName?: string | null | undefined;
85476
85497
  passwordName?: string | null | undefined;
85477
85498
  passwordAlwaysEmpty?: boolean | null | undefined;
85478
85499
  }, {
85479
85500
  type: "basicAuth";
85480
85501
  description?: string | null | undefined;
85502
+ playgroundDescription?: string | null | undefined;
85481
85503
  usernameName?: string | null | undefined;
85482
85504
  passwordName?: string | null | undefined;
85483
85505
  passwordAlwaysEmpty?: boolean | null | undefined;
85484
85506
  }>, z.ZodObject<{
85485
85507
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85508
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85486
85509
  nameOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85487
85510
  headerWireValue: z.ZodString;
85488
85511
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -85491,12 +85514,14 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85491
85514
  type: "header";
85492
85515
  headerWireValue: string;
85493
85516
  description?: string | null | undefined;
85517
+ playgroundDescription?: string | null | undefined;
85494
85518
  nameOverride?: string | null | undefined;
85495
85519
  prefix?: string | null | undefined;
85496
85520
  }, {
85497
85521
  type: "header";
85498
85522
  headerWireValue: string;
85499
85523
  description?: string | null | undefined;
85524
+ playgroundDescription?: string | null | undefined;
85500
85525
  nameOverride?: string | null | undefined;
85501
85526
  prefix?: string | null | undefined;
85502
85527
  }>, z.ZodObject<{
@@ -85505,6 +85530,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85505
85530
  type: z.ZodLiteral<"clientCredentials">;
85506
85531
  value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85507
85532
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85533
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85508
85534
  endpointId: z.ZodString;
85509
85535
  accessTokenLocator: z.ZodString;
85510
85536
  headerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -85515,6 +85541,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85515
85541
  endpointId: string;
85516
85542
  accessTokenLocator: string;
85517
85543
  description?: string | null | undefined;
85544
+ playgroundDescription?: string | null | undefined;
85518
85545
  headerName?: string | null | undefined;
85519
85546
  tokenPrefix?: string | null | undefined;
85520
85547
  }, {
@@ -85522,6 +85549,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85522
85549
  endpointId: string;
85523
85550
  accessTokenLocator: string;
85524
85551
  description?: string | null | undefined;
85552
+ playgroundDescription?: string | null | undefined;
85525
85553
  headerName?: string | null | undefined;
85526
85554
  tokenPrefix?: string | null | undefined;
85527
85555
  }>]>;
@@ -85531,6 +85559,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85531
85559
  endpointId: string;
85532
85560
  accessTokenLocator: string;
85533
85561
  description?: string | null | undefined;
85562
+ playgroundDescription?: string | null | undefined;
85534
85563
  headerName?: string | null | undefined;
85535
85564
  tokenPrefix?: string | null | undefined;
85536
85565
  };
@@ -85541,6 +85570,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85541
85570
  endpointId: string;
85542
85571
  accessTokenLocator: string;
85543
85572
  description?: string | null | undefined;
85573
+ playgroundDescription?: string | null | undefined;
85544
85574
  headerName?: string | null | undefined;
85545
85575
  tokenPrefix?: string | null | undefined;
85546
85576
  };
@@ -85553,6 +85583,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85553
85583
  endpointId: string;
85554
85584
  accessTokenLocator: string;
85555
85585
  description?: string | null | undefined;
85586
+ playgroundDescription?: string | null | undefined;
85556
85587
  headerName?: string | null | undefined;
85557
85588
  tokenPrefix?: string | null | undefined;
85558
85589
  };
@@ -85566,6 +85597,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
85566
85597
  endpointId: string;
85567
85598
  accessTokenLocator: string;
85568
85599
  description?: string | null | undefined;
85600
+ playgroundDescription?: string | null | undefined;
85569
85601
  headerName?: string | null | undefined;
85570
85602
  tokenPrefix?: string | null | undefined;
85571
85603
  };
@@ -88080,10 +88112,12 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88080
88112
  auth?: {
88081
88113
  type: "bearerAuth";
88082
88114
  description?: string | null | undefined;
88115
+ playgroundDescription?: string | null | undefined;
88083
88116
  tokenName?: string | null | undefined;
88084
88117
  } | {
88085
88118
  type: "basicAuth";
88086
88119
  description?: string | null | undefined;
88120
+ playgroundDescription?: string | null | undefined;
88087
88121
  usernameName?: string | null | undefined;
88088
88122
  passwordName?: string | null | undefined;
88089
88123
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -88091,6 +88125,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88091
88125
  type: "header";
88092
88126
  headerWireValue: string;
88093
88127
  description?: string | null | undefined;
88128
+ playgroundDescription?: string | null | undefined;
88094
88129
  nameOverride?: string | null | undefined;
88095
88130
  prefix?: string | null | undefined;
88096
88131
  } | {
@@ -88100,6 +88135,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88100
88135
  endpointId: string;
88101
88136
  accessTokenLocator: string;
88102
88137
  description?: string | null | undefined;
88138
+ playgroundDescription?: string | null | undefined;
88103
88139
  headerName?: string | null | undefined;
88104
88140
  tokenPrefix?: string | null | undefined;
88105
88141
  };
@@ -88112,10 +88148,12 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88112
88148
  authSchemes?: Record<string, {
88113
88149
  type: "bearerAuth";
88114
88150
  description?: string | null | undefined;
88151
+ playgroundDescription?: string | null | undefined;
88115
88152
  tokenName?: string | null | undefined;
88116
88153
  } | {
88117
88154
  type: "basicAuth";
88118
88155
  description?: string | null | undefined;
88156
+ playgroundDescription?: string | null | undefined;
88119
88157
  usernameName?: string | null | undefined;
88120
88158
  passwordName?: string | null | undefined;
88121
88159
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -88123,6 +88161,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88123
88161
  type: "header";
88124
88162
  headerWireValue: string;
88125
88163
  description?: string | null | undefined;
88164
+ playgroundDescription?: string | null | undefined;
88126
88165
  nameOverride?: string | null | undefined;
88127
88166
  prefix?: string | null | undefined;
88128
88167
  } | {
@@ -88132,6 +88171,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
88132
88171
  endpointId: string;
88133
88172
  accessTokenLocator: string;
88134
88173
  description?: string | null | undefined;
88174
+ playgroundDescription?: string | null | undefined;
88135
88175
  headerName?: string | null | undefined;
88136
88176
  tokenPrefix?: string | null | undefined;
88137
88177
  };
@@ -90667,10 +90707,12 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90667
90707
  auth?: {
90668
90708
  type: "bearerAuth";
90669
90709
  description?: string | null | undefined;
90710
+ playgroundDescription?: string | null | undefined;
90670
90711
  tokenName?: string | null | undefined;
90671
90712
  } | {
90672
90713
  type: "basicAuth";
90673
90714
  description?: string | null | undefined;
90715
+ playgroundDescription?: string | null | undefined;
90674
90716
  usernameName?: string | null | undefined;
90675
90717
  passwordName?: string | null | undefined;
90676
90718
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -90678,6 +90720,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90678
90720
  type: "header";
90679
90721
  headerWireValue: string;
90680
90722
  description?: string | null | undefined;
90723
+ playgroundDescription?: string | null | undefined;
90681
90724
  nameOverride?: string | null | undefined;
90682
90725
  prefix?: string | null | undefined;
90683
90726
  } | {
@@ -90687,6 +90730,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90687
90730
  endpointId: string;
90688
90731
  accessTokenLocator: string;
90689
90732
  description?: string | null | undefined;
90733
+ playgroundDescription?: string | null | undefined;
90690
90734
  headerName?: string | null | undefined;
90691
90735
  tokenPrefix?: string | null | undefined;
90692
90736
  };
@@ -90699,10 +90743,12 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90699
90743
  authSchemes?: Record<string, {
90700
90744
  type: "bearerAuth";
90701
90745
  description?: string | null | undefined;
90746
+ playgroundDescription?: string | null | undefined;
90702
90747
  tokenName?: string | null | undefined;
90703
90748
  } | {
90704
90749
  type: "basicAuth";
90705
90750
  description?: string | null | undefined;
90751
+ playgroundDescription?: string | null | undefined;
90706
90752
  usernameName?: string | null | undefined;
90707
90753
  passwordName?: string | null | undefined;
90708
90754
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -90710,6 +90756,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90710
90756
  type: "header";
90711
90757
  headerWireValue: string;
90712
90758
  description?: string | null | undefined;
90759
+ playgroundDescription?: string | null | undefined;
90713
90760
  nameOverride?: string | null | undefined;
90714
90761
  prefix?: string | null | undefined;
90715
90762
  } | {
@@ -90719,6 +90766,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90719
90766
  endpointId: string;
90720
90767
  accessTokenLocator: string;
90721
90768
  description?: string | null | undefined;
90769
+ playgroundDescription?: string | null | undefined;
90722
90770
  headerName?: string | null | undefined;
90723
90771
  tokenPrefix?: string | null | undefined;
90724
90772
  };