@fern-api/fdr-sdk 1.2.174-801b6ec7b7 → 1.2.174-84986f67e7
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/client/FdrClient.d.ts +5 -0
- package/dist/client/FdrClient.d.ts.map +1 -1
- package/dist/client/docs-types/db.d.ts +47 -0
- package/dist/client/docs-types/db.d.ts.map +1 -1
- package/dist/client/docs-types/read.d.ts +21 -0
- package/dist/client/docs-types/read.d.ts.map +1 -1
- package/dist/client/docs-types/shared.d.ts +3 -0
- package/dist/client/docs-types/shared.d.ts.map +1 -1
- package/dist/client/docs-types/shared.js +2 -1
- package/dist/client/docs-types/shared.js.map +1 -1
- package/dist/client/docs-types/write.d.ts +12 -0
- package/dist/client/docs-types/write.d.ts.map +1 -1
- package/dist/docs-ledger/inputTypes.d.ts +5 -0
- package/dist/docs-ledger/inputTypes.d.ts.map +1 -1
- package/dist/js/client/FdrClient.js +66 -5
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +66 -5
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/client/types.js +2 -1
- package/dist/js/client/types.js.map +1 -1
- package/dist/js/client/types.mjs +2 -1
- package/dist/js/client/types.mjs.map +1 -1
- package/dist/js/converters/index.js +2 -1
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +2 -1
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/docs/index.js +2 -1
- package/dist/js/docs/index.js.map +1 -1
- package/dist/js/docs/index.mjs +2 -1
- package/dist/js/docs/index.mjs.map +1 -1
- package/dist/js/docs-ledger/index.js +57 -2
- package/dist/js/docs-ledger/index.js.map +1 -1
- package/dist/js/docs-ledger/index.mjs +57 -2
- package/dist/js/docs-ledger/index.mjs.map +1 -1
- package/dist/js/index.js +66 -5
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +66 -5
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +2 -1
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +2 -1
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +171 -6
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +155 -6
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/client.d.ts.map +1 -1
- package/dist/orpc-client/client.js +2 -2
- package/dist/orpc-client/client.js.map +1 -1
- package/dist/orpc-client/docs/v1/read/contract.d.ts +14 -0
- package/dist/orpc-client/docs/v1/read/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs/v1/write/contract.d.ts +4 -0
- package/dist/orpc-client/docs/v1/write/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs/v2/read/contract.d.ts +32 -0
- package/dist/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs/v2/write/contract.d.ts +8 -0
- package/dist/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-anonymous/contract.d.ts +140 -0
- package/dist/orpc-client/docs-anonymous/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-anonymous/contract.js +40 -2
- package/dist/orpc-client/docs-anonymous/contract.js.map +1 -1
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts +2 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts.map +1 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.js +62 -0
- package/dist/orpc-client/docs-ledger/__test__/static-build-files.test.js.map +1 -0
- package/dist/orpc-client/docs-ledger/contract.d.ts +320 -0
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +70 -1
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/orpc-client/docs-ledger/index.d.ts +1 -0
- package/dist/orpc-client/docs-ledger/index.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/index.js +1 -0
- package/dist/orpc-client/docs-ledger/index.js.map +1 -1
- package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts +30 -0
- package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/static-build-files.d.ts +25 -0
- package/dist/orpc-client/docs-ledger/static-build-files.d.ts.map +1 -0
- package/dist/orpc-client/docs-ledger/static-build-files.js +62 -0
- package/dist/orpc-client/docs-ledger/static-build-files.js.map +1 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.d.ts +2 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.d.ts.map +1 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.js +19 -0
- package/dist/orpc-client/pdf-export/__test__/client.test.js.map +1 -0
- package/dist/orpc-client/pdf-export/client.d.ts +5 -0
- package/dist/orpc-client/pdf-export/client.d.ts.map +1 -1
- package/dist/orpc-client/pdf-export/client.js +8 -1
- package/dist/orpc-client/pdf-export/client.js.map +1 -1
- package/dist/orpc-client/pdf-export/contract.d.ts +31 -0
- package/dist/orpc-client/pdf-export/contract.d.ts.map +1 -1
- package/dist/orpc-client/pdf-export/contract.js +4 -0
- package/dist/orpc-client/pdf-export/contract.js.map +1 -1
- package/dist/types/client/FdrClient.d.ts +5 -0
- package/dist/types/client/FdrClient.d.ts.map +1 -1
- package/dist/types/client/docs-types/db.d.ts +47 -0
- package/dist/types/client/docs-types/db.d.ts.map +1 -1
- package/dist/types/client/docs-types/read.d.ts +21 -0
- package/dist/types/client/docs-types/read.d.ts.map +1 -1
- package/dist/types/client/docs-types/shared.d.ts +3 -0
- package/dist/types/client/docs-types/shared.d.ts.map +1 -1
- package/dist/types/client/docs-types/write.d.ts +12 -0
- package/dist/types/client/docs-types/write.d.ts.map +1 -1
- package/dist/types/docs-ledger/inputTypes.d.ts +5 -0
- package/dist/types/docs-ledger/inputTypes.d.ts.map +1 -1
- package/dist/types/orpc-client/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/read/contract.d.ts +14 -0
- package/dist/types/orpc-client/docs/v1/read/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v1/write/contract.d.ts +4 -0
- package/dist/types/orpc-client/docs/v1/write/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts +32 -0
- package/dist/types/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts +8 -0
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-anonymous/contract.d.ts +140 -0
- package/dist/types/orpc-client/docs-anonymous/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts +2 -0
- package/dist/types/orpc-client/docs-ledger/__test__/static-build-files.test.d.ts.map +1 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +320 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/index.d.ts +1 -0
- package/dist/types/orpc-client/docs-ledger/index.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +30 -0
- package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/static-build-files.d.ts +25 -0
- package/dist/types/orpc-client/docs-ledger/static-build-files.d.ts.map +1 -0
- package/dist/types/orpc-client/pdf-export/__test__/client.test.d.ts +2 -0
- package/dist/types/orpc-client/pdf-export/__test__/client.test.d.ts.map +1 -0
- package/dist/types/orpc-client/pdf-export/client.d.ts +5 -0
- package/dist/types/orpc-client/pdf-export/client.d.ts.map +1 -1
- package/dist/types/orpc-client/pdf-export/contract.d.ts +31 -0
- package/dist/types/orpc-client/pdf-export/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,11 @@ export declare const FinishResponseSchema: z.ZodObject<{
|
|
|
51
51
|
additionalSiteIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
52
52
|
deploymentHash: z.ZodString;
|
|
53
53
|
reusedDeployment: z.ZodBoolean;
|
|
54
|
+
/**
|
|
55
|
+
* True when a publish of the same URL that started later was already live,
|
|
56
|
+
* so this deployment was stored but not made live.
|
|
57
|
+
*/
|
|
58
|
+
superseded: z.ZodOptional<z.ZodBoolean>;
|
|
54
59
|
/**
|
|
55
60
|
* Per-locale segment counts when `translations[]` was supplied on the
|
|
56
61
|
* finish input. Absent when no translations were included.
|
|
@@ -78,6 +83,7 @@ export declare const FinishResponseSchema: z.ZodObject<{
|
|
|
78
83
|
deploymentHash: string;
|
|
79
84
|
additionalSiteIds: string[];
|
|
80
85
|
reusedDeployment: boolean;
|
|
86
|
+
superseded?: boolean | undefined;
|
|
81
87
|
translationsProcessed?: {
|
|
82
88
|
locale: string;
|
|
83
89
|
segmentsAdded: number;
|
|
@@ -90,6 +96,7 @@ export declare const FinishResponseSchema: z.ZodObject<{
|
|
|
90
96
|
deploymentHash: string;
|
|
91
97
|
reusedDeployment: boolean;
|
|
92
98
|
additionalSiteIds?: string[] | undefined;
|
|
99
|
+
superseded?: boolean | undefined;
|
|
93
100
|
translationsProcessed?: {
|
|
94
101
|
locale: string;
|
|
95
102
|
segmentsAdded: number;
|
|
@@ -4697,6 +4704,7 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
4697
4704
|
}[] | undefined;
|
|
4698
4705
|
maskPii?: boolean | undefined;
|
|
4699
4706
|
disclaimer?: string | undefined;
|
|
4707
|
+
buttonText?: string | undefined;
|
|
4700
4708
|
}, z.ZodTypeDef, {
|
|
4701
4709
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
4702
4710
|
systemPrompt?: string | undefined;
|
|
@@ -4707,6 +4715,7 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
4707
4715
|
}[] | undefined;
|
|
4708
4716
|
maskPii?: boolean | undefined;
|
|
4709
4717
|
disclaimer?: string | undefined;
|
|
4718
|
+
buttonText?: string | undefined;
|
|
4710
4719
|
}>>;
|
|
4711
4720
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
4712
4721
|
options?: {
|
|
@@ -5707,6 +5716,7 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
5707
5716
|
}[] | undefined;
|
|
5708
5717
|
maskPii?: boolean | undefined;
|
|
5709
5718
|
disclaimer?: string | undefined;
|
|
5719
|
+
buttonText?: string | undefined;
|
|
5710
5720
|
} | undefined;
|
|
5711
5721
|
pageActions?: {
|
|
5712
5722
|
options?: {
|
|
@@ -6654,6 +6664,7 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
6654
6664
|
}[] | undefined;
|
|
6655
6665
|
maskPii?: boolean | undefined;
|
|
6656
6666
|
disclaimer?: string | undefined;
|
|
6667
|
+
buttonText?: string | undefined;
|
|
6657
6668
|
} | undefined;
|
|
6658
6669
|
pageActions?: {
|
|
6659
6670
|
options?: {
|
|
@@ -16813,6 +16824,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
16813
16824
|
}[] | undefined;
|
|
16814
16825
|
maskPii?: boolean | undefined;
|
|
16815
16826
|
disclaimer?: string | undefined;
|
|
16827
|
+
buttonText?: string | undefined;
|
|
16816
16828
|
}, z.ZodTypeDef, {
|
|
16817
16829
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
16818
16830
|
systemPrompt?: string | undefined;
|
|
@@ -16823,6 +16835,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
16823
16835
|
}[] | undefined;
|
|
16824
16836
|
maskPii?: boolean | undefined;
|
|
16825
16837
|
disclaimer?: string | undefined;
|
|
16838
|
+
buttonText?: string | undefined;
|
|
16826
16839
|
}>>;
|
|
16827
16840
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
16828
16841
|
options?: {
|
|
@@ -17823,6 +17836,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
17823
17836
|
}[] | undefined;
|
|
17824
17837
|
maskPii?: boolean | undefined;
|
|
17825
17838
|
disclaimer?: string | undefined;
|
|
17839
|
+
buttonText?: string | undefined;
|
|
17826
17840
|
} | undefined;
|
|
17827
17841
|
pageActions?: {
|
|
17828
17842
|
options?: {
|
|
@@ -18770,6 +18784,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
18770
18784
|
}[] | undefined;
|
|
18771
18785
|
maskPii?: boolean | undefined;
|
|
18772
18786
|
disclaimer?: string | undefined;
|
|
18787
|
+
buttonText?: string | undefined;
|
|
18773
18788
|
} | undefined;
|
|
18774
18789
|
pageActions?: {
|
|
18775
18790
|
options?: {
|
|
@@ -19816,6 +19831,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
19816
19831
|
}[] | undefined;
|
|
19817
19832
|
maskPii?: boolean | undefined;
|
|
19818
19833
|
disclaimer?: string | undefined;
|
|
19834
|
+
buttonText?: string | undefined;
|
|
19819
19835
|
} | undefined;
|
|
19820
19836
|
pageActions?: {
|
|
19821
19837
|
options?: {
|
|
@@ -20804,6 +20820,7 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
20804
20820
|
}[] | undefined;
|
|
20805
20821
|
maskPii?: boolean | undefined;
|
|
20806
20822
|
disclaimer?: string | undefined;
|
|
20823
|
+
buttonText?: string | undefined;
|
|
20807
20824
|
} | undefined;
|
|
20808
20825
|
pageActions?: {
|
|
20809
20826
|
options?: {
|
|
@@ -24690,6 +24707,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
24690
24707
|
}[] | undefined;
|
|
24691
24708
|
maskPii?: boolean | undefined;
|
|
24692
24709
|
disclaimer?: string | undefined;
|
|
24710
|
+
buttonText?: string | undefined;
|
|
24693
24711
|
}, z.ZodTypeDef, {
|
|
24694
24712
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
24695
24713
|
systemPrompt?: string | undefined;
|
|
@@ -24700,6 +24718,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
24700
24718
|
}[] | undefined;
|
|
24701
24719
|
maskPii?: boolean | undefined;
|
|
24702
24720
|
disclaimer?: string | undefined;
|
|
24721
|
+
buttonText?: string | undefined;
|
|
24703
24722
|
}>>;
|
|
24704
24723
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
24705
24724
|
options?: {
|
|
@@ -25700,6 +25719,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
25700
25719
|
}[] | undefined;
|
|
25701
25720
|
maskPii?: boolean | undefined;
|
|
25702
25721
|
disclaimer?: string | undefined;
|
|
25722
|
+
buttonText?: string | undefined;
|
|
25703
25723
|
} | undefined;
|
|
25704
25724
|
pageActions?: {
|
|
25705
25725
|
options?: {
|
|
@@ -26647,6 +26667,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
26647
26667
|
}[] | undefined;
|
|
26648
26668
|
maskPii?: boolean | undefined;
|
|
26649
26669
|
disclaimer?: string | undefined;
|
|
26670
|
+
buttonText?: string | undefined;
|
|
26650
26671
|
} | undefined;
|
|
26651
26672
|
pageActions?: {
|
|
26652
26673
|
options?: {
|
|
@@ -27684,6 +27705,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
27684
27705
|
}[] | undefined;
|
|
27685
27706
|
maskPii?: boolean | undefined;
|
|
27686
27707
|
disclaimer?: string | undefined;
|
|
27708
|
+
buttonText?: string | undefined;
|
|
27687
27709
|
} | undefined;
|
|
27688
27710
|
pageActions?: {
|
|
27689
27711
|
options?: {
|
|
@@ -28672,6 +28694,7 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
28672
28694
|
}[] | undefined;
|
|
28673
28695
|
maskPii?: boolean | undefined;
|
|
28674
28696
|
disclaimer?: string | undefined;
|
|
28697
|
+
buttonText?: string | undefined;
|
|
28675
28698
|
} | undefined;
|
|
28676
28699
|
pageActions?: {
|
|
28677
28700
|
options?: {
|
|
@@ -28779,6 +28802,13 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
28779
28802
|
*/
|
|
28780
28803
|
customDomains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
28781
28804
|
previewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28805
|
+
/**
|
|
28806
|
+
* When the CLI started this publish (ISO 8601). FDR orders overlapping
|
|
28807
|
+
* publishes of one URL by it, so the client's local build and upload
|
|
28808
|
+
* time count. FDR falls back to its own clock when absent, in the
|
|
28809
|
+
* future, or more than 6 hours old (ADR 0040).
|
|
28810
|
+
*/
|
|
28811
|
+
publishStartedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28782
28812
|
/** The primary/fallback locale for this deployment (e.g. "en"). */
|
|
28783
28813
|
defaultLocale: z.ZodDefault<z.ZodString>;
|
|
28784
28814
|
/**
|
|
@@ -29696,6 +29726,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
29696
29726
|
}[] | undefined;
|
|
29697
29727
|
maskPii?: boolean | undefined;
|
|
29698
29728
|
disclaimer?: string | undefined;
|
|
29729
|
+
buttonText?: string | undefined;
|
|
29699
29730
|
} | undefined;
|
|
29700
29731
|
pageActions?: {
|
|
29701
29732
|
options?: {
|
|
@@ -30684,6 +30715,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
30684
30715
|
}[] | undefined;
|
|
30685
30716
|
maskPii?: boolean | undefined;
|
|
30686
30717
|
disclaimer?: string | undefined;
|
|
30718
|
+
buttonText?: string | undefined;
|
|
30687
30719
|
} | undefined;
|
|
30688
30720
|
pageActions?: {
|
|
30689
30721
|
options?: {
|
|
@@ -30762,6 +30794,24 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
30762
30794
|
commitSha?: string | undefined;
|
|
30763
30795
|
} | undefined;
|
|
30764
30796
|
}>, "many">;
|
|
30797
|
+
/**
|
|
30798
|
+
* The publisher's `fern/` folder as a JSON `RepositoryFile[]` CAS blob, so the site can
|
|
30799
|
+
* later be written to a GitHub repo as it was published. Optional — older CLIs omit it,
|
|
30800
|
+
* and the CLI only sends it for guest publishes. A missing upload never fails the publish.
|
|
30801
|
+
*/
|
|
30802
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30803
|
+
hash: z.ZodString;
|
|
30804
|
+
contentType: z.ZodString;
|
|
30805
|
+
contentLength: z.ZodNumber;
|
|
30806
|
+
}, "strip", z.ZodTypeAny, {
|
|
30807
|
+
contentType: string;
|
|
30808
|
+
hash: string;
|
|
30809
|
+
contentLength: number;
|
|
30810
|
+
}, {
|
|
30811
|
+
contentType: string;
|
|
30812
|
+
hash: string;
|
|
30813
|
+
contentLength: number;
|
|
30814
|
+
}>>>;
|
|
30765
30815
|
}, "strip", z.ZodTypeAny, {
|
|
30766
30816
|
defaultLocale: string;
|
|
30767
30817
|
orgId: string;
|
|
@@ -31679,6 +31729,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
31679
31729
|
}[] | undefined;
|
|
31680
31730
|
maskPii?: boolean | undefined;
|
|
31681
31731
|
disclaimer?: string | undefined;
|
|
31732
|
+
buttonText?: string | undefined;
|
|
31682
31733
|
} | undefined;
|
|
31683
31734
|
pageActions?: {
|
|
31684
31735
|
options?: {
|
|
@@ -31757,8 +31808,14 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
31757
31808
|
commitSha?: string | undefined;
|
|
31758
31809
|
} | undefined;
|
|
31759
31810
|
}[];
|
|
31811
|
+
source?: {
|
|
31812
|
+
contentType: string;
|
|
31813
|
+
hash: string;
|
|
31814
|
+
contentLength: number;
|
|
31815
|
+
} | null | undefined;
|
|
31760
31816
|
previewId?: string | null | undefined;
|
|
31761
31817
|
basepathAware?: boolean | null | undefined;
|
|
31818
|
+
publishStartedAt?: string | null | undefined;
|
|
31762
31819
|
}, {
|
|
31763
31820
|
orgId: string;
|
|
31764
31821
|
domain: string;
|
|
@@ -32673,6 +32730,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
32673
32730
|
}[] | undefined;
|
|
32674
32731
|
maskPii?: boolean | undefined;
|
|
32675
32732
|
disclaimer?: string | undefined;
|
|
32733
|
+
buttonText?: string | undefined;
|
|
32676
32734
|
} | undefined;
|
|
32677
32735
|
pageActions?: {
|
|
32678
32736
|
options?: {
|
|
@@ -32752,10 +32810,16 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
32752
32810
|
} | undefined;
|
|
32753
32811
|
}[];
|
|
32754
32812
|
defaultLocale?: string | undefined;
|
|
32813
|
+
source?: {
|
|
32814
|
+
contentType: string;
|
|
32815
|
+
hash: string;
|
|
32816
|
+
contentLength: number;
|
|
32817
|
+
} | null | undefined;
|
|
32755
32818
|
basepath?: string | undefined;
|
|
32756
32819
|
customDomains?: string[] | undefined;
|
|
32757
32820
|
previewId?: string | null | undefined;
|
|
32758
32821
|
basepathAware?: boolean | null | undefined;
|
|
32822
|
+
publishStartedAt?: string | null | undefined;
|
|
32759
32823
|
}>, {
|
|
32760
32824
|
defaultLocale: string;
|
|
32761
32825
|
orgId: string;
|
|
@@ -33673,6 +33737,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
33673
33737
|
}[] | undefined;
|
|
33674
33738
|
maskPii?: boolean | undefined;
|
|
33675
33739
|
disclaimer?: string | undefined;
|
|
33740
|
+
buttonText?: string | undefined;
|
|
33676
33741
|
} | undefined;
|
|
33677
33742
|
pageActions?: {
|
|
33678
33743
|
options?: {
|
|
@@ -33751,8 +33816,14 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
33751
33816
|
commitSha?: string | undefined;
|
|
33752
33817
|
} | undefined;
|
|
33753
33818
|
}[];
|
|
33819
|
+
source?: {
|
|
33820
|
+
contentType: string;
|
|
33821
|
+
hash: string;
|
|
33822
|
+
contentLength: number;
|
|
33823
|
+
} | null | undefined;
|
|
33754
33824
|
previewId?: string | null | undefined;
|
|
33755
33825
|
basepathAware?: boolean | null | undefined;
|
|
33826
|
+
publishStartedAt?: string | null | undefined;
|
|
33756
33827
|
}, {
|
|
33757
33828
|
orgId: string;
|
|
33758
33829
|
domain: string;
|
|
@@ -34667,6 +34738,7 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
34667
34738
|
}[] | undefined;
|
|
34668
34739
|
maskPii?: boolean | undefined;
|
|
34669
34740
|
disclaimer?: string | undefined;
|
|
34741
|
+
buttonText?: string | undefined;
|
|
34670
34742
|
} | undefined;
|
|
34671
34743
|
pageActions?: {
|
|
34672
34744
|
options?: {
|
|
@@ -34746,10 +34818,16 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
34746
34818
|
} | undefined;
|
|
34747
34819
|
}[];
|
|
34748
34820
|
defaultLocale?: string | undefined;
|
|
34821
|
+
source?: {
|
|
34822
|
+
contentType: string;
|
|
34823
|
+
hash: string;
|
|
34824
|
+
contentLength: number;
|
|
34825
|
+
} | null | undefined;
|
|
34749
34826
|
basepath?: string | undefined;
|
|
34750
34827
|
customDomains?: string[] | undefined;
|
|
34751
34828
|
previewId?: string | null | undefined;
|
|
34752
34829
|
basepathAware?: boolean | null | undefined;
|
|
34830
|
+
publishStartedAt?: string | null | undefined;
|
|
34753
34831
|
}>;
|
|
34754
34832
|
export type DocsPublishInput = z.output<typeof DocsPublishInputSchemaInternal>;
|
|
34755
34833
|
export type DocsPublishInputRaw = z.input<typeof DocsPublishInputSchemaInternal>;
|
|
@@ -38566,6 +38644,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
38566
38644
|
}[] | undefined;
|
|
38567
38645
|
maskPii?: boolean | undefined;
|
|
38568
38646
|
disclaimer?: string | undefined;
|
|
38647
|
+
buttonText?: string | undefined;
|
|
38569
38648
|
}, z.ZodTypeDef, {
|
|
38570
38649
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
38571
38650
|
systemPrompt?: string | undefined;
|
|
@@ -38576,6 +38655,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
38576
38655
|
}[] | undefined;
|
|
38577
38656
|
maskPii?: boolean | undefined;
|
|
38578
38657
|
disclaimer?: string | undefined;
|
|
38658
|
+
buttonText?: string | undefined;
|
|
38579
38659
|
}>>;
|
|
38580
38660
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
38581
38661
|
options?: {
|
|
@@ -39576,6 +39656,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
39576
39656
|
}[] | undefined;
|
|
39577
39657
|
maskPii?: boolean | undefined;
|
|
39578
39658
|
disclaimer?: string | undefined;
|
|
39659
|
+
buttonText?: string | undefined;
|
|
39579
39660
|
} | undefined;
|
|
39580
39661
|
pageActions?: {
|
|
39581
39662
|
options?: {
|
|
@@ -40523,6 +40604,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
40523
40604
|
}[] | undefined;
|
|
40524
40605
|
maskPii?: boolean | undefined;
|
|
40525
40606
|
disclaimer?: string | undefined;
|
|
40607
|
+
buttonText?: string | undefined;
|
|
40526
40608
|
} | undefined;
|
|
40527
40609
|
pageActions?: {
|
|
40528
40610
|
options?: {
|
|
@@ -41581,6 +41663,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
41581
41663
|
}[] | undefined;
|
|
41582
41664
|
maskPii?: boolean | undefined;
|
|
41583
41665
|
disclaimer?: string | undefined;
|
|
41666
|
+
buttonText?: string | undefined;
|
|
41584
41667
|
} | undefined;
|
|
41585
41668
|
pageActions?: {
|
|
41586
41669
|
options?: {
|
|
@@ -42569,6 +42652,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
42569
42652
|
}[] | undefined;
|
|
42570
42653
|
maskPii?: boolean | undefined;
|
|
42571
42654
|
disclaimer?: string | undefined;
|
|
42655
|
+
buttonText?: string | undefined;
|
|
42572
42656
|
} | undefined;
|
|
42573
42657
|
pageActions?: {
|
|
42574
42658
|
options?: {
|
|
@@ -43555,6 +43639,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
43555
43639
|
}[] | undefined;
|
|
43556
43640
|
maskPii?: boolean | undefined;
|
|
43557
43641
|
disclaimer?: string | undefined;
|
|
43642
|
+
buttonText?: string | undefined;
|
|
43558
43643
|
} | undefined;
|
|
43559
43644
|
pageActions?: {
|
|
43560
43645
|
options?: {
|
|
@@ -44550,6 +44635,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
44550
44635
|
}[] | undefined;
|
|
44551
44636
|
maskPii?: boolean | undefined;
|
|
44552
44637
|
disclaimer?: string | undefined;
|
|
44638
|
+
buttonText?: string | undefined;
|
|
44553
44639
|
} | undefined;
|
|
44554
44640
|
pageActions?: {
|
|
44555
44641
|
options?: {
|
|
@@ -45535,6 +45621,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
45535
45621
|
}[] | undefined;
|
|
45536
45622
|
maskPii?: boolean | undefined;
|
|
45537
45623
|
disclaimer?: string | undefined;
|
|
45624
|
+
buttonText?: string | undefined;
|
|
45538
45625
|
} | undefined;
|
|
45539
45626
|
pageActions?: {
|
|
45540
45627
|
options?: {
|
|
@@ -46531,6 +46618,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
46531
46618
|
}[] | undefined;
|
|
46532
46619
|
maskPii?: boolean | undefined;
|
|
46533
46620
|
disclaimer?: string | undefined;
|
|
46621
|
+
buttonText?: string | undefined;
|
|
46534
46622
|
} | undefined;
|
|
46535
46623
|
pageActions?: {
|
|
46536
46624
|
options?: {
|
|
@@ -47517,6 +47605,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
47517
47605
|
}[] | undefined;
|
|
47518
47606
|
maskPii?: boolean | undefined;
|
|
47519
47607
|
disclaimer?: string | undefined;
|
|
47608
|
+
buttonText?: string | undefined;
|
|
47520
47609
|
} | undefined;
|
|
47521
47610
|
pageActions?: {
|
|
47522
47611
|
options?: {
|
|
@@ -48512,6 +48601,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
48512
48601
|
}[] | undefined;
|
|
48513
48602
|
maskPii?: boolean | undefined;
|
|
48514
48603
|
disclaimer?: string | undefined;
|
|
48604
|
+
buttonText?: string | undefined;
|
|
48515
48605
|
} | undefined;
|
|
48516
48606
|
pageActions?: {
|
|
48517
48607
|
options?: {
|
|
@@ -49497,6 +49587,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
49497
49587
|
}[] | undefined;
|
|
49498
49588
|
maskPii?: boolean | undefined;
|
|
49499
49589
|
disclaimer?: string | undefined;
|
|
49590
|
+
buttonText?: string | undefined;
|
|
49500
49591
|
} | undefined;
|
|
49501
49592
|
pageActions?: {
|
|
49502
49593
|
options?: {
|
|
@@ -50493,6 +50584,7 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
50493
50584
|
}[] | undefined;
|
|
50494
50585
|
maskPii?: boolean | undefined;
|
|
50495
50586
|
disclaimer?: string | undefined;
|
|
50587
|
+
buttonText?: string | undefined;
|
|
50496
50588
|
} | undefined;
|
|
50497
50589
|
pageActions?: {
|
|
50498
50590
|
options?: {
|
|
@@ -50635,6 +50727,108 @@ export type ReindexInput = z.output<typeof ReindexInputSchema>;
|
|
|
50635
50727
|
export type ReindexResponse = z.infer<typeof ReindexResponseSchema>;
|
|
50636
50728
|
export type PromoteStaticBuildInput = z.output<typeof PromoteStaticBuildInputSchema>;
|
|
50637
50729
|
export type PromoteStaticBuildResponse = z.infer<typeof PromoteStaticBuildResponseSchema>;
|
|
50730
|
+
/**
|
|
50731
|
+
* Input for `GET /static-build/files`: one page of the files a site's live
|
|
50732
|
+
* static build serves, for downloading the site. The caller must belong to the
|
|
50733
|
+
* org that owns the site.
|
|
50734
|
+
*/
|
|
50735
|
+
export declare const ListStaticBuildFilesInputSchema: z.ZodObject<{
|
|
50736
|
+
domain: z.ZodString;
|
|
50737
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
50738
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
50739
|
+
/** `nextCursor` of the previous page; absent for the first page. */
|
|
50740
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
50741
|
+
}, "strip", z.ZodTypeAny, {
|
|
50742
|
+
domain: string;
|
|
50743
|
+
basepath: string;
|
|
50744
|
+
cursor?: string | undefined;
|
|
50745
|
+
}, {
|
|
50746
|
+
domain: string;
|
|
50747
|
+
cursor?: string | undefined;
|
|
50748
|
+
basepath?: string | undefined;
|
|
50749
|
+
}>;
|
|
50750
|
+
export declare const StaticBuildFileSchema: z.ZodObject<{
|
|
50751
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
50752
|
+
path: z.ZodString;
|
|
50753
|
+
/** Short-lived signed GET URL for the file. */
|
|
50754
|
+
url: z.ZodString;
|
|
50755
|
+
}, "strip", z.ZodTypeAny, {
|
|
50756
|
+
path: string;
|
|
50757
|
+
url: string;
|
|
50758
|
+
}, {
|
|
50759
|
+
path: string;
|
|
50760
|
+
url: string;
|
|
50761
|
+
}>;
|
|
50762
|
+
export declare const ListStaticBuildFilesResponseSchema: z.ZodObject<{
|
|
50763
|
+
buildId: z.ZodString;
|
|
50764
|
+
files: z.ZodArray<z.ZodObject<{
|
|
50765
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
50766
|
+
path: z.ZodString;
|
|
50767
|
+
/** Short-lived signed GET URL for the file. */
|
|
50768
|
+
url: z.ZodString;
|
|
50769
|
+
}, "strip", z.ZodTypeAny, {
|
|
50770
|
+
path: string;
|
|
50771
|
+
url: string;
|
|
50772
|
+
}, {
|
|
50773
|
+
path: string;
|
|
50774
|
+
url: string;
|
|
50775
|
+
}>, "many">;
|
|
50776
|
+
/** Pass back to get the next page; absent on the last page. */
|
|
50777
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
50778
|
+
}, "strip", z.ZodTypeAny, {
|
|
50779
|
+
files: {
|
|
50780
|
+
path: string;
|
|
50781
|
+
url: string;
|
|
50782
|
+
}[];
|
|
50783
|
+
buildId: string;
|
|
50784
|
+
nextCursor?: string | undefined;
|
|
50785
|
+
}, {
|
|
50786
|
+
files: {
|
|
50787
|
+
path: string;
|
|
50788
|
+
url: string;
|
|
50789
|
+
}[];
|
|
50790
|
+
buildId: string;
|
|
50791
|
+
nextCursor?: string | undefined;
|
|
50792
|
+
}>;
|
|
50793
|
+
/**
|
|
50794
|
+
* Input for `GET /site-source`: the `fern/` folder the site's latest publish sent as `source`.
|
|
50795
|
+
* The caller must belong to the org that owns the site; a guest token is refused.
|
|
50796
|
+
*/
|
|
50797
|
+
export declare const GetSiteSourceInputSchema: z.ZodObject<{
|
|
50798
|
+
domain: z.ZodString;
|
|
50799
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
50800
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
50801
|
+
}, "strip", z.ZodTypeAny, {
|
|
50802
|
+
domain: string;
|
|
50803
|
+
basepath: string;
|
|
50804
|
+
}, {
|
|
50805
|
+
domain: string;
|
|
50806
|
+
basepath?: string | undefined;
|
|
50807
|
+
}>;
|
|
50808
|
+
export declare const GetSiteSourceResponseSchema: z.ZodObject<{
|
|
50809
|
+
/** SHA-256 hex of the source blob. */
|
|
50810
|
+
hash: z.ZodString;
|
|
50811
|
+
contentLength: z.ZodNumber;
|
|
50812
|
+
/** Short-lived signed GET URL for the JSON `RepositoryFile[]`. */
|
|
50813
|
+
url: z.ZodString;
|
|
50814
|
+
/** When the publish that sent this source finished (ISO 8601). */
|
|
50815
|
+
updatedAt: z.ZodString;
|
|
50816
|
+
}, "strip", z.ZodTypeAny, {
|
|
50817
|
+
url: string;
|
|
50818
|
+
updatedAt: string;
|
|
50819
|
+
hash: string;
|
|
50820
|
+
contentLength: number;
|
|
50821
|
+
}, {
|
|
50822
|
+
url: string;
|
|
50823
|
+
updatedAt: string;
|
|
50824
|
+
hash: string;
|
|
50825
|
+
contentLength: number;
|
|
50826
|
+
}>;
|
|
50827
|
+
export type GetSiteSourceInput = z.input<typeof GetSiteSourceInputSchema>;
|
|
50828
|
+
export type GetSiteSourceResponse = z.infer<typeof GetSiteSourceResponseSchema>;
|
|
50829
|
+
export type ListStaticBuildFilesInput = z.input<typeof ListStaticBuildFilesInputSchema>;
|
|
50830
|
+
export type StaticBuildFile = z.infer<typeof StaticBuildFileSchema>;
|
|
50831
|
+
export type ListStaticBuildFilesResponse = z.infer<typeof ListStaticBuildFilesResponseSchema>;
|
|
50638
50832
|
export type ResolveStaticServingHostInput = z.output<typeof ResolveStaticServingHostInputSchema>;
|
|
50639
50833
|
export type ResolveStaticServingHostResponse = z.infer<typeof ResolveStaticServingHostResponseSchema>;
|
|
50640
50834
|
export type LedgerPreviewRegisterResponse = z.infer<typeof LedgerPreviewRegisterResponseSchema>;
|
|
@@ -51556,6 +51750,7 @@ export declare const docsLedgerContract: {
|
|
|
51556
51750
|
}[] | undefined;
|
|
51557
51751
|
maskPii?: boolean | undefined;
|
|
51558
51752
|
disclaimer?: string | undefined;
|
|
51753
|
+
buttonText?: string | undefined;
|
|
51559
51754
|
} | undefined;
|
|
51560
51755
|
pageActions?: {
|
|
51561
51756
|
options?: {
|
|
@@ -51634,8 +51829,14 @@ export declare const docsLedgerContract: {
|
|
|
51634
51829
|
commitSha?: string | undefined;
|
|
51635
51830
|
} | undefined;
|
|
51636
51831
|
}[];
|
|
51832
|
+
source?: {
|
|
51833
|
+
contentType: string;
|
|
51834
|
+
hash: string;
|
|
51835
|
+
contentLength: number;
|
|
51836
|
+
} | null | undefined;
|
|
51637
51837
|
previewId?: string | null | undefined;
|
|
51638
51838
|
basepathAware?: boolean | null | undefined;
|
|
51839
|
+
publishStartedAt?: string | null | undefined;
|
|
51639
51840
|
}, z.ZodTypeDef, {
|
|
51640
51841
|
orgId: string;
|
|
51641
51842
|
domain: string;
|
|
@@ -52550,6 +52751,7 @@ export declare const docsLedgerContract: {
|
|
|
52550
52751
|
}[] | undefined;
|
|
52551
52752
|
maskPii?: boolean | undefined;
|
|
52552
52753
|
disclaimer?: string | undefined;
|
|
52754
|
+
buttonText?: string | undefined;
|
|
52553
52755
|
} | undefined;
|
|
52554
52756
|
pageActions?: {
|
|
52555
52757
|
options?: {
|
|
@@ -52629,10 +52831,16 @@ export declare const docsLedgerContract: {
|
|
|
52629
52831
|
} | undefined;
|
|
52630
52832
|
}[];
|
|
52631
52833
|
defaultLocale?: string | undefined;
|
|
52834
|
+
source?: {
|
|
52835
|
+
contentType: string;
|
|
52836
|
+
hash: string;
|
|
52837
|
+
contentLength: number;
|
|
52838
|
+
} | null | undefined;
|
|
52632
52839
|
basepath?: string | undefined;
|
|
52633
52840
|
customDomains?: string[] | undefined;
|
|
52634
52841
|
previewId?: string | null | undefined;
|
|
52635
52842
|
basepathAware?: boolean | null | undefined;
|
|
52843
|
+
publishStartedAt?: string | null | undefined;
|
|
52636
52844
|
}>, z.ZodObject<{
|
|
52637
52845
|
deploymentHash: z.ZodString;
|
|
52638
52846
|
missingContent: z.ZodArray<z.ZodObject<{
|
|
@@ -53566,6 +53774,7 @@ export declare const docsLedgerContract: {
|
|
|
53566
53774
|
}[] | undefined;
|
|
53567
53775
|
maskPii?: boolean | undefined;
|
|
53568
53776
|
disclaimer?: string | undefined;
|
|
53777
|
+
buttonText?: string | undefined;
|
|
53569
53778
|
} | undefined;
|
|
53570
53779
|
pageActions?: {
|
|
53571
53780
|
options?: {
|
|
@@ -54561,6 +54770,7 @@ export declare const docsLedgerContract: {
|
|
|
54561
54770
|
}[] | undefined;
|
|
54562
54771
|
maskPii?: boolean | undefined;
|
|
54563
54772
|
disclaimer?: string | undefined;
|
|
54773
|
+
buttonText?: string | undefined;
|
|
54564
54774
|
} | undefined;
|
|
54565
54775
|
pageActions?: {
|
|
54566
54776
|
options?: {
|
|
@@ -55546,6 +55756,7 @@ export declare const docsLedgerContract: {
|
|
|
55546
55756
|
}[] | undefined;
|
|
55547
55757
|
maskPii?: boolean | undefined;
|
|
55548
55758
|
disclaimer?: string | undefined;
|
|
55759
|
+
buttonText?: string | undefined;
|
|
55549
55760
|
} | undefined;
|
|
55550
55761
|
pageActions?: {
|
|
55551
55762
|
options?: {
|
|
@@ -56542,6 +56753,7 @@ export declare const docsLedgerContract: {
|
|
|
56542
56753
|
}[] | undefined;
|
|
56543
56754
|
maskPii?: boolean | undefined;
|
|
56544
56755
|
disclaimer?: string | undefined;
|
|
56756
|
+
buttonText?: string | undefined;
|
|
56545
56757
|
} | undefined;
|
|
56546
56758
|
pageActions?: {
|
|
56547
56759
|
options?: {
|
|
@@ -57578,6 +57790,7 @@ export declare const docsLedgerContract: {
|
|
|
57578
57790
|
}[] | undefined;
|
|
57579
57791
|
maskPii?: boolean | undefined;
|
|
57580
57792
|
disclaimer?: string | undefined;
|
|
57793
|
+
buttonText?: string | undefined;
|
|
57581
57794
|
} | undefined;
|
|
57582
57795
|
pageActions?: {
|
|
57583
57796
|
options?: {
|
|
@@ -57656,8 +57869,14 @@ export declare const docsLedgerContract: {
|
|
|
57656
57869
|
commitSha?: string | undefined;
|
|
57657
57870
|
} | undefined;
|
|
57658
57871
|
}[];
|
|
57872
|
+
source?: {
|
|
57873
|
+
contentType: string;
|
|
57874
|
+
hash: string;
|
|
57875
|
+
contentLength: number;
|
|
57876
|
+
} | null | undefined;
|
|
57659
57877
|
previewId?: string | null | undefined;
|
|
57660
57878
|
basepathAware?: boolean | null | undefined;
|
|
57879
|
+
publishStartedAt?: string | null | undefined;
|
|
57661
57880
|
}, z.ZodTypeDef, {
|
|
57662
57881
|
orgId: string;
|
|
57663
57882
|
domain: string;
|
|
@@ -58572,6 +58791,7 @@ export declare const docsLedgerContract: {
|
|
|
58572
58791
|
}[] | undefined;
|
|
58573
58792
|
maskPii?: boolean | undefined;
|
|
58574
58793
|
disclaimer?: string | undefined;
|
|
58794
|
+
buttonText?: string | undefined;
|
|
58575
58795
|
} | undefined;
|
|
58576
58796
|
pageActions?: {
|
|
58577
58797
|
options?: {
|
|
@@ -58651,10 +58871,16 @@ export declare const docsLedgerContract: {
|
|
|
58651
58871
|
} | undefined;
|
|
58652
58872
|
}[];
|
|
58653
58873
|
defaultLocale?: string | undefined;
|
|
58874
|
+
source?: {
|
|
58875
|
+
contentType: string;
|
|
58876
|
+
hash: string;
|
|
58877
|
+
contentLength: number;
|
|
58878
|
+
} | null | undefined;
|
|
58654
58879
|
basepath?: string | undefined;
|
|
58655
58880
|
customDomains?: string[] | undefined;
|
|
58656
58881
|
previewId?: string | null | undefined;
|
|
58657
58882
|
basepathAware?: boolean | null | undefined;
|
|
58883
|
+
publishStartedAt?: string | null | undefined;
|
|
58658
58884
|
}>, z.ZodObject<{
|
|
58659
58885
|
deploymentId: z.ZodString;
|
|
58660
58886
|
/** ID of the canonical (fern URL) site row. */
|
|
@@ -58667,6 +58893,11 @@ export declare const docsLedgerContract: {
|
|
|
58667
58893
|
additionalSiteIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
58668
58894
|
deploymentHash: z.ZodString;
|
|
58669
58895
|
reusedDeployment: z.ZodBoolean;
|
|
58896
|
+
/**
|
|
58897
|
+
* True when a publish of the same URL that started later was already live,
|
|
58898
|
+
* so this deployment was stored but not made live.
|
|
58899
|
+
*/
|
|
58900
|
+
superseded: z.ZodOptional<z.ZodBoolean>;
|
|
58670
58901
|
/**
|
|
58671
58902
|
* Per-locale segment counts when `translations[]` was supplied on the
|
|
58672
58903
|
* finish input. Absent when no translations were included.
|
|
@@ -58694,6 +58925,7 @@ export declare const docsLedgerContract: {
|
|
|
58694
58925
|
deploymentHash: string;
|
|
58695
58926
|
additionalSiteIds: string[];
|
|
58696
58927
|
reusedDeployment: boolean;
|
|
58928
|
+
superseded?: boolean | undefined;
|
|
58697
58929
|
translationsProcessed?: {
|
|
58698
58930
|
locale: string;
|
|
58699
58931
|
segmentsAdded: number;
|
|
@@ -58706,6 +58938,7 @@ export declare const docsLedgerContract: {
|
|
|
58706
58938
|
deploymentHash: string;
|
|
58707
58939
|
reusedDeployment: boolean;
|
|
58708
58940
|
additionalSiteIds?: string[] | undefined;
|
|
58941
|
+
superseded?: boolean | undefined;
|
|
58709
58942
|
translationsProcessed?: {
|
|
58710
58943
|
locale: string;
|
|
58711
58944
|
segmentsAdded: number;
|
|
@@ -59037,6 +59270,81 @@ export declare const docsLedgerContract: {
|
|
|
59037
59270
|
routable: boolean;
|
|
59038
59271
|
deploymentId?: string | undefined;
|
|
59039
59272
|
}>, Record<never, never>, Record<never, never>>;
|
|
59273
|
+
/** Served by the read router; listed here so `createDocsLedgerClient` can call it. */
|
|
59274
|
+
listStaticBuildFiles: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
59275
|
+
domain: z.ZodString;
|
|
59276
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
59277
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
59278
|
+
/** `nextCursor` of the previous page; absent for the first page. */
|
|
59279
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
59280
|
+
}, "strip", z.ZodTypeAny, {
|
|
59281
|
+
domain: string;
|
|
59282
|
+
basepath: string;
|
|
59283
|
+
cursor?: string | undefined;
|
|
59284
|
+
}, {
|
|
59285
|
+
domain: string;
|
|
59286
|
+
cursor?: string | undefined;
|
|
59287
|
+
basepath?: string | undefined;
|
|
59288
|
+
}>, z.ZodObject<{
|
|
59289
|
+
buildId: z.ZodString;
|
|
59290
|
+
files: z.ZodArray<z.ZodObject<{
|
|
59291
|
+
/** Path relative to the host root, e.g. `docs/quickstart/index.html`. */
|
|
59292
|
+
path: z.ZodString;
|
|
59293
|
+
/** Short-lived signed GET URL for the file. */
|
|
59294
|
+
url: z.ZodString;
|
|
59295
|
+
}, "strip", z.ZodTypeAny, {
|
|
59296
|
+
path: string;
|
|
59297
|
+
url: string;
|
|
59298
|
+
}, {
|
|
59299
|
+
path: string;
|
|
59300
|
+
url: string;
|
|
59301
|
+
}>, "many">;
|
|
59302
|
+
/** Pass back to get the next page; absent on the last page. */
|
|
59303
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
59304
|
+
}, "strip", z.ZodTypeAny, {
|
|
59305
|
+
files: {
|
|
59306
|
+
path: string;
|
|
59307
|
+
url: string;
|
|
59308
|
+
}[];
|
|
59309
|
+
buildId: string;
|
|
59310
|
+
nextCursor?: string | undefined;
|
|
59311
|
+
}, {
|
|
59312
|
+
files: {
|
|
59313
|
+
path: string;
|
|
59314
|
+
url: string;
|
|
59315
|
+
}[];
|
|
59316
|
+
buildId: string;
|
|
59317
|
+
nextCursor?: string | undefined;
|
|
59318
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
59319
|
+
getSiteSource: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
59320
|
+
domain: z.ZodString;
|
|
59321
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
59322
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
59323
|
+
}, "strip", z.ZodTypeAny, {
|
|
59324
|
+
domain: string;
|
|
59325
|
+
basepath: string;
|
|
59326
|
+
}, {
|
|
59327
|
+
domain: string;
|
|
59328
|
+
basepath?: string | undefined;
|
|
59329
|
+
}>, z.ZodObject<{
|
|
59330
|
+
/** SHA-256 hex of the source blob. */
|
|
59331
|
+
hash: z.ZodString;
|
|
59332
|
+
contentLength: z.ZodNumber;
|
|
59333
|
+
/** Short-lived signed GET URL for the JSON `RepositoryFile[]`. */
|
|
59334
|
+
url: z.ZodString;
|
|
59335
|
+
/** When the publish that sent this source finished (ISO 8601). */
|
|
59336
|
+
updatedAt: z.ZodString;
|
|
59337
|
+
}, "strip", z.ZodTypeAny, {
|
|
59338
|
+
url: string;
|
|
59339
|
+
updatedAt: string;
|
|
59340
|
+
hash: string;
|
|
59341
|
+
contentLength: number;
|
|
59342
|
+
}, {
|
|
59343
|
+
url: string;
|
|
59344
|
+
updatedAt: string;
|
|
59345
|
+
hash: string;
|
|
59346
|
+
contentLength: number;
|
|
59347
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
59040
59348
|
getCustomHostname: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
59041
59349
|
/** A bare hostname (`docs.acme.com`); a scheme, path or port is rejected. */
|
|
59042
59350
|
host: z.ZodString;
|
|
@@ -63375,6 +63683,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
63375
63683
|
}[] | undefined;
|
|
63376
63684
|
maskPii?: boolean | undefined;
|
|
63377
63685
|
disclaimer?: string | undefined;
|
|
63686
|
+
buttonText?: string | undefined;
|
|
63378
63687
|
}, z.ZodTypeDef, {
|
|
63379
63688
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
63380
63689
|
systemPrompt?: string | undefined;
|
|
@@ -63385,6 +63694,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
63385
63694
|
}[] | undefined;
|
|
63386
63695
|
maskPii?: boolean | undefined;
|
|
63387
63696
|
disclaimer?: string | undefined;
|
|
63697
|
+
buttonText?: string | undefined;
|
|
63388
63698
|
}>>;
|
|
63389
63699
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
63390
63700
|
options?: {
|
|
@@ -64385,6 +64695,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
64385
64695
|
}[] | undefined;
|
|
64386
64696
|
maskPii?: boolean | undefined;
|
|
64387
64697
|
disclaimer?: string | undefined;
|
|
64698
|
+
buttonText?: string | undefined;
|
|
64388
64699
|
} | undefined;
|
|
64389
64700
|
pageActions?: {
|
|
64390
64701
|
options?: {
|
|
@@ -65332,6 +65643,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
65332
65643
|
}[] | undefined;
|
|
65333
65644
|
maskPii?: boolean | undefined;
|
|
65334
65645
|
disclaimer?: string | undefined;
|
|
65646
|
+
buttonText?: string | undefined;
|
|
65335
65647
|
} | undefined;
|
|
65336
65648
|
pageActions?: {
|
|
65337
65649
|
options?: {
|
|
@@ -67856,6 +68168,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
67856
68168
|
}[] | undefined;
|
|
67857
68169
|
maskPii?: boolean | undefined;
|
|
67858
68170
|
disclaimer?: string | undefined;
|
|
68171
|
+
buttonText?: string | undefined;
|
|
67859
68172
|
} | undefined;
|
|
67860
68173
|
pageActions?: {
|
|
67861
68174
|
options?: {
|
|
@@ -69124,6 +69437,7 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
69124
69437
|
}[] | undefined;
|
|
69125
69438
|
maskPii?: boolean | undefined;
|
|
69126
69439
|
disclaimer?: string | undefined;
|
|
69440
|
+
buttonText?: string | undefined;
|
|
69127
69441
|
} | undefined;
|
|
69128
69442
|
pageActions?: {
|
|
69129
69443
|
options?: {
|
|
@@ -86141,6 +86455,7 @@ export declare const docsLedgerReadContract: {
|
|
|
86141
86455
|
}[] | undefined;
|
|
86142
86456
|
maskPii?: boolean | undefined;
|
|
86143
86457
|
disclaimer?: string | undefined;
|
|
86458
|
+
buttonText?: string | undefined;
|
|
86144
86459
|
}, z.ZodTypeDef, {
|
|
86145
86460
|
model?: "claude-3.5" | "claude-3.7" | "claude-4" | "command-a" | undefined;
|
|
86146
86461
|
systemPrompt?: string | undefined;
|
|
@@ -86151,6 +86466,7 @@ export declare const docsLedgerReadContract: {
|
|
|
86151
86466
|
}[] | undefined;
|
|
86152
86467
|
maskPii?: boolean | undefined;
|
|
86153
86468
|
disclaimer?: string | undefined;
|
|
86469
|
+
buttonText?: string | undefined;
|
|
86154
86470
|
}>>;
|
|
86155
86471
|
pageActions: z.ZodOptional<z.ZodType<{
|
|
86156
86472
|
options?: {
|
|
@@ -87151,6 +87467,7 @@ export declare const docsLedgerReadContract: {
|
|
|
87151
87467
|
}[] | undefined;
|
|
87152
87468
|
maskPii?: boolean | undefined;
|
|
87153
87469
|
disclaimer?: string | undefined;
|
|
87470
|
+
buttonText?: string | undefined;
|
|
87154
87471
|
} | undefined;
|
|
87155
87472
|
pageActions?: {
|
|
87156
87473
|
options?: {
|
|
@@ -88098,6 +88415,7 @@ export declare const docsLedgerReadContract: {
|
|
|
88098
88415
|
}[] | undefined;
|
|
88099
88416
|
maskPii?: boolean | undefined;
|
|
88100
88417
|
disclaimer?: string | undefined;
|
|
88418
|
+
buttonText?: string | undefined;
|
|
88101
88419
|
} | undefined;
|
|
88102
88420
|
pageActions?: {
|
|
88103
88421
|
options?: {
|
|
@@ -90622,6 +90940,7 @@ export declare const docsLedgerReadContract: {
|
|
|
90622
90940
|
}[] | undefined;
|
|
90623
90941
|
maskPii?: boolean | undefined;
|
|
90624
90942
|
disclaimer?: string | undefined;
|
|
90943
|
+
buttonText?: string | undefined;
|
|
90625
90944
|
} | undefined;
|
|
90626
90945
|
pageActions?: {
|
|
90627
90946
|
options?: {
|
|
@@ -91890,6 +92209,7 @@ export declare const docsLedgerReadContract: {
|
|
|
91890
92209
|
}[] | undefined;
|
|
91891
92210
|
maskPii?: boolean | undefined;
|
|
91892
92211
|
disclaimer?: string | undefined;
|
|
92212
|
+
buttonText?: string | undefined;
|
|
91893
92213
|
} | undefined;
|
|
91894
92214
|
pageActions?: {
|
|
91895
92215
|
options?: {
|