@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9
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/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4200 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31119 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5760 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +962 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +967 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3080 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1833 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1691 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3554 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3072 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8878 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1353 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1791 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1022 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14894 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +842 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +842 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4527 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3682 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10954 -0
- package/src/services/cloud.ts +75508 -0
- package/src/services/cloud_v2.ts +14751 -0
- package/src/services/dedicatedceph.ts +2233 -0
- package/src/services/dedicatednasha.ts +2269 -0
- package/src/services/domain.ts +7998 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4218 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4462 -0
- package/src/services/iploadbalancing.ts +8422 -0
- package/src/services/ldp.ts +7274 -0
- package/src/services/me.ts +21720 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3226 -0
- package/src/services/packxdsl.ts +4623 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2433 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32941 -0
- package/src/services/vmwareclouddirectorbackup.ts +2171 -0
- package/src/services/vmwareclouddirectororganization.ts +2171 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11290 -0
- package/src/services/xdsl.ts +9278 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,2764 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-ovh). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.ts";
|
|
6
|
+
import {
|
|
7
|
+
OvhProtocol,
|
|
8
|
+
type OvhOpError,
|
|
9
|
+
type OvhOpContext,
|
|
10
|
+
} from "../protocol.ts";
|
|
11
|
+
import { UnknownOvhError } from "../errors.ts";
|
|
12
|
+
import * as Retry from "../retry.ts";
|
|
13
|
+
|
|
14
|
+
export type { OvhOpError, OvhOpContext };
|
|
15
|
+
|
|
16
|
+
export interface CreateEmailMxplanAccountAliasRequest {
|
|
17
|
+
/** The internal name of your mxplan organization */
|
|
18
|
+
service: string;
|
|
19
|
+
/** Default email for this mailbox */
|
|
20
|
+
email: string;
|
|
21
|
+
/** Alias */
|
|
22
|
+
alias: string;
|
|
23
|
+
}
|
|
24
|
+
export const CreateEmailMxplanAccountAliasRequest = /*@__PURE__*/ S.suspend(
|
|
25
|
+
() =>
|
|
26
|
+
S.Struct({
|
|
27
|
+
service: S.String.pipe(T.Label()),
|
|
28
|
+
email: S.String.pipe(T.Label()),
|
|
29
|
+
alias: S.String,
|
|
30
|
+
}).pipe(
|
|
31
|
+
T.Http({
|
|
32
|
+
method: "POST",
|
|
33
|
+
uri: "/email/mxplan/{service}/account/{email}/alias",
|
|
34
|
+
code: 200,
|
|
35
|
+
}),
|
|
36
|
+
),
|
|
37
|
+
).annotate({
|
|
38
|
+
identifier: "CreateEmailMxplanAccountAliasRequest",
|
|
39
|
+
}) as any as S.Schema<CreateEmailMxplanAccountAliasRequest>;
|
|
40
|
+
|
|
41
|
+
/** function enumeration for task */
|
|
42
|
+
export type EmailProTaskFunctionEnum =
|
|
43
|
+
| "addAccount"
|
|
44
|
+
| "addAlias"
|
|
45
|
+
| "addDomain"
|
|
46
|
+
| "addDomainDKIM"
|
|
47
|
+
| "addDomainDisclaimer"
|
|
48
|
+
| "addExternalContact"
|
|
49
|
+
| "addFullAccess"
|
|
50
|
+
| "addSendAs"
|
|
51
|
+
| "addSendOnBehalfTo"
|
|
52
|
+
| "addServiceAuthorizedIp"
|
|
53
|
+
| "changeHostname"
|
|
54
|
+
| "changePassword"
|
|
55
|
+
| "configureCustomer"
|
|
56
|
+
| "deleteAccount"
|
|
57
|
+
| "deleteAlias"
|
|
58
|
+
| "deleteDomain"
|
|
59
|
+
| "deleteDomainDKIM"
|
|
60
|
+
| "deleteDomainDisclaimer"
|
|
61
|
+
| "deleteExternalContact"
|
|
62
|
+
| "deleteFullAccess"
|
|
63
|
+
| "deleteSendAs"
|
|
64
|
+
| "deleteSendOnBehalfTo"
|
|
65
|
+
| "deleteService"
|
|
66
|
+
| "deleteServiceAuthorizedIp"
|
|
67
|
+
| "diagnoseAccount"
|
|
68
|
+
| "disableDKIM"
|
|
69
|
+
| "enableDKIM"
|
|
70
|
+
| "expandDrive"
|
|
71
|
+
| "installServer"
|
|
72
|
+
| "maintenance"
|
|
73
|
+
| "migrateAccountViaOMM"
|
|
74
|
+
| "migrationAccount"
|
|
75
|
+
| "migrationDisclaimer"
|
|
76
|
+
| "migrationExternalContact"
|
|
77
|
+
| "migrationHistory"
|
|
78
|
+
| "migrationService"
|
|
79
|
+
| "reOpenAccount"
|
|
80
|
+
| "setAccount"
|
|
81
|
+
| "setAlias"
|
|
82
|
+
| "setDns"
|
|
83
|
+
| "setDomain"
|
|
84
|
+
| "setDomainDisclaimer"
|
|
85
|
+
| "setExternalContact"
|
|
86
|
+
| "setService"
|
|
87
|
+
| "suspendAccount"
|
|
88
|
+
| "suspendService"
|
|
89
|
+
| "unknown"
|
|
90
|
+
| "unsuspendAccount"
|
|
91
|
+
| "unsuspendService";
|
|
92
|
+
export const EmailProTaskFunctionEnum = /*@__PURE__*/ S.String;
|
|
93
|
+
|
|
94
|
+
/** Task status */
|
|
95
|
+
export type EmailProTaskStatusEnum =
|
|
96
|
+
| "cancelled"
|
|
97
|
+
| "doing"
|
|
98
|
+
| "done"
|
|
99
|
+
| "error"
|
|
100
|
+
| "todo";
|
|
101
|
+
export const EmailProTaskStatusEnum = /*@__PURE__*/ S.String;
|
|
102
|
+
|
|
103
|
+
/** Organization task details */
|
|
104
|
+
export interface EmailProTask {
|
|
105
|
+
/** Completion date */
|
|
106
|
+
finishDate?: string | null;
|
|
107
|
+
/** Function name */
|
|
108
|
+
function?: EmailProTaskFunctionEnum;
|
|
109
|
+
/** Task id */
|
|
110
|
+
id?: number;
|
|
111
|
+
/** Task status */
|
|
112
|
+
status?: EmailProTaskStatusEnum;
|
|
113
|
+
/** Creation date */
|
|
114
|
+
todoDate?: string;
|
|
115
|
+
}
|
|
116
|
+
export const EmailProTask = /*@__PURE__*/ S.suspend(() =>
|
|
117
|
+
S.Struct({
|
|
118
|
+
finishDate: S.optional(S.NullOr(S.String)),
|
|
119
|
+
function: S.optional(EmailProTaskFunctionEnum),
|
|
120
|
+
id: S.optional(S.Number),
|
|
121
|
+
status: S.optional(EmailProTaskStatusEnum),
|
|
122
|
+
todoDate: S.optional(S.String),
|
|
123
|
+
}),
|
|
124
|
+
).annotate({ identifier: "EmailProTask" }) as any as S.Schema<EmailProTask>;
|
|
125
|
+
|
|
126
|
+
export interface CreateEmailMxplanAccountChangePasswordRequest {
|
|
127
|
+
/** The internal name of your mxplan organization */
|
|
128
|
+
service: string;
|
|
129
|
+
/** Default email for this mailbox */
|
|
130
|
+
email: string;
|
|
131
|
+
/** new password */
|
|
132
|
+
password: string | Redacted.Redacted<string>;
|
|
133
|
+
}
|
|
134
|
+
export const CreateEmailMxplanAccountChangePasswordRequest =
|
|
135
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
136
|
+
S.Struct({
|
|
137
|
+
service: S.String.pipe(T.Label()),
|
|
138
|
+
email: S.String.pipe(T.Label()),
|
|
139
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
140
|
+
}).pipe(
|
|
141
|
+
T.Http({
|
|
142
|
+
method: "POST",
|
|
143
|
+
uri: "/email/mxplan/{service}/account/{email}/changePassword",
|
|
144
|
+
code: 200,
|
|
145
|
+
}),
|
|
146
|
+
),
|
|
147
|
+
).annotate({
|
|
148
|
+
identifier: "CreateEmailMxplanAccountChangePasswordRequest",
|
|
149
|
+
}) as any as S.Schema<CreateEmailMxplanAccountChangePasswordRequest>;
|
|
150
|
+
|
|
151
|
+
export interface CreateEmailMxplanAccountDiagnosticRequest {
|
|
152
|
+
/** The internal name of your mxplan organization */
|
|
153
|
+
service: string;
|
|
154
|
+
/** Default email for this mailbox */
|
|
155
|
+
email: string;
|
|
156
|
+
/** Account password */
|
|
157
|
+
password: string | Redacted.Redacted<string>;
|
|
158
|
+
}
|
|
159
|
+
export const CreateEmailMxplanAccountDiagnosticRequest =
|
|
160
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
161
|
+
S.Struct({
|
|
162
|
+
service: S.String.pipe(T.Label()),
|
|
163
|
+
email: S.String.pipe(T.Label()),
|
|
164
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
165
|
+
}).pipe(
|
|
166
|
+
T.Http({
|
|
167
|
+
method: "POST",
|
|
168
|
+
uri: "/email/mxplan/{service}/account/{email}/diagnostic",
|
|
169
|
+
code: 200,
|
|
170
|
+
}),
|
|
171
|
+
),
|
|
172
|
+
).annotate({
|
|
173
|
+
identifier: "CreateEmailMxplanAccountDiagnosticRequest",
|
|
174
|
+
}) as any as S.Schema<CreateEmailMxplanAccountDiagnosticRequest>;
|
|
175
|
+
|
|
176
|
+
export interface CreateEmailMxplanAccountFullAccessRequest {
|
|
177
|
+
/** The internal name of your mxplan organization */
|
|
178
|
+
service: string;
|
|
179
|
+
/** Default email for this mailbox */
|
|
180
|
+
email: string;
|
|
181
|
+
/** User to give full access */
|
|
182
|
+
allowedAccountId: number;
|
|
183
|
+
}
|
|
184
|
+
export const CreateEmailMxplanAccountFullAccessRequest =
|
|
185
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
186
|
+
S.Struct({
|
|
187
|
+
service: S.String.pipe(T.Label()),
|
|
188
|
+
email: S.String.pipe(T.Label()),
|
|
189
|
+
allowedAccountId: S.Number,
|
|
190
|
+
}).pipe(
|
|
191
|
+
T.Http({
|
|
192
|
+
method: "POST",
|
|
193
|
+
uri: "/email/mxplan/{service}/account/{email}/fullAccess",
|
|
194
|
+
code: 200,
|
|
195
|
+
}),
|
|
196
|
+
),
|
|
197
|
+
).annotate({
|
|
198
|
+
identifier: "CreateEmailMxplanAccountFullAccessRequest",
|
|
199
|
+
}) as any as S.Schema<CreateEmailMxplanAccountFullAccessRequest>;
|
|
200
|
+
|
|
201
|
+
export interface CreateEmailMxplanDomainDisclaimerRequest {
|
|
202
|
+
/** The internal name of your mxplan organization */
|
|
203
|
+
service: string;
|
|
204
|
+
/** Domain name */
|
|
205
|
+
domainName: string;
|
|
206
|
+
/** Signature, added at the bottom of your organization emails */
|
|
207
|
+
content: string;
|
|
208
|
+
/** Activate the disclaimer only for external emails */
|
|
209
|
+
outsideOnly?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export const CreateEmailMxplanDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
|
|
212
|
+
() =>
|
|
213
|
+
S.Struct({
|
|
214
|
+
service: S.String.pipe(T.Label()),
|
|
215
|
+
domainName: S.String.pipe(T.Label()),
|
|
216
|
+
content: S.String,
|
|
217
|
+
outsideOnly: S.optional(S.Boolean),
|
|
218
|
+
}).pipe(
|
|
219
|
+
T.Http({
|
|
220
|
+
method: "POST",
|
|
221
|
+
uri: "/email/mxplan/{service}/domain/{domainName}/disclaimer",
|
|
222
|
+
code: 200,
|
|
223
|
+
}),
|
|
224
|
+
),
|
|
225
|
+
).annotate({
|
|
226
|
+
identifier: "CreateEmailMxplanDomainDisclaimerRequest",
|
|
227
|
+
}) as any as S.Schema<CreateEmailMxplanDomainDisclaimerRequest>;
|
|
228
|
+
|
|
229
|
+
export interface CreateEmailMxplanExternalContactRequest {
|
|
230
|
+
/** The internal name of your mxplan organization */
|
|
231
|
+
service: string;
|
|
232
|
+
/** Contact display name */
|
|
233
|
+
displayName?: string;
|
|
234
|
+
/** Contact email address */
|
|
235
|
+
externalEmailAddress: string;
|
|
236
|
+
/** Contact first name */
|
|
237
|
+
firstName?: string;
|
|
238
|
+
/** Hide the contact in Global Address List */
|
|
239
|
+
hiddenFromGAL?: boolean;
|
|
240
|
+
/** Contact initials */
|
|
241
|
+
initials?: string;
|
|
242
|
+
/** Contact last name */
|
|
243
|
+
lastName?: string;
|
|
244
|
+
}
|
|
245
|
+
export const CreateEmailMxplanExternalContactRequest = /*@__PURE__*/ S.suspend(
|
|
246
|
+
() =>
|
|
247
|
+
S.Struct({
|
|
248
|
+
service: S.String.pipe(T.Label()),
|
|
249
|
+
displayName: S.optional(S.String),
|
|
250
|
+
externalEmailAddress: S.String,
|
|
251
|
+
firstName: S.optional(S.String),
|
|
252
|
+
hiddenFromGAL: S.optional(S.Boolean),
|
|
253
|
+
initials: S.optional(S.String),
|
|
254
|
+
lastName: S.optional(S.String),
|
|
255
|
+
}).pipe(
|
|
256
|
+
T.Http({
|
|
257
|
+
method: "POST",
|
|
258
|
+
uri: "/email/mxplan/{service}/externalContact",
|
|
259
|
+
code: 200,
|
|
260
|
+
}),
|
|
261
|
+
),
|
|
262
|
+
).annotate({
|
|
263
|
+
identifier: "CreateEmailMxplanExternalContactRequest",
|
|
264
|
+
}) as any as S.Schema<CreateEmailMxplanExternalContactRequest>;
|
|
265
|
+
|
|
266
|
+
export interface DeleteEmailMxplanAccountRequest {
|
|
267
|
+
/** The internal name of your mxplan organization */
|
|
268
|
+
service: string;
|
|
269
|
+
/** Default email for this mailbox */
|
|
270
|
+
email: string;
|
|
271
|
+
}
|
|
272
|
+
export const DeleteEmailMxplanAccountRequest = /*@__PURE__*/ S.suspend(() =>
|
|
273
|
+
S.Struct({
|
|
274
|
+
service: S.String.pipe(T.Label()),
|
|
275
|
+
email: S.String.pipe(T.Label()),
|
|
276
|
+
}).pipe(
|
|
277
|
+
T.Http({
|
|
278
|
+
method: "DELETE",
|
|
279
|
+
uri: "/email/mxplan/{service}/account/{email}",
|
|
280
|
+
code: 200,
|
|
281
|
+
}),
|
|
282
|
+
),
|
|
283
|
+
).annotate({
|
|
284
|
+
identifier: "DeleteEmailMxplanAccountRequest",
|
|
285
|
+
}) as any as S.Schema<DeleteEmailMxplanAccountRequest>;
|
|
286
|
+
|
|
287
|
+
export interface DeleteEmailMxplanAccountAliasRequest {
|
|
288
|
+
/** The internal name of your mxplan organization */
|
|
289
|
+
service: string;
|
|
290
|
+
/** Default email for this mailbox */
|
|
291
|
+
email: string;
|
|
292
|
+
/** Alias */
|
|
293
|
+
alias: string;
|
|
294
|
+
}
|
|
295
|
+
export const DeleteEmailMxplanAccountAliasRequest = /*@__PURE__*/ S.suspend(
|
|
296
|
+
() =>
|
|
297
|
+
S.Struct({
|
|
298
|
+
service: S.String.pipe(T.Label()),
|
|
299
|
+
email: S.String.pipe(T.Label()),
|
|
300
|
+
alias: S.String.pipe(T.Label()),
|
|
301
|
+
}).pipe(
|
|
302
|
+
T.Http({
|
|
303
|
+
method: "DELETE",
|
|
304
|
+
uri: "/email/mxplan/{service}/account/{email}/alias/{alias}",
|
|
305
|
+
code: 200,
|
|
306
|
+
}),
|
|
307
|
+
),
|
|
308
|
+
).annotate({
|
|
309
|
+
identifier: "DeleteEmailMxplanAccountAliasRequest",
|
|
310
|
+
}) as any as S.Schema<DeleteEmailMxplanAccountAliasRequest>;
|
|
311
|
+
|
|
312
|
+
export interface DeleteEmailMxplanAccountFullAccessRequest {
|
|
313
|
+
/** The internal name of your mxplan organization */
|
|
314
|
+
service: string;
|
|
315
|
+
/** Default email for this mailbox */
|
|
316
|
+
email: string;
|
|
317
|
+
/** Account id to give full access */
|
|
318
|
+
allowedAccountId: number;
|
|
319
|
+
}
|
|
320
|
+
export const DeleteEmailMxplanAccountFullAccessRequest =
|
|
321
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
322
|
+
S.Struct({
|
|
323
|
+
service: S.String.pipe(T.Label()),
|
|
324
|
+
email: S.String.pipe(T.Label()),
|
|
325
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
326
|
+
}).pipe(
|
|
327
|
+
T.Http({
|
|
328
|
+
method: "DELETE",
|
|
329
|
+
uri: "/email/mxplan/{service}/account/{email}/fullAccess/{allowedAccountId}",
|
|
330
|
+
code: 200,
|
|
331
|
+
}),
|
|
332
|
+
),
|
|
333
|
+
).annotate({
|
|
334
|
+
identifier: "DeleteEmailMxplanAccountFullAccessRequest",
|
|
335
|
+
}) as any as S.Schema<DeleteEmailMxplanAccountFullAccessRequest>;
|
|
336
|
+
|
|
337
|
+
export interface DeleteEmailMxplanAccountSendAsRequest {
|
|
338
|
+
/** The internal name of your mxplan organization */
|
|
339
|
+
service: string;
|
|
340
|
+
/** Default email for this mailbox */
|
|
341
|
+
email: string;
|
|
342
|
+
/** Account id to give send as */
|
|
343
|
+
allowedAccountId: number;
|
|
344
|
+
}
|
|
345
|
+
export const DeleteEmailMxplanAccountSendAsRequest = /*@__PURE__*/ S.suspend(
|
|
346
|
+
() =>
|
|
347
|
+
S.Struct({
|
|
348
|
+
service: S.String.pipe(T.Label()),
|
|
349
|
+
email: S.String.pipe(T.Label()),
|
|
350
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
351
|
+
}).pipe(
|
|
352
|
+
T.Http({
|
|
353
|
+
method: "DELETE",
|
|
354
|
+
uri: "/email/mxplan/{service}/account/{email}/sendAs/{allowedAccountId}",
|
|
355
|
+
code: 200,
|
|
356
|
+
}),
|
|
357
|
+
),
|
|
358
|
+
).annotate({
|
|
359
|
+
identifier: "DeleteEmailMxplanAccountSendAsRequest",
|
|
360
|
+
}) as any as S.Schema<DeleteEmailMxplanAccountSendAsRequest>;
|
|
361
|
+
|
|
362
|
+
export interface DeleteEmailMxplanAccountSendOnBehalfToRequest {
|
|
363
|
+
/** The internal name of your mxplan organization */
|
|
364
|
+
service: string;
|
|
365
|
+
/** Default email for this mailbox */
|
|
366
|
+
email: string;
|
|
367
|
+
/** Account id to give send on behalf to */
|
|
368
|
+
allowedAccountId: number;
|
|
369
|
+
}
|
|
370
|
+
export const DeleteEmailMxplanAccountSendOnBehalfToRequest =
|
|
371
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
372
|
+
S.Struct({
|
|
373
|
+
service: S.String.pipe(T.Label()),
|
|
374
|
+
email: S.String.pipe(T.Label()),
|
|
375
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
376
|
+
}).pipe(
|
|
377
|
+
T.Http({
|
|
378
|
+
method: "DELETE",
|
|
379
|
+
uri: "/email/mxplan/{service}/account/{email}/sendOnBehalfTo/{allowedAccountId}",
|
|
380
|
+
code: 200,
|
|
381
|
+
}),
|
|
382
|
+
),
|
|
383
|
+
).annotate({
|
|
384
|
+
identifier: "DeleteEmailMxplanAccountSendOnBehalfToRequest",
|
|
385
|
+
}) as any as S.Schema<DeleteEmailMxplanAccountSendOnBehalfToRequest>;
|
|
386
|
+
|
|
387
|
+
export interface DeleteEmailMxplanDomainDisclaimerRequest {
|
|
388
|
+
/** The internal name of your mxplan organization */
|
|
389
|
+
service: string;
|
|
390
|
+
/** Domain name */
|
|
391
|
+
domainName: string;
|
|
392
|
+
}
|
|
393
|
+
export const DeleteEmailMxplanDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
|
|
394
|
+
() =>
|
|
395
|
+
S.Struct({
|
|
396
|
+
service: S.String.pipe(T.Label()),
|
|
397
|
+
domainName: S.String.pipe(T.Label()),
|
|
398
|
+
}).pipe(
|
|
399
|
+
T.Http({
|
|
400
|
+
method: "DELETE",
|
|
401
|
+
uri: "/email/mxplan/{service}/domain/{domainName}/disclaimer",
|
|
402
|
+
code: 200,
|
|
403
|
+
}),
|
|
404
|
+
),
|
|
405
|
+
).annotate({
|
|
406
|
+
identifier: "DeleteEmailMxplanDomainDisclaimerRequest",
|
|
407
|
+
}) as any as S.Schema<DeleteEmailMxplanDomainDisclaimerRequest>;
|
|
408
|
+
|
|
409
|
+
export interface DeleteEmailMxplanExternalContactRequest {
|
|
410
|
+
/** The internal name of your mxplan organization */
|
|
411
|
+
service: string;
|
|
412
|
+
/** Contact email */
|
|
413
|
+
externalEmailAddress: string;
|
|
414
|
+
}
|
|
415
|
+
export const DeleteEmailMxplanExternalContactRequest = /*@__PURE__*/ S.suspend(
|
|
416
|
+
() =>
|
|
417
|
+
S.Struct({
|
|
418
|
+
service: S.String.pipe(T.Label()),
|
|
419
|
+
externalEmailAddress: S.String.pipe(T.Label()),
|
|
420
|
+
}).pipe(
|
|
421
|
+
T.Http({
|
|
422
|
+
method: "DELETE",
|
|
423
|
+
uri: "/email/mxplan/{service}/externalContact/{externalEmailAddress}",
|
|
424
|
+
code: 200,
|
|
425
|
+
}),
|
|
426
|
+
),
|
|
427
|
+
).annotate({
|
|
428
|
+
identifier: "DeleteEmailMxplanExternalContactRequest",
|
|
429
|
+
}) as any as S.Schema<DeleteEmailMxplanExternalContactRequest>;
|
|
430
|
+
|
|
431
|
+
export interface GetEmailMxplanRequest {
|
|
432
|
+
/** The internal name of your mxplan organization */
|
|
433
|
+
service: string;
|
|
434
|
+
}
|
|
435
|
+
export const GetEmailMxplanRequest = /*@__PURE__*/ S.suspend(() =>
|
|
436
|
+
S.Struct({
|
|
437
|
+
service: S.String.pipe(T.Label()),
|
|
438
|
+
}).pipe(T.Http({ method: "GET", uri: "/email/mxplan/{service}", code: 200 })),
|
|
439
|
+
).annotate({
|
|
440
|
+
identifier: "GetEmailMxplanRequest",
|
|
441
|
+
}) as any as S.Schema<GetEmailMxplanRequest>;
|
|
442
|
+
|
|
443
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
444
|
+
export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
|
|
445
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
|
|
446
|
+
S.String,
|
|
447
|
+
S.String,
|
|
448
|
+
) as any as S.Schema<IamResourceMetadataTagsMap>;
|
|
449
|
+
|
|
450
|
+
/** IAM resource metadata embedded in services models */
|
|
451
|
+
export interface IamResourceMetadata {
|
|
452
|
+
/** Resource display name */
|
|
453
|
+
displayName?: string | null;
|
|
454
|
+
/** Unique identifier of the resource */
|
|
455
|
+
id?: string;
|
|
456
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
457
|
+
tags?: IamResourceMetadataTagsMap | null;
|
|
458
|
+
/** Unique resource name used in policies */
|
|
459
|
+
urn?: string;
|
|
460
|
+
}
|
|
461
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
462
|
+
S.Struct({
|
|
463
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
464
|
+
id: S.optional(S.String),
|
|
465
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
466
|
+
urn: S.optional(S.String),
|
|
467
|
+
}),
|
|
468
|
+
).annotate({
|
|
469
|
+
identifier: "IamResourceMetadata",
|
|
470
|
+
}) as any as S.Schema<IamResourceMetadata>;
|
|
471
|
+
|
|
472
|
+
/** Service Offer name */
|
|
473
|
+
export type EmailMxplanServiceOfferEnum = "MXPLAN";
|
|
474
|
+
export const EmailMxplanServiceOfferEnum = /*@__PURE__*/ S.String;
|
|
475
|
+
|
|
476
|
+
/** Spam and Antyvirus configuration */
|
|
477
|
+
export interface EmailProSpamAndVirusConfiguration {
|
|
478
|
+
/** Check DKIM of message */
|
|
479
|
+
checkDKIM?: boolean;
|
|
480
|
+
/** Check SPF of message */
|
|
481
|
+
checkSPF?: boolean;
|
|
482
|
+
/** If message is a spam delete it */
|
|
483
|
+
deleteSpam?: boolean;
|
|
484
|
+
/** If message is a virus delete it */
|
|
485
|
+
deleteVirus?: boolean;
|
|
486
|
+
/** If message is a spam or virus put in junk. Overridden by deleteSpam or deleteVirus */
|
|
487
|
+
putInJunk?: boolean;
|
|
488
|
+
/** If message is a spam change its subject */
|
|
489
|
+
tagSpam?: boolean;
|
|
490
|
+
/** If message is a virus change its subject */
|
|
491
|
+
tagVirus?: boolean;
|
|
492
|
+
}
|
|
493
|
+
export const EmailProSpamAndVirusConfiguration = /*@__PURE__*/ S.suspend(() =>
|
|
494
|
+
S.Struct({
|
|
495
|
+
checkDKIM: S.optional(S.Boolean),
|
|
496
|
+
checkSPF: S.optional(S.Boolean),
|
|
497
|
+
deleteSpam: S.optional(S.Boolean),
|
|
498
|
+
deleteVirus: S.optional(S.Boolean),
|
|
499
|
+
putInJunk: S.optional(S.Boolean),
|
|
500
|
+
tagSpam: S.optional(S.Boolean),
|
|
501
|
+
tagVirus: S.optional(S.Boolean),
|
|
502
|
+
}),
|
|
503
|
+
).annotate({
|
|
504
|
+
identifier: "EmailProSpamAndVirusConfiguration",
|
|
505
|
+
}) as any as S.Schema<EmailProSpamAndVirusConfiguration>;
|
|
506
|
+
|
|
507
|
+
/** Service State */
|
|
508
|
+
export type EmailProServiceStateEnum =
|
|
509
|
+
| "creating"
|
|
510
|
+
| "deleting"
|
|
511
|
+
| "inMaintenance"
|
|
512
|
+
| "ok"
|
|
513
|
+
| "reopening"
|
|
514
|
+
| "suspended"
|
|
515
|
+
| "suspending";
|
|
516
|
+
export const EmailProServiceStateEnum = /*@__PURE__*/ S.String;
|
|
517
|
+
|
|
518
|
+
/** MXPlan service */
|
|
519
|
+
export interface EmailMxplanServiceWithIAM {
|
|
520
|
+
/** enable policy for strong and secure passwords */
|
|
521
|
+
complexityEnabled?: boolean;
|
|
522
|
+
/** service displayName */
|
|
523
|
+
displayName?: string | null;
|
|
524
|
+
/** Domain name of your service */
|
|
525
|
+
domain?: string;
|
|
526
|
+
/** Hostname of your service */
|
|
527
|
+
hostname?: string | null;
|
|
528
|
+
/** IAM resource metadata */
|
|
529
|
+
iam?: IamResourceMetadata | null;
|
|
530
|
+
/** Service use Zimbra as backend */
|
|
531
|
+
isZimbra?: boolean;
|
|
532
|
+
/** Update date */
|
|
533
|
+
lastUpdateDate?: string | null;
|
|
534
|
+
/** number of minutes account will remain locked if it occurs */
|
|
535
|
+
lockoutDuration?: number;
|
|
536
|
+
/** number of minutes that must elapse after a failed logon to reset lockout trigger */
|
|
537
|
+
lockoutObservationWindow?: number;
|
|
538
|
+
/** number of attempts before account to be locked */
|
|
539
|
+
lockoutThreshold?: number | null;
|
|
540
|
+
/** maximum number of days that account's password is valid before expiration */
|
|
541
|
+
maxPasswordAge?: number | null;
|
|
542
|
+
/** Maximum message size that You can receive in MB */
|
|
543
|
+
maxReceiveSize?: number;
|
|
544
|
+
/** Maximum message size that You can send in MB */
|
|
545
|
+
maxSendSize?: number;
|
|
546
|
+
/** minimum number of days before able to change account's password */
|
|
547
|
+
minPasswordAge?: number | null;
|
|
548
|
+
/** minimum number of characters password must contain */
|
|
549
|
+
minPasswordLength?: number | null;
|
|
550
|
+
/** Type of your offer */
|
|
551
|
+
offer?: EmailMxplanServiceOfferEnum;
|
|
552
|
+
/** Spam and Antivirus configuration */
|
|
553
|
+
spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
|
|
554
|
+
/** State of your service */
|
|
555
|
+
state?: EmailProServiceStateEnum;
|
|
556
|
+
/** Task pending id */
|
|
557
|
+
taskPendingId?: number;
|
|
558
|
+
/** URL for web interface */
|
|
559
|
+
webUrl?: string | null;
|
|
560
|
+
}
|
|
561
|
+
export const EmailMxplanServiceWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
562
|
+
S.Struct({
|
|
563
|
+
complexityEnabled: S.optional(S.Boolean),
|
|
564
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
565
|
+
domain: S.optional(S.String),
|
|
566
|
+
hostname: S.optional(S.NullOr(S.String)),
|
|
567
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
568
|
+
isZimbra: S.optional(S.Boolean),
|
|
569
|
+
lastUpdateDate: S.optional(S.NullOr(S.String)),
|
|
570
|
+
lockoutDuration: S.optional(S.Number),
|
|
571
|
+
lockoutObservationWindow: S.optional(S.Number),
|
|
572
|
+
lockoutThreshold: S.optional(S.NullOr(S.Number)),
|
|
573
|
+
maxPasswordAge: S.optional(S.NullOr(S.Number)),
|
|
574
|
+
maxReceiveSize: S.optional(S.Number),
|
|
575
|
+
maxSendSize: S.optional(S.Number),
|
|
576
|
+
minPasswordAge: S.optional(S.NullOr(S.Number)),
|
|
577
|
+
minPasswordLength: S.optional(S.NullOr(S.Number)),
|
|
578
|
+
offer: S.optional(EmailMxplanServiceOfferEnum),
|
|
579
|
+
spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
|
|
580
|
+
state: S.optional(EmailProServiceStateEnum),
|
|
581
|
+
taskPendingId: S.optional(S.Number),
|
|
582
|
+
webUrl: S.optional(S.NullOr(S.String)),
|
|
583
|
+
}),
|
|
584
|
+
).annotate({
|
|
585
|
+
identifier: "EmailMxplanServiceWithIAM",
|
|
586
|
+
}) as any as S.Schema<EmailMxplanServiceWithIAM>;
|
|
587
|
+
|
|
588
|
+
export interface GetEmailMxplanAccountRequest {
|
|
589
|
+
/** The internal name of your mxplan organization */
|
|
590
|
+
service: string;
|
|
591
|
+
/** Default email for this mailbox */
|
|
592
|
+
email: string;
|
|
593
|
+
}
|
|
594
|
+
export const GetEmailMxplanAccountRequest = /*@__PURE__*/ S.suspend(() =>
|
|
595
|
+
S.Struct({
|
|
596
|
+
service: S.String.pipe(T.Label()),
|
|
597
|
+
email: S.String.pipe(T.Label()),
|
|
598
|
+
}).pipe(
|
|
599
|
+
T.Http({
|
|
600
|
+
method: "GET",
|
|
601
|
+
uri: "/email/mxplan/{service}/account/{email}",
|
|
602
|
+
code: 200,
|
|
603
|
+
}),
|
|
604
|
+
),
|
|
605
|
+
).annotate({
|
|
606
|
+
identifier: "GetEmailMxplanAccountRequest",
|
|
607
|
+
}) as any as S.Schema<GetEmailMxplanAccountRequest>;
|
|
608
|
+
|
|
609
|
+
/** Mailing filter options availlable */
|
|
610
|
+
export type EmailProMailingFilterEnum = "vaderetro";
|
|
611
|
+
export const EmailProMailingFilterEnum = /*@__PURE__*/ S.String;
|
|
612
|
+
|
|
613
|
+
/** Enable or disable anti-virus and anti-spam */
|
|
614
|
+
export type EmailMxplanAccountMailingFilterList =
|
|
615
|
+
Array<EmailProMailingFilterEnum>;
|
|
616
|
+
export const EmailMxplanAccountMailingFilterList = /*@__PURE__*/ S.Array(
|
|
617
|
+
EmailProMailingFilterEnum,
|
|
618
|
+
) as any as S.Schema<EmailMxplanAccountMailingFilterList>;
|
|
619
|
+
|
|
620
|
+
/** Renew period */
|
|
621
|
+
export type EmailProRenewPeriodEnum = "monthly" | "yearly";
|
|
622
|
+
export const EmailProRenewPeriodEnum = /*@__PURE__*/ S.String;
|
|
623
|
+
|
|
624
|
+
/** Current object state */
|
|
625
|
+
export type EmailProObjectStateEnum =
|
|
626
|
+
| "creating"
|
|
627
|
+
| "deleting"
|
|
628
|
+
| "ok"
|
|
629
|
+
| "reopening"
|
|
630
|
+
| "suspended"
|
|
631
|
+
| "suspending"
|
|
632
|
+
| "unknown";
|
|
633
|
+
export const EmailProObjectStateEnum = /*@__PURE__*/ S.String;
|
|
634
|
+
|
|
635
|
+
/** Mailbox */
|
|
636
|
+
export interface EmailMxplanAccount {
|
|
637
|
+
/** SAM account name */
|
|
638
|
+
SAMAccountName?: string | null;
|
|
639
|
+
/** Indicates if the account is configured */
|
|
640
|
+
configured?: boolean;
|
|
641
|
+
/** Creation date */
|
|
642
|
+
creationDate?: string | null;
|
|
643
|
+
/** Mailbox usage */
|
|
644
|
+
currentUsage?: number | null;
|
|
645
|
+
/** delete at expiration */
|
|
646
|
+
deleteAtExpiration?: boolean | null;
|
|
647
|
+
/** Account display name */
|
|
648
|
+
displayName?: string | null;
|
|
649
|
+
/** Email domain */
|
|
650
|
+
domain?: string;
|
|
651
|
+
/** expiration date */
|
|
652
|
+
expirationDate?: string | null;
|
|
653
|
+
/** expiration date */
|
|
654
|
+
expirationOutlookDate?: string | null;
|
|
655
|
+
/** Account first name */
|
|
656
|
+
firstName?: string | null;
|
|
657
|
+
/** Hide account in Global Address List */
|
|
658
|
+
hiddenFromGAL?: boolean;
|
|
659
|
+
/** Account id */
|
|
660
|
+
id?: number;
|
|
661
|
+
/** Account initials */
|
|
662
|
+
initial?: string | null;
|
|
663
|
+
/** Last logoff */
|
|
664
|
+
lastLogoffDate?: string | null;
|
|
665
|
+
/** Last logon */
|
|
666
|
+
lastLogonDate?: string | null;
|
|
667
|
+
/** Account last name */
|
|
668
|
+
lastName?: string | null;
|
|
669
|
+
/** Last update */
|
|
670
|
+
lastUpdateDate?: string | null;
|
|
671
|
+
/** Account login */
|
|
672
|
+
login?: string;
|
|
673
|
+
/** Enable or disable anti-virus and anti-spam */
|
|
674
|
+
mailingFilter?: EmailMxplanAccountMailingFilterList | null;
|
|
675
|
+
/** Time of account's password last update */
|
|
676
|
+
passwordLastUpdate?: string | Redacted.Redacted<string> | null;
|
|
677
|
+
/** Default email for this mailbox */
|
|
678
|
+
primaryEmailAddress?: string;
|
|
679
|
+
/** Account maximum size */
|
|
680
|
+
quota?: number;
|
|
681
|
+
/** change the renew period */
|
|
682
|
+
renewPeriod?: EmailProRenewPeriodEnum | null;
|
|
683
|
+
/** Spam and Antivirus configuration */
|
|
684
|
+
spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
|
|
685
|
+
/** Account was sending spam */
|
|
686
|
+
spamDetected?: boolean;
|
|
687
|
+
/** Ticket number of spam detection */
|
|
688
|
+
spamTicketNumber?: number | null;
|
|
689
|
+
/** Account state */
|
|
690
|
+
state?: EmailProObjectStateEnum;
|
|
691
|
+
/** Pending tasks for this account */
|
|
692
|
+
taskPendingId?: number | null;
|
|
693
|
+
}
|
|
694
|
+
export const EmailMxplanAccount = /*@__PURE__*/ S.suspend(() =>
|
|
695
|
+
S.Struct({
|
|
696
|
+
SAMAccountName: S.optional(S.NullOr(S.String)),
|
|
697
|
+
configured: S.optional(S.Boolean),
|
|
698
|
+
creationDate: S.optional(S.NullOr(S.String)),
|
|
699
|
+
currentUsage: S.optional(S.NullOr(S.Number)),
|
|
700
|
+
deleteAtExpiration: S.optional(S.NullOr(S.Boolean)),
|
|
701
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
702
|
+
domain: S.optional(S.String),
|
|
703
|
+
expirationDate: S.optional(S.NullOr(S.String)),
|
|
704
|
+
expirationOutlookDate: S.optional(S.NullOr(S.String)),
|
|
705
|
+
firstName: S.optional(S.NullOr(S.String)),
|
|
706
|
+
hiddenFromGAL: S.optional(S.Boolean),
|
|
707
|
+
id: S.optional(S.Number),
|
|
708
|
+
initial: S.optional(S.NullOr(S.String)),
|
|
709
|
+
lastLogoffDate: S.optional(S.NullOr(S.String)),
|
|
710
|
+
lastLogonDate: S.optional(S.NullOr(S.String)),
|
|
711
|
+
lastName: S.optional(S.NullOr(S.String)),
|
|
712
|
+
lastUpdateDate: S.optional(S.NullOr(S.String)),
|
|
713
|
+
login: S.optional(S.String),
|
|
714
|
+
mailingFilter: S.optional(S.NullOr(EmailMxplanAccountMailingFilterList)),
|
|
715
|
+
passwordLastUpdate: S.optional(
|
|
716
|
+
S.NullOr(S.String).pipe(T.SensitiveValue({})),
|
|
717
|
+
),
|
|
718
|
+
primaryEmailAddress: S.optional(S.String),
|
|
719
|
+
quota: S.optional(S.Number),
|
|
720
|
+
renewPeriod: S.optional(S.NullOr(EmailProRenewPeriodEnum)),
|
|
721
|
+
spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
|
|
722
|
+
spamDetected: S.optional(S.Boolean),
|
|
723
|
+
spamTicketNumber: S.optional(S.NullOr(S.Number)),
|
|
724
|
+
state: S.optional(EmailProObjectStateEnum),
|
|
725
|
+
taskPendingId: S.optional(S.NullOr(S.Number)),
|
|
726
|
+
}),
|
|
727
|
+
).annotate({
|
|
728
|
+
identifier: "EmailMxplanAccount",
|
|
729
|
+
}) as any as S.Schema<EmailMxplanAccount>;
|
|
730
|
+
|
|
731
|
+
export interface GetEmailMxplanAccountAliasRequest {
|
|
732
|
+
/** The internal name of your mxplan organization */
|
|
733
|
+
service: string;
|
|
734
|
+
/** Default email for this mailbox */
|
|
735
|
+
email: string;
|
|
736
|
+
/** Alias */
|
|
737
|
+
alias: string;
|
|
738
|
+
}
|
|
739
|
+
export const GetEmailMxplanAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
|
|
740
|
+
S.Struct({
|
|
741
|
+
service: S.String.pipe(T.Label()),
|
|
742
|
+
email: S.String.pipe(T.Label()),
|
|
743
|
+
alias: S.String.pipe(T.Label()),
|
|
744
|
+
}).pipe(
|
|
745
|
+
T.Http({
|
|
746
|
+
method: "GET",
|
|
747
|
+
uri: "/email/mxplan/{service}/account/{email}/alias/{alias}",
|
|
748
|
+
code: 200,
|
|
749
|
+
}),
|
|
750
|
+
),
|
|
751
|
+
).annotate({
|
|
752
|
+
identifier: "GetEmailMxplanAccountAliasRequest",
|
|
753
|
+
}) as any as S.Schema<GetEmailMxplanAccountAliasRequest>;
|
|
754
|
+
|
|
755
|
+
/** Aliases on this mailbox */
|
|
756
|
+
export interface EmailMxplanAccountAlias {
|
|
757
|
+
/** Alias */
|
|
758
|
+
alias?: string;
|
|
759
|
+
/** Creation date */
|
|
760
|
+
creationDate?: string;
|
|
761
|
+
/** Pending task id */
|
|
762
|
+
taskPendingId?: number;
|
|
763
|
+
}
|
|
764
|
+
export const EmailMxplanAccountAlias = /*@__PURE__*/ S.suspend(() =>
|
|
765
|
+
S.Struct({
|
|
766
|
+
alias: S.optional(S.String),
|
|
767
|
+
creationDate: S.optional(S.String),
|
|
768
|
+
taskPendingId: S.optional(S.Number),
|
|
769
|
+
}),
|
|
770
|
+
).annotate({
|
|
771
|
+
identifier: "EmailMxplanAccountAlias",
|
|
772
|
+
}) as any as S.Schema<EmailMxplanAccountAlias>;
|
|
773
|
+
|
|
774
|
+
export interface GetEmailMxplanAccountDiagnosticRequest {
|
|
775
|
+
/** The internal name of your mxplan organization */
|
|
776
|
+
service: string;
|
|
777
|
+
/** Default email for this mailbox */
|
|
778
|
+
email: string;
|
|
779
|
+
}
|
|
780
|
+
export const GetEmailMxplanAccountDiagnosticRequest = /*@__PURE__*/ S.suspend(
|
|
781
|
+
() =>
|
|
782
|
+
S.Struct({
|
|
783
|
+
service: S.String.pipe(T.Label()),
|
|
784
|
+
email: S.String.pipe(T.Label()),
|
|
785
|
+
}).pipe(
|
|
786
|
+
T.Http({
|
|
787
|
+
method: "GET",
|
|
788
|
+
uri: "/email/mxplan/{service}/account/{email}/diagnostic",
|
|
789
|
+
code: 200,
|
|
790
|
+
}),
|
|
791
|
+
),
|
|
792
|
+
).annotate({
|
|
793
|
+
identifier: "GetEmailMxplanAccountDiagnosticRequest",
|
|
794
|
+
}) as any as S.Schema<GetEmailMxplanAccountDiagnosticRequest>;
|
|
795
|
+
|
|
796
|
+
/** Account Diagnosis */
|
|
797
|
+
export interface EmailMxplanAccountDiagnosis {
|
|
798
|
+
/** Determines if ingoing message has been received */
|
|
799
|
+
canReceiveEmail?: boolean;
|
|
800
|
+
/** Determines if outgoing message has been delivered */
|
|
801
|
+
canSendEmail?: boolean;
|
|
802
|
+
/** Determines if possible to authenticate with credentials */
|
|
803
|
+
connectiveWebmail?: boolean;
|
|
804
|
+
/** Determines if account is locked */
|
|
805
|
+
isLocked?: boolean;
|
|
806
|
+
/** Determines if MX record for account's domain is properly set */
|
|
807
|
+
isMxValid?: boolean;
|
|
808
|
+
/** Determines if account is flagged as spammer */
|
|
809
|
+
isSpammer?: boolean;
|
|
810
|
+
/** Determines if SRV (autodiscovery) record for account's domain is properly set */
|
|
811
|
+
isSrvValid?: boolean;
|
|
812
|
+
/** Determines if account is suspended */
|
|
813
|
+
isSuspended?: boolean;
|
|
814
|
+
/** Last performed diagnostics date */
|
|
815
|
+
lastCheck?: string;
|
|
816
|
+
}
|
|
817
|
+
export const EmailMxplanAccountDiagnosis = /*@__PURE__*/ S.suspend(() =>
|
|
818
|
+
S.Struct({
|
|
819
|
+
canReceiveEmail: S.optional(S.Boolean),
|
|
820
|
+
canSendEmail: S.optional(S.Boolean),
|
|
821
|
+
connectiveWebmail: S.optional(S.Boolean),
|
|
822
|
+
isLocked: S.optional(S.Boolean),
|
|
823
|
+
isMxValid: S.optional(S.Boolean),
|
|
824
|
+
isSpammer: S.optional(S.Boolean),
|
|
825
|
+
isSrvValid: S.optional(S.Boolean),
|
|
826
|
+
isSuspended: S.optional(S.Boolean),
|
|
827
|
+
lastCheck: S.optional(S.String),
|
|
828
|
+
}),
|
|
829
|
+
).annotate({
|
|
830
|
+
identifier: "EmailMxplanAccountDiagnosis",
|
|
831
|
+
}) as any as S.Schema<EmailMxplanAccountDiagnosis>;
|
|
832
|
+
|
|
833
|
+
export interface GetEmailMxplanAccountFullAccessRequest {
|
|
834
|
+
/** The internal name of your mxplan organization */
|
|
835
|
+
service: string;
|
|
836
|
+
/** Default email for this mailbox */
|
|
837
|
+
email: string;
|
|
838
|
+
/** Account id to give full access */
|
|
839
|
+
allowedAccountId: number;
|
|
840
|
+
}
|
|
841
|
+
export const GetEmailMxplanAccountFullAccessRequest = /*@__PURE__*/ S.suspend(
|
|
842
|
+
() =>
|
|
843
|
+
S.Struct({
|
|
844
|
+
service: S.String.pipe(T.Label()),
|
|
845
|
+
email: S.String.pipe(T.Label()),
|
|
846
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
847
|
+
}).pipe(
|
|
848
|
+
T.Http({
|
|
849
|
+
method: "GET",
|
|
850
|
+
uri: "/email/mxplan/{service}/account/{email}/fullAccess/{allowedAccountId}",
|
|
851
|
+
code: 200,
|
|
852
|
+
}),
|
|
853
|
+
),
|
|
854
|
+
).annotate({
|
|
855
|
+
identifier: "GetEmailMxplanAccountFullAccessRequest",
|
|
856
|
+
}) as any as S.Schema<GetEmailMxplanAccountFullAccessRequest>;
|
|
857
|
+
|
|
858
|
+
/** Users having full access on this mailbox */
|
|
859
|
+
export interface EmailMxplanAccountFullAccess {
|
|
860
|
+
/** Account id to give full access */
|
|
861
|
+
allowedAccountId?: number;
|
|
862
|
+
/** Creation date */
|
|
863
|
+
creationDate?: string;
|
|
864
|
+
/** Pending task id */
|
|
865
|
+
taskPendingId?: number;
|
|
866
|
+
}
|
|
867
|
+
export const EmailMxplanAccountFullAccess = /*@__PURE__*/ S.suspend(() =>
|
|
868
|
+
S.Struct({
|
|
869
|
+
allowedAccountId: S.optional(S.Number),
|
|
870
|
+
creationDate: S.optional(S.String),
|
|
871
|
+
taskPendingId: S.optional(S.Number),
|
|
872
|
+
}),
|
|
873
|
+
).annotate({
|
|
874
|
+
identifier: "EmailMxplanAccountFullAccess",
|
|
875
|
+
}) as any as S.Schema<EmailMxplanAccountFullAccess>;
|
|
876
|
+
|
|
877
|
+
export interface GetEmailMxplanAccountSendAsRequest {
|
|
878
|
+
/** The internal name of your mxplan organization */
|
|
879
|
+
service: string;
|
|
880
|
+
/** Default email for this mailbox */
|
|
881
|
+
email: string;
|
|
882
|
+
/** Account id to give send as */
|
|
883
|
+
allowedAccountId: number;
|
|
884
|
+
}
|
|
885
|
+
export const GetEmailMxplanAccountSendAsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
886
|
+
S.Struct({
|
|
887
|
+
service: S.String.pipe(T.Label()),
|
|
888
|
+
email: S.String.pipe(T.Label()),
|
|
889
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
890
|
+
}).pipe(
|
|
891
|
+
T.Http({
|
|
892
|
+
method: "GET",
|
|
893
|
+
uri: "/email/mxplan/{service}/account/{email}/sendAs/{allowedAccountId}",
|
|
894
|
+
code: 200,
|
|
895
|
+
}),
|
|
896
|
+
),
|
|
897
|
+
).annotate({
|
|
898
|
+
identifier: "GetEmailMxplanAccountSendAsRequest",
|
|
899
|
+
}) as any as S.Schema<GetEmailMxplanAccountSendAsRequest>;
|
|
900
|
+
|
|
901
|
+
/** Users authorized to send mails from this mailbox */
|
|
902
|
+
export interface EmailMxplanAccountSendAs {
|
|
903
|
+
/** Account id to give send as */
|
|
904
|
+
allowedAccountId?: number;
|
|
905
|
+
/** Creation date */
|
|
906
|
+
creationDate?: string;
|
|
907
|
+
/** Pending task id */
|
|
908
|
+
taskPendingId?: number;
|
|
909
|
+
}
|
|
910
|
+
export const EmailMxplanAccountSendAs = /*@__PURE__*/ S.suspend(() =>
|
|
911
|
+
S.Struct({
|
|
912
|
+
allowedAccountId: S.optional(S.Number),
|
|
913
|
+
creationDate: S.optional(S.String),
|
|
914
|
+
taskPendingId: S.optional(S.Number),
|
|
915
|
+
}),
|
|
916
|
+
).annotate({
|
|
917
|
+
identifier: "EmailMxplanAccountSendAs",
|
|
918
|
+
}) as any as S.Schema<EmailMxplanAccountSendAs>;
|
|
919
|
+
|
|
920
|
+
export interface GetEmailMxplanAccountSendOnBehalfToRequest {
|
|
921
|
+
/** The internal name of your mxplan organization */
|
|
922
|
+
service: string;
|
|
923
|
+
/** Default email for this mailbox */
|
|
924
|
+
email: string;
|
|
925
|
+
/** Account id to give send on behalf to */
|
|
926
|
+
allowedAccountId: number;
|
|
927
|
+
}
|
|
928
|
+
export const GetEmailMxplanAccountSendOnBehalfToRequest =
|
|
929
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
930
|
+
S.Struct({
|
|
931
|
+
service: S.String.pipe(T.Label()),
|
|
932
|
+
email: S.String.pipe(T.Label()),
|
|
933
|
+
allowedAccountId: S.Number.pipe(T.Label()),
|
|
934
|
+
}).pipe(
|
|
935
|
+
T.Http({
|
|
936
|
+
method: "GET",
|
|
937
|
+
uri: "/email/mxplan/{service}/account/{email}/sendOnBehalfTo/{allowedAccountId}",
|
|
938
|
+
code: 200,
|
|
939
|
+
}),
|
|
940
|
+
),
|
|
941
|
+
).annotate({
|
|
942
|
+
identifier: "GetEmailMxplanAccountSendOnBehalfToRequest",
|
|
943
|
+
}) as any as S.Schema<GetEmailMxplanAccountSendOnBehalfToRequest>;
|
|
944
|
+
|
|
945
|
+
/** Get users authorized to Send On Behalf To mails from this mailbox */
|
|
946
|
+
export interface EmailMxplanAccountSendOnBehalfTo {
|
|
947
|
+
/** Account id to give send on behalf to */
|
|
948
|
+
allowedAccountId?: number;
|
|
949
|
+
/** Creation date */
|
|
950
|
+
creationDate?: string;
|
|
951
|
+
/** Pending task id */
|
|
952
|
+
taskPendingId?: number;
|
|
953
|
+
}
|
|
954
|
+
export const EmailMxplanAccountSendOnBehalfTo = /*@__PURE__*/ S.suspend(() =>
|
|
955
|
+
S.Struct({
|
|
956
|
+
allowedAccountId: S.optional(S.Number),
|
|
957
|
+
creationDate: S.optional(S.String),
|
|
958
|
+
taskPendingId: S.optional(S.Number),
|
|
959
|
+
}),
|
|
960
|
+
).annotate({
|
|
961
|
+
identifier: "EmailMxplanAccountSendOnBehalfTo",
|
|
962
|
+
}) as any as S.Schema<EmailMxplanAccountSendOnBehalfTo>;
|
|
963
|
+
|
|
964
|
+
export interface GetEmailMxplanAccountTaskRequest {
|
|
965
|
+
/** The internal name of your mxplan organization */
|
|
966
|
+
service: string;
|
|
967
|
+
/** Default email for this mailbox */
|
|
968
|
+
email: string;
|
|
969
|
+
/** Task id */
|
|
970
|
+
id: number;
|
|
971
|
+
}
|
|
972
|
+
export const GetEmailMxplanAccountTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
973
|
+
S.Struct({
|
|
974
|
+
service: S.String.pipe(T.Label()),
|
|
975
|
+
email: S.String.pipe(T.Label()),
|
|
976
|
+
id: S.Number.pipe(T.Label()),
|
|
977
|
+
}).pipe(
|
|
978
|
+
T.Http({
|
|
979
|
+
method: "GET",
|
|
980
|
+
uri: "/email/mxplan/{service}/account/{email}/task/{id}",
|
|
981
|
+
code: 200,
|
|
982
|
+
}),
|
|
983
|
+
),
|
|
984
|
+
).annotate({
|
|
985
|
+
identifier: "GetEmailMxplanAccountTaskRequest",
|
|
986
|
+
}) as any as S.Schema<GetEmailMxplanAccountTaskRequest>;
|
|
987
|
+
|
|
988
|
+
export interface GetEmailMxplanDomainRequest {
|
|
989
|
+
/** The internal name of your mxplan organization */
|
|
990
|
+
service: string;
|
|
991
|
+
/** Domain name */
|
|
992
|
+
domainName: string;
|
|
993
|
+
}
|
|
994
|
+
export const GetEmailMxplanDomainRequest = /*@__PURE__*/ S.suspend(() =>
|
|
995
|
+
S.Struct({
|
|
996
|
+
service: S.String.pipe(T.Label()),
|
|
997
|
+
domainName: S.String.pipe(T.Label()),
|
|
998
|
+
}).pipe(
|
|
999
|
+
T.Http({
|
|
1000
|
+
method: "GET",
|
|
1001
|
+
uri: "/email/mxplan/{service}/domain/{domainName}",
|
|
1002
|
+
code: 200,
|
|
1003
|
+
}),
|
|
1004
|
+
),
|
|
1005
|
+
).annotate({
|
|
1006
|
+
identifier: "GetEmailMxplanDomainRequest",
|
|
1007
|
+
}) as any as S.Schema<GetEmailMxplanDomainRequest>;
|
|
1008
|
+
|
|
1009
|
+
/** List of aliases for this domain */
|
|
1010
|
+
export type EmailMxplanDomainDomainAliasesList = Array<string>;
|
|
1011
|
+
export const EmailMxplanDomainDomainAliasesList = /*@__PURE__*/ S.Array(
|
|
1012
|
+
S.String,
|
|
1013
|
+
) as any as S.Schema<EmailMxplanDomainDomainAliasesList>;
|
|
1014
|
+
|
|
1015
|
+
/** Expected MX record(s) on this domain */
|
|
1016
|
+
export type EmailMxplanDomainExpectedMXList = Array<string>;
|
|
1017
|
+
export const EmailMxplanDomainExpectedMXList = /*@__PURE__*/ S.Array(
|
|
1018
|
+
S.String,
|
|
1019
|
+
) as any as S.Schema<EmailMxplanDomainExpectedMXList>;
|
|
1020
|
+
|
|
1021
|
+
/** Domain MX record configured in DNS */
|
|
1022
|
+
export type EmailMxplanDomainMxRecordList = Array<string>;
|
|
1023
|
+
export const EmailMxplanDomainMxRecordList = /*@__PURE__*/ S.Array(
|
|
1024
|
+
S.String,
|
|
1025
|
+
) as any as S.Schema<EmailMxplanDomainMxRecordList>;
|
|
1026
|
+
|
|
1027
|
+
/** Domain SRV record configured in DNS */
|
|
1028
|
+
export type EmailMxplanDomainSrvRecordList = Array<string>;
|
|
1029
|
+
export const EmailMxplanDomainSrvRecordList = /*@__PURE__*/ S.Array(
|
|
1030
|
+
S.String,
|
|
1031
|
+
) as any as S.Schema<EmailMxplanDomainSrvRecordList>;
|
|
1032
|
+
|
|
1033
|
+
/** Domain type */
|
|
1034
|
+
export type EmailProDomainTypeEnum = "authoritative" | "nonAuthoritative";
|
|
1035
|
+
export const EmailProDomainTypeEnum = /*@__PURE__*/ S.String;
|
|
1036
|
+
|
|
1037
|
+
/** Domain */
|
|
1038
|
+
export interface EmailMxplanDomain {
|
|
1039
|
+
/** Cname that will be checked to prove the domain ownership */
|
|
1040
|
+
cnameToCheck?: string | null;
|
|
1041
|
+
/** List of aliases for this domain */
|
|
1042
|
+
domainAliases?: EmailMxplanDomainDomainAliasesList;
|
|
1043
|
+
/** Domain validation status */
|
|
1044
|
+
domainValidated?: boolean;
|
|
1045
|
+
/** Expected MX record(s) on this domain */
|
|
1046
|
+
expectedMX?: EmailMxplanDomainExpectedMXList;
|
|
1047
|
+
/** Indicate if this domain is an alias for another domain */
|
|
1048
|
+
isAliasDomain?: boolean;
|
|
1049
|
+
/** If true your dns mx configuration is valid */
|
|
1050
|
+
mxIsValid?: boolean;
|
|
1051
|
+
/** Domain MX record configured in DNS */
|
|
1052
|
+
mxRecord?: EmailMxplanDomainMxRecordList;
|
|
1053
|
+
/** If specified, emails to not existing address will be redirected to that domain */
|
|
1054
|
+
mxRelay?: string | null;
|
|
1055
|
+
/** Domain name */
|
|
1056
|
+
name?: string;
|
|
1057
|
+
/** If true your dns srv record is valid */
|
|
1058
|
+
srvIsValid?: boolean;
|
|
1059
|
+
/** Domain SRV record configured in DNS */
|
|
1060
|
+
srvRecord?: EmailMxplanDomainSrvRecordList;
|
|
1061
|
+
/** Domain state */
|
|
1062
|
+
state?: EmailProObjectStateEnum;
|
|
1063
|
+
/** Pending taks id */
|
|
1064
|
+
taskPendingId?: number;
|
|
1065
|
+
/** Domain type */
|
|
1066
|
+
type?: EmailProDomainTypeEnum;
|
|
1067
|
+
}
|
|
1068
|
+
export const EmailMxplanDomain = /*@__PURE__*/ S.suspend(() =>
|
|
1069
|
+
S.Struct({
|
|
1070
|
+
cnameToCheck: S.optional(S.NullOr(S.String)),
|
|
1071
|
+
domainAliases: S.optional(EmailMxplanDomainDomainAliasesList),
|
|
1072
|
+
domainValidated: S.optional(S.Boolean),
|
|
1073
|
+
expectedMX: S.optional(EmailMxplanDomainExpectedMXList),
|
|
1074
|
+
isAliasDomain: S.optional(S.Boolean),
|
|
1075
|
+
mxIsValid: S.optional(S.Boolean),
|
|
1076
|
+
mxRecord: S.optional(EmailMxplanDomainMxRecordList),
|
|
1077
|
+
mxRelay: S.optional(S.NullOr(S.String)),
|
|
1078
|
+
name: S.optional(S.String),
|
|
1079
|
+
srvIsValid: S.optional(S.Boolean),
|
|
1080
|
+
srvRecord: S.optional(EmailMxplanDomainSrvRecordList),
|
|
1081
|
+
state: S.optional(EmailProObjectStateEnum),
|
|
1082
|
+
taskPendingId: S.optional(S.Number),
|
|
1083
|
+
type: S.optional(EmailProDomainTypeEnum),
|
|
1084
|
+
}),
|
|
1085
|
+
).annotate({
|
|
1086
|
+
identifier: "EmailMxplanDomain",
|
|
1087
|
+
}) as any as S.Schema<EmailMxplanDomain>;
|
|
1088
|
+
|
|
1089
|
+
export interface GetEmailMxplanDomainDisclaimerRequest {
|
|
1090
|
+
/** The internal name of your mxplan organization */
|
|
1091
|
+
service: string;
|
|
1092
|
+
/** Domain name */
|
|
1093
|
+
domainName: string;
|
|
1094
|
+
}
|
|
1095
|
+
export const GetEmailMxplanDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
|
|
1096
|
+
() =>
|
|
1097
|
+
S.Struct({
|
|
1098
|
+
service: S.String.pipe(T.Label()),
|
|
1099
|
+
domainName: S.String.pipe(T.Label()),
|
|
1100
|
+
}).pipe(
|
|
1101
|
+
T.Http({
|
|
1102
|
+
method: "GET",
|
|
1103
|
+
uri: "/email/mxplan/{service}/domain/{domainName}/disclaimer",
|
|
1104
|
+
code: 200,
|
|
1105
|
+
}),
|
|
1106
|
+
),
|
|
1107
|
+
).annotate({
|
|
1108
|
+
identifier: "GetEmailMxplanDomainDisclaimerRequest",
|
|
1109
|
+
}) as any as S.Schema<GetEmailMxplanDomainDisclaimerRequest>;
|
|
1110
|
+
|
|
1111
|
+
/** disclaimer */
|
|
1112
|
+
export interface EmailProDisclaimer {
|
|
1113
|
+
/** Signature, added at the bottom of your organization emails */
|
|
1114
|
+
content?: string;
|
|
1115
|
+
/** Creation date */
|
|
1116
|
+
creationDate?: string;
|
|
1117
|
+
/** Disclaimer name */
|
|
1118
|
+
name?: string;
|
|
1119
|
+
/** Activate the disclaimer only for external emails */
|
|
1120
|
+
outsideOnly?: boolean;
|
|
1121
|
+
/** task pending id */
|
|
1122
|
+
taskPendingId?: number;
|
|
1123
|
+
}
|
|
1124
|
+
export const EmailProDisclaimer = /*@__PURE__*/ S.suspend(() =>
|
|
1125
|
+
S.Struct({
|
|
1126
|
+
content: S.optional(S.String),
|
|
1127
|
+
creationDate: S.optional(S.String),
|
|
1128
|
+
name: S.optional(S.String),
|
|
1129
|
+
outsideOnly: S.optional(S.Boolean),
|
|
1130
|
+
taskPendingId: S.optional(S.Number),
|
|
1131
|
+
}),
|
|
1132
|
+
).annotate({
|
|
1133
|
+
identifier: "EmailProDisclaimer",
|
|
1134
|
+
}) as any as S.Schema<EmailProDisclaimer>;
|
|
1135
|
+
|
|
1136
|
+
export interface GetEmailMxplanExternalContactRequest {
|
|
1137
|
+
/** The internal name of your mxplan organization */
|
|
1138
|
+
service: string;
|
|
1139
|
+
/** Contact email */
|
|
1140
|
+
externalEmailAddress: string;
|
|
1141
|
+
}
|
|
1142
|
+
export const GetEmailMxplanExternalContactRequest = /*@__PURE__*/ S.suspend(
|
|
1143
|
+
() =>
|
|
1144
|
+
S.Struct({
|
|
1145
|
+
service: S.String.pipe(T.Label()),
|
|
1146
|
+
externalEmailAddress: S.String.pipe(T.Label()),
|
|
1147
|
+
}).pipe(
|
|
1148
|
+
T.Http({
|
|
1149
|
+
method: "GET",
|
|
1150
|
+
uri: "/email/mxplan/{service}/externalContact/{externalEmailAddress}",
|
|
1151
|
+
code: 200,
|
|
1152
|
+
}),
|
|
1153
|
+
),
|
|
1154
|
+
).annotate({
|
|
1155
|
+
identifier: "GetEmailMxplanExternalContactRequest",
|
|
1156
|
+
}) as any as S.Schema<GetEmailMxplanExternalContactRequest>;
|
|
1157
|
+
|
|
1158
|
+
/** External contact for this mxplan service */
|
|
1159
|
+
export interface EmailMxplanExternalContact {
|
|
1160
|
+
/** Creation date */
|
|
1161
|
+
creationDate?: string;
|
|
1162
|
+
/** Contact display name */
|
|
1163
|
+
displayName?: string;
|
|
1164
|
+
/** Contact email */
|
|
1165
|
+
externalEmailAddress?: string;
|
|
1166
|
+
/** Contact first name */
|
|
1167
|
+
firstName?: string | null;
|
|
1168
|
+
/** Hide the contact in Global Address List */
|
|
1169
|
+
hiddenFromGAL?: boolean;
|
|
1170
|
+
/** Contact id */
|
|
1171
|
+
id?: number;
|
|
1172
|
+
/** Contact initals */
|
|
1173
|
+
initials?: string | null;
|
|
1174
|
+
/** Contact last name */
|
|
1175
|
+
lastName?: string | null;
|
|
1176
|
+
/** Contact state */
|
|
1177
|
+
state?: EmailProObjectStateEnum;
|
|
1178
|
+
/** Task pending id */
|
|
1179
|
+
taskPendingId?: number;
|
|
1180
|
+
}
|
|
1181
|
+
export const EmailMxplanExternalContact = /*@__PURE__*/ S.suspend(() =>
|
|
1182
|
+
S.Struct({
|
|
1183
|
+
creationDate: S.optional(S.String),
|
|
1184
|
+
displayName: S.optional(S.String),
|
|
1185
|
+
externalEmailAddress: S.optional(S.String),
|
|
1186
|
+
firstName: S.optional(S.NullOr(S.String)),
|
|
1187
|
+
hiddenFromGAL: S.optional(S.Boolean),
|
|
1188
|
+
id: S.optional(S.Number),
|
|
1189
|
+
initials: S.optional(S.NullOr(S.String)),
|
|
1190
|
+
lastName: S.optional(S.NullOr(S.String)),
|
|
1191
|
+
state: S.optional(EmailProObjectStateEnum),
|
|
1192
|
+
taskPendingId: S.optional(S.Number),
|
|
1193
|
+
}),
|
|
1194
|
+
).annotate({
|
|
1195
|
+
identifier: "EmailMxplanExternalContact",
|
|
1196
|
+
}) as any as S.Schema<EmailMxplanExternalContact>;
|
|
1197
|
+
|
|
1198
|
+
export interface GetEmailMxplanServerRequest {
|
|
1199
|
+
/** The internal name of your mxplan organization */
|
|
1200
|
+
service: string;
|
|
1201
|
+
}
|
|
1202
|
+
export const GetEmailMxplanServerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1203
|
+
S.Struct({
|
|
1204
|
+
service: S.String.pipe(T.Label()),
|
|
1205
|
+
}).pipe(
|
|
1206
|
+
T.Http({ method: "GET", uri: "/email/mxplan/{service}/server", code: 200 }),
|
|
1207
|
+
),
|
|
1208
|
+
).annotate({
|
|
1209
|
+
identifier: "GetEmailMxplanServerRequest",
|
|
1210
|
+
}) as any as S.Schema<GetEmailMxplanServerRequest>;
|
|
1211
|
+
|
|
1212
|
+
/** Server State */
|
|
1213
|
+
export type EmailProServerStateEnum =
|
|
1214
|
+
| "configurationPending"
|
|
1215
|
+
| "notConfigured"
|
|
1216
|
+
| "ok";
|
|
1217
|
+
export const EmailProServerStateEnum = /*@__PURE__*/ S.String;
|
|
1218
|
+
|
|
1219
|
+
/** Server */
|
|
1220
|
+
export interface EmailMxplanServer {
|
|
1221
|
+
/** Current disk usage in MB */
|
|
1222
|
+
currentDiskUsage?: number | null;
|
|
1223
|
+
/** Total disk size in MB */
|
|
1224
|
+
diskSize?: number | null;
|
|
1225
|
+
/** ipV4 */
|
|
1226
|
+
ip?: string;
|
|
1227
|
+
/** ipV6 */
|
|
1228
|
+
ipV6?: string | null;
|
|
1229
|
+
/** If true your dns A record is valid */
|
|
1230
|
+
isAValid?: boolean;
|
|
1231
|
+
/** If true your dns AAAA record is valid */
|
|
1232
|
+
isAaaaValid?: boolean;
|
|
1233
|
+
/** If true your dns ptrV6 record is valid */
|
|
1234
|
+
isPtrV6Valid?: boolean;
|
|
1235
|
+
/** If true your dns ptr record is valid */
|
|
1236
|
+
isPtrValid?: boolean;
|
|
1237
|
+
/** Server state */
|
|
1238
|
+
state?: EmailProServerStateEnum;
|
|
1239
|
+
/** Task pending id */
|
|
1240
|
+
taskPendingId?: number;
|
|
1241
|
+
/** Server version */
|
|
1242
|
+
version?: number | null;
|
|
1243
|
+
}
|
|
1244
|
+
export const EmailMxplanServer = /*@__PURE__*/ S.suspend(() =>
|
|
1245
|
+
S.Struct({
|
|
1246
|
+
currentDiskUsage: S.optional(S.NullOr(S.Number)),
|
|
1247
|
+
diskSize: S.optional(S.NullOr(S.Number)),
|
|
1248
|
+
ip: S.optional(S.String),
|
|
1249
|
+
ipV6: S.optional(S.NullOr(S.String)),
|
|
1250
|
+
isAValid: S.optional(S.Boolean),
|
|
1251
|
+
isAaaaValid: S.optional(S.Boolean),
|
|
1252
|
+
isPtrV6Valid: S.optional(S.Boolean),
|
|
1253
|
+
isPtrValid: S.optional(S.Boolean),
|
|
1254
|
+
state: S.optional(EmailProServerStateEnum),
|
|
1255
|
+
taskPendingId: S.optional(S.Number),
|
|
1256
|
+
version: S.optional(S.NullOr(S.Number)),
|
|
1257
|
+
}),
|
|
1258
|
+
).annotate({
|
|
1259
|
+
identifier: "EmailMxplanServer",
|
|
1260
|
+
}) as any as S.Schema<EmailMxplanServer>;
|
|
1261
|
+
|
|
1262
|
+
export interface GetEmailMxplanTaskRequest {
|
|
1263
|
+
/** The internal name of your mxplan organization */
|
|
1264
|
+
service: string;
|
|
1265
|
+
/** Task id */
|
|
1266
|
+
id: number;
|
|
1267
|
+
}
|
|
1268
|
+
export const GetEmailMxplanTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1269
|
+
S.Struct({
|
|
1270
|
+
service: S.String.pipe(T.Label()),
|
|
1271
|
+
id: S.Number.pipe(T.Label()),
|
|
1272
|
+
}).pipe(
|
|
1273
|
+
T.Http({
|
|
1274
|
+
method: "GET",
|
|
1275
|
+
uri: "/email/mxplan/{service}/task/{id}",
|
|
1276
|
+
code: 200,
|
|
1277
|
+
}),
|
|
1278
|
+
),
|
|
1279
|
+
).annotate({
|
|
1280
|
+
identifier: "GetEmailMxplanTaskRequest",
|
|
1281
|
+
}) as any as S.Schema<GetEmailMxplanTaskRequest>;
|
|
1282
|
+
|
|
1283
|
+
/** Resource tag filter */
|
|
1284
|
+
export interface IamResourceTagFilterInput {}
|
|
1285
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
|
|
1286
|
+
S.Struct({}),
|
|
1287
|
+
).annotate({
|
|
1288
|
+
identifier: "IamResourceTagFilterInput",
|
|
1289
|
+
}) as any as S.Schema<IamResourceTagFilterInput>;
|
|
1290
|
+
|
|
1291
|
+
export type ListEmailMxplanRequestIamTagsValueList =
|
|
1292
|
+
Array<IamResourceTagFilterInput>;
|
|
1293
|
+
export const ListEmailMxplanRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
1294
|
+
IamResourceTagFilterInput,
|
|
1295
|
+
) as any as S.Schema<ListEmailMxplanRequestIamTagsValueList>;
|
|
1296
|
+
|
|
1297
|
+
export type ListEmailMxplanRequestIamTagsMap = {
|
|
1298
|
+
[key: string]: ListEmailMxplanRequestIamTagsValueList | undefined;
|
|
1299
|
+
};
|
|
1300
|
+
export const ListEmailMxplanRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
1301
|
+
S.String,
|
|
1302
|
+
ListEmailMxplanRequestIamTagsValueList,
|
|
1303
|
+
) as any as S.Schema<ListEmailMxplanRequestIamTagsMap>;
|
|
1304
|
+
|
|
1305
|
+
export interface ListEmailMxplanRequest {
|
|
1306
|
+
/** Filter resources on IAM tags */
|
|
1307
|
+
iamTags?: ListEmailMxplanRequestIamTagsMap;
|
|
1308
|
+
}
|
|
1309
|
+
export const ListEmailMxplanRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1310
|
+
S.Struct({
|
|
1311
|
+
iamTags: S.optional(ListEmailMxplanRequestIamTagsMap.pipe(T.Query())),
|
|
1312
|
+
}).pipe(T.Http({ method: "GET", uri: "/email/mxplan", code: 200 })),
|
|
1313
|
+
).annotate({
|
|
1314
|
+
identifier: "ListEmailMxplanRequest",
|
|
1315
|
+
}) as any as S.Schema<ListEmailMxplanRequest>;
|
|
1316
|
+
|
|
1317
|
+
export type ListEmailMxplanResponseBodyList = Array<string>;
|
|
1318
|
+
export const ListEmailMxplanResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1319
|
+
S.String,
|
|
1320
|
+
) as any as S.Schema<ListEmailMxplanResponseBodyList>;
|
|
1321
|
+
|
|
1322
|
+
export type ListEmailMxplanResponse = ListEmailMxplanResponseBodyList;
|
|
1323
|
+
export const ListEmailMxplanResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1324
|
+
ListEmailMxplanResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1325
|
+
).annotate({
|
|
1326
|
+
identifier: "ListEmailMxplanResponse",
|
|
1327
|
+
}) as any as S.Schema<ListEmailMxplanResponse>;
|
|
1328
|
+
|
|
1329
|
+
export interface ListEmailMxplanAccountRequest {
|
|
1330
|
+
/** The internal name of your mxplan organization */
|
|
1331
|
+
service: string;
|
|
1332
|
+
/** Filter the value of id property (like) */
|
|
1333
|
+
id?: number;
|
|
1334
|
+
/** Filter the value of primaryEmailAddress property (like) */
|
|
1335
|
+
primaryEmailAddress?: string;
|
|
1336
|
+
}
|
|
1337
|
+
export const ListEmailMxplanAccountRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1338
|
+
S.Struct({
|
|
1339
|
+
service: S.String.pipe(T.Label()),
|
|
1340
|
+
id: S.optional(S.Number.pipe(T.Query())),
|
|
1341
|
+
primaryEmailAddress: S.optional(S.String.pipe(T.Query())),
|
|
1342
|
+
}).pipe(
|
|
1343
|
+
T.Http({
|
|
1344
|
+
method: "GET",
|
|
1345
|
+
uri: "/email/mxplan/{service}/account",
|
|
1346
|
+
code: 200,
|
|
1347
|
+
}),
|
|
1348
|
+
),
|
|
1349
|
+
).annotate({
|
|
1350
|
+
identifier: "ListEmailMxplanAccountRequest",
|
|
1351
|
+
}) as any as S.Schema<ListEmailMxplanAccountRequest>;
|
|
1352
|
+
|
|
1353
|
+
export type ListEmailMxplanAccountResponseBodyList = Array<string>;
|
|
1354
|
+
export const ListEmailMxplanAccountResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1355
|
+
S.String,
|
|
1356
|
+
) as any as S.Schema<ListEmailMxplanAccountResponseBodyList>;
|
|
1357
|
+
|
|
1358
|
+
export type ListEmailMxplanAccountResponse =
|
|
1359
|
+
ListEmailMxplanAccountResponseBodyList;
|
|
1360
|
+
export const ListEmailMxplanAccountResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1361
|
+
ListEmailMxplanAccountResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1362
|
+
).annotate({
|
|
1363
|
+
identifier: "ListEmailMxplanAccountResponse",
|
|
1364
|
+
}) as any as S.Schema<ListEmailMxplanAccountResponse>;
|
|
1365
|
+
|
|
1366
|
+
export interface ListEmailMxplanAccountAliasRequest {
|
|
1367
|
+
/** The internal name of your mxplan organization */
|
|
1368
|
+
service: string;
|
|
1369
|
+
/** Default email for this mailbox */
|
|
1370
|
+
email: string;
|
|
1371
|
+
}
|
|
1372
|
+
export const ListEmailMxplanAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1373
|
+
S.Struct({
|
|
1374
|
+
service: S.String.pipe(T.Label()),
|
|
1375
|
+
email: S.String.pipe(T.Label()),
|
|
1376
|
+
}).pipe(
|
|
1377
|
+
T.Http({
|
|
1378
|
+
method: "GET",
|
|
1379
|
+
uri: "/email/mxplan/{service}/account/{email}/alias",
|
|
1380
|
+
code: 200,
|
|
1381
|
+
}),
|
|
1382
|
+
),
|
|
1383
|
+
).annotate({
|
|
1384
|
+
identifier: "ListEmailMxplanAccountAliasRequest",
|
|
1385
|
+
}) as any as S.Schema<ListEmailMxplanAccountAliasRequest>;
|
|
1386
|
+
|
|
1387
|
+
export type ListEmailMxplanAccountAliasResponseBodyList = Array<string>;
|
|
1388
|
+
export const ListEmailMxplanAccountAliasResponseBodyList =
|
|
1389
|
+
/*@__PURE__*/ S.Array(
|
|
1390
|
+
S.String,
|
|
1391
|
+
) as any as S.Schema<ListEmailMxplanAccountAliasResponseBodyList>;
|
|
1392
|
+
|
|
1393
|
+
export type ListEmailMxplanAccountAliasResponse =
|
|
1394
|
+
ListEmailMxplanAccountAliasResponseBodyList;
|
|
1395
|
+
export const ListEmailMxplanAccountAliasResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1396
|
+
ListEmailMxplanAccountAliasResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1397
|
+
).annotate({
|
|
1398
|
+
identifier: "ListEmailMxplanAccountAliasResponse",
|
|
1399
|
+
}) as any as S.Schema<ListEmailMxplanAccountAliasResponse>;
|
|
1400
|
+
|
|
1401
|
+
export interface ListEmailMxplanAccountCapabilitiesRequest {
|
|
1402
|
+
/** The internal name of your mxplan organization */
|
|
1403
|
+
service: string;
|
|
1404
|
+
/** Default email for this mailbox */
|
|
1405
|
+
email: string;
|
|
1406
|
+
}
|
|
1407
|
+
export const ListEmailMxplanAccountCapabilitiesRequest =
|
|
1408
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1409
|
+
S.Struct({
|
|
1410
|
+
service: S.String.pipe(T.Label()),
|
|
1411
|
+
email: S.String.pipe(T.Label()),
|
|
1412
|
+
}).pipe(
|
|
1413
|
+
T.Http({
|
|
1414
|
+
method: "GET",
|
|
1415
|
+
uri: "/email/mxplan/{service}/account/{email}/capabilities",
|
|
1416
|
+
code: 200,
|
|
1417
|
+
}),
|
|
1418
|
+
),
|
|
1419
|
+
).annotate({
|
|
1420
|
+
identifier: "ListEmailMxplanAccountCapabilitiesRequest",
|
|
1421
|
+
}) as any as S.Schema<ListEmailMxplanAccountCapabilitiesRequest>;
|
|
1422
|
+
|
|
1423
|
+
/** List of allowed quotas (no constraint if null) */
|
|
1424
|
+
export type EmailMxplanAccountCapabilitiesQuotasList = Array<number>;
|
|
1425
|
+
export const EmailMxplanAccountCapabilitiesQuotasList = /*@__PURE__*/ S.Array(
|
|
1426
|
+
S.Number,
|
|
1427
|
+
) as any as S.Schema<EmailMxplanAccountCapabilitiesQuotasList>;
|
|
1428
|
+
|
|
1429
|
+
/** Account capabilities */
|
|
1430
|
+
export interface EmailMxplanAccountCapabilities {
|
|
1431
|
+
/** List of allowed quotas (no constraint if null) */
|
|
1432
|
+
quotas?: EmailMxplanAccountCapabilitiesQuotasList | null;
|
|
1433
|
+
}
|
|
1434
|
+
export const EmailMxplanAccountCapabilities = /*@__PURE__*/ S.suspend(() =>
|
|
1435
|
+
S.Struct({
|
|
1436
|
+
quotas: S.optional(S.NullOr(EmailMxplanAccountCapabilitiesQuotasList)),
|
|
1437
|
+
}),
|
|
1438
|
+
).annotate({
|
|
1439
|
+
identifier: "EmailMxplanAccountCapabilities",
|
|
1440
|
+
}) as any as S.Schema<EmailMxplanAccountCapabilities>;
|
|
1441
|
+
|
|
1442
|
+
export interface ListEmailMxplanAccountFullAccessRequest {
|
|
1443
|
+
/** The internal name of your mxplan organization */
|
|
1444
|
+
service: string;
|
|
1445
|
+
/** Default email for this mailbox */
|
|
1446
|
+
email: string;
|
|
1447
|
+
}
|
|
1448
|
+
export const ListEmailMxplanAccountFullAccessRequest = /*@__PURE__*/ S.suspend(
|
|
1449
|
+
() =>
|
|
1450
|
+
S.Struct({
|
|
1451
|
+
service: S.String.pipe(T.Label()),
|
|
1452
|
+
email: S.String.pipe(T.Label()),
|
|
1453
|
+
}).pipe(
|
|
1454
|
+
T.Http({
|
|
1455
|
+
method: "GET",
|
|
1456
|
+
uri: "/email/mxplan/{service}/account/{email}/fullAccess",
|
|
1457
|
+
code: 200,
|
|
1458
|
+
}),
|
|
1459
|
+
),
|
|
1460
|
+
).annotate({
|
|
1461
|
+
identifier: "ListEmailMxplanAccountFullAccessRequest",
|
|
1462
|
+
}) as any as S.Schema<ListEmailMxplanAccountFullAccessRequest>;
|
|
1463
|
+
|
|
1464
|
+
export type ListEmailMxplanAccountFullAccessResponseBodyList = Array<number>;
|
|
1465
|
+
export const ListEmailMxplanAccountFullAccessResponseBodyList =
|
|
1466
|
+
/*@__PURE__*/ S.Array(
|
|
1467
|
+
S.Number,
|
|
1468
|
+
) as any as S.Schema<ListEmailMxplanAccountFullAccessResponseBodyList>;
|
|
1469
|
+
|
|
1470
|
+
export type ListEmailMxplanAccountFullAccessResponse =
|
|
1471
|
+
ListEmailMxplanAccountFullAccessResponseBodyList;
|
|
1472
|
+
export const ListEmailMxplanAccountFullAccessResponse = /*@__PURE__*/ S.suspend(
|
|
1473
|
+
() =>
|
|
1474
|
+
ListEmailMxplanAccountFullAccessResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1475
|
+
).annotate({
|
|
1476
|
+
identifier: "ListEmailMxplanAccountFullAccessResponse",
|
|
1477
|
+
}) as any as S.Schema<ListEmailMxplanAccountFullAccessResponse>;
|
|
1478
|
+
|
|
1479
|
+
export interface ListEmailMxplanAccountSendAsRequest {
|
|
1480
|
+
/** The internal name of your mxplan organization */
|
|
1481
|
+
service: string;
|
|
1482
|
+
/** Default email for this mailbox */
|
|
1483
|
+
email: string;
|
|
1484
|
+
}
|
|
1485
|
+
export const ListEmailMxplanAccountSendAsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1486
|
+
S.Struct({
|
|
1487
|
+
service: S.String.pipe(T.Label()),
|
|
1488
|
+
email: S.String.pipe(T.Label()),
|
|
1489
|
+
}).pipe(
|
|
1490
|
+
T.Http({
|
|
1491
|
+
method: "GET",
|
|
1492
|
+
uri: "/email/mxplan/{service}/account/{email}/sendAs",
|
|
1493
|
+
code: 200,
|
|
1494
|
+
}),
|
|
1495
|
+
),
|
|
1496
|
+
).annotate({
|
|
1497
|
+
identifier: "ListEmailMxplanAccountSendAsRequest",
|
|
1498
|
+
}) as any as S.Schema<ListEmailMxplanAccountSendAsRequest>;
|
|
1499
|
+
|
|
1500
|
+
export type ListEmailMxplanAccountSendAsResponseBodyList = Array<number>;
|
|
1501
|
+
export const ListEmailMxplanAccountSendAsResponseBodyList =
|
|
1502
|
+
/*@__PURE__*/ S.Array(
|
|
1503
|
+
S.Number,
|
|
1504
|
+
) as any as S.Schema<ListEmailMxplanAccountSendAsResponseBodyList>;
|
|
1505
|
+
|
|
1506
|
+
export type ListEmailMxplanAccountSendAsResponse =
|
|
1507
|
+
ListEmailMxplanAccountSendAsResponseBodyList;
|
|
1508
|
+
export const ListEmailMxplanAccountSendAsResponse = /*@__PURE__*/ S.suspend(
|
|
1509
|
+
() => ListEmailMxplanAccountSendAsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1510
|
+
).annotate({
|
|
1511
|
+
identifier: "ListEmailMxplanAccountSendAsResponse",
|
|
1512
|
+
}) as any as S.Schema<ListEmailMxplanAccountSendAsResponse>;
|
|
1513
|
+
|
|
1514
|
+
export interface ListEmailMxplanAccountSendOnBehalfToRequest {
|
|
1515
|
+
/** The internal name of your mxplan organization */
|
|
1516
|
+
service: string;
|
|
1517
|
+
/** Default email for this mailbox */
|
|
1518
|
+
email: string;
|
|
1519
|
+
}
|
|
1520
|
+
export const ListEmailMxplanAccountSendOnBehalfToRequest =
|
|
1521
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1522
|
+
S.Struct({
|
|
1523
|
+
service: S.String.pipe(T.Label()),
|
|
1524
|
+
email: S.String.pipe(T.Label()),
|
|
1525
|
+
}).pipe(
|
|
1526
|
+
T.Http({
|
|
1527
|
+
method: "GET",
|
|
1528
|
+
uri: "/email/mxplan/{service}/account/{email}/sendOnBehalfTo",
|
|
1529
|
+
code: 200,
|
|
1530
|
+
}),
|
|
1531
|
+
),
|
|
1532
|
+
).annotate({
|
|
1533
|
+
identifier: "ListEmailMxplanAccountSendOnBehalfToRequest",
|
|
1534
|
+
}) as any as S.Schema<ListEmailMxplanAccountSendOnBehalfToRequest>;
|
|
1535
|
+
|
|
1536
|
+
export type ListEmailMxplanAccountSendOnBehalfToResponseBodyList =
|
|
1537
|
+
Array<number>;
|
|
1538
|
+
export const ListEmailMxplanAccountSendOnBehalfToResponseBodyList =
|
|
1539
|
+
/*@__PURE__*/ S.Array(
|
|
1540
|
+
S.Number,
|
|
1541
|
+
) as any as S.Schema<ListEmailMxplanAccountSendOnBehalfToResponseBodyList>;
|
|
1542
|
+
|
|
1543
|
+
export type ListEmailMxplanAccountSendOnBehalfToResponse =
|
|
1544
|
+
ListEmailMxplanAccountSendOnBehalfToResponseBodyList;
|
|
1545
|
+
export const ListEmailMxplanAccountSendOnBehalfToResponse =
|
|
1546
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1547
|
+
ListEmailMxplanAccountSendOnBehalfToResponseBodyList.pipe(
|
|
1548
|
+
T.RawResponseRoot(),
|
|
1549
|
+
),
|
|
1550
|
+
).annotate({
|
|
1551
|
+
identifier: "ListEmailMxplanAccountSendOnBehalfToResponse",
|
|
1552
|
+
}) as any as S.Schema<ListEmailMxplanAccountSendOnBehalfToResponse>;
|
|
1553
|
+
|
|
1554
|
+
export interface ListEmailMxplanAccountTaskRequest {
|
|
1555
|
+
/** The internal name of your mxplan organization */
|
|
1556
|
+
service: string;
|
|
1557
|
+
/** Default email for this mailbox */
|
|
1558
|
+
email: string;
|
|
1559
|
+
}
|
|
1560
|
+
export const ListEmailMxplanAccountTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1561
|
+
S.Struct({
|
|
1562
|
+
service: S.String.pipe(T.Label()),
|
|
1563
|
+
email: S.String.pipe(T.Label()),
|
|
1564
|
+
}).pipe(
|
|
1565
|
+
T.Http({
|
|
1566
|
+
method: "GET",
|
|
1567
|
+
uri: "/email/mxplan/{service}/account/{email}/task",
|
|
1568
|
+
code: 200,
|
|
1569
|
+
}),
|
|
1570
|
+
),
|
|
1571
|
+
).annotate({
|
|
1572
|
+
identifier: "ListEmailMxplanAccountTaskRequest",
|
|
1573
|
+
}) as any as S.Schema<ListEmailMxplanAccountTaskRequest>;
|
|
1574
|
+
|
|
1575
|
+
export type ListEmailMxplanAccountTaskResponseBodyList = Array<number>;
|
|
1576
|
+
export const ListEmailMxplanAccountTaskResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1577
|
+
S.Number,
|
|
1578
|
+
) as any as S.Schema<ListEmailMxplanAccountTaskResponseBodyList>;
|
|
1579
|
+
|
|
1580
|
+
export type ListEmailMxplanAccountTaskResponse =
|
|
1581
|
+
ListEmailMxplanAccountTaskResponseBodyList;
|
|
1582
|
+
export const ListEmailMxplanAccountTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1583
|
+
ListEmailMxplanAccountTaskResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1584
|
+
).annotate({
|
|
1585
|
+
identifier: "ListEmailMxplanAccountTaskResponse",
|
|
1586
|
+
}) as any as S.Schema<ListEmailMxplanAccountTaskResponse>;
|
|
1587
|
+
|
|
1588
|
+
export interface ListEmailMxplanDomainRequest {
|
|
1589
|
+
/** The internal name of your mxplan organization */
|
|
1590
|
+
service: string;
|
|
1591
|
+
/** Filter the value of state property (=) */
|
|
1592
|
+
state?: EmailProObjectStateEnum | (string & {});
|
|
1593
|
+
}
|
|
1594
|
+
export const ListEmailMxplanDomainRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1595
|
+
S.Struct({
|
|
1596
|
+
service: S.String.pipe(T.Label()),
|
|
1597
|
+
state: S.optional(EmailProObjectStateEnum.pipe(T.Query())),
|
|
1598
|
+
}).pipe(
|
|
1599
|
+
T.Http({ method: "GET", uri: "/email/mxplan/{service}/domain", code: 200 }),
|
|
1600
|
+
),
|
|
1601
|
+
).annotate({
|
|
1602
|
+
identifier: "ListEmailMxplanDomainRequest",
|
|
1603
|
+
}) as any as S.Schema<ListEmailMxplanDomainRequest>;
|
|
1604
|
+
|
|
1605
|
+
export type ListEmailMxplanDomainResponseBodyList = Array<string>;
|
|
1606
|
+
export const ListEmailMxplanDomainResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1607
|
+
S.String,
|
|
1608
|
+
) as any as S.Schema<ListEmailMxplanDomainResponseBodyList>;
|
|
1609
|
+
|
|
1610
|
+
export type ListEmailMxplanDomainResponse =
|
|
1611
|
+
ListEmailMxplanDomainResponseBodyList;
|
|
1612
|
+
export const ListEmailMxplanDomainResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1613
|
+
ListEmailMxplanDomainResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1614
|
+
).annotate({
|
|
1615
|
+
identifier: "ListEmailMxplanDomainResponse",
|
|
1616
|
+
}) as any as S.Schema<ListEmailMxplanDomainResponse>;
|
|
1617
|
+
|
|
1618
|
+
export interface ListEmailMxplanDomainDisclaimerAttributeRequest {
|
|
1619
|
+
/** The internal name of your mxplan organization */
|
|
1620
|
+
service: string;
|
|
1621
|
+
/** Domain name */
|
|
1622
|
+
domainName: string;
|
|
1623
|
+
}
|
|
1624
|
+
export const ListEmailMxplanDomainDisclaimerAttributeRequest =
|
|
1625
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1626
|
+
S.Struct({
|
|
1627
|
+
service: S.String.pipe(T.Label()),
|
|
1628
|
+
domainName: S.String.pipe(T.Label()),
|
|
1629
|
+
}).pipe(
|
|
1630
|
+
T.Http({
|
|
1631
|
+
method: "GET",
|
|
1632
|
+
uri: "/email/mxplan/{service}/domain/{domainName}/disclaimerAttribute",
|
|
1633
|
+
code: 200,
|
|
1634
|
+
}),
|
|
1635
|
+
),
|
|
1636
|
+
).annotate({
|
|
1637
|
+
identifier: "ListEmailMxplanDomainDisclaimerAttributeRequest",
|
|
1638
|
+
}) as any as S.Schema<ListEmailMxplanDomainDisclaimerAttributeRequest>;
|
|
1639
|
+
|
|
1640
|
+
/** Disclaimer attributes list */
|
|
1641
|
+
export type EmailProDisclaimerAttributeEnum =
|
|
1642
|
+
| "City"
|
|
1643
|
+
| "Company"
|
|
1644
|
+
| "Country"
|
|
1645
|
+
| "Department"
|
|
1646
|
+
| "DisplayName"
|
|
1647
|
+
| "Email"
|
|
1648
|
+
| "FaxNumber"
|
|
1649
|
+
| "FirstName"
|
|
1650
|
+
| "HomePhoneNumber"
|
|
1651
|
+
| "Initials"
|
|
1652
|
+
| "LastName"
|
|
1653
|
+
| "Manager"
|
|
1654
|
+
| "MobileNumber"
|
|
1655
|
+
| "Notes"
|
|
1656
|
+
| "Office"
|
|
1657
|
+
| "OtherFaxNumber"
|
|
1658
|
+
| "OtherHomePhoneNumber"
|
|
1659
|
+
| "OtherPhoneNumber"
|
|
1660
|
+
| "PagerNumber"
|
|
1661
|
+
| "PhoneNumber"
|
|
1662
|
+
| "State"
|
|
1663
|
+
| "Street"
|
|
1664
|
+
| "Title"
|
|
1665
|
+
| "UserLogonName"
|
|
1666
|
+
| "ZipCode";
|
|
1667
|
+
export const EmailProDisclaimerAttributeEnum = /*@__PURE__*/ S.String;
|
|
1668
|
+
|
|
1669
|
+
export type ListEmailMxplanDomainDisclaimerAttributeResponseBodyList =
|
|
1670
|
+
Array<EmailProDisclaimerAttributeEnum>;
|
|
1671
|
+
export const ListEmailMxplanDomainDisclaimerAttributeResponseBodyList =
|
|
1672
|
+
/*@__PURE__*/ S.Array(
|
|
1673
|
+
EmailProDisclaimerAttributeEnum,
|
|
1674
|
+
) as any as S.Schema<ListEmailMxplanDomainDisclaimerAttributeResponseBodyList>;
|
|
1675
|
+
|
|
1676
|
+
export type ListEmailMxplanDomainDisclaimerAttributeResponse =
|
|
1677
|
+
ListEmailMxplanDomainDisclaimerAttributeResponseBodyList;
|
|
1678
|
+
export const ListEmailMxplanDomainDisclaimerAttributeResponse =
|
|
1679
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1680
|
+
ListEmailMxplanDomainDisclaimerAttributeResponseBodyList.pipe(
|
|
1681
|
+
T.RawResponseRoot(),
|
|
1682
|
+
),
|
|
1683
|
+
).annotate({
|
|
1684
|
+
identifier: "ListEmailMxplanDomainDisclaimerAttributeResponse",
|
|
1685
|
+
}) as any as S.Schema<ListEmailMxplanDomainDisclaimerAttributeResponse>;
|
|
1686
|
+
|
|
1687
|
+
export interface ListEmailMxplanExternalContactRequest {
|
|
1688
|
+
/** The internal name of your mxplan organization */
|
|
1689
|
+
service: string;
|
|
1690
|
+
/** Filter the value of displayName property (like) */
|
|
1691
|
+
displayName?: string;
|
|
1692
|
+
/** Filter the value of externalEmailAddress property (like) */
|
|
1693
|
+
externalEmailAddress?: string;
|
|
1694
|
+
/** Filter the value of firstName property (like) */
|
|
1695
|
+
firstName?: string;
|
|
1696
|
+
/** Filter the value of id property (like) */
|
|
1697
|
+
id?: number;
|
|
1698
|
+
/** Filter the value of lastName property (like) */
|
|
1699
|
+
lastName?: string;
|
|
1700
|
+
}
|
|
1701
|
+
export const ListEmailMxplanExternalContactRequest = /*@__PURE__*/ S.suspend(
|
|
1702
|
+
() =>
|
|
1703
|
+
S.Struct({
|
|
1704
|
+
service: S.String.pipe(T.Label()),
|
|
1705
|
+
displayName: S.optional(S.String.pipe(T.Query())),
|
|
1706
|
+
externalEmailAddress: S.optional(S.String.pipe(T.Query())),
|
|
1707
|
+
firstName: S.optional(S.String.pipe(T.Query())),
|
|
1708
|
+
id: S.optional(S.Number.pipe(T.Query())),
|
|
1709
|
+
lastName: S.optional(S.String.pipe(T.Query())),
|
|
1710
|
+
}).pipe(
|
|
1711
|
+
T.Http({
|
|
1712
|
+
method: "GET",
|
|
1713
|
+
uri: "/email/mxplan/{service}/externalContact",
|
|
1714
|
+
code: 200,
|
|
1715
|
+
}),
|
|
1716
|
+
),
|
|
1717
|
+
).annotate({
|
|
1718
|
+
identifier: "ListEmailMxplanExternalContactRequest",
|
|
1719
|
+
}) as any as S.Schema<ListEmailMxplanExternalContactRequest>;
|
|
1720
|
+
|
|
1721
|
+
export type ListEmailMxplanExternalContactResponseBodyList = Array<string>;
|
|
1722
|
+
export const ListEmailMxplanExternalContactResponseBodyList =
|
|
1723
|
+
/*@__PURE__*/ S.Array(
|
|
1724
|
+
S.String,
|
|
1725
|
+
) as any as S.Schema<ListEmailMxplanExternalContactResponseBodyList>;
|
|
1726
|
+
|
|
1727
|
+
export type ListEmailMxplanExternalContactResponse =
|
|
1728
|
+
ListEmailMxplanExternalContactResponseBodyList;
|
|
1729
|
+
export const ListEmailMxplanExternalContactResponse = /*@__PURE__*/ S.suspend(
|
|
1730
|
+
() =>
|
|
1731
|
+
ListEmailMxplanExternalContactResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1732
|
+
).annotate({
|
|
1733
|
+
identifier: "ListEmailMxplanExternalContactResponse",
|
|
1734
|
+
}) as any as S.Schema<ListEmailMxplanExternalContactResponse>;
|
|
1735
|
+
|
|
1736
|
+
export interface ListEmailMxplanTaskRequest {
|
|
1737
|
+
/** The internal name of your mxplan organization */
|
|
1738
|
+
service: string;
|
|
1739
|
+
}
|
|
1740
|
+
export const ListEmailMxplanTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1741
|
+
S.Struct({
|
|
1742
|
+
service: S.String.pipe(T.Label()),
|
|
1743
|
+
}).pipe(
|
|
1744
|
+
T.Http({ method: "GET", uri: "/email/mxplan/{service}/task", code: 200 }),
|
|
1745
|
+
),
|
|
1746
|
+
).annotate({
|
|
1747
|
+
identifier: "ListEmailMxplanTaskRequest",
|
|
1748
|
+
}) as any as S.Schema<ListEmailMxplanTaskRequest>;
|
|
1749
|
+
|
|
1750
|
+
export type ListEmailMxplanTaskResponseBodyList = Array<number>;
|
|
1751
|
+
export const ListEmailMxplanTaskResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1752
|
+
S.Number,
|
|
1753
|
+
) as any as S.Schema<ListEmailMxplanTaskResponseBodyList>;
|
|
1754
|
+
|
|
1755
|
+
export type ListEmailMxplanTaskResponse = ListEmailMxplanTaskResponseBodyList;
|
|
1756
|
+
export const ListEmailMxplanTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1757
|
+
ListEmailMxplanTaskResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1758
|
+
).annotate({
|
|
1759
|
+
identifier: "ListEmailMxplanTaskResponse",
|
|
1760
|
+
}) as any as S.Schema<ListEmailMxplanTaskResponse>;
|
|
1761
|
+
|
|
1762
|
+
export interface PutEmailMxplanRequest {
|
|
1763
|
+
/** The internal name of your mxplan organization */
|
|
1764
|
+
service: string;
|
|
1765
|
+
/** enable policy for strong and secure passwords */
|
|
1766
|
+
complexityEnabled?: boolean;
|
|
1767
|
+
/** service displayName */
|
|
1768
|
+
displayName?: string | null;
|
|
1769
|
+
/** number of minutes account will remain locked if it occurs */
|
|
1770
|
+
lockoutDuration?: number;
|
|
1771
|
+
/** number of minutes that must elapse after a failed logon to reset lockout trigger */
|
|
1772
|
+
lockoutObservationWindow?: number;
|
|
1773
|
+
/** number of attempts before account to be locked */
|
|
1774
|
+
lockoutThreshold?: number | null;
|
|
1775
|
+
/** maximum number of days that account's password is valid before expiration */
|
|
1776
|
+
maxPasswordAge?: number | null;
|
|
1777
|
+
/** Maximum message size that You can receive in MB */
|
|
1778
|
+
maxReceiveSize?: number;
|
|
1779
|
+
/** Maximum message size that You can send in MB */
|
|
1780
|
+
maxSendSize?: number;
|
|
1781
|
+
/** minimum number of days before able to change account's password */
|
|
1782
|
+
minPasswordAge?: number | null;
|
|
1783
|
+
/** minimum number of characters password must contain */
|
|
1784
|
+
minPasswordLength?: number | null;
|
|
1785
|
+
/** Spam and Antivirus configuration */
|
|
1786
|
+
spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
|
|
1787
|
+
}
|
|
1788
|
+
export const PutEmailMxplanRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1789
|
+
S.Struct({
|
|
1790
|
+
service: S.String.pipe(T.Label()),
|
|
1791
|
+
complexityEnabled: S.optional(S.Boolean),
|
|
1792
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1793
|
+
lockoutDuration: S.optional(S.Number),
|
|
1794
|
+
lockoutObservationWindow: S.optional(S.Number),
|
|
1795
|
+
lockoutThreshold: S.optional(S.NullOr(S.Number)),
|
|
1796
|
+
maxPasswordAge: S.optional(S.NullOr(S.Number)),
|
|
1797
|
+
maxReceiveSize: S.optional(S.Number),
|
|
1798
|
+
maxSendSize: S.optional(S.Number),
|
|
1799
|
+
minPasswordAge: S.optional(S.NullOr(S.Number)),
|
|
1800
|
+
minPasswordLength: S.optional(S.NullOr(S.Number)),
|
|
1801
|
+
spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
|
|
1802
|
+
}).pipe(T.Http({ method: "PUT", uri: "/email/mxplan/{service}", code: 200 })),
|
|
1803
|
+
).annotate({
|
|
1804
|
+
identifier: "PutEmailMxplanRequest",
|
|
1805
|
+
}) as any as S.Schema<PutEmailMxplanRequest>;
|
|
1806
|
+
|
|
1807
|
+
export interface PutEmailMxplanResponse {}
|
|
1808
|
+
export const PutEmailMxplanResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1809
|
+
S.Struct({}),
|
|
1810
|
+
).annotate({
|
|
1811
|
+
identifier: "PutEmailMxplanResponse",
|
|
1812
|
+
}) as any as S.Schema<PutEmailMxplanResponse>;
|
|
1813
|
+
|
|
1814
|
+
/** Enable or disable anti-virus and anti-spam */
|
|
1815
|
+
export type PutEmailMxplanAccountRequestMailingFilterList = Array<
|
|
1816
|
+
EmailProMailingFilterEnum | (string & {})
|
|
1817
|
+
>;
|
|
1818
|
+
export const PutEmailMxplanAccountRequestMailingFilterList =
|
|
1819
|
+
/*@__PURE__*/ S.Array(
|
|
1820
|
+
EmailProMailingFilterEnum,
|
|
1821
|
+
) as any as S.Schema<PutEmailMxplanAccountRequestMailingFilterList>;
|
|
1822
|
+
|
|
1823
|
+
export interface PutEmailMxplanAccountRequest {
|
|
1824
|
+
/** The internal name of your mxplan organization */
|
|
1825
|
+
service: string;
|
|
1826
|
+
/** Default email for this mailbox */
|
|
1827
|
+
email: string;
|
|
1828
|
+
/** delete at expiration */
|
|
1829
|
+
deleteAtExpiration?: boolean | null;
|
|
1830
|
+
/** Account display name */
|
|
1831
|
+
displayName?: string | null;
|
|
1832
|
+
/** Email domain */
|
|
1833
|
+
domain?: string;
|
|
1834
|
+
/** Account first name */
|
|
1835
|
+
firstName?: string | null;
|
|
1836
|
+
/** Hide account in Global Address List */
|
|
1837
|
+
hiddenFromGAL?: boolean;
|
|
1838
|
+
/** Account initials */
|
|
1839
|
+
initial?: string | null;
|
|
1840
|
+
/** Account last name */
|
|
1841
|
+
lastName?: string | null;
|
|
1842
|
+
/** Account login */
|
|
1843
|
+
login?: string;
|
|
1844
|
+
/** Enable or disable anti-virus and anti-spam */
|
|
1845
|
+
mailingFilter?: PutEmailMxplanAccountRequestMailingFilterList | null;
|
|
1846
|
+
/** Account maximum size */
|
|
1847
|
+
quota?: number;
|
|
1848
|
+
/** change the renew period */
|
|
1849
|
+
renewPeriod?: EmailProRenewPeriodEnum | (string & {}) | null;
|
|
1850
|
+
/** Spam and Antivirus configuration */
|
|
1851
|
+
spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
|
|
1852
|
+
}
|
|
1853
|
+
export const PutEmailMxplanAccountRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1854
|
+
S.Struct({
|
|
1855
|
+
service: S.String.pipe(T.Label()),
|
|
1856
|
+
email: S.String.pipe(T.Label()),
|
|
1857
|
+
deleteAtExpiration: S.optional(S.NullOr(S.Boolean)),
|
|
1858
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1859
|
+
domain: S.optional(S.String),
|
|
1860
|
+
firstName: S.optional(S.NullOr(S.String)),
|
|
1861
|
+
hiddenFromGAL: S.optional(S.Boolean),
|
|
1862
|
+
initial: S.optional(S.NullOr(S.String)),
|
|
1863
|
+
lastName: S.optional(S.NullOr(S.String)),
|
|
1864
|
+
login: S.optional(S.String),
|
|
1865
|
+
mailingFilter: S.optional(
|
|
1866
|
+
S.NullOr(PutEmailMxplanAccountRequestMailingFilterList),
|
|
1867
|
+
),
|
|
1868
|
+
quota: S.optional(S.Number),
|
|
1869
|
+
renewPeriod: S.optional(S.NullOr(EmailProRenewPeriodEnum)),
|
|
1870
|
+
spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
|
|
1871
|
+
}).pipe(
|
|
1872
|
+
T.Http({
|
|
1873
|
+
method: "PUT",
|
|
1874
|
+
uri: "/email/mxplan/{service}/account/{email}",
|
|
1875
|
+
code: 200,
|
|
1876
|
+
}),
|
|
1877
|
+
),
|
|
1878
|
+
).annotate({
|
|
1879
|
+
identifier: "PutEmailMxplanAccountRequest",
|
|
1880
|
+
}) as any as S.Schema<PutEmailMxplanAccountRequest>;
|
|
1881
|
+
|
|
1882
|
+
export interface PutEmailMxplanAccountResponse {}
|
|
1883
|
+
export const PutEmailMxplanAccountResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1884
|
+
S.Struct({}),
|
|
1885
|
+
).annotate({
|
|
1886
|
+
identifier: "PutEmailMxplanAccountResponse",
|
|
1887
|
+
}) as any as S.Schema<PutEmailMxplanAccountResponse>;
|
|
1888
|
+
|
|
1889
|
+
export interface PutEmailMxplanDomainRequest {
|
|
1890
|
+
/** The internal name of your mxplan organization */
|
|
1891
|
+
service: string;
|
|
1892
|
+
/** Domain name */
|
|
1893
|
+
domainName: string;
|
|
1894
|
+
/** If specified, emails to not existing address will be redirected to that domain */
|
|
1895
|
+
mxRelay?: string | null;
|
|
1896
|
+
/** Domain type */
|
|
1897
|
+
type?: EmailProDomainTypeEnum | (string & {});
|
|
1898
|
+
}
|
|
1899
|
+
export const PutEmailMxplanDomainRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1900
|
+
S.Struct({
|
|
1901
|
+
service: S.String.pipe(T.Label()),
|
|
1902
|
+
domainName: S.String.pipe(T.Label()),
|
|
1903
|
+
mxRelay: S.optional(S.NullOr(S.String)),
|
|
1904
|
+
type: S.optional(EmailProDomainTypeEnum),
|
|
1905
|
+
}).pipe(
|
|
1906
|
+
T.Http({
|
|
1907
|
+
method: "PUT",
|
|
1908
|
+
uri: "/email/mxplan/{service}/domain/{domainName}",
|
|
1909
|
+
code: 200,
|
|
1910
|
+
}),
|
|
1911
|
+
),
|
|
1912
|
+
).annotate({
|
|
1913
|
+
identifier: "PutEmailMxplanDomainRequest",
|
|
1914
|
+
}) as any as S.Schema<PutEmailMxplanDomainRequest>;
|
|
1915
|
+
|
|
1916
|
+
export interface PutEmailMxplanDomainResponse {}
|
|
1917
|
+
export const PutEmailMxplanDomainResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1918
|
+
S.Struct({}),
|
|
1919
|
+
).annotate({
|
|
1920
|
+
identifier: "PutEmailMxplanDomainResponse",
|
|
1921
|
+
}) as any as S.Schema<PutEmailMxplanDomainResponse>;
|
|
1922
|
+
|
|
1923
|
+
export interface PutEmailMxplanDomainDisclaimerRequest {
|
|
1924
|
+
/** The internal name of your mxplan organization */
|
|
1925
|
+
service: string;
|
|
1926
|
+
/** Domain name */
|
|
1927
|
+
domainName: string;
|
|
1928
|
+
/** Signature, added at the bottom of your organization emails */
|
|
1929
|
+
content?: string;
|
|
1930
|
+
/** Activate the disclaimer only for external emails */
|
|
1931
|
+
outsideOnly?: boolean;
|
|
1932
|
+
}
|
|
1933
|
+
export const PutEmailMxplanDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
|
|
1934
|
+
() =>
|
|
1935
|
+
S.Struct({
|
|
1936
|
+
service: S.String.pipe(T.Label()),
|
|
1937
|
+
domainName: S.String.pipe(T.Label()),
|
|
1938
|
+
content: S.optional(S.String),
|
|
1939
|
+
outsideOnly: S.optional(S.Boolean),
|
|
1940
|
+
}).pipe(
|
|
1941
|
+
T.Http({
|
|
1942
|
+
method: "PUT",
|
|
1943
|
+
uri: "/email/mxplan/{service}/domain/{domainName}/disclaimer",
|
|
1944
|
+
code: 200,
|
|
1945
|
+
}),
|
|
1946
|
+
),
|
|
1947
|
+
).annotate({
|
|
1948
|
+
identifier: "PutEmailMxplanDomainDisclaimerRequest",
|
|
1949
|
+
}) as any as S.Schema<PutEmailMxplanDomainDisclaimerRequest>;
|
|
1950
|
+
|
|
1951
|
+
export interface PutEmailMxplanDomainDisclaimerResponse {}
|
|
1952
|
+
export const PutEmailMxplanDomainDisclaimerResponse = /*@__PURE__*/ S.suspend(
|
|
1953
|
+
() => S.Struct({}),
|
|
1954
|
+
).annotate({
|
|
1955
|
+
identifier: "PutEmailMxplanDomainDisclaimerResponse",
|
|
1956
|
+
}) as any as S.Schema<PutEmailMxplanDomainDisclaimerResponse>;
|
|
1957
|
+
|
|
1958
|
+
export interface PutEmailMxplanExternalContactRequest {
|
|
1959
|
+
/** The internal name of your mxplan organization */
|
|
1960
|
+
service: string;
|
|
1961
|
+
/** Contact email */
|
|
1962
|
+
externalEmailAddress: string;
|
|
1963
|
+
/** Contact display name */
|
|
1964
|
+
displayName?: string;
|
|
1965
|
+
/** Contact first name */
|
|
1966
|
+
firstName?: string | null;
|
|
1967
|
+
/** Hide the contact in Global Address List */
|
|
1968
|
+
hiddenFromGAL?: boolean;
|
|
1969
|
+
/** Contact initals */
|
|
1970
|
+
initials?: string | null;
|
|
1971
|
+
/** Contact last name */
|
|
1972
|
+
lastName?: string | null;
|
|
1973
|
+
}
|
|
1974
|
+
export const PutEmailMxplanExternalContactRequest = /*@__PURE__*/ S.suspend(
|
|
1975
|
+
() =>
|
|
1976
|
+
S.Struct({
|
|
1977
|
+
service: S.String.pipe(T.Label()),
|
|
1978
|
+
externalEmailAddress: S.String.pipe(T.Label()),
|
|
1979
|
+
displayName: S.optional(S.String),
|
|
1980
|
+
firstName: S.optional(S.NullOr(S.String)),
|
|
1981
|
+
hiddenFromGAL: S.optional(S.Boolean),
|
|
1982
|
+
initials: S.optional(S.NullOr(S.String)),
|
|
1983
|
+
lastName: S.optional(S.NullOr(S.String)),
|
|
1984
|
+
}).pipe(
|
|
1985
|
+
T.Http({
|
|
1986
|
+
method: "PUT",
|
|
1987
|
+
uri: "/email/mxplan/{service}/externalContact/{externalEmailAddress}",
|
|
1988
|
+
code: 200,
|
|
1989
|
+
}),
|
|
1990
|
+
),
|
|
1991
|
+
).annotate({
|
|
1992
|
+
identifier: "PutEmailMxplanExternalContactRequest",
|
|
1993
|
+
}) as any as S.Schema<PutEmailMxplanExternalContactRequest>;
|
|
1994
|
+
|
|
1995
|
+
export interface PutEmailMxplanExternalContactResponse {}
|
|
1996
|
+
export const PutEmailMxplanExternalContactResponse = /*@__PURE__*/ S.suspend(
|
|
1997
|
+
() => S.Struct({}),
|
|
1998
|
+
).annotate({
|
|
1999
|
+
identifier: "PutEmailMxplanExternalContactResponse",
|
|
2000
|
+
}) as any as S.Schema<PutEmailMxplanExternalContactResponse>;
|
|
2001
|
+
|
|
2002
|
+
export interface SendEmailMxplanAccountAsRequest {
|
|
2003
|
+
/** The internal name of your mxplan organization */
|
|
2004
|
+
service: string;
|
|
2005
|
+
/** Default email for this mailbox */
|
|
2006
|
+
email: string;
|
|
2007
|
+
/** Account id to allow to send mails from this mailbox */
|
|
2008
|
+
allowAccountId: number;
|
|
2009
|
+
}
|
|
2010
|
+
export const SendEmailMxplanAccountAsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2011
|
+
S.Struct({
|
|
2012
|
+
service: S.String.pipe(T.Label()),
|
|
2013
|
+
email: S.String.pipe(T.Label()),
|
|
2014
|
+
allowAccountId: S.Number,
|
|
2015
|
+
}).pipe(
|
|
2016
|
+
T.Http({
|
|
2017
|
+
method: "POST",
|
|
2018
|
+
uri: "/email/mxplan/{service}/account/{email}/sendAs",
|
|
2019
|
+
code: 200,
|
|
2020
|
+
}),
|
|
2021
|
+
),
|
|
2022
|
+
).annotate({
|
|
2023
|
+
identifier: "SendEmailMxplanAccountAsRequest",
|
|
2024
|
+
}) as any as S.Schema<SendEmailMxplanAccountAsRequest>;
|
|
2025
|
+
|
|
2026
|
+
export interface SendEmailMxplanAccountOnBehalfToRequest {
|
|
2027
|
+
/** The internal name of your mxplan organization */
|
|
2028
|
+
service: string;
|
|
2029
|
+
/** Default email for this mailbox */
|
|
2030
|
+
email: string;
|
|
2031
|
+
/** Account id to allow to send On Behalf To mails from this mailbox */
|
|
2032
|
+
allowAccountId: number;
|
|
2033
|
+
}
|
|
2034
|
+
export const SendEmailMxplanAccountOnBehalfToRequest = /*@__PURE__*/ S.suspend(
|
|
2035
|
+
() =>
|
|
2036
|
+
S.Struct({
|
|
2037
|
+
service: S.String.pipe(T.Label()),
|
|
2038
|
+
email: S.String.pipe(T.Label()),
|
|
2039
|
+
allowAccountId: S.Number,
|
|
2040
|
+
}).pipe(
|
|
2041
|
+
T.Http({
|
|
2042
|
+
method: "POST",
|
|
2043
|
+
uri: "/email/mxplan/{service}/account/{email}/sendOnBehalfTo",
|
|
2044
|
+
code: 200,
|
|
2045
|
+
}),
|
|
2046
|
+
),
|
|
2047
|
+
).annotate({
|
|
2048
|
+
identifier: "SendEmailMxplanAccountOnBehalfToRequest",
|
|
2049
|
+
}) as any as S.Schema<SendEmailMxplanAccountOnBehalfToRequest>;
|
|
2050
|
+
|
|
2051
|
+
export interface UpdateEmailMxplanFlagsOnAllAccountsRequest {
|
|
2052
|
+
/** The internal name of your mxplan organization */
|
|
2053
|
+
service: string;
|
|
2054
|
+
}
|
|
2055
|
+
export const UpdateEmailMxplanFlagsOnAllAccountsRequest =
|
|
2056
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2057
|
+
S.Struct({
|
|
2058
|
+
service: S.String.pipe(T.Label()),
|
|
2059
|
+
}).pipe(
|
|
2060
|
+
T.Http({
|
|
2061
|
+
method: "POST",
|
|
2062
|
+
uri: "/email/mxplan/{service}/updateFlagsOnAllAccounts",
|
|
2063
|
+
code: 200,
|
|
2064
|
+
}),
|
|
2065
|
+
),
|
|
2066
|
+
).annotate({
|
|
2067
|
+
identifier: "UpdateEmailMxplanFlagsOnAllAccountsRequest",
|
|
2068
|
+
}) as any as S.Schema<UpdateEmailMxplanFlagsOnAllAccountsRequest>;
|
|
2069
|
+
|
|
2070
|
+
export interface UpdateEmailMxplanFlagsOnAllAccountsResponse {}
|
|
2071
|
+
export const UpdateEmailMxplanFlagsOnAllAccountsResponse =
|
|
2072
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2073
|
+
identifier: "UpdateEmailMxplanFlagsOnAllAccountsResponse",
|
|
2074
|
+
}) as any as S.Schema<UpdateEmailMxplanFlagsOnAllAccountsResponse>;
|
|
2075
|
+
|
|
2076
|
+
export type CreateEmailMxplanAccountAliasError = OvhOpError;
|
|
2077
|
+
/** Create new alias */
|
|
2078
|
+
export const createEmailMxplanAccountAlias: API.OperationMethod<
|
|
2079
|
+
CreateEmailMxplanAccountAliasRequest,
|
|
2080
|
+
EmailProTask,
|
|
2081
|
+
CreateEmailMxplanAccountAliasError,
|
|
2082
|
+
OvhOpContext
|
|
2083
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2084
|
+
input: CreateEmailMxplanAccountAliasRequest,
|
|
2085
|
+
output: EmailProTask,
|
|
2086
|
+
errors: [UnknownOvhError],
|
|
2087
|
+
protocol: OvhProtocol,
|
|
2088
|
+
retry: Retry.Retry,
|
|
2089
|
+
}));
|
|
2090
|
+
|
|
2091
|
+
export type CreateEmailMxplanAccountChangePasswordError = OvhOpError;
|
|
2092
|
+
/** Change mailbox password */
|
|
2093
|
+
export const createEmailMxplanAccountChangePassword: API.OperationMethod<
|
|
2094
|
+
CreateEmailMxplanAccountChangePasswordRequest,
|
|
2095
|
+
EmailProTask,
|
|
2096
|
+
CreateEmailMxplanAccountChangePasswordError,
|
|
2097
|
+
OvhOpContext
|
|
2098
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2099
|
+
input: CreateEmailMxplanAccountChangePasswordRequest,
|
|
2100
|
+
output: EmailProTask,
|
|
2101
|
+
errors: [UnknownOvhError],
|
|
2102
|
+
protocol: OvhProtocol,
|
|
2103
|
+
retry: Retry.Retry,
|
|
2104
|
+
}));
|
|
2105
|
+
|
|
2106
|
+
export type CreateEmailMxplanAccountDiagnosticError = OvhOpError;
|
|
2107
|
+
/** Create new diagnosis request */
|
|
2108
|
+
export const createEmailMxplanAccountDiagnostic: API.OperationMethod<
|
|
2109
|
+
CreateEmailMxplanAccountDiagnosticRequest,
|
|
2110
|
+
EmailProTask,
|
|
2111
|
+
CreateEmailMxplanAccountDiagnosticError,
|
|
2112
|
+
OvhOpContext
|
|
2113
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2114
|
+
input: CreateEmailMxplanAccountDiagnosticRequest,
|
|
2115
|
+
output: EmailProTask,
|
|
2116
|
+
errors: [UnknownOvhError],
|
|
2117
|
+
protocol: OvhProtocol,
|
|
2118
|
+
retry: Retry.Retry,
|
|
2119
|
+
}));
|
|
2120
|
+
|
|
2121
|
+
export type CreateEmailMxplanAccountFullAccessError = OvhOpError;
|
|
2122
|
+
/** Allow full access to a user */
|
|
2123
|
+
export const createEmailMxplanAccountFullAccess: API.OperationMethod<
|
|
2124
|
+
CreateEmailMxplanAccountFullAccessRequest,
|
|
2125
|
+
EmailProTask,
|
|
2126
|
+
CreateEmailMxplanAccountFullAccessError,
|
|
2127
|
+
OvhOpContext
|
|
2128
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2129
|
+
input: CreateEmailMxplanAccountFullAccessRequest,
|
|
2130
|
+
output: EmailProTask,
|
|
2131
|
+
errors: [UnknownOvhError],
|
|
2132
|
+
protocol: OvhProtocol,
|
|
2133
|
+
retry: Retry.Retry,
|
|
2134
|
+
}));
|
|
2135
|
+
|
|
2136
|
+
export type CreateEmailMxplanDomainDisclaimerError = OvhOpError;
|
|
2137
|
+
/** Create organization disclaimer of each email */
|
|
2138
|
+
export const createEmailMxplanDomainDisclaimer: API.OperationMethod<
|
|
2139
|
+
CreateEmailMxplanDomainDisclaimerRequest,
|
|
2140
|
+
EmailProTask,
|
|
2141
|
+
CreateEmailMxplanDomainDisclaimerError,
|
|
2142
|
+
OvhOpContext
|
|
2143
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2144
|
+
input: CreateEmailMxplanDomainDisclaimerRequest,
|
|
2145
|
+
output: EmailProTask,
|
|
2146
|
+
errors: [UnknownOvhError],
|
|
2147
|
+
protocol: OvhProtocol,
|
|
2148
|
+
retry: Retry.Retry,
|
|
2149
|
+
}));
|
|
2150
|
+
|
|
2151
|
+
export type CreateEmailMxplanExternalContactError = OvhOpError;
|
|
2152
|
+
/** create new external contact */
|
|
2153
|
+
export const createEmailMxplanExternalContact: API.OperationMethod<
|
|
2154
|
+
CreateEmailMxplanExternalContactRequest,
|
|
2155
|
+
EmailProTask,
|
|
2156
|
+
CreateEmailMxplanExternalContactError,
|
|
2157
|
+
OvhOpContext
|
|
2158
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2159
|
+
input: CreateEmailMxplanExternalContactRequest,
|
|
2160
|
+
output: EmailProTask,
|
|
2161
|
+
errors: [UnknownOvhError],
|
|
2162
|
+
protocol: OvhProtocol,
|
|
2163
|
+
retry: Retry.Retry,
|
|
2164
|
+
}));
|
|
2165
|
+
|
|
2166
|
+
export type DeleteEmailMxplanAccountError = OvhOpError;
|
|
2167
|
+
/** Delete existing mailbox in mxplan server */
|
|
2168
|
+
export const deleteEmailMxplanAccount: API.OperationMethod<
|
|
2169
|
+
DeleteEmailMxplanAccountRequest,
|
|
2170
|
+
EmailProTask,
|
|
2171
|
+
DeleteEmailMxplanAccountError,
|
|
2172
|
+
OvhOpContext
|
|
2173
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2174
|
+
input: DeleteEmailMxplanAccountRequest,
|
|
2175
|
+
output: EmailProTask,
|
|
2176
|
+
errors: [UnknownOvhError],
|
|
2177
|
+
protocol: OvhProtocol,
|
|
2178
|
+
retry: Retry.Retry,
|
|
2179
|
+
}));
|
|
2180
|
+
|
|
2181
|
+
export type DeleteEmailMxplanAccountAliasError = OvhOpError;
|
|
2182
|
+
/** Delete existing alias */
|
|
2183
|
+
export const deleteEmailMxplanAccountAlias: API.OperationMethod<
|
|
2184
|
+
DeleteEmailMxplanAccountAliasRequest,
|
|
2185
|
+
EmailProTask,
|
|
2186
|
+
DeleteEmailMxplanAccountAliasError,
|
|
2187
|
+
OvhOpContext
|
|
2188
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2189
|
+
input: DeleteEmailMxplanAccountAliasRequest,
|
|
2190
|
+
output: EmailProTask,
|
|
2191
|
+
errors: [UnknownOvhError],
|
|
2192
|
+
protocol: OvhProtocol,
|
|
2193
|
+
retry: Retry.Retry,
|
|
2194
|
+
}));
|
|
2195
|
+
|
|
2196
|
+
export type DeleteEmailMxplanAccountFullAccessError = OvhOpError;
|
|
2197
|
+
/** Revoke full access */
|
|
2198
|
+
export const deleteEmailMxplanAccountFullAccess: API.OperationMethod<
|
|
2199
|
+
DeleteEmailMxplanAccountFullAccessRequest,
|
|
2200
|
+
EmailProTask,
|
|
2201
|
+
DeleteEmailMxplanAccountFullAccessError,
|
|
2202
|
+
OvhOpContext
|
|
2203
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2204
|
+
input: DeleteEmailMxplanAccountFullAccessRequest,
|
|
2205
|
+
output: EmailProTask,
|
|
2206
|
+
errors: [UnknownOvhError],
|
|
2207
|
+
protocol: OvhProtocol,
|
|
2208
|
+
retry: Retry.Retry,
|
|
2209
|
+
}));
|
|
2210
|
+
|
|
2211
|
+
export type DeleteEmailMxplanAccountSendAsError = OvhOpError;
|
|
2212
|
+
/** Delete allowed user for sendAs */
|
|
2213
|
+
export const deleteEmailMxplanAccountSendAs: API.OperationMethod<
|
|
2214
|
+
DeleteEmailMxplanAccountSendAsRequest,
|
|
2215
|
+
EmailProTask,
|
|
2216
|
+
DeleteEmailMxplanAccountSendAsError,
|
|
2217
|
+
OvhOpContext
|
|
2218
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2219
|
+
input: DeleteEmailMxplanAccountSendAsRequest,
|
|
2220
|
+
output: EmailProTask,
|
|
2221
|
+
errors: [UnknownOvhError],
|
|
2222
|
+
protocol: OvhProtocol,
|
|
2223
|
+
retry: Retry.Retry,
|
|
2224
|
+
}));
|
|
2225
|
+
|
|
2226
|
+
export type DeleteEmailMxplanAccountSendOnBehalfToError = OvhOpError;
|
|
2227
|
+
/** Delete allowed user for SendOnBehalfTo */
|
|
2228
|
+
export const deleteEmailMxplanAccountSendOnBehalfTo: API.OperationMethod<
|
|
2229
|
+
DeleteEmailMxplanAccountSendOnBehalfToRequest,
|
|
2230
|
+
EmailProTask,
|
|
2231
|
+
DeleteEmailMxplanAccountSendOnBehalfToError,
|
|
2232
|
+
OvhOpContext
|
|
2233
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2234
|
+
input: DeleteEmailMxplanAccountSendOnBehalfToRequest,
|
|
2235
|
+
output: EmailProTask,
|
|
2236
|
+
errors: [UnknownOvhError],
|
|
2237
|
+
protocol: OvhProtocol,
|
|
2238
|
+
retry: Retry.Retry,
|
|
2239
|
+
}));
|
|
2240
|
+
|
|
2241
|
+
export type DeleteEmailMxplanDomainDisclaimerError = OvhOpError;
|
|
2242
|
+
/** Delete existing organization disclaimer */
|
|
2243
|
+
export const deleteEmailMxplanDomainDisclaimer: API.OperationMethod<
|
|
2244
|
+
DeleteEmailMxplanDomainDisclaimerRequest,
|
|
2245
|
+
EmailProTask,
|
|
2246
|
+
DeleteEmailMxplanDomainDisclaimerError,
|
|
2247
|
+
OvhOpContext
|
|
2248
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2249
|
+
input: DeleteEmailMxplanDomainDisclaimerRequest,
|
|
2250
|
+
output: EmailProTask,
|
|
2251
|
+
errors: [UnknownOvhError],
|
|
2252
|
+
protocol: OvhProtocol,
|
|
2253
|
+
retry: Retry.Retry,
|
|
2254
|
+
}));
|
|
2255
|
+
|
|
2256
|
+
export type DeleteEmailMxplanExternalContactError = OvhOpError;
|
|
2257
|
+
/** delete external contact */
|
|
2258
|
+
export const deleteEmailMxplanExternalContact: API.OperationMethod<
|
|
2259
|
+
DeleteEmailMxplanExternalContactRequest,
|
|
2260
|
+
EmailProTask,
|
|
2261
|
+
DeleteEmailMxplanExternalContactError,
|
|
2262
|
+
OvhOpContext
|
|
2263
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2264
|
+
input: DeleteEmailMxplanExternalContactRequest,
|
|
2265
|
+
output: EmailProTask,
|
|
2266
|
+
errors: [UnknownOvhError],
|
|
2267
|
+
protocol: OvhProtocol,
|
|
2268
|
+
retry: Retry.Retry,
|
|
2269
|
+
}));
|
|
2270
|
+
|
|
2271
|
+
export type GetEmailMxplanError = OvhOpError;
|
|
2272
|
+
/** Get this object properties */
|
|
2273
|
+
export const getEmailMxplan: API.OperationMethod<
|
|
2274
|
+
GetEmailMxplanRequest,
|
|
2275
|
+
EmailMxplanServiceWithIAM,
|
|
2276
|
+
GetEmailMxplanError,
|
|
2277
|
+
OvhOpContext
|
|
2278
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2279
|
+
input: GetEmailMxplanRequest,
|
|
2280
|
+
output: EmailMxplanServiceWithIAM,
|
|
2281
|
+
errors: [UnknownOvhError],
|
|
2282
|
+
protocol: OvhProtocol,
|
|
2283
|
+
retry: Retry.Retry,
|
|
2284
|
+
}));
|
|
2285
|
+
|
|
2286
|
+
export type GetEmailMxplanAccountError = OvhOpError;
|
|
2287
|
+
/** Get this object properties */
|
|
2288
|
+
export const getEmailMxplanAccount: API.OperationMethod<
|
|
2289
|
+
GetEmailMxplanAccountRequest,
|
|
2290
|
+
EmailMxplanAccount,
|
|
2291
|
+
GetEmailMxplanAccountError,
|
|
2292
|
+
OvhOpContext
|
|
2293
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2294
|
+
input: GetEmailMxplanAccountRequest,
|
|
2295
|
+
output: EmailMxplanAccount,
|
|
2296
|
+
errors: [UnknownOvhError],
|
|
2297
|
+
protocol: OvhProtocol,
|
|
2298
|
+
retry: Retry.Retry,
|
|
2299
|
+
}));
|
|
2300
|
+
|
|
2301
|
+
export type GetEmailMxplanAccountAliasError = OvhOpError;
|
|
2302
|
+
/** Get this object properties */
|
|
2303
|
+
export const getEmailMxplanAccountAlias: API.OperationMethod<
|
|
2304
|
+
GetEmailMxplanAccountAliasRequest,
|
|
2305
|
+
EmailMxplanAccountAlias,
|
|
2306
|
+
GetEmailMxplanAccountAliasError,
|
|
2307
|
+
OvhOpContext
|
|
2308
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2309
|
+
input: GetEmailMxplanAccountAliasRequest,
|
|
2310
|
+
output: EmailMxplanAccountAlias,
|
|
2311
|
+
errors: [UnknownOvhError],
|
|
2312
|
+
protocol: OvhProtocol,
|
|
2313
|
+
retry: Retry.Retry,
|
|
2314
|
+
}));
|
|
2315
|
+
|
|
2316
|
+
export type GetEmailMxplanAccountDiagnosticError = OvhOpError;
|
|
2317
|
+
/** Get this object properties */
|
|
2318
|
+
export const getEmailMxplanAccountDiagnostic: API.OperationMethod<
|
|
2319
|
+
GetEmailMxplanAccountDiagnosticRequest,
|
|
2320
|
+
EmailMxplanAccountDiagnosis,
|
|
2321
|
+
GetEmailMxplanAccountDiagnosticError,
|
|
2322
|
+
OvhOpContext
|
|
2323
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2324
|
+
input: GetEmailMxplanAccountDiagnosticRequest,
|
|
2325
|
+
output: EmailMxplanAccountDiagnosis,
|
|
2326
|
+
errors: [UnknownOvhError],
|
|
2327
|
+
protocol: OvhProtocol,
|
|
2328
|
+
retry: Retry.Retry,
|
|
2329
|
+
}));
|
|
2330
|
+
|
|
2331
|
+
export type GetEmailMxplanAccountFullAccessError = OvhOpError;
|
|
2332
|
+
/** Get this object properties */
|
|
2333
|
+
export const getEmailMxplanAccountFullAccess: API.OperationMethod<
|
|
2334
|
+
GetEmailMxplanAccountFullAccessRequest,
|
|
2335
|
+
EmailMxplanAccountFullAccess,
|
|
2336
|
+
GetEmailMxplanAccountFullAccessError,
|
|
2337
|
+
OvhOpContext
|
|
2338
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2339
|
+
input: GetEmailMxplanAccountFullAccessRequest,
|
|
2340
|
+
output: EmailMxplanAccountFullAccess,
|
|
2341
|
+
errors: [UnknownOvhError],
|
|
2342
|
+
protocol: OvhProtocol,
|
|
2343
|
+
retry: Retry.Retry,
|
|
2344
|
+
}));
|
|
2345
|
+
|
|
2346
|
+
export type GetEmailMxplanAccountSendAsError = OvhOpError;
|
|
2347
|
+
/** Get this object properties */
|
|
2348
|
+
export const getEmailMxplanAccountSendAs: API.OperationMethod<
|
|
2349
|
+
GetEmailMxplanAccountSendAsRequest,
|
|
2350
|
+
EmailMxplanAccountSendAs,
|
|
2351
|
+
GetEmailMxplanAccountSendAsError,
|
|
2352
|
+
OvhOpContext
|
|
2353
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2354
|
+
input: GetEmailMxplanAccountSendAsRequest,
|
|
2355
|
+
output: EmailMxplanAccountSendAs,
|
|
2356
|
+
errors: [UnknownOvhError],
|
|
2357
|
+
protocol: OvhProtocol,
|
|
2358
|
+
retry: Retry.Retry,
|
|
2359
|
+
}));
|
|
2360
|
+
|
|
2361
|
+
export type GetEmailMxplanAccountSendOnBehalfToError = OvhOpError;
|
|
2362
|
+
/** Get this object properties */
|
|
2363
|
+
export const getEmailMxplanAccountSendOnBehalfTo: API.OperationMethod<
|
|
2364
|
+
GetEmailMxplanAccountSendOnBehalfToRequest,
|
|
2365
|
+
EmailMxplanAccountSendOnBehalfTo,
|
|
2366
|
+
GetEmailMxplanAccountSendOnBehalfToError,
|
|
2367
|
+
OvhOpContext
|
|
2368
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2369
|
+
input: GetEmailMxplanAccountSendOnBehalfToRequest,
|
|
2370
|
+
output: EmailMxplanAccountSendOnBehalfTo,
|
|
2371
|
+
errors: [UnknownOvhError],
|
|
2372
|
+
protocol: OvhProtocol,
|
|
2373
|
+
retry: Retry.Retry,
|
|
2374
|
+
}));
|
|
2375
|
+
|
|
2376
|
+
export type GetEmailMxplanAccountTaskError = OvhOpError;
|
|
2377
|
+
/** Get this object properties */
|
|
2378
|
+
export const getEmailMxplanAccountTask: API.OperationMethod<
|
|
2379
|
+
GetEmailMxplanAccountTaskRequest,
|
|
2380
|
+
EmailProTask,
|
|
2381
|
+
GetEmailMxplanAccountTaskError,
|
|
2382
|
+
OvhOpContext
|
|
2383
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2384
|
+
input: GetEmailMxplanAccountTaskRequest,
|
|
2385
|
+
output: EmailProTask,
|
|
2386
|
+
errors: [UnknownOvhError],
|
|
2387
|
+
protocol: OvhProtocol,
|
|
2388
|
+
retry: Retry.Retry,
|
|
2389
|
+
}));
|
|
2390
|
+
|
|
2391
|
+
export type GetEmailMxplanDomainError = OvhOpError;
|
|
2392
|
+
/** Get this object properties */
|
|
2393
|
+
export const getEmailMxplanDomain: API.OperationMethod<
|
|
2394
|
+
GetEmailMxplanDomainRequest,
|
|
2395
|
+
EmailMxplanDomain,
|
|
2396
|
+
GetEmailMxplanDomainError,
|
|
2397
|
+
OvhOpContext
|
|
2398
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2399
|
+
input: GetEmailMxplanDomainRequest,
|
|
2400
|
+
output: EmailMxplanDomain,
|
|
2401
|
+
errors: [UnknownOvhError],
|
|
2402
|
+
protocol: OvhProtocol,
|
|
2403
|
+
retry: Retry.Retry,
|
|
2404
|
+
}));
|
|
2405
|
+
|
|
2406
|
+
export type GetEmailMxplanDomainDisclaimerError = OvhOpError;
|
|
2407
|
+
/** Get this object properties */
|
|
2408
|
+
export const getEmailMxplanDomainDisclaimer: API.OperationMethod<
|
|
2409
|
+
GetEmailMxplanDomainDisclaimerRequest,
|
|
2410
|
+
EmailProDisclaimer,
|
|
2411
|
+
GetEmailMxplanDomainDisclaimerError,
|
|
2412
|
+
OvhOpContext
|
|
2413
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2414
|
+
input: GetEmailMxplanDomainDisclaimerRequest,
|
|
2415
|
+
output: EmailProDisclaimer,
|
|
2416
|
+
errors: [UnknownOvhError],
|
|
2417
|
+
protocol: OvhProtocol,
|
|
2418
|
+
retry: Retry.Retry,
|
|
2419
|
+
}));
|
|
2420
|
+
|
|
2421
|
+
export type GetEmailMxplanExternalContactError = OvhOpError;
|
|
2422
|
+
/** Get this object properties */
|
|
2423
|
+
export const getEmailMxplanExternalContact: API.OperationMethod<
|
|
2424
|
+
GetEmailMxplanExternalContactRequest,
|
|
2425
|
+
EmailMxplanExternalContact,
|
|
2426
|
+
GetEmailMxplanExternalContactError,
|
|
2427
|
+
OvhOpContext
|
|
2428
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2429
|
+
input: GetEmailMxplanExternalContactRequest,
|
|
2430
|
+
output: EmailMxplanExternalContact,
|
|
2431
|
+
errors: [UnknownOvhError],
|
|
2432
|
+
protocol: OvhProtocol,
|
|
2433
|
+
retry: Retry.Retry,
|
|
2434
|
+
}));
|
|
2435
|
+
|
|
2436
|
+
export type GetEmailMxplanServerError = OvhOpError;
|
|
2437
|
+
/** Get this object properties */
|
|
2438
|
+
export const getEmailMxplanServer: API.OperationMethod<
|
|
2439
|
+
GetEmailMxplanServerRequest,
|
|
2440
|
+
EmailMxplanServer,
|
|
2441
|
+
GetEmailMxplanServerError,
|
|
2442
|
+
OvhOpContext
|
|
2443
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2444
|
+
input: GetEmailMxplanServerRequest,
|
|
2445
|
+
output: EmailMxplanServer,
|
|
2446
|
+
errors: [UnknownOvhError],
|
|
2447
|
+
protocol: OvhProtocol,
|
|
2448
|
+
retry: Retry.Retry,
|
|
2449
|
+
}));
|
|
2450
|
+
|
|
2451
|
+
export type GetEmailMxplanTaskError = OvhOpError;
|
|
2452
|
+
/** Get this object properties */
|
|
2453
|
+
export const getEmailMxplanTask: API.OperationMethod<
|
|
2454
|
+
GetEmailMxplanTaskRequest,
|
|
2455
|
+
EmailProTask,
|
|
2456
|
+
GetEmailMxplanTaskError,
|
|
2457
|
+
OvhOpContext
|
|
2458
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2459
|
+
input: GetEmailMxplanTaskRequest,
|
|
2460
|
+
output: EmailProTask,
|
|
2461
|
+
errors: [UnknownOvhError],
|
|
2462
|
+
protocol: OvhProtocol,
|
|
2463
|
+
retry: Retry.Retry,
|
|
2464
|
+
}));
|
|
2465
|
+
|
|
2466
|
+
export type ListEmailMxplanError = OvhOpError;
|
|
2467
|
+
/** List available services */
|
|
2468
|
+
export const listEmailMxplan: API.OperationMethod<
|
|
2469
|
+
ListEmailMxplanRequest,
|
|
2470
|
+
ListEmailMxplanResponse,
|
|
2471
|
+
ListEmailMxplanError,
|
|
2472
|
+
OvhOpContext
|
|
2473
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2474
|
+
input: ListEmailMxplanRequest,
|
|
2475
|
+
output: ListEmailMxplanResponse,
|
|
2476
|
+
errors: [UnknownOvhError],
|
|
2477
|
+
protocol: OvhProtocol,
|
|
2478
|
+
retry: Retry.Retry,
|
|
2479
|
+
}));
|
|
2480
|
+
|
|
2481
|
+
export type ListEmailMxplanAccountError = OvhOpError;
|
|
2482
|
+
/** Accounts associated to this mxplan service */
|
|
2483
|
+
export const listEmailMxplanAccount: API.OperationMethod<
|
|
2484
|
+
ListEmailMxplanAccountRequest,
|
|
2485
|
+
ListEmailMxplanAccountResponse,
|
|
2486
|
+
ListEmailMxplanAccountError,
|
|
2487
|
+
OvhOpContext
|
|
2488
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2489
|
+
input: ListEmailMxplanAccountRequest,
|
|
2490
|
+
output: ListEmailMxplanAccountResponse,
|
|
2491
|
+
errors: [UnknownOvhError],
|
|
2492
|
+
protocol: OvhProtocol,
|
|
2493
|
+
retry: Retry.Retry,
|
|
2494
|
+
}));
|
|
2495
|
+
|
|
2496
|
+
export type ListEmailMxplanAccountAliasError = OvhOpError;
|
|
2497
|
+
/** Aliases associated to this mailbox */
|
|
2498
|
+
export const listEmailMxplanAccountAlias: API.OperationMethod<
|
|
2499
|
+
ListEmailMxplanAccountAliasRequest,
|
|
2500
|
+
ListEmailMxplanAccountAliasResponse,
|
|
2501
|
+
ListEmailMxplanAccountAliasError,
|
|
2502
|
+
OvhOpContext
|
|
2503
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2504
|
+
input: ListEmailMxplanAccountAliasRequest,
|
|
2505
|
+
output: ListEmailMxplanAccountAliasResponse,
|
|
2506
|
+
errors: [UnknownOvhError],
|
|
2507
|
+
protocol: OvhProtocol,
|
|
2508
|
+
retry: Retry.Retry,
|
|
2509
|
+
}));
|
|
2510
|
+
|
|
2511
|
+
export type ListEmailMxplanAccountCapabilitiesError = OvhOpError;
|
|
2512
|
+
/** Get available capabilities for this account */
|
|
2513
|
+
export const listEmailMxplanAccountCapabilities: API.OperationMethod<
|
|
2514
|
+
ListEmailMxplanAccountCapabilitiesRequest,
|
|
2515
|
+
EmailMxplanAccountCapabilities,
|
|
2516
|
+
ListEmailMxplanAccountCapabilitiesError,
|
|
2517
|
+
OvhOpContext
|
|
2518
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2519
|
+
input: ListEmailMxplanAccountCapabilitiesRequest,
|
|
2520
|
+
output: EmailMxplanAccountCapabilities,
|
|
2521
|
+
errors: [UnknownOvhError],
|
|
2522
|
+
protocol: OvhProtocol,
|
|
2523
|
+
retry: Retry.Retry,
|
|
2524
|
+
}));
|
|
2525
|
+
|
|
2526
|
+
export type ListEmailMxplanAccountFullAccessError = OvhOpError;
|
|
2527
|
+
/** Full access granted users for this mailbox */
|
|
2528
|
+
export const listEmailMxplanAccountFullAccess: API.OperationMethod<
|
|
2529
|
+
ListEmailMxplanAccountFullAccessRequest,
|
|
2530
|
+
ListEmailMxplanAccountFullAccessResponse,
|
|
2531
|
+
ListEmailMxplanAccountFullAccessError,
|
|
2532
|
+
OvhOpContext
|
|
2533
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2534
|
+
input: ListEmailMxplanAccountFullAccessRequest,
|
|
2535
|
+
output: ListEmailMxplanAccountFullAccessResponse,
|
|
2536
|
+
errors: [UnknownOvhError],
|
|
2537
|
+
protocol: OvhProtocol,
|
|
2538
|
+
retry: Retry.Retry,
|
|
2539
|
+
}));
|
|
2540
|
+
|
|
2541
|
+
export type ListEmailMxplanAccountSendAsError = OvhOpError;
|
|
2542
|
+
/** Send as granted users for this mailbox */
|
|
2543
|
+
export const listEmailMxplanAccountSendAs: API.OperationMethod<
|
|
2544
|
+
ListEmailMxplanAccountSendAsRequest,
|
|
2545
|
+
ListEmailMxplanAccountSendAsResponse,
|
|
2546
|
+
ListEmailMxplanAccountSendAsError,
|
|
2547
|
+
OvhOpContext
|
|
2548
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2549
|
+
input: ListEmailMxplanAccountSendAsRequest,
|
|
2550
|
+
output: ListEmailMxplanAccountSendAsResponse,
|
|
2551
|
+
errors: [UnknownOvhError],
|
|
2552
|
+
protocol: OvhProtocol,
|
|
2553
|
+
retry: Retry.Retry,
|
|
2554
|
+
}));
|
|
2555
|
+
|
|
2556
|
+
export type ListEmailMxplanAccountSendOnBehalfToError = OvhOpError;
|
|
2557
|
+
/** SendOnBehalfTo granted users for this mailbox */
|
|
2558
|
+
export const listEmailMxplanAccountSendOnBehalfTo: API.OperationMethod<
|
|
2559
|
+
ListEmailMxplanAccountSendOnBehalfToRequest,
|
|
2560
|
+
ListEmailMxplanAccountSendOnBehalfToResponse,
|
|
2561
|
+
ListEmailMxplanAccountSendOnBehalfToError,
|
|
2562
|
+
OvhOpContext
|
|
2563
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2564
|
+
input: ListEmailMxplanAccountSendOnBehalfToRequest,
|
|
2565
|
+
output: ListEmailMxplanAccountSendOnBehalfToResponse,
|
|
2566
|
+
errors: [UnknownOvhError],
|
|
2567
|
+
protocol: OvhProtocol,
|
|
2568
|
+
retry: Retry.Retry,
|
|
2569
|
+
}));
|
|
2570
|
+
|
|
2571
|
+
export type ListEmailMxplanAccountTaskError = OvhOpError;
|
|
2572
|
+
/** Pending task for this mailbox */
|
|
2573
|
+
export const listEmailMxplanAccountTask: API.OperationMethod<
|
|
2574
|
+
ListEmailMxplanAccountTaskRequest,
|
|
2575
|
+
ListEmailMxplanAccountTaskResponse,
|
|
2576
|
+
ListEmailMxplanAccountTaskError,
|
|
2577
|
+
OvhOpContext
|
|
2578
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2579
|
+
input: ListEmailMxplanAccountTaskRequest,
|
|
2580
|
+
output: ListEmailMxplanAccountTaskResponse,
|
|
2581
|
+
errors: [UnknownOvhError],
|
|
2582
|
+
protocol: OvhProtocol,
|
|
2583
|
+
retry: Retry.Retry,
|
|
2584
|
+
}));
|
|
2585
|
+
|
|
2586
|
+
export type ListEmailMxplanDomainError = OvhOpError;
|
|
2587
|
+
/** Domains associated to this service */
|
|
2588
|
+
export const listEmailMxplanDomain: API.OperationMethod<
|
|
2589
|
+
ListEmailMxplanDomainRequest,
|
|
2590
|
+
ListEmailMxplanDomainResponse,
|
|
2591
|
+
ListEmailMxplanDomainError,
|
|
2592
|
+
OvhOpContext
|
|
2593
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2594
|
+
input: ListEmailMxplanDomainRequest,
|
|
2595
|
+
output: ListEmailMxplanDomainResponse,
|
|
2596
|
+
errors: [UnknownOvhError],
|
|
2597
|
+
protocol: OvhProtocol,
|
|
2598
|
+
retry: Retry.Retry,
|
|
2599
|
+
}));
|
|
2600
|
+
|
|
2601
|
+
export type ListEmailMxplanDomainDisclaimerAttributeError = OvhOpError;
|
|
2602
|
+
/** Get diclaimer attributes to substitute with Active Directory properties */
|
|
2603
|
+
export const listEmailMxplanDomainDisclaimerAttribute: API.OperationMethod<
|
|
2604
|
+
ListEmailMxplanDomainDisclaimerAttributeRequest,
|
|
2605
|
+
ListEmailMxplanDomainDisclaimerAttributeResponse,
|
|
2606
|
+
ListEmailMxplanDomainDisclaimerAttributeError,
|
|
2607
|
+
OvhOpContext
|
|
2608
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2609
|
+
input: ListEmailMxplanDomainDisclaimerAttributeRequest,
|
|
2610
|
+
output: ListEmailMxplanDomainDisclaimerAttributeResponse,
|
|
2611
|
+
errors: [UnknownOvhError],
|
|
2612
|
+
protocol: OvhProtocol,
|
|
2613
|
+
retry: Retry.Retry,
|
|
2614
|
+
}));
|
|
2615
|
+
|
|
2616
|
+
export type ListEmailMxplanExternalContactError = OvhOpError;
|
|
2617
|
+
/** External contacts for this service */
|
|
2618
|
+
export const listEmailMxplanExternalContact: API.OperationMethod<
|
|
2619
|
+
ListEmailMxplanExternalContactRequest,
|
|
2620
|
+
ListEmailMxplanExternalContactResponse,
|
|
2621
|
+
ListEmailMxplanExternalContactError,
|
|
2622
|
+
OvhOpContext
|
|
2623
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2624
|
+
input: ListEmailMxplanExternalContactRequest,
|
|
2625
|
+
output: ListEmailMxplanExternalContactResponse,
|
|
2626
|
+
errors: [UnknownOvhError],
|
|
2627
|
+
protocol: OvhProtocol,
|
|
2628
|
+
retry: Retry.Retry,
|
|
2629
|
+
}));
|
|
2630
|
+
|
|
2631
|
+
export type ListEmailMxplanTaskError = OvhOpError;
|
|
2632
|
+
/** Pending actions */
|
|
2633
|
+
export const listEmailMxplanTask: API.OperationMethod<
|
|
2634
|
+
ListEmailMxplanTaskRequest,
|
|
2635
|
+
ListEmailMxplanTaskResponse,
|
|
2636
|
+
ListEmailMxplanTaskError,
|
|
2637
|
+
OvhOpContext
|
|
2638
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2639
|
+
input: ListEmailMxplanTaskRequest,
|
|
2640
|
+
output: ListEmailMxplanTaskResponse,
|
|
2641
|
+
errors: [UnknownOvhError],
|
|
2642
|
+
protocol: OvhProtocol,
|
|
2643
|
+
retry: Retry.Retry,
|
|
2644
|
+
}));
|
|
2645
|
+
|
|
2646
|
+
export type PutEmailMxplanError = OvhOpError;
|
|
2647
|
+
/** Alter this object properties */
|
|
2648
|
+
export const putEmailMxplan: API.OperationMethod<
|
|
2649
|
+
PutEmailMxplanRequest,
|
|
2650
|
+
PutEmailMxplanResponse,
|
|
2651
|
+
PutEmailMxplanError,
|
|
2652
|
+
OvhOpContext
|
|
2653
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2654
|
+
input: PutEmailMxplanRequest,
|
|
2655
|
+
output: PutEmailMxplanResponse,
|
|
2656
|
+
errors: [UnknownOvhError],
|
|
2657
|
+
protocol: OvhProtocol,
|
|
2658
|
+
retry: Retry.Retry,
|
|
2659
|
+
}));
|
|
2660
|
+
|
|
2661
|
+
export type PutEmailMxplanAccountError = OvhOpError;
|
|
2662
|
+
/** Alter this object properties */
|
|
2663
|
+
export const putEmailMxplanAccount: API.OperationMethod<
|
|
2664
|
+
PutEmailMxplanAccountRequest,
|
|
2665
|
+
PutEmailMxplanAccountResponse,
|
|
2666
|
+
PutEmailMxplanAccountError,
|
|
2667
|
+
OvhOpContext
|
|
2668
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2669
|
+
input: PutEmailMxplanAccountRequest,
|
|
2670
|
+
output: PutEmailMxplanAccountResponse,
|
|
2671
|
+
errors: [UnknownOvhError],
|
|
2672
|
+
protocol: OvhProtocol,
|
|
2673
|
+
retry: Retry.Retry,
|
|
2674
|
+
}));
|
|
2675
|
+
|
|
2676
|
+
export type PutEmailMxplanDomainError = OvhOpError;
|
|
2677
|
+
/** Alter this object properties */
|
|
2678
|
+
export const putEmailMxplanDomain: API.OperationMethod<
|
|
2679
|
+
PutEmailMxplanDomainRequest,
|
|
2680
|
+
PutEmailMxplanDomainResponse,
|
|
2681
|
+
PutEmailMxplanDomainError,
|
|
2682
|
+
OvhOpContext
|
|
2683
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2684
|
+
input: PutEmailMxplanDomainRequest,
|
|
2685
|
+
output: PutEmailMxplanDomainResponse,
|
|
2686
|
+
errors: [UnknownOvhError],
|
|
2687
|
+
protocol: OvhProtocol,
|
|
2688
|
+
retry: Retry.Retry,
|
|
2689
|
+
}));
|
|
2690
|
+
|
|
2691
|
+
export type PutEmailMxplanDomainDisclaimerError = OvhOpError;
|
|
2692
|
+
/** Alter this object properties */
|
|
2693
|
+
export const putEmailMxplanDomainDisclaimer: API.OperationMethod<
|
|
2694
|
+
PutEmailMxplanDomainDisclaimerRequest,
|
|
2695
|
+
PutEmailMxplanDomainDisclaimerResponse,
|
|
2696
|
+
PutEmailMxplanDomainDisclaimerError,
|
|
2697
|
+
OvhOpContext
|
|
2698
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2699
|
+
input: PutEmailMxplanDomainDisclaimerRequest,
|
|
2700
|
+
output: PutEmailMxplanDomainDisclaimerResponse,
|
|
2701
|
+
errors: [UnknownOvhError],
|
|
2702
|
+
protocol: OvhProtocol,
|
|
2703
|
+
retry: Retry.Retry,
|
|
2704
|
+
}));
|
|
2705
|
+
|
|
2706
|
+
export type PutEmailMxplanExternalContactError = OvhOpError;
|
|
2707
|
+
/** Alter this object properties */
|
|
2708
|
+
export const putEmailMxplanExternalContact: API.OperationMethod<
|
|
2709
|
+
PutEmailMxplanExternalContactRequest,
|
|
2710
|
+
PutEmailMxplanExternalContactResponse,
|
|
2711
|
+
PutEmailMxplanExternalContactError,
|
|
2712
|
+
OvhOpContext
|
|
2713
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2714
|
+
input: PutEmailMxplanExternalContactRequest,
|
|
2715
|
+
output: PutEmailMxplanExternalContactResponse,
|
|
2716
|
+
errors: [UnknownOvhError],
|
|
2717
|
+
protocol: OvhProtocol,
|
|
2718
|
+
retry: Retry.Retry,
|
|
2719
|
+
}));
|
|
2720
|
+
|
|
2721
|
+
export type SendEmailMxplanAccountAsError = OvhOpError;
|
|
2722
|
+
/** Allow another user to send mails from this mailbox */
|
|
2723
|
+
export const sendEmailMxplanAccountAs: API.OperationMethod<
|
|
2724
|
+
SendEmailMxplanAccountAsRequest,
|
|
2725
|
+
EmailProTask,
|
|
2726
|
+
SendEmailMxplanAccountAsError,
|
|
2727
|
+
OvhOpContext
|
|
2728
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2729
|
+
input: SendEmailMxplanAccountAsRequest,
|
|
2730
|
+
output: EmailProTask,
|
|
2731
|
+
errors: [UnknownOvhError],
|
|
2732
|
+
protocol: OvhProtocol,
|
|
2733
|
+
retry: Retry.Retry,
|
|
2734
|
+
}));
|
|
2735
|
+
|
|
2736
|
+
export type SendEmailMxplanAccountOnBehalfToError = OvhOpError;
|
|
2737
|
+
/** Allow another user to Send On Behalf To mails from this mailbox */
|
|
2738
|
+
export const sendEmailMxplanAccountOnBehalfTo: API.OperationMethod<
|
|
2739
|
+
SendEmailMxplanAccountOnBehalfToRequest,
|
|
2740
|
+
EmailProTask,
|
|
2741
|
+
SendEmailMxplanAccountOnBehalfToError,
|
|
2742
|
+
OvhOpContext
|
|
2743
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2744
|
+
input: SendEmailMxplanAccountOnBehalfToRequest,
|
|
2745
|
+
output: EmailProTask,
|
|
2746
|
+
errors: [UnknownOvhError],
|
|
2747
|
+
protocol: OvhProtocol,
|
|
2748
|
+
retry: Retry.Retry,
|
|
2749
|
+
}));
|
|
2750
|
+
|
|
2751
|
+
export type UpdateEmailMxplanFlagsOnAllAccountsError = OvhOpError;
|
|
2752
|
+
/** Update spam and virus flags on all active accounts */
|
|
2753
|
+
export const updateEmailMxplanFlagsOnAllAccounts: API.OperationMethod<
|
|
2754
|
+
UpdateEmailMxplanFlagsOnAllAccountsRequest,
|
|
2755
|
+
UpdateEmailMxplanFlagsOnAllAccountsResponse,
|
|
2756
|
+
UpdateEmailMxplanFlagsOnAllAccountsError,
|
|
2757
|
+
OvhOpContext
|
|
2758
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2759
|
+
input: UpdateEmailMxplanFlagsOnAllAccountsRequest,
|
|
2760
|
+
output: UpdateEmailMxplanFlagsOnAllAccountsResponse,
|
|
2761
|
+
errors: [UnknownOvhError],
|
|
2762
|
+
protocol: OvhProtocol,
|
|
2763
|
+
retry: Retry.Retry,
|
|
2764
|
+
}));
|