@fern-api/fdr-sdk 1.2.92-bd650af30b → 1.2.93-80ac90df5f

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 (57) hide show
  1. package/dist/js/api-definition/index.js +6 -3
  2. package/dist/js/api-definition/index.js.map +1 -1
  3. package/dist/js/api-definition/index.mjs +6 -3
  4. package/dist/js/api-definition/index.mjs.map +1 -1
  5. package/dist/js/client/FdrClient.js +156 -9
  6. package/dist/js/client/FdrClient.js.map +1 -1
  7. package/dist/js/client/FdrClient.mjs +156 -9
  8. package/dist/js/client/FdrClient.mjs.map +1 -1
  9. package/dist/js/client/types.js +6 -3
  10. package/dist/js/client/types.js.map +1 -1
  11. package/dist/js/client/types.mjs +6 -3
  12. package/dist/js/client/types.mjs.map +1 -1
  13. package/dist/js/converters/index.js +10 -5
  14. package/dist/js/converters/index.js.map +1 -1
  15. package/dist/js/converters/index.mjs +10 -5
  16. package/dist/js/converters/index.mjs.map +1 -1
  17. package/dist/js/index.js +160 -11
  18. package/dist/js/index.js.map +1 -1
  19. package/dist/js/index.mjs +160 -11
  20. package/dist/js/index.mjs.map +1 -1
  21. package/dist/js/navigation/index.js +8 -4
  22. package/dist/js/navigation/index.js.map +1 -1
  23. package/dist/js/navigation/index.mjs +8 -4
  24. package/dist/js/navigation/index.mjs.map +1 -1
  25. package/dist/js/orpc-client.js +166 -11
  26. package/dist/js/orpc-client.js.map +1 -1
  27. package/dist/js/orpc-client.mjs +161 -10
  28. package/dist/js/orpc-client.mjs.map +1 -1
  29. package/dist/types/api-definition/migrators/v1ToV2.d.ts.map +1 -1
  30. package/dist/types/converters/__test__/websocket-explorer-round-trip.test.d.ts +2 -0
  31. package/dist/types/converters/__test__/websocket-explorer-round-trip.test.d.ts.map +1 -0
  32. package/dist/types/converters/db/convertAPIDefinitionToDb.d.ts.map +1 -1
  33. package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts +2 -0
  34. package/dist/types/converters/read/convertDbAPIDefinitionToRead.d.ts.map +1 -1
  35. package/dist/types/navigation/utils/toApis.d.ts +1 -0
  36. package/dist/types/navigation/utils/toApis.d.ts.map +1 -1
  37. package/dist/types/orpc-client/api/contract-db.d.ts +24 -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 +13 -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 +27 -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 +27 -0
  44. package/dist/types/orpc-client/api/contract-register.d.ts.map +1 -1
  45. package/dist/types/orpc-client/dashboard-agent/contract.d.ts +94 -0
  46. package/dist/types/orpc-client/dashboard-agent/contract.d.ts.map +1 -1
  47. package/dist/types/orpc-client/docs/v2/library-docs/__test__/doxyfile.test.d.ts +2 -0
  48. package/dist/types/orpc-client/docs/v2/library-docs/__test__/doxyfile.test.d.ts.map +1 -0
  49. package/dist/types/orpc-client/docs/v2/library-docs/contract.d.ts +9 -3
  50. package/dist/types/orpc-client/docs/v2/library-docs/contract.d.ts.map +1 -1
  51. package/dist/types/orpc-client/docs/v2/library-docs/doxyfile.d.ts +32 -0
  52. package/dist/types/orpc-client/docs/v2/library-docs/doxyfile.d.ts.map +1 -0
  53. package/dist/types/orpc-client/docs/v2/library-docs/index.d.ts +1 -0
  54. package/dist/types/orpc-client/docs/v2/library-docs/index.d.ts.map +1 -1
  55. package/dist/types/orpc-client/docs-deployment/contract.d.ts +8 -0
  56. package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
  57. package/package.json +1 -1
@@ -24723,6 +24723,7 @@ export declare const ReadWebSocketChannelSchema: z.ZodObject<{
24723
24723
  description?: string | null | undefined;
24724
24724
  name?: string | null | undefined;
24725
24725
  }>, "many">;
24726
+ includeInApiExplorer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24726
24727
  }, "strip", z.ZodTypeAny, {
24727
24728
  path: {
24728
24729
  parts: ({
@@ -24800,6 +24801,7 @@ export declare const ReadWebSocketChannelSchema: z.ZodObject<{
24800
24801
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
24801
24802
  name?: string | null | undefined;
24802
24803
  defaultEnvironment?: string | null | undefined;
24804
+ includeInApiExplorer?: boolean | null | undefined;
24803
24805
  }, {
24804
24806
  path: {
24805
24807
  parts: ({
@@ -24877,6 +24879,7 @@ export declare const ReadWebSocketChannelSchema: z.ZodObject<{
24877
24879
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
24878
24880
  name?: string | null | undefined;
24879
24881
  defaultEnvironment?: string | null | undefined;
24882
+ includeInApiExplorer?: boolean | null | undefined;
24880
24883
  }>;
24881
24884
  export type ReadWebSocketChannel = z.infer<typeof ReadWebSocketChannelSchema>;
24882
24885
  export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
@@ -33979,6 +33982,7 @@ export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
33979
33982
  description?: string | null | undefined;
33980
33983
  name?: string | null | undefined;
33981
33984
  }>, "many">;
33985
+ includeInApiExplorer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33982
33986
  }, "strip", z.ZodTypeAny, {
33983
33987
  path: {
33984
33988
  parts: ({
@@ -34056,6 +34060,7 @@ export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
34056
34060
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
34057
34061
  name?: string | null | undefined;
34058
34062
  defaultEnvironment?: string | null | undefined;
34063
+ includeInApiExplorer?: boolean | null | undefined;
34059
34064
  }, {
34060
34065
  path: {
34061
34066
  parts: ({
@@ -34133,6 +34138,7 @@ export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
34133
34138
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
34134
34139
  name?: string | null | undefined;
34135
34140
  defaultEnvironment?: string | null | undefined;
34141
+ includeInApiExplorer?: boolean | null | undefined;
34136
34142
  }>, "many">;
34137
34143
  webhooks: z.ZodArray<z.ZodObject<{
34138
34144
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38366,6 +38372,7 @@ export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
38366
38372
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
38367
38373
  name?: string | null | undefined;
38368
38374
  defaultEnvironment?: string | null | undefined;
38375
+ includeInApiExplorer?: boolean | null | undefined;
38369
38376
  }[];
38370
38377
  webhooks: {
38371
38378
  path: string[];
@@ -39595,6 +39602,7 @@ export declare const ReadApiDefinitionPackageSchema: z.ZodObject<{
39595
39602
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
39596
39603
  name?: string | null | undefined;
39597
39604
  defaultEnvironment?: string | null | undefined;
39605
+ includeInApiExplorer?: boolean | null | undefined;
39598
39606
  }[];
39599
39607
  webhooks: {
39600
39608
  path: string[];
@@ -49035,6 +49043,7 @@ export declare const ReadApiDefinitionSubpackageSchema: z.ZodObject<{
49035
49043
  description?: string | null | undefined;
49036
49044
  name?: string | null | undefined;
49037
49045
  }>, "many">;
49046
+ includeInApiExplorer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49038
49047
  }, "strip", z.ZodTypeAny, {
49039
49048
  path: {
49040
49049
  parts: ({
@@ -49112,6 +49121,7 @@ export declare const ReadApiDefinitionSubpackageSchema: z.ZodObject<{
49112
49121
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
49113
49122
  name?: string | null | undefined;
49114
49123
  defaultEnvironment?: string | null | undefined;
49124
+ includeInApiExplorer?: boolean | null | undefined;
49115
49125
  }, {
49116
49126
  path: {
49117
49127
  parts: ({
@@ -49189,6 +49199,7 @@ export declare const ReadApiDefinitionSubpackageSchema: z.ZodObject<{
49189
49199
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
49190
49200
  name?: string | null | undefined;
49191
49201
  defaultEnvironment?: string | null | undefined;
49202
+ includeInApiExplorer?: boolean | null | undefined;
49192
49203
  }>, "many">;
49193
49204
  webhooks: z.ZodArray<z.ZodObject<{
49194
49205
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -53426,6 +53437,7 @@ export declare const ReadApiDefinitionSubpackageSchema: z.ZodObject<{
53426
53437
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
53427
53438
  name?: string | null | undefined;
53428
53439
  defaultEnvironment?: string | null | undefined;
53440
+ includeInApiExplorer?: boolean | null | undefined;
53429
53441
  }[];
53430
53442
  webhooks: {
53431
53443
  path: string[];
@@ -54661,6 +54673,7 @@ export declare const ReadApiDefinitionSubpackageSchema: z.ZodObject<{
54661
54673
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
54662
54674
  name?: string | null | undefined;
54663
54675
  defaultEnvironment?: string | null | undefined;
54676
+ includeInApiExplorer?: boolean | null | undefined;
54664
54677
  }[];
54665
54678
  webhooks: {
54666
54679
  path: string[];
@@ -64103,6 +64116,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
64103
64116
  description?: string | null | undefined;
64104
64117
  name?: string | null | undefined;
64105
64118
  }>, "many">;
64119
+ includeInApiExplorer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
64106
64120
  }, "strip", z.ZodTypeAny, {
64107
64121
  path: {
64108
64122
  parts: ({
@@ -64180,6 +64194,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
64180
64194
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
64181
64195
  name?: string | null | undefined;
64182
64196
  defaultEnvironment?: string | null | undefined;
64197
+ includeInApiExplorer?: boolean | null | undefined;
64183
64198
  }, {
64184
64199
  path: {
64185
64200
  parts: ({
@@ -64257,6 +64272,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
64257
64272
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
64258
64273
  name?: string | null | undefined;
64259
64274
  defaultEnvironment?: string | null | undefined;
64275
+ includeInApiExplorer?: boolean | null | undefined;
64260
64276
  }>, "many">;
64261
64277
  webhooks: z.ZodArray<z.ZodObject<{
64262
64278
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -68490,6 +68506,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
68490
68506
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
68491
68507
  name?: string | null | undefined;
68492
68508
  defaultEnvironment?: string | null | undefined;
68509
+ includeInApiExplorer?: boolean | null | undefined;
68493
68510
  }[];
68494
68511
  webhooks: {
68495
68512
  path: string[];
@@ -69719,6 +69736,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
69719
69736
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
69720
69737
  name?: string | null | undefined;
69721
69738
  defaultEnvironment?: string | null | undefined;
69739
+ includeInApiExplorer?: boolean | null | undefined;
69722
69740
  }[];
69723
69741
  webhooks: {
69724
69742
  path: string[];
@@ -79177,6 +79195,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
79177
79195
  description?: string | null | undefined;
79178
79196
  name?: string | null | undefined;
79179
79197
  }>, "many">;
79198
+ includeInApiExplorer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
79180
79199
  }, "strip", z.ZodTypeAny, {
79181
79200
  path: {
79182
79201
  parts: ({
@@ -79254,6 +79273,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
79254
79273
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
79255
79274
  name?: string | null | undefined;
79256
79275
  defaultEnvironment?: string | null | undefined;
79276
+ includeInApiExplorer?: boolean | null | undefined;
79257
79277
  }, {
79258
79278
  path: {
79259
79279
  parts: ({
@@ -79331,6 +79351,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
79331
79351
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
79332
79352
  name?: string | null | undefined;
79333
79353
  defaultEnvironment?: string | null | undefined;
79354
+ includeInApiExplorer?: boolean | null | undefined;
79334
79355
  }>, "many">;
79335
79356
  webhooks: z.ZodArray<z.ZodObject<{
79336
79357
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -83568,6 +83589,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
83568
83589
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
83569
83590
  name?: string | null | undefined;
83570
83591
  defaultEnvironment?: string | null | undefined;
83592
+ includeInApiExplorer?: boolean | null | undefined;
83571
83593
  }[];
83572
83594
  webhooks: {
83573
83595
  path: string[];
@@ -84803,6 +84825,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
84803
84825
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
84804
84826
  name?: string | null | undefined;
84805
84827
  defaultEnvironment?: string | null | undefined;
84828
+ includeInApiExplorer?: boolean | null | undefined;
84806
84829
  }[];
84807
84830
  webhooks: {
84808
84831
  path: string[];
@@ -86482,6 +86505,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
86482
86505
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
86483
86506
  name?: string | null | undefined;
86484
86507
  defaultEnvironment?: string | null | undefined;
86508
+ includeInApiExplorer?: boolean | null | undefined;
86485
86509
  }[];
86486
86510
  webhooks: {
86487
86511
  path: string[];
@@ -87715,6 +87739,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
87715
87739
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
87716
87740
  name?: string | null | undefined;
87717
87741
  defaultEnvironment?: string | null | undefined;
87742
+ includeInApiExplorer?: boolean | null | undefined;
87718
87743
  }[];
87719
87744
  webhooks: {
87720
87745
  path: string[];
@@ -89067,6 +89092,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
89067
89092
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
89068
89093
  name?: string | null | undefined;
89069
89094
  defaultEnvironment?: string | null | undefined;
89095
+ includeInApiExplorer?: boolean | null | undefined;
89070
89096
  }[];
89071
89097
  webhooks: {
89072
89098
  path: string[];
@@ -90300,6 +90326,7 @@ export declare const ReadApiDefinitionSchema: z.ZodObject<{
90300
90326
  availability?: "Alpha" | "Stable" | "GenerallyAvailable" | "InDevelopment" | "PreRelease" | "Deprecated" | "Beta" | "Preview" | "Legacy" | null | undefined;
90301
90327
  name?: string | null | undefined;
90302
90328
  defaultEnvironment?: string | null | undefined;
90329
+ includeInApiExplorer?: boolean | null | undefined;
90303
90330
  }[];
90304
90331
  webhooks: {
90305
90332
  path: string[];