@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-abaf2a77c8

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.
@@ -124,6 +124,47 @@ export declare const MigrateV2SiteInputSchema: z.ZodObject<{
124
124
  dryRun?: boolean | undefined;
125
125
  allowRemigration?: boolean | undefined;
126
126
  }>;
127
+ /**
128
+ * Input for `POST /static-build`: build a site's current deployment again
129
+ * without waiting for it to be republished. A Fern-operator action — the
130
+ * server restricts it to members of the `fern` org.
131
+ */
132
+ export declare const StartStaticBuildInputSchema: z.ZodObject<{
133
+ domain: z.ZodString;
134
+ /** "" for a root site, otherwise a leading-slash basepath. */
135
+ basepath: z.ZodDefault<z.ZodString>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ domain: string;
138
+ basepath: string;
139
+ }, {
140
+ domain: string;
141
+ basepath?: string | undefined;
142
+ }>;
143
+ export declare const StartStaticBuildResponseSchema: z.ZodObject<{
144
+ /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
145
+ status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
146
+ domain: z.ZodString;
147
+ basepath: z.ZodString;
148
+ /** The deployment being built, absent when the site has never published. */
149
+ deploymentId: z.ZodOptional<z.ZodString>;
150
+ jobName: z.ZodOptional<z.ZodString>;
151
+ /** The host the build is exported to and served from, which may not be `domain`. */
152
+ host: z.ZodOptional<z.ZodString>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
155
+ domain: string;
156
+ basepath: string;
157
+ deploymentId?: string | undefined;
158
+ jobName?: string | undefined;
159
+ host?: string | undefined;
160
+ }, {
161
+ status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
162
+ domain: string;
163
+ basepath: string;
164
+ deploymentId?: string | undefined;
165
+ jobName?: string | undefined;
166
+ host?: string | undefined;
167
+ }>;
127
168
  export declare const MigrateV2SiteSkipReasonSchema: z.ZodEnum<["not-registered", "preview", "already-ledger", "has-translations", "no-navigation"]>;
128
169
  export declare const MigrateV2SiteResponseSchema: z.ZodDiscriminatedUnion<"outcome", [z.ZodObject<{
129
170
  outcome: z.ZodLiteral<"skipped">;
@@ -4097,9 +4138,9 @@ export declare const LedgerConfigSchema: z.ZodObject<{
4097
4138
  host: z.ZodDefault<z.ZodString>;
4098
4139
  }, "strip", z.ZodTypeAny, {
4099
4140
  branch: string;
4141
+ host: string;
4100
4142
  owner: string;
4101
4143
  repo: string;
4102
- host: string;
4103
4144
  }, {
4104
4145
  owner: string;
4105
4146
  repo: string;
@@ -5024,9 +5065,9 @@ export declare const LedgerConfigSchema: z.ZodObject<{
5024
5065
  rootSlug?: string | undefined;
5025
5066
  editThisPageGithub?: {
5026
5067
  branch: string;
5068
+ host: string;
5027
5069
  owner: string;
5028
5070
  repo: string;
5029
- host: string;
5030
5071
  } | undefined;
5031
5072
  }, {
5032
5073
  js?: {
@@ -16017,9 +16058,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
16017
16058
  host: z.ZodDefault<z.ZodString>;
16018
16059
  }, "strip", z.ZodTypeAny, {
16019
16060
  branch: string;
16061
+ host: string;
16020
16062
  owner: string;
16021
16063
  repo: string;
16022
- host: string;
16023
16064
  }, {
16024
16065
  owner: string;
16025
16066
  repo: string;
@@ -16944,9 +16985,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
16944
16985
  rootSlug?: string | undefined;
16945
16986
  editThisPageGithub?: {
16946
16987
  branch: string;
16988
+ host: string;
16947
16989
  owner: string;
16948
16990
  repo: string;
16949
- host: string;
16950
16991
  } | undefined;
16951
16992
  }, {
16952
16993
  js?: {
@@ -18883,9 +18924,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
18883
18924
  rootSlug?: string | undefined;
18884
18925
  editThisPageGithub?: {
18885
18926
  branch: string;
18927
+ host: string;
18886
18928
  owner: string;
18887
18929
  repo: string;
18888
- host: string;
18889
18930
  } | undefined;
18890
18931
  } | undefined;
18891
18932
  redirects?: {
@@ -23728,9 +23769,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
23728
23769
  host: z.ZodDefault<z.ZodString>;
23729
23770
  }, "strip", z.ZodTypeAny, {
23730
23771
  branch: string;
23772
+ host: string;
23731
23773
  owner: string;
23732
23774
  repo: string;
23733
- host: string;
23734
23775
  }, {
23735
23776
  owner: string;
23736
23777
  repo: string;
@@ -24655,9 +24696,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
24655
24696
  rootSlug?: string | undefined;
24656
24697
  editThisPageGithub?: {
24657
24698
  branch: string;
24699
+ host: string;
24658
24700
  owner: string;
24659
24701
  repo: string;
24660
- host: string;
24661
24702
  } | undefined;
24662
24703
  }, {
24663
24704
  js?: {
@@ -26585,9 +26626,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
26585
26626
  rootSlug?: string | undefined;
26586
26627
  editThisPageGithub?: {
26587
26628
  branch: string;
26629
+ host: string;
26588
26630
  owner: string;
26589
26631
  repo: string;
26590
- host: string;
26591
26632
  } | undefined;
26592
26633
  } | undefined;
26593
26634
  redirects?: {
@@ -28543,9 +28584,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
28543
28584
  rootSlug?: string | undefined;
28544
28585
  editThisPageGithub?: {
28545
28586
  branch: string;
28587
+ host: string;
28546
28588
  owner: string;
28547
28589
  repo: string;
28548
- host: string;
28549
28590
  } | undefined;
28550
28591
  } | undefined;
28551
28592
  redirects?: {
@@ -30472,9 +30513,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
30472
30513
  rootSlug?: string | undefined;
30473
30514
  editThisPageGithub?: {
30474
30515
  branch: string;
30516
+ host: string;
30475
30517
  owner: string;
30476
30518
  repo: string;
30477
- host: string;
30478
30519
  } | undefined;
30479
30520
  } | undefined;
30480
30521
  redirects?: {
@@ -32412,9 +32453,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
32412
32453
  rootSlug?: string | undefined;
32413
32454
  editThisPageGithub?: {
32414
32455
  branch: string;
32456
+ host: string;
32415
32457
  owner: string;
32416
32458
  repo: string;
32417
- host: string;
32418
32459
  } | undefined;
32419
32460
  } | undefined;
32420
32461
  redirects?: {
@@ -37276,9 +37317,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
37276
37317
  host: z.ZodDefault<z.ZodString>;
37277
37318
  }, "strip", z.ZodTypeAny, {
37278
37319
  branch: string;
37320
+ host: string;
37279
37321
  owner: string;
37280
37322
  repo: string;
37281
- host: string;
37282
37323
  }, {
37283
37324
  owner: string;
37284
37325
  repo: string;
@@ -38203,9 +38244,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
38203
38244
  rootSlug?: string | undefined;
38204
38245
  editThisPageGithub?: {
38205
38246
  branch: string;
38247
+ host: string;
38206
38248
  owner: string;
38207
38249
  repo: string;
38208
- host: string;
38209
38250
  } | undefined;
38210
38251
  }, {
38211
38252
  js?: {
@@ -40154,9 +40195,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
40154
40195
  rootSlug?: string | undefined;
40155
40196
  editThisPageGithub?: {
40156
40197
  branch: string;
40198
+ host: string;
40157
40199
  owner: string;
40158
40200
  repo: string;
40159
- host: string;
40160
40201
  } | undefined;
40161
40202
  } | undefined;
40162
40203
  redirects?: {
@@ -42073,9 +42114,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
42073
42114
  rootSlug?: string | undefined;
42074
42115
  editThisPageGithub?: {
42075
42116
  branch: string;
42117
+ host: string;
42076
42118
  owner: string;
42077
42119
  repo: string;
42078
- host: string;
42079
42120
  } | undefined;
42080
42121
  } | undefined;
42081
42122
  redirects?: {
@@ -43042,9 +43083,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
43042
43083
  rootSlug?: string | undefined;
43043
43084
  editThisPageGithub?: {
43044
43085
  branch: string;
43086
+ host: string;
43045
43087
  owner: string;
43046
43088
  repo: string;
43047
- host: string;
43048
43089
  } | undefined;
43049
43090
  } | undefined;
43050
43091
  redirects?: {
@@ -45927,9 +45968,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
45927
45968
  rootSlug?: string | undefined;
45928
45969
  editThisPageGithub?: {
45929
45970
  branch: string;
45971
+ host: string;
45930
45972
  owner: string;
45931
45973
  repo: string;
45932
- host: string;
45933
45974
  } | undefined;
45934
45975
  } | undefined;
45935
45976
  redirects?: {
@@ -46896,9 +46937,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
46896
46937
  rootSlug?: string | undefined;
46897
46938
  editThisPageGithub?: {
46898
46939
  branch: string;
46940
+ host: string;
46899
46941
  owner: string;
46900
46942
  repo: string;
46901
- host: string;
46902
46943
  } | undefined;
46903
46944
  } | undefined;
46904
46945
  redirects?: {
@@ -48915,6 +48956,8 @@ export type ArchiveSiteInput = z.infer<typeof ArchiveSiteInputSchema>;
48915
48956
  export type ArchiveSiteResponse = z.infer<typeof ArchiveSiteResponseSchema>;
48916
48957
  export type MigrateV2SiteInput = z.output<typeof MigrateV2SiteInputSchema>;
48917
48958
  export type MigrateV2SiteResponse = z.infer<typeof MigrateV2SiteResponseSchema>;
48959
+ export type StartStaticBuildInput = z.output<typeof StartStaticBuildInputSchema>;
48960
+ export type StartStaticBuildResponse = z.infer<typeof StartStaticBuildResponseSchema>;
48918
48961
  export type LedgerPreviewRegisterResponse = z.infer<typeof LedgerPreviewRegisterResponseSchema>;
48919
48962
  export declare const docsLedgerContract: {
48920
48963
  register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodType<{
@@ -49849,9 +49892,9 @@ export declare const docsLedgerContract: {
49849
49892
  rootSlug?: string | undefined;
49850
49893
  editThisPageGithub?: {
49851
49894
  branch: string;
49895
+ host: string;
49852
49896
  owner: string;
49853
49897
  repo: string;
49854
- host: string;
49855
49898
  } | undefined;
49856
49899
  } | undefined;
49857
49900
  redirects?: {
@@ -51804,9 +51847,9 @@ export declare const docsLedgerContract: {
51804
51847
  rootSlug?: string | undefined;
51805
51848
  editThisPageGithub?: {
51806
51849
  branch: string;
51850
+ host: string;
51807
51851
  owner: string;
51808
51852
  repo: string;
51809
- host: string;
51810
51853
  } | undefined;
51811
51854
  } | undefined;
51812
51855
  redirects?: {
@@ -52773,9 +52816,9 @@ export declare const docsLedgerContract: {
52773
52816
  rootSlug?: string | undefined;
52774
52817
  editThisPageGithub?: {
52775
52818
  branch: string;
52819
+ host: string;
52776
52820
  owner: string;
52777
52821
  repo: string;
52778
- host: string;
52779
52822
  } | undefined;
52780
52823
  } | undefined;
52781
52824
  redirects?: {
@@ -55709,9 +55752,9 @@ export declare const docsLedgerContract: {
55709
55752
  rootSlug?: string | undefined;
55710
55753
  editThisPageGithub?: {
55711
55754
  branch: string;
55755
+ host: string;
55712
55756
  owner: string;
55713
55757
  repo: string;
55714
- host: string;
55715
55758
  } | undefined;
55716
55759
  } | undefined;
55717
55760
  redirects?: {
@@ -56844,6 +56887,41 @@ export declare const docsLedgerContract: {
56844
56887
  deploymentId: string;
56845
56888
  outcome: "migrated";
56846
56889
  }>]>, Record<never, never>, Record<never, never>>;
56890
+ startStaticBuild: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
56891
+ domain: z.ZodString;
56892
+ /** "" for a root site, otherwise a leading-slash basepath. */
56893
+ basepath: z.ZodDefault<z.ZodString>;
56894
+ }, "strip", z.ZodTypeAny, {
56895
+ domain: string;
56896
+ basepath: string;
56897
+ }, {
56898
+ domain: string;
56899
+ basepath?: string | undefined;
56900
+ }>, z.ZodObject<{
56901
+ /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
56902
+ status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
56903
+ domain: z.ZodString;
56904
+ basepath: z.ZodString;
56905
+ /** The deployment being built, absent when the site has never published. */
56906
+ deploymentId: z.ZodOptional<z.ZodString>;
56907
+ jobName: z.ZodOptional<z.ZodString>;
56908
+ /** The host the build is exported to and served from, which may not be `domain`. */
56909
+ host: z.ZodOptional<z.ZodString>;
56910
+ }, "strip", z.ZodTypeAny, {
56911
+ status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
56912
+ domain: string;
56913
+ basepath: string;
56914
+ deploymentId?: string | undefined;
56915
+ jobName?: string | undefined;
56916
+ host?: string | undefined;
56917
+ }, {
56918
+ status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
56919
+ domain: string;
56920
+ basepath: string;
56921
+ deploymentId?: string | undefined;
56922
+ jobName?: string | undefined;
56923
+ host?: string | undefined;
56924
+ }>, Record<never, never>, Record<never, never>>;
56847
56925
  };
56848
56926
  export declare const CurrentVersionInputSchema: z.ZodObject<{
56849
56927
  domain: z.ZodString;
@@ -60815,9 +60893,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
60815
60893
  host: z.ZodDefault<z.ZodString>;
60816
60894
  }, "strip", z.ZodTypeAny, {
60817
60895
  branch: string;
60896
+ host: string;
60818
60897
  owner: string;
60819
60898
  repo: string;
60820
- host: string;
60821
60899
  }, {
60822
60900
  owner: string;
60823
60901
  repo: string;
@@ -61742,9 +61820,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
61742
61820
  rootSlug?: string | undefined;
61743
61821
  editThisPageGithub?: {
61744
61822
  branch: string;
61823
+ host: string;
61745
61824
  owner: string;
61746
61825
  repo: string;
61747
- host: string;
61748
61826
  } | undefined;
61749
61827
  }, {
61750
61828
  js?: {
@@ -65159,9 +65237,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
65159
65237
  rootSlug?: string | undefined;
65160
65238
  editThisPageGithub?: {
65161
65239
  branch: string;
65240
+ host: string;
65162
65241
  owner: string;
65163
65242
  repo: string;
65164
- host: string;
65165
65243
  } | undefined;
65166
65244
  } | null;
65167
65245
  cssInline: {
@@ -83343,9 +83421,9 @@ export declare const docsLedgerReadContract: {
83343
83421
  host: z.ZodDefault<z.ZodString>;
83344
83422
  }, "strip", z.ZodTypeAny, {
83345
83423
  branch: string;
83424
+ host: string;
83346
83425
  owner: string;
83347
83426
  repo: string;
83348
- host: string;
83349
83427
  }, {
83350
83428
  owner: string;
83351
83429
  repo: string;
@@ -84270,9 +84348,9 @@ export declare const docsLedgerReadContract: {
84270
84348
  rootSlug?: string | undefined;
84271
84349
  editThisPageGithub?: {
84272
84350
  branch: string;
84351
+ host: string;
84273
84352
  owner: string;
84274
84353
  repo: string;
84275
- host: string;
84276
84354
  } | undefined;
84277
84355
  }, {
84278
84356
  js?: {
@@ -87687,9 +87765,9 @@ export declare const docsLedgerReadContract: {
87687
87765
  rootSlug?: string | undefined;
87688
87766
  editThisPageGithub?: {
87689
87767
  branch: string;
87768
+ host: string;
87690
87769
  owner: string;
87691
87770
  repo: string;
87692
- host: string;
87693
87771
  } | undefined;
87694
87772
  } | null;
87695
87773
  cssInline: {