authhero 0.99.0 → 0.99.2
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/authhero.cjs +33 -33
- package/dist/authhero.d.ts +101 -9
- package/dist/authhero.mjs +1503 -1495
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -1803,6 +1803,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1803
1803
|
export type Connection = z.infer<typeof connectionSchema>;
|
|
1804
1804
|
export declare const customDomainInsertSchema: z.ZodObject<{
|
|
1805
1805
|
domain: z.ZodString;
|
|
1806
|
+
custom_domain_id: z.ZodOptional<z.ZodString>;
|
|
1806
1807
|
type: z.ZodEnum<[
|
|
1807
1808
|
"auth0_managed_certs",
|
|
1808
1809
|
"self_managed_certs"
|
|
@@ -1824,6 +1825,7 @@ export declare const customDomainInsertSchema: z.ZodObject<{
|
|
|
1824
1825
|
}, "strip", z.ZodTypeAny, {
|
|
1825
1826
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
1826
1827
|
domain: string;
|
|
1828
|
+
custom_domain_id?: string | undefined;
|
|
1827
1829
|
verification_method?: "txt" | undefined;
|
|
1828
1830
|
tls_policy?: "recommended" | undefined;
|
|
1829
1831
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
@@ -1831,12 +1833,27 @@ export declare const customDomainInsertSchema: z.ZodObject<{
|
|
|
1831
1833
|
}, {
|
|
1832
1834
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
1833
1835
|
domain: string;
|
|
1836
|
+
custom_domain_id?: string | undefined;
|
|
1834
1837
|
verification_method?: "txt" | undefined;
|
|
1835
1838
|
tls_policy?: "recommended" | undefined;
|
|
1836
1839
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
1837
1840
|
domain_metadata?: Record<string, string> | undefined;
|
|
1838
1841
|
}>;
|
|
1839
1842
|
export type CustomDomainInsert = z.infer<typeof customDomainInsertSchema>;
|
|
1843
|
+
export declare const verificationMethodsSchema: z.ZodObject<{
|
|
1844
|
+
name: z.ZodLiteral<"txt">;
|
|
1845
|
+
record: z.ZodString;
|
|
1846
|
+
domain: z.ZodString;
|
|
1847
|
+
}, "strip", z.ZodTypeAny, {
|
|
1848
|
+
name: "txt";
|
|
1849
|
+
domain: string;
|
|
1850
|
+
record: string;
|
|
1851
|
+
}, {
|
|
1852
|
+
name: "txt";
|
|
1853
|
+
domain: string;
|
|
1854
|
+
record: string;
|
|
1855
|
+
}>;
|
|
1856
|
+
export type VerificationMethods = z.infer<typeof verificationMethodsSchema>;
|
|
1840
1857
|
export declare const customDomainSchema: z.ZodObject<{
|
|
1841
1858
|
custom_domain_id: z.ZodString;
|
|
1842
1859
|
primary: z.ZodBoolean;
|
|
@@ -1847,7 +1864,33 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1847
1864
|
"ready"
|
|
1848
1865
|
]>;
|
|
1849
1866
|
origin_domain_name: z.ZodOptional<z.ZodString>;
|
|
1850
|
-
verification: z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
1868
|
+
methods: z.ZodArray<z.ZodObject<{
|
|
1869
|
+
name: z.ZodLiteral<"txt">;
|
|
1870
|
+
record: z.ZodString;
|
|
1871
|
+
domain: z.ZodString;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
name: "txt";
|
|
1874
|
+
domain: string;
|
|
1875
|
+
record: string;
|
|
1876
|
+
}, {
|
|
1877
|
+
name: "txt";
|
|
1878
|
+
domain: string;
|
|
1879
|
+
record: string;
|
|
1880
|
+
}>, "many">;
|
|
1881
|
+
}, "strip", z.ZodTypeAny, {
|
|
1882
|
+
methods: {
|
|
1883
|
+
name: "txt";
|
|
1884
|
+
domain: string;
|
|
1885
|
+
record: string;
|
|
1886
|
+
}[];
|
|
1887
|
+
}, {
|
|
1888
|
+
methods: {
|
|
1889
|
+
name: "txt";
|
|
1890
|
+
domain: string;
|
|
1891
|
+
record: string;
|
|
1892
|
+
}[];
|
|
1893
|
+
}>>;
|
|
1851
1894
|
tls_policy: z.ZodOptional<z.ZodString>;
|
|
1852
1895
|
domain: z.ZodString;
|
|
1853
1896
|
type: z.ZodEnum<[
|
|
@@ -1876,7 +1919,13 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1876
1919
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
1877
1920
|
domain_metadata?: Record<string, string> | undefined;
|
|
1878
1921
|
origin_domain_name?: string | undefined;
|
|
1879
|
-
verification?: {
|
|
1922
|
+
verification?: {
|
|
1923
|
+
methods: {
|
|
1924
|
+
name: "txt";
|
|
1925
|
+
domain: string;
|
|
1926
|
+
record: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
} | undefined;
|
|
1880
1929
|
}, {
|
|
1881
1930
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
1882
1931
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
@@ -1888,7 +1937,13 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1888
1937
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
1889
1938
|
domain_metadata?: Record<string, string> | undefined;
|
|
1890
1939
|
origin_domain_name?: string | undefined;
|
|
1891
|
-
verification?: {
|
|
1940
|
+
verification?: {
|
|
1941
|
+
methods: {
|
|
1942
|
+
name: "txt";
|
|
1943
|
+
domain: string;
|
|
1944
|
+
record: string;
|
|
1945
|
+
}[];
|
|
1946
|
+
} | undefined;
|
|
1892
1947
|
}>;
|
|
1893
1948
|
export type CustomDomain = z.infer<typeof customDomainSchema>;
|
|
1894
1949
|
export declare const hookInsertSchema: z.ZodObject<{
|
|
@@ -6702,7 +6757,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6702
6757
|
[x: string]: string;
|
|
6703
6758
|
} | undefined;
|
|
6704
6759
|
origin_domain_name?: string | undefined;
|
|
6705
|
-
verification?: {
|
|
6760
|
+
verification?: {
|
|
6761
|
+
methods: {
|
|
6762
|
+
name: "txt";
|
|
6763
|
+
domain: string;
|
|
6764
|
+
record: string;
|
|
6765
|
+
}[];
|
|
6766
|
+
} | undefined;
|
|
6706
6767
|
}[];
|
|
6707
6768
|
outputFormat: "json" | "text";
|
|
6708
6769
|
status: 200;
|
|
@@ -6733,7 +6794,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6733
6794
|
[x: string]: string;
|
|
6734
6795
|
} | undefined;
|
|
6735
6796
|
origin_domain_name?: string | undefined;
|
|
6736
|
-
verification?: {
|
|
6797
|
+
verification?: {
|
|
6798
|
+
methods: {
|
|
6799
|
+
name: "txt";
|
|
6800
|
+
domain: string;
|
|
6801
|
+
record: string;
|
|
6802
|
+
}[];
|
|
6803
|
+
} | undefined;
|
|
6737
6804
|
};
|
|
6738
6805
|
outputFormat: "json" | "text";
|
|
6739
6806
|
status: 200;
|
|
@@ -6779,7 +6846,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6779
6846
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
6780
6847
|
domain_metadata?: Record<string, string> | undefined;
|
|
6781
6848
|
origin_domain_name?: string | undefined;
|
|
6782
|
-
verification?: {
|
|
6849
|
+
verification?: {
|
|
6850
|
+
methods: {
|
|
6851
|
+
name: "txt";
|
|
6852
|
+
domain: string;
|
|
6853
|
+
record: string;
|
|
6854
|
+
}[];
|
|
6855
|
+
} | undefined;
|
|
6783
6856
|
};
|
|
6784
6857
|
};
|
|
6785
6858
|
output: {
|
|
@@ -6795,7 +6868,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6795
6868
|
[x: string]: string;
|
|
6796
6869
|
} | undefined;
|
|
6797
6870
|
origin_domain_name?: string | undefined;
|
|
6798
|
-
verification?: {
|
|
6871
|
+
verification?: {
|
|
6872
|
+
methods: {
|
|
6873
|
+
name: "txt";
|
|
6874
|
+
domain: string;
|
|
6875
|
+
record: string;
|
|
6876
|
+
}[];
|
|
6877
|
+
} | undefined;
|
|
6799
6878
|
};
|
|
6800
6879
|
outputFormat: "json" | "text";
|
|
6801
6880
|
status: 200;
|
|
@@ -6812,6 +6891,7 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6812
6891
|
json: {
|
|
6813
6892
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
6814
6893
|
domain: string;
|
|
6894
|
+
custom_domain_id?: string | undefined;
|
|
6815
6895
|
verification_method?: "txt" | undefined;
|
|
6816
6896
|
tls_policy?: "recommended" | undefined;
|
|
6817
6897
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
@@ -6831,7 +6911,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6831
6911
|
[x: string]: string;
|
|
6832
6912
|
} | undefined;
|
|
6833
6913
|
origin_domain_name?: string | undefined;
|
|
6834
|
-
verification?: {
|
|
6914
|
+
verification?: {
|
|
6915
|
+
methods: {
|
|
6916
|
+
name: "txt";
|
|
6917
|
+
domain: string;
|
|
6918
|
+
record: string;
|
|
6919
|
+
}[];
|
|
6920
|
+
} | undefined;
|
|
6835
6921
|
};
|
|
6836
6922
|
outputFormat: "json" | "text";
|
|
6837
6923
|
status: 201;
|
|
@@ -6862,7 +6948,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6862
6948
|
[x: string]: string;
|
|
6863
6949
|
} | undefined;
|
|
6864
6950
|
origin_domain_name?: string | undefined;
|
|
6865
|
-
verification?: {
|
|
6951
|
+
verification?: {
|
|
6952
|
+
methods: {
|
|
6953
|
+
name: "txt";
|
|
6954
|
+
domain: string;
|
|
6955
|
+
record: string;
|
|
6956
|
+
}[];
|
|
6957
|
+
} | undefined;
|
|
6866
6958
|
};
|
|
6867
6959
|
outputFormat: "json" | "text";
|
|
6868
6960
|
status: 200;
|