@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.
Files changed (192) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +38 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +54 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +36 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +26 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +22 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +22 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +8 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +8 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +60 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +32 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/baremetal.d.ts +3551 -0
  27. package/lib/services/baremetal.d.ts.map +1 -0
  28. package/lib/services/baremetal.js +4200 -0
  29. package/lib/services/baremetal.js.map +1 -0
  30. package/lib/services/cloud.d.ts +26011 -0
  31. package/lib/services/cloud.d.ts.map +1 -0
  32. package/lib/services/cloud.js +31119 -0
  33. package/lib/services/cloud.js.map +1 -0
  34. package/lib/services/cloud_v2.d.ts +5642 -0
  35. package/lib/services/cloud_v2.d.ts.map +1 -0
  36. package/lib/services/cloud_v2.js +5760 -0
  37. package/lib/services/cloud_v2.js.map +1 -0
  38. package/lib/services/dedicatedceph.d.ts +747 -0
  39. package/lib/services/dedicatedceph.d.ts.map +1 -0
  40. package/lib/services/dedicatedceph.js +962 -0
  41. package/lib/services/dedicatedceph.js.map +1 -0
  42. package/lib/services/dedicatednasha.d.ts +755 -0
  43. package/lib/services/dedicatednasha.d.ts.map +1 -0
  44. package/lib/services/dedicatednasha.js +967 -0
  45. package/lib/services/dedicatednasha.js.map +1 -0
  46. package/lib/services/domain.d.ts +2995 -0
  47. package/lib/services/domain.d.ts.map +1 -0
  48. package/lib/services/domain.js +3080 -0
  49. package/lib/services/domain.js.map +1 -0
  50. package/lib/services/emaildomain.d.ts +1913 -0
  51. package/lib/services/emaildomain.d.ts.map +1 -0
  52. package/lib/services/emaildomain.js +2550 -0
  53. package/lib/services/emaildomain.js.map +1 -0
  54. package/lib/services/emailmxplan.d.ts +1012 -0
  55. package/lib/services/emailmxplan.d.ts.map +1 -0
  56. package/lib/services/emailmxplan.js +1155 -0
  57. package/lib/services/emailmxplan.js.map +1 -0
  58. package/lib/services/emailpro.d.ts +1287 -0
  59. package/lib/services/emailpro.d.ts.map +1 -0
  60. package/lib/services/emailpro.js +1471 -0
  61. package/lib/services/emailpro.js.map +1 -0
  62. package/lib/services/hostingprivatedatabase.d.ts +1402 -0
  63. package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
  64. package/lib/services/hostingprivatedatabase.js +1833 -0
  65. package/lib/services/hostingprivatedatabase.js.map +1 -0
  66. package/lib/services/iam.d.ts +829 -0
  67. package/lib/services/iam.d.ts.map +1 -0
  68. package/lib/services/iam.js +793 -0
  69. package/lib/services/iam.js.map +1 -0
  70. package/lib/services/index.d.ts +31 -0
  71. package/lib/services/index.d.ts.map +1 -0
  72. package/lib/services/index.js +32 -0
  73. package/lib/services/index.js.map +1 -0
  74. package/lib/services/ip.d.ts +1417 -0
  75. package/lib/services/ip.d.ts.map +1 -0
  76. package/lib/services/ip.js +1691 -0
  77. package/lib/services/ip.js.map +1 -0
  78. package/lib/services/iploadbalancing.d.ts +3059 -0
  79. package/lib/services/iploadbalancing.d.ts.map +1 -0
  80. package/lib/services/iploadbalancing.js +3554 -0
  81. package/lib/services/iploadbalancing.js.map +1 -0
  82. package/lib/services/ldp.d.ts +2492 -0
  83. package/lib/services/ldp.d.ts.map +1 -0
  84. package/lib/services/ldp.js +3072 -0
  85. package/lib/services/ldp.js.map +1 -0
  86. package/lib/services/me.d.ts +7511 -0
  87. package/lib/services/me.d.ts.map +1 -0
  88. package/lib/services/me.js +8878 -0
  89. package/lib/services/me.js.map +1 -0
  90. package/lib/services/overthebox.d.ts +981 -0
  91. package/lib/services/overthebox.d.ts.map +1 -0
  92. package/lib/services/overthebox.js +1122 -0
  93. package/lib/services/overthebox.js.map +1 -0
  94. package/lib/services/ovhcloudconnect.d.ts +1123 -0
  95. package/lib/services/ovhcloudconnect.d.ts.map +1 -0
  96. package/lib/services/ovhcloudconnect.js +1353 -0
  97. package/lib/services/ovhcloudconnect.js.map +1 -0
  98. package/lib/services/packxdsl.d.ts +1583 -0
  99. package/lib/services/packxdsl.d.ts.map +1 -0
  100. package/lib/services/packxdsl.js +1791 -0
  101. package/lib/services/packxdsl.js.map +1 -0
  102. package/lib/services/sms.d.ts +2602 -0
  103. package/lib/services/sms.d.ts.map +1 -0
  104. package/lib/services/sms.js +2995 -0
  105. package/lib/services/sms.js.map +1 -0
  106. package/lib/services/sslgateway.d.ts +493 -0
  107. package/lib/services/sslgateway.d.ts.map +1 -0
  108. package/lib/services/sslgateway.js +569 -0
  109. package/lib/services/sslgateway.js.map +1 -0
  110. package/lib/services/storagenetapp.d.ts +859 -0
  111. package/lib/services/storagenetapp.d.ts.map +1 -0
  112. package/lib/services/storagenetapp.js +1022 -0
  113. package/lib/services/storagenetapp.js.map +1 -0
  114. package/lib/services/support.d.ts +233 -0
  115. package/lib/services/support.d.ts.map +1 -0
  116. package/lib/services/support.js +237 -0
  117. package/lib/services/support.js.map +1 -0
  118. package/lib/services/telephony.d.ts +10825 -0
  119. package/lib/services/telephony.d.ts.map +1 -0
  120. package/lib/services/telephony.js +14894 -0
  121. package/lib/services/telephony.js.map +1 -0
  122. package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
  123. package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
  124. package/lib/services/vmwareclouddirectorbackup.js +842 -0
  125. package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
  126. package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
  127. package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
  128. package/lib/services/vmwareclouddirectororganization.js +842 -0
  129. package/lib/services/vmwareclouddirectororganization.js.map +1 -0
  130. package/lib/services/vps.d.ts +1579 -0
  131. package/lib/services/vps.d.ts.map +1 -0
  132. package/lib/services/vps.js +1914 -0
  133. package/lib/services/vps.js.map +1 -0
  134. package/lib/services/vrack.d.ts +1204 -0
  135. package/lib/services/vrack.d.ts.map +1 -0
  136. package/lib/services/vrack.js +1627 -0
  137. package/lib/services/vrack.js.map +1 -0
  138. package/lib/services/vrackservices.d.ts +394 -0
  139. package/lib/services/vrackservices.d.ts.map +1 -0
  140. package/lib/services/vrackservices.js +355 -0
  141. package/lib/services/vrackservices.js.map +1 -0
  142. package/lib/services/webhosting.d.ts +3986 -0
  143. package/lib/services/webhosting.d.ts.map +1 -0
  144. package/lib/services/webhosting.js +4527 -0
  145. package/lib/services/webhosting.js.map +1 -0
  146. package/lib/services/xdsl.d.ts +3433 -0
  147. package/lib/services/xdsl.d.ts.map +1 -0
  148. package/lib/services/xdsl.js +3682 -0
  149. package/lib/services/xdsl.js.map +1 -0
  150. package/lib/traits.d.ts +11 -0
  151. package/lib/traits.d.ts.map +1 -0
  152. package/lib/traits.js +11 -0
  153. package/lib/traits.js.map +1 -0
  154. package/package.json +77 -6
  155. package/src/credentials.ts +77 -0
  156. package/src/errors.ts +50 -0
  157. package/src/index.ts +21 -0
  158. package/src/pagination.ts +7 -0
  159. package/src/protocol.ts +86 -0
  160. package/src/retry.ts +54 -0
  161. package/src/services/baremetal.ts +10954 -0
  162. package/src/services/cloud.ts +75508 -0
  163. package/src/services/cloud_v2.ts +14751 -0
  164. package/src/services/dedicatedceph.ts +2233 -0
  165. package/src/services/dedicatednasha.ts +2269 -0
  166. package/src/services/domain.ts +7998 -0
  167. package/src/services/emaildomain.ts +5751 -0
  168. package/src/services/emailmxplan.ts +2764 -0
  169. package/src/services/emailpro.ts +3519 -0
  170. package/src/services/hostingprivatedatabase.ts +4218 -0
  171. package/src/services/iam.ts +2060 -0
  172. package/src/services/index.ts +31 -0
  173. package/src/services/ip.ts +4462 -0
  174. package/src/services/iploadbalancing.ts +8422 -0
  175. package/src/services/ldp.ts +7274 -0
  176. package/src/services/me.ts +21720 -0
  177. package/src/services/overthebox.ts +2693 -0
  178. package/src/services/ovhcloudconnect.ts +3226 -0
  179. package/src/services/packxdsl.ts +4623 -0
  180. package/src/services/sms.ts +7255 -0
  181. package/src/services/sslgateway.ts +1408 -0
  182. package/src/services/storagenetapp.ts +2433 -0
  183. package/src/services/support.ts +598 -0
  184. package/src/services/telephony.ts +32941 -0
  185. package/src/services/vmwareclouddirectorbackup.ts +2171 -0
  186. package/src/services/vmwareclouddirectororganization.ts +2171 -0
  187. package/src/services/vps.ts +5134 -0
  188. package/src/services/vrack.ts +3730 -0
  189. package/src/services/vrackservices.ts +939 -0
  190. package/src/services/webhosting.ts +11290 -0
  191. package/src/services/xdsl.ts +9278 -0
  192. package/src/traits.ts +44 -0
@@ -0,0 +1,3519 @@
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 CreateEmailProAccountAliasRequest {
17
+ /** The internal name of your pro organization */
18
+ service: string;
19
+ /** Default email for this mailbox */
20
+ email: string;
21
+ /** Alias */
22
+ alias: string;
23
+ }
24
+ export const CreateEmailProAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
25
+ S.Struct({
26
+ service: S.String.pipe(T.Label()),
27
+ email: S.String.pipe(T.Label()),
28
+ alias: S.String,
29
+ }).pipe(
30
+ T.Http({
31
+ method: "POST",
32
+ uri: "/email/pro/{service}/account/{email}/alias",
33
+ code: 200,
34
+ }),
35
+ ),
36
+ ).annotate({
37
+ identifier: "CreateEmailProAccountAliasRequest",
38
+ }) as any as S.Schema<CreateEmailProAccountAliasRequest>;
39
+
40
+ /** function enumeration for task */
41
+ export type EmailProTaskFunctionEnum =
42
+ | "addAccount"
43
+ | "addAlias"
44
+ | "addDomain"
45
+ | "addDomainDKIM"
46
+ | "addDomainDisclaimer"
47
+ | "addExternalContact"
48
+ | "addFullAccess"
49
+ | "addSendAs"
50
+ | "addSendOnBehalfTo"
51
+ | "addServiceAuthorizedIp"
52
+ | "changeHostname"
53
+ | "changePassword"
54
+ | "configureCustomer"
55
+ | "deleteAccount"
56
+ | "deleteAlias"
57
+ | "deleteDomain"
58
+ | "deleteDomainDKIM"
59
+ | "deleteDomainDisclaimer"
60
+ | "deleteExternalContact"
61
+ | "deleteFullAccess"
62
+ | "deleteSendAs"
63
+ | "deleteSendOnBehalfTo"
64
+ | "deleteService"
65
+ | "deleteServiceAuthorizedIp"
66
+ | "diagnoseAccount"
67
+ | "disableDKIM"
68
+ | "enableDKIM"
69
+ | "expandDrive"
70
+ | "installServer"
71
+ | "maintenance"
72
+ | "migrateAccountViaOMM"
73
+ | "migrationAccount"
74
+ | "migrationDisclaimer"
75
+ | "migrationExternalContact"
76
+ | "migrationHistory"
77
+ | "migrationService"
78
+ | "reOpenAccount"
79
+ | "setAccount"
80
+ | "setAlias"
81
+ | "setDns"
82
+ | "setDomain"
83
+ | "setDomainDisclaimer"
84
+ | "setExternalContact"
85
+ | "setService"
86
+ | "suspendAccount"
87
+ | "suspendService"
88
+ | "unknown"
89
+ | "unsuspendAccount"
90
+ | "unsuspendService";
91
+ export const EmailProTaskFunctionEnum = /*@__PURE__*/ S.String;
92
+
93
+ /** Task status */
94
+ export type EmailProTaskStatusEnum =
95
+ | "cancelled"
96
+ | "doing"
97
+ | "done"
98
+ | "error"
99
+ | "todo";
100
+ export const EmailProTaskStatusEnum = /*@__PURE__*/ S.String;
101
+
102
+ /** Organization task details */
103
+ export interface EmailProTask {
104
+ /** Completion date */
105
+ finishDate?: string | null;
106
+ /** Function name */
107
+ function?: EmailProTaskFunctionEnum;
108
+ /** Task id */
109
+ id?: number;
110
+ /** Task status */
111
+ status?: EmailProTaskStatusEnum;
112
+ /** Creation date */
113
+ todoDate?: string;
114
+ }
115
+ export const EmailProTask = /*@__PURE__*/ S.suspend(() =>
116
+ S.Struct({
117
+ finishDate: S.optional(S.NullOr(S.String)),
118
+ function: S.optional(EmailProTaskFunctionEnum),
119
+ id: S.optional(S.Number),
120
+ status: S.optional(EmailProTaskStatusEnum),
121
+ todoDate: S.optional(S.String),
122
+ }),
123
+ ).annotate({ identifier: "EmailProTask" }) as any as S.Schema<EmailProTask>;
124
+
125
+ export interface CreateEmailProAccountChangePasswordRequest {
126
+ /** The internal name of your pro organization */
127
+ service: string;
128
+ /** Default email for this mailbox */
129
+ email: string;
130
+ /** new password */
131
+ password: string | Redacted.Redacted<string>;
132
+ }
133
+ export const CreateEmailProAccountChangePasswordRequest =
134
+ /*@__PURE__*/ S.suspend(() =>
135
+ S.Struct({
136
+ service: S.String.pipe(T.Label()),
137
+ email: S.String.pipe(T.Label()),
138
+ password: S.String.pipe(T.SensitiveValue({})),
139
+ }).pipe(
140
+ T.Http({
141
+ method: "POST",
142
+ uri: "/email/pro/{service}/account/{email}/changePassword",
143
+ code: 200,
144
+ }),
145
+ ),
146
+ ).annotate({
147
+ identifier: "CreateEmailProAccountChangePasswordRequest",
148
+ }) as any as S.Schema<CreateEmailProAccountChangePasswordRequest>;
149
+
150
+ export interface CreateEmailProAccountDiagnosticRequest {
151
+ /** The internal name of your pro organization */
152
+ service: string;
153
+ /** Default email for this mailbox */
154
+ email: string;
155
+ /** Account password */
156
+ password: string | Redacted.Redacted<string>;
157
+ }
158
+ export const CreateEmailProAccountDiagnosticRequest = /*@__PURE__*/ S.suspend(
159
+ () =>
160
+ S.Struct({
161
+ service: S.String.pipe(T.Label()),
162
+ email: S.String.pipe(T.Label()),
163
+ password: S.String.pipe(T.SensitiveValue({})),
164
+ }).pipe(
165
+ T.Http({
166
+ method: "POST",
167
+ uri: "/email/pro/{service}/account/{email}/diagnostics",
168
+ code: 200,
169
+ }),
170
+ ),
171
+ ).annotate({
172
+ identifier: "CreateEmailProAccountDiagnosticRequest",
173
+ }) as any as S.Schema<CreateEmailProAccountDiagnosticRequest>;
174
+
175
+ export interface CreateEmailProAccountFullAccessRequest {
176
+ /** The internal name of your pro organization */
177
+ service: string;
178
+ /** Default email for this mailbox */
179
+ email: string;
180
+ /** User to give full access */
181
+ allowedAccountId: number;
182
+ }
183
+ export const CreateEmailProAccountFullAccessRequest = /*@__PURE__*/ S.suspend(
184
+ () =>
185
+ S.Struct({
186
+ service: S.String.pipe(T.Label()),
187
+ email: S.String.pipe(T.Label()),
188
+ allowedAccountId: S.Number,
189
+ }).pipe(
190
+ T.Http({
191
+ method: "POST",
192
+ uri: "/email/pro/{service}/account/{email}/fullAccess",
193
+ code: 200,
194
+ }),
195
+ ),
196
+ ).annotate({
197
+ identifier: "CreateEmailProAccountFullAccessRequest",
198
+ }) as any as S.Schema<CreateEmailProAccountFullAccessRequest>;
199
+
200
+ export interface CreateEmailProChangeContactRequest {
201
+ /** The internal name of your pro organization */
202
+ service: string;
203
+ /** The contact to set as admin contact */
204
+ contactAdmin?: string;
205
+ /** The contact to set as billing contact */
206
+ contactBilling?: string;
207
+ /** The contact to set as tech contact */
208
+ contactTech?: string;
209
+ }
210
+ export const CreateEmailProChangeContactRequest = /*@__PURE__*/ S.suspend(() =>
211
+ S.Struct({
212
+ service: S.String.pipe(T.Label()),
213
+ contactAdmin: S.optional(S.String),
214
+ contactBilling: S.optional(S.String),
215
+ contactTech: S.optional(S.String),
216
+ }).pipe(
217
+ T.Http({
218
+ method: "POST",
219
+ uri: "/email/pro/{service}/changeContact",
220
+ code: 200,
221
+ }),
222
+ ),
223
+ ).annotate({
224
+ identifier: "CreateEmailProChangeContactRequest",
225
+ }) as any as S.Schema<CreateEmailProChangeContactRequest>;
226
+
227
+ export type CreateEmailProChangeContactResponseBodyList = Array<number>;
228
+ export const CreateEmailProChangeContactResponseBodyList =
229
+ /*@__PURE__*/ S.Array(
230
+ S.Number,
231
+ ) as any as S.Schema<CreateEmailProChangeContactResponseBodyList>;
232
+
233
+ export type CreateEmailProChangeContactResponse =
234
+ CreateEmailProChangeContactResponseBodyList;
235
+ export const CreateEmailProChangeContactResponse = /*@__PURE__*/ S.suspend(() =>
236
+ CreateEmailProChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
237
+ ).annotate({
238
+ identifier: "CreateEmailProChangeContactResponse",
239
+ }) as any as S.Schema<CreateEmailProChangeContactResponse>;
240
+
241
+ /** Domain type */
242
+ export type EmailProDomainTypeEnum = "authoritative" | "nonAuthoritative";
243
+ export const EmailProDomainTypeEnum = /*@__PURE__*/ S.String;
244
+
245
+ export interface CreateEmailProDomainRequest {
246
+ /** The internal name of your pro organization */
247
+ service: string;
248
+ /** Enable DKIM automatically after DKIM configuration */
249
+ autoEnableDKIM?: boolean;
250
+ /** If you host domain in OVH we can configure autodiscover record automatically */
251
+ configureAutodiscover?: boolean;
252
+ /** Launch configuration of DKIM automatically for the domain */
253
+ configureDKIM?: boolean;
254
+ /** If you host domain in OVH we can configure mx record automatically */
255
+ configureMx?: boolean;
256
+ /** Enable automatic SPF record (only for domains hosted by OVHcloud) */
257
+ configureSPF?: boolean;
258
+ /** If specified, emails to not existing address will be redirected to that domain */
259
+ mxRelay?: string;
260
+ /** Domain to install on server */
261
+ name: string;
262
+ /** Type of domain that You want to install */
263
+ type: EmailProDomainTypeEnum | (string & {});
264
+ }
265
+ export const CreateEmailProDomainRequest = /*@__PURE__*/ S.suspend(() =>
266
+ S.Struct({
267
+ service: S.String.pipe(T.Label()),
268
+ autoEnableDKIM: S.optional(S.Boolean),
269
+ configureAutodiscover: S.optional(S.Boolean),
270
+ configureDKIM: S.optional(S.Boolean),
271
+ configureMx: S.optional(S.Boolean),
272
+ configureSPF: S.optional(S.Boolean),
273
+ mxRelay: S.optional(S.String),
274
+ name: S.String,
275
+ type: EmailProDomainTypeEnum,
276
+ }).pipe(
277
+ T.Http({ method: "POST", uri: "/email/pro/{service}/domain", code: 200 }),
278
+ ),
279
+ ).annotate({
280
+ identifier: "CreateEmailProDomainRequest",
281
+ }) as any as S.Schema<CreateEmailProDomainRequest>;
282
+
283
+ export interface CreateEmailProDomainDisclaimerRequest {
284
+ /** The internal name of your pro organization */
285
+ service: string;
286
+ /** Domain name */
287
+ domainName: string;
288
+ /** Signature, added at the bottom of your organization emails */
289
+ content: string;
290
+ /** Activate the disclaimer only for external emails */
291
+ outsideOnly?: boolean;
292
+ }
293
+ export const CreateEmailProDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
294
+ () =>
295
+ S.Struct({
296
+ service: S.String.pipe(T.Label()),
297
+ domainName: S.String.pipe(T.Label()),
298
+ content: S.String,
299
+ outsideOnly: S.optional(S.Boolean),
300
+ }).pipe(
301
+ T.Http({
302
+ method: "POST",
303
+ uri: "/email/pro/{service}/domain/{domainName}/disclaimer",
304
+ code: 200,
305
+ }),
306
+ ),
307
+ ).annotate({
308
+ identifier: "CreateEmailProDomainDisclaimerRequest",
309
+ }) as any as S.Schema<CreateEmailProDomainDisclaimerRequest>;
310
+
311
+ export interface CreateEmailProDomainDkimRequest {
312
+ /** The internal name of your pro organization */
313
+ service: string;
314
+ /** Domain name */
315
+ domainName: string;
316
+ /** Enable DKIM automatically after DKIM configuration */
317
+ autoEnableDKIM?: boolean;
318
+ /** If you host domain in OVH we can configure dkim dns record automatically */
319
+ configureDkim?: boolean;
320
+ /** selector name for DKIM */
321
+ selectorName: string;
322
+ }
323
+ export const CreateEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
324
+ S.Struct({
325
+ service: S.String.pipe(T.Label()),
326
+ domainName: S.String.pipe(T.Label()),
327
+ autoEnableDKIM: S.optional(S.Boolean),
328
+ configureDkim: S.optional(S.Boolean),
329
+ selectorName: S.String,
330
+ }).pipe(
331
+ T.Http({
332
+ method: "POST",
333
+ uri: "/email/pro/{service}/domain/{domainName}/dkim",
334
+ code: 200,
335
+ }),
336
+ ),
337
+ ).annotate({
338
+ identifier: "CreateEmailProDomainDkimRequest",
339
+ }) as any as S.Schema<CreateEmailProDomainDkimRequest>;
340
+
341
+ export interface CreateEmailProExternalContactRequest {
342
+ /** The internal name of your pro organization */
343
+ service: string;
344
+ /** Contact display name */
345
+ displayName?: string;
346
+ /** Contact email address */
347
+ externalEmailAddress: string;
348
+ /** Contact first name */
349
+ firstName?: string;
350
+ /** Hide the contact in Global Address List */
351
+ hiddenFromGAL?: boolean;
352
+ /** Contact initials */
353
+ initials?: string;
354
+ /** Contact last name */
355
+ lastName?: string;
356
+ }
357
+ export const CreateEmailProExternalContactRequest = /*@__PURE__*/ S.suspend(
358
+ () =>
359
+ S.Struct({
360
+ service: S.String.pipe(T.Label()),
361
+ displayName: S.optional(S.String),
362
+ externalEmailAddress: S.String,
363
+ firstName: S.optional(S.String),
364
+ hiddenFromGAL: S.optional(S.Boolean),
365
+ initials: S.optional(S.String),
366
+ lastName: S.optional(S.String),
367
+ }).pipe(
368
+ T.Http({
369
+ method: "POST",
370
+ uri: "/email/pro/{service}/externalContact",
371
+ code: 200,
372
+ }),
373
+ ),
374
+ ).annotate({
375
+ identifier: "CreateEmailProExternalContactRequest",
376
+ }) as any as S.Schema<CreateEmailProExternalContactRequest>;
377
+
378
+ export interface DeleteEmailProAccountRequest {
379
+ /** The internal name of your pro organization */
380
+ service: string;
381
+ /** Default email for this mailbox */
382
+ email: string;
383
+ }
384
+ export const DeleteEmailProAccountRequest = /*@__PURE__*/ S.suspend(() =>
385
+ S.Struct({
386
+ service: S.String.pipe(T.Label()),
387
+ email: S.String.pipe(T.Label()),
388
+ }).pipe(
389
+ T.Http({
390
+ method: "DELETE",
391
+ uri: "/email/pro/{service}/account/{email}",
392
+ code: 200,
393
+ }),
394
+ ),
395
+ ).annotate({
396
+ identifier: "DeleteEmailProAccountRequest",
397
+ }) as any as S.Schema<DeleteEmailProAccountRequest>;
398
+
399
+ export interface DeleteEmailProAccountAliasRequest {
400
+ /** The internal name of your pro organization */
401
+ service: string;
402
+ /** Default email for this mailbox */
403
+ email: string;
404
+ /** Alias */
405
+ alias: string;
406
+ }
407
+ export const DeleteEmailProAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
408
+ S.Struct({
409
+ service: S.String.pipe(T.Label()),
410
+ email: S.String.pipe(T.Label()),
411
+ alias: S.String.pipe(T.Label()),
412
+ }).pipe(
413
+ T.Http({
414
+ method: "DELETE",
415
+ uri: "/email/pro/{service}/account/{email}/alias/{alias}",
416
+ code: 200,
417
+ }),
418
+ ),
419
+ ).annotate({
420
+ identifier: "DeleteEmailProAccountAliasRequest",
421
+ }) as any as S.Schema<DeleteEmailProAccountAliasRequest>;
422
+
423
+ export interface DeleteEmailProAccountFullAccessRequest {
424
+ /** The internal name of your pro organization */
425
+ service: string;
426
+ /** Default email for this mailbox */
427
+ email: string;
428
+ /** Account id to give full access */
429
+ allowedAccountId: number;
430
+ }
431
+ export const DeleteEmailProAccountFullAccessRequest = /*@__PURE__*/ S.suspend(
432
+ () =>
433
+ S.Struct({
434
+ service: S.String.pipe(T.Label()),
435
+ email: S.String.pipe(T.Label()),
436
+ allowedAccountId: S.Number.pipe(T.Label()),
437
+ }).pipe(
438
+ T.Http({
439
+ method: "DELETE",
440
+ uri: "/email/pro/{service}/account/{email}/fullAccess/{allowedAccountId}",
441
+ code: 200,
442
+ }),
443
+ ),
444
+ ).annotate({
445
+ identifier: "DeleteEmailProAccountFullAccessRequest",
446
+ }) as any as S.Schema<DeleteEmailProAccountFullAccessRequest>;
447
+
448
+ export interface DeleteEmailProAccountSendAsRequest {
449
+ /** The internal name of your pro organization */
450
+ service: string;
451
+ /** Default email for this mailbox */
452
+ email: string;
453
+ /** Account id to give send as */
454
+ allowedAccountId: number;
455
+ }
456
+ export const DeleteEmailProAccountSendAsRequest = /*@__PURE__*/ S.suspend(() =>
457
+ S.Struct({
458
+ service: S.String.pipe(T.Label()),
459
+ email: S.String.pipe(T.Label()),
460
+ allowedAccountId: S.Number.pipe(T.Label()),
461
+ }).pipe(
462
+ T.Http({
463
+ method: "DELETE",
464
+ uri: "/email/pro/{service}/account/{email}/sendAs/{allowedAccountId}",
465
+ code: 200,
466
+ }),
467
+ ),
468
+ ).annotate({
469
+ identifier: "DeleteEmailProAccountSendAsRequest",
470
+ }) as any as S.Schema<DeleteEmailProAccountSendAsRequest>;
471
+
472
+ export interface DeleteEmailProAccountSendOnBehalfToRequest {
473
+ /** The internal name of your pro organization */
474
+ service: string;
475
+ /** Default email for this mailbox */
476
+ email: string;
477
+ /** Account id to give send on behalf to */
478
+ allowedAccountId: number;
479
+ }
480
+ export const DeleteEmailProAccountSendOnBehalfToRequest =
481
+ /*@__PURE__*/ S.suspend(() =>
482
+ S.Struct({
483
+ service: S.String.pipe(T.Label()),
484
+ email: S.String.pipe(T.Label()),
485
+ allowedAccountId: S.Number.pipe(T.Label()),
486
+ }).pipe(
487
+ T.Http({
488
+ method: "DELETE",
489
+ uri: "/email/pro/{service}/account/{email}/sendOnBehalfTo/{allowedAccountId}",
490
+ code: 200,
491
+ }),
492
+ ),
493
+ ).annotate({
494
+ identifier: "DeleteEmailProAccountSendOnBehalfToRequest",
495
+ }) as any as S.Schema<DeleteEmailProAccountSendOnBehalfToRequest>;
496
+
497
+ export interface DeleteEmailProDomainRequest {
498
+ /** The internal name of your pro organization */
499
+ service: string;
500
+ /** Domain name */
501
+ domainName: string;
502
+ }
503
+ export const DeleteEmailProDomainRequest = /*@__PURE__*/ S.suspend(() =>
504
+ S.Struct({
505
+ service: S.String.pipe(T.Label()),
506
+ domainName: S.String.pipe(T.Label()),
507
+ }).pipe(
508
+ T.Http({
509
+ method: "DELETE",
510
+ uri: "/email/pro/{service}/domain/{domainName}",
511
+ code: 200,
512
+ }),
513
+ ),
514
+ ).annotate({
515
+ identifier: "DeleteEmailProDomainRequest",
516
+ }) as any as S.Schema<DeleteEmailProDomainRequest>;
517
+
518
+ export interface DeleteEmailProDomainDisclaimerRequest {
519
+ /** The internal name of your pro organization */
520
+ service: string;
521
+ /** Domain name */
522
+ domainName: string;
523
+ }
524
+ export const DeleteEmailProDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(
525
+ () =>
526
+ S.Struct({
527
+ service: S.String.pipe(T.Label()),
528
+ domainName: S.String.pipe(T.Label()),
529
+ }).pipe(
530
+ T.Http({
531
+ method: "DELETE",
532
+ uri: "/email/pro/{service}/domain/{domainName}/disclaimer",
533
+ code: 200,
534
+ }),
535
+ ),
536
+ ).annotate({
537
+ identifier: "DeleteEmailProDomainDisclaimerRequest",
538
+ }) as any as S.Schema<DeleteEmailProDomainDisclaimerRequest>;
539
+
540
+ export interface DeleteEmailProDomainDkimRequest {
541
+ /** The internal name of your pro organization */
542
+ service: string;
543
+ /** Domain name */
544
+ domainName: string;
545
+ /** selectorName */
546
+ selectorName: string;
547
+ }
548
+ export const DeleteEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
549
+ S.Struct({
550
+ service: S.String.pipe(T.Label()),
551
+ domainName: S.String.pipe(T.Label()),
552
+ selectorName: S.String.pipe(T.Label()),
553
+ }).pipe(
554
+ T.Http({
555
+ method: "DELETE",
556
+ uri: "/email/pro/{service}/domain/{domainName}/dkim/{selectorName}",
557
+ code: 200,
558
+ }),
559
+ ),
560
+ ).annotate({
561
+ identifier: "DeleteEmailProDomainDkimRequest",
562
+ }) as any as S.Schema<DeleteEmailProDomainDkimRequest>;
563
+
564
+ export interface DeleteEmailProExternalContactRequest {
565
+ /** The internal name of your pro organization */
566
+ service: string;
567
+ /** Contact email */
568
+ externalEmailAddress: string;
569
+ }
570
+ export const DeleteEmailProExternalContactRequest = /*@__PURE__*/ S.suspend(
571
+ () =>
572
+ S.Struct({
573
+ service: S.String.pipe(T.Label()),
574
+ externalEmailAddress: S.String.pipe(T.Label()),
575
+ }).pipe(
576
+ T.Http({
577
+ method: "DELETE",
578
+ uri: "/email/pro/{service}/externalContact/{externalEmailAddress}",
579
+ code: 200,
580
+ }),
581
+ ),
582
+ ).annotate({
583
+ identifier: "DeleteEmailProExternalContactRequest",
584
+ }) as any as S.Schema<DeleteEmailProExternalContactRequest>;
585
+
586
+ export interface DisableEmailProDomainDkimRequest {
587
+ /** The internal name of your pro organization */
588
+ service: string;
589
+ /** Domain name */
590
+ domainName: string;
591
+ /** selectorName */
592
+ selectorName: string;
593
+ }
594
+ export const DisableEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
595
+ S.Struct({
596
+ service: S.String.pipe(T.Label()),
597
+ domainName: S.String.pipe(T.Label()),
598
+ selectorName: S.String.pipe(T.Label()),
599
+ }).pipe(
600
+ T.Http({
601
+ method: "POST",
602
+ uri: "/email/pro/{service}/domain/{domainName}/dkim/{selectorName}/disable",
603
+ code: 200,
604
+ }),
605
+ ),
606
+ ).annotate({
607
+ identifier: "DisableEmailProDomainDkimRequest",
608
+ }) as any as S.Schema<DisableEmailProDomainDkimRequest>;
609
+
610
+ export interface EnableEmailProDomainDkimRequest {
611
+ /** The internal name of your pro organization */
612
+ service: string;
613
+ /** Domain name */
614
+ domainName: string;
615
+ /** selectorName */
616
+ selectorName: string;
617
+ }
618
+ export const EnableEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
619
+ S.Struct({
620
+ service: S.String.pipe(T.Label()),
621
+ domainName: S.String.pipe(T.Label()),
622
+ selectorName: S.String.pipe(T.Label()),
623
+ }).pipe(
624
+ T.Http({
625
+ method: "POST",
626
+ uri: "/email/pro/{service}/domain/{domainName}/dkim/{selectorName}/enable",
627
+ code: 200,
628
+ }),
629
+ ),
630
+ ).annotate({
631
+ identifier: "EnableEmailProDomainDkimRequest",
632
+ }) as any as S.Schema<EnableEmailProDomainDkimRequest>;
633
+
634
+ export interface GetEmailProRequest {
635
+ /** Service */
636
+ service: string;
637
+ }
638
+ export const GetEmailProRequest = /*@__PURE__*/ S.suspend(() =>
639
+ S.Struct({
640
+ service: S.String.pipe(T.Label()),
641
+ }).pipe(T.Http({ method: "GET", uri: "/email/pro/{service}", code: 200 })),
642
+ ).annotate({
643
+ identifier: "GetEmailProRequest",
644
+ }) as any as S.Schema<GetEmailProRequest>;
645
+
646
+ /** Resource tags. Tags that were internally computed are prefixed with ovh: */
647
+ export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
648
+ export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
649
+ S.String,
650
+ S.String,
651
+ ) as any as S.Schema<IamResourceMetadataTagsMap>;
652
+
653
+ /** IAM resource metadata embedded in services models */
654
+ export interface IamResourceMetadata {
655
+ /** Resource display name */
656
+ displayName?: string | null;
657
+ /** Unique identifier of the resource */
658
+ id?: string;
659
+ /** Resource tags. Tags that were internally computed are prefixed with ovh: */
660
+ tags?: IamResourceMetadataTagsMap | null;
661
+ /** Unique resource name used in policies */
662
+ urn?: string;
663
+ }
664
+ export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
665
+ S.Struct({
666
+ displayName: S.optional(S.NullOr(S.String)),
667
+ id: S.optional(S.String),
668
+ tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
669
+ urn: S.optional(S.String),
670
+ }),
671
+ ).annotate({
672
+ identifier: "IamResourceMetadata",
673
+ }) as any as S.Schema<IamResourceMetadata>;
674
+
675
+ /** Service Offer name */
676
+ export type EmailProServiceOfferEnum = "emailpro";
677
+ export const EmailProServiceOfferEnum = /*@__PURE__*/ S.String;
678
+
679
+ /** Spam and Antyvirus configuration */
680
+ export interface EmailProSpamAndVirusConfiguration {
681
+ /** Check DKIM of message */
682
+ checkDKIM?: boolean;
683
+ /** Check SPF of message */
684
+ checkSPF?: boolean;
685
+ /** If message is a spam delete it */
686
+ deleteSpam?: boolean;
687
+ /** If message is a virus delete it */
688
+ deleteVirus?: boolean;
689
+ /** If message is a spam or virus put in junk. Overridden by deleteSpam or deleteVirus */
690
+ putInJunk?: boolean;
691
+ /** If message is a spam change its subject */
692
+ tagSpam?: boolean;
693
+ /** If message is a virus change its subject */
694
+ tagVirus?: boolean;
695
+ }
696
+ export const EmailProSpamAndVirusConfiguration = /*@__PURE__*/ S.suspend(() =>
697
+ S.Struct({
698
+ checkDKIM: S.optional(S.Boolean),
699
+ checkSPF: S.optional(S.Boolean),
700
+ deleteSpam: S.optional(S.Boolean),
701
+ deleteVirus: S.optional(S.Boolean),
702
+ putInJunk: S.optional(S.Boolean),
703
+ tagSpam: S.optional(S.Boolean),
704
+ tagVirus: S.optional(S.Boolean),
705
+ }),
706
+ ).annotate({
707
+ identifier: "EmailProSpamAndVirusConfiguration",
708
+ }) as any as S.Schema<EmailProSpamAndVirusConfiguration>;
709
+
710
+ /** Service State */
711
+ export type EmailProServiceStateEnum =
712
+ | "creating"
713
+ | "deleting"
714
+ | "inMaintenance"
715
+ | "ok"
716
+ | "reopening"
717
+ | "suspended"
718
+ | "suspending";
719
+ export const EmailProServiceStateEnum = /*@__PURE__*/ S.String;
720
+
721
+ /** Email pro service */
722
+ export interface EmailProServiceNativeWithIAM {
723
+ /** enable policy for strong and secure passwords */
724
+ complexityEnabled?: boolean;
725
+ /** service displayName */
726
+ displayName?: string | null;
727
+ /** Domain name of your service */
728
+ domain?: string;
729
+ /** Hostname of your service */
730
+ hostname?: string | null;
731
+ /** IAM resource metadata */
732
+ iam?: IamResourceMetadata | null;
733
+ /** Update date */
734
+ lastUpdateDate?: string | null;
735
+ /** number of minutes account will remain locked if it occurs */
736
+ lockoutDuration?: number;
737
+ /** number of minutes that must elapse after a failed logon to reset lockout trigger */
738
+ lockoutObservationWindow?: number;
739
+ /** number of attempts before account to be locked */
740
+ lockoutThreshold?: number | null;
741
+ /** maximum number of days that account's password is valid before expiration */
742
+ maxPasswordAge?: number | null;
743
+ /** Maximum message size that You can receive in MB */
744
+ maxReceiveSize?: number;
745
+ /** Maximum message size that You can send in MB */
746
+ maxSendSize?: number;
747
+ /** minimum number of days before able to change account's password */
748
+ minPasswordAge?: number | null;
749
+ /** minimum number of characters password must contain */
750
+ minPasswordLength?: number | null;
751
+ /** Type of your offer */
752
+ offer?: EmailProServiceOfferEnum;
753
+ /** Spam and Antivirus configuration */
754
+ spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
755
+ /** State of your service */
756
+ state?: EmailProServiceStateEnum;
757
+ /** Task pending id */
758
+ taskPendingId?: number;
759
+ /** URL for web interface */
760
+ webUrl?: string | null;
761
+ }
762
+ export const EmailProServiceNativeWithIAM = /*@__PURE__*/ S.suspend(() =>
763
+ S.Struct({
764
+ complexityEnabled: S.optional(S.Boolean),
765
+ displayName: S.optional(S.NullOr(S.String)),
766
+ domain: S.optional(S.String),
767
+ hostname: S.optional(S.NullOr(S.String)),
768
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
769
+ lastUpdateDate: S.optional(S.NullOr(S.String)),
770
+ lockoutDuration: S.optional(S.Number),
771
+ lockoutObservationWindow: S.optional(S.Number),
772
+ lockoutThreshold: S.optional(S.NullOr(S.Number)),
773
+ maxPasswordAge: S.optional(S.NullOr(S.Number)),
774
+ maxReceiveSize: S.optional(S.Number),
775
+ maxSendSize: S.optional(S.Number),
776
+ minPasswordAge: S.optional(S.NullOr(S.Number)),
777
+ minPasswordLength: S.optional(S.NullOr(S.Number)),
778
+ offer: S.optional(EmailProServiceOfferEnum),
779
+ spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
780
+ state: S.optional(EmailProServiceStateEnum),
781
+ taskPendingId: S.optional(S.Number),
782
+ webUrl: S.optional(S.NullOr(S.String)),
783
+ }),
784
+ ).annotate({
785
+ identifier: "EmailProServiceNativeWithIAM",
786
+ }) as any as S.Schema<EmailProServiceNativeWithIAM>;
787
+
788
+ export interface GetEmailProAccountRequest {
789
+ /** Service */
790
+ service: string;
791
+ /** Email */
792
+ email: string;
793
+ }
794
+ export const GetEmailProAccountRequest = /*@__PURE__*/ S.suspend(() =>
795
+ S.Struct({
796
+ service: S.String.pipe(T.Label()),
797
+ email: S.String.pipe(T.Label()),
798
+ }).pipe(
799
+ T.Http({
800
+ method: "GET",
801
+ uri: "/email/pro/{service}/account/{email}",
802
+ code: 200,
803
+ }),
804
+ ),
805
+ ).annotate({
806
+ identifier: "GetEmailProAccountRequest",
807
+ }) as any as S.Schema<GetEmailProAccountRequest>;
808
+
809
+ /** Mailing filter options availlable */
810
+ export type EmailProMailingFilterEnum = "vaderetro";
811
+ export const EmailProMailingFilterEnum = /*@__PURE__*/ S.String;
812
+
813
+ /** Enable or disable anti-virus and anti-spam */
814
+ export type EmailProAccountNativeMailingFilterList =
815
+ Array<EmailProMailingFilterEnum>;
816
+ export const EmailProAccountNativeMailingFilterList = /*@__PURE__*/ S.Array(
817
+ EmailProMailingFilterEnum,
818
+ ) as any as S.Schema<EmailProAccountNativeMailingFilterList>;
819
+
820
+ /** Renew period */
821
+ export type EmailProRenewPeriodEnum = "monthly" | "yearly";
822
+ export const EmailProRenewPeriodEnum = /*@__PURE__*/ S.String;
823
+
824
+ /** Current object state */
825
+ export type EmailProObjectStateEnum =
826
+ | "creating"
827
+ | "deleting"
828
+ | "ok"
829
+ | "reopening"
830
+ | "suspended"
831
+ | "suspending"
832
+ | "unknown";
833
+ export const EmailProObjectStateEnum = /*@__PURE__*/ S.String;
834
+
835
+ /** Mailbox */
836
+ export interface EmailProAccountNative {
837
+ /** SAM account name */
838
+ SAMAccountName?: string | null;
839
+ /** Indicates if the account is configured */
840
+ configured?: boolean;
841
+ /** Creation date */
842
+ creationDate?: string | null;
843
+ /** Mailbox usage */
844
+ currentUsage?: number | null;
845
+ /** delete at expiration */
846
+ deleteAtExpiration?: boolean | null;
847
+ /** Account display name */
848
+ displayName?: string | null;
849
+ /** Email domain */
850
+ domain?: string;
851
+ /** expiration date */
852
+ expirationDate?: string | null;
853
+ /** expiration date */
854
+ expirationOutlookDate?: string | null;
855
+ /** Account first name */
856
+ firstName?: string | null;
857
+ /** Hide account in Global Address List */
858
+ hiddenFromGAL?: boolean;
859
+ /** Account id */
860
+ id?: number;
861
+ /** Account initials */
862
+ initial?: string | null;
863
+ /** Last logoff */
864
+ lastLogoffDate?: string | null;
865
+ /** Last logon */
866
+ lastLogonDate?: string | null;
867
+ /** Account last name */
868
+ lastName?: string | null;
869
+ /** Last update */
870
+ lastUpdateDate?: string | null;
871
+ /** Account login */
872
+ login?: string;
873
+ /** Enable or disable anti-virus and anti-spam */
874
+ mailingFilter?: EmailProAccountNativeMailingFilterList | null;
875
+ /** Time of account's password last update */
876
+ passwordLastUpdate?: string | Redacted.Redacted<string> | null;
877
+ /** Default email for this mailbox */
878
+ primaryEmailAddress?: string;
879
+ /** Account maximum size */
880
+ quota?: number;
881
+ /** change the renew period */
882
+ renewPeriod?: EmailProRenewPeriodEnum | null;
883
+ /** Spam and Antivirus configuration */
884
+ spamAndVirusConfiguration?: EmailProSpamAndVirusConfiguration;
885
+ /** Account was sending spam */
886
+ spamDetected?: boolean;
887
+ /** Ticket number of spam detection */
888
+ spamTicketNumber?: number | null;
889
+ /** Account state */
890
+ state?: EmailProObjectStateEnum;
891
+ /** Pending tasks for this account */
892
+ taskPendingId?: number | null;
893
+ }
894
+ export const EmailProAccountNative = /*@__PURE__*/ S.suspend(() =>
895
+ S.Struct({
896
+ SAMAccountName: S.optional(S.NullOr(S.String)),
897
+ configured: S.optional(S.Boolean),
898
+ creationDate: S.optional(S.NullOr(S.String)),
899
+ currentUsage: S.optional(S.NullOr(S.Number)),
900
+ deleteAtExpiration: S.optional(S.NullOr(S.Boolean)),
901
+ displayName: S.optional(S.NullOr(S.String)),
902
+ domain: S.optional(S.String),
903
+ expirationDate: S.optional(S.NullOr(S.String)),
904
+ expirationOutlookDate: S.optional(S.NullOr(S.String)),
905
+ firstName: S.optional(S.NullOr(S.String)),
906
+ hiddenFromGAL: S.optional(S.Boolean),
907
+ id: S.optional(S.Number),
908
+ initial: S.optional(S.NullOr(S.String)),
909
+ lastLogoffDate: S.optional(S.NullOr(S.String)),
910
+ lastLogonDate: S.optional(S.NullOr(S.String)),
911
+ lastName: S.optional(S.NullOr(S.String)),
912
+ lastUpdateDate: S.optional(S.NullOr(S.String)),
913
+ login: S.optional(S.String),
914
+ mailingFilter: S.optional(S.NullOr(EmailProAccountNativeMailingFilterList)),
915
+ passwordLastUpdate: S.optional(
916
+ S.NullOr(S.String).pipe(T.SensitiveValue({})),
917
+ ),
918
+ primaryEmailAddress: S.optional(S.String),
919
+ quota: S.optional(S.Number),
920
+ renewPeriod: S.optional(S.NullOr(EmailProRenewPeriodEnum)),
921
+ spamAndVirusConfiguration: S.optional(EmailProSpamAndVirusConfiguration),
922
+ spamDetected: S.optional(S.Boolean),
923
+ spamTicketNumber: S.optional(S.NullOr(S.Number)),
924
+ state: S.optional(EmailProObjectStateEnum),
925
+ taskPendingId: S.optional(S.NullOr(S.Number)),
926
+ }),
927
+ ).annotate({
928
+ identifier: "EmailProAccountNative",
929
+ }) as any as S.Schema<EmailProAccountNative>;
930
+
931
+ export interface GetEmailProAccountAliasRequest {
932
+ /** Service */
933
+ service: string;
934
+ /** Email */
935
+ email: string;
936
+ /** Alias */
937
+ alias: string;
938
+ }
939
+ export const GetEmailProAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
940
+ S.Struct({
941
+ service: S.String.pipe(T.Label()),
942
+ email: S.String.pipe(T.Label()),
943
+ alias: S.String.pipe(T.Label()),
944
+ }).pipe(
945
+ T.Http({
946
+ method: "GET",
947
+ uri: "/email/pro/{service}/account/{email}/alias/{alias}",
948
+ code: 200,
949
+ }),
950
+ ),
951
+ ).annotate({
952
+ identifier: "GetEmailProAccountAliasRequest",
953
+ }) as any as S.Schema<GetEmailProAccountAliasRequest>;
954
+
955
+ /** Aliases on this mailbox */
956
+ export interface EmailProAccountAlias {
957
+ /** Alias */
958
+ alias?: string;
959
+ /** Creation date */
960
+ creationDate?: string;
961
+ /** Pending task id */
962
+ taskPendingId?: number;
963
+ }
964
+ export const EmailProAccountAlias = /*@__PURE__*/ S.suspend(() =>
965
+ S.Struct({
966
+ alias: S.optional(S.String),
967
+ creationDate: S.optional(S.String),
968
+ taskPendingId: S.optional(S.Number),
969
+ }),
970
+ ).annotate({
971
+ identifier: "EmailProAccountAlias",
972
+ }) as any as S.Schema<EmailProAccountAlias>;
973
+
974
+ export interface GetEmailProAccountDiagnosticsRequest {
975
+ /** Service */
976
+ service: string;
977
+ /** Email */
978
+ email: string;
979
+ }
980
+ export const GetEmailProAccountDiagnosticsRequest = /*@__PURE__*/ S.suspend(
981
+ () =>
982
+ S.Struct({
983
+ service: S.String.pipe(T.Label()),
984
+ email: S.String.pipe(T.Label()),
985
+ }).pipe(
986
+ T.Http({
987
+ method: "GET",
988
+ uri: "/email/pro/{service}/account/{email}/diagnostics",
989
+ code: 200,
990
+ }),
991
+ ),
992
+ ).annotate({
993
+ identifier: "GetEmailProAccountDiagnosticsRequest",
994
+ }) as any as S.Schema<GetEmailProAccountDiagnosticsRequest>;
995
+
996
+ /** Account Diagnosis */
997
+ export interface EmailProAccountDiagnosis {
998
+ /** Determines if ingoing message has been received */
999
+ canReceiveEmail?: boolean;
1000
+ /** Determines if outgoing message has been delivered */
1001
+ canSendEmail?: boolean;
1002
+ /** Determines if possible to authenticate with credentials */
1003
+ connectiveWebmail?: boolean;
1004
+ /** Determines if account is locked */
1005
+ isLocked?: boolean;
1006
+ /** Determines if MX record for account's domain is properly set */
1007
+ isMxValid?: boolean;
1008
+ /** Determines if account is flagged as spammer */
1009
+ isSpammer?: boolean;
1010
+ /** Determines if SRV (autodiscovery) record for account's domain is properly set */
1011
+ isSrvValid?: boolean;
1012
+ /** Determines if account is suspended */
1013
+ isSuspended?: boolean;
1014
+ /** Last performed diagnostics date */
1015
+ lastCheck?: string;
1016
+ }
1017
+ export const EmailProAccountDiagnosis = /*@__PURE__*/ S.suspend(() =>
1018
+ S.Struct({
1019
+ canReceiveEmail: S.optional(S.Boolean),
1020
+ canSendEmail: S.optional(S.Boolean),
1021
+ connectiveWebmail: S.optional(S.Boolean),
1022
+ isLocked: S.optional(S.Boolean),
1023
+ isMxValid: S.optional(S.Boolean),
1024
+ isSpammer: S.optional(S.Boolean),
1025
+ isSrvValid: S.optional(S.Boolean),
1026
+ isSuspended: S.optional(S.Boolean),
1027
+ lastCheck: S.optional(S.String),
1028
+ }),
1029
+ ).annotate({
1030
+ identifier: "EmailProAccountDiagnosis",
1031
+ }) as any as S.Schema<EmailProAccountDiagnosis>;
1032
+
1033
+ export interface GetEmailProAccountFullAccessRequest {
1034
+ /** Service */
1035
+ service: string;
1036
+ /** Email */
1037
+ email: string;
1038
+ /** Allowed account ID */
1039
+ allowedAccountId: number;
1040
+ }
1041
+ export const GetEmailProAccountFullAccessRequest = /*@__PURE__*/ S.suspend(() =>
1042
+ S.Struct({
1043
+ service: S.String.pipe(T.Label()),
1044
+ email: S.String.pipe(T.Label()),
1045
+ allowedAccountId: S.Number.pipe(T.Label()),
1046
+ }).pipe(
1047
+ T.Http({
1048
+ method: "GET",
1049
+ uri: "/email/pro/{service}/account/{email}/fullAccess/{allowedAccountId}",
1050
+ code: 200,
1051
+ }),
1052
+ ),
1053
+ ).annotate({
1054
+ identifier: "GetEmailProAccountFullAccessRequest",
1055
+ }) as any as S.Schema<GetEmailProAccountFullAccessRequest>;
1056
+
1057
+ /** Users having full access on this mailbox */
1058
+ export interface EmailProAccountFullAccess {
1059
+ /** Account id to give full access */
1060
+ allowedAccountId?: number;
1061
+ /** Creation date */
1062
+ creationDate?: string;
1063
+ /** Pending task id */
1064
+ taskPendingId?: number;
1065
+ }
1066
+ export const EmailProAccountFullAccess = /*@__PURE__*/ S.suspend(() =>
1067
+ S.Struct({
1068
+ allowedAccountId: S.optional(S.Number),
1069
+ creationDate: S.optional(S.String),
1070
+ taskPendingId: S.optional(S.Number),
1071
+ }),
1072
+ ).annotate({
1073
+ identifier: "EmailProAccountFullAccess",
1074
+ }) as any as S.Schema<EmailProAccountFullAccess>;
1075
+
1076
+ export interface GetEmailProAccountSendAsRequest {
1077
+ /** Service */
1078
+ service: string;
1079
+ /** Email */
1080
+ email: string;
1081
+ /** Allowed account ID */
1082
+ allowedAccountId: number;
1083
+ }
1084
+ export const GetEmailProAccountSendAsRequest = /*@__PURE__*/ S.suspend(() =>
1085
+ S.Struct({
1086
+ service: S.String.pipe(T.Label()),
1087
+ email: S.String.pipe(T.Label()),
1088
+ allowedAccountId: S.Number.pipe(T.Label()),
1089
+ }).pipe(
1090
+ T.Http({
1091
+ method: "GET",
1092
+ uri: "/email/pro/{service}/account/{email}/sendAs/{allowedAccountId}",
1093
+ code: 200,
1094
+ }),
1095
+ ),
1096
+ ).annotate({
1097
+ identifier: "GetEmailProAccountSendAsRequest",
1098
+ }) as any as S.Schema<GetEmailProAccountSendAsRequest>;
1099
+
1100
+ /** Users authorized to send mails from this mailbox */
1101
+ export interface EmailProAccountSendAs {
1102
+ /** Account id to give send as */
1103
+ allowedAccountId?: number;
1104
+ /** Creation date */
1105
+ creationDate?: string;
1106
+ /** Pending task id */
1107
+ taskPendingId?: number;
1108
+ }
1109
+ export const EmailProAccountSendAs = /*@__PURE__*/ S.suspend(() =>
1110
+ S.Struct({
1111
+ allowedAccountId: S.optional(S.Number),
1112
+ creationDate: S.optional(S.String),
1113
+ taskPendingId: S.optional(S.Number),
1114
+ }),
1115
+ ).annotate({
1116
+ identifier: "EmailProAccountSendAs",
1117
+ }) as any as S.Schema<EmailProAccountSendAs>;
1118
+
1119
+ export interface GetEmailProAccountSendOnBehalfToRequest {
1120
+ /** Service */
1121
+ service: string;
1122
+ /** Email */
1123
+ email: string;
1124
+ /** Allowed account ID */
1125
+ allowedAccountId: number;
1126
+ }
1127
+ export const GetEmailProAccountSendOnBehalfToRequest = /*@__PURE__*/ S.suspend(
1128
+ () =>
1129
+ S.Struct({
1130
+ service: S.String.pipe(T.Label()),
1131
+ email: S.String.pipe(T.Label()),
1132
+ allowedAccountId: S.Number.pipe(T.Label()),
1133
+ }).pipe(
1134
+ T.Http({
1135
+ method: "GET",
1136
+ uri: "/email/pro/{service}/account/{email}/sendOnBehalfTo/{allowedAccountId}",
1137
+ code: 200,
1138
+ }),
1139
+ ),
1140
+ ).annotate({
1141
+ identifier: "GetEmailProAccountSendOnBehalfToRequest",
1142
+ }) as any as S.Schema<GetEmailProAccountSendOnBehalfToRequest>;
1143
+
1144
+ /** Get users authorized to Send On Behalf To mails from this mailbox */
1145
+ export interface EmailProAccountSendOnBehalfTo {
1146
+ /** Account id to give send on behalf to */
1147
+ allowedAccountId?: number;
1148
+ /** Creation date */
1149
+ creationDate?: string;
1150
+ /** Pending task id */
1151
+ taskPendingId?: number;
1152
+ }
1153
+ export const EmailProAccountSendOnBehalfTo = /*@__PURE__*/ S.suspend(() =>
1154
+ S.Struct({
1155
+ allowedAccountId: S.optional(S.Number),
1156
+ creationDate: S.optional(S.String),
1157
+ taskPendingId: S.optional(S.Number),
1158
+ }),
1159
+ ).annotate({
1160
+ identifier: "EmailProAccountSendOnBehalfTo",
1161
+ }) as any as S.Schema<EmailProAccountSendOnBehalfTo>;
1162
+
1163
+ export interface GetEmailProAccountTaskRequest {
1164
+ /** Service */
1165
+ service: string;
1166
+ /** Email */
1167
+ email: string;
1168
+ /** Id */
1169
+ id: number;
1170
+ }
1171
+ export const GetEmailProAccountTaskRequest = /*@__PURE__*/ S.suspend(() =>
1172
+ S.Struct({
1173
+ service: S.String.pipe(T.Label()),
1174
+ email: S.String.pipe(T.Label()),
1175
+ id: S.Number.pipe(T.Label()),
1176
+ }).pipe(
1177
+ T.Http({
1178
+ method: "GET",
1179
+ uri: "/email/pro/{service}/account/{email}/tasks/{id}",
1180
+ code: 200,
1181
+ }),
1182
+ ),
1183
+ ).annotate({
1184
+ identifier: "GetEmailProAccountTaskRequest",
1185
+ }) as any as S.Schema<GetEmailProAccountTaskRequest>;
1186
+
1187
+ export interface GetEmailProBillingMigratedRequest {
1188
+ /** Service */
1189
+ service: string;
1190
+ }
1191
+ export const GetEmailProBillingMigratedRequest = /*@__PURE__*/ S.suspend(() =>
1192
+ S.Struct({
1193
+ service: S.String.pipe(T.Label()),
1194
+ }).pipe(
1195
+ T.Http({
1196
+ method: "GET",
1197
+ uri: "/email/pro/{service}/billingMigrated",
1198
+ code: 200,
1199
+ }),
1200
+ ),
1201
+ ).annotate({
1202
+ identifier: "GetEmailProBillingMigratedRequest",
1203
+ }) as any as S.Schema<GetEmailProBillingMigratedRequest>;
1204
+
1205
+ export type GetEmailProBillingMigratedResponse = boolean;
1206
+ export const GetEmailProBillingMigratedResponse = /*@__PURE__*/ S.suspend(() =>
1207
+ S.Boolean.pipe(T.RawResponseRoot()),
1208
+ ).annotate({
1209
+ identifier: "GetEmailProBillingMigratedResponse",
1210
+ }) as any as S.Schema<GetEmailProBillingMigratedResponse>;
1211
+
1212
+ export interface GetEmailProBillingPlanRequest {
1213
+ /** Service */
1214
+ service: string;
1215
+ }
1216
+ export const GetEmailProBillingPlanRequest = /*@__PURE__*/ S.suspend(() =>
1217
+ S.Struct({
1218
+ service: S.String.pipe(T.Label()),
1219
+ }).pipe(
1220
+ T.Http({
1221
+ method: "GET",
1222
+ uri: "/email/pro/{service}/billingPlan",
1223
+ code: 200,
1224
+ }),
1225
+ ),
1226
+ ).annotate({
1227
+ identifier: "GetEmailProBillingPlanRequest",
1228
+ }) as any as S.Schema<GetEmailProBillingPlanRequest>;
1229
+
1230
+ export type GetEmailProBillingPlanResponse = string;
1231
+ export const GetEmailProBillingPlanResponse = /*@__PURE__*/ S.suspend(() =>
1232
+ S.String.pipe(T.RawResponseRoot()),
1233
+ ).annotate({
1234
+ identifier: "GetEmailProBillingPlanResponse",
1235
+ }) as any as S.Schema<GetEmailProBillingPlanResponse>;
1236
+
1237
+ export interface GetEmailProDomainRequest {
1238
+ /** Service */
1239
+ service: string;
1240
+ /** Domain name */
1241
+ domainName: string;
1242
+ }
1243
+ export const GetEmailProDomainRequest = /*@__PURE__*/ S.suspend(() =>
1244
+ S.Struct({
1245
+ service: S.String.pipe(T.Label()),
1246
+ domainName: S.String.pipe(T.Label()),
1247
+ }).pipe(
1248
+ T.Http({
1249
+ method: "GET",
1250
+ uri: "/email/pro/{service}/domain/{domainName}",
1251
+ code: 200,
1252
+ }),
1253
+ ),
1254
+ ).annotate({
1255
+ identifier: "GetEmailProDomainRequest",
1256
+ }) as any as S.Schema<GetEmailProDomainRequest>;
1257
+
1258
+ /** DKIM status */
1259
+ export type EmailProDomainDkimDiagnosticsStateEnum =
1260
+ | "active"
1261
+ | "disabled"
1262
+ | "error"
1263
+ | "inProgress"
1264
+ | "toConfigure";
1265
+ export const EmailProDomainDkimDiagnosticsStateEnum = /*@__PURE__*/ S.String;
1266
+
1267
+ /** Dkim selectors and DNS configuration state */
1268
+ export interface EmailProDomainDkimDiagnostics {
1269
+ /** Error code related to misconfiguration of DKIM, if exists */
1270
+ errorCode?: number | null;
1271
+ /** DKIM misconfiguration description, if exists */
1272
+ message?: string | null;
1273
+ /** State of DKIM selectors */
1274
+ state?: EmailProDomainDkimDiagnosticsStateEnum | null;
1275
+ }
1276
+ export const EmailProDomainDkimDiagnostics = /*@__PURE__*/ S.suspend(() =>
1277
+ S.Struct({
1278
+ errorCode: S.optional(S.NullOr(S.Number)),
1279
+ message: S.optional(S.NullOr(S.String)),
1280
+ state: S.optional(S.NullOr(EmailProDomainDkimDiagnosticsStateEnum)),
1281
+ }),
1282
+ ).annotate({
1283
+ identifier: "EmailProDomainDkimDiagnostics",
1284
+ }) as any as S.Schema<EmailProDomainDkimDiagnostics>;
1285
+
1286
+ /** List of aliases for this domain */
1287
+ export type EmailProDomainNativeDomainAliasesList = Array<string>;
1288
+ export const EmailProDomainNativeDomainAliasesList = /*@__PURE__*/ S.Array(
1289
+ S.String,
1290
+ ) as any as S.Schema<EmailProDomainNativeDomainAliasesList>;
1291
+
1292
+ /** Expected MX record(s) on this domain */
1293
+ export type EmailProDomainNativeExpectedMXList = Array<string>;
1294
+ export const EmailProDomainNativeExpectedMXList = /*@__PURE__*/ S.Array(
1295
+ S.String,
1296
+ ) as any as S.Schema<EmailProDomainNativeExpectedMXList>;
1297
+
1298
+ /** Domain MX record configured in DNS */
1299
+ export type EmailProDomainNativeMxRecordList = Array<string>;
1300
+ export const EmailProDomainNativeMxRecordList = /*@__PURE__*/ S.Array(
1301
+ S.String,
1302
+ ) as any as S.Schema<EmailProDomainNativeMxRecordList>;
1303
+
1304
+ /** Domain's SPF record configured in the DNS */
1305
+ export type EmailProDomainNativeSpfRecordList = Array<string>;
1306
+ export const EmailProDomainNativeSpfRecordList = /*@__PURE__*/ S.Array(
1307
+ S.String,
1308
+ ) as any as S.Schema<EmailProDomainNativeSpfRecordList>;
1309
+
1310
+ /** Domain SRV record configured in DNS */
1311
+ export type EmailProDomainNativeSrvRecordList = Array<string>;
1312
+ export const EmailProDomainNativeSrvRecordList = /*@__PURE__*/ S.Array(
1313
+ S.String,
1314
+ ) as any as S.Schema<EmailProDomainNativeSrvRecordList>;
1315
+
1316
+ /** Domain */
1317
+ export interface EmailProDomainNative {
1318
+ /** Cname that will be checked to prove the domain ownership */
1319
+ cnameToCheck?: string | null;
1320
+ /** Dkim selectors and DNS configuration state */
1321
+ dkimDiagnostics?: EmailProDomainDkimDiagnostics | null;
1322
+ /** List of aliases for this domain */
1323
+ domainAliases?: EmailProDomainNativeDomainAliasesList;
1324
+ /** Domain validation status */
1325
+ domainValidated?: boolean;
1326
+ /** Expected SRV record on this domain */
1327
+ expectedAutodiscoverSRV?: string;
1328
+ /** Expected MX record(s) on this domain */
1329
+ expectedMX?: EmailProDomainNativeExpectedMXList;
1330
+ /** Expected SPF record on this domain */
1331
+ expectedSPF?: string;
1332
+ /** Indicate if this domain is an alias for another domain */
1333
+ isAliasDomain?: boolean;
1334
+ /** If true your DNS MX configuration is valid */
1335
+ mxIsValid?: boolean;
1336
+ /** Domain MX record configured in DNS */
1337
+ mxRecord?: EmailProDomainNativeMxRecordList | null;
1338
+ /** If specified, emails to not existing address will be redirected to that domain */
1339
+ mxRelay?: string | null;
1340
+ /** Domain name */
1341
+ name?: string;
1342
+ /** SPF record validation passed */
1343
+ spfIsValid?: boolean;
1344
+ /** Domain's SPF record configured in the DNS */
1345
+ spfRecord?: EmailProDomainNativeSpfRecordList | null;
1346
+ /** If true your DNS SRV record is valid */
1347
+ srvIsValid?: boolean;
1348
+ /** Domain SRV record configured in DNS */
1349
+ srvRecord?: EmailProDomainNativeSrvRecordList | null;
1350
+ /** Domain state */
1351
+ state?: EmailProObjectStateEnum;
1352
+ /** Pending tasks id */
1353
+ taskPendingId?: number;
1354
+ /** Domain type */
1355
+ type?: EmailProDomainTypeEnum;
1356
+ }
1357
+ export const EmailProDomainNative = /*@__PURE__*/ S.suspend(() =>
1358
+ S.Struct({
1359
+ cnameToCheck: S.optional(S.NullOr(S.String)),
1360
+ dkimDiagnostics: S.optional(S.NullOr(EmailProDomainDkimDiagnostics)),
1361
+ domainAliases: S.optional(EmailProDomainNativeDomainAliasesList),
1362
+ domainValidated: S.optional(S.Boolean),
1363
+ expectedAutodiscoverSRV: S.optional(S.String),
1364
+ expectedMX: S.optional(EmailProDomainNativeExpectedMXList),
1365
+ expectedSPF: S.optional(S.String),
1366
+ isAliasDomain: S.optional(S.Boolean),
1367
+ mxIsValid: S.optional(S.Boolean),
1368
+ mxRecord: S.optional(S.NullOr(EmailProDomainNativeMxRecordList)),
1369
+ mxRelay: S.optional(S.NullOr(S.String)),
1370
+ name: S.optional(S.String),
1371
+ spfIsValid: S.optional(S.Boolean),
1372
+ spfRecord: S.optional(S.NullOr(EmailProDomainNativeSpfRecordList)),
1373
+ srvIsValid: S.optional(S.Boolean),
1374
+ srvRecord: S.optional(S.NullOr(EmailProDomainNativeSrvRecordList)),
1375
+ state: S.optional(EmailProObjectStateEnum),
1376
+ taskPendingId: S.optional(S.Number),
1377
+ type: S.optional(EmailProDomainTypeEnum),
1378
+ }),
1379
+ ).annotate({
1380
+ identifier: "EmailProDomainNative",
1381
+ }) as any as S.Schema<EmailProDomainNative>;
1382
+
1383
+ export interface GetEmailProDomainDisclaimerRequest {
1384
+ /** Service */
1385
+ service: string;
1386
+ /** Domain name */
1387
+ domainName: string;
1388
+ }
1389
+ export const GetEmailProDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(() =>
1390
+ S.Struct({
1391
+ service: S.String.pipe(T.Label()),
1392
+ domainName: S.String.pipe(T.Label()),
1393
+ }).pipe(
1394
+ T.Http({
1395
+ method: "GET",
1396
+ uri: "/email/pro/{service}/domain/{domainName}/disclaimer",
1397
+ code: 200,
1398
+ }),
1399
+ ),
1400
+ ).annotate({
1401
+ identifier: "GetEmailProDomainDisclaimerRequest",
1402
+ }) as any as S.Schema<GetEmailProDomainDisclaimerRequest>;
1403
+
1404
+ /** disclaimer */
1405
+ export interface EmailProDisclaimerNative {
1406
+ /** Signature, added at the bottom of your organization emails */
1407
+ content?: string;
1408
+ /** Creation date */
1409
+ creationDate?: string;
1410
+ /** Disclaimer name */
1411
+ name?: string;
1412
+ /** Activate the disclaimer only for external emails */
1413
+ outsideOnly?: boolean;
1414
+ /** task pending id */
1415
+ taskPendingId?: number;
1416
+ }
1417
+ export const EmailProDisclaimerNative = /*@__PURE__*/ S.suspend(() =>
1418
+ S.Struct({
1419
+ content: S.optional(S.String),
1420
+ creationDate: S.optional(S.String),
1421
+ name: S.optional(S.String),
1422
+ outsideOnly: S.optional(S.Boolean),
1423
+ taskPendingId: S.optional(S.Number),
1424
+ }),
1425
+ ).annotate({
1426
+ identifier: "EmailProDisclaimerNative",
1427
+ }) as any as S.Schema<EmailProDisclaimerNative>;
1428
+
1429
+ export interface GetEmailProDomainDkimRequest {
1430
+ /** Service */
1431
+ service: string;
1432
+ /** Domain name */
1433
+ domainName: string;
1434
+ /** Selector name */
1435
+ selectorName: string;
1436
+ }
1437
+ export const GetEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
1438
+ S.Struct({
1439
+ service: S.String.pipe(T.Label()),
1440
+ domainName: S.String.pipe(T.Label()),
1441
+ selectorName: S.String.pipe(T.Label()),
1442
+ }).pipe(
1443
+ T.Http({
1444
+ method: "GET",
1445
+ uri: "/email/pro/{service}/domain/{domainName}/dkim/{selectorName}",
1446
+ code: 200,
1447
+ }),
1448
+ ),
1449
+ ).annotate({
1450
+ identifier: "GetEmailProDomainDkimRequest",
1451
+ }) as any as S.Schema<GetEmailProDomainDkimRequest>;
1452
+
1453
+ /** Record type of the customer record */
1454
+ export type EmailProDkimRecordTypeEnum = "CNAME";
1455
+ export const EmailProDkimRecordTypeEnum = /*@__PURE__*/ S.String;
1456
+
1457
+ /** DKIM status */
1458
+ export type EmailProDkimStatusEnum =
1459
+ | "deleting"
1460
+ | "disabling"
1461
+ | "enabling"
1462
+ | "inProduction"
1463
+ | "ready"
1464
+ | "todo"
1465
+ | "waitingRecord";
1466
+ export const EmailProDkimStatusEnum = /*@__PURE__*/ S.String;
1467
+
1468
+ /** DKIM for a domain */
1469
+ export interface EmailProDkim {
1470
+ /** DNS CNAME validation passed */
1471
+ cnameIsValid?: boolean;
1472
+ /** Customer DNS record */
1473
+ customerRecord?: string;
1474
+ /** Header used for DKIM signature */
1475
+ header?: string;
1476
+ /** Last update date */
1477
+ lastUpdate?: string | null;
1478
+ /** Record type of the customer record */
1479
+ recordType?: EmailProDkimRecordTypeEnum;
1480
+ /** Selector name */
1481
+ selectorName?: string;
1482
+ /** DKIM status */
1483
+ status?: EmailProDkimStatusEnum;
1484
+ /** Target of the customer record */
1485
+ targetRecord?: string | null;
1486
+ /** Pending task for this DKIM */
1487
+ taskPendingId?: number | null;
1488
+ }
1489
+ export const EmailProDkim = /*@__PURE__*/ S.suspend(() =>
1490
+ S.Struct({
1491
+ cnameIsValid: S.optional(S.Boolean),
1492
+ customerRecord: S.optional(S.String),
1493
+ header: S.optional(S.String),
1494
+ lastUpdate: S.optional(S.NullOr(S.String)),
1495
+ recordType: S.optional(EmailProDkimRecordTypeEnum),
1496
+ selectorName: S.optional(S.String),
1497
+ status: S.optional(EmailProDkimStatusEnum),
1498
+ targetRecord: S.optional(S.NullOr(S.String)),
1499
+ taskPendingId: S.optional(S.NullOr(S.Number)),
1500
+ }),
1501
+ ).annotate({ identifier: "EmailProDkim" }) as any as S.Schema<EmailProDkim>;
1502
+
1503
+ export interface GetEmailProExternalContactRequest {
1504
+ /** Service */
1505
+ service: string;
1506
+ /** External email address */
1507
+ externalEmailAddress: string;
1508
+ }
1509
+ export const GetEmailProExternalContactRequest = /*@__PURE__*/ S.suspend(() =>
1510
+ S.Struct({
1511
+ service: S.String.pipe(T.Label()),
1512
+ externalEmailAddress: S.String.pipe(T.Label()),
1513
+ }).pipe(
1514
+ T.Http({
1515
+ method: "GET",
1516
+ uri: "/email/pro/{service}/externalContact/{externalEmailAddress}",
1517
+ code: 200,
1518
+ }),
1519
+ ),
1520
+ ).annotate({
1521
+ identifier: "GetEmailProExternalContactRequest",
1522
+ }) as any as S.Schema<GetEmailProExternalContactRequest>;
1523
+
1524
+ /** External contact for this pro service */
1525
+ export interface EmailProExternalContactNative {
1526
+ /** Creation date */
1527
+ creationDate?: string;
1528
+ /** Contact display name */
1529
+ displayName?: string;
1530
+ /** Contact email */
1531
+ externalEmailAddress?: string;
1532
+ /** Contact first name */
1533
+ firstName?: string | null;
1534
+ /** Hide the contact in Global Address List */
1535
+ hiddenFromGAL?: boolean;
1536
+ /** Contact id */
1537
+ id?: number;
1538
+ /** Contact initals */
1539
+ initials?: string | null;
1540
+ /** Contact last name */
1541
+ lastName?: string | null;
1542
+ /** Contact state */
1543
+ state?: EmailProObjectStateEnum;
1544
+ /** Task pending id */
1545
+ taskPendingId?: number;
1546
+ }
1547
+ export const EmailProExternalContactNative = /*@__PURE__*/ S.suspend(() =>
1548
+ S.Struct({
1549
+ creationDate: S.optional(S.String),
1550
+ displayName: S.optional(S.String),
1551
+ externalEmailAddress: S.optional(S.String),
1552
+ firstName: S.optional(S.NullOr(S.String)),
1553
+ hiddenFromGAL: S.optional(S.Boolean),
1554
+ id: S.optional(S.Number),
1555
+ initials: S.optional(S.NullOr(S.String)),
1556
+ lastName: S.optional(S.NullOr(S.String)),
1557
+ state: S.optional(EmailProObjectStateEnum),
1558
+ taskPendingId: S.optional(S.Number),
1559
+ }),
1560
+ ).annotate({
1561
+ identifier: "EmailProExternalContactNative",
1562
+ }) as any as S.Schema<EmailProExternalContactNative>;
1563
+
1564
+ export interface GetEmailProServerRequest {
1565
+ /** Service */
1566
+ service: string;
1567
+ }
1568
+ export const GetEmailProServerRequest = /*@__PURE__*/ S.suspend(() =>
1569
+ S.Struct({
1570
+ service: S.String.pipe(T.Label()),
1571
+ }).pipe(
1572
+ T.Http({ method: "GET", uri: "/email/pro/{service}/server", code: 200 }),
1573
+ ),
1574
+ ).annotate({
1575
+ identifier: "GetEmailProServerRequest",
1576
+ }) as any as S.Schema<GetEmailProServerRequest>;
1577
+
1578
+ /** Server State */
1579
+ export type EmailProServerStateEnum =
1580
+ | "configurationPending"
1581
+ | "notConfigured"
1582
+ | "ok";
1583
+ export const EmailProServerStateEnum = /*@__PURE__*/ S.String;
1584
+
1585
+ /** Server */
1586
+ export interface EmailProServer {
1587
+ /** Current disk usage in MB */
1588
+ currentDiskUsage?: number | null;
1589
+ /** Total disk size in MB */
1590
+ diskSize?: number | null;
1591
+ /** ipV4 */
1592
+ ip?: string;
1593
+ /** ipV6 */
1594
+ ipV6?: string | null;
1595
+ /** If true your dns A record is valid */
1596
+ isAValid?: boolean;
1597
+ /** If true your dns AAAA record is valid */
1598
+ isAaaaValid?: boolean;
1599
+ /** If true your dns ptrV6 record is valid */
1600
+ isPtrV6Valid?: boolean;
1601
+ /** If true your dns ptr record is valid */
1602
+ isPtrValid?: boolean;
1603
+ /** Server state */
1604
+ state?: EmailProServerStateEnum;
1605
+ /** Task pending id */
1606
+ taskPendingId?: number;
1607
+ /** Server version */
1608
+ version?: string | null;
1609
+ }
1610
+ export const EmailProServer = /*@__PURE__*/ S.suspend(() =>
1611
+ S.Struct({
1612
+ currentDiskUsage: S.optional(S.NullOr(S.Number)),
1613
+ diskSize: S.optional(S.NullOr(S.Number)),
1614
+ ip: S.optional(S.String),
1615
+ ipV6: S.optional(S.NullOr(S.String)),
1616
+ isAValid: S.optional(S.Boolean),
1617
+ isAaaaValid: S.optional(S.Boolean),
1618
+ isPtrV6Valid: S.optional(S.Boolean),
1619
+ isPtrValid: S.optional(S.Boolean),
1620
+ state: S.optional(EmailProServerStateEnum),
1621
+ taskPendingId: S.optional(S.Number),
1622
+ version: S.optional(S.NullOr(S.String)),
1623
+ }),
1624
+ ).annotate({ identifier: "EmailProServer" }) as any as S.Schema<EmailProServer>;
1625
+
1626
+ export interface GetEmailProServiceInfosRequest {
1627
+ /** The internal name of your pro organization */
1628
+ service: string;
1629
+ }
1630
+ export const GetEmailProServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
1631
+ S.Struct({
1632
+ service: S.String.pipe(T.Label()),
1633
+ }).pipe(
1634
+ T.Http({
1635
+ method: "GET",
1636
+ uri: "/email/pro/{service}/serviceInfos",
1637
+ code: 200,
1638
+ }),
1639
+ ),
1640
+ ).annotate({
1641
+ identifier: "GetEmailProServiceInfosRequest",
1642
+ }) as any as S.Schema<GetEmailProServiceInfosRequest>;
1643
+
1644
+ /** All the possible renew period of your service in month */
1645
+ export type ServicesServicePossibleRenewPeriodList = Array<number>;
1646
+ export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(
1647
+ S.Number,
1648
+ ) as any as S.Schema<ServicesServicePossibleRenewPeriodList>;
1649
+
1650
+ /** Map a possible renew for a specific service */
1651
+ export interface ServiceRenewType {
1652
+ /** The service is automatically renewed */
1653
+ automatic?: boolean;
1654
+ /** The service will be deleted at expiration */
1655
+ deleteAtExpiration?: boolean;
1656
+ /** The service forced to be renewed */
1657
+ forced?: boolean;
1658
+ /** The service needs to be manually renewed and paid */
1659
+ manualPayment?: boolean | null;
1660
+ /** period of renew in month */
1661
+ period?: number | null;
1662
+ }
1663
+ export const ServiceRenewType = /*@__PURE__*/ S.suspend(() =>
1664
+ S.Struct({
1665
+ automatic: S.optional(S.Boolean),
1666
+ deleteAtExpiration: S.optional(S.Boolean),
1667
+ forced: S.optional(S.Boolean),
1668
+ manualPayment: S.optional(S.NullOr(S.Boolean)),
1669
+ period: S.optional(S.NullOr(S.Number)),
1670
+ }),
1671
+ ).annotate({
1672
+ identifier: "ServiceRenewType",
1673
+ }) as any as S.Schema<ServiceRenewType>;
1674
+
1675
+ /** Detailed renewal type of a service */
1676
+ export type ServiceRenewalTypeEnum =
1677
+ | "automaticForcedProduct"
1678
+ | "automaticV2012"
1679
+ | "automaticV2014"
1680
+ | "automaticV2016"
1681
+ | "automaticV2024"
1682
+ | "manual"
1683
+ | "oneShot"
1684
+ | "option";
1685
+ export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
1686
+
1687
+ export type ServiceStateEnum =
1688
+ | "autorenewInProgress"
1689
+ | "expired"
1690
+ | "inCreation"
1691
+ | "ok"
1692
+ | "pendingDebt"
1693
+ | "unPaid";
1694
+ export const ServiceStateEnum = /*@__PURE__*/ S.String;
1695
+
1696
+ /** Details about a Service */
1697
+ export interface ServicesService {
1698
+ /** Indicates that the service can be set up to be deleted at expiration */
1699
+ canDeleteAtExpiration?: boolean;
1700
+ contactAdmin?: string;
1701
+ contactBilling?: string;
1702
+ contactTech?: string;
1703
+ creation?: string;
1704
+ domain?: string;
1705
+ engagedUpTo?: string | null;
1706
+ expiration?: string;
1707
+ /** All the possible renew period of your service in month */
1708
+ possibleRenewPeriod?: ServicesServicePossibleRenewPeriodList | null;
1709
+ /** Way of handling the renew */
1710
+ renew?: ServiceRenewType | null;
1711
+ renewalType?: ServiceRenewalTypeEnum;
1712
+ serviceId?: number;
1713
+ status?: ServiceStateEnum;
1714
+ }
1715
+ export const ServicesService = /*@__PURE__*/ S.suspend(() =>
1716
+ S.Struct({
1717
+ canDeleteAtExpiration: S.optional(S.Boolean),
1718
+ contactAdmin: S.optional(S.String),
1719
+ contactBilling: S.optional(S.String),
1720
+ contactTech: S.optional(S.String),
1721
+ creation: S.optional(S.String),
1722
+ domain: S.optional(S.String),
1723
+ engagedUpTo: S.optional(S.NullOr(S.String)),
1724
+ expiration: S.optional(S.String),
1725
+ possibleRenewPeriod: S.optional(
1726
+ S.NullOr(ServicesServicePossibleRenewPeriodList),
1727
+ ),
1728
+ renew: S.optional(S.NullOr(ServiceRenewType)),
1729
+ renewalType: S.optional(ServiceRenewalTypeEnum),
1730
+ serviceId: S.optional(S.Number),
1731
+ status: S.optional(ServiceStateEnum),
1732
+ }),
1733
+ ).annotate({
1734
+ identifier: "ServicesService",
1735
+ }) as any as S.Schema<ServicesService>;
1736
+
1737
+ export interface GetEmailProTaskRequest {
1738
+ /** Service */
1739
+ service: string;
1740
+ /** Id */
1741
+ id: number;
1742
+ }
1743
+ export const GetEmailProTaskRequest = /*@__PURE__*/ S.suspend(() =>
1744
+ S.Struct({
1745
+ service: S.String.pipe(T.Label()),
1746
+ id: S.Number.pipe(T.Label()),
1747
+ }).pipe(
1748
+ T.Http({ method: "GET", uri: "/email/pro/{service}/task/{id}", code: 200 }),
1749
+ ),
1750
+ ).annotate({
1751
+ identifier: "GetEmailProTaskRequest",
1752
+ }) as any as S.Schema<GetEmailProTaskRequest>;
1753
+
1754
+ /** Resource tag filter */
1755
+ export interface IamResourceTagFilterInput {}
1756
+ export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
1757
+ S.Struct({}),
1758
+ ).annotate({
1759
+ identifier: "IamResourceTagFilterInput",
1760
+ }) as any as S.Schema<IamResourceTagFilterInput>;
1761
+
1762
+ export type ListEmailProRequestIamTagsValueList =
1763
+ Array<IamResourceTagFilterInput>;
1764
+ export const ListEmailProRequestIamTagsValueList = /*@__PURE__*/ S.Array(
1765
+ IamResourceTagFilterInput,
1766
+ ) as any as S.Schema<ListEmailProRequestIamTagsValueList>;
1767
+
1768
+ export type ListEmailProRequestIamTagsMap = {
1769
+ [key: string]: ListEmailProRequestIamTagsValueList | undefined;
1770
+ };
1771
+ export const ListEmailProRequestIamTagsMap = /*@__PURE__*/ S.Record(
1772
+ S.String,
1773
+ ListEmailProRequestIamTagsValueList,
1774
+ ) as any as S.Schema<ListEmailProRequestIamTagsMap>;
1775
+
1776
+ export interface ListEmailProRequest {
1777
+ /** Filter resources on IAM tags */
1778
+ iamTags?: ListEmailProRequestIamTagsMap;
1779
+ }
1780
+ export const ListEmailProRequest = /*@__PURE__*/ S.suspend(() =>
1781
+ S.Struct({
1782
+ iamTags: S.optional(ListEmailProRequestIamTagsMap.pipe(T.Query())),
1783
+ }).pipe(T.Http({ method: "GET", uri: "/email/pro", code: 200 })),
1784
+ ).annotate({
1785
+ identifier: "ListEmailProRequest",
1786
+ }) as any as S.Schema<ListEmailProRequest>;
1787
+
1788
+ export type ListEmailProResponseBodyList = Array<string>;
1789
+ export const ListEmailProResponseBodyList = /*@__PURE__*/ S.Array(
1790
+ S.String,
1791
+ ) as any as S.Schema<ListEmailProResponseBodyList>;
1792
+
1793
+ export type ListEmailProResponse = ListEmailProResponseBodyList;
1794
+ export const ListEmailProResponse = /*@__PURE__*/ S.suspend(() =>
1795
+ ListEmailProResponseBodyList.pipe(T.RawResponseRoot()),
1796
+ ).annotate({
1797
+ identifier: "ListEmailProResponse",
1798
+ }) as any as S.Schema<ListEmailProResponse>;
1799
+
1800
+ export interface ListEmailProAccountRequest {
1801
+ /** Service */
1802
+ service: string;
1803
+ /** Filter the value of id property (like) */
1804
+ id?: number;
1805
+ /** Filter the value of primaryEmailAddress property (like) */
1806
+ primaryEmailAddress?: string;
1807
+ }
1808
+ export const ListEmailProAccountRequest = /*@__PURE__*/ S.suspend(() =>
1809
+ S.Struct({
1810
+ service: S.String.pipe(T.Label()),
1811
+ id: S.optional(S.Number.pipe(T.Query())),
1812
+ primaryEmailAddress: S.optional(S.String.pipe(T.Query())),
1813
+ }).pipe(
1814
+ T.Http({ method: "GET", uri: "/email/pro/{service}/account", code: 200 }),
1815
+ ),
1816
+ ).annotate({
1817
+ identifier: "ListEmailProAccountRequest",
1818
+ }) as any as S.Schema<ListEmailProAccountRequest>;
1819
+
1820
+ export type ListEmailProAccountResponseBodyList = Array<string>;
1821
+ export const ListEmailProAccountResponseBodyList = /*@__PURE__*/ S.Array(
1822
+ S.String,
1823
+ ) as any as S.Schema<ListEmailProAccountResponseBodyList>;
1824
+
1825
+ export type ListEmailProAccountResponse = ListEmailProAccountResponseBodyList;
1826
+ export const ListEmailProAccountResponse = /*@__PURE__*/ S.suspend(() =>
1827
+ ListEmailProAccountResponseBodyList.pipe(T.RawResponseRoot()),
1828
+ ).annotate({
1829
+ identifier: "ListEmailProAccountResponse",
1830
+ }) as any as S.Schema<ListEmailProAccountResponse>;
1831
+
1832
+ export interface ListEmailProAccountAliasRequest {
1833
+ /** Service */
1834
+ service: string;
1835
+ /** Email */
1836
+ email: string;
1837
+ }
1838
+ export const ListEmailProAccountAliasRequest = /*@__PURE__*/ S.suspend(() =>
1839
+ S.Struct({
1840
+ service: S.String.pipe(T.Label()),
1841
+ email: S.String.pipe(T.Label()),
1842
+ }).pipe(
1843
+ T.Http({
1844
+ method: "GET",
1845
+ uri: "/email/pro/{service}/account/{email}/alias",
1846
+ code: 200,
1847
+ }),
1848
+ ),
1849
+ ).annotate({
1850
+ identifier: "ListEmailProAccountAliasRequest",
1851
+ }) as any as S.Schema<ListEmailProAccountAliasRequest>;
1852
+
1853
+ export type ListEmailProAccountAliasResponseBodyList = Array<string>;
1854
+ export const ListEmailProAccountAliasResponseBodyList = /*@__PURE__*/ S.Array(
1855
+ S.String,
1856
+ ) as any as S.Schema<ListEmailProAccountAliasResponseBodyList>;
1857
+
1858
+ export type ListEmailProAccountAliasResponse =
1859
+ ListEmailProAccountAliasResponseBodyList;
1860
+ export const ListEmailProAccountAliasResponse = /*@__PURE__*/ S.suspend(() =>
1861
+ ListEmailProAccountAliasResponseBodyList.pipe(T.RawResponseRoot()),
1862
+ ).annotate({
1863
+ identifier: "ListEmailProAccountAliasResponse",
1864
+ }) as any as S.Schema<ListEmailProAccountAliasResponse>;
1865
+
1866
+ export interface ListEmailProAccountFullAccessRequest {
1867
+ /** Service */
1868
+ service: string;
1869
+ /** Email */
1870
+ email: string;
1871
+ }
1872
+ export const ListEmailProAccountFullAccessRequest = /*@__PURE__*/ S.suspend(
1873
+ () =>
1874
+ S.Struct({
1875
+ service: S.String.pipe(T.Label()),
1876
+ email: S.String.pipe(T.Label()),
1877
+ }).pipe(
1878
+ T.Http({
1879
+ method: "GET",
1880
+ uri: "/email/pro/{service}/account/{email}/fullAccess",
1881
+ code: 200,
1882
+ }),
1883
+ ),
1884
+ ).annotate({
1885
+ identifier: "ListEmailProAccountFullAccessRequest",
1886
+ }) as any as S.Schema<ListEmailProAccountFullAccessRequest>;
1887
+
1888
+ export type ListEmailProAccountFullAccessResponseBodyList = Array<number>;
1889
+ export const ListEmailProAccountFullAccessResponseBodyList =
1890
+ /*@__PURE__*/ S.Array(
1891
+ S.Number,
1892
+ ) as any as S.Schema<ListEmailProAccountFullAccessResponseBodyList>;
1893
+
1894
+ export type ListEmailProAccountFullAccessResponse =
1895
+ ListEmailProAccountFullAccessResponseBodyList;
1896
+ export const ListEmailProAccountFullAccessResponse = /*@__PURE__*/ S.suspend(
1897
+ () => ListEmailProAccountFullAccessResponseBodyList.pipe(T.RawResponseRoot()),
1898
+ ).annotate({
1899
+ identifier: "ListEmailProAccountFullAccessResponse",
1900
+ }) as any as S.Schema<ListEmailProAccountFullAccessResponse>;
1901
+
1902
+ export interface ListEmailProAccountSendAsRequest {
1903
+ /** Service */
1904
+ service: string;
1905
+ /** Email */
1906
+ email: string;
1907
+ }
1908
+ export const ListEmailProAccountSendAsRequest = /*@__PURE__*/ S.suspend(() =>
1909
+ S.Struct({
1910
+ service: S.String.pipe(T.Label()),
1911
+ email: S.String.pipe(T.Label()),
1912
+ }).pipe(
1913
+ T.Http({
1914
+ method: "GET",
1915
+ uri: "/email/pro/{service}/account/{email}/sendAs",
1916
+ code: 200,
1917
+ }),
1918
+ ),
1919
+ ).annotate({
1920
+ identifier: "ListEmailProAccountSendAsRequest",
1921
+ }) as any as S.Schema<ListEmailProAccountSendAsRequest>;
1922
+
1923
+ export type ListEmailProAccountSendAsResponseBodyList = Array<number>;
1924
+ export const ListEmailProAccountSendAsResponseBodyList = /*@__PURE__*/ S.Array(
1925
+ S.Number,
1926
+ ) as any as S.Schema<ListEmailProAccountSendAsResponseBodyList>;
1927
+
1928
+ export type ListEmailProAccountSendAsResponse =
1929
+ ListEmailProAccountSendAsResponseBodyList;
1930
+ export const ListEmailProAccountSendAsResponse = /*@__PURE__*/ S.suspend(() =>
1931
+ ListEmailProAccountSendAsResponseBodyList.pipe(T.RawResponseRoot()),
1932
+ ).annotate({
1933
+ identifier: "ListEmailProAccountSendAsResponse",
1934
+ }) as any as S.Schema<ListEmailProAccountSendAsResponse>;
1935
+
1936
+ export interface ListEmailProAccountSendOnBehalfToRequest {
1937
+ /** Service */
1938
+ service: string;
1939
+ /** Email */
1940
+ email: string;
1941
+ }
1942
+ export const ListEmailProAccountSendOnBehalfToRequest = /*@__PURE__*/ S.suspend(
1943
+ () =>
1944
+ S.Struct({
1945
+ service: S.String.pipe(T.Label()),
1946
+ email: S.String.pipe(T.Label()),
1947
+ }).pipe(
1948
+ T.Http({
1949
+ method: "GET",
1950
+ uri: "/email/pro/{service}/account/{email}/sendOnBehalfTo",
1951
+ code: 200,
1952
+ }),
1953
+ ),
1954
+ ).annotate({
1955
+ identifier: "ListEmailProAccountSendOnBehalfToRequest",
1956
+ }) as any as S.Schema<ListEmailProAccountSendOnBehalfToRequest>;
1957
+
1958
+ export type ListEmailProAccountSendOnBehalfToResponseBodyList = Array<number>;
1959
+ export const ListEmailProAccountSendOnBehalfToResponseBodyList =
1960
+ /*@__PURE__*/ S.Array(
1961
+ S.Number,
1962
+ ) as any as S.Schema<ListEmailProAccountSendOnBehalfToResponseBodyList>;
1963
+
1964
+ export type ListEmailProAccountSendOnBehalfToResponse =
1965
+ ListEmailProAccountSendOnBehalfToResponseBodyList;
1966
+ export const ListEmailProAccountSendOnBehalfToResponse =
1967
+ /*@__PURE__*/ S.suspend(() =>
1968
+ ListEmailProAccountSendOnBehalfToResponseBodyList.pipe(T.RawResponseRoot()),
1969
+ ).annotate({
1970
+ identifier: "ListEmailProAccountSendOnBehalfToResponse",
1971
+ }) as any as S.Schema<ListEmailProAccountSendOnBehalfToResponse>;
1972
+
1973
+ export interface ListEmailProAccountTasksRequest {
1974
+ /** Service */
1975
+ service: string;
1976
+ /** Email */
1977
+ email: string;
1978
+ }
1979
+ export const ListEmailProAccountTasksRequest = /*@__PURE__*/ S.suspend(() =>
1980
+ S.Struct({
1981
+ service: S.String.pipe(T.Label()),
1982
+ email: S.String.pipe(T.Label()),
1983
+ }).pipe(
1984
+ T.Http({
1985
+ method: "GET",
1986
+ uri: "/email/pro/{service}/account/{email}/tasks",
1987
+ code: 200,
1988
+ }),
1989
+ ),
1990
+ ).annotate({
1991
+ identifier: "ListEmailProAccountTasksRequest",
1992
+ }) as any as S.Schema<ListEmailProAccountTasksRequest>;
1993
+
1994
+ export type ListEmailProAccountTasksResponseBodyList = Array<number>;
1995
+ export const ListEmailProAccountTasksResponseBodyList = /*@__PURE__*/ S.Array(
1996
+ S.Number,
1997
+ ) as any as S.Schema<ListEmailProAccountTasksResponseBodyList>;
1998
+
1999
+ export type ListEmailProAccountTasksResponse =
2000
+ ListEmailProAccountTasksResponseBodyList;
2001
+ export const ListEmailProAccountTasksResponse = /*@__PURE__*/ S.suspend(() =>
2002
+ ListEmailProAccountTasksResponseBodyList.pipe(T.RawResponseRoot()),
2003
+ ).annotate({
2004
+ identifier: "ListEmailProAccountTasksResponse",
2005
+ }) as any as S.Schema<ListEmailProAccountTasksResponse>;
2006
+
2007
+ export interface ListEmailProDomainRequest {
2008
+ /** Service */
2009
+ service: string;
2010
+ /** Filter the value of state property (=) */
2011
+ state?: EmailProObjectStateEnum | (string & {});
2012
+ }
2013
+ export const ListEmailProDomainRequest = /*@__PURE__*/ S.suspend(() =>
2014
+ S.Struct({
2015
+ service: S.String.pipe(T.Label()),
2016
+ state: S.optional(EmailProObjectStateEnum.pipe(T.Query())),
2017
+ }).pipe(
2018
+ T.Http({ method: "GET", uri: "/email/pro/{service}/domain", code: 200 }),
2019
+ ),
2020
+ ).annotate({
2021
+ identifier: "ListEmailProDomainRequest",
2022
+ }) as any as S.Schema<ListEmailProDomainRequest>;
2023
+
2024
+ export type ListEmailProDomainResponseBodyList = Array<string>;
2025
+ export const ListEmailProDomainResponseBodyList = /*@__PURE__*/ S.Array(
2026
+ S.String,
2027
+ ) as any as S.Schema<ListEmailProDomainResponseBodyList>;
2028
+
2029
+ export type ListEmailProDomainResponse = ListEmailProDomainResponseBodyList;
2030
+ export const ListEmailProDomainResponse = /*@__PURE__*/ S.suspend(() =>
2031
+ ListEmailProDomainResponseBodyList.pipe(T.RawResponseRoot()),
2032
+ ).annotate({
2033
+ identifier: "ListEmailProDomainResponse",
2034
+ }) as any as S.Schema<ListEmailProDomainResponse>;
2035
+
2036
+ export interface ListEmailProDomainDisclaimerAttributeRequest {
2037
+ /** Service */
2038
+ service: string;
2039
+ /** Domain name */
2040
+ domainName: string;
2041
+ }
2042
+ export const ListEmailProDomainDisclaimerAttributeRequest =
2043
+ /*@__PURE__*/ S.suspend(() =>
2044
+ S.Struct({
2045
+ service: S.String.pipe(T.Label()),
2046
+ domainName: S.String.pipe(T.Label()),
2047
+ }).pipe(
2048
+ T.Http({
2049
+ method: "GET",
2050
+ uri: "/email/pro/{service}/domain/{domainName}/disclaimerAttribute",
2051
+ code: 200,
2052
+ }),
2053
+ ),
2054
+ ).annotate({
2055
+ identifier: "ListEmailProDomainDisclaimerAttributeRequest",
2056
+ }) as any as S.Schema<ListEmailProDomainDisclaimerAttributeRequest>;
2057
+
2058
+ /** Disclaimer attributes list */
2059
+ export type EmailProDisclaimerAttributeEnum =
2060
+ | "City"
2061
+ | "Company"
2062
+ | "Country"
2063
+ | "Department"
2064
+ | "DisplayName"
2065
+ | "Email"
2066
+ | "FaxNumber"
2067
+ | "FirstName"
2068
+ | "HomePhoneNumber"
2069
+ | "Initials"
2070
+ | "LastName"
2071
+ | "Manager"
2072
+ | "MobileNumber"
2073
+ | "Notes"
2074
+ | "Office"
2075
+ | "OtherFaxNumber"
2076
+ | "OtherHomePhoneNumber"
2077
+ | "OtherPhoneNumber"
2078
+ | "PagerNumber"
2079
+ | "PhoneNumber"
2080
+ | "State"
2081
+ | "Street"
2082
+ | "Title"
2083
+ | "UserLogonName"
2084
+ | "ZipCode";
2085
+ export const EmailProDisclaimerAttributeEnum = /*@__PURE__*/ S.String;
2086
+
2087
+ export type ListEmailProDomainDisclaimerAttributeResponseBodyList =
2088
+ Array<EmailProDisclaimerAttributeEnum>;
2089
+ export const ListEmailProDomainDisclaimerAttributeResponseBodyList =
2090
+ /*@__PURE__*/ S.Array(
2091
+ EmailProDisclaimerAttributeEnum,
2092
+ ) as any as S.Schema<ListEmailProDomainDisclaimerAttributeResponseBodyList>;
2093
+
2094
+ export type ListEmailProDomainDisclaimerAttributeResponse =
2095
+ ListEmailProDomainDisclaimerAttributeResponseBodyList;
2096
+ export const ListEmailProDomainDisclaimerAttributeResponse =
2097
+ /*@__PURE__*/ S.suspend(() =>
2098
+ ListEmailProDomainDisclaimerAttributeResponseBodyList.pipe(
2099
+ T.RawResponseRoot(),
2100
+ ),
2101
+ ).annotate({
2102
+ identifier: "ListEmailProDomainDisclaimerAttributeResponse",
2103
+ }) as any as S.Schema<ListEmailProDomainDisclaimerAttributeResponse>;
2104
+
2105
+ export interface ListEmailProDomainDkimRequest {
2106
+ /** Service */
2107
+ service: string;
2108
+ /** Domain name */
2109
+ domainName: string;
2110
+ }
2111
+ export const ListEmailProDomainDkimRequest = /*@__PURE__*/ S.suspend(() =>
2112
+ S.Struct({
2113
+ service: S.String.pipe(T.Label()),
2114
+ domainName: S.String.pipe(T.Label()),
2115
+ }).pipe(
2116
+ T.Http({
2117
+ method: "GET",
2118
+ uri: "/email/pro/{service}/domain/{domainName}/dkim",
2119
+ code: 200,
2120
+ }),
2121
+ ),
2122
+ ).annotate({
2123
+ identifier: "ListEmailProDomainDkimRequest",
2124
+ }) as any as S.Schema<ListEmailProDomainDkimRequest>;
2125
+
2126
+ export type ListEmailProDomainDkimResponseBodyList = Array<string>;
2127
+ export const ListEmailProDomainDkimResponseBodyList = /*@__PURE__*/ S.Array(
2128
+ S.String,
2129
+ ) as any as S.Schema<ListEmailProDomainDkimResponseBodyList>;
2130
+
2131
+ export type ListEmailProDomainDkimResponse =
2132
+ ListEmailProDomainDkimResponseBodyList;
2133
+ export const ListEmailProDomainDkimResponse = /*@__PURE__*/ S.suspend(() =>
2134
+ ListEmailProDomainDkimResponseBodyList.pipe(T.RawResponseRoot()),
2135
+ ).annotate({
2136
+ identifier: "ListEmailProDomainDkimResponse",
2137
+ }) as any as S.Schema<ListEmailProDomainDkimResponse>;
2138
+
2139
+ export interface ListEmailProDomainDkimSelectorRequest {
2140
+ /** The internal name of your pro organization */
2141
+ service: string;
2142
+ /** Domain name */
2143
+ domainName: string;
2144
+ }
2145
+ export const ListEmailProDomainDkimSelectorRequest = /*@__PURE__*/ S.suspend(
2146
+ () =>
2147
+ S.Struct({
2148
+ service: S.String.pipe(T.Label()),
2149
+ domainName: S.String.pipe(T.Label()),
2150
+ }).pipe(
2151
+ T.Http({
2152
+ method: "GET",
2153
+ uri: "/email/pro/{service}/domain/{domainName}/dkimSelector",
2154
+ code: 200,
2155
+ }),
2156
+ ),
2157
+ ).annotate({
2158
+ identifier: "ListEmailProDomainDkimSelectorRequest",
2159
+ }) as any as S.Schema<ListEmailProDomainDkimSelectorRequest>;
2160
+
2161
+ export type ListEmailProDomainDkimSelectorResponseBodyList = Array<string>;
2162
+ export const ListEmailProDomainDkimSelectorResponseBodyList =
2163
+ /*@__PURE__*/ S.Array(
2164
+ S.String,
2165
+ ) as any as S.Schema<ListEmailProDomainDkimSelectorResponseBodyList>;
2166
+
2167
+ export type ListEmailProDomainDkimSelectorResponse =
2168
+ ListEmailProDomainDkimSelectorResponseBodyList;
2169
+ export const ListEmailProDomainDkimSelectorResponse = /*@__PURE__*/ S.suspend(
2170
+ () =>
2171
+ ListEmailProDomainDkimSelectorResponseBodyList.pipe(T.RawResponseRoot()),
2172
+ ).annotate({
2173
+ identifier: "ListEmailProDomainDkimSelectorResponse",
2174
+ }) as any as S.Schema<ListEmailProDomainDkimSelectorResponse>;
2175
+
2176
+ export interface ListEmailProExternalContactRequest {
2177
+ /** Service */
2178
+ service: string;
2179
+ /** Filter the value of displayName property (like) */
2180
+ displayName?: string;
2181
+ /** Filter the value of externalEmailAddress property (like) */
2182
+ externalEmailAddress?: string;
2183
+ /** Filter the value of firstName property (like) */
2184
+ firstName?: string;
2185
+ /** Filter the value of id property (like) */
2186
+ id?: number;
2187
+ /** Filter the value of lastName property (like) */
2188
+ lastName?: string;
2189
+ }
2190
+ export const ListEmailProExternalContactRequest = /*@__PURE__*/ S.suspend(() =>
2191
+ S.Struct({
2192
+ service: S.String.pipe(T.Label()),
2193
+ displayName: S.optional(S.String.pipe(T.Query())),
2194
+ externalEmailAddress: S.optional(S.String.pipe(T.Query())),
2195
+ firstName: S.optional(S.String.pipe(T.Query())),
2196
+ id: S.optional(S.Number.pipe(T.Query())),
2197
+ lastName: S.optional(S.String.pipe(T.Query())),
2198
+ }).pipe(
2199
+ T.Http({
2200
+ method: "GET",
2201
+ uri: "/email/pro/{service}/externalContact",
2202
+ code: 200,
2203
+ }),
2204
+ ),
2205
+ ).annotate({
2206
+ identifier: "ListEmailProExternalContactRequest",
2207
+ }) as any as S.Schema<ListEmailProExternalContactRequest>;
2208
+
2209
+ export type ListEmailProExternalContactResponseBodyList = Array<string>;
2210
+ export const ListEmailProExternalContactResponseBodyList =
2211
+ /*@__PURE__*/ S.Array(
2212
+ S.String,
2213
+ ) as any as S.Schema<ListEmailProExternalContactResponseBodyList>;
2214
+
2215
+ export type ListEmailProExternalContactResponse =
2216
+ ListEmailProExternalContactResponseBodyList;
2217
+ export const ListEmailProExternalContactResponse = /*@__PURE__*/ S.suspend(() =>
2218
+ ListEmailProExternalContactResponseBodyList.pipe(T.RawResponseRoot()),
2219
+ ).annotate({
2220
+ identifier: "ListEmailProExternalContactResponse",
2221
+ }) as any as S.Schema<ListEmailProExternalContactResponse>;
2222
+
2223
+ export interface ListEmailProTaskRequest {
2224
+ /** Service */
2225
+ service: string;
2226
+ }
2227
+ export const ListEmailProTaskRequest = /*@__PURE__*/ S.suspend(() =>
2228
+ S.Struct({
2229
+ service: S.String.pipe(T.Label()),
2230
+ }).pipe(
2231
+ T.Http({ method: "GET", uri: "/email/pro/{service}/task", code: 200 }),
2232
+ ),
2233
+ ).annotate({
2234
+ identifier: "ListEmailProTaskRequest",
2235
+ }) as any as S.Schema<ListEmailProTaskRequest>;
2236
+
2237
+ export type ListEmailProTaskResponseBodyList = Array<number>;
2238
+ export const ListEmailProTaskResponseBodyList = /*@__PURE__*/ S.Array(
2239
+ S.Number,
2240
+ ) as any as S.Schema<ListEmailProTaskResponseBodyList>;
2241
+
2242
+ export type ListEmailProTaskResponse = ListEmailProTaskResponseBodyList;
2243
+ export const ListEmailProTaskResponse = /*@__PURE__*/ S.suspend(() =>
2244
+ ListEmailProTaskResponseBodyList.pipe(T.RawResponseRoot()),
2245
+ ).annotate({
2246
+ identifier: "ListEmailProTaskResponse",
2247
+ }) as any as S.Schema<ListEmailProTaskResponse>;
2248
+
2249
+ /** Spam and Antyvirus configuration */
2250
+ export type EmailProSpamAndVirusConfigurationInput = IamResourceTagFilterInput;
2251
+ export const EmailProSpamAndVirusConfigurationInput = IamResourceTagFilterInput;
2252
+
2253
+ export interface PutEmailProRequest {
2254
+ /** The internal name of your pro organization */
2255
+ service: string;
2256
+ /** enable policy for strong and secure passwords */
2257
+ complexityEnabled?: boolean;
2258
+ /** service displayName */
2259
+ displayName?: string | null;
2260
+ /** number of minutes account will remain locked if it occurs */
2261
+ lockoutDuration?: number;
2262
+ /** number of minutes that must elapse after a failed logon to reset lockout trigger */
2263
+ lockoutObservationWindow?: number;
2264
+ /** number of attempts before account to be locked */
2265
+ lockoutThreshold?: number | null;
2266
+ /** maximum number of days that account's password is valid before expiration */
2267
+ maxPasswordAge?: number | null;
2268
+ /** Maximum message size that You can receive in MB */
2269
+ maxReceiveSize?: number;
2270
+ /** Maximum message size that You can send in MB */
2271
+ maxSendSize?: number;
2272
+ /** minimum number of days before able to change account's password */
2273
+ minPasswordAge?: number | null;
2274
+ /** minimum number of characters password must contain */
2275
+ minPasswordLength?: number | null;
2276
+ /** Spam and Antivirus configuration */
2277
+ spamAndVirusConfiguration?: IamResourceTagFilterInput;
2278
+ }
2279
+ export const PutEmailProRequest = /*@__PURE__*/ S.suspend(() =>
2280
+ S.Struct({
2281
+ service: S.String.pipe(T.Label()),
2282
+ complexityEnabled: S.optional(S.Boolean),
2283
+ displayName: S.optional(S.NullOr(S.String)),
2284
+ lockoutDuration: S.optional(S.Number),
2285
+ lockoutObservationWindow: S.optional(S.Number),
2286
+ lockoutThreshold: S.optional(S.NullOr(S.Number)),
2287
+ maxPasswordAge: S.optional(S.NullOr(S.Number)),
2288
+ maxReceiveSize: S.optional(S.Number),
2289
+ maxSendSize: S.optional(S.Number),
2290
+ minPasswordAge: S.optional(S.NullOr(S.Number)),
2291
+ minPasswordLength: S.optional(S.NullOr(S.Number)),
2292
+ spamAndVirusConfiguration: S.optional(IamResourceTagFilterInput),
2293
+ }).pipe(T.Http({ method: "PUT", uri: "/email/pro/{service}", code: 200 })),
2294
+ ).annotate({
2295
+ identifier: "PutEmailProRequest",
2296
+ }) as any as S.Schema<PutEmailProRequest>;
2297
+
2298
+ export interface PutEmailProResponse {}
2299
+ export const PutEmailProResponse = /*@__PURE__*/ S.suspend(() =>
2300
+ S.Struct({}),
2301
+ ).annotate({
2302
+ identifier: "PutEmailProResponse",
2303
+ }) as any as S.Schema<PutEmailProResponse>;
2304
+
2305
+ /** Enable or disable anti-virus and anti-spam */
2306
+ export type PutEmailProAccountRequestMailingFilterList = Array<
2307
+ EmailProMailingFilterEnum | (string & {})
2308
+ >;
2309
+ export const PutEmailProAccountRequestMailingFilterList = /*@__PURE__*/ S.Array(
2310
+ EmailProMailingFilterEnum,
2311
+ ) as any as S.Schema<PutEmailProAccountRequestMailingFilterList>;
2312
+
2313
+ export interface PutEmailProAccountRequest {
2314
+ /** The internal name of your pro organization */
2315
+ service: string;
2316
+ /** Default email for this mailbox */
2317
+ email: string;
2318
+ /** delete at expiration */
2319
+ deleteAtExpiration?: boolean | null;
2320
+ /** Account display name */
2321
+ displayName?: string | null;
2322
+ /** Email domain */
2323
+ domain?: string;
2324
+ /** Account first name */
2325
+ firstName?: string | null;
2326
+ /** Hide account in Global Address List */
2327
+ hiddenFromGAL?: boolean;
2328
+ /** Account initials */
2329
+ initial?: string | null;
2330
+ /** Account last name */
2331
+ lastName?: string | null;
2332
+ /** Account login */
2333
+ login?: string;
2334
+ /** Enable or disable anti-virus and anti-spam */
2335
+ mailingFilter?: PutEmailProAccountRequestMailingFilterList | null;
2336
+ /** Account maximum size */
2337
+ quota?: number;
2338
+ /** change the renew period */
2339
+ renewPeriod?: EmailProRenewPeriodEnum | (string & {}) | null;
2340
+ /** Spam and Antivirus configuration */
2341
+ spamAndVirusConfiguration?: IamResourceTagFilterInput;
2342
+ }
2343
+ export const PutEmailProAccountRequest = /*@__PURE__*/ S.suspend(() =>
2344
+ S.Struct({
2345
+ service: S.String.pipe(T.Label()),
2346
+ email: S.String.pipe(T.Label()),
2347
+ deleteAtExpiration: S.optional(S.NullOr(S.Boolean)),
2348
+ displayName: S.optional(S.NullOr(S.String)),
2349
+ domain: S.optional(S.String),
2350
+ firstName: S.optional(S.NullOr(S.String)),
2351
+ hiddenFromGAL: S.optional(S.Boolean),
2352
+ initial: S.optional(S.NullOr(S.String)),
2353
+ lastName: S.optional(S.NullOr(S.String)),
2354
+ login: S.optional(S.String),
2355
+ mailingFilter: S.optional(
2356
+ S.NullOr(PutEmailProAccountRequestMailingFilterList),
2357
+ ),
2358
+ quota: S.optional(S.Number),
2359
+ renewPeriod: S.optional(S.NullOr(EmailProRenewPeriodEnum)),
2360
+ spamAndVirusConfiguration: S.optional(IamResourceTagFilterInput),
2361
+ }).pipe(
2362
+ T.Http({
2363
+ method: "PUT",
2364
+ uri: "/email/pro/{service}/account/{email}",
2365
+ code: 200,
2366
+ }),
2367
+ ),
2368
+ ).annotate({
2369
+ identifier: "PutEmailProAccountRequest",
2370
+ }) as any as S.Schema<PutEmailProAccountRequest>;
2371
+
2372
+ export interface PutEmailProAccountResponse {}
2373
+ export const PutEmailProAccountResponse = /*@__PURE__*/ S.suspend(() =>
2374
+ S.Struct({}),
2375
+ ).annotate({
2376
+ identifier: "PutEmailProAccountResponse",
2377
+ }) as any as S.Schema<PutEmailProAccountResponse>;
2378
+
2379
+ export interface PutEmailProDomainRequest {
2380
+ /** The internal name of your pro organization */
2381
+ service: string;
2382
+ /** Domain name */
2383
+ domainName: string;
2384
+ /** If specified, emails to not existing address will be redirected to that domain */
2385
+ mxRelay?: string | null;
2386
+ /** Domain type */
2387
+ type?: EmailProDomainTypeEnum | (string & {});
2388
+ }
2389
+ export const PutEmailProDomainRequest = /*@__PURE__*/ S.suspend(() =>
2390
+ S.Struct({
2391
+ service: S.String.pipe(T.Label()),
2392
+ domainName: S.String.pipe(T.Label()),
2393
+ mxRelay: S.optional(S.NullOr(S.String)),
2394
+ type: S.optional(EmailProDomainTypeEnum),
2395
+ }).pipe(
2396
+ T.Http({
2397
+ method: "PUT",
2398
+ uri: "/email/pro/{service}/domain/{domainName}",
2399
+ code: 200,
2400
+ }),
2401
+ ),
2402
+ ).annotate({
2403
+ identifier: "PutEmailProDomainRequest",
2404
+ }) as any as S.Schema<PutEmailProDomainRequest>;
2405
+
2406
+ export interface PutEmailProDomainResponse {}
2407
+ export const PutEmailProDomainResponse = /*@__PURE__*/ S.suspend(() =>
2408
+ S.Struct({}),
2409
+ ).annotate({
2410
+ identifier: "PutEmailProDomainResponse",
2411
+ }) as any as S.Schema<PutEmailProDomainResponse>;
2412
+
2413
+ export interface PutEmailProDomainDisclaimerRequest {
2414
+ /** The internal name of your pro organization */
2415
+ service: string;
2416
+ /** Domain name */
2417
+ domainName: string;
2418
+ /** Signature, added at the bottom of your organization emails */
2419
+ content?: string;
2420
+ /** Activate the disclaimer only for external emails */
2421
+ outsideOnly?: boolean;
2422
+ }
2423
+ export const PutEmailProDomainDisclaimerRequest = /*@__PURE__*/ S.suspend(() =>
2424
+ S.Struct({
2425
+ service: S.String.pipe(T.Label()),
2426
+ domainName: S.String.pipe(T.Label()),
2427
+ content: S.optional(S.String),
2428
+ outsideOnly: S.optional(S.Boolean),
2429
+ }).pipe(
2430
+ T.Http({
2431
+ method: "PUT",
2432
+ uri: "/email/pro/{service}/domain/{domainName}/disclaimer",
2433
+ code: 200,
2434
+ }),
2435
+ ),
2436
+ ).annotate({
2437
+ identifier: "PutEmailProDomainDisclaimerRequest",
2438
+ }) as any as S.Schema<PutEmailProDomainDisclaimerRequest>;
2439
+
2440
+ export interface PutEmailProDomainDisclaimerResponse {}
2441
+ export const PutEmailProDomainDisclaimerResponse = /*@__PURE__*/ S.suspend(() =>
2442
+ S.Struct({}),
2443
+ ).annotate({
2444
+ identifier: "PutEmailProDomainDisclaimerResponse",
2445
+ }) as any as S.Schema<PutEmailProDomainDisclaimerResponse>;
2446
+
2447
+ export interface PutEmailProExternalContactRequest {
2448
+ /** The internal name of your pro organization */
2449
+ service: string;
2450
+ /** Contact email */
2451
+ externalEmailAddress: string;
2452
+ /** Contact display name */
2453
+ displayName?: string;
2454
+ /** Contact first name */
2455
+ firstName?: string | null;
2456
+ /** Hide the contact in Global Address List */
2457
+ hiddenFromGAL?: boolean;
2458
+ /** Contact initals */
2459
+ initials?: string | null;
2460
+ /** Contact last name */
2461
+ lastName?: string | null;
2462
+ }
2463
+ export const PutEmailProExternalContactRequest = /*@__PURE__*/ S.suspend(() =>
2464
+ S.Struct({
2465
+ service: S.String.pipe(T.Label()),
2466
+ externalEmailAddress: S.String.pipe(T.Label()),
2467
+ displayName: S.optional(S.String),
2468
+ firstName: S.optional(S.NullOr(S.String)),
2469
+ hiddenFromGAL: S.optional(S.Boolean),
2470
+ initials: S.optional(S.NullOr(S.String)),
2471
+ lastName: S.optional(S.NullOr(S.String)),
2472
+ }).pipe(
2473
+ T.Http({
2474
+ method: "PUT",
2475
+ uri: "/email/pro/{service}/externalContact/{externalEmailAddress}",
2476
+ code: 200,
2477
+ }),
2478
+ ),
2479
+ ).annotate({
2480
+ identifier: "PutEmailProExternalContactRequest",
2481
+ }) as any as S.Schema<PutEmailProExternalContactRequest>;
2482
+
2483
+ export interface PutEmailProExternalContactResponse {}
2484
+ export const PutEmailProExternalContactResponse = /*@__PURE__*/ S.suspend(() =>
2485
+ S.Struct({}),
2486
+ ).annotate({
2487
+ identifier: "PutEmailProExternalContactResponse",
2488
+ }) as any as S.Schema<PutEmailProExternalContactResponse>;
2489
+
2490
+ export interface PutEmailProServiceInfosRequest {
2491
+ /** The internal name of your pro organization */
2492
+ service: string;
2493
+ /** Way of handling the renew */
2494
+ renew?: ServiceRenewType | null;
2495
+ }
2496
+ export const PutEmailProServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
2497
+ S.Struct({
2498
+ service: S.String.pipe(T.Label()),
2499
+ renew: S.optional(S.NullOr(ServiceRenewType)),
2500
+ }).pipe(
2501
+ T.Http({
2502
+ method: "PUT",
2503
+ uri: "/email/pro/{service}/serviceInfos",
2504
+ code: 200,
2505
+ }),
2506
+ ),
2507
+ ).annotate({
2508
+ identifier: "PutEmailProServiceInfosRequest",
2509
+ }) as any as S.Schema<PutEmailProServiceInfosRequest>;
2510
+
2511
+ export interface PutEmailProServiceInfosResponse {}
2512
+ export const PutEmailProServiceInfosResponse = /*@__PURE__*/ S.suspend(() =>
2513
+ S.Struct({}),
2514
+ ).annotate({
2515
+ identifier: "PutEmailProServiceInfosResponse",
2516
+ }) as any as S.Schema<PutEmailProServiceInfosResponse>;
2517
+
2518
+ export interface SendEmailProAccountAsRequest {
2519
+ /** The internal name of your pro organization */
2520
+ service: string;
2521
+ /** Default email for this mailbox */
2522
+ email: string;
2523
+ /** Account id to allow to send mails from this mailbox */
2524
+ allowAccountId: number;
2525
+ }
2526
+ export const SendEmailProAccountAsRequest = /*@__PURE__*/ S.suspend(() =>
2527
+ S.Struct({
2528
+ service: S.String.pipe(T.Label()),
2529
+ email: S.String.pipe(T.Label()),
2530
+ allowAccountId: S.Number,
2531
+ }).pipe(
2532
+ T.Http({
2533
+ method: "POST",
2534
+ uri: "/email/pro/{service}/account/{email}/sendAs",
2535
+ code: 200,
2536
+ }),
2537
+ ),
2538
+ ).annotate({
2539
+ identifier: "SendEmailProAccountAsRequest",
2540
+ }) as any as S.Schema<SendEmailProAccountAsRequest>;
2541
+
2542
+ export interface SendEmailProAccountOnBehalfToRequest {
2543
+ /** The internal name of your pro organization */
2544
+ service: string;
2545
+ /** Default email for this mailbox */
2546
+ email: string;
2547
+ /** Account id to allow to send On Behalf To mails from this mailbox */
2548
+ allowAccountId: number;
2549
+ }
2550
+ export const SendEmailProAccountOnBehalfToRequest = /*@__PURE__*/ S.suspend(
2551
+ () =>
2552
+ S.Struct({
2553
+ service: S.String.pipe(T.Label()),
2554
+ email: S.String.pipe(T.Label()),
2555
+ allowAccountId: S.Number,
2556
+ }).pipe(
2557
+ T.Http({
2558
+ method: "POST",
2559
+ uri: "/email/pro/{service}/account/{email}/sendOnBehalfTo",
2560
+ code: 200,
2561
+ }),
2562
+ ),
2563
+ ).annotate({
2564
+ identifier: "SendEmailProAccountOnBehalfToRequest",
2565
+ }) as any as S.Schema<SendEmailProAccountOnBehalfToRequest>;
2566
+
2567
+ export interface TerminateEmailProAccountRequest {
2568
+ /** The internal name of your pro organization */
2569
+ service: string;
2570
+ /** Default email for this mailbox */
2571
+ email: string;
2572
+ }
2573
+ export const TerminateEmailProAccountRequest = /*@__PURE__*/ S.suspend(() =>
2574
+ S.Struct({
2575
+ service: S.String.pipe(T.Label()),
2576
+ email: S.String.pipe(T.Label()),
2577
+ }).pipe(
2578
+ T.Http({
2579
+ method: "POST",
2580
+ uri: "/email/pro/{service}/account/{email}/terminate",
2581
+ code: 200,
2582
+ }),
2583
+ ),
2584
+ ).annotate({
2585
+ identifier: "TerminateEmailProAccountRequest",
2586
+ }) as any as S.Schema<TerminateEmailProAccountRequest>;
2587
+
2588
+ export type TerminateEmailProAccountResponse = string;
2589
+ export const TerminateEmailProAccountResponse = /*@__PURE__*/ S.suspend(() =>
2590
+ S.String.pipe(T.RawResponseRoot()),
2591
+ ).annotate({
2592
+ identifier: "TerminateEmailProAccountResponse",
2593
+ }) as any as S.Schema<TerminateEmailProAccountResponse>;
2594
+
2595
+ export interface UpdateEmailProFlagsOnAllAccountsRequest {
2596
+ /** The internal name of your pro organization */
2597
+ service: string;
2598
+ }
2599
+ export const UpdateEmailProFlagsOnAllAccountsRequest = /*@__PURE__*/ S.suspend(
2600
+ () =>
2601
+ S.Struct({
2602
+ service: S.String.pipe(T.Label()),
2603
+ }).pipe(
2604
+ T.Http({
2605
+ method: "POST",
2606
+ uri: "/email/pro/{service}/updateFlagsOnAllAccounts",
2607
+ code: 200,
2608
+ }),
2609
+ ),
2610
+ ).annotate({
2611
+ identifier: "UpdateEmailProFlagsOnAllAccountsRequest",
2612
+ }) as any as S.Schema<UpdateEmailProFlagsOnAllAccountsRequest>;
2613
+
2614
+ export interface UpdateEmailProFlagsOnAllAccountsResponse {}
2615
+ export const UpdateEmailProFlagsOnAllAccountsResponse = /*@__PURE__*/ S.suspend(
2616
+ () => S.Struct({}),
2617
+ ).annotate({
2618
+ identifier: "UpdateEmailProFlagsOnAllAccountsResponse",
2619
+ }) as any as S.Schema<UpdateEmailProFlagsOnAllAccountsResponse>;
2620
+
2621
+ export type CreateEmailProAccountAliasError = OvhOpError;
2622
+ /** Create new alias */
2623
+ export const createEmailProAccountAlias: API.OperationMethod<
2624
+ CreateEmailProAccountAliasRequest,
2625
+ EmailProTask,
2626
+ CreateEmailProAccountAliasError,
2627
+ OvhOpContext
2628
+ > = /*@__PURE__*/ API.make(() => ({
2629
+ input: CreateEmailProAccountAliasRequest,
2630
+ output: EmailProTask,
2631
+ errors: [UnknownOvhError],
2632
+ protocol: OvhProtocol,
2633
+ retry: Retry.Retry,
2634
+ }));
2635
+
2636
+ export type CreateEmailProAccountChangePasswordError = OvhOpError;
2637
+ /** Change mailbox password */
2638
+ export const createEmailProAccountChangePassword: API.OperationMethod<
2639
+ CreateEmailProAccountChangePasswordRequest,
2640
+ EmailProTask,
2641
+ CreateEmailProAccountChangePasswordError,
2642
+ OvhOpContext
2643
+ > = /*@__PURE__*/ API.make(() => ({
2644
+ input: CreateEmailProAccountChangePasswordRequest,
2645
+ output: EmailProTask,
2646
+ errors: [UnknownOvhError],
2647
+ protocol: OvhProtocol,
2648
+ retry: Retry.Retry,
2649
+ }));
2650
+
2651
+ export type CreateEmailProAccountDiagnosticError = OvhOpError;
2652
+ /** Create new diagnosis request */
2653
+ export const createEmailProAccountDiagnostic: API.OperationMethod<
2654
+ CreateEmailProAccountDiagnosticRequest,
2655
+ EmailProTask,
2656
+ CreateEmailProAccountDiagnosticError,
2657
+ OvhOpContext
2658
+ > = /*@__PURE__*/ API.make(() => ({
2659
+ input: CreateEmailProAccountDiagnosticRequest,
2660
+ output: EmailProTask,
2661
+ errors: [UnknownOvhError],
2662
+ protocol: OvhProtocol,
2663
+ retry: Retry.Retry,
2664
+ }));
2665
+
2666
+ export type CreateEmailProAccountFullAccessError = OvhOpError;
2667
+ /** Allow full access to a user */
2668
+ export const createEmailProAccountFullAccess: API.OperationMethod<
2669
+ CreateEmailProAccountFullAccessRequest,
2670
+ EmailProTask,
2671
+ CreateEmailProAccountFullAccessError,
2672
+ OvhOpContext
2673
+ > = /*@__PURE__*/ API.make(() => ({
2674
+ input: CreateEmailProAccountFullAccessRequest,
2675
+ output: EmailProTask,
2676
+ errors: [UnknownOvhError],
2677
+ protocol: OvhProtocol,
2678
+ retry: Retry.Retry,
2679
+ }));
2680
+
2681
+ export type CreateEmailProChangeContactError = OvhOpError;
2682
+ /** Launch a contact change procedure */
2683
+ export const createEmailProChangeContact: API.OperationMethod<
2684
+ CreateEmailProChangeContactRequest,
2685
+ CreateEmailProChangeContactResponse,
2686
+ CreateEmailProChangeContactError,
2687
+ OvhOpContext
2688
+ > = /*@__PURE__*/ API.make(() => ({
2689
+ input: CreateEmailProChangeContactRequest,
2690
+ output: CreateEmailProChangeContactResponse,
2691
+ errors: [UnknownOvhError],
2692
+ protocol: OvhProtocol,
2693
+ retry: Retry.Retry,
2694
+ }));
2695
+
2696
+ export type CreateEmailProDomainError = OvhOpError;
2697
+ /** Create new domain in pro services */
2698
+ export const createEmailProDomain: API.OperationMethod<
2699
+ CreateEmailProDomainRequest,
2700
+ EmailProTask,
2701
+ CreateEmailProDomainError,
2702
+ OvhOpContext
2703
+ > = /*@__PURE__*/ API.make(() => ({
2704
+ input: CreateEmailProDomainRequest,
2705
+ output: EmailProTask,
2706
+ errors: [UnknownOvhError],
2707
+ protocol: OvhProtocol,
2708
+ retry: Retry.Retry,
2709
+ }));
2710
+
2711
+ export type CreateEmailProDomainDisclaimerError = OvhOpError;
2712
+ /** Create organization disclaimer of each email */
2713
+ export const createEmailProDomainDisclaimer: API.OperationMethod<
2714
+ CreateEmailProDomainDisclaimerRequest,
2715
+ EmailProTask,
2716
+ CreateEmailProDomainDisclaimerError,
2717
+ OvhOpContext
2718
+ > = /*@__PURE__*/ API.make(() => ({
2719
+ input: CreateEmailProDomainDisclaimerRequest,
2720
+ output: EmailProTask,
2721
+ errors: [UnknownOvhError],
2722
+ protocol: OvhProtocol,
2723
+ retry: Retry.Retry,
2724
+ }));
2725
+
2726
+ export type CreateEmailProDomainDkimError = OvhOpError;
2727
+ /** Create DKIM selector on this domain */
2728
+ export const createEmailProDomainDkim: API.OperationMethod<
2729
+ CreateEmailProDomainDkimRequest,
2730
+ EmailProTask,
2731
+ CreateEmailProDomainDkimError,
2732
+ OvhOpContext
2733
+ > = /*@__PURE__*/ API.make(() => ({
2734
+ input: CreateEmailProDomainDkimRequest,
2735
+ output: EmailProTask,
2736
+ errors: [UnknownOvhError],
2737
+ protocol: OvhProtocol,
2738
+ retry: Retry.Retry,
2739
+ }));
2740
+
2741
+ export type CreateEmailProExternalContactError = OvhOpError;
2742
+ /** create new external contact */
2743
+ export const createEmailProExternalContact: API.OperationMethod<
2744
+ CreateEmailProExternalContactRequest,
2745
+ EmailProTask,
2746
+ CreateEmailProExternalContactError,
2747
+ OvhOpContext
2748
+ > = /*@__PURE__*/ API.make(() => ({
2749
+ input: CreateEmailProExternalContactRequest,
2750
+ output: EmailProTask,
2751
+ errors: [UnknownOvhError],
2752
+ protocol: OvhProtocol,
2753
+ retry: Retry.Retry,
2754
+ }));
2755
+
2756
+ export type DeleteEmailProAccountError = OvhOpError;
2757
+ /** Delete existing mailbox in pro server */
2758
+ export const deleteEmailProAccount: API.OperationMethod<
2759
+ DeleteEmailProAccountRequest,
2760
+ EmailProTask,
2761
+ DeleteEmailProAccountError,
2762
+ OvhOpContext
2763
+ > = /*@__PURE__*/ API.make(() => ({
2764
+ input: DeleteEmailProAccountRequest,
2765
+ output: EmailProTask,
2766
+ errors: [UnknownOvhError],
2767
+ protocol: OvhProtocol,
2768
+ retry: Retry.Retry,
2769
+ }));
2770
+
2771
+ export type DeleteEmailProAccountAliasError = OvhOpError;
2772
+ /** Delete existing alias */
2773
+ export const deleteEmailProAccountAlias: API.OperationMethod<
2774
+ DeleteEmailProAccountAliasRequest,
2775
+ EmailProTask,
2776
+ DeleteEmailProAccountAliasError,
2777
+ OvhOpContext
2778
+ > = /*@__PURE__*/ API.make(() => ({
2779
+ input: DeleteEmailProAccountAliasRequest,
2780
+ output: EmailProTask,
2781
+ errors: [UnknownOvhError],
2782
+ protocol: OvhProtocol,
2783
+ retry: Retry.Retry,
2784
+ }));
2785
+
2786
+ export type DeleteEmailProAccountFullAccessError = OvhOpError;
2787
+ /** Revoke full access */
2788
+ export const deleteEmailProAccountFullAccess: API.OperationMethod<
2789
+ DeleteEmailProAccountFullAccessRequest,
2790
+ EmailProTask,
2791
+ DeleteEmailProAccountFullAccessError,
2792
+ OvhOpContext
2793
+ > = /*@__PURE__*/ API.make(() => ({
2794
+ input: DeleteEmailProAccountFullAccessRequest,
2795
+ output: EmailProTask,
2796
+ errors: [UnknownOvhError],
2797
+ protocol: OvhProtocol,
2798
+ retry: Retry.Retry,
2799
+ }));
2800
+
2801
+ export type DeleteEmailProAccountSendAsError = OvhOpError;
2802
+ /** Delete allowed user for sendAs */
2803
+ export const deleteEmailProAccountSendAs: API.OperationMethod<
2804
+ DeleteEmailProAccountSendAsRequest,
2805
+ EmailProTask,
2806
+ DeleteEmailProAccountSendAsError,
2807
+ OvhOpContext
2808
+ > = /*@__PURE__*/ API.make(() => ({
2809
+ input: DeleteEmailProAccountSendAsRequest,
2810
+ output: EmailProTask,
2811
+ errors: [UnknownOvhError],
2812
+ protocol: OvhProtocol,
2813
+ retry: Retry.Retry,
2814
+ }));
2815
+
2816
+ export type DeleteEmailProAccountSendOnBehalfToError = OvhOpError;
2817
+ /** Delete allowed user for SendOnBehalfTo */
2818
+ export const deleteEmailProAccountSendOnBehalfTo: API.OperationMethod<
2819
+ DeleteEmailProAccountSendOnBehalfToRequest,
2820
+ EmailProTask,
2821
+ DeleteEmailProAccountSendOnBehalfToError,
2822
+ OvhOpContext
2823
+ > = /*@__PURE__*/ API.make(() => ({
2824
+ input: DeleteEmailProAccountSendOnBehalfToRequest,
2825
+ output: EmailProTask,
2826
+ errors: [UnknownOvhError],
2827
+ protocol: OvhProtocol,
2828
+ retry: Retry.Retry,
2829
+ }));
2830
+
2831
+ export type DeleteEmailProDomainError = OvhOpError;
2832
+ /** Delete existing domain in pro services */
2833
+ export const deleteEmailProDomain: API.OperationMethod<
2834
+ DeleteEmailProDomainRequest,
2835
+ EmailProTask,
2836
+ DeleteEmailProDomainError,
2837
+ OvhOpContext
2838
+ > = /*@__PURE__*/ API.make(() => ({
2839
+ input: DeleteEmailProDomainRequest,
2840
+ output: EmailProTask,
2841
+ errors: [UnknownOvhError],
2842
+ protocol: OvhProtocol,
2843
+ retry: Retry.Retry,
2844
+ }));
2845
+
2846
+ export type DeleteEmailProDomainDisclaimerError = OvhOpError;
2847
+ /** Delete existing organization disclaimer */
2848
+ export const deleteEmailProDomainDisclaimer: API.OperationMethod<
2849
+ DeleteEmailProDomainDisclaimerRequest,
2850
+ EmailProTask,
2851
+ DeleteEmailProDomainDisclaimerError,
2852
+ OvhOpContext
2853
+ > = /*@__PURE__*/ API.make(() => ({
2854
+ input: DeleteEmailProDomainDisclaimerRequest,
2855
+ output: EmailProTask,
2856
+ errors: [UnknownOvhError],
2857
+ protocol: OvhProtocol,
2858
+ retry: Retry.Retry,
2859
+ }));
2860
+
2861
+ export type DeleteEmailProDomainDkimError = OvhOpError;
2862
+ /** Delete DKIM selector on this domain */
2863
+ export const deleteEmailProDomainDkim: API.OperationMethod<
2864
+ DeleteEmailProDomainDkimRequest,
2865
+ EmailProTask,
2866
+ DeleteEmailProDomainDkimError,
2867
+ OvhOpContext
2868
+ > = /*@__PURE__*/ API.make(() => ({
2869
+ input: DeleteEmailProDomainDkimRequest,
2870
+ output: EmailProTask,
2871
+ errors: [UnknownOvhError],
2872
+ protocol: OvhProtocol,
2873
+ retry: Retry.Retry,
2874
+ }));
2875
+
2876
+ export type DeleteEmailProExternalContactError = OvhOpError;
2877
+ /** delete external contact */
2878
+ export const deleteEmailProExternalContact: API.OperationMethod<
2879
+ DeleteEmailProExternalContactRequest,
2880
+ EmailProTask,
2881
+ DeleteEmailProExternalContactError,
2882
+ OvhOpContext
2883
+ > = /*@__PURE__*/ API.make(() => ({
2884
+ input: DeleteEmailProExternalContactRequest,
2885
+ output: EmailProTask,
2886
+ errors: [UnknownOvhError],
2887
+ protocol: OvhProtocol,
2888
+ retry: Retry.Retry,
2889
+ }));
2890
+
2891
+ export type DisableEmailProDomainDkimError = OvhOpError;
2892
+ /** disable dkim signing */
2893
+ export const disableEmailProDomainDkim: API.OperationMethod<
2894
+ DisableEmailProDomainDkimRequest,
2895
+ EmailProTask,
2896
+ DisableEmailProDomainDkimError,
2897
+ OvhOpContext
2898
+ > = /*@__PURE__*/ API.make(() => ({
2899
+ input: DisableEmailProDomainDkimRequest,
2900
+ output: EmailProTask,
2901
+ errors: [UnknownOvhError],
2902
+ protocol: OvhProtocol,
2903
+ retry: Retry.Retry,
2904
+ }));
2905
+
2906
+ export type EnableEmailProDomainDkimError = OvhOpError;
2907
+ /** enable dkim signing or switch selector used */
2908
+ export const enableEmailProDomainDkim: API.OperationMethod<
2909
+ EnableEmailProDomainDkimRequest,
2910
+ EmailProTask,
2911
+ EnableEmailProDomainDkimError,
2912
+ OvhOpContext
2913
+ > = /*@__PURE__*/ API.make(() => ({
2914
+ input: EnableEmailProDomainDkimRequest,
2915
+ output: EmailProTask,
2916
+ errors: [UnknownOvhError],
2917
+ protocol: OvhProtocol,
2918
+ retry: Retry.Retry,
2919
+ }));
2920
+
2921
+ export type GetEmailProError = OvhOpError;
2922
+ /** Get this object properties */
2923
+ export const getEmailPro: API.OperationMethod<
2924
+ GetEmailProRequest,
2925
+ EmailProServiceNativeWithIAM,
2926
+ GetEmailProError,
2927
+ OvhOpContext
2928
+ > = /*@__PURE__*/ API.make(() => ({
2929
+ input: GetEmailProRequest,
2930
+ output: EmailProServiceNativeWithIAM,
2931
+ errors: [UnknownOvhError],
2932
+ protocol: OvhProtocol,
2933
+ retry: Retry.Retry,
2934
+ }));
2935
+
2936
+ export type GetEmailProAccountError = OvhOpError;
2937
+ /** Get this object properties */
2938
+ export const getEmailProAccount: API.OperationMethod<
2939
+ GetEmailProAccountRequest,
2940
+ EmailProAccountNative,
2941
+ GetEmailProAccountError,
2942
+ OvhOpContext
2943
+ > = /*@__PURE__*/ API.make(() => ({
2944
+ input: GetEmailProAccountRequest,
2945
+ output: EmailProAccountNative,
2946
+ errors: [UnknownOvhError],
2947
+ protocol: OvhProtocol,
2948
+ retry: Retry.Retry,
2949
+ }));
2950
+
2951
+ export type GetEmailProAccountAliasError = OvhOpError;
2952
+ /** Get this object properties */
2953
+ export const getEmailProAccountAlias: API.OperationMethod<
2954
+ GetEmailProAccountAliasRequest,
2955
+ EmailProAccountAlias,
2956
+ GetEmailProAccountAliasError,
2957
+ OvhOpContext
2958
+ > = /*@__PURE__*/ API.make(() => ({
2959
+ input: GetEmailProAccountAliasRequest,
2960
+ output: EmailProAccountAlias,
2961
+ errors: [UnknownOvhError],
2962
+ protocol: OvhProtocol,
2963
+ retry: Retry.Retry,
2964
+ }));
2965
+
2966
+ export type GetEmailProAccountDiagnosticsError = OvhOpError;
2967
+ /** Get this object properties */
2968
+ export const getEmailProAccountDiagnostics: API.OperationMethod<
2969
+ GetEmailProAccountDiagnosticsRequest,
2970
+ EmailProAccountDiagnosis,
2971
+ GetEmailProAccountDiagnosticsError,
2972
+ OvhOpContext
2973
+ > = /*@__PURE__*/ API.make(() => ({
2974
+ input: GetEmailProAccountDiagnosticsRequest,
2975
+ output: EmailProAccountDiagnosis,
2976
+ errors: [UnknownOvhError],
2977
+ protocol: OvhProtocol,
2978
+ retry: Retry.Retry,
2979
+ }));
2980
+
2981
+ export type GetEmailProAccountFullAccessError = OvhOpError;
2982
+ /** Get this object properties */
2983
+ export const getEmailProAccountFullAccess: API.OperationMethod<
2984
+ GetEmailProAccountFullAccessRequest,
2985
+ EmailProAccountFullAccess,
2986
+ GetEmailProAccountFullAccessError,
2987
+ OvhOpContext
2988
+ > = /*@__PURE__*/ API.make(() => ({
2989
+ input: GetEmailProAccountFullAccessRequest,
2990
+ output: EmailProAccountFullAccess,
2991
+ errors: [UnknownOvhError],
2992
+ protocol: OvhProtocol,
2993
+ retry: Retry.Retry,
2994
+ }));
2995
+
2996
+ export type GetEmailProAccountSendAsError = OvhOpError;
2997
+ /** Get this object properties */
2998
+ export const getEmailProAccountSendAs: API.OperationMethod<
2999
+ GetEmailProAccountSendAsRequest,
3000
+ EmailProAccountSendAs,
3001
+ GetEmailProAccountSendAsError,
3002
+ OvhOpContext
3003
+ > = /*@__PURE__*/ API.make(() => ({
3004
+ input: GetEmailProAccountSendAsRequest,
3005
+ output: EmailProAccountSendAs,
3006
+ errors: [UnknownOvhError],
3007
+ protocol: OvhProtocol,
3008
+ retry: Retry.Retry,
3009
+ }));
3010
+
3011
+ export type GetEmailProAccountSendOnBehalfToError = OvhOpError;
3012
+ /** Get this object properties */
3013
+ export const getEmailProAccountSendOnBehalfTo: API.OperationMethod<
3014
+ GetEmailProAccountSendOnBehalfToRequest,
3015
+ EmailProAccountSendOnBehalfTo,
3016
+ GetEmailProAccountSendOnBehalfToError,
3017
+ OvhOpContext
3018
+ > = /*@__PURE__*/ API.make(() => ({
3019
+ input: GetEmailProAccountSendOnBehalfToRequest,
3020
+ output: EmailProAccountSendOnBehalfTo,
3021
+ errors: [UnknownOvhError],
3022
+ protocol: OvhProtocol,
3023
+ retry: Retry.Retry,
3024
+ }));
3025
+
3026
+ export type GetEmailProAccountTaskError = OvhOpError;
3027
+ /** Get this object properties */
3028
+ export const getEmailProAccountTask: API.OperationMethod<
3029
+ GetEmailProAccountTaskRequest,
3030
+ EmailProTask,
3031
+ GetEmailProAccountTaskError,
3032
+ OvhOpContext
3033
+ > = /*@__PURE__*/ API.make(() => ({
3034
+ input: GetEmailProAccountTaskRequest,
3035
+ output: EmailProTask,
3036
+ errors: [UnknownOvhError],
3037
+ protocol: OvhProtocol,
3038
+ retry: Retry.Retry,
3039
+ }));
3040
+
3041
+ export type GetEmailProBillingMigratedError = OvhOpError;
3042
+ /** Detects billing transition status for the service */
3043
+ export const getEmailProBillingMigrated: API.OperationMethod<
3044
+ GetEmailProBillingMigratedRequest,
3045
+ GetEmailProBillingMigratedResponse,
3046
+ GetEmailProBillingMigratedError,
3047
+ OvhOpContext
3048
+ > = /*@__PURE__*/ API.make(() => ({
3049
+ input: GetEmailProBillingMigratedRequest,
3050
+ output: GetEmailProBillingMigratedResponse,
3051
+ errors: [UnknownOvhError],
3052
+ protocol: OvhProtocol,
3053
+ retry: Retry.Retry,
3054
+ }));
3055
+
3056
+ export type GetEmailProBillingPlanError = OvhOpError;
3057
+ /** Emailpro billing plan */
3058
+ export const getEmailProBillingPlan: API.OperationMethod<
3059
+ GetEmailProBillingPlanRequest,
3060
+ GetEmailProBillingPlanResponse,
3061
+ GetEmailProBillingPlanError,
3062
+ OvhOpContext
3063
+ > = /*@__PURE__*/ API.make(() => ({
3064
+ input: GetEmailProBillingPlanRequest,
3065
+ output: GetEmailProBillingPlanResponse,
3066
+ errors: [UnknownOvhError],
3067
+ protocol: OvhProtocol,
3068
+ retry: Retry.Retry,
3069
+ }));
3070
+
3071
+ export type GetEmailProDomainError = OvhOpError;
3072
+ /** Get this object properties */
3073
+ export const getEmailProDomain: API.OperationMethod<
3074
+ GetEmailProDomainRequest,
3075
+ EmailProDomainNative,
3076
+ GetEmailProDomainError,
3077
+ OvhOpContext
3078
+ > = /*@__PURE__*/ API.make(() => ({
3079
+ input: GetEmailProDomainRequest,
3080
+ output: EmailProDomainNative,
3081
+ errors: [UnknownOvhError],
3082
+ protocol: OvhProtocol,
3083
+ retry: Retry.Retry,
3084
+ }));
3085
+
3086
+ export type GetEmailProDomainDisclaimerError = OvhOpError;
3087
+ /** Get this object properties */
3088
+ export const getEmailProDomainDisclaimer: API.OperationMethod<
3089
+ GetEmailProDomainDisclaimerRequest,
3090
+ EmailProDisclaimerNative,
3091
+ GetEmailProDomainDisclaimerError,
3092
+ OvhOpContext
3093
+ > = /*@__PURE__*/ API.make(() => ({
3094
+ input: GetEmailProDomainDisclaimerRequest,
3095
+ output: EmailProDisclaimerNative,
3096
+ errors: [UnknownOvhError],
3097
+ protocol: OvhProtocol,
3098
+ retry: Retry.Retry,
3099
+ }));
3100
+
3101
+ export type GetEmailProDomainDkimError = OvhOpError;
3102
+ /** Get this object properties */
3103
+ export const getEmailProDomainDkim: API.OperationMethod<
3104
+ GetEmailProDomainDkimRequest,
3105
+ EmailProDkim,
3106
+ GetEmailProDomainDkimError,
3107
+ OvhOpContext
3108
+ > = /*@__PURE__*/ API.make(() => ({
3109
+ input: GetEmailProDomainDkimRequest,
3110
+ output: EmailProDkim,
3111
+ errors: [UnknownOvhError],
3112
+ protocol: OvhProtocol,
3113
+ retry: Retry.Retry,
3114
+ }));
3115
+
3116
+ export type GetEmailProExternalContactError = OvhOpError;
3117
+ /** Get this object properties */
3118
+ export const getEmailProExternalContact: API.OperationMethod<
3119
+ GetEmailProExternalContactRequest,
3120
+ EmailProExternalContactNative,
3121
+ GetEmailProExternalContactError,
3122
+ OvhOpContext
3123
+ > = /*@__PURE__*/ API.make(() => ({
3124
+ input: GetEmailProExternalContactRequest,
3125
+ output: EmailProExternalContactNative,
3126
+ errors: [UnknownOvhError],
3127
+ protocol: OvhProtocol,
3128
+ retry: Retry.Retry,
3129
+ }));
3130
+
3131
+ export type GetEmailProServerError = OvhOpError;
3132
+ /** Get this object properties */
3133
+ export const getEmailProServer: API.OperationMethod<
3134
+ GetEmailProServerRequest,
3135
+ EmailProServer,
3136
+ GetEmailProServerError,
3137
+ OvhOpContext
3138
+ > = /*@__PURE__*/ API.make(() => ({
3139
+ input: GetEmailProServerRequest,
3140
+ output: EmailProServer,
3141
+ errors: [UnknownOvhError],
3142
+ protocol: OvhProtocol,
3143
+ retry: Retry.Retry,
3144
+ }));
3145
+
3146
+ export type GetEmailProServiceInfosError = OvhOpError;
3147
+ /** Get service information */
3148
+ export const getEmailProServiceInfos: API.OperationMethod<
3149
+ GetEmailProServiceInfosRequest,
3150
+ ServicesService,
3151
+ GetEmailProServiceInfosError,
3152
+ OvhOpContext
3153
+ > = /*@__PURE__*/ API.make(() => ({
3154
+ input: GetEmailProServiceInfosRequest,
3155
+ output: ServicesService,
3156
+ errors: [UnknownOvhError],
3157
+ protocol: OvhProtocol,
3158
+ retry: Retry.Retry,
3159
+ }));
3160
+
3161
+ export type GetEmailProTaskError = OvhOpError;
3162
+ /** Get this object properties */
3163
+ export const getEmailProTask: API.OperationMethod<
3164
+ GetEmailProTaskRequest,
3165
+ EmailProTask,
3166
+ GetEmailProTaskError,
3167
+ OvhOpContext
3168
+ > = /*@__PURE__*/ API.make(() => ({
3169
+ input: GetEmailProTaskRequest,
3170
+ output: EmailProTask,
3171
+ errors: [UnknownOvhError],
3172
+ protocol: OvhProtocol,
3173
+ retry: Retry.Retry,
3174
+ }));
3175
+
3176
+ export type ListEmailProError = OvhOpError;
3177
+ /** List available services */
3178
+ export const listEmailPro: API.OperationMethod<
3179
+ ListEmailProRequest,
3180
+ ListEmailProResponse,
3181
+ ListEmailProError,
3182
+ OvhOpContext
3183
+ > = /*@__PURE__*/ API.make(() => ({
3184
+ input: ListEmailProRequest,
3185
+ output: ListEmailProResponse,
3186
+ errors: [UnknownOvhError],
3187
+ protocol: OvhProtocol,
3188
+ retry: Retry.Retry,
3189
+ }));
3190
+
3191
+ export type ListEmailProAccountError = OvhOpError;
3192
+ /** Accounts associated to this pro service */
3193
+ export const listEmailProAccount: API.OperationMethod<
3194
+ ListEmailProAccountRequest,
3195
+ ListEmailProAccountResponse,
3196
+ ListEmailProAccountError,
3197
+ OvhOpContext
3198
+ > = /*@__PURE__*/ API.make(() => ({
3199
+ input: ListEmailProAccountRequest,
3200
+ output: ListEmailProAccountResponse,
3201
+ errors: [UnknownOvhError],
3202
+ protocol: OvhProtocol,
3203
+ retry: Retry.Retry,
3204
+ }));
3205
+
3206
+ export type ListEmailProAccountAliasError = OvhOpError;
3207
+ /** Aliases associated to this mailbox */
3208
+ export const listEmailProAccountAlias: API.OperationMethod<
3209
+ ListEmailProAccountAliasRequest,
3210
+ ListEmailProAccountAliasResponse,
3211
+ ListEmailProAccountAliasError,
3212
+ OvhOpContext
3213
+ > = /*@__PURE__*/ API.make(() => ({
3214
+ input: ListEmailProAccountAliasRequest,
3215
+ output: ListEmailProAccountAliasResponse,
3216
+ errors: [UnknownOvhError],
3217
+ protocol: OvhProtocol,
3218
+ retry: Retry.Retry,
3219
+ }));
3220
+
3221
+ export type ListEmailProAccountFullAccessError = OvhOpError;
3222
+ /** Full access granted users for this mailbox */
3223
+ export const listEmailProAccountFullAccess: API.OperationMethod<
3224
+ ListEmailProAccountFullAccessRequest,
3225
+ ListEmailProAccountFullAccessResponse,
3226
+ ListEmailProAccountFullAccessError,
3227
+ OvhOpContext
3228
+ > = /*@__PURE__*/ API.make(() => ({
3229
+ input: ListEmailProAccountFullAccessRequest,
3230
+ output: ListEmailProAccountFullAccessResponse,
3231
+ errors: [UnknownOvhError],
3232
+ protocol: OvhProtocol,
3233
+ retry: Retry.Retry,
3234
+ }));
3235
+
3236
+ export type ListEmailProAccountSendAsError = OvhOpError;
3237
+ /** Send as granted users for this mailbox */
3238
+ export const listEmailProAccountSendAs: API.OperationMethod<
3239
+ ListEmailProAccountSendAsRequest,
3240
+ ListEmailProAccountSendAsResponse,
3241
+ ListEmailProAccountSendAsError,
3242
+ OvhOpContext
3243
+ > = /*@__PURE__*/ API.make(() => ({
3244
+ input: ListEmailProAccountSendAsRequest,
3245
+ output: ListEmailProAccountSendAsResponse,
3246
+ errors: [UnknownOvhError],
3247
+ protocol: OvhProtocol,
3248
+ retry: Retry.Retry,
3249
+ }));
3250
+
3251
+ export type ListEmailProAccountSendOnBehalfToError = OvhOpError;
3252
+ /** SendOnBehalfTo granted users for this mailbox */
3253
+ export const listEmailProAccountSendOnBehalfTo: API.OperationMethod<
3254
+ ListEmailProAccountSendOnBehalfToRequest,
3255
+ ListEmailProAccountSendOnBehalfToResponse,
3256
+ ListEmailProAccountSendOnBehalfToError,
3257
+ OvhOpContext
3258
+ > = /*@__PURE__*/ API.make(() => ({
3259
+ input: ListEmailProAccountSendOnBehalfToRequest,
3260
+ output: ListEmailProAccountSendOnBehalfToResponse,
3261
+ errors: [UnknownOvhError],
3262
+ protocol: OvhProtocol,
3263
+ retry: Retry.Retry,
3264
+ }));
3265
+
3266
+ export type ListEmailProAccountTasksError = OvhOpError;
3267
+ /** Pending task for this mailbox */
3268
+ export const listEmailProAccountTasks: API.OperationMethod<
3269
+ ListEmailProAccountTasksRequest,
3270
+ ListEmailProAccountTasksResponse,
3271
+ ListEmailProAccountTasksError,
3272
+ OvhOpContext
3273
+ > = /*@__PURE__*/ API.make(() => ({
3274
+ input: ListEmailProAccountTasksRequest,
3275
+ output: ListEmailProAccountTasksResponse,
3276
+ errors: [UnknownOvhError],
3277
+ protocol: OvhProtocol,
3278
+ retry: Retry.Retry,
3279
+ }));
3280
+
3281
+ export type ListEmailProDomainError = OvhOpError;
3282
+ /** Domains associated to this service */
3283
+ export const listEmailProDomain: API.OperationMethod<
3284
+ ListEmailProDomainRequest,
3285
+ ListEmailProDomainResponse,
3286
+ ListEmailProDomainError,
3287
+ OvhOpContext
3288
+ > = /*@__PURE__*/ API.make(() => ({
3289
+ input: ListEmailProDomainRequest,
3290
+ output: ListEmailProDomainResponse,
3291
+ errors: [UnknownOvhError],
3292
+ protocol: OvhProtocol,
3293
+ retry: Retry.Retry,
3294
+ }));
3295
+
3296
+ export type ListEmailProDomainDisclaimerAttributeError = OvhOpError;
3297
+ /** Get diclaimer attributes to substitute with Active Directory properties */
3298
+ export const listEmailProDomainDisclaimerAttribute: API.OperationMethod<
3299
+ ListEmailProDomainDisclaimerAttributeRequest,
3300
+ ListEmailProDomainDisclaimerAttributeResponse,
3301
+ ListEmailProDomainDisclaimerAttributeError,
3302
+ OvhOpContext
3303
+ > = /*@__PURE__*/ API.make(() => ({
3304
+ input: ListEmailProDomainDisclaimerAttributeRequest,
3305
+ output: ListEmailProDomainDisclaimerAttributeResponse,
3306
+ errors: [UnknownOvhError],
3307
+ protocol: OvhProtocol,
3308
+ retry: Retry.Retry,
3309
+ }));
3310
+
3311
+ export type ListEmailProDomainDkimError = OvhOpError;
3312
+ /** DKIM associated to this domain */
3313
+ export const listEmailProDomainDkim: API.OperationMethod<
3314
+ ListEmailProDomainDkimRequest,
3315
+ ListEmailProDomainDkimResponse,
3316
+ ListEmailProDomainDkimError,
3317
+ OvhOpContext
3318
+ > = /*@__PURE__*/ API.make(() => ({
3319
+ input: ListEmailProDomainDkimRequest,
3320
+ output: ListEmailProDomainDkimResponse,
3321
+ errors: [UnknownOvhError],
3322
+ protocol: OvhProtocol,
3323
+ retry: Retry.Retry,
3324
+ }));
3325
+
3326
+ export type ListEmailProDomainDkimSelectorError = OvhOpError;
3327
+ /** Get dkim selector list */
3328
+ export const listEmailProDomainDkimSelector: API.OperationMethod<
3329
+ ListEmailProDomainDkimSelectorRequest,
3330
+ ListEmailProDomainDkimSelectorResponse,
3331
+ ListEmailProDomainDkimSelectorError,
3332
+ OvhOpContext
3333
+ > = /*@__PURE__*/ API.make(() => ({
3334
+ input: ListEmailProDomainDkimSelectorRequest,
3335
+ output: ListEmailProDomainDkimSelectorResponse,
3336
+ errors: [UnknownOvhError],
3337
+ protocol: OvhProtocol,
3338
+ retry: Retry.Retry,
3339
+ }));
3340
+
3341
+ export type ListEmailProExternalContactError = OvhOpError;
3342
+ /** External contacts for this service */
3343
+ export const listEmailProExternalContact: API.OperationMethod<
3344
+ ListEmailProExternalContactRequest,
3345
+ ListEmailProExternalContactResponse,
3346
+ ListEmailProExternalContactError,
3347
+ OvhOpContext
3348
+ > = /*@__PURE__*/ API.make(() => ({
3349
+ input: ListEmailProExternalContactRequest,
3350
+ output: ListEmailProExternalContactResponse,
3351
+ errors: [UnknownOvhError],
3352
+ protocol: OvhProtocol,
3353
+ retry: Retry.Retry,
3354
+ }));
3355
+
3356
+ export type ListEmailProTaskError = OvhOpError;
3357
+ /** Pending actions */
3358
+ export const listEmailProTask: API.OperationMethod<
3359
+ ListEmailProTaskRequest,
3360
+ ListEmailProTaskResponse,
3361
+ ListEmailProTaskError,
3362
+ OvhOpContext
3363
+ > = /*@__PURE__*/ API.make(() => ({
3364
+ input: ListEmailProTaskRequest,
3365
+ output: ListEmailProTaskResponse,
3366
+ errors: [UnknownOvhError],
3367
+ protocol: OvhProtocol,
3368
+ retry: Retry.Retry,
3369
+ }));
3370
+
3371
+ export type PutEmailProError = OvhOpError;
3372
+ /** Alter this object properties */
3373
+ export const putEmailPro: API.OperationMethod<
3374
+ PutEmailProRequest,
3375
+ PutEmailProResponse,
3376
+ PutEmailProError,
3377
+ OvhOpContext
3378
+ > = /*@__PURE__*/ API.make(() => ({
3379
+ input: PutEmailProRequest,
3380
+ output: PutEmailProResponse,
3381
+ errors: [UnknownOvhError],
3382
+ protocol: OvhProtocol,
3383
+ retry: Retry.Retry,
3384
+ }));
3385
+
3386
+ export type PutEmailProAccountError = OvhOpError;
3387
+ /** Alter this object properties */
3388
+ export const putEmailProAccount: API.OperationMethod<
3389
+ PutEmailProAccountRequest,
3390
+ PutEmailProAccountResponse,
3391
+ PutEmailProAccountError,
3392
+ OvhOpContext
3393
+ > = /*@__PURE__*/ API.make(() => ({
3394
+ input: PutEmailProAccountRequest,
3395
+ output: PutEmailProAccountResponse,
3396
+ errors: [UnknownOvhError],
3397
+ protocol: OvhProtocol,
3398
+ retry: Retry.Retry,
3399
+ }));
3400
+
3401
+ export type PutEmailProDomainError = OvhOpError;
3402
+ /** Alter this object properties */
3403
+ export const putEmailProDomain: API.OperationMethod<
3404
+ PutEmailProDomainRequest,
3405
+ PutEmailProDomainResponse,
3406
+ PutEmailProDomainError,
3407
+ OvhOpContext
3408
+ > = /*@__PURE__*/ API.make(() => ({
3409
+ input: PutEmailProDomainRequest,
3410
+ output: PutEmailProDomainResponse,
3411
+ errors: [UnknownOvhError],
3412
+ protocol: OvhProtocol,
3413
+ retry: Retry.Retry,
3414
+ }));
3415
+
3416
+ export type PutEmailProDomainDisclaimerError = OvhOpError;
3417
+ /** Alter this object properties */
3418
+ export const putEmailProDomainDisclaimer: API.OperationMethod<
3419
+ PutEmailProDomainDisclaimerRequest,
3420
+ PutEmailProDomainDisclaimerResponse,
3421
+ PutEmailProDomainDisclaimerError,
3422
+ OvhOpContext
3423
+ > = /*@__PURE__*/ API.make(() => ({
3424
+ input: PutEmailProDomainDisclaimerRequest,
3425
+ output: PutEmailProDomainDisclaimerResponse,
3426
+ errors: [UnknownOvhError],
3427
+ protocol: OvhProtocol,
3428
+ retry: Retry.Retry,
3429
+ }));
3430
+
3431
+ export type PutEmailProExternalContactError = OvhOpError;
3432
+ /** Alter this object properties */
3433
+ export const putEmailProExternalContact: API.OperationMethod<
3434
+ PutEmailProExternalContactRequest,
3435
+ PutEmailProExternalContactResponse,
3436
+ PutEmailProExternalContactError,
3437
+ OvhOpContext
3438
+ > = /*@__PURE__*/ API.make(() => ({
3439
+ input: PutEmailProExternalContactRequest,
3440
+ output: PutEmailProExternalContactResponse,
3441
+ errors: [UnknownOvhError],
3442
+ protocol: OvhProtocol,
3443
+ retry: Retry.Retry,
3444
+ }));
3445
+
3446
+ export type PutEmailProServiceInfosError = OvhOpError;
3447
+ /** Update service information */
3448
+ export const putEmailProServiceInfos: API.OperationMethod<
3449
+ PutEmailProServiceInfosRequest,
3450
+ PutEmailProServiceInfosResponse,
3451
+ PutEmailProServiceInfosError,
3452
+ OvhOpContext
3453
+ > = /*@__PURE__*/ API.make(() => ({
3454
+ input: PutEmailProServiceInfosRequest,
3455
+ output: PutEmailProServiceInfosResponse,
3456
+ errors: [UnknownOvhError],
3457
+ protocol: OvhProtocol,
3458
+ retry: Retry.Retry,
3459
+ }));
3460
+
3461
+ export type SendEmailProAccountAsError = OvhOpError;
3462
+ /** Allow another user to send mails from this mailbox */
3463
+ export const sendEmailProAccountAs: API.OperationMethod<
3464
+ SendEmailProAccountAsRequest,
3465
+ EmailProTask,
3466
+ SendEmailProAccountAsError,
3467
+ OvhOpContext
3468
+ > = /*@__PURE__*/ API.make(() => ({
3469
+ input: SendEmailProAccountAsRequest,
3470
+ output: EmailProTask,
3471
+ errors: [UnknownOvhError],
3472
+ protocol: OvhProtocol,
3473
+ retry: Retry.Retry,
3474
+ }));
3475
+
3476
+ export type SendEmailProAccountOnBehalfToError = OvhOpError;
3477
+ /** Allow another user to Send On Behalf To mails from this mailbox */
3478
+ export const sendEmailProAccountOnBehalfTo: API.OperationMethod<
3479
+ SendEmailProAccountOnBehalfToRequest,
3480
+ EmailProTask,
3481
+ SendEmailProAccountOnBehalfToError,
3482
+ OvhOpContext
3483
+ > = /*@__PURE__*/ API.make(() => ({
3484
+ input: SendEmailProAccountOnBehalfToRequest,
3485
+ output: EmailProTask,
3486
+ errors: [UnknownOvhError],
3487
+ protocol: OvhProtocol,
3488
+ retry: Retry.Retry,
3489
+ }));
3490
+
3491
+ export type TerminateEmailProAccountError = OvhOpError;
3492
+ /** Terminate account at expiration date */
3493
+ export const terminateEmailProAccount: API.OperationMethod<
3494
+ TerminateEmailProAccountRequest,
3495
+ TerminateEmailProAccountResponse,
3496
+ TerminateEmailProAccountError,
3497
+ OvhOpContext
3498
+ > = /*@__PURE__*/ API.make(() => ({
3499
+ input: TerminateEmailProAccountRequest,
3500
+ output: TerminateEmailProAccountResponse,
3501
+ errors: [UnknownOvhError],
3502
+ protocol: OvhProtocol,
3503
+ retry: Retry.Retry,
3504
+ }));
3505
+
3506
+ export type UpdateEmailProFlagsOnAllAccountsError = OvhOpError;
3507
+ /** Update spam and virus flags on all active accounts */
3508
+ export const updateEmailProFlagsOnAllAccounts: API.OperationMethod<
3509
+ UpdateEmailProFlagsOnAllAccountsRequest,
3510
+ UpdateEmailProFlagsOnAllAccountsResponse,
3511
+ UpdateEmailProFlagsOnAllAccountsError,
3512
+ OvhOpContext
3513
+ > = /*@__PURE__*/ API.make(() => ({
3514
+ input: UpdateEmailProFlagsOnAllAccountsRequest,
3515
+ output: UpdateEmailProFlagsOnAllAccountsResponse,
3516
+ errors: [UnknownOvhError],
3517
+ protocol: OvhProtocol,
3518
+ retry: Retry.Retry,
3519
+ }));