@apollo-deploy/signal-schemas 1.0.0 → 1.1.0
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/.tsbuildinfo +1 -1
- package/dist/definitions/domains/domain.schema.d.ts +10 -10
- package/dist/definitions/domains/request.schema.d.ts +4 -0
- package/dist/definitions/domains/request.schema.d.ts.map +1 -1
- package/dist/definitions/domains/request.schema.js +4 -0
- package/dist/definitions/domains/request.schema.js.map +1 -1
- package/dist/definitions/domains/response.schema.d.ts +36 -36
- package/dist/definitions/emails/domain.schema.d.ts +1 -1
- package/dist/definitions/emails/request.schema.d.ts +1 -1
- package/dist/definitions/emails/response.schema.d.ts +32 -2
- package/dist/definitions/emails/response.schema.d.ts.map +1 -1
- package/dist/definitions/emails/response.schema.js +14 -0
- package/dist/definitions/emails/response.schema.js.map +1 -1
- package/dist/definitions/index.d.ts +1 -0
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +1 -0
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/migrations/index.d.ts +3 -0
- package/dist/definitions/migrations/index.d.ts.map +1 -0
- package/dist/definitions/migrations/index.js +3 -0
- package/dist/definitions/migrations/index.js.map +1 -0
- package/dist/definitions/migrations/request.schema.d.ts +10 -0
- package/dist/definitions/migrations/request.schema.d.ts.map +1 -0
- package/dist/definitions/migrations/request.schema.js +10 -0
- package/dist/definitions/migrations/request.schema.js.map +1 -0
- package/dist/definitions/migrations/response.schema.d.ts +18 -0
- package/dist/definitions/migrations/response.schema.d.ts.map +1 -0
- package/dist/definitions/migrations/response.schema.js +18 -0
- package/dist/definitions/migrations/response.schema.js.map +1 -0
- package/dist/definitions/projects/domain.schema.d.ts +2 -2
- package/dist/definitions/projects/request.schema.d.ts +1 -1
- package/dist/definitions/projects/response.schema.d.ts +3 -3
- package/dist/definitions/signal-email/domain.schema.d.ts +2 -2
- package/dist/definitions/signal-email/response.schema.d.ts +2 -2
- package/dist/definitions/signal-projects/domain.schema.d.ts +6 -6
- package/dist/definitions/signal-projects/request.schema.d.ts +2 -2
- package/dist/definitions/signal-projects/response.schema.d.ts +20 -20
- package/dist/definitions/webhooks/domain.schema.d.ts +1 -1
- package/dist/definitions/webhooks/response.schema.d.ts +1 -1
- package/package.json +7 -3
- package/dist/definitions/deliverability/deliverability.schema.d.ts +0 -98
- package/dist/definitions/deliverability/deliverability.schema.d.ts.map +0 -1
- package/dist/definitions/deliverability/deliverability.schema.js +0 -77
- package/dist/definitions/deliverability/schemas.d.ts +0 -91
- package/dist/definitions/deliverability/schemas.d.ts.map +0 -1
- package/dist/definitions/deliverability/schemas.js +0 -67
- package/dist/definitions/domains/domains.schema.d.ts +0 -668
- package/dist/definitions/domains/domains.schema.d.ts.map +0 -1
- package/dist/definitions/domains/domains.schema.js +0 -113
- package/dist/definitions/domains/schemas.d.ts +0 -545
- package/dist/definitions/domains/schemas.d.ts.map +0 -1
- package/dist/definitions/domains/schemas.js +0 -110
- package/dist/definitions/emails/emails.schema.d.ts +0 -230
- package/dist/definitions/emails/emails.schema.d.ts.map +0 -1
- package/dist/definitions/emails/emails.schema.js +0 -176
- package/dist/definitions/emails/schemas.d.ts +0 -284
- package/dist/definitions/emails/schemas.d.ts.map +0 -1
- package/dist/definitions/emails/schemas.js +0 -227
- package/dist/definitions/health/health.schema.d.ts +0 -27
- package/dist/definitions/health/health.schema.d.ts.map +0 -1
- package/dist/definitions/health/health.schema.js +0 -23
- package/dist/definitions/health/schemas.d.ts +0 -30
- package/dist/definitions/health/schemas.d.ts.map +0 -1
- package/dist/definitions/health/schemas.js +0 -23
- package/dist/definitions/projects/projects.schema.d.ts +0 -8
- package/dist/definitions/projects/projects.schema.d.ts.map +0 -1
- package/dist/definitions/projects/projects.schema.js +0 -23
- package/dist/definitions/projects/schemas.d.ts +0 -114
- package/dist/definitions/projects/schemas.d.ts.map +0 -1
- package/dist/definitions/projects/schemas.js +0 -87
- package/dist/definitions/suppressions/schemas.d.ts +0 -90
- package/dist/definitions/suppressions/schemas.d.ts.map +0 -1
- package/dist/definitions/suppressions/schemas.js +0 -68
- package/dist/definitions/suppressions/suppressions.schema.d.ts +0 -79
- package/dist/definitions/suppressions/suppressions.schema.d.ts.map +0 -1
- package/dist/definitions/suppressions/suppressions.schema.js +0 -63
- package/dist/definitions/templates/schemas.d.ts +0 -113
- package/dist/definitions/templates/schemas.d.ts.map +0 -1
- package/dist/definitions/templates/schemas.js +0 -80
- package/dist/definitions/usage/schemas.d.ts +0 -156
- package/dist/definitions/usage/schemas.d.ts.map +0 -1
- package/dist/definitions/usage/schemas.js +0 -83
- package/dist/definitions/usage/usage.schema.d.ts +0 -140
- package/dist/definitions/usage/usage.schema.d.ts.map +0 -1
- package/dist/definitions/usage/usage.schema.js +0 -77
- package/dist/definitions/webhooks/schemas.d.ts +0 -145
- package/dist/definitions/webhooks/schemas.d.ts.map +0 -1
- package/dist/definitions/webhooks/schemas.js +0 -97
- package/dist/definitions/webhooks/webhooks.schema.d.ts +0 -152
- package/dist/definitions/webhooks/webhooks.schema.d.ts.map +0 -1
- package/dist/definitions/webhooks/webhooks.schema.js +0 -96
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Apollo Signal — Domains Schemas
|
|
4
|
-
*
|
|
5
|
-
* Request, response and domain schemas for the Signal sending domain API.
|
|
6
|
-
*
|
|
7
|
-
* Subpath: @apollo-deploy/signal-schemas/domains
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.DomainListResponseSchema = exports.DomainVerifyResponseSchema = exports.DomainDnsCheckSchema = exports.DkimDnsCheckRecordSchema = exports.DomainResponseSchema = exports.ListDomainsQuerySchema = exports.DomainIdParamSchema = exports.RegisterDomainBodySchema = exports.VerificationRecordsSchema = exports.VerificationRecordSchema = exports.BimiStatusSchema = exports.DomainSubStatusSchema = exports.DomainStatusSchema = void 0;
|
|
11
|
-
var zod_1 = require("zod");
|
|
12
|
-
// ---------------------------------------------------------------------------
|
|
13
|
-
// Domain status enums
|
|
14
|
-
// ---------------------------------------------------------------------------
|
|
15
|
-
exports.DomainStatusSchema = zod_1.z.enum([
|
|
16
|
-
'pending', 'verified', 'failed', 'deleted', 'degraded',
|
|
17
|
-
]);
|
|
18
|
-
exports.DomainSubStatusSchema = zod_1.z.enum([
|
|
19
|
-
'pending', 'verified', 'failed', 'missing',
|
|
20
|
-
'monitor', 'quarantine', 'reject', 'unknown',
|
|
21
|
-
]);
|
|
22
|
-
exports.BimiStatusSchema = zod_1.z.enum([
|
|
23
|
-
'unknown', 'pending', 'verified', 'failed', 'not_applicable',
|
|
24
|
-
]);
|
|
25
|
-
// ---------------------------------------------------------------------------
|
|
26
|
-
// DNS verification records
|
|
27
|
-
// ---------------------------------------------------------------------------
|
|
28
|
-
exports.VerificationRecordSchema = zod_1.z.object({
|
|
29
|
-
name: zod_1.z.string(),
|
|
30
|
-
type: zod_1.z.string(),
|
|
31
|
-
value: zod_1.z.string(),
|
|
32
|
-
priority: zod_1.z.number().int().optional(),
|
|
33
|
-
optional: zod_1.z.boolean().optional(),
|
|
34
|
-
status: zod_1.z.enum([
|
|
35
|
-
'pending', 'verified', 'failed', 'missing',
|
|
36
|
-
'monitor', 'quarantine', 'reject', 'unknown', 'not_applicable',
|
|
37
|
-
]).optional(),
|
|
38
|
-
});
|
|
39
|
-
exports.VerificationRecordsSchema = zod_1.z.object({
|
|
40
|
-
dkim: zod_1.z.array(exports.VerificationRecordSchema).optional(),
|
|
41
|
-
mailFromMx: exports.VerificationRecordSchema.optional(),
|
|
42
|
-
mailFromSpf: exports.VerificationRecordSchema.optional(),
|
|
43
|
-
dmarcRecommended: exports.VerificationRecordSchema.optional(),
|
|
44
|
-
bimi: exports.VerificationRecordSchema.optional(),
|
|
45
|
-
});
|
|
46
|
-
// ---------------------------------------------------------------------------
|
|
47
|
-
// Request schemas
|
|
48
|
-
// ---------------------------------------------------------------------------
|
|
49
|
-
exports.RegisterDomainBodySchema = zod_1.z.object({
|
|
50
|
-
domain: zod_1.z.string().min(1).max(253),
|
|
51
|
-
region: zod_1.z.enum(['us-east-1', 'af-south-1', 'eu-west-1', 'ap-southeast-1']),
|
|
52
|
-
});
|
|
53
|
-
exports.DomainIdParamSchema = zod_1.z.object({
|
|
54
|
-
projectId: zod_1.z.string().min(1),
|
|
55
|
-
domainId: zod_1.z.string().min(1),
|
|
56
|
-
});
|
|
57
|
-
exports.ListDomainsQuerySchema = zod_1.z.object({
|
|
58
|
-
limit: zod_1.z.coerce.number().int().min(1).max(100).default(25),
|
|
59
|
-
cursor: zod_1.z.string().optional(),
|
|
60
|
-
});
|
|
61
|
-
// ---------------------------------------------------------------------------
|
|
62
|
-
// Response schemas
|
|
63
|
-
// ---------------------------------------------------------------------------
|
|
64
|
-
exports.DomainResponseSchema = zod_1.z.object({
|
|
65
|
-
id: zod_1.z.string(),
|
|
66
|
-
projectId: zod_1.z.string(),
|
|
67
|
-
domain: zod_1.z.string(),
|
|
68
|
-
region: zod_1.z.string(),
|
|
69
|
-
status: exports.DomainStatusSchema,
|
|
70
|
-
dkimStatus: exports.DomainSubStatusSchema,
|
|
71
|
-
spfStatus: exports.DomainSubStatusSchema,
|
|
72
|
-
dmarcStatus: exports.DomainSubStatusSchema,
|
|
73
|
-
mailFromStatus: exports.DomainSubStatusSchema,
|
|
74
|
-
mailFromDomain: zod_1.z.string(),
|
|
75
|
-
verificationRecords: exports.VerificationRecordsSchema,
|
|
76
|
-
bimiStatus: exports.BimiStatusSchema,
|
|
77
|
-
bimiLogoUrl: zod_1.z.string().nullable(),
|
|
78
|
-
createdAt: zod_1.z.string().datetime(),
|
|
79
|
-
updatedAt: zod_1.z.string().datetime(),
|
|
80
|
-
verifiedAt: zod_1.z.string().datetime().nullable(),
|
|
81
|
-
});
|
|
82
|
-
exports.DkimDnsCheckRecordSchema = zod_1.z.object({
|
|
83
|
-
name: zod_1.z.string(),
|
|
84
|
-
found: zod_1.z.boolean(),
|
|
85
|
-
resolvedValue: zod_1.z.string().nullable(),
|
|
86
|
-
});
|
|
87
|
-
exports.DomainDnsCheckSchema = zod_1.z.object({
|
|
88
|
-
dkimRecordsDetected: zod_1.z.boolean(),
|
|
89
|
-
dkimRecords: zod_1.z.array(exports.DkimDnsCheckRecordSchema),
|
|
90
|
-
});
|
|
91
|
-
exports.DomainVerifyResponseSchema = exports.DomainResponseSchema.extend({
|
|
92
|
-
dnsCheck: exports.DomainDnsCheckSchema,
|
|
93
|
-
});
|
|
94
|
-
exports.DomainListResponseSchema = zod_1.z.object({
|
|
95
|
-
data: zod_1.z.array(exports.DomainResponseSchema),
|
|
96
|
-
nextCursor: zod_1.z.string().nullable(),
|
|
97
|
-
});
|
|
98
|
-
// ---------------------------------------------------------------------------
|
|
99
|
-
// Schema registry — promotes types to OpenAPI components/schemas
|
|
100
|
-
// ---------------------------------------------------------------------------
|
|
101
|
-
zod_1.z.globalRegistry.add(exports.DomainStatusSchema, { id: 'DomainStatus' });
|
|
102
|
-
zod_1.z.globalRegistry.add(exports.DomainSubStatusSchema, { id: 'DomainSubStatus' });
|
|
103
|
-
zod_1.z.globalRegistry.add(exports.BimiStatusSchema, { id: 'BimiStatus' });
|
|
104
|
-
zod_1.z.globalRegistry.add(exports.VerificationRecordSchema, { id: 'VerificationRecord' });
|
|
105
|
-
zod_1.z.globalRegistry.add(exports.VerificationRecordsSchema, { id: 'VerificationRecords' });
|
|
106
|
-
zod_1.z.globalRegistry.add(exports.RegisterDomainBodySchema, { id: 'RegisterDomainBody' });
|
|
107
|
-
zod_1.z.globalRegistry.add(exports.DomainIdParamSchema, { id: 'DomainIdParam' });
|
|
108
|
-
zod_1.z.globalRegistry.add(exports.ListDomainsQuerySchema, { id: 'ListDomainsQuery' });
|
|
109
|
-
zod_1.z.globalRegistry.add(exports.DomainResponseSchema, { id: 'DomainResponse' });
|
|
110
|
-
zod_1.z.globalRegistry.add(exports.DkimDnsCheckRecordSchema, { id: 'DkimDnsCheckRecord' });
|
|
111
|
-
zod_1.z.globalRegistry.add(exports.DomainDnsCheckSchema, { id: 'DomainDnsCheck' });
|
|
112
|
-
zod_1.z.globalRegistry.add(exports.DomainVerifyResponseSchema, { id: 'DomainVerifyResponse' });
|
|
113
|
-
zod_1.z.globalRegistry.add(exports.DomainListResponseSchema, { id: 'DomainListResponse' });
|
|
@@ -1,545 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Apollo Signal — Internal domain (sending domain) schemas.
|
|
3
|
-
*
|
|
4
|
-
* Zod schemas for domain register/verify/list requests and domain response.
|
|
5
|
-
* Internal only — MUST NOT be exported to shared packages.
|
|
6
|
-
*
|
|
7
|
-
* Design §5.3 ; Requirements §3, §4
|
|
8
|
-
*/
|
|
9
|
-
import { z } from "zod";
|
|
10
|
-
export declare const RegisterDomainBodySchema: z.ZodObject<{
|
|
11
|
-
domain: z.ZodString;
|
|
12
|
-
region: z.ZodEnum<{
|
|
13
|
-
"us-east-1": "us-east-1";
|
|
14
|
-
"af-south-1": "af-south-1";
|
|
15
|
-
"eu-west-1": "eu-west-1";
|
|
16
|
-
"ap-southeast-1": "ap-southeast-1";
|
|
17
|
-
}>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
export declare const DomainIdParamSchema: z.ZodObject<{
|
|
20
|
-
projectId: z.ZodString;
|
|
21
|
-
domainId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export declare const ListDomainsQuerySchema: z.ZodObject<{
|
|
24
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
25
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
26
|
-
}, z.core.$strip>;
|
|
27
|
-
export declare const DomainResponseSchema: z.ZodObject<{
|
|
28
|
-
id: z.ZodString;
|
|
29
|
-
projectId: z.ZodString;
|
|
30
|
-
domain: z.ZodString;
|
|
31
|
-
region: z.ZodString;
|
|
32
|
-
status: z.ZodEnum<{
|
|
33
|
-
pending: "pending";
|
|
34
|
-
verified: "verified";
|
|
35
|
-
failed: "failed";
|
|
36
|
-
deleted: "deleted";
|
|
37
|
-
degraded: "degraded";
|
|
38
|
-
}>;
|
|
39
|
-
dkimStatus: z.ZodEnum<{
|
|
40
|
-
unknown: "unknown";
|
|
41
|
-
pending: "pending";
|
|
42
|
-
verified: "verified";
|
|
43
|
-
failed: "failed";
|
|
44
|
-
missing: "missing";
|
|
45
|
-
monitor: "monitor";
|
|
46
|
-
quarantine: "quarantine";
|
|
47
|
-
reject: "reject";
|
|
48
|
-
}>;
|
|
49
|
-
spfStatus: z.ZodEnum<{
|
|
50
|
-
unknown: "unknown";
|
|
51
|
-
pending: "pending";
|
|
52
|
-
verified: "verified";
|
|
53
|
-
failed: "failed";
|
|
54
|
-
missing: "missing";
|
|
55
|
-
monitor: "monitor";
|
|
56
|
-
quarantine: "quarantine";
|
|
57
|
-
reject: "reject";
|
|
58
|
-
}>;
|
|
59
|
-
dmarcStatus: z.ZodEnum<{
|
|
60
|
-
unknown: "unknown";
|
|
61
|
-
pending: "pending";
|
|
62
|
-
verified: "verified";
|
|
63
|
-
failed: "failed";
|
|
64
|
-
missing: "missing";
|
|
65
|
-
monitor: "monitor";
|
|
66
|
-
quarantine: "quarantine";
|
|
67
|
-
reject: "reject";
|
|
68
|
-
}>;
|
|
69
|
-
mailFromStatus: z.ZodEnum<{
|
|
70
|
-
unknown: "unknown";
|
|
71
|
-
pending: "pending";
|
|
72
|
-
verified: "verified";
|
|
73
|
-
failed: "failed";
|
|
74
|
-
missing: "missing";
|
|
75
|
-
monitor: "monitor";
|
|
76
|
-
quarantine: "quarantine";
|
|
77
|
-
reject: "reject";
|
|
78
|
-
}>;
|
|
79
|
-
mailFromDomain: z.ZodString;
|
|
80
|
-
verificationRecords: z.ZodObject<{
|
|
81
|
-
dkim: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
|
-
name: z.ZodString;
|
|
83
|
-
type: z.ZodString;
|
|
84
|
-
value: z.ZodString;
|
|
85
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
86
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
88
|
-
unknown: "unknown";
|
|
89
|
-
pending: "pending";
|
|
90
|
-
verified: "verified";
|
|
91
|
-
failed: "failed";
|
|
92
|
-
missing: "missing";
|
|
93
|
-
monitor: "monitor";
|
|
94
|
-
quarantine: "quarantine";
|
|
95
|
-
reject: "reject";
|
|
96
|
-
not_applicable: "not_applicable";
|
|
97
|
-
}>>;
|
|
98
|
-
}, z.core.$strip>>>;
|
|
99
|
-
mailFromMx: z.ZodOptional<z.ZodObject<{
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
type: z.ZodString;
|
|
102
|
-
value: z.ZodString;
|
|
103
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
106
|
-
unknown: "unknown";
|
|
107
|
-
pending: "pending";
|
|
108
|
-
verified: "verified";
|
|
109
|
-
failed: "failed";
|
|
110
|
-
missing: "missing";
|
|
111
|
-
monitor: "monitor";
|
|
112
|
-
quarantine: "quarantine";
|
|
113
|
-
reject: "reject";
|
|
114
|
-
not_applicable: "not_applicable";
|
|
115
|
-
}>>;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
mailFromSpf: z.ZodOptional<z.ZodObject<{
|
|
118
|
-
name: z.ZodString;
|
|
119
|
-
type: z.ZodString;
|
|
120
|
-
value: z.ZodString;
|
|
121
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
122
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
124
|
-
unknown: "unknown";
|
|
125
|
-
pending: "pending";
|
|
126
|
-
verified: "verified";
|
|
127
|
-
failed: "failed";
|
|
128
|
-
missing: "missing";
|
|
129
|
-
monitor: "monitor";
|
|
130
|
-
quarantine: "quarantine";
|
|
131
|
-
reject: "reject";
|
|
132
|
-
not_applicable: "not_applicable";
|
|
133
|
-
}>>;
|
|
134
|
-
}, z.core.$strip>>;
|
|
135
|
-
dmarcRecommended: z.ZodOptional<z.ZodObject<{
|
|
136
|
-
name: z.ZodString;
|
|
137
|
-
type: z.ZodString;
|
|
138
|
-
value: z.ZodString;
|
|
139
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
140
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
142
|
-
unknown: "unknown";
|
|
143
|
-
pending: "pending";
|
|
144
|
-
verified: "verified";
|
|
145
|
-
failed: "failed";
|
|
146
|
-
missing: "missing";
|
|
147
|
-
monitor: "monitor";
|
|
148
|
-
quarantine: "quarantine";
|
|
149
|
-
reject: "reject";
|
|
150
|
-
not_applicable: "not_applicable";
|
|
151
|
-
}>>;
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
bimi: z.ZodOptional<z.ZodObject<{
|
|
154
|
-
name: z.ZodString;
|
|
155
|
-
type: z.ZodString;
|
|
156
|
-
value: z.ZodString;
|
|
157
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
158
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
160
|
-
unknown: "unknown";
|
|
161
|
-
pending: "pending";
|
|
162
|
-
verified: "verified";
|
|
163
|
-
failed: "failed";
|
|
164
|
-
missing: "missing";
|
|
165
|
-
monitor: "monitor";
|
|
166
|
-
quarantine: "quarantine";
|
|
167
|
-
reject: "reject";
|
|
168
|
-
not_applicable: "not_applicable";
|
|
169
|
-
}>>;
|
|
170
|
-
}, z.core.$strip>>;
|
|
171
|
-
}, z.core.$strip>;
|
|
172
|
-
bimiStatus: z.ZodEnum<{
|
|
173
|
-
unknown: "unknown";
|
|
174
|
-
pending: "pending";
|
|
175
|
-
verified: "verified";
|
|
176
|
-
failed: "failed";
|
|
177
|
-
not_applicable: "not_applicable";
|
|
178
|
-
}>;
|
|
179
|
-
bimiLogoUrl: z.ZodNullable<z.ZodString>;
|
|
180
|
-
createdAt: z.ZodString;
|
|
181
|
-
updatedAt: z.ZodString;
|
|
182
|
-
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
183
|
-
}, z.core.$strip>;
|
|
184
|
-
export declare const DkimDnsCheckRecordSchema: z.ZodObject<{
|
|
185
|
-
name: z.ZodString;
|
|
186
|
-
found: z.ZodBoolean;
|
|
187
|
-
resolvedValue: z.ZodNullable<z.ZodString>;
|
|
188
|
-
}, z.core.$strip>;
|
|
189
|
-
export declare const DomainDnsCheckSchema: z.ZodObject<{
|
|
190
|
-
dkimRecordsDetected: z.ZodBoolean;
|
|
191
|
-
dkimRecords: z.ZodArray<z.ZodObject<{
|
|
192
|
-
name: z.ZodString;
|
|
193
|
-
found: z.ZodBoolean;
|
|
194
|
-
resolvedValue: z.ZodNullable<z.ZodString>;
|
|
195
|
-
}, z.core.$strip>>;
|
|
196
|
-
}, z.core.$strip>;
|
|
197
|
-
export declare const DomainVerifyResponseSchema: z.ZodObject<{
|
|
198
|
-
id: z.ZodString;
|
|
199
|
-
projectId: z.ZodString;
|
|
200
|
-
domain: z.ZodString;
|
|
201
|
-
region: z.ZodString;
|
|
202
|
-
status: z.ZodEnum<{
|
|
203
|
-
pending: "pending";
|
|
204
|
-
verified: "verified";
|
|
205
|
-
failed: "failed";
|
|
206
|
-
deleted: "deleted";
|
|
207
|
-
degraded: "degraded";
|
|
208
|
-
}>;
|
|
209
|
-
dkimStatus: z.ZodEnum<{
|
|
210
|
-
unknown: "unknown";
|
|
211
|
-
pending: "pending";
|
|
212
|
-
verified: "verified";
|
|
213
|
-
failed: "failed";
|
|
214
|
-
missing: "missing";
|
|
215
|
-
monitor: "monitor";
|
|
216
|
-
quarantine: "quarantine";
|
|
217
|
-
reject: "reject";
|
|
218
|
-
}>;
|
|
219
|
-
spfStatus: z.ZodEnum<{
|
|
220
|
-
unknown: "unknown";
|
|
221
|
-
pending: "pending";
|
|
222
|
-
verified: "verified";
|
|
223
|
-
failed: "failed";
|
|
224
|
-
missing: "missing";
|
|
225
|
-
monitor: "monitor";
|
|
226
|
-
quarantine: "quarantine";
|
|
227
|
-
reject: "reject";
|
|
228
|
-
}>;
|
|
229
|
-
dmarcStatus: z.ZodEnum<{
|
|
230
|
-
unknown: "unknown";
|
|
231
|
-
pending: "pending";
|
|
232
|
-
verified: "verified";
|
|
233
|
-
failed: "failed";
|
|
234
|
-
missing: "missing";
|
|
235
|
-
monitor: "monitor";
|
|
236
|
-
quarantine: "quarantine";
|
|
237
|
-
reject: "reject";
|
|
238
|
-
}>;
|
|
239
|
-
mailFromStatus: z.ZodEnum<{
|
|
240
|
-
unknown: "unknown";
|
|
241
|
-
pending: "pending";
|
|
242
|
-
verified: "verified";
|
|
243
|
-
failed: "failed";
|
|
244
|
-
missing: "missing";
|
|
245
|
-
monitor: "monitor";
|
|
246
|
-
quarantine: "quarantine";
|
|
247
|
-
reject: "reject";
|
|
248
|
-
}>;
|
|
249
|
-
mailFromDomain: z.ZodString;
|
|
250
|
-
verificationRecords: z.ZodObject<{
|
|
251
|
-
dkim: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
252
|
-
name: z.ZodString;
|
|
253
|
-
type: z.ZodString;
|
|
254
|
-
value: z.ZodString;
|
|
255
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
256
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
258
|
-
unknown: "unknown";
|
|
259
|
-
pending: "pending";
|
|
260
|
-
verified: "verified";
|
|
261
|
-
failed: "failed";
|
|
262
|
-
missing: "missing";
|
|
263
|
-
monitor: "monitor";
|
|
264
|
-
quarantine: "quarantine";
|
|
265
|
-
reject: "reject";
|
|
266
|
-
not_applicable: "not_applicable";
|
|
267
|
-
}>>;
|
|
268
|
-
}, z.core.$strip>>>;
|
|
269
|
-
mailFromMx: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
name: z.ZodString;
|
|
271
|
-
type: z.ZodString;
|
|
272
|
-
value: z.ZodString;
|
|
273
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
274
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
276
|
-
unknown: "unknown";
|
|
277
|
-
pending: "pending";
|
|
278
|
-
verified: "verified";
|
|
279
|
-
failed: "failed";
|
|
280
|
-
missing: "missing";
|
|
281
|
-
monitor: "monitor";
|
|
282
|
-
quarantine: "quarantine";
|
|
283
|
-
reject: "reject";
|
|
284
|
-
not_applicable: "not_applicable";
|
|
285
|
-
}>>;
|
|
286
|
-
}, z.core.$strip>>;
|
|
287
|
-
mailFromSpf: z.ZodOptional<z.ZodObject<{
|
|
288
|
-
name: z.ZodString;
|
|
289
|
-
type: z.ZodString;
|
|
290
|
-
value: z.ZodString;
|
|
291
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
292
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
294
|
-
unknown: "unknown";
|
|
295
|
-
pending: "pending";
|
|
296
|
-
verified: "verified";
|
|
297
|
-
failed: "failed";
|
|
298
|
-
missing: "missing";
|
|
299
|
-
monitor: "monitor";
|
|
300
|
-
quarantine: "quarantine";
|
|
301
|
-
reject: "reject";
|
|
302
|
-
not_applicable: "not_applicable";
|
|
303
|
-
}>>;
|
|
304
|
-
}, z.core.$strip>>;
|
|
305
|
-
dmarcRecommended: z.ZodOptional<z.ZodObject<{
|
|
306
|
-
name: z.ZodString;
|
|
307
|
-
type: z.ZodString;
|
|
308
|
-
value: z.ZodString;
|
|
309
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
310
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
311
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
unknown: "unknown";
|
|
313
|
-
pending: "pending";
|
|
314
|
-
verified: "verified";
|
|
315
|
-
failed: "failed";
|
|
316
|
-
missing: "missing";
|
|
317
|
-
monitor: "monitor";
|
|
318
|
-
quarantine: "quarantine";
|
|
319
|
-
reject: "reject";
|
|
320
|
-
not_applicable: "not_applicable";
|
|
321
|
-
}>>;
|
|
322
|
-
}, z.core.$strip>>;
|
|
323
|
-
bimi: z.ZodOptional<z.ZodObject<{
|
|
324
|
-
name: z.ZodString;
|
|
325
|
-
type: z.ZodString;
|
|
326
|
-
value: z.ZodString;
|
|
327
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
328
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
329
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
330
|
-
unknown: "unknown";
|
|
331
|
-
pending: "pending";
|
|
332
|
-
verified: "verified";
|
|
333
|
-
failed: "failed";
|
|
334
|
-
missing: "missing";
|
|
335
|
-
monitor: "monitor";
|
|
336
|
-
quarantine: "quarantine";
|
|
337
|
-
reject: "reject";
|
|
338
|
-
not_applicable: "not_applicable";
|
|
339
|
-
}>>;
|
|
340
|
-
}, z.core.$strip>>;
|
|
341
|
-
}, z.core.$strip>;
|
|
342
|
-
bimiStatus: z.ZodEnum<{
|
|
343
|
-
unknown: "unknown";
|
|
344
|
-
pending: "pending";
|
|
345
|
-
verified: "verified";
|
|
346
|
-
failed: "failed";
|
|
347
|
-
not_applicable: "not_applicable";
|
|
348
|
-
}>;
|
|
349
|
-
bimiLogoUrl: z.ZodNullable<z.ZodString>;
|
|
350
|
-
createdAt: z.ZodString;
|
|
351
|
-
updatedAt: z.ZodString;
|
|
352
|
-
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
353
|
-
dnsCheck: z.ZodObject<{
|
|
354
|
-
dkimRecordsDetected: z.ZodBoolean;
|
|
355
|
-
dkimRecords: z.ZodArray<z.ZodObject<{
|
|
356
|
-
name: z.ZodString;
|
|
357
|
-
found: z.ZodBoolean;
|
|
358
|
-
resolvedValue: z.ZodNullable<z.ZodString>;
|
|
359
|
-
}, z.core.$strip>>;
|
|
360
|
-
}, z.core.$strip>;
|
|
361
|
-
}, z.core.$strip>;
|
|
362
|
-
export declare const DomainListResponseSchema: z.ZodObject<{
|
|
363
|
-
data: z.ZodArray<z.ZodObject<{
|
|
364
|
-
id: z.ZodString;
|
|
365
|
-
projectId: z.ZodString;
|
|
366
|
-
domain: z.ZodString;
|
|
367
|
-
region: z.ZodString;
|
|
368
|
-
status: z.ZodEnum<{
|
|
369
|
-
pending: "pending";
|
|
370
|
-
verified: "verified";
|
|
371
|
-
failed: "failed";
|
|
372
|
-
deleted: "deleted";
|
|
373
|
-
degraded: "degraded";
|
|
374
|
-
}>;
|
|
375
|
-
dkimStatus: z.ZodEnum<{
|
|
376
|
-
unknown: "unknown";
|
|
377
|
-
pending: "pending";
|
|
378
|
-
verified: "verified";
|
|
379
|
-
failed: "failed";
|
|
380
|
-
missing: "missing";
|
|
381
|
-
monitor: "monitor";
|
|
382
|
-
quarantine: "quarantine";
|
|
383
|
-
reject: "reject";
|
|
384
|
-
}>;
|
|
385
|
-
spfStatus: z.ZodEnum<{
|
|
386
|
-
unknown: "unknown";
|
|
387
|
-
pending: "pending";
|
|
388
|
-
verified: "verified";
|
|
389
|
-
failed: "failed";
|
|
390
|
-
missing: "missing";
|
|
391
|
-
monitor: "monitor";
|
|
392
|
-
quarantine: "quarantine";
|
|
393
|
-
reject: "reject";
|
|
394
|
-
}>;
|
|
395
|
-
dmarcStatus: z.ZodEnum<{
|
|
396
|
-
unknown: "unknown";
|
|
397
|
-
pending: "pending";
|
|
398
|
-
verified: "verified";
|
|
399
|
-
failed: "failed";
|
|
400
|
-
missing: "missing";
|
|
401
|
-
monitor: "monitor";
|
|
402
|
-
quarantine: "quarantine";
|
|
403
|
-
reject: "reject";
|
|
404
|
-
}>;
|
|
405
|
-
mailFromStatus: z.ZodEnum<{
|
|
406
|
-
unknown: "unknown";
|
|
407
|
-
pending: "pending";
|
|
408
|
-
verified: "verified";
|
|
409
|
-
failed: "failed";
|
|
410
|
-
missing: "missing";
|
|
411
|
-
monitor: "monitor";
|
|
412
|
-
quarantine: "quarantine";
|
|
413
|
-
reject: "reject";
|
|
414
|
-
}>;
|
|
415
|
-
mailFromDomain: z.ZodString;
|
|
416
|
-
verificationRecords: z.ZodObject<{
|
|
417
|
-
dkim: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
418
|
-
name: z.ZodString;
|
|
419
|
-
type: z.ZodString;
|
|
420
|
-
value: z.ZodString;
|
|
421
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
422
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
423
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
424
|
-
unknown: "unknown";
|
|
425
|
-
pending: "pending";
|
|
426
|
-
verified: "verified";
|
|
427
|
-
failed: "failed";
|
|
428
|
-
missing: "missing";
|
|
429
|
-
monitor: "monitor";
|
|
430
|
-
quarantine: "quarantine";
|
|
431
|
-
reject: "reject";
|
|
432
|
-
not_applicable: "not_applicable";
|
|
433
|
-
}>>;
|
|
434
|
-
}, z.core.$strip>>>;
|
|
435
|
-
mailFromMx: z.ZodOptional<z.ZodObject<{
|
|
436
|
-
name: z.ZodString;
|
|
437
|
-
type: z.ZodString;
|
|
438
|
-
value: z.ZodString;
|
|
439
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
440
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
442
|
-
unknown: "unknown";
|
|
443
|
-
pending: "pending";
|
|
444
|
-
verified: "verified";
|
|
445
|
-
failed: "failed";
|
|
446
|
-
missing: "missing";
|
|
447
|
-
monitor: "monitor";
|
|
448
|
-
quarantine: "quarantine";
|
|
449
|
-
reject: "reject";
|
|
450
|
-
not_applicable: "not_applicable";
|
|
451
|
-
}>>;
|
|
452
|
-
}, z.core.$strip>>;
|
|
453
|
-
mailFromSpf: z.ZodOptional<z.ZodObject<{
|
|
454
|
-
name: z.ZodString;
|
|
455
|
-
type: z.ZodString;
|
|
456
|
-
value: z.ZodString;
|
|
457
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
458
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
460
|
-
unknown: "unknown";
|
|
461
|
-
pending: "pending";
|
|
462
|
-
verified: "verified";
|
|
463
|
-
failed: "failed";
|
|
464
|
-
missing: "missing";
|
|
465
|
-
monitor: "monitor";
|
|
466
|
-
quarantine: "quarantine";
|
|
467
|
-
reject: "reject";
|
|
468
|
-
not_applicable: "not_applicable";
|
|
469
|
-
}>>;
|
|
470
|
-
}, z.core.$strip>>;
|
|
471
|
-
dmarcRecommended: z.ZodOptional<z.ZodObject<{
|
|
472
|
-
name: z.ZodString;
|
|
473
|
-
type: z.ZodString;
|
|
474
|
-
value: z.ZodString;
|
|
475
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
476
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
478
|
-
unknown: "unknown";
|
|
479
|
-
pending: "pending";
|
|
480
|
-
verified: "verified";
|
|
481
|
-
failed: "failed";
|
|
482
|
-
missing: "missing";
|
|
483
|
-
monitor: "monitor";
|
|
484
|
-
quarantine: "quarantine";
|
|
485
|
-
reject: "reject";
|
|
486
|
-
not_applicable: "not_applicable";
|
|
487
|
-
}>>;
|
|
488
|
-
}, z.core.$strip>>;
|
|
489
|
-
bimi: z.ZodOptional<z.ZodObject<{
|
|
490
|
-
name: z.ZodString;
|
|
491
|
-
type: z.ZodString;
|
|
492
|
-
value: z.ZodString;
|
|
493
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
494
|
-
optional: z.ZodOptional<z.ZodBoolean>;
|
|
495
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
496
|
-
unknown: "unknown";
|
|
497
|
-
pending: "pending";
|
|
498
|
-
verified: "verified";
|
|
499
|
-
failed: "failed";
|
|
500
|
-
missing: "missing";
|
|
501
|
-
monitor: "monitor";
|
|
502
|
-
quarantine: "quarantine";
|
|
503
|
-
reject: "reject";
|
|
504
|
-
not_applicable: "not_applicable";
|
|
505
|
-
}>>;
|
|
506
|
-
}, z.core.$strip>>;
|
|
507
|
-
}, z.core.$strip>;
|
|
508
|
-
bimiStatus: z.ZodEnum<{
|
|
509
|
-
unknown: "unknown";
|
|
510
|
-
pending: "pending";
|
|
511
|
-
verified: "verified";
|
|
512
|
-
failed: "failed";
|
|
513
|
-
not_applicable: "not_applicable";
|
|
514
|
-
}>;
|
|
515
|
-
bimiLogoUrl: z.ZodNullable<z.ZodString>;
|
|
516
|
-
createdAt: z.ZodString;
|
|
517
|
-
updatedAt: z.ZodString;
|
|
518
|
-
verifiedAt: z.ZodNullable<z.ZodString>;
|
|
519
|
-
}, z.core.$strip>>;
|
|
520
|
-
page: z.ZodObject<{
|
|
521
|
-
size: z.ZodNumber;
|
|
522
|
-
hasMore: z.ZodBoolean;
|
|
523
|
-
}, z.core.$strip>;
|
|
524
|
-
}, z.core.$strip>;
|
|
525
|
-
/** Alias for {@link DomainIdParamSchema} — canonical name per T-7.1. */
|
|
526
|
-
export declare const DomainParamsSchema: z.ZodObject<{
|
|
527
|
-
projectId: z.ZodString;
|
|
528
|
-
domainId: z.ZodString;
|
|
529
|
-
}, z.core.$strip>;
|
|
530
|
-
/** Alias for {@link ListDomainsQuerySchema} — canonical name per T-7.1. */
|
|
531
|
-
export declare const DomainListQuerySchema: z.ZodObject<{
|
|
532
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
533
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
534
|
-
}, z.core.$strip>;
|
|
535
|
-
export type RegisterDomainBody = z.infer<typeof RegisterDomainBodySchema>;
|
|
536
|
-
export type DomainIdParam = z.infer<typeof DomainIdParamSchema>;
|
|
537
|
-
export type DomainParams = DomainIdParam;
|
|
538
|
-
export type ListDomainsQuery = z.infer<typeof ListDomainsQuerySchema>;
|
|
539
|
-
export type DomainListQuery = ListDomainsQuery;
|
|
540
|
-
export type DomainResponse = z.infer<typeof DomainResponseSchema>;
|
|
541
|
-
export type DomainListResponse = z.infer<typeof DomainListResponseSchema>;
|
|
542
|
-
export type DkimDnsCheckRecord = z.infer<typeof DkimDnsCheckRecordSchema>;
|
|
543
|
-
export type DomainDnsCheck = z.infer<typeof DomainDnsCheckSchema>;
|
|
544
|
-
export type DomainVerifyResponse = z.infer<typeof DomainVerifyResponseSchema>;
|
|
545
|
-
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/definitions/domains/schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgDxB,eAAO,MAAM,wBAAwB;;;;;;;;iBAGnC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAMH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiB/B,CAAC;AAMH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;iBAG/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAErC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGnC,CAAC;AAMH,wEAAwE;AACxE,eAAO,MAAM,kBAAkB;;;iBAAsB,CAAC;AAEtD,2EAA2E;AAC3E,eAAO,MAAM,qBAAqB;;;iBAAyB,CAAC;AAM5D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC;AACzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAC/C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|