@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
@@ -72272,18 +72272,22 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72272
72272
  }>>;
72273
72273
  auth: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
72274
72274
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72275
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72275
72276
  tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72276
72277
  type: z.ZodLiteral<"bearerAuth">;
72277
72278
  }, "strip", z.ZodTypeAny, {
72278
72279
  type: "bearerAuth";
72279
72280
  description?: string | null | undefined;
72281
+ playgroundDescription?: string | null | undefined;
72280
72282
  tokenName?: string | null | undefined;
72281
72283
  }, {
72282
72284
  type: "bearerAuth";
72283
72285
  description?: string | null | undefined;
72286
+ playgroundDescription?: string | null | undefined;
72284
72287
  tokenName?: string | null | undefined;
72285
72288
  }>, z.ZodObject<{
72286
72289
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72290
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72287
72291
  usernameName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72288
72292
  passwordName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72289
72293
  passwordAlwaysEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -72291,17 +72295,20 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72291
72295
  }, "strip", z.ZodTypeAny, {
72292
72296
  type: "basicAuth";
72293
72297
  description?: string | null | undefined;
72298
+ playgroundDescription?: string | null | undefined;
72294
72299
  usernameName?: string | null | undefined;
72295
72300
  passwordName?: string | null | undefined;
72296
72301
  passwordAlwaysEmpty?: boolean | null | undefined;
72297
72302
  }, {
72298
72303
  type: "basicAuth";
72299
72304
  description?: string | null | undefined;
72305
+ playgroundDescription?: string | null | undefined;
72300
72306
  usernameName?: string | null | undefined;
72301
72307
  passwordName?: string | null | undefined;
72302
72308
  passwordAlwaysEmpty?: boolean | null | undefined;
72303
72309
  }>, z.ZodObject<{
72304
72310
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72311
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72305
72312
  nameOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72306
72313
  headerWireValue: z.ZodString;
72307
72314
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -72310,12 +72317,14 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72310
72317
  type: "header";
72311
72318
  headerWireValue: string;
72312
72319
  description?: string | null | undefined;
72320
+ playgroundDescription?: string | null | undefined;
72313
72321
  nameOverride?: string | null | undefined;
72314
72322
  prefix?: string | null | undefined;
72315
72323
  }, {
72316
72324
  type: "header";
72317
72325
  headerWireValue: string;
72318
72326
  description?: string | null | undefined;
72327
+ playgroundDescription?: string | null | undefined;
72319
72328
  nameOverride?: string | null | undefined;
72320
72329
  prefix?: string | null | undefined;
72321
72330
  }>, z.ZodObject<{
@@ -72324,6 +72333,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72324
72333
  type: z.ZodLiteral<"clientCredentials">;
72325
72334
  value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
72326
72335
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72336
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72327
72337
  endpointId: z.ZodString;
72328
72338
  accessTokenLocator: z.ZodString;
72329
72339
  headerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -72334,6 +72344,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72334
72344
  endpointId: string;
72335
72345
  accessTokenLocator: string;
72336
72346
  description?: string | null | undefined;
72347
+ playgroundDescription?: string | null | undefined;
72337
72348
  headerName?: string | null | undefined;
72338
72349
  tokenPrefix?: string | null | undefined;
72339
72350
  }, {
@@ -72341,6 +72352,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72341
72352
  endpointId: string;
72342
72353
  accessTokenLocator: string;
72343
72354
  description?: string | null | undefined;
72355
+ playgroundDescription?: string | null | undefined;
72344
72356
  headerName?: string | null | undefined;
72345
72357
  tokenPrefix?: string | null | undefined;
72346
72358
  }>]>;
@@ -72350,6 +72362,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72350
72362
  endpointId: string;
72351
72363
  accessTokenLocator: string;
72352
72364
  description?: string | null | undefined;
72365
+ playgroundDescription?: string | null | undefined;
72353
72366
  headerName?: string | null | undefined;
72354
72367
  tokenPrefix?: string | null | undefined;
72355
72368
  };
@@ -72360,6 +72373,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72360
72373
  endpointId: string;
72361
72374
  accessTokenLocator: string;
72362
72375
  description?: string | null | undefined;
72376
+ playgroundDescription?: string | null | undefined;
72363
72377
  headerName?: string | null | undefined;
72364
72378
  tokenPrefix?: string | null | undefined;
72365
72379
  };
@@ -72372,6 +72386,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72372
72386
  endpointId: string;
72373
72387
  accessTokenLocator: string;
72374
72388
  description?: string | null | undefined;
72389
+ playgroundDescription?: string | null | undefined;
72375
72390
  headerName?: string | null | undefined;
72376
72391
  tokenPrefix?: string | null | undefined;
72377
72392
  };
@@ -72385,6 +72400,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72385
72400
  endpointId: string;
72386
72401
  accessTokenLocator: string;
72387
72402
  description?: string | null | undefined;
72403
+ playgroundDescription?: string | null | undefined;
72388
72404
  headerName?: string | null | undefined;
72389
72405
  tokenPrefix?: string | null | undefined;
72390
72406
  };
@@ -72394,18 +72410,22 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72394
72410
  }>]>>>;
72395
72411
  authSchemes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
72396
72412
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72413
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72397
72414
  tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72398
72415
  type: z.ZodLiteral<"bearerAuth">;
72399
72416
  }, "strip", z.ZodTypeAny, {
72400
72417
  type: "bearerAuth";
72401
72418
  description?: string | null | undefined;
72419
+ playgroundDescription?: string | null | undefined;
72402
72420
  tokenName?: string | null | undefined;
72403
72421
  }, {
72404
72422
  type: "bearerAuth";
72405
72423
  description?: string | null | undefined;
72424
+ playgroundDescription?: string | null | undefined;
72406
72425
  tokenName?: string | null | undefined;
72407
72426
  }>, z.ZodObject<{
72408
72427
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72428
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72409
72429
  usernameName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72410
72430
  passwordName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72411
72431
  passwordAlwaysEmpty: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -72413,17 +72433,20 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72413
72433
  }, "strip", z.ZodTypeAny, {
72414
72434
  type: "basicAuth";
72415
72435
  description?: string | null | undefined;
72436
+ playgroundDescription?: string | null | undefined;
72416
72437
  usernameName?: string | null | undefined;
72417
72438
  passwordName?: string | null | undefined;
72418
72439
  passwordAlwaysEmpty?: boolean | null | undefined;
72419
72440
  }, {
72420
72441
  type: "basicAuth";
72421
72442
  description?: string | null | undefined;
72443
+ playgroundDescription?: string | null | undefined;
72422
72444
  usernameName?: string | null | undefined;
72423
72445
  passwordName?: string | null | undefined;
72424
72446
  passwordAlwaysEmpty?: boolean | null | undefined;
72425
72447
  }>, z.ZodObject<{
72426
72448
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72449
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72427
72450
  nameOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72428
72451
  headerWireValue: z.ZodString;
72429
72452
  prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -72432,12 +72455,14 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72432
72455
  type: "header";
72433
72456
  headerWireValue: string;
72434
72457
  description?: string | null | undefined;
72458
+ playgroundDescription?: string | null | undefined;
72435
72459
  nameOverride?: string | null | undefined;
72436
72460
  prefix?: string | null | undefined;
72437
72461
  }, {
72438
72462
  type: "header";
72439
72463
  headerWireValue: string;
72440
72464
  description?: string | null | undefined;
72465
+ playgroundDescription?: string | null | undefined;
72441
72466
  nameOverride?: string | null | undefined;
72442
72467
  prefix?: string | null | undefined;
72443
72468
  }>, z.ZodObject<{
@@ -72446,6 +72471,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72446
72471
  type: z.ZodLiteral<"clientCredentials">;
72447
72472
  value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
72448
72473
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72474
+ playgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72449
72475
  endpointId: z.ZodString;
72450
72476
  accessTokenLocator: z.ZodString;
72451
72477
  headerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -72456,6 +72482,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72456
72482
  endpointId: string;
72457
72483
  accessTokenLocator: string;
72458
72484
  description?: string | null | undefined;
72485
+ playgroundDescription?: string | null | undefined;
72459
72486
  headerName?: string | null | undefined;
72460
72487
  tokenPrefix?: string | null | undefined;
72461
72488
  }, {
@@ -72463,6 +72490,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72463
72490
  endpointId: string;
72464
72491
  accessTokenLocator: string;
72465
72492
  description?: string | null | undefined;
72493
+ playgroundDescription?: string | null | undefined;
72466
72494
  headerName?: string | null | undefined;
72467
72495
  tokenPrefix?: string | null | undefined;
72468
72496
  }>]>;
@@ -72472,6 +72500,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72472
72500
  endpointId: string;
72473
72501
  accessTokenLocator: string;
72474
72502
  description?: string | null | undefined;
72503
+ playgroundDescription?: string | null | undefined;
72475
72504
  headerName?: string | null | undefined;
72476
72505
  tokenPrefix?: string | null | undefined;
72477
72506
  };
@@ -72482,6 +72511,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72482
72511
  endpointId: string;
72483
72512
  accessTokenLocator: string;
72484
72513
  description?: string | null | undefined;
72514
+ playgroundDescription?: string | null | undefined;
72485
72515
  headerName?: string | null | undefined;
72486
72516
  tokenPrefix?: string | null | undefined;
72487
72517
  };
@@ -72494,6 +72524,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72494
72524
  endpointId: string;
72495
72525
  accessTokenLocator: string;
72496
72526
  description?: string | null | undefined;
72527
+ playgroundDescription?: string | null | undefined;
72497
72528
  headerName?: string | null | undefined;
72498
72529
  tokenPrefix?: string | null | undefined;
72499
72530
  };
@@ -72507,6 +72538,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
72507
72538
  endpointId: string;
72508
72539
  accessTokenLocator: string;
72509
72540
  description?: string | null | undefined;
72541
+ playgroundDescription?: string | null | undefined;
72510
72542
  headerName?: string | null | undefined;
72511
72543
  tokenPrefix?: string | null | undefined;
72512
72544
  };
@@ -74919,10 +74951,12 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74919
74951
  auth?: {
74920
74952
  type: "bearerAuth";
74921
74953
  description?: string | null | undefined;
74954
+ playgroundDescription?: string | null | undefined;
74922
74955
  tokenName?: string | null | undefined;
74923
74956
  } | {
74924
74957
  type: "basicAuth";
74925
74958
  description?: string | null | undefined;
74959
+ playgroundDescription?: string | null | undefined;
74926
74960
  usernameName?: string | null | undefined;
74927
74961
  passwordName?: string | null | undefined;
74928
74962
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -74930,6 +74964,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74930
74964
  type: "header";
74931
74965
  headerWireValue: string;
74932
74966
  description?: string | null | undefined;
74967
+ playgroundDescription?: string | null | undefined;
74933
74968
  nameOverride?: string | null | undefined;
74934
74969
  prefix?: string | null | undefined;
74935
74970
  } | {
@@ -74939,6 +74974,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74939
74974
  endpointId: string;
74940
74975
  accessTokenLocator: string;
74941
74976
  description?: string | null | undefined;
74977
+ playgroundDescription?: string | null | undefined;
74942
74978
  headerName?: string | null | undefined;
74943
74979
  tokenPrefix?: string | null | undefined;
74944
74980
  };
@@ -74951,10 +74987,12 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74951
74987
  authSchemes?: Record<string, {
74952
74988
  type: "bearerAuth";
74953
74989
  description?: string | null | undefined;
74990
+ playgroundDescription?: string | null | undefined;
74954
74991
  tokenName?: string | null | undefined;
74955
74992
  } | {
74956
74993
  type: "basicAuth";
74957
74994
  description?: string | null | undefined;
74995
+ playgroundDescription?: string | null | undefined;
74958
74996
  usernameName?: string | null | undefined;
74959
74997
  passwordName?: string | null | undefined;
74960
74998
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -74962,6 +75000,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74962
75000
  type: "header";
74963
75001
  headerWireValue: string;
74964
75002
  description?: string | null | undefined;
75003
+ playgroundDescription?: string | null | undefined;
74965
75004
  nameOverride?: string | null | undefined;
74966
75005
  prefix?: string | null | undefined;
74967
75006
  } | {
@@ -74971,6 +75010,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
74971
75010
  endpointId: string;
74972
75011
  accessTokenLocator: string;
74973
75012
  description?: string | null | undefined;
75013
+ playgroundDescription?: string | null | undefined;
74974
75014
  headerName?: string | null | undefined;
74975
75015
  tokenPrefix?: string | null | undefined;
74976
75016
  };
@@ -77238,10 +77278,12 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77238
77278
  auth?: {
77239
77279
  type: "bearerAuth";
77240
77280
  description?: string | null | undefined;
77281
+ playgroundDescription?: string | null | undefined;
77241
77282
  tokenName?: string | null | undefined;
77242
77283
  } | {
77243
77284
  type: "basicAuth";
77244
77285
  description?: string | null | undefined;
77286
+ playgroundDescription?: string | null | undefined;
77245
77287
  usernameName?: string | null | undefined;
77246
77288
  passwordName?: string | null | undefined;
77247
77289
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -77249,6 +77291,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77249
77291
  type: "header";
77250
77292
  headerWireValue: string;
77251
77293
  description?: string | null | undefined;
77294
+ playgroundDescription?: string | null | undefined;
77252
77295
  nameOverride?: string | null | undefined;
77253
77296
  prefix?: string | null | undefined;
77254
77297
  } | {
@@ -77258,6 +77301,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77258
77301
  endpointId: string;
77259
77302
  accessTokenLocator: string;
77260
77303
  description?: string | null | undefined;
77304
+ playgroundDescription?: string | null | undefined;
77261
77305
  headerName?: string | null | undefined;
77262
77306
  tokenPrefix?: string | null | undefined;
77263
77307
  };
@@ -77270,10 +77314,12 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77270
77314
  authSchemes?: Record<string, {
77271
77315
  type: "bearerAuth";
77272
77316
  description?: string | null | undefined;
77317
+ playgroundDescription?: string | null | undefined;
77273
77318
  tokenName?: string | null | undefined;
77274
77319
  } | {
77275
77320
  type: "basicAuth";
77276
77321
  description?: string | null | undefined;
77322
+ playgroundDescription?: string | null | undefined;
77277
77323
  usernameName?: string | null | undefined;
77278
77324
  passwordName?: string | null | undefined;
77279
77325
  passwordAlwaysEmpty?: boolean | null | undefined;
@@ -77281,6 +77327,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77281
77327
  type: "header";
77282
77328
  headerWireValue: string;
77283
77329
  description?: string | null | undefined;
77330
+ playgroundDescription?: string | null | undefined;
77284
77331
  nameOverride?: string | null | undefined;
77285
77332
  prefix?: string | null | undefined;
77286
77333
  } | {
@@ -77290,6 +77337,7 @@ export declare const RegisterApiDefinitionSchema: z.ZodObject<{
77290
77337
  endpointId: string;
77291
77338
  accessTokenLocator: string;
77292
77339
  description?: string | null | undefined;
77340
+ playgroundDescription?: string | null | undefined;
77293
77341
  headerName?: string | null | undefined;
77294
77342
  tokenPrefix?: string | null | undefined;
77295
77343
  };