@@ -8,6 +8,48 @@ export interface ActionsDraftUpdate {
88 */
99 update_draft?: boolean;
1010}
11+ /**
12+ * Certificate information. This object is relevant only for Custom Domains with Auth0-Managed Certificates.
13+ */
14+ export interface Certificate {
15+ /**
16+ * The provisioning status of the certificate.
17+ *
18+ */
19+ status?: CertificateStatusEnum;
20+ /**
21+ * A user-friendly error message will be presented if the certificate status is provisioning_failed or renewing_failed.
22+ *
23+ */
24+ error_msg?: string;
25+ /**
26+ * The Certificate Authority issued the certificate.
27+ *
28+ */
29+ certificate_authority?: CertificateCertificateAuthorityEnum;
30+ /**
31+ * The certificate will be renewed prior to this date.
32+ *
33+ */
34+ renews_before?: string;
35+ }
36+
37+ export const CertificateStatusEnum = {
38+ provisioning: 'provisioning',
39+ provisioning_failed: 'provisioning_failed',
40+ provisioned: 'provisioned',
41+ renewing_failed: 'renewing_failed',
42+ } as const;
43+ export type CertificateStatusEnum =
44+ (typeof CertificateStatusEnum)[keyof typeof CertificateStatusEnum];
45+
46+ export const CertificateCertificateAuthorityEnum = {
47+ letsencrypt: 'letsencrypt',
48+ googletrust: 'googletrust',
49+ } as const;
50+ export type CertificateCertificateAuthorityEnum =
51+ (typeof CertificateCertificateAuthorityEnum)[keyof typeof CertificateCertificateAuthorityEnum];
52+
1153/**
1254 *
1355 */
@@ -3776,6 +3818,14 @@ export interface CustomDomain {
37763818 *
37773819 */
37783820 tls_policy?: string;
3821+ /**
3822+ * Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
3823+ *
3824+ */
3825+ domain_metadata?: { [key: string]: any };
3826+ /**
3827+ */
3828+ certificate?: Certificate;
37793829}
37803830
37813831export const CustomDomainStatusEnum = {
@@ -9838,7 +9888,7 @@ export interface PatchCredentialsByCredentialIdRequest {
98389888 */
98399889export interface PatchCustomDomainsByIdRequest {
98409890 /**
9841- * compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2
9891+ * recommended includes TLS 1.2
98429892 *
98439893 */
98449894 tls_policy?: PatchCustomDomainsByIdRequestTlsPolicyEnum;
@@ -9847,11 +9897,15 @@ export interface PatchCustomDomainsByIdRequest {
98479897 *
98489898 */
98499899 custom_client_ip_header?: PatchCustomDomainsByIdRequestCustomClientIpHeaderEnum;
9900+ /**
9901+ * Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
9902+ *
9903+ */
9904+ domain_metadata?: { [key: string]: any };
98509905}
98519906
98529907export const PatchCustomDomainsByIdRequestTlsPolicyEnum = {
98539908 recommended: 'recommended',
9854- compatible: 'compatible',
98559909} as const;
98569910export type PatchCustomDomainsByIdRequestTlsPolicyEnum =
98579911 (typeof PatchCustomDomainsByIdRequestTlsPolicyEnum)[keyof typeof PatchCustomDomainsByIdRequestTlsPolicyEnum];
@@ -11198,6 +11252,14 @@ export interface PostCustomDomains201Response {
1119811252 *
1119911253 */
1120011254 tls_policy?: string;
11255+ /**
11256+ * Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
11257+ *
11258+ */
11259+ domain_metadata?: { [key: string]: any };
11260+ /**
11261+ */
11262+ certificate?: Certificate;
1120111263}
1120211264
1120311265export const PostCustomDomains201ResponseStatusEnum = {
@@ -11225,7 +11287,31 @@ export interface PostCustomDomains201ResponseVerification {
1122511287 *
1122611288 */
1122711289 methods?: Array<PostCustomDomains201ResponseVerificationMethodsInner>;
11290+ /**
11291+ * The DNS record verification status. This field is relevant only for Custom Domains with Auth0-Managed Certificates.
11292+ *
11293+ */
11294+ status?: PostCustomDomains201ResponseVerificationStatusEnum;
11295+ /**
11296+ * The user0-friendly error message in case of failed verification. This field is relevant only for Custom Domains with Auth0-Managed Certificates.
11297+ *
11298+ */
11299+ error_msg?: string;
11300+ /**
11301+ * The date and time when the custom domain was last verified. This field is relevant only for Custom Domains with Auth0-Managed Certificates.
11302+ *
11303+ */
11304+ last_verified_at?: string;
1122811305}
11306+
11307+ export const PostCustomDomains201ResponseVerificationStatusEnum = {
11308+ verified: 'verified',
11309+ pending: 'pending',
11310+ failed: 'failed',
11311+ } as const;
11312+ export type PostCustomDomains201ResponseVerificationStatusEnum =
11313+ (typeof PostCustomDomains201ResponseVerificationStatusEnum)[keyof typeof PostCustomDomains201ResponseVerificationStatusEnum];
11314+
1122911315/**
1123011316 *
1123111317 */
@@ -11274,7 +11360,7 @@ export interface PostCustomDomainsRequest {
1127411360 */
1127511361 verification_method?: PostCustomDomainsRequestVerificationMethodEnum;
1127611362 /**
11277- * compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2
11363+ * Custom domain TLS policy. Must be ` recommended`, includes TLS 1.2.
1127811364 *
1127911365 */
1128011366 tls_policy?: PostCustomDomainsRequestTlsPolicyEnum;
@@ -11283,6 +11369,11 @@ export interface PostCustomDomainsRequest {
1128311369 *
1128411370 */
1128511371 custom_client_ip_header?: PostCustomDomainsRequestCustomClientIpHeaderEnum;
11372+ /**
11373+ * Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
11374+ *
11375+ */
11376+ domain_metadata?: { [key: string]: any };
1128611377}
1128711378
1128811379export const PostCustomDomainsRequestTypeEnum = {
@@ -11300,7 +11391,6 @@ export type PostCustomDomainsRequestVerificationMethodEnum =
1130011391
1130111392export const PostCustomDomainsRequestTlsPolicyEnum = {
1130211393 recommended: 'recommended',
11303- compatible: 'compatible',
1130411394} as const;
1130511395export type PostCustomDomainsRequestTlsPolicyEnum =
1130611396 (typeof PostCustomDomainsRequestTlsPolicyEnum)[keyof typeof PostCustomDomainsRequestTlsPolicyEnum];
@@ -15056,6 +15146,14 @@ export interface PostVerify200Response {
1505615146 *
1505715147 */
1505815148 tls_policy?: string;
15149+ /**
15150+ * Domain metadata associated with the custom domain, in the form of an object with string values (max 255 chars). Maximum of 10 domain metadata properties allowed.
15151+ *
15152+ */
15153+ domain_metadata?: { [key: string]: any };
15154+ /**
15155+ */
15156+ certificate?: Certificate;
1505915157}
1506015158
1506115159export const PostVerify200ResponseStatusEnum = {
@@ -18872,6 +18970,16 @@ export interface GetCustomDomainsRequest {
1887218970 *
1887318971 */
1887418972 from?: string;
18973+ /**
18974+ * Optional filter on domain_metadata.
18975+ *
18976+ */
18977+ domain_metadata_filter?: string;
18978+ /**
18979+ * Optional filter on domain_name.
18980+ *
18981+ */
18982+ domain_name_filter?: string;
1887518983}
1887618984/**
1887718985 *
0 commit comments