authhero 0.99.1 → 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 +97 -9
- package/dist/authhero.mjs +1502 -1495
- package/package.json +3 -3
package/dist/authhero.d.ts
CHANGED
|
@@ -1840,6 +1840,20 @@ export declare const customDomainInsertSchema: z.ZodObject<{
|
|
|
1840
1840
|
domain_metadata?: Record<string, string> | undefined;
|
|
1841
1841
|
}>;
|
|
1842
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>;
|
|
1843
1857
|
export declare const customDomainSchema: z.ZodObject<{
|
|
1844
1858
|
custom_domain_id: z.ZodString;
|
|
1845
1859
|
primary: z.ZodBoolean;
|
|
@@ -1850,7 +1864,33 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1850
1864
|
"ready"
|
|
1851
1865
|
]>;
|
|
1852
1866
|
origin_domain_name: z.ZodOptional<z.ZodString>;
|
|
1853
|
-
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
|
+
}>>;
|
|
1854
1894
|
tls_policy: z.ZodOptional<z.ZodString>;
|
|
1855
1895
|
domain: z.ZodString;
|
|
1856
1896
|
type: z.ZodEnum<[
|
|
@@ -1879,7 +1919,13 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1879
1919
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
1880
1920
|
domain_metadata?: Record<string, string> | undefined;
|
|
1881
1921
|
origin_domain_name?: string | undefined;
|
|
1882
|
-
verification?: {
|
|
1922
|
+
verification?: {
|
|
1923
|
+
methods: {
|
|
1924
|
+
name: "txt";
|
|
1925
|
+
domain: string;
|
|
1926
|
+
record: string;
|
|
1927
|
+
}[];
|
|
1928
|
+
} | undefined;
|
|
1883
1929
|
}, {
|
|
1884
1930
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
1885
1931
|
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
@@ -1891,7 +1937,13 @@ export declare const customDomainSchema: z.ZodObject<{
|
|
|
1891
1937
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
1892
1938
|
domain_metadata?: Record<string, string> | undefined;
|
|
1893
1939
|
origin_domain_name?: string | undefined;
|
|
1894
|
-
verification?: {
|
|
1940
|
+
verification?: {
|
|
1941
|
+
methods: {
|
|
1942
|
+
name: "txt";
|
|
1943
|
+
domain: string;
|
|
1944
|
+
record: string;
|
|
1945
|
+
}[];
|
|
1946
|
+
} | undefined;
|
|
1895
1947
|
}>;
|
|
1896
1948
|
export type CustomDomain = z.infer<typeof customDomainSchema>;
|
|
1897
1949
|
export declare const hookInsertSchema: z.ZodObject<{
|
|
@@ -6705,7 +6757,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6705
6757
|
[x: string]: string;
|
|
6706
6758
|
} | undefined;
|
|
6707
6759
|
origin_domain_name?: string | undefined;
|
|
6708
|
-
verification?: {
|
|
6760
|
+
verification?: {
|
|
6761
|
+
methods: {
|
|
6762
|
+
name: "txt";
|
|
6763
|
+
domain: string;
|
|
6764
|
+
record: string;
|
|
6765
|
+
}[];
|
|
6766
|
+
} | undefined;
|
|
6709
6767
|
}[];
|
|
6710
6768
|
outputFormat: "json" | "text";
|
|
6711
6769
|
status: 200;
|
|
@@ -6736,7 +6794,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6736
6794
|
[x: string]: string;
|
|
6737
6795
|
} | undefined;
|
|
6738
6796
|
origin_domain_name?: string | undefined;
|
|
6739
|
-
verification?: {
|
|
6797
|
+
verification?: {
|
|
6798
|
+
methods: {
|
|
6799
|
+
name: "txt";
|
|
6800
|
+
domain: string;
|
|
6801
|
+
record: string;
|
|
6802
|
+
}[];
|
|
6803
|
+
} | undefined;
|
|
6740
6804
|
};
|
|
6741
6805
|
outputFormat: "json" | "text";
|
|
6742
6806
|
status: 200;
|
|
@@ -6782,7 +6846,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6782
6846
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
6783
6847
|
domain_metadata?: Record<string, string> | undefined;
|
|
6784
6848
|
origin_domain_name?: string | undefined;
|
|
6785
|
-
verification?: {
|
|
6849
|
+
verification?: {
|
|
6850
|
+
methods: {
|
|
6851
|
+
name: "txt";
|
|
6852
|
+
domain: string;
|
|
6853
|
+
record: string;
|
|
6854
|
+
}[];
|
|
6855
|
+
} | undefined;
|
|
6786
6856
|
};
|
|
6787
6857
|
};
|
|
6788
6858
|
output: {
|
|
@@ -6798,7 +6868,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6798
6868
|
[x: string]: string;
|
|
6799
6869
|
} | undefined;
|
|
6800
6870
|
origin_domain_name?: string | undefined;
|
|
6801
|
-
verification?: {
|
|
6871
|
+
verification?: {
|
|
6872
|
+
methods: {
|
|
6873
|
+
name: "txt";
|
|
6874
|
+
domain: string;
|
|
6875
|
+
record: string;
|
|
6876
|
+
}[];
|
|
6877
|
+
} | undefined;
|
|
6802
6878
|
};
|
|
6803
6879
|
outputFormat: "json" | "text";
|
|
6804
6880
|
status: 200;
|
|
@@ -6835,7 +6911,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6835
6911
|
[x: string]: string;
|
|
6836
6912
|
} | undefined;
|
|
6837
6913
|
origin_domain_name?: string | undefined;
|
|
6838
|
-
verification?: {
|
|
6914
|
+
verification?: {
|
|
6915
|
+
methods: {
|
|
6916
|
+
name: "txt";
|
|
6917
|
+
domain: string;
|
|
6918
|
+
record: string;
|
|
6919
|
+
}[];
|
|
6920
|
+
} | undefined;
|
|
6839
6921
|
};
|
|
6840
6922
|
outputFormat: "json" | "text";
|
|
6841
6923
|
status: 201;
|
|
@@ -6866,7 +6948,13 @@ export declare function init(config: AuthHeroConfig): {
|
|
|
6866
6948
|
[x: string]: string;
|
|
6867
6949
|
} | undefined;
|
|
6868
6950
|
origin_domain_name?: string | undefined;
|
|
6869
|
-
verification?: {
|
|
6951
|
+
verification?: {
|
|
6952
|
+
methods: {
|
|
6953
|
+
name: "txt";
|
|
6954
|
+
domain: string;
|
|
6955
|
+
record: string;
|
|
6956
|
+
}[];
|
|
6957
|
+
} | undefined;
|
|
6870
6958
|
};
|
|
6871
6959
|
outputFormat: "json" | "text";
|
|
6872
6960
|
status: 200;
|