@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4200 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31119 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5760 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +962 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +967 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3080 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1833 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1691 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3554 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3072 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8878 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1353 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1791 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1022 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14894 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +842 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +842 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4527 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3682 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10954 -0
- package/src/services/cloud.ts +75508 -0
- package/src/services/cloud_v2.ts +14751 -0
- package/src/services/dedicatedceph.ts +2233 -0
- package/src/services/dedicatednasha.ts +2269 -0
- package/src/services/domain.ts +7998 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4218 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4462 -0
- package/src/services/iploadbalancing.ts +8422 -0
- package/src/services/ldp.ts +7274 -0
- package/src/services/me.ts +21720 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3226 -0
- package/src/services/packxdsl.ts +4623 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2433 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32941 -0
- package/src/services/vmwareclouddirectorbackup.ts +2171 -0
- package/src/services/vmwareclouddirectororganization.ts +2171 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11290 -0
- package/src/services/xdsl.ts +9278 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,4462 @@
|
|
|
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 API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
OvhProtocol,
|
|
7
|
+
type OvhOpError,
|
|
8
|
+
type OvhOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import { UnknownOvhError } from "../errors.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { OvhOpError, OvhOpContext };
|
|
14
|
+
|
|
15
|
+
/** All future uses you can provide for a service termination */
|
|
16
|
+
export type ServiceTerminationFutureUseEnum =
|
|
17
|
+
| "NOT_REPLACING_SERVICE"
|
|
18
|
+
| "OTHER"
|
|
19
|
+
| "SUBSCRIBE_AN_OTHER_SERVICE"
|
|
20
|
+
| "SUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITOR"
|
|
21
|
+
| "SUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR";
|
|
22
|
+
export const ServiceTerminationFutureUseEnum = /*@__PURE__*/ S.String;
|
|
23
|
+
|
|
24
|
+
/** All reasons you can provide for a service termination */
|
|
25
|
+
export type ServiceTerminationReasonEnum =
|
|
26
|
+
| "FEATURES_DONT_SUIT_ME"
|
|
27
|
+
| "LACK_OF_PERFORMANCES"
|
|
28
|
+
| "MIGRATED_TO_ANOTHER_OVH_PRODUCT"
|
|
29
|
+
| "MIGRATED_TO_COMPETITOR"
|
|
30
|
+
| "NOT_ENOUGH_RECOGNITION"
|
|
31
|
+
| "NOT_NEEDED_ANYMORE"
|
|
32
|
+
| "NOT_RELIABLE"
|
|
33
|
+
| "NO_ANSWER"
|
|
34
|
+
| "OTHER"
|
|
35
|
+
| "PRODUCT_DIMENSION_DONT_SUIT_ME"
|
|
36
|
+
| "PRODUCT_TOOLS_DONT_SUIT_ME"
|
|
37
|
+
| "TOO_EXPENSIVE"
|
|
38
|
+
| "TOO_HARD_TO_USE"
|
|
39
|
+
| "UNSATIFIED_BY_CUSTOMER_SUPPORT";
|
|
40
|
+
export const ServiceTerminationReasonEnum = /*@__PURE__*/ S.String;
|
|
41
|
+
|
|
42
|
+
export interface ConfirmIpServiceTerminationRequest {
|
|
43
|
+
/** The internal name of your IP services */
|
|
44
|
+
serviceName: string;
|
|
45
|
+
/** Commentary about your termination request */
|
|
46
|
+
commentary?: string;
|
|
47
|
+
/** What next after your termination request */
|
|
48
|
+
futureUse?: ServiceTerminationFutureUseEnum | (string & {});
|
|
49
|
+
/** Reason of your termination request */
|
|
50
|
+
reason?: ServiceTerminationReasonEnum | (string & {});
|
|
51
|
+
/** The termination token sent by email to the admin contact */
|
|
52
|
+
token: string;
|
|
53
|
+
}
|
|
54
|
+
export const ConfirmIpServiceTerminationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
55
|
+
S.Struct({
|
|
56
|
+
serviceName: S.String.pipe(T.Label()),
|
|
57
|
+
commentary: S.optional(S.String),
|
|
58
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
59
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
60
|
+
token: S.String,
|
|
61
|
+
}).pipe(
|
|
62
|
+
T.Http({
|
|
63
|
+
method: "POST",
|
|
64
|
+
uri: "/ip/service/{serviceName}/confirmTermination",
|
|
65
|
+
code: 200,
|
|
66
|
+
}),
|
|
67
|
+
),
|
|
68
|
+
).annotate({
|
|
69
|
+
identifier: "ConfirmIpServiceTerminationRequest",
|
|
70
|
+
}) as any as S.Schema<ConfirmIpServiceTerminationRequest>;
|
|
71
|
+
|
|
72
|
+
export type ConfirmIpServiceTerminationResponse = string;
|
|
73
|
+
export const ConfirmIpServiceTerminationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
74
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
75
|
+
).annotate({
|
|
76
|
+
identifier: "ConfirmIpServiceTerminationResponse",
|
|
77
|
+
}) as any as S.Schema<ConfirmIpServiceTerminationResponse>;
|
|
78
|
+
|
|
79
|
+
export interface CreateIpBringYourOwnIpAggregateRequest {
|
|
80
|
+
ip: string;
|
|
81
|
+
/** IP range to create by aggregation of all it's children */
|
|
82
|
+
aggregationIp: string;
|
|
83
|
+
}
|
|
84
|
+
export const CreateIpBringYourOwnIpAggregateRequest = /*@__PURE__*/ S.suspend(
|
|
85
|
+
() =>
|
|
86
|
+
S.Struct({
|
|
87
|
+
ip: S.String.pipe(T.Label()),
|
|
88
|
+
aggregationIp: S.String,
|
|
89
|
+
}).pipe(
|
|
90
|
+
T.Http({
|
|
91
|
+
method: "POST",
|
|
92
|
+
uri: "/ip/{ip}/bringYourOwnIp/aggregate",
|
|
93
|
+
code: 200,
|
|
94
|
+
}),
|
|
95
|
+
),
|
|
96
|
+
).annotate({
|
|
97
|
+
identifier: "CreateIpBringYourOwnIpAggregateRequest",
|
|
98
|
+
}) as any as S.Schema<CreateIpBringYourOwnIpAggregateRequest>;
|
|
99
|
+
|
|
100
|
+
/** Information about routing */
|
|
101
|
+
export interface IpRoutedTo {
|
|
102
|
+
/** Service where ip is routed to */
|
|
103
|
+
serviceName?: string | null;
|
|
104
|
+
}
|
|
105
|
+
export const IpRoutedTo = /*@__PURE__*/ S.suspend(() =>
|
|
106
|
+
S.Struct({
|
|
107
|
+
serviceName: S.optional(S.NullOr(S.String)),
|
|
108
|
+
}),
|
|
109
|
+
).annotate({ identifier: "IpRoutedTo" }) as any as S.Schema<IpRoutedTo>;
|
|
110
|
+
|
|
111
|
+
/** different task operation */
|
|
112
|
+
export type IpTaskFunctionEnum =
|
|
113
|
+
| "arinBlockReassign"
|
|
114
|
+
| "changeRipeOrg"
|
|
115
|
+
| "checkAndReleaseIp"
|
|
116
|
+
| "genericMoveFloatingIp"
|
|
117
|
+
| "supernetByoipFailoverPartitioning";
|
|
118
|
+
export const IpTaskFunctionEnum = /*@__PURE__*/ S.String;
|
|
119
|
+
|
|
120
|
+
/** different task status */
|
|
121
|
+
export type IpTaskStatusEnum =
|
|
122
|
+
| "cancelled"
|
|
123
|
+
| "customerError"
|
|
124
|
+
| "doing"
|
|
125
|
+
| "done"
|
|
126
|
+
| "init"
|
|
127
|
+
| "ovhError"
|
|
128
|
+
| "todo";
|
|
129
|
+
export const IpTaskStatusEnum = /*@__PURE__*/ S.String;
|
|
130
|
+
|
|
131
|
+
/** IP tasks */
|
|
132
|
+
export interface IpIpTask {
|
|
133
|
+
/** Details of this task */
|
|
134
|
+
comment?: string | null;
|
|
135
|
+
/** Destination for moveFloatingIp tasks */
|
|
136
|
+
destination?: IpRoutedTo | null;
|
|
137
|
+
/** Completion date */
|
|
138
|
+
doneDate?: string | null;
|
|
139
|
+
/** Function name */
|
|
140
|
+
function?: IpTaskFunctionEnum;
|
|
141
|
+
/** last update */
|
|
142
|
+
lastUpdate?: string | null;
|
|
143
|
+
/** Task Creation date */
|
|
144
|
+
startDate?: string;
|
|
145
|
+
/** Task status */
|
|
146
|
+
status?: IpTaskStatusEnum;
|
|
147
|
+
/** the id of the task */
|
|
148
|
+
taskId?: number;
|
|
149
|
+
}
|
|
150
|
+
export const IpIpTask = /*@__PURE__*/ S.suspend(() =>
|
|
151
|
+
S.Struct({
|
|
152
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
153
|
+
destination: S.optional(S.NullOr(IpRoutedTo)),
|
|
154
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
155
|
+
function: S.optional(IpTaskFunctionEnum),
|
|
156
|
+
lastUpdate: S.optional(S.NullOr(S.String)),
|
|
157
|
+
startDate: S.optional(S.String),
|
|
158
|
+
status: S.optional(IpTaskStatusEnum),
|
|
159
|
+
taskId: S.optional(S.Number),
|
|
160
|
+
}),
|
|
161
|
+
).annotate({ identifier: "IpIpTask" }) as any as S.Schema<IpIpTask>;
|
|
162
|
+
|
|
163
|
+
export interface CreateIpBringYourOwnIpSliceRequest {
|
|
164
|
+
ip: string;
|
|
165
|
+
/** Size (ip mask) of the IPs to create inside given IP */
|
|
166
|
+
slicingSize: number;
|
|
167
|
+
}
|
|
168
|
+
export const CreateIpBringYourOwnIpSliceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
169
|
+
S.Struct({
|
|
170
|
+
ip: S.String.pipe(T.Label()),
|
|
171
|
+
slicingSize: S.Number,
|
|
172
|
+
}).pipe(
|
|
173
|
+
T.Http({ method: "POST", uri: "/ip/{ip}/bringYourOwnIp/slice", code: 200 }),
|
|
174
|
+
),
|
|
175
|
+
).annotate({
|
|
176
|
+
identifier: "CreateIpBringYourOwnIpSliceRequest",
|
|
177
|
+
}) as any as S.Schema<CreateIpBringYourOwnIpSliceRequest>;
|
|
178
|
+
|
|
179
|
+
export interface CreateIpChangeOrgRequest {
|
|
180
|
+
ip: string;
|
|
181
|
+
/** Your organisation id (RIPE_XXXX) to add on block informations */
|
|
182
|
+
organisation: string;
|
|
183
|
+
}
|
|
184
|
+
export const CreateIpChangeOrgRequest = /*@__PURE__*/ S.suspend(() =>
|
|
185
|
+
S.Struct({
|
|
186
|
+
ip: S.String.pipe(T.Label()),
|
|
187
|
+
organisation: S.String,
|
|
188
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/changeOrg", code: 200 })),
|
|
189
|
+
).annotate({
|
|
190
|
+
identifier: "CreateIpChangeOrgRequest",
|
|
191
|
+
}) as any as S.Schema<CreateIpChangeOrgRequest>;
|
|
192
|
+
|
|
193
|
+
export interface CreateIpDelegationRequest {
|
|
194
|
+
ip: string;
|
|
195
|
+
/** Target for reverse delegation on IPv6 */
|
|
196
|
+
target: string;
|
|
197
|
+
}
|
|
198
|
+
export const CreateIpDelegationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
199
|
+
S.Struct({
|
|
200
|
+
ip: S.String.pipe(T.Label()),
|
|
201
|
+
target: S.String,
|
|
202
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/delegation", code: 200 })),
|
|
203
|
+
).annotate({
|
|
204
|
+
identifier: "CreateIpDelegationRequest",
|
|
205
|
+
}) as any as S.Schema<CreateIpDelegationRequest>;
|
|
206
|
+
|
|
207
|
+
/** Your reverse delegations on IPv6 subnet */
|
|
208
|
+
export interface IpReverseDelegation {
|
|
209
|
+
/** NS target for delegation */
|
|
210
|
+
target?: string;
|
|
211
|
+
}
|
|
212
|
+
export const IpReverseDelegation = /*@__PURE__*/ S.suspend(() =>
|
|
213
|
+
S.Struct({
|
|
214
|
+
target: S.optional(S.String),
|
|
215
|
+
}),
|
|
216
|
+
).annotate({
|
|
217
|
+
identifier: "IpReverseDelegation",
|
|
218
|
+
}) as any as S.Schema<IpReverseDelegation>;
|
|
219
|
+
|
|
220
|
+
export interface CreateIpFirewallRequest {
|
|
221
|
+
ip: string;
|
|
222
|
+
ipOnFirewall: string;
|
|
223
|
+
}
|
|
224
|
+
export const CreateIpFirewallRequest = /*@__PURE__*/ S.suspend(() =>
|
|
225
|
+
S.Struct({
|
|
226
|
+
ip: S.String.pipe(T.Label()),
|
|
227
|
+
ipOnFirewall: S.String,
|
|
228
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/firewall", code: 200 })),
|
|
229
|
+
).annotate({
|
|
230
|
+
identifier: "CreateIpFirewallRequest",
|
|
231
|
+
}) as any as S.Schema<CreateIpFirewallRequest>;
|
|
232
|
+
|
|
233
|
+
/** Possible values for firewall ip state */
|
|
234
|
+
export type IpFirewallStateEnum =
|
|
235
|
+
| "disableFirewallPending"
|
|
236
|
+
| "enableFirewallPending"
|
|
237
|
+
| "ok";
|
|
238
|
+
export const IpFirewallStateEnum = /*@__PURE__*/ S.String;
|
|
239
|
+
|
|
240
|
+
/** Your IP on firewall */
|
|
241
|
+
export interface IpFirewallIp {
|
|
242
|
+
enabled?: boolean;
|
|
243
|
+
ipOnFirewall?: string;
|
|
244
|
+
/** Current state of your ip on firewall */
|
|
245
|
+
state?: IpFirewallStateEnum;
|
|
246
|
+
}
|
|
247
|
+
export const IpFirewallIp = /*@__PURE__*/ S.suspend(() =>
|
|
248
|
+
S.Struct({
|
|
249
|
+
enabled: S.optional(S.Boolean),
|
|
250
|
+
ipOnFirewall: S.optional(S.String),
|
|
251
|
+
state: S.optional(IpFirewallStateEnum),
|
|
252
|
+
}),
|
|
253
|
+
).annotate({ identifier: "IpFirewallIp" }) as any as S.Schema<IpFirewallIp>;
|
|
254
|
+
|
|
255
|
+
/** Possible values for action */
|
|
256
|
+
export type IpFirewallActionEnum = "deny" | "permit";
|
|
257
|
+
export const IpFirewallActionEnum = /*@__PURE__*/ S.String;
|
|
258
|
+
|
|
259
|
+
/** Possible values for protocol */
|
|
260
|
+
export type IpFirewallProtocolEnum =
|
|
261
|
+
| "ah"
|
|
262
|
+
| "esp"
|
|
263
|
+
| "gre"
|
|
264
|
+
| "icmp"
|
|
265
|
+
| "ipv4"
|
|
266
|
+
| "tcp"
|
|
267
|
+
| "udp";
|
|
268
|
+
export const IpFirewallProtocolEnum = /*@__PURE__*/ S.String;
|
|
269
|
+
|
|
270
|
+
/** Possible values for action */
|
|
271
|
+
export type IpFirewallSequenceRangeEnum =
|
|
272
|
+
| 0
|
|
273
|
+
| 1
|
|
274
|
+
| 2
|
|
275
|
+
| 3
|
|
276
|
+
| 4
|
|
277
|
+
| 5
|
|
278
|
+
| 6
|
|
279
|
+
| 7
|
|
280
|
+
| 8
|
|
281
|
+
| 9
|
|
282
|
+
| 10
|
|
283
|
+
| 11
|
|
284
|
+
| 12
|
|
285
|
+
| 13
|
|
286
|
+
| 14
|
|
287
|
+
| 15
|
|
288
|
+
| 16
|
|
289
|
+
| 17
|
|
290
|
+
| 18
|
|
291
|
+
| 19;
|
|
292
|
+
export const IpFirewallSequenceRangeEnum = /*@__PURE__*/ S.Number;
|
|
293
|
+
|
|
294
|
+
/** Possible values for TCP option - only for TCP protocol */
|
|
295
|
+
export type IpFirewallTCPOptionEnum = "established" | "syn";
|
|
296
|
+
export const IpFirewallTCPOptionEnum = /*@__PURE__*/ S.String;
|
|
297
|
+
|
|
298
|
+
/** Possible option for TCP */
|
|
299
|
+
export interface IpFirewallOptionTCP {
|
|
300
|
+
/** TCP fragments */
|
|
301
|
+
fragments?: boolean | null;
|
|
302
|
+
/** TCP option */
|
|
303
|
+
option?: IpFirewallTCPOptionEnum | (string & {}) | null;
|
|
304
|
+
}
|
|
305
|
+
export const IpFirewallOptionTCP = /*@__PURE__*/ S.suspend(() =>
|
|
306
|
+
S.Struct({
|
|
307
|
+
fragments: S.optional(S.NullOr(S.Boolean)),
|
|
308
|
+
option: S.optional(S.NullOr(IpFirewallTCPOptionEnum)),
|
|
309
|
+
}),
|
|
310
|
+
).annotate({
|
|
311
|
+
identifier: "IpFirewallOptionTCP",
|
|
312
|
+
}) as any as S.Schema<IpFirewallOptionTCP>;
|
|
313
|
+
|
|
314
|
+
export interface CreateIpFirewallRuleRequest {
|
|
315
|
+
ip: string;
|
|
316
|
+
ipOnFirewall: string;
|
|
317
|
+
/** Action on this rule */
|
|
318
|
+
action: IpFirewallActionEnum | (string & {});
|
|
319
|
+
/** Destination port for your rule. Only with TCP/UDP protocol */
|
|
320
|
+
destinationPort?: number;
|
|
321
|
+
/** Network protocol */
|
|
322
|
+
protocol: IpFirewallProtocolEnum | (string & {});
|
|
323
|
+
/** Sequence number of your rule */
|
|
324
|
+
sequence: IpFirewallSequenceRangeEnum | (number & {});
|
|
325
|
+
/** Source ip for your rule. Any if not set */
|
|
326
|
+
source?: string;
|
|
327
|
+
/** Source port for your rule. Only with TCP/UDP protocol */
|
|
328
|
+
sourcePort?: number;
|
|
329
|
+
/** Option on your rule. Can only be used with TCP protocol */
|
|
330
|
+
tcpOption?: IpFirewallOptionTCP;
|
|
331
|
+
}
|
|
332
|
+
export const CreateIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
333
|
+
S.Struct({
|
|
334
|
+
ip: S.String.pipe(T.Label()),
|
|
335
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
336
|
+
action: IpFirewallActionEnum,
|
|
337
|
+
destinationPort: S.optional(S.Number),
|
|
338
|
+
protocol: IpFirewallProtocolEnum,
|
|
339
|
+
sequence: IpFirewallSequenceRangeEnum,
|
|
340
|
+
source: S.optional(S.String),
|
|
341
|
+
sourcePort: S.optional(S.Number),
|
|
342
|
+
tcpOption: S.optional(IpFirewallOptionTCP),
|
|
343
|
+
}).pipe(
|
|
344
|
+
T.Http({
|
|
345
|
+
method: "POST",
|
|
346
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule",
|
|
347
|
+
code: 200,
|
|
348
|
+
}),
|
|
349
|
+
),
|
|
350
|
+
).annotate({
|
|
351
|
+
identifier: "CreateIpFirewallRuleRequest",
|
|
352
|
+
}) as any as S.Schema<CreateIpFirewallRuleRequest>;
|
|
353
|
+
|
|
354
|
+
/** Possible values for firewall rule state */
|
|
355
|
+
export type IpFirewallRuleStateEnum =
|
|
356
|
+
| "creationPending"
|
|
357
|
+
| "ok"
|
|
358
|
+
| "removalPending";
|
|
359
|
+
export const IpFirewallRuleStateEnum = /*@__PURE__*/ S.String;
|
|
360
|
+
|
|
361
|
+
/** Rule on ip */
|
|
362
|
+
export interface IpFirewallNetworkRule {
|
|
363
|
+
/** Action on this rule */
|
|
364
|
+
action?: IpFirewallActionEnum;
|
|
365
|
+
creationDate?: string;
|
|
366
|
+
/** Destination ip for your rule */
|
|
367
|
+
destination?: string;
|
|
368
|
+
/** Destination port range for your rule. Only with TCP/UDP protocol */
|
|
369
|
+
destinationPort?: string | null;
|
|
370
|
+
/** Fragments option */
|
|
371
|
+
fragments?: boolean | null;
|
|
372
|
+
/** Network protocol */
|
|
373
|
+
protocol?: IpFirewallProtocolEnum;
|
|
374
|
+
rule?: string;
|
|
375
|
+
sequence?: number;
|
|
376
|
+
/** Source ip for your rule */
|
|
377
|
+
source?: string;
|
|
378
|
+
/** Source port range for your rule. Only with TCP/UDP protocol */
|
|
379
|
+
sourcePort?: string | null;
|
|
380
|
+
/** Current state of your rule */
|
|
381
|
+
state?: IpFirewallRuleStateEnum;
|
|
382
|
+
/** TCP option on your rule */
|
|
383
|
+
tcpOption?: string | null;
|
|
384
|
+
}
|
|
385
|
+
export const IpFirewallNetworkRule = /*@__PURE__*/ S.suspend(() =>
|
|
386
|
+
S.Struct({
|
|
387
|
+
action: S.optional(IpFirewallActionEnum),
|
|
388
|
+
creationDate: S.optional(S.String),
|
|
389
|
+
destination: S.optional(S.String),
|
|
390
|
+
destinationPort: S.optional(S.NullOr(S.String)),
|
|
391
|
+
fragments: S.optional(S.NullOr(S.Boolean)),
|
|
392
|
+
protocol: S.optional(IpFirewallProtocolEnum),
|
|
393
|
+
rule: S.optional(S.String),
|
|
394
|
+
sequence: S.optional(S.Number),
|
|
395
|
+
source: S.optional(S.String),
|
|
396
|
+
sourcePort: S.optional(S.NullOr(S.String)),
|
|
397
|
+
state: S.optional(IpFirewallRuleStateEnum),
|
|
398
|
+
tcpOption: S.optional(S.NullOr(S.String)),
|
|
399
|
+
}),
|
|
400
|
+
).annotate({
|
|
401
|
+
identifier: "IpFirewallNetworkRule",
|
|
402
|
+
}) as any as S.Schema<IpFirewallNetworkRule>;
|
|
403
|
+
|
|
404
|
+
/** Start and end points (inclusive) of a range */
|
|
405
|
+
export interface ComplexTypeRangeLong {
|
|
406
|
+
from?: number;
|
|
407
|
+
to?: number;
|
|
408
|
+
}
|
|
409
|
+
export const ComplexTypeRangeLong = /*@__PURE__*/ S.suspend(() =>
|
|
410
|
+
S.Struct({
|
|
411
|
+
from: S.optional(S.Number),
|
|
412
|
+
to: S.optional(S.Number),
|
|
413
|
+
}),
|
|
414
|
+
).annotate({
|
|
415
|
+
identifier: "ComplexTypeRangeLong",
|
|
416
|
+
}) as any as S.Schema<ComplexTypeRangeLong>;
|
|
417
|
+
|
|
418
|
+
/** Possible values for game rule protocol */
|
|
419
|
+
export type IpGameMitigationRuleProtocolEnum =
|
|
420
|
+
| "arkSurvivalEvolved"
|
|
421
|
+
| "arkSurvivalEvolvedV311.78+"
|
|
422
|
+
| "arma"
|
|
423
|
+
| "counterStrike2"
|
|
424
|
+
| "fiveM"
|
|
425
|
+
| "gtaMultiTheftAutoSanAndreas"
|
|
426
|
+
| "gtaSanAndreasMultiplayerMod"
|
|
427
|
+
| "hl2Source"
|
|
428
|
+
| "minecraftBedrockWithRacknetCookie"
|
|
429
|
+
| "minecraftJava"
|
|
430
|
+
| "minecraftPocketEdition"
|
|
431
|
+
| "minecraftQuery"
|
|
432
|
+
| "mumble"
|
|
433
|
+
| "other"
|
|
434
|
+
| "rust"
|
|
435
|
+
| "teamspeak2"
|
|
436
|
+
| "teamspeak3"
|
|
437
|
+
| "trackmaniaShootmania"
|
|
438
|
+
| "valheim";
|
|
439
|
+
export const IpGameMitigationRuleProtocolEnum = /*@__PURE__*/ S.String;
|
|
440
|
+
|
|
441
|
+
export interface CreateIpGameRuleRequest {
|
|
442
|
+
ip: string;
|
|
443
|
+
ipOnGame: string;
|
|
444
|
+
/** The UDP port range to apply the rule on */
|
|
445
|
+
ports: ComplexTypeRangeLong;
|
|
446
|
+
/** The protocol running behind the given port(s). See supportedProtocols on the IP to know which values are valid here */
|
|
447
|
+
protocol: IpGameMitigationRuleProtocolEnum | (string & {});
|
|
448
|
+
}
|
|
449
|
+
export const CreateIpGameRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
450
|
+
S.Struct({
|
|
451
|
+
ip: S.String.pipe(T.Label()),
|
|
452
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
453
|
+
ports: ComplexTypeRangeLong,
|
|
454
|
+
protocol: IpGameMitigationRuleProtocolEnum,
|
|
455
|
+
}).pipe(
|
|
456
|
+
T.Http({ method: "POST", uri: "/ip/{ip}/game/{ipOnGame}/rule", code: 200 }),
|
|
457
|
+
),
|
|
458
|
+
).annotate({
|
|
459
|
+
identifier: "CreateIpGameRuleRequest",
|
|
460
|
+
}) as any as S.Schema<CreateIpGameRuleRequest>;
|
|
461
|
+
|
|
462
|
+
/** Possible values for game mitigation rule state */
|
|
463
|
+
export type IpGameMitigationRuleStateEnum =
|
|
464
|
+
| "createRulePending"
|
|
465
|
+
| "deleteRulePending"
|
|
466
|
+
| "ok";
|
|
467
|
+
export const IpGameMitigationRuleStateEnum = /*@__PURE__*/ S.String;
|
|
468
|
+
|
|
469
|
+
/** Rule on ip:ports */
|
|
470
|
+
export interface IpGameMitigationRule {
|
|
471
|
+
/** ID of the rule */
|
|
472
|
+
id?: number;
|
|
473
|
+
ports?: ComplexTypeRangeLong;
|
|
474
|
+
protocol?: IpGameMitigationRuleProtocolEnum;
|
|
475
|
+
/** Current state of your rule */
|
|
476
|
+
state?: IpGameMitigationRuleStateEnum;
|
|
477
|
+
}
|
|
478
|
+
export const IpGameMitigationRule = /*@__PURE__*/ S.suspend(() =>
|
|
479
|
+
S.Struct({
|
|
480
|
+
id: S.optional(S.Number),
|
|
481
|
+
ports: S.optional(ComplexTypeRangeLong),
|
|
482
|
+
protocol: S.optional(IpGameMitigationRuleProtocolEnum),
|
|
483
|
+
state: S.optional(IpGameMitigationRuleStateEnum),
|
|
484
|
+
}),
|
|
485
|
+
).annotate({
|
|
486
|
+
identifier: "IpGameMitigationRule",
|
|
487
|
+
}) as any as S.Schema<IpGameMitigationRule>;
|
|
488
|
+
|
|
489
|
+
export interface CreateIpMigrationTokenRequest {
|
|
490
|
+
ip: string;
|
|
491
|
+
/** destination customer ID */
|
|
492
|
+
customerId: string;
|
|
493
|
+
}
|
|
494
|
+
export const CreateIpMigrationTokenRequest = /*@__PURE__*/ S.suspend(() =>
|
|
495
|
+
S.Struct({
|
|
496
|
+
ip: S.String.pipe(T.Label()),
|
|
497
|
+
customerId: S.String,
|
|
498
|
+
}).pipe(
|
|
499
|
+
T.Http({ method: "POST", uri: "/ip/{ip}/migrationToken", code: 200 }),
|
|
500
|
+
),
|
|
501
|
+
).annotate({
|
|
502
|
+
identifier: "CreateIpMigrationTokenRequest",
|
|
503
|
+
}) as any as S.Schema<CreateIpMigrationTokenRequest>;
|
|
504
|
+
|
|
505
|
+
/** IP migration to OVH */
|
|
506
|
+
export interface IpIpMigrationToken {
|
|
507
|
+
/** destination customer ID */
|
|
508
|
+
customerId?: string;
|
|
509
|
+
/** migration token */
|
|
510
|
+
token?: string;
|
|
511
|
+
}
|
|
512
|
+
export const IpIpMigrationToken = /*@__PURE__*/ S.suspend(() =>
|
|
513
|
+
S.Struct({
|
|
514
|
+
customerId: S.optional(S.String),
|
|
515
|
+
token: S.optional(S.String),
|
|
516
|
+
}),
|
|
517
|
+
).annotate({
|
|
518
|
+
identifier: "IpIpMigrationToken",
|
|
519
|
+
}) as any as S.Schema<IpIpMigrationToken>;
|
|
520
|
+
|
|
521
|
+
export interface CreateIpMitigationRequest {
|
|
522
|
+
ip: string;
|
|
523
|
+
ipOnMitigation: string;
|
|
524
|
+
}
|
|
525
|
+
export const CreateIpMitigationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
526
|
+
S.Struct({
|
|
527
|
+
ip: S.String.pipe(T.Label()),
|
|
528
|
+
ipOnMitigation: S.String,
|
|
529
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/mitigation", code: 200 })),
|
|
530
|
+
).annotate({
|
|
531
|
+
identifier: "CreateIpMitigationRequest",
|
|
532
|
+
}) as any as S.Schema<CreateIpMitigationRequest>;
|
|
533
|
+
|
|
534
|
+
/** Possible values for mitigation state */
|
|
535
|
+
export type IpMitigationStateEnum = "creationPending" | "ok" | "removalPending";
|
|
536
|
+
export const IpMitigationStateEnum = /*@__PURE__*/ S.String;
|
|
537
|
+
|
|
538
|
+
/** Your IP on mitigation */
|
|
539
|
+
export interface IpMitigationIp {
|
|
540
|
+
/** Set on true if your ip is on auto-mitigation */
|
|
541
|
+
auto?: boolean;
|
|
542
|
+
ipOnMitigation?: string;
|
|
543
|
+
/** Set on true if your ip is on permanent mitigation */
|
|
544
|
+
permanent?: boolean;
|
|
545
|
+
/** Current state of your ip on mitigation */
|
|
546
|
+
state?: IpMitigationStateEnum;
|
|
547
|
+
}
|
|
548
|
+
export const IpMitigationIp = /*@__PURE__*/ S.suspend(() =>
|
|
549
|
+
S.Struct({
|
|
550
|
+
auto: S.optional(S.Boolean),
|
|
551
|
+
ipOnMitigation: S.optional(S.String),
|
|
552
|
+
permanent: S.optional(S.Boolean),
|
|
553
|
+
state: S.optional(IpMitigationStateEnum),
|
|
554
|
+
}),
|
|
555
|
+
).annotate({ identifier: "IpMitigationIp" }) as any as S.Schema<IpMitigationIp>;
|
|
556
|
+
|
|
557
|
+
/** Possible values for auto mitigation timeout (minutes) */
|
|
558
|
+
export type IpMitigationProfileAutoMitigationTimeOutEnum =
|
|
559
|
+
| 0
|
|
560
|
+
| 15
|
|
561
|
+
| 60
|
|
562
|
+
| 360
|
|
563
|
+
| 1560;
|
|
564
|
+
export const IpMitigationProfileAutoMitigationTimeOutEnum =
|
|
565
|
+
/*@__PURE__*/ S.Number;
|
|
566
|
+
|
|
567
|
+
export interface CreateIpMitigationProfileRequest {
|
|
568
|
+
ip: string;
|
|
569
|
+
/** Delay to wait before remove ip from auto mitigation after an attack */
|
|
570
|
+
autoMitigationTimeOut:
|
|
571
|
+
| IpMitigationProfileAutoMitigationTimeOutEnum
|
|
572
|
+
| (number & {});
|
|
573
|
+
ipMitigationProfile: string;
|
|
574
|
+
}
|
|
575
|
+
export const CreateIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() =>
|
|
576
|
+
S.Struct({
|
|
577
|
+
ip: S.String.pipe(T.Label()),
|
|
578
|
+
autoMitigationTimeOut: IpMitigationProfileAutoMitigationTimeOutEnum,
|
|
579
|
+
ipMitigationProfile: S.String,
|
|
580
|
+
}).pipe(
|
|
581
|
+
T.Http({ method: "POST", uri: "/ip/{ip}/mitigationProfiles", code: 200 }),
|
|
582
|
+
),
|
|
583
|
+
).annotate({
|
|
584
|
+
identifier: "CreateIpMitigationProfileRequest",
|
|
585
|
+
}) as any as S.Schema<CreateIpMitigationProfileRequest>;
|
|
586
|
+
|
|
587
|
+
/** Possible values for mitigation profile state */
|
|
588
|
+
export type IpMitigationProfileStateEnum = "ok" | "tasksPending";
|
|
589
|
+
export const IpMitigationProfileStateEnum = /*@__PURE__*/ S.String;
|
|
590
|
+
|
|
591
|
+
/** Mitigation profile for your ip */
|
|
592
|
+
export interface IpMitigationProfile {
|
|
593
|
+
/** Delay to wait before remove ip from auto mitigation after an attack */
|
|
594
|
+
autoMitigationTimeOut?: IpMitigationProfileAutoMitigationTimeOutEnum;
|
|
595
|
+
ipMitigationProfile?: string;
|
|
596
|
+
/** Current state of your mitigation profile */
|
|
597
|
+
state?: IpMitigationProfileStateEnum;
|
|
598
|
+
}
|
|
599
|
+
export const IpMitigationProfile = /*@__PURE__*/ S.suspend(() =>
|
|
600
|
+
S.Struct({
|
|
601
|
+
autoMitigationTimeOut: S.optional(
|
|
602
|
+
IpMitigationProfileAutoMitigationTimeOutEnum,
|
|
603
|
+
),
|
|
604
|
+
ipMitigationProfile: S.optional(S.String),
|
|
605
|
+
state: S.optional(IpMitigationProfileStateEnum),
|
|
606
|
+
}),
|
|
607
|
+
).annotate({
|
|
608
|
+
identifier: "IpMitigationProfile",
|
|
609
|
+
}) as any as S.Schema<IpMitigationProfile>;
|
|
610
|
+
|
|
611
|
+
export interface CreateIpParkRequest {
|
|
612
|
+
ip: string;
|
|
613
|
+
}
|
|
614
|
+
export const CreateIpParkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
615
|
+
S.Struct({
|
|
616
|
+
ip: S.String.pipe(T.Label()),
|
|
617
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/park", code: 200 })),
|
|
618
|
+
).annotate({
|
|
619
|
+
identifier: "CreateIpParkRequest",
|
|
620
|
+
}) as any as S.Schema<CreateIpParkRequest>;
|
|
621
|
+
|
|
622
|
+
export interface CreateIpReverseRequest {
|
|
623
|
+
ip: string;
|
|
624
|
+
ipReverse: string;
|
|
625
|
+
reverse: string;
|
|
626
|
+
}
|
|
627
|
+
export const CreateIpReverseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
628
|
+
S.Struct({
|
|
629
|
+
ip: S.String.pipe(T.Label()),
|
|
630
|
+
ipReverse: S.String,
|
|
631
|
+
reverse: S.String,
|
|
632
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/reverse", code: 200 })),
|
|
633
|
+
).annotate({
|
|
634
|
+
identifier: "CreateIpReverseRequest",
|
|
635
|
+
}) as any as S.Schema<CreateIpReverseRequest>;
|
|
636
|
+
|
|
637
|
+
/** Your reverse records on IP */
|
|
638
|
+
export interface IpReverseIp {
|
|
639
|
+
ipReverse?: string;
|
|
640
|
+
reverse?: string;
|
|
641
|
+
}
|
|
642
|
+
export const IpReverseIp = /*@__PURE__*/ S.suspend(() =>
|
|
643
|
+
S.Struct({
|
|
644
|
+
ipReverse: S.optional(S.String),
|
|
645
|
+
reverse: S.optional(S.String),
|
|
646
|
+
}),
|
|
647
|
+
).annotate({ identifier: "IpReverseIp" }) as any as S.Schema<IpReverseIp>;
|
|
648
|
+
|
|
649
|
+
export interface CreateIpServiceChangeContactRequest {
|
|
650
|
+
/** The internal name of your IP services */
|
|
651
|
+
serviceName: string;
|
|
652
|
+
/** The contact to set as admin contact */
|
|
653
|
+
contactAdmin?: string;
|
|
654
|
+
/** The contact to set as billing contact */
|
|
655
|
+
contactBilling?: string;
|
|
656
|
+
/** The contact to set as tech contact */
|
|
657
|
+
contactTech?: string;
|
|
658
|
+
}
|
|
659
|
+
export const CreateIpServiceChangeContactRequest = /*@__PURE__*/ S.suspend(() =>
|
|
660
|
+
S.Struct({
|
|
661
|
+
serviceName: S.String.pipe(T.Label()),
|
|
662
|
+
contactAdmin: S.optional(S.String),
|
|
663
|
+
contactBilling: S.optional(S.String),
|
|
664
|
+
contactTech: S.optional(S.String),
|
|
665
|
+
}).pipe(
|
|
666
|
+
T.Http({
|
|
667
|
+
method: "POST",
|
|
668
|
+
uri: "/ip/service/{serviceName}/changeContact",
|
|
669
|
+
code: 200,
|
|
670
|
+
}),
|
|
671
|
+
),
|
|
672
|
+
).annotate({
|
|
673
|
+
identifier: "CreateIpServiceChangeContactRequest",
|
|
674
|
+
}) as any as S.Schema<CreateIpServiceChangeContactRequest>;
|
|
675
|
+
|
|
676
|
+
export type CreateIpServiceChangeContactResponseBodyList = Array<number>;
|
|
677
|
+
export const CreateIpServiceChangeContactResponseBodyList =
|
|
678
|
+
/*@__PURE__*/ S.Array(
|
|
679
|
+
S.Number,
|
|
680
|
+
) as any as S.Schema<CreateIpServiceChangeContactResponseBodyList>;
|
|
681
|
+
|
|
682
|
+
export type CreateIpServiceChangeContactResponse =
|
|
683
|
+
CreateIpServiceChangeContactResponseBodyList;
|
|
684
|
+
export const CreateIpServiceChangeContactResponse = /*@__PURE__*/ S.suspend(
|
|
685
|
+
() => CreateIpServiceChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
|
|
686
|
+
).annotate({
|
|
687
|
+
identifier: "CreateIpServiceChangeContactResponse",
|
|
688
|
+
}) as any as S.Schema<CreateIpServiceChangeContactResponse>;
|
|
689
|
+
|
|
690
|
+
export interface DeleteIpDelegationRequest {
|
|
691
|
+
ip: string;
|
|
692
|
+
/** NS target for delegation */
|
|
693
|
+
target: string;
|
|
694
|
+
}
|
|
695
|
+
export const DeleteIpDelegationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
696
|
+
S.Struct({
|
|
697
|
+
ip: S.String.pipe(T.Label()),
|
|
698
|
+
target: S.String.pipe(T.Label()),
|
|
699
|
+
}).pipe(
|
|
700
|
+
T.Http({
|
|
701
|
+
method: "DELETE",
|
|
702
|
+
uri: "/ip/{ip}/delegation/{target}",
|
|
703
|
+
code: 200,
|
|
704
|
+
}),
|
|
705
|
+
),
|
|
706
|
+
).annotate({
|
|
707
|
+
identifier: "DeleteIpDelegationRequest",
|
|
708
|
+
}) as any as S.Schema<DeleteIpDelegationRequest>;
|
|
709
|
+
|
|
710
|
+
export interface DeleteIpDelegationResponse {}
|
|
711
|
+
export const DeleteIpDelegationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
712
|
+
S.Struct({}),
|
|
713
|
+
).annotate({
|
|
714
|
+
identifier: "DeleteIpDelegationResponse",
|
|
715
|
+
}) as any as S.Schema<DeleteIpDelegationResponse>;
|
|
716
|
+
|
|
717
|
+
export interface DeleteIpFirewallRequest {
|
|
718
|
+
ip: string;
|
|
719
|
+
ipOnFirewall: string;
|
|
720
|
+
}
|
|
721
|
+
export const DeleteIpFirewallRequest = /*@__PURE__*/ S.suspend(() =>
|
|
722
|
+
S.Struct({
|
|
723
|
+
ip: S.String.pipe(T.Label()),
|
|
724
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
725
|
+
}).pipe(
|
|
726
|
+
T.Http({
|
|
727
|
+
method: "DELETE",
|
|
728
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
729
|
+
code: 200,
|
|
730
|
+
}),
|
|
731
|
+
),
|
|
732
|
+
).annotate({
|
|
733
|
+
identifier: "DeleteIpFirewallRequest",
|
|
734
|
+
}) as any as S.Schema<DeleteIpFirewallRequest>;
|
|
735
|
+
|
|
736
|
+
export type DeleteIpFirewallResponse = string;
|
|
737
|
+
export const DeleteIpFirewallResponse = /*@__PURE__*/ S.suspend(() =>
|
|
738
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
739
|
+
).annotate({
|
|
740
|
+
identifier: "DeleteIpFirewallResponse",
|
|
741
|
+
}) as any as S.Schema<DeleteIpFirewallResponse>;
|
|
742
|
+
|
|
743
|
+
export interface DeleteIpFirewallRuleRequest {
|
|
744
|
+
ip: string;
|
|
745
|
+
ipOnFirewall: string;
|
|
746
|
+
sequence: number;
|
|
747
|
+
}
|
|
748
|
+
export const DeleteIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
749
|
+
S.Struct({
|
|
750
|
+
ip: S.String.pipe(T.Label()),
|
|
751
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
752
|
+
sequence: S.Number.pipe(T.Label()),
|
|
753
|
+
}).pipe(
|
|
754
|
+
T.Http({
|
|
755
|
+
method: "DELETE",
|
|
756
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule/{sequence}",
|
|
757
|
+
code: 200,
|
|
758
|
+
}),
|
|
759
|
+
),
|
|
760
|
+
).annotate({
|
|
761
|
+
identifier: "DeleteIpFirewallRuleRequest",
|
|
762
|
+
}) as any as S.Schema<DeleteIpFirewallRuleRequest>;
|
|
763
|
+
|
|
764
|
+
export interface DeleteIpGameRuleRequest {
|
|
765
|
+
ip: string;
|
|
766
|
+
ipOnGame: string;
|
|
767
|
+
/** ID of the rule */
|
|
768
|
+
id: number;
|
|
769
|
+
}
|
|
770
|
+
export const DeleteIpGameRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
771
|
+
S.Struct({
|
|
772
|
+
ip: S.String.pipe(T.Label()),
|
|
773
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
774
|
+
id: S.Number.pipe(T.Label()),
|
|
775
|
+
}).pipe(
|
|
776
|
+
T.Http({
|
|
777
|
+
method: "DELETE",
|
|
778
|
+
uri: "/ip/{ip}/game/{ipOnGame}/rule/{id}",
|
|
779
|
+
code: 200,
|
|
780
|
+
}),
|
|
781
|
+
),
|
|
782
|
+
).annotate({
|
|
783
|
+
identifier: "DeleteIpGameRuleRequest",
|
|
784
|
+
}) as any as S.Schema<DeleteIpGameRuleRequest>;
|
|
785
|
+
|
|
786
|
+
export interface DeleteIpMitigationRequest {
|
|
787
|
+
ip: string;
|
|
788
|
+
ipOnMitigation: string;
|
|
789
|
+
}
|
|
790
|
+
export const DeleteIpMitigationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
791
|
+
S.Struct({
|
|
792
|
+
ip: S.String.pipe(T.Label()),
|
|
793
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
794
|
+
}).pipe(
|
|
795
|
+
T.Http({
|
|
796
|
+
method: "DELETE",
|
|
797
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
798
|
+
code: 200,
|
|
799
|
+
}),
|
|
800
|
+
),
|
|
801
|
+
).annotate({
|
|
802
|
+
identifier: "DeleteIpMitigationRequest",
|
|
803
|
+
}) as any as S.Schema<DeleteIpMitigationRequest>;
|
|
804
|
+
|
|
805
|
+
export interface DeleteIpMitigationProfileRequest {
|
|
806
|
+
ip: string;
|
|
807
|
+
ipMitigationProfile: string;
|
|
808
|
+
}
|
|
809
|
+
export const DeleteIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() =>
|
|
810
|
+
S.Struct({
|
|
811
|
+
ip: S.String.pipe(T.Label()),
|
|
812
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
813
|
+
}).pipe(
|
|
814
|
+
T.Http({
|
|
815
|
+
method: "DELETE",
|
|
816
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
817
|
+
code: 200,
|
|
818
|
+
}),
|
|
819
|
+
),
|
|
820
|
+
).annotate({
|
|
821
|
+
identifier: "DeleteIpMitigationProfileRequest",
|
|
822
|
+
}) as any as S.Schema<DeleteIpMitigationProfileRequest>;
|
|
823
|
+
|
|
824
|
+
export interface DeleteIpMitigationProfileResponse {}
|
|
825
|
+
export const DeleteIpMitigationProfileResponse = /*@__PURE__*/ S.suspend(() =>
|
|
826
|
+
S.Struct({}),
|
|
827
|
+
).annotate({
|
|
828
|
+
identifier: "DeleteIpMitigationProfileResponse",
|
|
829
|
+
}) as any as S.Schema<DeleteIpMitigationProfileResponse>;
|
|
830
|
+
|
|
831
|
+
export interface DeleteIpReverseRequest {
|
|
832
|
+
ip: string;
|
|
833
|
+
ipReverse: string;
|
|
834
|
+
}
|
|
835
|
+
export const DeleteIpReverseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
836
|
+
S.Struct({
|
|
837
|
+
ip: S.String.pipe(T.Label()),
|
|
838
|
+
ipReverse: S.String.pipe(T.Label()),
|
|
839
|
+
}).pipe(
|
|
840
|
+
T.Http({
|
|
841
|
+
method: "DELETE",
|
|
842
|
+
uri: "/ip/{ip}/reverse/{ipReverse}",
|
|
843
|
+
code: 200,
|
|
844
|
+
}),
|
|
845
|
+
),
|
|
846
|
+
).annotate({
|
|
847
|
+
identifier: "DeleteIpReverseRequest",
|
|
848
|
+
}) as any as S.Schema<DeleteIpReverseRequest>;
|
|
849
|
+
|
|
850
|
+
export interface DeleteIpReverseResponse {}
|
|
851
|
+
export const DeleteIpReverseResponse = /*@__PURE__*/ S.suspend(() =>
|
|
852
|
+
S.Struct({}),
|
|
853
|
+
).annotate({
|
|
854
|
+
identifier: "DeleteIpReverseResponse",
|
|
855
|
+
}) as any as S.Schema<DeleteIpReverseResponse>;
|
|
856
|
+
|
|
857
|
+
export interface GetIpRequest {
|
|
858
|
+
ip: string;
|
|
859
|
+
}
|
|
860
|
+
export const GetIpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
861
|
+
S.Struct({
|
|
862
|
+
ip: S.String.pipe(T.Label()),
|
|
863
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}", code: 200 })),
|
|
864
|
+
).annotate({ identifier: "GetIpRequest" }) as any as S.Schema<GetIpRequest>;
|
|
865
|
+
|
|
866
|
+
/** ISO country codes */
|
|
867
|
+
export type CoreTypesCountryEnum =
|
|
868
|
+
| "ac"
|
|
869
|
+
| "ad"
|
|
870
|
+
| "ae"
|
|
871
|
+
| "af"
|
|
872
|
+
| "ag"
|
|
873
|
+
| "ai"
|
|
874
|
+
| "al"
|
|
875
|
+
| "am"
|
|
876
|
+
| "an"
|
|
877
|
+
| "ao"
|
|
878
|
+
| "aq"
|
|
879
|
+
| "ar"
|
|
880
|
+
| "as"
|
|
881
|
+
| "at"
|
|
882
|
+
| "au"
|
|
883
|
+
| "aw"
|
|
884
|
+
| "ax"
|
|
885
|
+
| "az"
|
|
886
|
+
| "ba"
|
|
887
|
+
| "bb"
|
|
888
|
+
| "bd"
|
|
889
|
+
| "be"
|
|
890
|
+
| "bf"
|
|
891
|
+
| "bg"
|
|
892
|
+
| "bh"
|
|
893
|
+
| "bi"
|
|
894
|
+
| "bj"
|
|
895
|
+
| "bl"
|
|
896
|
+
| "bm"
|
|
897
|
+
| "bn"
|
|
898
|
+
| "bo"
|
|
899
|
+
| "bq"
|
|
900
|
+
| "br"
|
|
901
|
+
| "bs"
|
|
902
|
+
| "bt"
|
|
903
|
+
| "bv"
|
|
904
|
+
| "bw"
|
|
905
|
+
| "by"
|
|
906
|
+
| "bz"
|
|
907
|
+
| "ca"
|
|
908
|
+
| "cc"
|
|
909
|
+
| "cd"
|
|
910
|
+
| "cf"
|
|
911
|
+
| "cg"
|
|
912
|
+
| "ch"
|
|
913
|
+
| "ci"
|
|
914
|
+
| "ck"
|
|
915
|
+
| "cl"
|
|
916
|
+
| "cm"
|
|
917
|
+
| "cn"
|
|
918
|
+
| "co"
|
|
919
|
+
| "cr"
|
|
920
|
+
| "cs"
|
|
921
|
+
| "cu"
|
|
922
|
+
| "cv"
|
|
923
|
+
| "cw"
|
|
924
|
+
| "cx"
|
|
925
|
+
| "cy"
|
|
926
|
+
| "cz"
|
|
927
|
+
| "de"
|
|
928
|
+
| "dj"
|
|
929
|
+
| "dk"
|
|
930
|
+
| "dm"
|
|
931
|
+
| "do"
|
|
932
|
+
| "dz"
|
|
933
|
+
| "ec"
|
|
934
|
+
| "ee"
|
|
935
|
+
| "eg"
|
|
936
|
+
| "eh"
|
|
937
|
+
| "er"
|
|
938
|
+
| "es"
|
|
939
|
+
| "et"
|
|
940
|
+
| "fc"
|
|
941
|
+
| "fd"
|
|
942
|
+
| "fi"
|
|
943
|
+
| "fj"
|
|
944
|
+
| "fk"
|
|
945
|
+
| "fm"
|
|
946
|
+
| "fo"
|
|
947
|
+
| "fr"
|
|
948
|
+
| "fx"
|
|
949
|
+
| "ga"
|
|
950
|
+
| "gb"
|
|
951
|
+
| "gd"
|
|
952
|
+
| "ge"
|
|
953
|
+
| "gf"
|
|
954
|
+
| "gg"
|
|
955
|
+
| "gh"
|
|
956
|
+
| "gi"
|
|
957
|
+
| "gl"
|
|
958
|
+
| "gm"
|
|
959
|
+
| "gn"
|
|
960
|
+
| "gp"
|
|
961
|
+
| "gq"
|
|
962
|
+
| "gr"
|
|
963
|
+
| "gs"
|
|
964
|
+
| "gt"
|
|
965
|
+
| "gu"
|
|
966
|
+
| "gw"
|
|
967
|
+
| "gy"
|
|
968
|
+
| "hk"
|
|
969
|
+
| "hm"
|
|
970
|
+
| "hn"
|
|
971
|
+
| "hr"
|
|
972
|
+
| "ht"
|
|
973
|
+
| "hu"
|
|
974
|
+
| "id"
|
|
975
|
+
| "ie"
|
|
976
|
+
| "il"
|
|
977
|
+
| "im"
|
|
978
|
+
| "in"
|
|
979
|
+
| "io"
|
|
980
|
+
| "iq"
|
|
981
|
+
| "ir"
|
|
982
|
+
| "is"
|
|
983
|
+
| "it"
|
|
984
|
+
| "je"
|
|
985
|
+
| "jm"
|
|
986
|
+
| "jo"
|
|
987
|
+
| "jp"
|
|
988
|
+
| "ke"
|
|
989
|
+
| "kg"
|
|
990
|
+
| "kh"
|
|
991
|
+
| "ki"
|
|
992
|
+
| "km"
|
|
993
|
+
| "kn"
|
|
994
|
+
| "kp"
|
|
995
|
+
| "kr"
|
|
996
|
+
| "kw"
|
|
997
|
+
| "ky"
|
|
998
|
+
| "kz"
|
|
999
|
+
| "la"
|
|
1000
|
+
| "lb"
|
|
1001
|
+
| "lc"
|
|
1002
|
+
| "li"
|
|
1003
|
+
| "lk"
|
|
1004
|
+
| "lr"
|
|
1005
|
+
| "ls"
|
|
1006
|
+
| "lt"
|
|
1007
|
+
| "lu"
|
|
1008
|
+
| "lv"
|
|
1009
|
+
| "ly"
|
|
1010
|
+
| "ma"
|
|
1011
|
+
| "mc"
|
|
1012
|
+
| "md"
|
|
1013
|
+
| "me"
|
|
1014
|
+
| "mf"
|
|
1015
|
+
| "mg"
|
|
1016
|
+
| "mh"
|
|
1017
|
+
| "mk"
|
|
1018
|
+
| "ml"
|
|
1019
|
+
| "mm"
|
|
1020
|
+
| "mn"
|
|
1021
|
+
| "mo"
|
|
1022
|
+
| "mp"
|
|
1023
|
+
| "mq"
|
|
1024
|
+
| "mr"
|
|
1025
|
+
| "ms"
|
|
1026
|
+
| "mt"
|
|
1027
|
+
| "mu"
|
|
1028
|
+
| "mv"
|
|
1029
|
+
| "mw"
|
|
1030
|
+
| "mx"
|
|
1031
|
+
| "my"
|
|
1032
|
+
| "mz"
|
|
1033
|
+
| "na"
|
|
1034
|
+
| "nc"
|
|
1035
|
+
| "ne"
|
|
1036
|
+
| "nf"
|
|
1037
|
+
| "ng"
|
|
1038
|
+
| "ni"
|
|
1039
|
+
| "nl"
|
|
1040
|
+
| "no"
|
|
1041
|
+
| "np"
|
|
1042
|
+
| "nr"
|
|
1043
|
+
| "nu"
|
|
1044
|
+
| "nz"
|
|
1045
|
+
| "om"
|
|
1046
|
+
| "pa"
|
|
1047
|
+
| "pe"
|
|
1048
|
+
| "pf"
|
|
1049
|
+
| "pg"
|
|
1050
|
+
| "ph"
|
|
1051
|
+
| "pk"
|
|
1052
|
+
| "pl"
|
|
1053
|
+
| "pm"
|
|
1054
|
+
| "pn"
|
|
1055
|
+
| "pr"
|
|
1056
|
+
| "ps"
|
|
1057
|
+
| "pt"
|
|
1058
|
+
| "pw"
|
|
1059
|
+
| "py"
|
|
1060
|
+
| "qa"
|
|
1061
|
+
| "qc"
|
|
1062
|
+
| "re"
|
|
1063
|
+
| "ro"
|
|
1064
|
+
| "rs"
|
|
1065
|
+
| "ru"
|
|
1066
|
+
| "rw"
|
|
1067
|
+
| "sa"
|
|
1068
|
+
| "sb"
|
|
1069
|
+
| "sc"
|
|
1070
|
+
| "sd"
|
|
1071
|
+
| "se"
|
|
1072
|
+
| "sg"
|
|
1073
|
+
| "sh"
|
|
1074
|
+
| "si"
|
|
1075
|
+
| "sj"
|
|
1076
|
+
| "sk"
|
|
1077
|
+
| "sl"
|
|
1078
|
+
| "sm"
|
|
1079
|
+
| "sn"
|
|
1080
|
+
| "so"
|
|
1081
|
+
| "sr"
|
|
1082
|
+
| "ss"
|
|
1083
|
+
| "st"
|
|
1084
|
+
| "sv"
|
|
1085
|
+
| "sx"
|
|
1086
|
+
| "sy"
|
|
1087
|
+
| "sz"
|
|
1088
|
+
| "tc"
|
|
1089
|
+
| "td"
|
|
1090
|
+
| "tf"
|
|
1091
|
+
| "tg"
|
|
1092
|
+
| "th"
|
|
1093
|
+
| "tj"
|
|
1094
|
+
| "tk"
|
|
1095
|
+
| "tl"
|
|
1096
|
+
| "tm"
|
|
1097
|
+
| "tn"
|
|
1098
|
+
| "to"
|
|
1099
|
+
| "tp"
|
|
1100
|
+
| "tr"
|
|
1101
|
+
| "tt"
|
|
1102
|
+
| "tv"
|
|
1103
|
+
| "tw"
|
|
1104
|
+
| "tz"
|
|
1105
|
+
| "ua"
|
|
1106
|
+
| "ug"
|
|
1107
|
+
| "uk"
|
|
1108
|
+
| "um"
|
|
1109
|
+
| "us"
|
|
1110
|
+
| "uy"
|
|
1111
|
+
| "uz"
|
|
1112
|
+
| "va"
|
|
1113
|
+
| "vc"
|
|
1114
|
+
| "ve"
|
|
1115
|
+
| "vg"
|
|
1116
|
+
| "vi"
|
|
1117
|
+
| "vn"
|
|
1118
|
+
| "vu"
|
|
1119
|
+
| "we"
|
|
1120
|
+
| "wf"
|
|
1121
|
+
| "ws"
|
|
1122
|
+
| "ye"
|
|
1123
|
+
| "yt"
|
|
1124
|
+
| "yu"
|
|
1125
|
+
| "za"
|
|
1126
|
+
| "zm"
|
|
1127
|
+
| "zw";
|
|
1128
|
+
export const CoreTypesCountryEnum = /*@__PURE__*/ S.String;
|
|
1129
|
+
|
|
1130
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
1131
|
+
export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
|
|
1132
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
|
|
1133
|
+
S.String,
|
|
1134
|
+
S.String,
|
|
1135
|
+
) as any as S.Schema<IamResourceMetadataTagsMap>;
|
|
1136
|
+
|
|
1137
|
+
/** IAM resource metadata embedded in services models */
|
|
1138
|
+
export interface IamResourceMetadata {
|
|
1139
|
+
/** Resource display name */
|
|
1140
|
+
displayName?: string | null;
|
|
1141
|
+
/** Unique identifier of the resource */
|
|
1142
|
+
id?: string;
|
|
1143
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
1144
|
+
tags?: IamResourceMetadataTagsMap | null;
|
|
1145
|
+
/** Unique resource name used in policies */
|
|
1146
|
+
urn?: string;
|
|
1147
|
+
}
|
|
1148
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
1149
|
+
S.Struct({
|
|
1150
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1151
|
+
id: S.optional(S.String),
|
|
1152
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
1153
|
+
urn: S.optional(S.String),
|
|
1154
|
+
}),
|
|
1155
|
+
).annotate({
|
|
1156
|
+
identifier: "IamResourceMetadata",
|
|
1157
|
+
}) as any as S.Schema<IamResourceMetadata>;
|
|
1158
|
+
|
|
1159
|
+
/** Region names */
|
|
1160
|
+
export type CoreTypesRegionCodenameEnum =
|
|
1161
|
+
| "af-central-lz-abj"
|
|
1162
|
+
| "af-north-lz-rba"
|
|
1163
|
+
| "ap-south-lz-akl"
|
|
1164
|
+
| "ap-south-lz-blr"
|
|
1165
|
+
| "ap-south-lz-icd"
|
|
1166
|
+
| "ap-south-mum"
|
|
1167
|
+
| "ap-southeast-sgp"
|
|
1168
|
+
| "ap-southeast-syd"
|
|
1169
|
+
| "ca-east-bhs"
|
|
1170
|
+
| "ca-east-tor"
|
|
1171
|
+
| "eu-central-lz-buh"
|
|
1172
|
+
| "eu-central-lz-sof"
|
|
1173
|
+
| "eu-central-waw"
|
|
1174
|
+
| "eu-east-lz-prg"
|
|
1175
|
+
| "eu-north-lz-cph"
|
|
1176
|
+
| "eu-north-lz-hel"
|
|
1177
|
+
| "eu-north-lz-osl"
|
|
1178
|
+
| "eu-north-lz-sto"
|
|
1179
|
+
| "eu-south-lz-lis"
|
|
1180
|
+
| "eu-south-lz-mad"
|
|
1181
|
+
| "eu-south-lz-mil"
|
|
1182
|
+
| "eu-south-mil"
|
|
1183
|
+
| "eu-west-eri"
|
|
1184
|
+
| "eu-west-gra"
|
|
1185
|
+
| "eu-west-lim"
|
|
1186
|
+
| "eu-west-lz-ams"
|
|
1187
|
+
| "eu-west-lz-bru"
|
|
1188
|
+
| "eu-west-lz-dln"
|
|
1189
|
+
| "eu-west-lz-lux"
|
|
1190
|
+
| "eu-west-lz-mnc"
|
|
1191
|
+
| "eu-west-lz-mrs"
|
|
1192
|
+
| "eu-west-lz-vie"
|
|
1193
|
+
| "eu-west-lz-zrh"
|
|
1194
|
+
| "eu-west-par"
|
|
1195
|
+
| "eu-west-rbx"
|
|
1196
|
+
| "eu-west-sbg"
|
|
1197
|
+
| "me-south-lz-dxb"
|
|
1198
|
+
| "sa-central-lz-mex"
|
|
1199
|
+
| "sa-east-lz-sao"
|
|
1200
|
+
| "sa-west-lz-bue"
|
|
1201
|
+
| "sa-west-lz-scl"
|
|
1202
|
+
| "us-central-lz-slc"
|
|
1203
|
+
| "us-central-lz-stl"
|
|
1204
|
+
| "us-east-lz-atl"
|
|
1205
|
+
| "us-east-lz-bos"
|
|
1206
|
+
| "us-east-lz-chi"
|
|
1207
|
+
| "us-east-lz-dal"
|
|
1208
|
+
| "us-east-lz-mia"
|
|
1209
|
+
| "us-east-lz-nyc"
|
|
1210
|
+
| "us-east-vin"
|
|
1211
|
+
| "us-west-hil"
|
|
1212
|
+
| "us-west-lz-den"
|
|
1213
|
+
| "us-west-lz-lax"
|
|
1214
|
+
| "us-west-lz-pao"
|
|
1215
|
+
| "us-west-lz-phx"
|
|
1216
|
+
| "us-west-lz-sea";
|
|
1217
|
+
export const CoreTypesRegionCodenameEnum = /*@__PURE__*/ S.String;
|
|
1218
|
+
|
|
1219
|
+
/** Where is the IP used/usable, in the form of region codenames (alpha) */
|
|
1220
|
+
export type IpIpWithIAMRegionsList = Array<CoreTypesRegionCodenameEnum>;
|
|
1221
|
+
export const IpIpWithIAMRegionsList = /*@__PURE__*/ S.Array(
|
|
1222
|
+
CoreTypesRegionCodenameEnum,
|
|
1223
|
+
) as any as S.Schema<IpIpWithIAMRegionsList>;
|
|
1224
|
+
|
|
1225
|
+
/** Possible values for ip type */
|
|
1226
|
+
export type IpIpTypeEnum =
|
|
1227
|
+
| "cdn"
|
|
1228
|
+
| "cloud"
|
|
1229
|
+
| "dedicated"
|
|
1230
|
+
| "failover"
|
|
1231
|
+
| "hosted_ssl"
|
|
1232
|
+
| "housing"
|
|
1233
|
+
| "loadBalancing"
|
|
1234
|
+
| "mail"
|
|
1235
|
+
| "overthebox"
|
|
1236
|
+
| "pcc"
|
|
1237
|
+
| "pci"
|
|
1238
|
+
| "private"
|
|
1239
|
+
| "vpn"
|
|
1240
|
+
| "vps"
|
|
1241
|
+
| "vrack"
|
|
1242
|
+
| "xdsl";
|
|
1243
|
+
export const IpIpTypeEnum = /*@__PURE__*/ S.String;
|
|
1244
|
+
|
|
1245
|
+
/** Possible values for IP version */
|
|
1246
|
+
export type IpIpVersionEnum = 4 | 6;
|
|
1247
|
+
export const IpIpVersionEnum = /*@__PURE__*/ S.Number;
|
|
1248
|
+
|
|
1249
|
+
/** Your IP */
|
|
1250
|
+
export interface IpIpWithIAM {
|
|
1251
|
+
/** Is this IP part of the Bring your own IP program (alpha) */
|
|
1252
|
+
bringYourOwnIp?: boolean;
|
|
1253
|
+
/** Where is the IP used/usable (alpha) */
|
|
1254
|
+
campus?: string | null;
|
|
1255
|
+
canBeTerminated?: boolean;
|
|
1256
|
+
country?: CoreTypesCountryEnum | null;
|
|
1257
|
+
/** Custom description on your ip */
|
|
1258
|
+
description?: string | null;
|
|
1259
|
+
/** IAM resource metadata */
|
|
1260
|
+
iam?: IamResourceMetadata | null;
|
|
1261
|
+
ip?: string;
|
|
1262
|
+
/** Is this IP an Additional IP (alpha) */
|
|
1263
|
+
isAdditionalIp?: boolean;
|
|
1264
|
+
/** IP block organisation Id */
|
|
1265
|
+
organisationId?: string | null;
|
|
1266
|
+
/** Where is the IP used/usable, in the form of region codenames (alpha) */
|
|
1267
|
+
regions?: IpIpWithIAMRegionsList | null;
|
|
1268
|
+
/** Regional Internet Registry of the IP (alpha) */
|
|
1269
|
+
rir?: string | null;
|
|
1270
|
+
/** Routage information */
|
|
1271
|
+
routedTo?: IpRoutedTo | null;
|
|
1272
|
+
type?: IpIpTypeEnum;
|
|
1273
|
+
/** Version of the IP (alpha) */
|
|
1274
|
+
version?: IpIpVersionEnum;
|
|
1275
|
+
}
|
|
1276
|
+
export const IpIpWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
1277
|
+
S.Struct({
|
|
1278
|
+
bringYourOwnIp: S.optional(S.Boolean),
|
|
1279
|
+
campus: S.optional(S.NullOr(S.String)),
|
|
1280
|
+
canBeTerminated: S.optional(S.Boolean),
|
|
1281
|
+
country: S.optional(S.NullOr(CoreTypesCountryEnum)),
|
|
1282
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1283
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
1284
|
+
ip: S.optional(S.String),
|
|
1285
|
+
isAdditionalIp: S.optional(S.Boolean),
|
|
1286
|
+
organisationId: S.optional(S.NullOr(S.String)),
|
|
1287
|
+
regions: S.optional(S.NullOr(IpIpWithIAMRegionsList)),
|
|
1288
|
+
rir: S.optional(S.NullOr(S.String)),
|
|
1289
|
+
routedTo: S.optional(S.NullOr(IpRoutedTo)),
|
|
1290
|
+
type: S.optional(IpIpTypeEnum),
|
|
1291
|
+
version: S.optional(IpIpVersionEnum),
|
|
1292
|
+
}),
|
|
1293
|
+
).annotate({ identifier: "IpIpWithIAM" }) as any as S.Schema<IpIpWithIAM>;
|
|
1294
|
+
|
|
1295
|
+
export interface GetIpAntihackRequest {
|
|
1296
|
+
ip: string;
|
|
1297
|
+
/** your IP */
|
|
1298
|
+
ipBlocked: string;
|
|
1299
|
+
}
|
|
1300
|
+
export const GetIpAntihackRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1301
|
+
S.Struct({
|
|
1302
|
+
ip: S.String.pipe(T.Label()),
|
|
1303
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
1304
|
+
}).pipe(
|
|
1305
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/antihack/{ipBlocked}", code: 200 }),
|
|
1306
|
+
),
|
|
1307
|
+
).annotate({
|
|
1308
|
+
identifier: "GetIpAntihackRequest",
|
|
1309
|
+
}) as any as S.Schema<GetIpAntihackRequest>;
|
|
1310
|
+
|
|
1311
|
+
/** Possible values for IP state */
|
|
1312
|
+
export type IpBlockedIpStateEnum = "blocked" | "unblocking";
|
|
1313
|
+
export const IpBlockedIpStateEnum = /*@__PURE__*/ S.String;
|
|
1314
|
+
|
|
1315
|
+
/** Blocked IP information */
|
|
1316
|
+
export interface IpBlockedIp {
|
|
1317
|
+
/** The last blocking date */
|
|
1318
|
+
blockedSince?: string;
|
|
1319
|
+
/** your IP */
|
|
1320
|
+
ipBlocked?: string;
|
|
1321
|
+
/** Logs */
|
|
1322
|
+
logs?: string | null;
|
|
1323
|
+
/** this IP address state */
|
|
1324
|
+
state?: IpBlockedIpStateEnum;
|
|
1325
|
+
/** Time (in seconds) remaining before you can request your IP to be unblocked */
|
|
1326
|
+
time?: number;
|
|
1327
|
+
}
|
|
1328
|
+
export const IpBlockedIp = /*@__PURE__*/ S.suspend(() =>
|
|
1329
|
+
S.Struct({
|
|
1330
|
+
blockedSince: S.optional(S.String),
|
|
1331
|
+
ipBlocked: S.optional(S.String),
|
|
1332
|
+
logs: S.optional(S.NullOr(S.String)),
|
|
1333
|
+
state: S.optional(IpBlockedIpStateEnum),
|
|
1334
|
+
time: S.optional(S.Number),
|
|
1335
|
+
}),
|
|
1336
|
+
).annotate({ identifier: "IpBlockedIp" }) as any as S.Schema<IpBlockedIp>;
|
|
1337
|
+
|
|
1338
|
+
export interface GetIpArpRequest {
|
|
1339
|
+
ip: string;
|
|
1340
|
+
/** your IP */
|
|
1341
|
+
ipBlocked: string;
|
|
1342
|
+
}
|
|
1343
|
+
export const GetIpArpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1344
|
+
S.Struct({
|
|
1345
|
+
ip: S.String.pipe(T.Label()),
|
|
1346
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
1347
|
+
}).pipe(
|
|
1348
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/arp/{ipBlocked}", code: 200 }),
|
|
1349
|
+
),
|
|
1350
|
+
).annotate({
|
|
1351
|
+
identifier: "GetIpArpRequest",
|
|
1352
|
+
}) as any as S.Schema<GetIpArpRequest>;
|
|
1353
|
+
|
|
1354
|
+
/** Possible values for IP state */
|
|
1355
|
+
export type IpArpStateEnum = "blocked" | "unblocking";
|
|
1356
|
+
export const IpArpStateEnum = /*@__PURE__*/ S.String;
|
|
1357
|
+
|
|
1358
|
+
/** ARP blocked IP information */
|
|
1359
|
+
export interface IpArpBlockedIp {
|
|
1360
|
+
/** The last blocking date */
|
|
1361
|
+
blockedSince?: string;
|
|
1362
|
+
/** your IP */
|
|
1363
|
+
ipBlocked?: string;
|
|
1364
|
+
/** ARP logs */
|
|
1365
|
+
logs?: string | null;
|
|
1366
|
+
/** this IP address state */
|
|
1367
|
+
state?: IpArpStateEnum;
|
|
1368
|
+
/** Time (in seconds) remaining before you can request your IP to be unblocked */
|
|
1369
|
+
time?: number;
|
|
1370
|
+
}
|
|
1371
|
+
export const IpArpBlockedIp = /*@__PURE__*/ S.suspend(() =>
|
|
1372
|
+
S.Struct({
|
|
1373
|
+
blockedSince: S.optional(S.String),
|
|
1374
|
+
ipBlocked: S.optional(S.String),
|
|
1375
|
+
logs: S.optional(S.NullOr(S.String)),
|
|
1376
|
+
state: S.optional(IpArpStateEnum),
|
|
1377
|
+
time: S.optional(S.Number),
|
|
1378
|
+
}),
|
|
1379
|
+
).annotate({ identifier: "IpArpBlockedIp" }) as any as S.Schema<IpArpBlockedIp>;
|
|
1380
|
+
|
|
1381
|
+
export interface GetIpDelegationRequest {
|
|
1382
|
+
ip: string;
|
|
1383
|
+
/** NS target for delegation */
|
|
1384
|
+
target: string;
|
|
1385
|
+
}
|
|
1386
|
+
export const GetIpDelegationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1387
|
+
S.Struct({
|
|
1388
|
+
ip: S.String.pipe(T.Label()),
|
|
1389
|
+
target: S.String.pipe(T.Label()),
|
|
1390
|
+
}).pipe(
|
|
1391
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/delegation/{target}", code: 200 }),
|
|
1392
|
+
),
|
|
1393
|
+
).annotate({
|
|
1394
|
+
identifier: "GetIpDelegationRequest",
|
|
1395
|
+
}) as any as S.Schema<GetIpDelegationRequest>;
|
|
1396
|
+
|
|
1397
|
+
export interface GetIpFirewallRequest {
|
|
1398
|
+
ip: string;
|
|
1399
|
+
ipOnFirewall: string;
|
|
1400
|
+
}
|
|
1401
|
+
export const GetIpFirewallRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1402
|
+
S.Struct({
|
|
1403
|
+
ip: S.String.pipe(T.Label()),
|
|
1404
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
1405
|
+
}).pipe(
|
|
1406
|
+
T.Http({
|
|
1407
|
+
method: "GET",
|
|
1408
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
1409
|
+
code: 200,
|
|
1410
|
+
}),
|
|
1411
|
+
),
|
|
1412
|
+
).annotate({
|
|
1413
|
+
identifier: "GetIpFirewallRequest",
|
|
1414
|
+
}) as any as S.Schema<GetIpFirewallRequest>;
|
|
1415
|
+
|
|
1416
|
+
export interface GetIpFirewallRuleRequest {
|
|
1417
|
+
ip: string;
|
|
1418
|
+
ipOnFirewall: string;
|
|
1419
|
+
sequence: number;
|
|
1420
|
+
}
|
|
1421
|
+
export const GetIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1422
|
+
S.Struct({
|
|
1423
|
+
ip: S.String.pipe(T.Label()),
|
|
1424
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
1425
|
+
sequence: S.Number.pipe(T.Label()),
|
|
1426
|
+
}).pipe(
|
|
1427
|
+
T.Http({
|
|
1428
|
+
method: "GET",
|
|
1429
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule/{sequence}",
|
|
1430
|
+
code: 200,
|
|
1431
|
+
}),
|
|
1432
|
+
),
|
|
1433
|
+
).annotate({
|
|
1434
|
+
identifier: "GetIpFirewallRuleRequest",
|
|
1435
|
+
}) as any as S.Schema<GetIpFirewallRuleRequest>;
|
|
1436
|
+
|
|
1437
|
+
export interface GetIpGameRequest {
|
|
1438
|
+
ip: string;
|
|
1439
|
+
ipOnGame: string;
|
|
1440
|
+
}
|
|
1441
|
+
export const GetIpGameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1442
|
+
S.Struct({
|
|
1443
|
+
ip: S.String.pipe(T.Label()),
|
|
1444
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
1445
|
+
}).pipe(
|
|
1446
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/game/{ipOnGame}", code: 200 }),
|
|
1447
|
+
),
|
|
1448
|
+
).annotate({
|
|
1449
|
+
identifier: "GetIpGameRequest",
|
|
1450
|
+
}) as any as S.Schema<GetIpGameRequest>;
|
|
1451
|
+
|
|
1452
|
+
/** Possible values for udp mitigation rule state */
|
|
1453
|
+
export type IpGameMitigationStateEnum =
|
|
1454
|
+
| "cleanRulesPending"
|
|
1455
|
+
| "firewallModeDisablePending"
|
|
1456
|
+
| "firewallModeEnablePending"
|
|
1457
|
+
| "ok";
|
|
1458
|
+
export const IpGameMitigationStateEnum = /*@__PURE__*/ S.String;
|
|
1459
|
+
|
|
1460
|
+
/** List of protocols available on this IP */
|
|
1461
|
+
export type IpGameMitigationSupportedProtocolsList =
|
|
1462
|
+
Array<IpGameMitigationRuleProtocolEnum>;
|
|
1463
|
+
export const IpGameMitigationSupportedProtocolsList = /*@__PURE__*/ S.Array(
|
|
1464
|
+
IpGameMitigationRuleProtocolEnum,
|
|
1465
|
+
) as any as S.Schema<IpGameMitigationSupportedProtocolsList>;
|
|
1466
|
+
|
|
1467
|
+
/** GAME Anti-DDoS */
|
|
1468
|
+
export interface IpGameMitigation {
|
|
1469
|
+
/** Firewall mode : in UDP, only allow traffic matching your rules (as well as established traffic). If not enabled, traffic to ports not defined in your rules will be permited. TCP traffic is unaffected by this. */
|
|
1470
|
+
firewallModeEnabled?: boolean;
|
|
1471
|
+
ipOnGame?: string;
|
|
1472
|
+
/** Maximum number of rules for this IP */
|
|
1473
|
+
maxRules?: number;
|
|
1474
|
+
state?: IpGameMitigationStateEnum;
|
|
1475
|
+
/** List of protocols available on this IP */
|
|
1476
|
+
supportedProtocols?: IpGameMitigationSupportedProtocolsList;
|
|
1477
|
+
}
|
|
1478
|
+
export const IpGameMitigation = /*@__PURE__*/ S.suspend(() =>
|
|
1479
|
+
S.Struct({
|
|
1480
|
+
firewallModeEnabled: S.optional(S.Boolean),
|
|
1481
|
+
ipOnGame: S.optional(S.String),
|
|
1482
|
+
maxRules: S.optional(S.Number),
|
|
1483
|
+
state: S.optional(IpGameMitigationStateEnum),
|
|
1484
|
+
supportedProtocols: S.optional(IpGameMitigationSupportedProtocolsList),
|
|
1485
|
+
}),
|
|
1486
|
+
).annotate({
|
|
1487
|
+
identifier: "IpGameMitigation",
|
|
1488
|
+
}) as any as S.Schema<IpGameMitigation>;
|
|
1489
|
+
|
|
1490
|
+
export interface GetIpGameRuleRequest {
|
|
1491
|
+
ip: string;
|
|
1492
|
+
ipOnGame: string;
|
|
1493
|
+
/** ID of the rule */
|
|
1494
|
+
id: number;
|
|
1495
|
+
}
|
|
1496
|
+
export const GetIpGameRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1497
|
+
S.Struct({
|
|
1498
|
+
ip: S.String.pipe(T.Label()),
|
|
1499
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
1500
|
+
id: S.Number.pipe(T.Label()),
|
|
1501
|
+
}).pipe(
|
|
1502
|
+
T.Http({
|
|
1503
|
+
method: "GET",
|
|
1504
|
+
uri: "/ip/{ip}/game/{ipOnGame}/rule/{id}",
|
|
1505
|
+
code: 200,
|
|
1506
|
+
}),
|
|
1507
|
+
),
|
|
1508
|
+
).annotate({
|
|
1509
|
+
identifier: "GetIpGameRuleRequest",
|
|
1510
|
+
}) as any as S.Schema<GetIpGameRuleRequest>;
|
|
1511
|
+
|
|
1512
|
+
export interface GetIpMigrationTokenRequest {
|
|
1513
|
+
ip: string;
|
|
1514
|
+
}
|
|
1515
|
+
export const GetIpMigrationTokenRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1516
|
+
S.Struct({
|
|
1517
|
+
ip: S.String.pipe(T.Label()),
|
|
1518
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/migrationToken", code: 200 })),
|
|
1519
|
+
).annotate({
|
|
1520
|
+
identifier: "GetIpMigrationTokenRequest",
|
|
1521
|
+
}) as any as S.Schema<GetIpMigrationTokenRequest>;
|
|
1522
|
+
|
|
1523
|
+
export interface GetIpMitigationRequest {
|
|
1524
|
+
ip: string;
|
|
1525
|
+
ipOnMitigation: string;
|
|
1526
|
+
}
|
|
1527
|
+
export const GetIpMitigationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1528
|
+
S.Struct({
|
|
1529
|
+
ip: S.String.pipe(T.Label()),
|
|
1530
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
1531
|
+
}).pipe(
|
|
1532
|
+
T.Http({
|
|
1533
|
+
method: "GET",
|
|
1534
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
1535
|
+
code: 200,
|
|
1536
|
+
}),
|
|
1537
|
+
),
|
|
1538
|
+
).annotate({
|
|
1539
|
+
identifier: "GetIpMitigationRequest",
|
|
1540
|
+
}) as any as S.Schema<GetIpMitigationRequest>;
|
|
1541
|
+
|
|
1542
|
+
export interface GetIpMitigationProfileRequest {
|
|
1543
|
+
ip: string;
|
|
1544
|
+
ipMitigationProfile: string;
|
|
1545
|
+
}
|
|
1546
|
+
export const GetIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1547
|
+
S.Struct({
|
|
1548
|
+
ip: S.String.pipe(T.Label()),
|
|
1549
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
1550
|
+
}).pipe(
|
|
1551
|
+
T.Http({
|
|
1552
|
+
method: "GET",
|
|
1553
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
1554
|
+
code: 200,
|
|
1555
|
+
}),
|
|
1556
|
+
),
|
|
1557
|
+
).annotate({
|
|
1558
|
+
identifier: "GetIpMitigationProfileRequest",
|
|
1559
|
+
}) as any as S.Schema<GetIpMitigationProfileRequest>;
|
|
1560
|
+
|
|
1561
|
+
export interface GetIpPhishingRequest {
|
|
1562
|
+
ip: string;
|
|
1563
|
+
/** Internal ID of the phishing entry */
|
|
1564
|
+
id: number;
|
|
1565
|
+
}
|
|
1566
|
+
export const GetIpPhishingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1567
|
+
S.Struct({
|
|
1568
|
+
ip: S.String.pipe(T.Label()),
|
|
1569
|
+
id: S.Number.pipe(T.Label()),
|
|
1570
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/phishing/{id}", code: 200 })),
|
|
1571
|
+
).annotate({
|
|
1572
|
+
identifier: "GetIpPhishingRequest",
|
|
1573
|
+
}) as any as S.Schema<GetIpPhishingRequest>;
|
|
1574
|
+
|
|
1575
|
+
/** Possible values for antiphishing state */
|
|
1576
|
+
export type IpAntiphishingStateEnum =
|
|
1577
|
+
| "blocked"
|
|
1578
|
+
| "blocking"
|
|
1579
|
+
| "unblocked"
|
|
1580
|
+
| "unblocking";
|
|
1581
|
+
export const IpAntiphishingStateEnum = /*@__PURE__*/ S.String;
|
|
1582
|
+
|
|
1583
|
+
/** Phishing URLs hosted on your IP */
|
|
1584
|
+
export interface IpAntiphishing {
|
|
1585
|
+
/** Date of the event */
|
|
1586
|
+
creationDate?: string;
|
|
1587
|
+
/** Internal ID of the phishing entry */
|
|
1588
|
+
id?: number;
|
|
1589
|
+
/** IP address hosting the phishing URL */
|
|
1590
|
+
ipOnAntiphishing?: string;
|
|
1591
|
+
/** Current state of the phishing */
|
|
1592
|
+
state?: IpAntiphishingStateEnum;
|
|
1593
|
+
/** Phishing URL */
|
|
1594
|
+
urlPhishing?: string;
|
|
1595
|
+
}
|
|
1596
|
+
export const IpAntiphishing = /*@__PURE__*/ S.suspend(() =>
|
|
1597
|
+
S.Struct({
|
|
1598
|
+
creationDate: S.optional(S.String),
|
|
1599
|
+
id: S.optional(S.Number),
|
|
1600
|
+
ipOnAntiphishing: S.optional(S.String),
|
|
1601
|
+
state: S.optional(IpAntiphishingStateEnum),
|
|
1602
|
+
urlPhishing: S.optional(S.String),
|
|
1603
|
+
}),
|
|
1604
|
+
).annotate({ identifier: "IpAntiphishing" }) as any as S.Schema<IpAntiphishing>;
|
|
1605
|
+
|
|
1606
|
+
export interface GetIpReverseRequest {
|
|
1607
|
+
ip: string;
|
|
1608
|
+
ipReverse: string;
|
|
1609
|
+
}
|
|
1610
|
+
export const GetIpReverseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1611
|
+
S.Struct({
|
|
1612
|
+
ip: S.String.pipe(T.Label()),
|
|
1613
|
+
ipReverse: S.String.pipe(T.Label()),
|
|
1614
|
+
}).pipe(
|
|
1615
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/reverse/{ipReverse}", code: 200 }),
|
|
1616
|
+
),
|
|
1617
|
+
).annotate({
|
|
1618
|
+
identifier: "GetIpReverseRequest",
|
|
1619
|
+
}) as any as S.Schema<GetIpReverseRequest>;
|
|
1620
|
+
|
|
1621
|
+
export interface GetIpRipeRequest {
|
|
1622
|
+
ip: string;
|
|
1623
|
+
}
|
|
1624
|
+
export const GetIpRipeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1625
|
+
S.Struct({
|
|
1626
|
+
ip: S.String.pipe(T.Label()),
|
|
1627
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/ripe", code: 200 })),
|
|
1628
|
+
).annotate({
|
|
1629
|
+
identifier: "GetIpRipeRequest",
|
|
1630
|
+
}) as any as S.Schema<GetIpRipeRequest>;
|
|
1631
|
+
|
|
1632
|
+
/** IP block RIPE informations */
|
|
1633
|
+
export interface IpRipeInfos {
|
|
1634
|
+
description?: string | null;
|
|
1635
|
+
netname?: string | null;
|
|
1636
|
+
}
|
|
1637
|
+
export const IpRipeInfos = /*@__PURE__*/ S.suspend(() =>
|
|
1638
|
+
S.Struct({
|
|
1639
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1640
|
+
netname: S.optional(S.NullOr(S.String)),
|
|
1641
|
+
}),
|
|
1642
|
+
).annotate({ identifier: "IpRipeInfos" }) as any as S.Schema<IpRipeInfos>;
|
|
1643
|
+
|
|
1644
|
+
export interface GetIpServiceRequest {
|
|
1645
|
+
/** The internal name of your IP services */
|
|
1646
|
+
serviceName: string;
|
|
1647
|
+
}
|
|
1648
|
+
export const GetIpServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1649
|
+
S.Struct({
|
|
1650
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1651
|
+
}).pipe(
|
|
1652
|
+
T.Http({ method: "GET", uri: "/ip/service/{serviceName}", code: 200 }),
|
|
1653
|
+
),
|
|
1654
|
+
).annotate({
|
|
1655
|
+
identifier: "GetIpServiceRequest",
|
|
1656
|
+
}) as any as S.Schema<GetIpServiceRequest>;
|
|
1657
|
+
|
|
1658
|
+
/** Your IP linked to service */
|
|
1659
|
+
export interface IpServiceIpWithIAM {
|
|
1660
|
+
canBeTerminated?: boolean;
|
|
1661
|
+
country?: CoreTypesCountryEnum | null;
|
|
1662
|
+
/** Custom description on your ip */
|
|
1663
|
+
description?: string | null;
|
|
1664
|
+
/** IAM resource metadata */
|
|
1665
|
+
iam?: IamResourceMetadata | null;
|
|
1666
|
+
ip?: string;
|
|
1667
|
+
/** IP block organisation Id */
|
|
1668
|
+
organisationId?: string | null;
|
|
1669
|
+
/** Routage information */
|
|
1670
|
+
routedTo?: IpRoutedTo | null;
|
|
1671
|
+
type?: IpIpTypeEnum;
|
|
1672
|
+
}
|
|
1673
|
+
export const IpServiceIpWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
1674
|
+
S.Struct({
|
|
1675
|
+
canBeTerminated: S.optional(S.Boolean),
|
|
1676
|
+
country: S.optional(S.NullOr(CoreTypesCountryEnum)),
|
|
1677
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1678
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
1679
|
+
ip: S.optional(S.String),
|
|
1680
|
+
organisationId: S.optional(S.NullOr(S.String)),
|
|
1681
|
+
routedTo: S.optional(S.NullOr(IpRoutedTo)),
|
|
1682
|
+
type: S.optional(IpIpTypeEnum),
|
|
1683
|
+
}),
|
|
1684
|
+
).annotate({
|
|
1685
|
+
identifier: "IpServiceIpWithIAM",
|
|
1686
|
+
}) as any as S.Schema<IpServiceIpWithIAM>;
|
|
1687
|
+
|
|
1688
|
+
export interface GetIpServiceServiceInfosRequest {
|
|
1689
|
+
/** The internal name of your IP services */
|
|
1690
|
+
serviceName: string;
|
|
1691
|
+
}
|
|
1692
|
+
export const GetIpServiceServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1693
|
+
S.Struct({
|
|
1694
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1695
|
+
}).pipe(
|
|
1696
|
+
T.Http({
|
|
1697
|
+
method: "GET",
|
|
1698
|
+
uri: "/ip/service/{serviceName}/serviceInfos",
|
|
1699
|
+
code: 200,
|
|
1700
|
+
}),
|
|
1701
|
+
),
|
|
1702
|
+
).annotate({
|
|
1703
|
+
identifier: "GetIpServiceServiceInfosRequest",
|
|
1704
|
+
}) as any as S.Schema<GetIpServiceServiceInfosRequest>;
|
|
1705
|
+
|
|
1706
|
+
/** All the possible renew period of your service in month */
|
|
1707
|
+
export type ServicesServicePossibleRenewPeriodList = Array<number>;
|
|
1708
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(
|
|
1709
|
+
S.Number,
|
|
1710
|
+
) as any as S.Schema<ServicesServicePossibleRenewPeriodList>;
|
|
1711
|
+
|
|
1712
|
+
/** Map a possible renew for a specific service */
|
|
1713
|
+
export interface ServiceRenewType {
|
|
1714
|
+
/** The service is automatically renewed */
|
|
1715
|
+
automatic?: boolean;
|
|
1716
|
+
/** The service will be deleted at expiration */
|
|
1717
|
+
deleteAtExpiration?: boolean;
|
|
1718
|
+
/** The service forced to be renewed */
|
|
1719
|
+
forced?: boolean;
|
|
1720
|
+
/** The service needs to be manually renewed and paid */
|
|
1721
|
+
manualPayment?: boolean | null;
|
|
1722
|
+
/** period of renew in month */
|
|
1723
|
+
period?: number | null;
|
|
1724
|
+
}
|
|
1725
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() =>
|
|
1726
|
+
S.Struct({
|
|
1727
|
+
automatic: S.optional(S.Boolean),
|
|
1728
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
1729
|
+
forced: S.optional(S.Boolean),
|
|
1730
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
1731
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
1732
|
+
}),
|
|
1733
|
+
).annotate({
|
|
1734
|
+
identifier: "ServiceRenewType",
|
|
1735
|
+
}) as any as S.Schema<ServiceRenewType>;
|
|
1736
|
+
|
|
1737
|
+
/** Detailed renewal type of a service */
|
|
1738
|
+
export type ServiceRenewalTypeEnum =
|
|
1739
|
+
| "automaticForcedProduct"
|
|
1740
|
+
| "automaticV2012"
|
|
1741
|
+
| "automaticV2014"
|
|
1742
|
+
| "automaticV2016"
|
|
1743
|
+
| "automaticV2024"
|
|
1744
|
+
| "manual"
|
|
1745
|
+
| "oneShot"
|
|
1746
|
+
| "option";
|
|
1747
|
+
export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
|
|
1748
|
+
|
|
1749
|
+
export type ServiceStateEnum =
|
|
1750
|
+
| "autorenewInProgress"
|
|
1751
|
+
| "expired"
|
|
1752
|
+
| "inCreation"
|
|
1753
|
+
| "ok"
|
|
1754
|
+
| "pendingDebt"
|
|
1755
|
+
| "unPaid";
|
|
1756
|
+
export const ServiceStateEnum = /*@__PURE__*/ S.String;
|
|
1757
|
+
|
|
1758
|
+
/** Details about a Service */
|
|
1759
|
+
export interface ServicesService {
|
|
1760
|
+
/** Indicates that the service can be set up to be deleted at expiration */
|
|
1761
|
+
canDeleteAtExpiration?: boolean;
|
|
1762
|
+
contactAdmin?: string;
|
|
1763
|
+
contactBilling?: string;
|
|
1764
|
+
contactTech?: string;
|
|
1765
|
+
creation?: string;
|
|
1766
|
+
domain?: string;
|
|
1767
|
+
engagedUpTo?: string | null;
|
|
1768
|
+
expiration?: string;
|
|
1769
|
+
/** All the possible renew period of your service in month */
|
|
1770
|
+
possibleRenewPeriod?: ServicesServicePossibleRenewPeriodList | null;
|
|
1771
|
+
/** Way of handling the renew */
|
|
1772
|
+
renew?: ServiceRenewType | null;
|
|
1773
|
+
renewalType?: ServiceRenewalTypeEnum;
|
|
1774
|
+
serviceId?: number;
|
|
1775
|
+
status?: ServiceStateEnum;
|
|
1776
|
+
}
|
|
1777
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() =>
|
|
1778
|
+
S.Struct({
|
|
1779
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
1780
|
+
contactAdmin: S.optional(S.String),
|
|
1781
|
+
contactBilling: S.optional(S.String),
|
|
1782
|
+
contactTech: S.optional(S.String),
|
|
1783
|
+
creation: S.optional(S.String),
|
|
1784
|
+
domain: S.optional(S.String),
|
|
1785
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
1786
|
+
expiration: S.optional(S.String),
|
|
1787
|
+
possibleRenewPeriod: S.optional(
|
|
1788
|
+
S.NullOr(ServicesServicePossibleRenewPeriodList),
|
|
1789
|
+
),
|
|
1790
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1791
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
1792
|
+
serviceId: S.optional(S.Number),
|
|
1793
|
+
status: S.optional(ServiceStateEnum),
|
|
1794
|
+
}),
|
|
1795
|
+
).annotate({
|
|
1796
|
+
identifier: "ServicesService",
|
|
1797
|
+
}) as any as S.Schema<ServicesService>;
|
|
1798
|
+
|
|
1799
|
+
export interface GetIpSpamRequest {
|
|
1800
|
+
ip: string;
|
|
1801
|
+
/** IP address which is sending spam */
|
|
1802
|
+
ipSpamming: string;
|
|
1803
|
+
}
|
|
1804
|
+
export const GetIpSpamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1805
|
+
S.Struct({
|
|
1806
|
+
ip: S.String.pipe(T.Label()),
|
|
1807
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
1808
|
+
}).pipe(
|
|
1809
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/spam/{ipSpamming}", code: 200 }),
|
|
1810
|
+
),
|
|
1811
|
+
).annotate({
|
|
1812
|
+
identifier: "GetIpSpamRequest",
|
|
1813
|
+
}) as any as S.Schema<GetIpSpamRequest>;
|
|
1814
|
+
|
|
1815
|
+
/** Possible values for spam state */
|
|
1816
|
+
export type IpSpamStateEnum = "blockedForSpam" | "unblocked" | "unblocking";
|
|
1817
|
+
export const IpSpamStateEnum = /*@__PURE__*/ S.String;
|
|
1818
|
+
|
|
1819
|
+
/** Your IP spam stats */
|
|
1820
|
+
export interface IpSpamIp {
|
|
1821
|
+
/** Last date the ip was blocked */
|
|
1822
|
+
date?: string;
|
|
1823
|
+
/** IP address which is sending spam */
|
|
1824
|
+
ipSpamming?: string;
|
|
1825
|
+
/** Current state of the ip */
|
|
1826
|
+
state?: IpSpamStateEnum;
|
|
1827
|
+
/** Time (in seconds) while the IP will be blocked */
|
|
1828
|
+
time?: number;
|
|
1829
|
+
}
|
|
1830
|
+
export const IpSpamIp = /*@__PURE__*/ S.suspend(() =>
|
|
1831
|
+
S.Struct({
|
|
1832
|
+
date: S.optional(S.String),
|
|
1833
|
+
ipSpamming: S.optional(S.String),
|
|
1834
|
+
state: S.optional(IpSpamStateEnum),
|
|
1835
|
+
time: S.optional(S.Number),
|
|
1836
|
+
}),
|
|
1837
|
+
).annotate({ identifier: "IpSpamIp" }) as any as S.Schema<IpSpamIp>;
|
|
1838
|
+
|
|
1839
|
+
export interface GetIpTaskRequest {
|
|
1840
|
+
ip: string;
|
|
1841
|
+
/** the id of the task */
|
|
1842
|
+
taskId: number;
|
|
1843
|
+
}
|
|
1844
|
+
export const GetIpTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1845
|
+
S.Struct({
|
|
1846
|
+
ip: S.String.pipe(T.Label()),
|
|
1847
|
+
taskId: S.Number.pipe(T.Label()),
|
|
1848
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/task/{taskId}", code: 200 })),
|
|
1849
|
+
).annotate({
|
|
1850
|
+
identifier: "GetIpTaskRequest",
|
|
1851
|
+
}) as any as S.Schema<GetIpTaskRequest>;
|
|
1852
|
+
|
|
1853
|
+
/** Resource tag filter */
|
|
1854
|
+
export interface IamResourceTagFilterInput {}
|
|
1855
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
|
|
1856
|
+
S.Struct({}),
|
|
1857
|
+
).annotate({
|
|
1858
|
+
identifier: "IamResourceTagFilterInput",
|
|
1859
|
+
}) as any as S.Schema<IamResourceTagFilterInput>;
|
|
1860
|
+
|
|
1861
|
+
export type ListIpRequestIamTagsValueList = Array<IamResourceTagFilterInput>;
|
|
1862
|
+
export const ListIpRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
1863
|
+
IamResourceTagFilterInput,
|
|
1864
|
+
) as any as S.Schema<ListIpRequestIamTagsValueList>;
|
|
1865
|
+
|
|
1866
|
+
export type ListIpRequestIamTagsMap = {
|
|
1867
|
+
[key: string]: ListIpRequestIamTagsValueList | undefined;
|
|
1868
|
+
};
|
|
1869
|
+
export const ListIpRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
1870
|
+
S.String,
|
|
1871
|
+
ListIpRequestIamTagsValueList,
|
|
1872
|
+
) as any as S.Schema<ListIpRequestIamTagsMap>;
|
|
1873
|
+
|
|
1874
|
+
export interface ListIpRequest {
|
|
1875
|
+
/** Filter the value of campus property (ilike) (alpha) */
|
|
1876
|
+
campus?: string;
|
|
1877
|
+
/** Filter the value of description property (like) */
|
|
1878
|
+
description?: string;
|
|
1879
|
+
/** Filter resources on IAM tags */
|
|
1880
|
+
iamTags?: ListIpRequestIamTagsMap;
|
|
1881
|
+
/** Filter the value of ip property (contains or equals) */
|
|
1882
|
+
ip?: string;
|
|
1883
|
+
/** Filter the value of isAdditionalIp property (=) (alpha) */
|
|
1884
|
+
isAdditionalIp?: boolean;
|
|
1885
|
+
/** Filter the value of routedTo.serviceName property (like) */
|
|
1886
|
+
routedTo_serviceName?: string;
|
|
1887
|
+
/** Filter the value of type property (=) */
|
|
1888
|
+
type?: IpIpTypeEnum | (string & {});
|
|
1889
|
+
/** Filter the value of version property (=) (alpha) */
|
|
1890
|
+
version?: IpIpVersionEnum | (number & {});
|
|
1891
|
+
}
|
|
1892
|
+
export const ListIpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1893
|
+
S.Struct({
|
|
1894
|
+
campus: S.optional(S.String.pipe(T.Query())),
|
|
1895
|
+
description: S.optional(S.String.pipe(T.Query())),
|
|
1896
|
+
iamTags: S.optional(ListIpRequestIamTagsMap.pipe(T.Query())),
|
|
1897
|
+
ip: S.optional(S.String.pipe(T.Query())),
|
|
1898
|
+
isAdditionalIp: S.optional(S.Boolean.pipe(T.Query())),
|
|
1899
|
+
routedTo_serviceName: S.optional(
|
|
1900
|
+
S.String.pipe(T.Query("routedTo.serviceName")),
|
|
1901
|
+
),
|
|
1902
|
+
type: S.optional(IpIpTypeEnum.pipe(T.Query())),
|
|
1903
|
+
version: S.optional(IpIpVersionEnum.pipe(T.Query())),
|
|
1904
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip", code: 200 })),
|
|
1905
|
+
).annotate({ identifier: "ListIpRequest" }) as any as S.Schema<ListIpRequest>;
|
|
1906
|
+
|
|
1907
|
+
export type ListIpResponseBodyList = Array<string>;
|
|
1908
|
+
export const ListIpResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1909
|
+
S.String,
|
|
1910
|
+
) as any as S.Schema<ListIpResponseBodyList>;
|
|
1911
|
+
|
|
1912
|
+
export type ListIpResponse = ListIpResponseBodyList;
|
|
1913
|
+
export const ListIpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1914
|
+
ListIpResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1915
|
+
).annotate({ identifier: "ListIpResponse" }) as any as S.Schema<ListIpResponse>;
|
|
1916
|
+
|
|
1917
|
+
export interface ListIpAntihackRequest {
|
|
1918
|
+
ip: string;
|
|
1919
|
+
/** Filter the value of state property (=) */
|
|
1920
|
+
state?: IpBlockedIpStateEnum | (string & {});
|
|
1921
|
+
}
|
|
1922
|
+
export const ListIpAntihackRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1923
|
+
S.Struct({
|
|
1924
|
+
ip: S.String.pipe(T.Label()),
|
|
1925
|
+
state: S.optional(IpBlockedIpStateEnum.pipe(T.Query())),
|
|
1926
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/antihack", code: 200 })),
|
|
1927
|
+
).annotate({
|
|
1928
|
+
identifier: "ListIpAntihackRequest",
|
|
1929
|
+
}) as any as S.Schema<ListIpAntihackRequest>;
|
|
1930
|
+
|
|
1931
|
+
export type ListIpAntihackResponseBodyList = Array<string>;
|
|
1932
|
+
export const ListIpAntihackResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1933
|
+
S.String,
|
|
1934
|
+
) as any as S.Schema<ListIpAntihackResponseBodyList>;
|
|
1935
|
+
|
|
1936
|
+
export type ListIpAntihackResponse = ListIpAntihackResponseBodyList;
|
|
1937
|
+
export const ListIpAntihackResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1938
|
+
ListIpAntihackResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1939
|
+
).annotate({
|
|
1940
|
+
identifier: "ListIpAntihackResponse",
|
|
1941
|
+
}) as any as S.Schema<ListIpAntihackResponse>;
|
|
1942
|
+
|
|
1943
|
+
export interface ListIpArpRequest {
|
|
1944
|
+
ip: string;
|
|
1945
|
+
/** Filter the value of state property (=) */
|
|
1946
|
+
state?: IpArpStateEnum | (string & {});
|
|
1947
|
+
}
|
|
1948
|
+
export const ListIpArpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1949
|
+
S.Struct({
|
|
1950
|
+
ip: S.String.pipe(T.Label()),
|
|
1951
|
+
state: S.optional(IpArpStateEnum.pipe(T.Query())),
|
|
1952
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/arp", code: 200 })),
|
|
1953
|
+
).annotate({
|
|
1954
|
+
identifier: "ListIpArpRequest",
|
|
1955
|
+
}) as any as S.Schema<ListIpArpRequest>;
|
|
1956
|
+
|
|
1957
|
+
export type ListIpArpResponseBodyList = Array<string>;
|
|
1958
|
+
export const ListIpArpResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1959
|
+
S.String,
|
|
1960
|
+
) as any as S.Schema<ListIpArpResponseBodyList>;
|
|
1961
|
+
|
|
1962
|
+
export type ListIpArpResponse = ListIpArpResponseBodyList;
|
|
1963
|
+
export const ListIpArpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1964
|
+
ListIpArpResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1965
|
+
).annotate({
|
|
1966
|
+
identifier: "ListIpArpResponse",
|
|
1967
|
+
}) as any as S.Schema<ListIpArpResponse>;
|
|
1968
|
+
|
|
1969
|
+
export interface ListIpBringYourOwnIpAggregateRequest {
|
|
1970
|
+
ip: string;
|
|
1971
|
+
}
|
|
1972
|
+
export const ListIpBringYourOwnIpAggregateRequest = /*@__PURE__*/ S.suspend(
|
|
1973
|
+
() =>
|
|
1974
|
+
S.Struct({
|
|
1975
|
+
ip: S.String.pipe(T.Label()),
|
|
1976
|
+
}).pipe(
|
|
1977
|
+
T.Http({
|
|
1978
|
+
method: "GET",
|
|
1979
|
+
uri: "/ip/{ip}/bringYourOwnIp/aggregate",
|
|
1980
|
+
code: 200,
|
|
1981
|
+
}),
|
|
1982
|
+
),
|
|
1983
|
+
).annotate({
|
|
1984
|
+
identifier: "ListIpBringYourOwnIpAggregateRequest",
|
|
1985
|
+
}) as any as S.Schema<ListIpBringYourOwnIpAggregateRequest>;
|
|
1986
|
+
|
|
1987
|
+
/** Existing Additional IP(s) that will be aggregated */
|
|
1988
|
+
export type IpByoipAggregationPreviewChildrenIpsList = Array<string>;
|
|
1989
|
+
export const IpByoipAggregationPreviewChildrenIpsList = /*@__PURE__*/ S.Array(
|
|
1990
|
+
S.String,
|
|
1991
|
+
) as any as S.Schema<IpByoipAggregationPreviewChildrenIpsList>;
|
|
1992
|
+
|
|
1993
|
+
/** Preview of an IP aggregation on BYOIP Additional IPs */
|
|
1994
|
+
export interface IpByoipAggregationPreview {
|
|
1995
|
+
/** Aggregation Additional IP that will be created */
|
|
1996
|
+
aggregationIp?: string;
|
|
1997
|
+
/** Existing Additional IP(s) that will be aggregated */
|
|
1998
|
+
childrenIps?: IpByoipAggregationPreviewChildrenIpsList;
|
|
1999
|
+
}
|
|
2000
|
+
export const IpByoipAggregationPreview = /*@__PURE__*/ S.suspend(() =>
|
|
2001
|
+
S.Struct({
|
|
2002
|
+
aggregationIp: S.optional(S.String),
|
|
2003
|
+
childrenIps: S.optional(IpByoipAggregationPreviewChildrenIpsList),
|
|
2004
|
+
}),
|
|
2005
|
+
).annotate({
|
|
2006
|
+
identifier: "IpByoipAggregationPreview",
|
|
2007
|
+
}) as any as S.Schema<IpByoipAggregationPreview>;
|
|
2008
|
+
|
|
2009
|
+
export type ListIpBringYourOwnIpAggregateResponseBodyList =
|
|
2010
|
+
Array<IpByoipAggregationPreview>;
|
|
2011
|
+
export const ListIpBringYourOwnIpAggregateResponseBodyList =
|
|
2012
|
+
/*@__PURE__*/ S.Array(
|
|
2013
|
+
IpByoipAggregationPreview,
|
|
2014
|
+
) as any as S.Schema<ListIpBringYourOwnIpAggregateResponseBodyList>;
|
|
2015
|
+
|
|
2016
|
+
export type ListIpBringYourOwnIpAggregateResponse =
|
|
2017
|
+
ListIpBringYourOwnIpAggregateResponseBodyList;
|
|
2018
|
+
export const ListIpBringYourOwnIpAggregateResponse = /*@__PURE__*/ S.suspend(
|
|
2019
|
+
() => ListIpBringYourOwnIpAggregateResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2020
|
+
).annotate({
|
|
2021
|
+
identifier: "ListIpBringYourOwnIpAggregateResponse",
|
|
2022
|
+
}) as any as S.Schema<ListIpBringYourOwnIpAggregateResponse>;
|
|
2023
|
+
|
|
2024
|
+
export interface ListIpBringYourOwnIpSliceRequest {
|
|
2025
|
+
ip: string;
|
|
2026
|
+
}
|
|
2027
|
+
export const ListIpBringYourOwnIpSliceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2028
|
+
S.Struct({
|
|
2029
|
+
ip: S.String.pipe(T.Label()),
|
|
2030
|
+
}).pipe(
|
|
2031
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/bringYourOwnIp/slice", code: 200 }),
|
|
2032
|
+
),
|
|
2033
|
+
).annotate({
|
|
2034
|
+
identifier: "ListIpBringYourOwnIpSliceRequest",
|
|
2035
|
+
}) as any as S.Schema<ListIpBringYourOwnIpSliceRequest>;
|
|
2036
|
+
|
|
2037
|
+
/** Additional IP(s) that will be created */
|
|
2038
|
+
export type IpByoipSlicingPreviewChildrenIpsList = Array<string>;
|
|
2039
|
+
export const IpByoipSlicingPreviewChildrenIpsList = /*@__PURE__*/ S.Array(
|
|
2040
|
+
S.String,
|
|
2041
|
+
) as any as S.Schema<IpByoipSlicingPreviewChildrenIpsList>;
|
|
2042
|
+
|
|
2043
|
+
/** Preview of an IP slicing on BYOIP Additional IPs */
|
|
2044
|
+
export interface IpByoipSlicingPreview {
|
|
2045
|
+
/** Additional IP(s) that will be created */
|
|
2046
|
+
childrenIps?: IpByoipSlicingPreviewChildrenIpsList;
|
|
2047
|
+
/** Slicing size */
|
|
2048
|
+
slicingSize?: number;
|
|
2049
|
+
}
|
|
2050
|
+
export const IpByoipSlicingPreview = /*@__PURE__*/ S.suspend(() =>
|
|
2051
|
+
S.Struct({
|
|
2052
|
+
childrenIps: S.optional(IpByoipSlicingPreviewChildrenIpsList),
|
|
2053
|
+
slicingSize: S.optional(S.Number),
|
|
2054
|
+
}),
|
|
2055
|
+
).annotate({
|
|
2056
|
+
identifier: "IpByoipSlicingPreview",
|
|
2057
|
+
}) as any as S.Schema<IpByoipSlicingPreview>;
|
|
2058
|
+
|
|
2059
|
+
export type ListIpBringYourOwnIpSliceResponseBodyList =
|
|
2060
|
+
Array<IpByoipSlicingPreview>;
|
|
2061
|
+
export const ListIpBringYourOwnIpSliceResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2062
|
+
IpByoipSlicingPreview,
|
|
2063
|
+
) as any as S.Schema<ListIpBringYourOwnIpSliceResponseBodyList>;
|
|
2064
|
+
|
|
2065
|
+
export type ListIpBringYourOwnIpSliceResponse =
|
|
2066
|
+
ListIpBringYourOwnIpSliceResponseBodyList;
|
|
2067
|
+
export const ListIpBringYourOwnIpSliceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2068
|
+
ListIpBringYourOwnIpSliceResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2069
|
+
).annotate({
|
|
2070
|
+
identifier: "ListIpBringYourOwnIpSliceResponse",
|
|
2071
|
+
}) as any as S.Schema<ListIpBringYourOwnIpSliceResponse>;
|
|
2072
|
+
|
|
2073
|
+
export interface ListIpCampusRequest {}
|
|
2074
|
+
export const ListIpCampusRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2075
|
+
S.Struct({}).pipe(T.Http({ method: "GET", uri: "/ip/campus", code: 200 })),
|
|
2076
|
+
).annotate({
|
|
2077
|
+
identifier: "ListIpCampusRequest",
|
|
2078
|
+
}) as any as S.Schema<ListIpCampusRequest>;
|
|
2079
|
+
|
|
2080
|
+
/** List of RIRs whose IPs can be imported in the campus */
|
|
2081
|
+
export type IpCampusBringYourOwnIpSupportedRirForIpList = Array<string>;
|
|
2082
|
+
export const IpCampusBringYourOwnIpSupportedRirForIpList =
|
|
2083
|
+
/*@__PURE__*/ S.Array(
|
|
2084
|
+
S.String,
|
|
2085
|
+
) as any as S.Schema<IpCampusBringYourOwnIpSupportedRirForIpList>;
|
|
2086
|
+
|
|
2087
|
+
/** ovh datacenter */
|
|
2088
|
+
export type DedicatedDatacenterEnum =
|
|
2089
|
+
| "bhs1"
|
|
2090
|
+
| "bhs2"
|
|
2091
|
+
| "bhs3"
|
|
2092
|
+
| "bhs4"
|
|
2093
|
+
| "bhs5"
|
|
2094
|
+
| "bhs6"
|
|
2095
|
+
| "bhs7"
|
|
2096
|
+
| "bhs8"
|
|
2097
|
+
| "cch01"
|
|
2098
|
+
| "crx1"
|
|
2099
|
+
| "crx2"
|
|
2100
|
+
| "dc1"
|
|
2101
|
+
| "eri1"
|
|
2102
|
+
| "eri2"
|
|
2103
|
+
| "gra04"
|
|
2104
|
+
| "gra1"
|
|
2105
|
+
| "gra2"
|
|
2106
|
+
| "gra3"
|
|
2107
|
+
| "gsw"
|
|
2108
|
+
| "hdf01"
|
|
2109
|
+
| "hil1"
|
|
2110
|
+
| "ieb01"
|
|
2111
|
+
| "lil1-int1"
|
|
2112
|
+
| "lim1"
|
|
2113
|
+
| "lim2"
|
|
2114
|
+
| "lim3"
|
|
2115
|
+
| "mr901"
|
|
2116
|
+
| "p19"
|
|
2117
|
+
| "rbx"
|
|
2118
|
+
| "rbx-hz"
|
|
2119
|
+
| "rbx1"
|
|
2120
|
+
| "rbx10"
|
|
2121
|
+
| "rbx2"
|
|
2122
|
+
| "rbx3"
|
|
2123
|
+
| "rbx4"
|
|
2124
|
+
| "rbx5"
|
|
2125
|
+
| "rbx6"
|
|
2126
|
+
| "rbx7"
|
|
2127
|
+
| "rbx8"
|
|
2128
|
+
| "rbx9"
|
|
2129
|
+
| "sbg1"
|
|
2130
|
+
| "sbg2"
|
|
2131
|
+
| "sbg3"
|
|
2132
|
+
| "sbg4"
|
|
2133
|
+
| "sbg5"
|
|
2134
|
+
| "sgp02"
|
|
2135
|
+
| "sgp1"
|
|
2136
|
+
| "syd03"
|
|
2137
|
+
| "syd1"
|
|
2138
|
+
| "syd2"
|
|
2139
|
+
| "vin1"
|
|
2140
|
+
| "waw1"
|
|
2141
|
+
| "ynm1"
|
|
2142
|
+
| "yyz01";
|
|
2143
|
+
export const DedicatedDatacenterEnum = /*@__PURE__*/ S.String;
|
|
2144
|
+
|
|
2145
|
+
/** List of datacenters in the campus */
|
|
2146
|
+
export type IpCampusDatacentersList = Array<DedicatedDatacenterEnum>;
|
|
2147
|
+
export const IpCampusDatacentersList = /*@__PURE__*/ S.Array(
|
|
2148
|
+
DedicatedDatacenterEnum,
|
|
2149
|
+
) as any as S.Schema<IpCampusDatacentersList>;
|
|
2150
|
+
|
|
2151
|
+
/** Possible values for IP campuses' names */
|
|
2152
|
+
export type IpCampusEnum =
|
|
2153
|
+
| "BHS"
|
|
2154
|
+
| "ERI"
|
|
2155
|
+
| "GRA"
|
|
2156
|
+
| "HIL"
|
|
2157
|
+
| "LIM"
|
|
2158
|
+
| "PAR"
|
|
2159
|
+
| "RBX"
|
|
2160
|
+
| "SBG"
|
|
2161
|
+
| "SGP"
|
|
2162
|
+
| "SYD"
|
|
2163
|
+
| "VIN"
|
|
2164
|
+
| "WAW"
|
|
2165
|
+
| "YNM"
|
|
2166
|
+
| "YYZ";
|
|
2167
|
+
export const IpCampusEnum = /*@__PURE__*/ S.String;
|
|
2168
|
+
|
|
2169
|
+
/** Campus of an IP address */
|
|
2170
|
+
export interface IpCampus {
|
|
2171
|
+
/** List of RIRs whose IPs can be imported in the campus */
|
|
2172
|
+
bringYourOwnIpSupportedRirForIp?: IpCampusBringYourOwnIpSupportedRirForIpList;
|
|
2173
|
+
/** List of datacenters in the campus */
|
|
2174
|
+
datacenters?: IpCampusDatacentersList;
|
|
2175
|
+
/** Description of the campus */
|
|
2176
|
+
description?: string;
|
|
2177
|
+
/** Campus name */
|
|
2178
|
+
name?: IpCampusEnum;
|
|
2179
|
+
}
|
|
2180
|
+
export const IpCampus = /*@__PURE__*/ S.suspend(() =>
|
|
2181
|
+
S.Struct({
|
|
2182
|
+
bringYourOwnIpSupportedRirForIp: S.optional(
|
|
2183
|
+
IpCampusBringYourOwnIpSupportedRirForIpList,
|
|
2184
|
+
),
|
|
2185
|
+
datacenters: S.optional(IpCampusDatacentersList),
|
|
2186
|
+
description: S.optional(S.String),
|
|
2187
|
+
name: S.optional(IpCampusEnum),
|
|
2188
|
+
}),
|
|
2189
|
+
).annotate({ identifier: "IpCampus" }) as any as S.Schema<IpCampus>;
|
|
2190
|
+
|
|
2191
|
+
export type ListIpCampusResponseBodyList = Array<IpCampus>;
|
|
2192
|
+
export const ListIpCampusResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2193
|
+
IpCampus,
|
|
2194
|
+
) as any as S.Schema<ListIpCampusResponseBodyList>;
|
|
2195
|
+
|
|
2196
|
+
export type ListIpCampusResponse = ListIpCampusResponseBodyList;
|
|
2197
|
+
export const ListIpCampusResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2198
|
+
ListIpCampusResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2199
|
+
).annotate({
|
|
2200
|
+
identifier: "ListIpCampusResponse",
|
|
2201
|
+
}) as any as S.Schema<ListIpCampusResponse>;
|
|
2202
|
+
|
|
2203
|
+
export interface ListIpDelegationRequest {
|
|
2204
|
+
ip: string;
|
|
2205
|
+
}
|
|
2206
|
+
export const ListIpDelegationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2207
|
+
S.Struct({
|
|
2208
|
+
ip: S.String.pipe(T.Label()),
|
|
2209
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/delegation", code: 200 })),
|
|
2210
|
+
).annotate({
|
|
2211
|
+
identifier: "ListIpDelegationRequest",
|
|
2212
|
+
}) as any as S.Schema<ListIpDelegationRequest>;
|
|
2213
|
+
|
|
2214
|
+
export type ListIpDelegationResponseBodyList = Array<string>;
|
|
2215
|
+
export const ListIpDelegationResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2216
|
+
S.String,
|
|
2217
|
+
) as any as S.Schema<ListIpDelegationResponseBodyList>;
|
|
2218
|
+
|
|
2219
|
+
export type ListIpDelegationResponse = ListIpDelegationResponseBodyList;
|
|
2220
|
+
export const ListIpDelegationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2221
|
+
ListIpDelegationResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2222
|
+
).annotate({
|
|
2223
|
+
identifier: "ListIpDelegationResponse",
|
|
2224
|
+
}) as any as S.Schema<ListIpDelegationResponse>;
|
|
2225
|
+
|
|
2226
|
+
export interface ListIpFirewallRequest {
|
|
2227
|
+
ip: string;
|
|
2228
|
+
/** Filter the value of enabled property (=) */
|
|
2229
|
+
enabled?: boolean;
|
|
2230
|
+
/** Filter the value of state property (=) */
|
|
2231
|
+
state?: IpFirewallStateEnum | (string & {});
|
|
2232
|
+
}
|
|
2233
|
+
export const ListIpFirewallRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2234
|
+
S.Struct({
|
|
2235
|
+
ip: S.String.pipe(T.Label()),
|
|
2236
|
+
enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
2237
|
+
state: S.optional(IpFirewallStateEnum.pipe(T.Query())),
|
|
2238
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/firewall", code: 200 })),
|
|
2239
|
+
).annotate({
|
|
2240
|
+
identifier: "ListIpFirewallRequest",
|
|
2241
|
+
}) as any as S.Schema<ListIpFirewallRequest>;
|
|
2242
|
+
|
|
2243
|
+
export type ListIpFirewallResponseBodyList = Array<string>;
|
|
2244
|
+
export const ListIpFirewallResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2245
|
+
S.String,
|
|
2246
|
+
) as any as S.Schema<ListIpFirewallResponseBodyList>;
|
|
2247
|
+
|
|
2248
|
+
export type ListIpFirewallResponse = ListIpFirewallResponseBodyList;
|
|
2249
|
+
export const ListIpFirewallResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2250
|
+
ListIpFirewallResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2251
|
+
).annotate({
|
|
2252
|
+
identifier: "ListIpFirewallResponse",
|
|
2253
|
+
}) as any as S.Schema<ListIpFirewallResponse>;
|
|
2254
|
+
|
|
2255
|
+
export interface ListIpFirewallRuleRequest {
|
|
2256
|
+
ip: string;
|
|
2257
|
+
ipOnFirewall: string;
|
|
2258
|
+
/** Filter the value of state property (=) */
|
|
2259
|
+
state?: IpFirewallRuleStateEnum | (string & {});
|
|
2260
|
+
}
|
|
2261
|
+
export const ListIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2262
|
+
S.Struct({
|
|
2263
|
+
ip: S.String.pipe(T.Label()),
|
|
2264
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
2265
|
+
state: S.optional(IpFirewallRuleStateEnum.pipe(T.Query())),
|
|
2266
|
+
}).pipe(
|
|
2267
|
+
T.Http({
|
|
2268
|
+
method: "GET",
|
|
2269
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule",
|
|
2270
|
+
code: 200,
|
|
2271
|
+
}),
|
|
2272
|
+
),
|
|
2273
|
+
).annotate({
|
|
2274
|
+
identifier: "ListIpFirewallRuleRequest",
|
|
2275
|
+
}) as any as S.Schema<ListIpFirewallRuleRequest>;
|
|
2276
|
+
|
|
2277
|
+
export type ListIpFirewallRuleResponseBodyList = Array<number>;
|
|
2278
|
+
export const ListIpFirewallRuleResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2279
|
+
S.Number,
|
|
2280
|
+
) as any as S.Schema<ListIpFirewallRuleResponseBodyList>;
|
|
2281
|
+
|
|
2282
|
+
export type ListIpFirewallRuleResponse = ListIpFirewallRuleResponseBodyList;
|
|
2283
|
+
export const ListIpFirewallRuleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2284
|
+
ListIpFirewallRuleResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2285
|
+
).annotate({
|
|
2286
|
+
identifier: "ListIpFirewallRuleResponse",
|
|
2287
|
+
}) as any as S.Schema<ListIpFirewallRuleResponse>;
|
|
2288
|
+
|
|
2289
|
+
export interface ListIpGameRequest {
|
|
2290
|
+
ip: string;
|
|
2291
|
+
}
|
|
2292
|
+
export const ListIpGameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2293
|
+
S.Struct({
|
|
2294
|
+
ip: S.String.pipe(T.Label()),
|
|
2295
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/game", code: 200 })),
|
|
2296
|
+
).annotate({
|
|
2297
|
+
identifier: "ListIpGameRequest",
|
|
2298
|
+
}) as any as S.Schema<ListIpGameRequest>;
|
|
2299
|
+
|
|
2300
|
+
export type ListIpGameResponseBodyList = Array<string>;
|
|
2301
|
+
export const ListIpGameResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2302
|
+
S.String,
|
|
2303
|
+
) as any as S.Schema<ListIpGameResponseBodyList>;
|
|
2304
|
+
|
|
2305
|
+
export type ListIpGameResponse = ListIpGameResponseBodyList;
|
|
2306
|
+
export const ListIpGameResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2307
|
+
ListIpGameResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2308
|
+
).annotate({
|
|
2309
|
+
identifier: "ListIpGameResponse",
|
|
2310
|
+
}) as any as S.Schema<ListIpGameResponse>;
|
|
2311
|
+
|
|
2312
|
+
export interface ListIpGameRuleRequest {
|
|
2313
|
+
ip: string;
|
|
2314
|
+
ipOnGame: string;
|
|
2315
|
+
}
|
|
2316
|
+
export const ListIpGameRuleRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2317
|
+
S.Struct({
|
|
2318
|
+
ip: S.String.pipe(T.Label()),
|
|
2319
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
2320
|
+
}).pipe(
|
|
2321
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/game/{ipOnGame}/rule", code: 200 }),
|
|
2322
|
+
),
|
|
2323
|
+
).annotate({
|
|
2324
|
+
identifier: "ListIpGameRuleRequest",
|
|
2325
|
+
}) as any as S.Schema<ListIpGameRuleRequest>;
|
|
2326
|
+
|
|
2327
|
+
export type ListIpGameRuleResponseBodyList = Array<number>;
|
|
2328
|
+
export const ListIpGameRuleResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2329
|
+
S.Number,
|
|
2330
|
+
) as any as S.Schema<ListIpGameRuleResponseBodyList>;
|
|
2331
|
+
|
|
2332
|
+
export type ListIpGameRuleResponse = ListIpGameRuleResponseBodyList;
|
|
2333
|
+
export const ListIpGameRuleResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2334
|
+
ListIpGameRuleResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2335
|
+
).annotate({
|
|
2336
|
+
identifier: "ListIpGameRuleResponse",
|
|
2337
|
+
}) as any as S.Schema<ListIpGameRuleResponse>;
|
|
2338
|
+
|
|
2339
|
+
export interface ListIpLicenseCloudLinuxRequest {
|
|
2340
|
+
ip: string;
|
|
2341
|
+
/** Filter the value of ipAddress property (=) */
|
|
2342
|
+
ipAddress?: string;
|
|
2343
|
+
}
|
|
2344
|
+
export const ListIpLicenseCloudLinuxRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2345
|
+
S.Struct({
|
|
2346
|
+
ip: S.String.pipe(T.Label()),
|
|
2347
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2348
|
+
}).pipe(
|
|
2349
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/cloudLinux", code: 200 }),
|
|
2350
|
+
),
|
|
2351
|
+
).annotate({
|
|
2352
|
+
identifier: "ListIpLicenseCloudLinuxRequest",
|
|
2353
|
+
}) as any as S.Schema<ListIpLicenseCloudLinuxRequest>;
|
|
2354
|
+
|
|
2355
|
+
export type ListIpLicenseCloudLinuxResponseBodyList = Array<string>;
|
|
2356
|
+
export const ListIpLicenseCloudLinuxResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2357
|
+
S.String,
|
|
2358
|
+
) as any as S.Schema<ListIpLicenseCloudLinuxResponseBodyList>;
|
|
2359
|
+
|
|
2360
|
+
export type ListIpLicenseCloudLinuxResponse =
|
|
2361
|
+
ListIpLicenseCloudLinuxResponseBodyList;
|
|
2362
|
+
export const ListIpLicenseCloudLinuxResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2363
|
+
ListIpLicenseCloudLinuxResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2364
|
+
).annotate({
|
|
2365
|
+
identifier: "ListIpLicenseCloudLinuxResponse",
|
|
2366
|
+
}) as any as S.Schema<ListIpLicenseCloudLinuxResponse>;
|
|
2367
|
+
|
|
2368
|
+
export interface ListIpLicenseCpanelRequest {
|
|
2369
|
+
ip: string;
|
|
2370
|
+
/** Filter the value of ipAddress property (=) */
|
|
2371
|
+
ipAddress?: string;
|
|
2372
|
+
}
|
|
2373
|
+
export const ListIpLicenseCpanelRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2374
|
+
S.Struct({
|
|
2375
|
+
ip: S.String.pipe(T.Label()),
|
|
2376
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2377
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/cpanel", code: 200 })),
|
|
2378
|
+
).annotate({
|
|
2379
|
+
identifier: "ListIpLicenseCpanelRequest",
|
|
2380
|
+
}) as any as S.Schema<ListIpLicenseCpanelRequest>;
|
|
2381
|
+
|
|
2382
|
+
export type ListIpLicenseCpanelResponseBodyList = Array<string>;
|
|
2383
|
+
export const ListIpLicenseCpanelResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2384
|
+
S.String,
|
|
2385
|
+
) as any as S.Schema<ListIpLicenseCpanelResponseBodyList>;
|
|
2386
|
+
|
|
2387
|
+
export type ListIpLicenseCpanelResponse = ListIpLicenseCpanelResponseBodyList;
|
|
2388
|
+
export const ListIpLicenseCpanelResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2389
|
+
ListIpLicenseCpanelResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2390
|
+
).annotate({
|
|
2391
|
+
identifier: "ListIpLicenseCpanelResponse",
|
|
2392
|
+
}) as any as S.Schema<ListIpLicenseCpanelResponse>;
|
|
2393
|
+
|
|
2394
|
+
export interface ListIpLicenseDirectadminRequest {
|
|
2395
|
+
ip: string;
|
|
2396
|
+
/** Filter the value of ipAddress property (=) */
|
|
2397
|
+
ipAddress?: string;
|
|
2398
|
+
}
|
|
2399
|
+
export const ListIpLicenseDirectadminRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2400
|
+
S.Struct({
|
|
2401
|
+
ip: S.String.pipe(T.Label()),
|
|
2402
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2403
|
+
}).pipe(
|
|
2404
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/directadmin", code: 200 }),
|
|
2405
|
+
),
|
|
2406
|
+
).annotate({
|
|
2407
|
+
identifier: "ListIpLicenseDirectadminRequest",
|
|
2408
|
+
}) as any as S.Schema<ListIpLicenseDirectadminRequest>;
|
|
2409
|
+
|
|
2410
|
+
export type ListIpLicenseDirectadminResponseBodyList = Array<string>;
|
|
2411
|
+
export const ListIpLicenseDirectadminResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2412
|
+
S.String,
|
|
2413
|
+
) as any as S.Schema<ListIpLicenseDirectadminResponseBodyList>;
|
|
2414
|
+
|
|
2415
|
+
export type ListIpLicenseDirectadminResponse =
|
|
2416
|
+
ListIpLicenseDirectadminResponseBodyList;
|
|
2417
|
+
export const ListIpLicenseDirectadminResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2418
|
+
ListIpLicenseDirectadminResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2419
|
+
).annotate({
|
|
2420
|
+
identifier: "ListIpLicenseDirectadminResponse",
|
|
2421
|
+
}) as any as S.Schema<ListIpLicenseDirectadminResponse>;
|
|
2422
|
+
|
|
2423
|
+
export interface ListIpLicensePleskRequest {
|
|
2424
|
+
ip: string;
|
|
2425
|
+
/** Filter the value of ipAddress property (=) */
|
|
2426
|
+
ipAddress?: string;
|
|
2427
|
+
}
|
|
2428
|
+
export const ListIpLicensePleskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2429
|
+
S.Struct({
|
|
2430
|
+
ip: S.String.pipe(T.Label()),
|
|
2431
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2432
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/plesk", code: 200 })),
|
|
2433
|
+
).annotate({
|
|
2434
|
+
identifier: "ListIpLicensePleskRequest",
|
|
2435
|
+
}) as any as S.Schema<ListIpLicensePleskRequest>;
|
|
2436
|
+
|
|
2437
|
+
export type ListIpLicensePleskResponseBodyList = Array<string>;
|
|
2438
|
+
export const ListIpLicensePleskResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2439
|
+
S.String,
|
|
2440
|
+
) as any as S.Schema<ListIpLicensePleskResponseBodyList>;
|
|
2441
|
+
|
|
2442
|
+
export type ListIpLicensePleskResponse = ListIpLicensePleskResponseBodyList;
|
|
2443
|
+
export const ListIpLicensePleskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2444
|
+
ListIpLicensePleskResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2445
|
+
).annotate({
|
|
2446
|
+
identifier: "ListIpLicensePleskResponse",
|
|
2447
|
+
}) as any as S.Schema<ListIpLicensePleskResponse>;
|
|
2448
|
+
|
|
2449
|
+
export interface ListIpLicenseSqlserverRequest {
|
|
2450
|
+
ip: string;
|
|
2451
|
+
/** Filter the value of ipAddress property (=) */
|
|
2452
|
+
ipAddress?: string;
|
|
2453
|
+
}
|
|
2454
|
+
export const ListIpLicenseSqlserverRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2455
|
+
S.Struct({
|
|
2456
|
+
ip: S.String.pipe(T.Label()),
|
|
2457
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2458
|
+
}).pipe(
|
|
2459
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/sqlserver", code: 200 }),
|
|
2460
|
+
),
|
|
2461
|
+
).annotate({
|
|
2462
|
+
identifier: "ListIpLicenseSqlserverRequest",
|
|
2463
|
+
}) as any as S.Schema<ListIpLicenseSqlserverRequest>;
|
|
2464
|
+
|
|
2465
|
+
export type ListIpLicenseSqlserverResponseBodyList = Array<string>;
|
|
2466
|
+
export const ListIpLicenseSqlserverResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2467
|
+
S.String,
|
|
2468
|
+
) as any as S.Schema<ListIpLicenseSqlserverResponseBodyList>;
|
|
2469
|
+
|
|
2470
|
+
export type ListIpLicenseSqlserverResponse =
|
|
2471
|
+
ListIpLicenseSqlserverResponseBodyList;
|
|
2472
|
+
export const ListIpLicenseSqlserverResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2473
|
+
ListIpLicenseSqlserverResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2474
|
+
).annotate({
|
|
2475
|
+
identifier: "ListIpLicenseSqlserverResponse",
|
|
2476
|
+
}) as any as S.Schema<ListIpLicenseSqlserverResponse>;
|
|
2477
|
+
|
|
2478
|
+
export interface ListIpLicenseVirtuozzoRequest {
|
|
2479
|
+
ip: string;
|
|
2480
|
+
/** Filter the value of ipAddress property (=) */
|
|
2481
|
+
ipAddress?: string;
|
|
2482
|
+
}
|
|
2483
|
+
export const ListIpLicenseVirtuozzoRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2484
|
+
S.Struct({
|
|
2485
|
+
ip: S.String.pipe(T.Label()),
|
|
2486
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2487
|
+
}).pipe(
|
|
2488
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/virtuozzo", code: 200 }),
|
|
2489
|
+
),
|
|
2490
|
+
).annotate({
|
|
2491
|
+
identifier: "ListIpLicenseVirtuozzoRequest",
|
|
2492
|
+
}) as any as S.Schema<ListIpLicenseVirtuozzoRequest>;
|
|
2493
|
+
|
|
2494
|
+
export type ListIpLicenseVirtuozzoResponseBodyList = Array<string>;
|
|
2495
|
+
export const ListIpLicenseVirtuozzoResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2496
|
+
S.String,
|
|
2497
|
+
) as any as S.Schema<ListIpLicenseVirtuozzoResponseBodyList>;
|
|
2498
|
+
|
|
2499
|
+
export type ListIpLicenseVirtuozzoResponse =
|
|
2500
|
+
ListIpLicenseVirtuozzoResponseBodyList;
|
|
2501
|
+
export const ListIpLicenseVirtuozzoResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2502
|
+
ListIpLicenseVirtuozzoResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2503
|
+
).annotate({
|
|
2504
|
+
identifier: "ListIpLicenseVirtuozzoResponse",
|
|
2505
|
+
}) as any as S.Schema<ListIpLicenseVirtuozzoResponse>;
|
|
2506
|
+
|
|
2507
|
+
export interface ListIpLicenseWindowsRequest {
|
|
2508
|
+
ip: string;
|
|
2509
|
+
/** Filter the value of ipAddress property (=) */
|
|
2510
|
+
ipAddress?: string;
|
|
2511
|
+
}
|
|
2512
|
+
export const ListIpLicenseWindowsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2513
|
+
S.Struct({
|
|
2514
|
+
ip: S.String.pipe(T.Label()),
|
|
2515
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2516
|
+
}).pipe(
|
|
2517
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/windows", code: 200 }),
|
|
2518
|
+
),
|
|
2519
|
+
).annotate({
|
|
2520
|
+
identifier: "ListIpLicenseWindowsRequest",
|
|
2521
|
+
}) as any as S.Schema<ListIpLicenseWindowsRequest>;
|
|
2522
|
+
|
|
2523
|
+
export type ListIpLicenseWindowsResponseBodyList = Array<string>;
|
|
2524
|
+
export const ListIpLicenseWindowsResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2525
|
+
S.String,
|
|
2526
|
+
) as any as S.Schema<ListIpLicenseWindowsResponseBodyList>;
|
|
2527
|
+
|
|
2528
|
+
export type ListIpLicenseWindowsResponse = ListIpLicenseWindowsResponseBodyList;
|
|
2529
|
+
export const ListIpLicenseWindowsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2530
|
+
ListIpLicenseWindowsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2531
|
+
).annotate({
|
|
2532
|
+
identifier: "ListIpLicenseWindowsResponse",
|
|
2533
|
+
}) as any as S.Schema<ListIpLicenseWindowsResponse>;
|
|
2534
|
+
|
|
2535
|
+
export interface ListIpLicenseWorklightRequest {
|
|
2536
|
+
ip: string;
|
|
2537
|
+
/** Filter the value of ipAddress property (=) */
|
|
2538
|
+
ipAddress?: string;
|
|
2539
|
+
}
|
|
2540
|
+
export const ListIpLicenseWorklightRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2541
|
+
S.Struct({
|
|
2542
|
+
ip: S.String.pipe(T.Label()),
|
|
2543
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
2544
|
+
}).pipe(
|
|
2545
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/license/worklight", code: 200 }),
|
|
2546
|
+
),
|
|
2547
|
+
).annotate({
|
|
2548
|
+
identifier: "ListIpLicenseWorklightRequest",
|
|
2549
|
+
}) as any as S.Schema<ListIpLicenseWorklightRequest>;
|
|
2550
|
+
|
|
2551
|
+
export type ListIpLicenseWorklightResponseBodyList = Array<string>;
|
|
2552
|
+
export const ListIpLicenseWorklightResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2553
|
+
S.String,
|
|
2554
|
+
) as any as S.Schema<ListIpLicenseWorklightResponseBodyList>;
|
|
2555
|
+
|
|
2556
|
+
export type ListIpLicenseWorklightResponse =
|
|
2557
|
+
ListIpLicenseWorklightResponseBodyList;
|
|
2558
|
+
export const ListIpLicenseWorklightResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2559
|
+
ListIpLicenseWorklightResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2560
|
+
).annotate({
|
|
2561
|
+
identifier: "ListIpLicenseWorklightResponse",
|
|
2562
|
+
}) as any as S.Schema<ListIpLicenseWorklightResponse>;
|
|
2563
|
+
|
|
2564
|
+
export interface ListIpMitigationRequest {
|
|
2565
|
+
ip: string;
|
|
2566
|
+
/** Filter the value of auto property (=) */
|
|
2567
|
+
auto?: boolean;
|
|
2568
|
+
/** Filter the value of state property (=) */
|
|
2569
|
+
state?: IpMitigationStateEnum | (string & {});
|
|
2570
|
+
}
|
|
2571
|
+
export const ListIpMitigationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2572
|
+
S.Struct({
|
|
2573
|
+
ip: S.String.pipe(T.Label()),
|
|
2574
|
+
auto: S.optional(S.Boolean.pipe(T.Query())),
|
|
2575
|
+
state: S.optional(IpMitigationStateEnum.pipe(T.Query())),
|
|
2576
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/mitigation", code: 200 })),
|
|
2577
|
+
).annotate({
|
|
2578
|
+
identifier: "ListIpMitigationRequest",
|
|
2579
|
+
}) as any as S.Schema<ListIpMitigationRequest>;
|
|
2580
|
+
|
|
2581
|
+
export type ListIpMitigationResponseBodyList = Array<string>;
|
|
2582
|
+
export const ListIpMitigationResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2583
|
+
S.String,
|
|
2584
|
+
) as any as S.Schema<ListIpMitigationResponseBodyList>;
|
|
2585
|
+
|
|
2586
|
+
export type ListIpMitigationResponse = ListIpMitigationResponseBodyList;
|
|
2587
|
+
export const ListIpMitigationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2588
|
+
ListIpMitigationResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2589
|
+
).annotate({
|
|
2590
|
+
identifier: "ListIpMitigationResponse",
|
|
2591
|
+
}) as any as S.Schema<ListIpMitigationResponse>;
|
|
2592
|
+
|
|
2593
|
+
export interface ListIpMitigationProfilesRequest {
|
|
2594
|
+
ip: string;
|
|
2595
|
+
}
|
|
2596
|
+
export const ListIpMitigationProfilesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2597
|
+
S.Struct({
|
|
2598
|
+
ip: S.String.pipe(T.Label()),
|
|
2599
|
+
}).pipe(
|
|
2600
|
+
T.Http({ method: "GET", uri: "/ip/{ip}/mitigationProfiles", code: 200 }),
|
|
2601
|
+
),
|
|
2602
|
+
).annotate({
|
|
2603
|
+
identifier: "ListIpMitigationProfilesRequest",
|
|
2604
|
+
}) as any as S.Schema<ListIpMitigationProfilesRequest>;
|
|
2605
|
+
|
|
2606
|
+
export type ListIpMitigationProfilesResponseBodyList = Array<string>;
|
|
2607
|
+
export const ListIpMitigationProfilesResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2608
|
+
S.String,
|
|
2609
|
+
) as any as S.Schema<ListIpMitigationProfilesResponseBodyList>;
|
|
2610
|
+
|
|
2611
|
+
export type ListIpMitigationProfilesResponse =
|
|
2612
|
+
ListIpMitigationProfilesResponseBodyList;
|
|
2613
|
+
export const ListIpMitigationProfilesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2614
|
+
ListIpMitigationProfilesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2615
|
+
).annotate({
|
|
2616
|
+
identifier: "ListIpMitigationProfilesResponse",
|
|
2617
|
+
}) as any as S.Schema<ListIpMitigationProfilesResponse>;
|
|
2618
|
+
|
|
2619
|
+
export interface ListIpMoveRequest {
|
|
2620
|
+
ip: string;
|
|
2621
|
+
}
|
|
2622
|
+
export const ListIpMoveRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2623
|
+
S.Struct({
|
|
2624
|
+
ip: S.String.pipe(T.Label()),
|
|
2625
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/move", code: 200 })),
|
|
2626
|
+
).annotate({
|
|
2627
|
+
identifier: "ListIpMoveRequest",
|
|
2628
|
+
}) as any as S.Schema<ListIpMoveRequest>;
|
|
2629
|
+
|
|
2630
|
+
/** Nexthops available on this service */
|
|
2631
|
+
export type IpDestinationNexthopList = Array<string>;
|
|
2632
|
+
export const IpDestinationNexthopList = /*@__PURE__*/ S.Array(
|
|
2633
|
+
S.String,
|
|
2634
|
+
) as any as S.Schema<IpDestinationNexthopList>;
|
|
2635
|
+
|
|
2636
|
+
/** A structure given service and its nexthops as a destination for failover ips */
|
|
2637
|
+
export interface IpDestination {
|
|
2638
|
+
/** Nexthops available on this service */
|
|
2639
|
+
nexthop?: IpDestinationNexthopList | null;
|
|
2640
|
+
/** Service destination */
|
|
2641
|
+
service?: string;
|
|
2642
|
+
}
|
|
2643
|
+
export const IpDestination = /*@__PURE__*/ S.suspend(() =>
|
|
2644
|
+
S.Struct({
|
|
2645
|
+
nexthop: S.optional(S.NullOr(IpDestinationNexthopList)),
|
|
2646
|
+
service: S.optional(S.String),
|
|
2647
|
+
}),
|
|
2648
|
+
).annotate({ identifier: "IpDestination" }) as any as S.Schema<IpDestination>;
|
|
2649
|
+
|
|
2650
|
+
/** list of public cloud projects */
|
|
2651
|
+
export type IpDestinationsCloudProjectList = Array<IpDestination>;
|
|
2652
|
+
export const IpDestinationsCloudProjectList = /*@__PURE__*/ S.Array(
|
|
2653
|
+
IpDestination,
|
|
2654
|
+
) as any as S.Schema<IpDestinationsCloudProjectList>;
|
|
2655
|
+
|
|
2656
|
+
/** list of dedicated clouds */
|
|
2657
|
+
export type IpDestinationsDedicatedCloudList = Array<IpDestination>;
|
|
2658
|
+
export const IpDestinationsDedicatedCloudList = /*@__PURE__*/ S.Array(
|
|
2659
|
+
IpDestination,
|
|
2660
|
+
) as any as S.Schema<IpDestinationsDedicatedCloudList>;
|
|
2661
|
+
|
|
2662
|
+
/** list of dedicated servers */
|
|
2663
|
+
export type IpDestinationsDedicatedServerList = Array<IpDestination>;
|
|
2664
|
+
export const IpDestinationsDedicatedServerList = /*@__PURE__*/ S.Array(
|
|
2665
|
+
IpDestination,
|
|
2666
|
+
) as any as S.Schema<IpDestinationsDedicatedServerList>;
|
|
2667
|
+
|
|
2668
|
+
/** list of hosting reseller services */
|
|
2669
|
+
export type IpDestinationsHostingResellerList = Array<IpDestination>;
|
|
2670
|
+
export const IpDestinationsHostingResellerList = /*@__PURE__*/ S.Array(
|
|
2671
|
+
IpDestination,
|
|
2672
|
+
) as any as S.Schema<IpDestinationsHostingResellerList>;
|
|
2673
|
+
|
|
2674
|
+
/** list of load balancing services */
|
|
2675
|
+
export type IpDestinationsIpLoadbalancingList = Array<IpDestination>;
|
|
2676
|
+
export const IpDestinationsIpLoadbalancingList = /*@__PURE__*/ S.Array(
|
|
2677
|
+
IpDestination,
|
|
2678
|
+
) as any as S.Schema<IpDestinationsIpLoadbalancingList>;
|
|
2679
|
+
|
|
2680
|
+
/** list of vps */
|
|
2681
|
+
export type IpDestinationsVpsList = Array<IpDestination>;
|
|
2682
|
+
export const IpDestinationsVpsList = /*@__PURE__*/ S.Array(
|
|
2683
|
+
IpDestination,
|
|
2684
|
+
) as any as S.Schema<IpDestinationsVpsList>;
|
|
2685
|
+
|
|
2686
|
+
/** A structure given all services allowed as a destination for this ip */
|
|
2687
|
+
export interface IpDestinations {
|
|
2688
|
+
/** list of public cloud projects */
|
|
2689
|
+
cloudProject?: IpDestinationsCloudProjectList | null;
|
|
2690
|
+
/** list of dedicated clouds */
|
|
2691
|
+
dedicatedCloud?: IpDestinationsDedicatedCloudList | null;
|
|
2692
|
+
/** list of dedicated servers */
|
|
2693
|
+
dedicatedServer?: IpDestinationsDedicatedServerList | null;
|
|
2694
|
+
/** list of hosting reseller services */
|
|
2695
|
+
hostingReseller?: IpDestinationsHostingResellerList | null;
|
|
2696
|
+
/** list of load balancing services */
|
|
2697
|
+
ipLoadbalancing?: IpDestinationsIpLoadbalancingList | null;
|
|
2698
|
+
/** list of vps */
|
|
2699
|
+
vps?: IpDestinationsVpsList | null;
|
|
2700
|
+
}
|
|
2701
|
+
export const IpDestinations = /*@__PURE__*/ S.suspend(() =>
|
|
2702
|
+
S.Struct({
|
|
2703
|
+
cloudProject: S.optional(S.NullOr(IpDestinationsCloudProjectList)),
|
|
2704
|
+
dedicatedCloud: S.optional(S.NullOr(IpDestinationsDedicatedCloudList)),
|
|
2705
|
+
dedicatedServer: S.optional(S.NullOr(IpDestinationsDedicatedServerList)),
|
|
2706
|
+
hostingReseller: S.optional(S.NullOr(IpDestinationsHostingResellerList)),
|
|
2707
|
+
ipLoadbalancing: S.optional(S.NullOr(IpDestinationsIpLoadbalancingList)),
|
|
2708
|
+
vps: S.optional(S.NullOr(IpDestinationsVpsList)),
|
|
2709
|
+
}),
|
|
2710
|
+
).annotate({ identifier: "IpDestinations" }) as any as S.Schema<IpDestinations>;
|
|
2711
|
+
|
|
2712
|
+
export interface ListIpPhishingRequest {
|
|
2713
|
+
ip: string;
|
|
2714
|
+
/** Filter the value of ipOnAntiphishing property (within or equals) */
|
|
2715
|
+
ipOnAntiphishing?: string;
|
|
2716
|
+
/** Filter the value of state property (=) */
|
|
2717
|
+
state?: IpAntiphishingStateEnum | (string & {});
|
|
2718
|
+
}
|
|
2719
|
+
export const ListIpPhishingRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2720
|
+
S.Struct({
|
|
2721
|
+
ip: S.String.pipe(T.Label()),
|
|
2722
|
+
ipOnAntiphishing: S.optional(S.String.pipe(T.Query())),
|
|
2723
|
+
state: S.optional(IpAntiphishingStateEnum.pipe(T.Query())),
|
|
2724
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/phishing", code: 200 })),
|
|
2725
|
+
).annotate({
|
|
2726
|
+
identifier: "ListIpPhishingRequest",
|
|
2727
|
+
}) as any as S.Schema<ListIpPhishingRequest>;
|
|
2728
|
+
|
|
2729
|
+
export type ListIpPhishingResponseBodyList = Array<number>;
|
|
2730
|
+
export const ListIpPhishingResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2731
|
+
S.Number,
|
|
2732
|
+
) as any as S.Schema<ListIpPhishingResponseBodyList>;
|
|
2733
|
+
|
|
2734
|
+
export type ListIpPhishingResponse = ListIpPhishingResponseBodyList;
|
|
2735
|
+
export const ListIpPhishingResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2736
|
+
ListIpPhishingResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2737
|
+
).annotate({
|
|
2738
|
+
identifier: "ListIpPhishingResponse",
|
|
2739
|
+
}) as any as S.Schema<ListIpPhishingResponse>;
|
|
2740
|
+
|
|
2741
|
+
export interface ListIpReverseRequest {
|
|
2742
|
+
ip: string;
|
|
2743
|
+
}
|
|
2744
|
+
export const ListIpReverseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2745
|
+
S.Struct({
|
|
2746
|
+
ip: S.String.pipe(T.Label()),
|
|
2747
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/reverse", code: 200 })),
|
|
2748
|
+
).annotate({
|
|
2749
|
+
identifier: "ListIpReverseRequest",
|
|
2750
|
+
}) as any as S.Schema<ListIpReverseRequest>;
|
|
2751
|
+
|
|
2752
|
+
export type ListIpReverseResponseBodyList = Array<string>;
|
|
2753
|
+
export const ListIpReverseResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2754
|
+
S.String,
|
|
2755
|
+
) as any as S.Schema<ListIpReverseResponseBodyList>;
|
|
2756
|
+
|
|
2757
|
+
export type ListIpReverseResponse = ListIpReverseResponseBodyList;
|
|
2758
|
+
export const ListIpReverseResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2759
|
+
ListIpReverseResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2760
|
+
).annotate({
|
|
2761
|
+
identifier: "ListIpReverseResponse",
|
|
2762
|
+
}) as any as S.Schema<ListIpReverseResponse>;
|
|
2763
|
+
|
|
2764
|
+
export type ListIpServiceRequestIamTagsValueList =
|
|
2765
|
+
Array<IamResourceTagFilterInput>;
|
|
2766
|
+
export const ListIpServiceRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
2767
|
+
IamResourceTagFilterInput,
|
|
2768
|
+
) as any as S.Schema<ListIpServiceRequestIamTagsValueList>;
|
|
2769
|
+
|
|
2770
|
+
export type ListIpServiceRequestIamTagsMap = {
|
|
2771
|
+
[key: string]: ListIpServiceRequestIamTagsValueList | undefined;
|
|
2772
|
+
};
|
|
2773
|
+
export const ListIpServiceRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
2774
|
+
S.String,
|
|
2775
|
+
ListIpServiceRequestIamTagsValueList,
|
|
2776
|
+
) as any as S.Schema<ListIpServiceRequestIamTagsMap>;
|
|
2777
|
+
|
|
2778
|
+
export interface ListIpServiceRequest {
|
|
2779
|
+
/** Filter resources on IAM tags */
|
|
2780
|
+
iamTags?: ListIpServiceRequestIamTagsMap;
|
|
2781
|
+
}
|
|
2782
|
+
export const ListIpServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2783
|
+
S.Struct({
|
|
2784
|
+
iamTags: S.optional(ListIpServiceRequestIamTagsMap.pipe(T.Query())),
|
|
2785
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/service", code: 200 })),
|
|
2786
|
+
).annotate({
|
|
2787
|
+
identifier: "ListIpServiceRequest",
|
|
2788
|
+
}) as any as S.Schema<ListIpServiceRequest>;
|
|
2789
|
+
|
|
2790
|
+
export type ListIpServiceResponseBodyList = Array<string>;
|
|
2791
|
+
export const ListIpServiceResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2792
|
+
S.String,
|
|
2793
|
+
) as any as S.Schema<ListIpServiceResponseBodyList>;
|
|
2794
|
+
|
|
2795
|
+
export type ListIpServiceResponse = ListIpServiceResponseBodyList;
|
|
2796
|
+
export const ListIpServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2797
|
+
ListIpServiceResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2798
|
+
).annotate({
|
|
2799
|
+
identifier: "ListIpServiceResponse",
|
|
2800
|
+
}) as any as S.Schema<ListIpServiceResponse>;
|
|
2801
|
+
|
|
2802
|
+
export interface ListIpSpamRequest {
|
|
2803
|
+
ip: string;
|
|
2804
|
+
/** Filter the value of state property (=) */
|
|
2805
|
+
state?: IpSpamStateEnum | (string & {});
|
|
2806
|
+
}
|
|
2807
|
+
export const ListIpSpamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2808
|
+
S.Struct({
|
|
2809
|
+
ip: S.String.pipe(T.Label()),
|
|
2810
|
+
state: S.optional(IpSpamStateEnum.pipe(T.Query())),
|
|
2811
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/spam", code: 200 })),
|
|
2812
|
+
).annotate({
|
|
2813
|
+
identifier: "ListIpSpamRequest",
|
|
2814
|
+
}) as any as S.Schema<ListIpSpamRequest>;
|
|
2815
|
+
|
|
2816
|
+
export type ListIpSpamResponseBodyList = Array<string>;
|
|
2817
|
+
export const ListIpSpamResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2818
|
+
S.String,
|
|
2819
|
+
) as any as S.Schema<ListIpSpamResponseBodyList>;
|
|
2820
|
+
|
|
2821
|
+
export type ListIpSpamResponse = ListIpSpamResponseBodyList;
|
|
2822
|
+
export const ListIpSpamResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2823
|
+
ListIpSpamResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2824
|
+
).annotate({
|
|
2825
|
+
identifier: "ListIpSpamResponse",
|
|
2826
|
+
}) as any as S.Schema<ListIpSpamResponse>;
|
|
2827
|
+
|
|
2828
|
+
export interface ListIpSpamStatsRequest {
|
|
2829
|
+
ip: string;
|
|
2830
|
+
/** IP address which is sending spam */
|
|
2831
|
+
ipSpamming: string;
|
|
2832
|
+
/** Start date */
|
|
2833
|
+
from: string;
|
|
2834
|
+
/** End date */
|
|
2835
|
+
to: string;
|
|
2836
|
+
}
|
|
2837
|
+
export const ListIpSpamStatsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2838
|
+
S.Struct({
|
|
2839
|
+
ip: S.String.pipe(T.Label()),
|
|
2840
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
2841
|
+
from: S.String.pipe(T.Query()),
|
|
2842
|
+
to: S.String.pipe(T.Query()),
|
|
2843
|
+
}).pipe(
|
|
2844
|
+
T.Http({
|
|
2845
|
+
method: "GET",
|
|
2846
|
+
uri: "/ip/{ip}/spam/{ipSpamming}/stats",
|
|
2847
|
+
code: 200,
|
|
2848
|
+
}),
|
|
2849
|
+
),
|
|
2850
|
+
).annotate({
|
|
2851
|
+
identifier: "ListIpSpamStatsRequest",
|
|
2852
|
+
}) as any as S.Schema<ListIpSpamStatsRequest>;
|
|
2853
|
+
|
|
2854
|
+
/** Spam's target information */
|
|
2855
|
+
export interface IpSpamTarget {
|
|
2856
|
+
/** Timestamp when the email was sent */
|
|
2857
|
+
date?: number;
|
|
2858
|
+
/** IP address of the target */
|
|
2859
|
+
destinationIp?: string;
|
|
2860
|
+
/** The message-id of the email */
|
|
2861
|
+
messageId?: string;
|
|
2862
|
+
/** Spam score for the email */
|
|
2863
|
+
spamscore?: number;
|
|
2864
|
+
}
|
|
2865
|
+
export const IpSpamTarget = /*@__PURE__*/ S.suspend(() =>
|
|
2866
|
+
S.Struct({
|
|
2867
|
+
date: S.optional(S.Number),
|
|
2868
|
+
destinationIp: S.optional(S.String),
|
|
2869
|
+
messageId: S.optional(S.String),
|
|
2870
|
+
spamscore: S.optional(S.Number),
|
|
2871
|
+
}),
|
|
2872
|
+
).annotate({ identifier: "IpSpamTarget" }) as any as S.Schema<IpSpamTarget>;
|
|
2873
|
+
|
|
2874
|
+
/** Detailed list of the spams */
|
|
2875
|
+
export type IpSpamStatsDetectedSpamsList = Array<IpSpamTarget>;
|
|
2876
|
+
export const IpSpamStatsDetectedSpamsList = /*@__PURE__*/ S.Array(
|
|
2877
|
+
IpSpamTarget,
|
|
2878
|
+
) as any as S.Schema<IpSpamStatsDetectedSpamsList>;
|
|
2879
|
+
|
|
2880
|
+
/** Spam statistics about an IP address */
|
|
2881
|
+
export interface IpSpamStats {
|
|
2882
|
+
/** Average spam score. */
|
|
2883
|
+
averageSpamscore?: number | null;
|
|
2884
|
+
/** Detailed list of the spams */
|
|
2885
|
+
detectedSpams?: IpSpamStatsDetectedSpamsList | null;
|
|
2886
|
+
/** Number of spams sent */
|
|
2887
|
+
numberOfSpams?: number;
|
|
2888
|
+
/** Time when the IP address was blocked */
|
|
2889
|
+
timestamp?: number;
|
|
2890
|
+
/** Number of emails sent */
|
|
2891
|
+
total?: number;
|
|
2892
|
+
}
|
|
2893
|
+
export const IpSpamStats = /*@__PURE__*/ S.suspend(() =>
|
|
2894
|
+
S.Struct({
|
|
2895
|
+
averageSpamscore: S.optional(S.NullOr(S.Number)),
|
|
2896
|
+
detectedSpams: S.optional(S.NullOr(IpSpamStatsDetectedSpamsList)),
|
|
2897
|
+
numberOfSpams: S.optional(S.Number),
|
|
2898
|
+
timestamp: S.optional(S.Number),
|
|
2899
|
+
total: S.optional(S.Number),
|
|
2900
|
+
}),
|
|
2901
|
+
).annotate({ identifier: "IpSpamStats" }) as any as S.Schema<IpSpamStats>;
|
|
2902
|
+
|
|
2903
|
+
export type ListIpSpamStatsResponseBodyList = Array<IpSpamStats>;
|
|
2904
|
+
export const ListIpSpamStatsResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2905
|
+
IpSpamStats,
|
|
2906
|
+
) as any as S.Schema<ListIpSpamStatsResponseBodyList>;
|
|
2907
|
+
|
|
2908
|
+
export type ListIpSpamStatsResponse = ListIpSpamStatsResponseBodyList;
|
|
2909
|
+
export const ListIpSpamStatsResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2910
|
+
ListIpSpamStatsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2911
|
+
).annotate({
|
|
2912
|
+
identifier: "ListIpSpamStatsResponse",
|
|
2913
|
+
}) as any as S.Schema<ListIpSpamStatsResponse>;
|
|
2914
|
+
|
|
2915
|
+
export interface ListIpTaskRequest {
|
|
2916
|
+
ip: string;
|
|
2917
|
+
/** Filter the value of function property (=) */
|
|
2918
|
+
function?: IpTaskFunctionEnum | (string & {});
|
|
2919
|
+
/** Filter the value of status property (=) */
|
|
2920
|
+
status?: IpTaskStatusEnum | (string & {});
|
|
2921
|
+
}
|
|
2922
|
+
export const ListIpTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2923
|
+
S.Struct({
|
|
2924
|
+
ip: S.String.pipe(T.Label()),
|
|
2925
|
+
function: S.optional(IpTaskFunctionEnum.pipe(T.Query())),
|
|
2926
|
+
status: S.optional(IpTaskStatusEnum.pipe(T.Query())),
|
|
2927
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/task", code: 200 })),
|
|
2928
|
+
).annotate({
|
|
2929
|
+
identifier: "ListIpTaskRequest",
|
|
2930
|
+
}) as any as S.Schema<ListIpTaskRequest>;
|
|
2931
|
+
|
|
2932
|
+
export type ListIpTaskResponseBodyList = Array<number>;
|
|
2933
|
+
export const ListIpTaskResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2934
|
+
S.Number,
|
|
2935
|
+
) as any as S.Schema<ListIpTaskResponseBodyList>;
|
|
2936
|
+
|
|
2937
|
+
export type ListIpTaskResponse = ListIpTaskResponseBodyList;
|
|
2938
|
+
export const ListIpTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2939
|
+
ListIpTaskResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2940
|
+
).annotate({
|
|
2941
|
+
identifier: "ListIpTaskResponse",
|
|
2942
|
+
}) as any as S.Schema<ListIpTaskResponse>;
|
|
2943
|
+
|
|
2944
|
+
export interface MoveIpRequest {
|
|
2945
|
+
ip: string;
|
|
2946
|
+
/** Nexthop of destination service */
|
|
2947
|
+
nexthop?: string;
|
|
2948
|
+
/** Service destination */
|
|
2949
|
+
to: string;
|
|
2950
|
+
}
|
|
2951
|
+
export const MoveIpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2952
|
+
S.Struct({
|
|
2953
|
+
ip: S.String.pipe(T.Label()),
|
|
2954
|
+
nexthop: S.optional(S.String),
|
|
2955
|
+
to: S.String,
|
|
2956
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/move", code: 200 })),
|
|
2957
|
+
).annotate({ identifier: "MoveIpRequest" }) as any as S.Schema<MoveIpRequest>;
|
|
2958
|
+
|
|
2959
|
+
export interface PutIpRequest {
|
|
2960
|
+
ip: string;
|
|
2961
|
+
/** Custom description on your ip */
|
|
2962
|
+
description?: string | null;
|
|
2963
|
+
}
|
|
2964
|
+
export const PutIpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2965
|
+
S.Struct({
|
|
2966
|
+
ip: S.String.pipe(T.Label()),
|
|
2967
|
+
description: S.optional(S.NullOr(S.String)),
|
|
2968
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/{ip}", code: 200 })),
|
|
2969
|
+
).annotate({ identifier: "PutIpRequest" }) as any as S.Schema<PutIpRequest>;
|
|
2970
|
+
|
|
2971
|
+
export interface PutIpResponse {}
|
|
2972
|
+
export const PutIpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2973
|
+
S.Struct({}),
|
|
2974
|
+
).annotate({ identifier: "PutIpResponse" }) as any as S.Schema<PutIpResponse>;
|
|
2975
|
+
|
|
2976
|
+
export interface PutIpFirewallRequest {
|
|
2977
|
+
ip: string;
|
|
2978
|
+
ipOnFirewall: string;
|
|
2979
|
+
enabled?: boolean;
|
|
2980
|
+
}
|
|
2981
|
+
export const PutIpFirewallRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2982
|
+
S.Struct({
|
|
2983
|
+
ip: S.String.pipe(T.Label()),
|
|
2984
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
2985
|
+
enabled: S.optional(S.Boolean),
|
|
2986
|
+
}).pipe(
|
|
2987
|
+
T.Http({
|
|
2988
|
+
method: "PUT",
|
|
2989
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
2990
|
+
code: 200,
|
|
2991
|
+
}),
|
|
2992
|
+
),
|
|
2993
|
+
).annotate({
|
|
2994
|
+
identifier: "PutIpFirewallRequest",
|
|
2995
|
+
}) as any as S.Schema<PutIpFirewallRequest>;
|
|
2996
|
+
|
|
2997
|
+
export interface PutIpFirewallResponse {}
|
|
2998
|
+
export const PutIpFirewallResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2999
|
+
S.Struct({}),
|
|
3000
|
+
).annotate({
|
|
3001
|
+
identifier: "PutIpFirewallResponse",
|
|
3002
|
+
}) as any as S.Schema<PutIpFirewallResponse>;
|
|
3003
|
+
|
|
3004
|
+
export interface PutIpGameRequest {
|
|
3005
|
+
ip: string;
|
|
3006
|
+
ipOnGame: string;
|
|
3007
|
+
/** Firewall mode : in UDP, only allow traffic matching your rules (as well as established traffic). If not enabled, traffic to ports not defined in your rules will be permited. TCP traffic is unaffected by this. */
|
|
3008
|
+
firewallModeEnabled?: boolean;
|
|
3009
|
+
}
|
|
3010
|
+
export const PutIpGameRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3011
|
+
S.Struct({
|
|
3012
|
+
ip: S.String.pipe(T.Label()),
|
|
3013
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
3014
|
+
firewallModeEnabled: S.optional(S.Boolean),
|
|
3015
|
+
}).pipe(
|
|
3016
|
+
T.Http({ method: "PUT", uri: "/ip/{ip}/game/{ipOnGame}", code: 200 }),
|
|
3017
|
+
),
|
|
3018
|
+
).annotate({
|
|
3019
|
+
identifier: "PutIpGameRequest",
|
|
3020
|
+
}) as any as S.Schema<PutIpGameRequest>;
|
|
3021
|
+
|
|
3022
|
+
export interface PutIpGameResponse {}
|
|
3023
|
+
export const PutIpGameResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3024
|
+
S.Struct({}),
|
|
3025
|
+
).annotate({
|
|
3026
|
+
identifier: "PutIpGameResponse",
|
|
3027
|
+
}) as any as S.Schema<PutIpGameResponse>;
|
|
3028
|
+
|
|
3029
|
+
export interface PutIpMitigationRequest {
|
|
3030
|
+
ip: string;
|
|
3031
|
+
ipOnMitigation: string;
|
|
3032
|
+
/** Set on true if your ip is on permanent mitigation */
|
|
3033
|
+
permanent?: boolean;
|
|
3034
|
+
}
|
|
3035
|
+
export const PutIpMitigationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3036
|
+
S.Struct({
|
|
3037
|
+
ip: S.String.pipe(T.Label()),
|
|
3038
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
3039
|
+
permanent: S.optional(S.Boolean),
|
|
3040
|
+
}).pipe(
|
|
3041
|
+
T.Http({
|
|
3042
|
+
method: "PUT",
|
|
3043
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
3044
|
+
code: 200,
|
|
3045
|
+
}),
|
|
3046
|
+
),
|
|
3047
|
+
).annotate({
|
|
3048
|
+
identifier: "PutIpMitigationRequest",
|
|
3049
|
+
}) as any as S.Schema<PutIpMitigationRequest>;
|
|
3050
|
+
|
|
3051
|
+
export interface PutIpMitigationResponse {}
|
|
3052
|
+
export const PutIpMitigationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3053
|
+
S.Struct({}),
|
|
3054
|
+
).annotate({
|
|
3055
|
+
identifier: "PutIpMitigationResponse",
|
|
3056
|
+
}) as any as S.Schema<PutIpMitigationResponse>;
|
|
3057
|
+
|
|
3058
|
+
export interface PutIpMitigationProfileRequest {
|
|
3059
|
+
ip: string;
|
|
3060
|
+
ipMitigationProfile: string;
|
|
3061
|
+
/** Delay to wait before remove ip from auto mitigation after an attack */
|
|
3062
|
+
autoMitigationTimeOut?:
|
|
3063
|
+
| IpMitigationProfileAutoMitigationTimeOutEnum
|
|
3064
|
+
| (number & {});
|
|
3065
|
+
}
|
|
3066
|
+
export const PutIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3067
|
+
S.Struct({
|
|
3068
|
+
ip: S.String.pipe(T.Label()),
|
|
3069
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
3070
|
+
autoMitigationTimeOut: S.optional(
|
|
3071
|
+
IpMitigationProfileAutoMitigationTimeOutEnum,
|
|
3072
|
+
),
|
|
3073
|
+
}).pipe(
|
|
3074
|
+
T.Http({
|
|
3075
|
+
method: "PUT",
|
|
3076
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
3077
|
+
code: 200,
|
|
3078
|
+
}),
|
|
3079
|
+
),
|
|
3080
|
+
).annotate({
|
|
3081
|
+
identifier: "PutIpMitigationProfileRequest",
|
|
3082
|
+
}) as any as S.Schema<PutIpMitigationProfileRequest>;
|
|
3083
|
+
|
|
3084
|
+
export interface PutIpMitigationProfileResponse {}
|
|
3085
|
+
export const PutIpMitigationProfileResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3086
|
+
S.Struct({}),
|
|
3087
|
+
).annotate({
|
|
3088
|
+
identifier: "PutIpMitigationProfileResponse",
|
|
3089
|
+
}) as any as S.Schema<PutIpMitigationProfileResponse>;
|
|
3090
|
+
|
|
3091
|
+
export interface PutIpRipeRequest {
|
|
3092
|
+
ip: string;
|
|
3093
|
+
description?: string | null;
|
|
3094
|
+
netname?: string | null;
|
|
3095
|
+
}
|
|
3096
|
+
export const PutIpRipeRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3097
|
+
S.Struct({
|
|
3098
|
+
ip: S.String.pipe(T.Label()),
|
|
3099
|
+
description: S.optional(S.NullOr(S.String)),
|
|
3100
|
+
netname: S.optional(S.NullOr(S.String)),
|
|
3101
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/{ip}/ripe", code: 200 })),
|
|
3102
|
+
).annotate({
|
|
3103
|
+
identifier: "PutIpRipeRequest",
|
|
3104
|
+
}) as any as S.Schema<PutIpRipeRequest>;
|
|
3105
|
+
|
|
3106
|
+
export interface PutIpRipeResponse {}
|
|
3107
|
+
export const PutIpRipeResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3108
|
+
S.Struct({}),
|
|
3109
|
+
).annotate({
|
|
3110
|
+
identifier: "PutIpRipeResponse",
|
|
3111
|
+
}) as any as S.Schema<PutIpRipeResponse>;
|
|
3112
|
+
|
|
3113
|
+
export interface PutIpServiceRequest {
|
|
3114
|
+
/** The internal name of your IP services */
|
|
3115
|
+
serviceName: string;
|
|
3116
|
+
/** Custom description on your ip */
|
|
3117
|
+
description?: string | null;
|
|
3118
|
+
}
|
|
3119
|
+
export const PutIpServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3120
|
+
S.Struct({
|
|
3121
|
+
serviceName: S.String.pipe(T.Label()),
|
|
3122
|
+
description: S.optional(S.NullOr(S.String)),
|
|
3123
|
+
}).pipe(
|
|
3124
|
+
T.Http({ method: "PUT", uri: "/ip/service/{serviceName}", code: 200 }),
|
|
3125
|
+
),
|
|
3126
|
+
).annotate({
|
|
3127
|
+
identifier: "PutIpServiceRequest",
|
|
3128
|
+
}) as any as S.Schema<PutIpServiceRequest>;
|
|
3129
|
+
|
|
3130
|
+
export interface PutIpServiceResponse {}
|
|
3131
|
+
export const PutIpServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3132
|
+
S.Struct({}),
|
|
3133
|
+
).annotate({
|
|
3134
|
+
identifier: "PutIpServiceResponse",
|
|
3135
|
+
}) as any as S.Schema<PutIpServiceResponse>;
|
|
3136
|
+
|
|
3137
|
+
export interface PutIpServiceServiceInfosRequest {
|
|
3138
|
+
/** The internal name of your IP services */
|
|
3139
|
+
serviceName: string;
|
|
3140
|
+
/** Way of handling the renew */
|
|
3141
|
+
renew?: ServiceRenewType | null;
|
|
3142
|
+
}
|
|
3143
|
+
export const PutIpServiceServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3144
|
+
S.Struct({
|
|
3145
|
+
serviceName: S.String.pipe(T.Label()),
|
|
3146
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
3147
|
+
}).pipe(
|
|
3148
|
+
T.Http({
|
|
3149
|
+
method: "PUT",
|
|
3150
|
+
uri: "/ip/service/{serviceName}/serviceInfos",
|
|
3151
|
+
code: 200,
|
|
3152
|
+
}),
|
|
3153
|
+
),
|
|
3154
|
+
).annotate({
|
|
3155
|
+
identifier: "PutIpServiceServiceInfosRequest",
|
|
3156
|
+
}) as any as S.Schema<PutIpServiceServiceInfosRequest>;
|
|
3157
|
+
|
|
3158
|
+
export interface PutIpServiceServiceInfosResponse {}
|
|
3159
|
+
export const PutIpServiceServiceInfosResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3160
|
+
S.Struct({}),
|
|
3161
|
+
).annotate({
|
|
3162
|
+
identifier: "PutIpServiceServiceInfosResponse",
|
|
3163
|
+
}) as any as S.Schema<PutIpServiceServiceInfosResponse>;
|
|
3164
|
+
|
|
3165
|
+
export interface TerminateIpServiceRequest {
|
|
3166
|
+
/** The internal name of your IP services */
|
|
3167
|
+
serviceName: string;
|
|
3168
|
+
}
|
|
3169
|
+
export const TerminateIpServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3170
|
+
S.Struct({
|
|
3171
|
+
serviceName: S.String.pipe(T.Label()),
|
|
3172
|
+
}).pipe(
|
|
3173
|
+
T.Http({
|
|
3174
|
+
method: "POST",
|
|
3175
|
+
uri: "/ip/service/{serviceName}/terminate",
|
|
3176
|
+
code: 200,
|
|
3177
|
+
}),
|
|
3178
|
+
),
|
|
3179
|
+
).annotate({
|
|
3180
|
+
identifier: "TerminateIpServiceRequest",
|
|
3181
|
+
}) as any as S.Schema<TerminateIpServiceRequest>;
|
|
3182
|
+
|
|
3183
|
+
export type TerminateIpServiceResponse = string;
|
|
3184
|
+
export const TerminateIpServiceResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3185
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
3186
|
+
).annotate({
|
|
3187
|
+
identifier: "TerminateIpServiceResponse",
|
|
3188
|
+
}) as any as S.Schema<TerminateIpServiceResponse>;
|
|
3189
|
+
|
|
3190
|
+
export interface UnblockIpAntihackRequest {
|
|
3191
|
+
ip: string;
|
|
3192
|
+
/** your IP */
|
|
3193
|
+
ipBlocked: string;
|
|
3194
|
+
}
|
|
3195
|
+
export const UnblockIpAntihackRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3196
|
+
S.Struct({
|
|
3197
|
+
ip: S.String.pipe(T.Label()),
|
|
3198
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
3199
|
+
}).pipe(
|
|
3200
|
+
T.Http({
|
|
3201
|
+
method: "POST",
|
|
3202
|
+
uri: "/ip/{ip}/antihack/{ipBlocked}/unblock",
|
|
3203
|
+
code: 200,
|
|
3204
|
+
}),
|
|
3205
|
+
),
|
|
3206
|
+
).annotate({
|
|
3207
|
+
identifier: "UnblockIpAntihackRequest",
|
|
3208
|
+
}) as any as S.Schema<UnblockIpAntihackRequest>;
|
|
3209
|
+
|
|
3210
|
+
export interface UnblockIpAntihackResponse {}
|
|
3211
|
+
export const UnblockIpAntihackResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3212
|
+
S.Struct({}),
|
|
3213
|
+
).annotate({
|
|
3214
|
+
identifier: "UnblockIpAntihackResponse",
|
|
3215
|
+
}) as any as S.Schema<UnblockIpAntihackResponse>;
|
|
3216
|
+
|
|
3217
|
+
export interface UnblockIpArpRequest {
|
|
3218
|
+
ip: string;
|
|
3219
|
+
/** your IP */
|
|
3220
|
+
ipBlocked: string;
|
|
3221
|
+
}
|
|
3222
|
+
export const UnblockIpArpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3223
|
+
S.Struct({
|
|
3224
|
+
ip: S.String.pipe(T.Label()),
|
|
3225
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
3226
|
+
}).pipe(
|
|
3227
|
+
T.Http({
|
|
3228
|
+
method: "POST",
|
|
3229
|
+
uri: "/ip/{ip}/arp/{ipBlocked}/unblock",
|
|
3230
|
+
code: 200,
|
|
3231
|
+
}),
|
|
3232
|
+
),
|
|
3233
|
+
).annotate({
|
|
3234
|
+
identifier: "UnblockIpArpRequest",
|
|
3235
|
+
}) as any as S.Schema<UnblockIpArpRequest>;
|
|
3236
|
+
|
|
3237
|
+
export interface UnblockIpArpResponse {}
|
|
3238
|
+
export const UnblockIpArpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3239
|
+
S.Struct({}),
|
|
3240
|
+
).annotate({
|
|
3241
|
+
identifier: "UnblockIpArpResponse",
|
|
3242
|
+
}) as any as S.Schema<UnblockIpArpResponse>;
|
|
3243
|
+
|
|
3244
|
+
export interface UnblockIpSpamRequest {
|
|
3245
|
+
ip: string;
|
|
3246
|
+
/** IP address which is sending spam */
|
|
3247
|
+
ipSpamming: string;
|
|
3248
|
+
}
|
|
3249
|
+
export const UnblockIpSpamRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3250
|
+
S.Struct({
|
|
3251
|
+
ip: S.String.pipe(T.Label()),
|
|
3252
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
3253
|
+
}).pipe(
|
|
3254
|
+
T.Http({
|
|
3255
|
+
method: "POST",
|
|
3256
|
+
uri: "/ip/{ip}/spam/{ipSpamming}/unblock",
|
|
3257
|
+
code: 200,
|
|
3258
|
+
}),
|
|
3259
|
+
),
|
|
3260
|
+
).annotate({
|
|
3261
|
+
identifier: "UnblockIpSpamRequest",
|
|
3262
|
+
}) as any as S.Schema<UnblockIpSpamRequest>;
|
|
3263
|
+
|
|
3264
|
+
export type ConfirmIpServiceTerminationError = OvhOpError;
|
|
3265
|
+
/** Confirm service termination */
|
|
3266
|
+
export const confirmIpServiceTermination: API.OperationMethod<
|
|
3267
|
+
ConfirmIpServiceTerminationRequest,
|
|
3268
|
+
ConfirmIpServiceTerminationResponse,
|
|
3269
|
+
ConfirmIpServiceTerminationError,
|
|
3270
|
+
OvhOpContext
|
|
3271
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3272
|
+
input: ConfirmIpServiceTerminationRequest,
|
|
3273
|
+
output: ConfirmIpServiceTerminationResponse,
|
|
3274
|
+
errors: [UnknownOvhError],
|
|
3275
|
+
protocol: OvhProtocol,
|
|
3276
|
+
retry: Retry.Retry,
|
|
3277
|
+
}));
|
|
3278
|
+
|
|
3279
|
+
export type CreateIpBringYourOwnIpAggregateError = OvhOpError;
|
|
3280
|
+
/** Aggregate a sliced BYOIP Additional IPs and it's neighbor(s) into a single bigger Additional IP parent */
|
|
3281
|
+
export const createIpBringYourOwnIpAggregate: API.OperationMethod<
|
|
3282
|
+
CreateIpBringYourOwnIpAggregateRequest,
|
|
3283
|
+
IpIpTask,
|
|
3284
|
+
CreateIpBringYourOwnIpAggregateError,
|
|
3285
|
+
OvhOpContext
|
|
3286
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3287
|
+
input: CreateIpBringYourOwnIpAggregateRequest,
|
|
3288
|
+
output: IpIpTask,
|
|
3289
|
+
errors: [UnknownOvhError],
|
|
3290
|
+
protocol: OvhProtocol,
|
|
3291
|
+
retry: Retry.Retry,
|
|
3292
|
+
}));
|
|
3293
|
+
|
|
3294
|
+
export type CreateIpBringYourOwnIpSliceError = OvhOpError;
|
|
3295
|
+
/** Slice a BYOIP Additional IP into smaller Additional IPs */
|
|
3296
|
+
export const createIpBringYourOwnIpSlice: API.OperationMethod<
|
|
3297
|
+
CreateIpBringYourOwnIpSliceRequest,
|
|
3298
|
+
IpIpTask,
|
|
3299
|
+
CreateIpBringYourOwnIpSliceError,
|
|
3300
|
+
OvhOpContext
|
|
3301
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3302
|
+
input: CreateIpBringYourOwnIpSliceRequest,
|
|
3303
|
+
output: IpIpTask,
|
|
3304
|
+
errors: [UnknownOvhError],
|
|
3305
|
+
protocol: OvhProtocol,
|
|
3306
|
+
retry: Retry.Retry,
|
|
3307
|
+
}));
|
|
3308
|
+
|
|
3309
|
+
export type CreateIpChangeOrgError = OvhOpError;
|
|
3310
|
+
/** Change organisation of this IP */
|
|
3311
|
+
export const createIpChangeOrg: API.OperationMethod<
|
|
3312
|
+
CreateIpChangeOrgRequest,
|
|
3313
|
+
IpIpTask,
|
|
3314
|
+
CreateIpChangeOrgError,
|
|
3315
|
+
OvhOpContext
|
|
3316
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3317
|
+
input: CreateIpChangeOrgRequest,
|
|
3318
|
+
output: IpIpTask,
|
|
3319
|
+
errors: [UnknownOvhError],
|
|
3320
|
+
protocol: OvhProtocol,
|
|
3321
|
+
retry: Retry.Retry,
|
|
3322
|
+
}));
|
|
3323
|
+
|
|
3324
|
+
export type CreateIpDelegationError = OvhOpError;
|
|
3325
|
+
/** Add target for reverse delegation on IPv6 subnet */
|
|
3326
|
+
export const createIpDelegation: API.OperationMethod<
|
|
3327
|
+
CreateIpDelegationRequest,
|
|
3328
|
+
IpReverseDelegation,
|
|
3329
|
+
CreateIpDelegationError,
|
|
3330
|
+
OvhOpContext
|
|
3331
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3332
|
+
input: CreateIpDelegationRequest,
|
|
3333
|
+
output: IpReverseDelegation,
|
|
3334
|
+
errors: [UnknownOvhError],
|
|
3335
|
+
protocol: OvhProtocol,
|
|
3336
|
+
retry: Retry.Retry,
|
|
3337
|
+
}));
|
|
3338
|
+
|
|
3339
|
+
export type CreateIpFirewallError = OvhOpError;
|
|
3340
|
+
/** AntiDDOS option. Add new IP on firewall */
|
|
3341
|
+
export const createIpFirewall: API.OperationMethod<
|
|
3342
|
+
CreateIpFirewallRequest,
|
|
3343
|
+
IpFirewallIp,
|
|
3344
|
+
CreateIpFirewallError,
|
|
3345
|
+
OvhOpContext
|
|
3346
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3347
|
+
input: CreateIpFirewallRequest,
|
|
3348
|
+
output: IpFirewallIp,
|
|
3349
|
+
errors: [UnknownOvhError],
|
|
3350
|
+
protocol: OvhProtocol,
|
|
3351
|
+
retry: Retry.Retry,
|
|
3352
|
+
}));
|
|
3353
|
+
|
|
3354
|
+
export type CreateIpFirewallRuleError = OvhOpError;
|
|
3355
|
+
/** AntiDDOS option. Add new rule on your IP */
|
|
3356
|
+
export const createIpFirewallRule: API.OperationMethod<
|
|
3357
|
+
CreateIpFirewallRuleRequest,
|
|
3358
|
+
IpFirewallNetworkRule,
|
|
3359
|
+
CreateIpFirewallRuleError,
|
|
3360
|
+
OvhOpContext
|
|
3361
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3362
|
+
input: CreateIpFirewallRuleRequest,
|
|
3363
|
+
output: IpFirewallNetworkRule,
|
|
3364
|
+
errors: [UnknownOvhError],
|
|
3365
|
+
protocol: OvhProtocol,
|
|
3366
|
+
retry: Retry.Retry,
|
|
3367
|
+
}));
|
|
3368
|
+
|
|
3369
|
+
export type CreateIpGameRuleError = OvhOpError;
|
|
3370
|
+
/** Add new rule on your IP */
|
|
3371
|
+
export const createIpGameRule: API.OperationMethod<
|
|
3372
|
+
CreateIpGameRuleRequest,
|
|
3373
|
+
IpGameMitigationRule,
|
|
3374
|
+
CreateIpGameRuleError,
|
|
3375
|
+
OvhOpContext
|
|
3376
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3377
|
+
input: CreateIpGameRuleRequest,
|
|
3378
|
+
output: IpGameMitigationRule,
|
|
3379
|
+
errors: [UnknownOvhError],
|
|
3380
|
+
protocol: OvhProtocol,
|
|
3381
|
+
retry: Retry.Retry,
|
|
3382
|
+
}));
|
|
3383
|
+
|
|
3384
|
+
export type CreateIpMigrationTokenError = OvhOpError;
|
|
3385
|
+
/** Generate a migration token */
|
|
3386
|
+
export const createIpMigrationToken: API.OperationMethod<
|
|
3387
|
+
CreateIpMigrationTokenRequest,
|
|
3388
|
+
IpIpMigrationToken,
|
|
3389
|
+
CreateIpMigrationTokenError,
|
|
3390
|
+
OvhOpContext
|
|
3391
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3392
|
+
input: CreateIpMigrationTokenRequest,
|
|
3393
|
+
output: IpIpMigrationToken,
|
|
3394
|
+
errors: [UnknownOvhError],
|
|
3395
|
+
protocol: OvhProtocol,
|
|
3396
|
+
retry: Retry.Retry,
|
|
3397
|
+
}));
|
|
3398
|
+
|
|
3399
|
+
export type CreateIpMitigationError = OvhOpError;
|
|
3400
|
+
/** AntiDDOS option. Add new IP on permanent mitigation */
|
|
3401
|
+
export const createIpMitigation: API.OperationMethod<
|
|
3402
|
+
CreateIpMitigationRequest,
|
|
3403
|
+
IpMitigationIp,
|
|
3404
|
+
CreateIpMitigationError,
|
|
3405
|
+
OvhOpContext
|
|
3406
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3407
|
+
input: CreateIpMitigationRequest,
|
|
3408
|
+
output: IpMitigationIp,
|
|
3409
|
+
errors: [UnknownOvhError],
|
|
3410
|
+
protocol: OvhProtocol,
|
|
3411
|
+
retry: Retry.Retry,
|
|
3412
|
+
}));
|
|
3413
|
+
|
|
3414
|
+
export type CreateIpMitigationProfileError = OvhOpError;
|
|
3415
|
+
/** Create new profile for one of your ip */
|
|
3416
|
+
export const createIpMitigationProfile: API.OperationMethod<
|
|
3417
|
+
CreateIpMitigationProfileRequest,
|
|
3418
|
+
IpMitigationProfile,
|
|
3419
|
+
CreateIpMitigationProfileError,
|
|
3420
|
+
OvhOpContext
|
|
3421
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3422
|
+
input: CreateIpMitigationProfileRequest,
|
|
3423
|
+
output: IpMitigationProfile,
|
|
3424
|
+
errors: [UnknownOvhError],
|
|
3425
|
+
protocol: OvhProtocol,
|
|
3426
|
+
retry: Retry.Retry,
|
|
3427
|
+
}));
|
|
3428
|
+
|
|
3429
|
+
export type CreateIpParkError = OvhOpError;
|
|
3430
|
+
/** Park this IP */
|
|
3431
|
+
export const createIpPark: API.OperationMethod<
|
|
3432
|
+
CreateIpParkRequest,
|
|
3433
|
+
IpIpTask,
|
|
3434
|
+
CreateIpParkError,
|
|
3435
|
+
OvhOpContext
|
|
3436
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3437
|
+
input: CreateIpParkRequest,
|
|
3438
|
+
output: IpIpTask,
|
|
3439
|
+
errors: [UnknownOvhError],
|
|
3440
|
+
protocol: OvhProtocol,
|
|
3441
|
+
retry: Retry.Retry,
|
|
3442
|
+
}));
|
|
3443
|
+
|
|
3444
|
+
export type CreateIpReverseError = OvhOpError;
|
|
3445
|
+
/** Add reverse on an ip */
|
|
3446
|
+
export const createIpReverse: API.OperationMethod<
|
|
3447
|
+
CreateIpReverseRequest,
|
|
3448
|
+
IpReverseIp,
|
|
3449
|
+
CreateIpReverseError,
|
|
3450
|
+
OvhOpContext
|
|
3451
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3452
|
+
input: CreateIpReverseRequest,
|
|
3453
|
+
output: IpReverseIp,
|
|
3454
|
+
errors: [UnknownOvhError],
|
|
3455
|
+
protocol: OvhProtocol,
|
|
3456
|
+
retry: Retry.Retry,
|
|
3457
|
+
}));
|
|
3458
|
+
|
|
3459
|
+
export type CreateIpServiceChangeContactError = OvhOpError;
|
|
3460
|
+
/** Launch a contact change procedure */
|
|
3461
|
+
export const createIpServiceChangeContact: API.OperationMethod<
|
|
3462
|
+
CreateIpServiceChangeContactRequest,
|
|
3463
|
+
CreateIpServiceChangeContactResponse,
|
|
3464
|
+
CreateIpServiceChangeContactError,
|
|
3465
|
+
OvhOpContext
|
|
3466
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3467
|
+
input: CreateIpServiceChangeContactRequest,
|
|
3468
|
+
output: CreateIpServiceChangeContactResponse,
|
|
3469
|
+
errors: [UnknownOvhError],
|
|
3470
|
+
protocol: OvhProtocol,
|
|
3471
|
+
retry: Retry.Retry,
|
|
3472
|
+
}));
|
|
3473
|
+
|
|
3474
|
+
export type DeleteIpDelegationError = OvhOpError;
|
|
3475
|
+
/** Delete a target for reverse delegation on IPv6 subnet */
|
|
3476
|
+
export const deleteIpDelegation: API.OperationMethod<
|
|
3477
|
+
DeleteIpDelegationRequest,
|
|
3478
|
+
DeleteIpDelegationResponse,
|
|
3479
|
+
DeleteIpDelegationError,
|
|
3480
|
+
OvhOpContext
|
|
3481
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3482
|
+
input: DeleteIpDelegationRequest,
|
|
3483
|
+
output: DeleteIpDelegationResponse,
|
|
3484
|
+
errors: [UnknownOvhError],
|
|
3485
|
+
protocol: OvhProtocol,
|
|
3486
|
+
retry: Retry.Retry,
|
|
3487
|
+
}));
|
|
3488
|
+
|
|
3489
|
+
export type DeleteIpFirewallError = OvhOpError;
|
|
3490
|
+
/** AntiDDOS option. Delete IP and rules from firewall */
|
|
3491
|
+
export const deleteIpFirewall: API.OperationMethod<
|
|
3492
|
+
DeleteIpFirewallRequest,
|
|
3493
|
+
DeleteIpFirewallResponse,
|
|
3494
|
+
DeleteIpFirewallError,
|
|
3495
|
+
OvhOpContext
|
|
3496
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3497
|
+
input: DeleteIpFirewallRequest,
|
|
3498
|
+
output: DeleteIpFirewallResponse,
|
|
3499
|
+
errors: [UnknownOvhError],
|
|
3500
|
+
protocol: OvhProtocol,
|
|
3501
|
+
retry: Retry.Retry,
|
|
3502
|
+
}));
|
|
3503
|
+
|
|
3504
|
+
export type DeleteIpFirewallRuleError = OvhOpError;
|
|
3505
|
+
/** AntiDDOS option. Delete rule */
|
|
3506
|
+
export const deleteIpFirewallRule: API.OperationMethod<
|
|
3507
|
+
DeleteIpFirewallRuleRequest,
|
|
3508
|
+
IpFirewallNetworkRule,
|
|
3509
|
+
DeleteIpFirewallRuleError,
|
|
3510
|
+
OvhOpContext
|
|
3511
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3512
|
+
input: DeleteIpFirewallRuleRequest,
|
|
3513
|
+
output: IpFirewallNetworkRule,
|
|
3514
|
+
errors: [UnknownOvhError],
|
|
3515
|
+
protocol: OvhProtocol,
|
|
3516
|
+
retry: Retry.Retry,
|
|
3517
|
+
}));
|
|
3518
|
+
|
|
3519
|
+
export type DeleteIpGameRuleError = OvhOpError;
|
|
3520
|
+
/** Delete rule */
|
|
3521
|
+
export const deleteIpGameRule: API.OperationMethod<
|
|
3522
|
+
DeleteIpGameRuleRequest,
|
|
3523
|
+
IpGameMitigationRule,
|
|
3524
|
+
DeleteIpGameRuleError,
|
|
3525
|
+
OvhOpContext
|
|
3526
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3527
|
+
input: DeleteIpGameRuleRequest,
|
|
3528
|
+
output: IpGameMitigationRule,
|
|
3529
|
+
errors: [UnknownOvhError],
|
|
3530
|
+
protocol: OvhProtocol,
|
|
3531
|
+
retry: Retry.Retry,
|
|
3532
|
+
}));
|
|
3533
|
+
|
|
3534
|
+
export type DeleteIpMitigationError = OvhOpError;
|
|
3535
|
+
/** AntiDDOS option. Delete IP from mitigation */
|
|
3536
|
+
export const deleteIpMitigation: API.OperationMethod<
|
|
3537
|
+
DeleteIpMitigationRequest,
|
|
3538
|
+
IpMitigationIp,
|
|
3539
|
+
DeleteIpMitigationError,
|
|
3540
|
+
OvhOpContext
|
|
3541
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3542
|
+
input: DeleteIpMitigationRequest,
|
|
3543
|
+
output: IpMitigationIp,
|
|
3544
|
+
errors: [UnknownOvhError],
|
|
3545
|
+
protocol: OvhProtocol,
|
|
3546
|
+
retry: Retry.Retry,
|
|
3547
|
+
}));
|
|
3548
|
+
|
|
3549
|
+
export type DeleteIpMitigationProfileError = OvhOpError;
|
|
3550
|
+
/** Delete mitigation profile */
|
|
3551
|
+
export const deleteIpMitigationProfile: API.OperationMethod<
|
|
3552
|
+
DeleteIpMitigationProfileRequest,
|
|
3553
|
+
DeleteIpMitigationProfileResponse,
|
|
3554
|
+
DeleteIpMitigationProfileError,
|
|
3555
|
+
OvhOpContext
|
|
3556
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3557
|
+
input: DeleteIpMitigationProfileRequest,
|
|
3558
|
+
output: DeleteIpMitigationProfileResponse,
|
|
3559
|
+
errors: [UnknownOvhError],
|
|
3560
|
+
protocol: OvhProtocol,
|
|
3561
|
+
retry: Retry.Retry,
|
|
3562
|
+
}));
|
|
3563
|
+
|
|
3564
|
+
export type DeleteIpReverseError = OvhOpError;
|
|
3565
|
+
/** Delete a reverse on one IP */
|
|
3566
|
+
export const deleteIpReverse: API.OperationMethod<
|
|
3567
|
+
DeleteIpReverseRequest,
|
|
3568
|
+
DeleteIpReverseResponse,
|
|
3569
|
+
DeleteIpReverseError,
|
|
3570
|
+
OvhOpContext
|
|
3571
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3572
|
+
input: DeleteIpReverseRequest,
|
|
3573
|
+
output: DeleteIpReverseResponse,
|
|
3574
|
+
errors: [UnknownOvhError],
|
|
3575
|
+
protocol: OvhProtocol,
|
|
3576
|
+
retry: Retry.Retry,
|
|
3577
|
+
}));
|
|
3578
|
+
|
|
3579
|
+
export type GetIpError = OvhOpError;
|
|
3580
|
+
/** Get this object properties */
|
|
3581
|
+
export const getIp: API.OperationMethod<
|
|
3582
|
+
GetIpRequest,
|
|
3583
|
+
IpIpWithIAM,
|
|
3584
|
+
GetIpError,
|
|
3585
|
+
OvhOpContext
|
|
3586
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3587
|
+
input: GetIpRequest,
|
|
3588
|
+
output: IpIpWithIAM,
|
|
3589
|
+
errors: [UnknownOvhError],
|
|
3590
|
+
protocol: OvhProtocol,
|
|
3591
|
+
retry: Retry.Retry,
|
|
3592
|
+
}));
|
|
3593
|
+
|
|
3594
|
+
export type GetIpAntihackError = OvhOpError;
|
|
3595
|
+
/** Get this object properties */
|
|
3596
|
+
export const getIpAntihack: API.OperationMethod<
|
|
3597
|
+
GetIpAntihackRequest,
|
|
3598
|
+
IpBlockedIp,
|
|
3599
|
+
GetIpAntihackError,
|
|
3600
|
+
OvhOpContext
|
|
3601
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3602
|
+
input: GetIpAntihackRequest,
|
|
3603
|
+
output: IpBlockedIp,
|
|
3604
|
+
errors: [UnknownOvhError],
|
|
3605
|
+
protocol: OvhProtocol,
|
|
3606
|
+
retry: Retry.Retry,
|
|
3607
|
+
}));
|
|
3608
|
+
|
|
3609
|
+
export type GetIpArpError = OvhOpError;
|
|
3610
|
+
/** Get this object properties */
|
|
3611
|
+
export const getIpArp: API.OperationMethod<
|
|
3612
|
+
GetIpArpRequest,
|
|
3613
|
+
IpArpBlockedIp,
|
|
3614
|
+
GetIpArpError,
|
|
3615
|
+
OvhOpContext
|
|
3616
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3617
|
+
input: GetIpArpRequest,
|
|
3618
|
+
output: IpArpBlockedIp,
|
|
3619
|
+
errors: [UnknownOvhError],
|
|
3620
|
+
protocol: OvhProtocol,
|
|
3621
|
+
retry: Retry.Retry,
|
|
3622
|
+
}));
|
|
3623
|
+
|
|
3624
|
+
export type GetIpDelegationError = OvhOpError;
|
|
3625
|
+
/** Get this object properties */
|
|
3626
|
+
export const getIpDelegation: API.OperationMethod<
|
|
3627
|
+
GetIpDelegationRequest,
|
|
3628
|
+
IpReverseDelegation,
|
|
3629
|
+
GetIpDelegationError,
|
|
3630
|
+
OvhOpContext
|
|
3631
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3632
|
+
input: GetIpDelegationRequest,
|
|
3633
|
+
output: IpReverseDelegation,
|
|
3634
|
+
errors: [UnknownOvhError],
|
|
3635
|
+
protocol: OvhProtocol,
|
|
3636
|
+
retry: Retry.Retry,
|
|
3637
|
+
}));
|
|
3638
|
+
|
|
3639
|
+
export type GetIpFirewallError = OvhOpError;
|
|
3640
|
+
/** Get this object properties */
|
|
3641
|
+
export const getIpFirewall: API.OperationMethod<
|
|
3642
|
+
GetIpFirewallRequest,
|
|
3643
|
+
IpFirewallIp,
|
|
3644
|
+
GetIpFirewallError,
|
|
3645
|
+
OvhOpContext
|
|
3646
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3647
|
+
input: GetIpFirewallRequest,
|
|
3648
|
+
output: IpFirewallIp,
|
|
3649
|
+
errors: [UnknownOvhError],
|
|
3650
|
+
protocol: OvhProtocol,
|
|
3651
|
+
retry: Retry.Retry,
|
|
3652
|
+
}));
|
|
3653
|
+
|
|
3654
|
+
export type GetIpFirewallRuleError = OvhOpError;
|
|
3655
|
+
/** Get this object properties */
|
|
3656
|
+
export const getIpFirewallRule: API.OperationMethod<
|
|
3657
|
+
GetIpFirewallRuleRequest,
|
|
3658
|
+
IpFirewallNetworkRule,
|
|
3659
|
+
GetIpFirewallRuleError,
|
|
3660
|
+
OvhOpContext
|
|
3661
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3662
|
+
input: GetIpFirewallRuleRequest,
|
|
3663
|
+
output: IpFirewallNetworkRule,
|
|
3664
|
+
errors: [UnknownOvhError],
|
|
3665
|
+
protocol: OvhProtocol,
|
|
3666
|
+
retry: Retry.Retry,
|
|
3667
|
+
}));
|
|
3668
|
+
|
|
3669
|
+
export type GetIpGameError = OvhOpError;
|
|
3670
|
+
/** Get this object properties */
|
|
3671
|
+
export const getIpGame: API.OperationMethod<
|
|
3672
|
+
GetIpGameRequest,
|
|
3673
|
+
IpGameMitigation,
|
|
3674
|
+
GetIpGameError,
|
|
3675
|
+
OvhOpContext
|
|
3676
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3677
|
+
input: GetIpGameRequest,
|
|
3678
|
+
output: IpGameMitigation,
|
|
3679
|
+
errors: [UnknownOvhError],
|
|
3680
|
+
protocol: OvhProtocol,
|
|
3681
|
+
retry: Retry.Retry,
|
|
3682
|
+
}));
|
|
3683
|
+
|
|
3684
|
+
export type GetIpGameRuleError = OvhOpError;
|
|
3685
|
+
/** Get this object properties */
|
|
3686
|
+
export const getIpGameRule: API.OperationMethod<
|
|
3687
|
+
GetIpGameRuleRequest,
|
|
3688
|
+
IpGameMitigationRule,
|
|
3689
|
+
GetIpGameRuleError,
|
|
3690
|
+
OvhOpContext
|
|
3691
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3692
|
+
input: GetIpGameRuleRequest,
|
|
3693
|
+
output: IpGameMitigationRule,
|
|
3694
|
+
errors: [UnknownOvhError],
|
|
3695
|
+
protocol: OvhProtocol,
|
|
3696
|
+
retry: Retry.Retry,
|
|
3697
|
+
}));
|
|
3698
|
+
|
|
3699
|
+
export type GetIpMigrationTokenError = OvhOpError;
|
|
3700
|
+
/** Get this object properties */
|
|
3701
|
+
export const getIpMigrationToken: API.OperationMethod<
|
|
3702
|
+
GetIpMigrationTokenRequest,
|
|
3703
|
+
IpIpMigrationToken,
|
|
3704
|
+
GetIpMigrationTokenError,
|
|
3705
|
+
OvhOpContext
|
|
3706
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3707
|
+
input: GetIpMigrationTokenRequest,
|
|
3708
|
+
output: IpIpMigrationToken,
|
|
3709
|
+
errors: [UnknownOvhError],
|
|
3710
|
+
protocol: OvhProtocol,
|
|
3711
|
+
retry: Retry.Retry,
|
|
3712
|
+
}));
|
|
3713
|
+
|
|
3714
|
+
export type GetIpMitigationError = OvhOpError;
|
|
3715
|
+
/** Get this object properties */
|
|
3716
|
+
export const getIpMitigation: API.OperationMethod<
|
|
3717
|
+
GetIpMitigationRequest,
|
|
3718
|
+
IpMitigationIp,
|
|
3719
|
+
GetIpMitigationError,
|
|
3720
|
+
OvhOpContext
|
|
3721
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3722
|
+
input: GetIpMitigationRequest,
|
|
3723
|
+
output: IpMitigationIp,
|
|
3724
|
+
errors: [UnknownOvhError],
|
|
3725
|
+
protocol: OvhProtocol,
|
|
3726
|
+
retry: Retry.Retry,
|
|
3727
|
+
}));
|
|
3728
|
+
|
|
3729
|
+
export type GetIpMitigationProfileError = OvhOpError;
|
|
3730
|
+
/** Get this object properties */
|
|
3731
|
+
export const getIpMitigationProfile: API.OperationMethod<
|
|
3732
|
+
GetIpMitigationProfileRequest,
|
|
3733
|
+
IpMitigationProfile,
|
|
3734
|
+
GetIpMitigationProfileError,
|
|
3735
|
+
OvhOpContext
|
|
3736
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3737
|
+
input: GetIpMitigationProfileRequest,
|
|
3738
|
+
output: IpMitigationProfile,
|
|
3739
|
+
errors: [UnknownOvhError],
|
|
3740
|
+
protocol: OvhProtocol,
|
|
3741
|
+
retry: Retry.Retry,
|
|
3742
|
+
}));
|
|
3743
|
+
|
|
3744
|
+
export type GetIpPhishingError = OvhOpError;
|
|
3745
|
+
/** Get this object properties */
|
|
3746
|
+
export const getIpPhishing: API.OperationMethod<
|
|
3747
|
+
GetIpPhishingRequest,
|
|
3748
|
+
IpAntiphishing,
|
|
3749
|
+
GetIpPhishingError,
|
|
3750
|
+
OvhOpContext
|
|
3751
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3752
|
+
input: GetIpPhishingRequest,
|
|
3753
|
+
output: IpAntiphishing,
|
|
3754
|
+
errors: [UnknownOvhError],
|
|
3755
|
+
protocol: OvhProtocol,
|
|
3756
|
+
retry: Retry.Retry,
|
|
3757
|
+
}));
|
|
3758
|
+
|
|
3759
|
+
export type GetIpReverseError = OvhOpError;
|
|
3760
|
+
/** Get this object properties */
|
|
3761
|
+
export const getIpReverse: API.OperationMethod<
|
|
3762
|
+
GetIpReverseRequest,
|
|
3763
|
+
IpReverseIp,
|
|
3764
|
+
GetIpReverseError,
|
|
3765
|
+
OvhOpContext
|
|
3766
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3767
|
+
input: GetIpReverseRequest,
|
|
3768
|
+
output: IpReverseIp,
|
|
3769
|
+
errors: [UnknownOvhError],
|
|
3770
|
+
protocol: OvhProtocol,
|
|
3771
|
+
retry: Retry.Retry,
|
|
3772
|
+
}));
|
|
3773
|
+
|
|
3774
|
+
export type GetIpRipeError = OvhOpError;
|
|
3775
|
+
/** Get this object properties */
|
|
3776
|
+
export const getIpRipe: API.OperationMethod<
|
|
3777
|
+
GetIpRipeRequest,
|
|
3778
|
+
IpRipeInfos,
|
|
3779
|
+
GetIpRipeError,
|
|
3780
|
+
OvhOpContext
|
|
3781
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3782
|
+
input: GetIpRipeRequest,
|
|
3783
|
+
output: IpRipeInfos,
|
|
3784
|
+
errors: [UnknownOvhError],
|
|
3785
|
+
protocol: OvhProtocol,
|
|
3786
|
+
retry: Retry.Retry,
|
|
3787
|
+
}));
|
|
3788
|
+
|
|
3789
|
+
export type GetIpServiceError = OvhOpError;
|
|
3790
|
+
/** Get this object properties */
|
|
3791
|
+
export const getIpService: API.OperationMethod<
|
|
3792
|
+
GetIpServiceRequest,
|
|
3793
|
+
IpServiceIpWithIAM,
|
|
3794
|
+
GetIpServiceError,
|
|
3795
|
+
OvhOpContext
|
|
3796
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3797
|
+
input: GetIpServiceRequest,
|
|
3798
|
+
output: IpServiceIpWithIAM,
|
|
3799
|
+
errors: [UnknownOvhError],
|
|
3800
|
+
protocol: OvhProtocol,
|
|
3801
|
+
retry: Retry.Retry,
|
|
3802
|
+
}));
|
|
3803
|
+
|
|
3804
|
+
export type GetIpServiceServiceInfosError = OvhOpError;
|
|
3805
|
+
/** Get service information */
|
|
3806
|
+
export const getIpServiceServiceInfos: API.OperationMethod<
|
|
3807
|
+
GetIpServiceServiceInfosRequest,
|
|
3808
|
+
ServicesService,
|
|
3809
|
+
GetIpServiceServiceInfosError,
|
|
3810
|
+
OvhOpContext
|
|
3811
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3812
|
+
input: GetIpServiceServiceInfosRequest,
|
|
3813
|
+
output: ServicesService,
|
|
3814
|
+
errors: [UnknownOvhError],
|
|
3815
|
+
protocol: OvhProtocol,
|
|
3816
|
+
retry: Retry.Retry,
|
|
3817
|
+
}));
|
|
3818
|
+
|
|
3819
|
+
export type GetIpSpamError = OvhOpError;
|
|
3820
|
+
/** Get this object properties */
|
|
3821
|
+
export const getIpSpam: API.OperationMethod<
|
|
3822
|
+
GetIpSpamRequest,
|
|
3823
|
+
IpSpamIp,
|
|
3824
|
+
GetIpSpamError,
|
|
3825
|
+
OvhOpContext
|
|
3826
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3827
|
+
input: GetIpSpamRequest,
|
|
3828
|
+
output: IpSpamIp,
|
|
3829
|
+
errors: [UnknownOvhError],
|
|
3830
|
+
protocol: OvhProtocol,
|
|
3831
|
+
retry: Retry.Retry,
|
|
3832
|
+
}));
|
|
3833
|
+
|
|
3834
|
+
export type GetIpTaskError = OvhOpError;
|
|
3835
|
+
/** Get this object properties */
|
|
3836
|
+
export const getIpTask: API.OperationMethod<
|
|
3837
|
+
GetIpTaskRequest,
|
|
3838
|
+
IpIpTask,
|
|
3839
|
+
GetIpTaskError,
|
|
3840
|
+
OvhOpContext
|
|
3841
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3842
|
+
input: GetIpTaskRequest,
|
|
3843
|
+
output: IpIpTask,
|
|
3844
|
+
errors: [UnknownOvhError],
|
|
3845
|
+
protocol: OvhProtocol,
|
|
3846
|
+
retry: Retry.Retry,
|
|
3847
|
+
}));
|
|
3848
|
+
|
|
3849
|
+
export type ListIpError = OvhOpError;
|
|
3850
|
+
/** Your OVH IPs */
|
|
3851
|
+
export const listIp: API.OperationMethod<
|
|
3852
|
+
ListIpRequest,
|
|
3853
|
+
ListIpResponse,
|
|
3854
|
+
ListIpError,
|
|
3855
|
+
OvhOpContext
|
|
3856
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3857
|
+
input: ListIpRequest,
|
|
3858
|
+
output: ListIpResponse,
|
|
3859
|
+
errors: [UnknownOvhError],
|
|
3860
|
+
protocol: OvhProtocol,
|
|
3861
|
+
retry: Retry.Retry,
|
|
3862
|
+
}));
|
|
3863
|
+
|
|
3864
|
+
export type ListIpAntihackError = OvhOpError;
|
|
3865
|
+
/** Anti-Hack blocked IP */
|
|
3866
|
+
export const listIpAntihack: API.OperationMethod<
|
|
3867
|
+
ListIpAntihackRequest,
|
|
3868
|
+
ListIpAntihackResponse,
|
|
3869
|
+
ListIpAntihackError,
|
|
3870
|
+
OvhOpContext
|
|
3871
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3872
|
+
input: ListIpAntihackRequest,
|
|
3873
|
+
output: ListIpAntihackResponse,
|
|
3874
|
+
errors: [UnknownOvhError],
|
|
3875
|
+
protocol: OvhProtocol,
|
|
3876
|
+
retry: Retry.Retry,
|
|
3877
|
+
}));
|
|
3878
|
+
|
|
3879
|
+
export type ListIpArpError = OvhOpError;
|
|
3880
|
+
/** ARP blocked IP */
|
|
3881
|
+
export const listIpArp: API.OperationMethod<
|
|
3882
|
+
ListIpArpRequest,
|
|
3883
|
+
ListIpArpResponse,
|
|
3884
|
+
ListIpArpError,
|
|
3885
|
+
OvhOpContext
|
|
3886
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3887
|
+
input: ListIpArpRequest,
|
|
3888
|
+
output: ListIpArpResponse,
|
|
3889
|
+
errors: [UnknownOvhError],
|
|
3890
|
+
protocol: OvhProtocol,
|
|
3891
|
+
retry: Retry.Retry,
|
|
3892
|
+
}));
|
|
3893
|
+
|
|
3894
|
+
export type ListIpBringYourOwnIpAggregateError = OvhOpError;
|
|
3895
|
+
/** Get available aggregation configurations for this BYOIP Additional IP and it's neighbor(s) */
|
|
3896
|
+
export const listIpBringYourOwnIpAggregate: API.OperationMethod<
|
|
3897
|
+
ListIpBringYourOwnIpAggregateRequest,
|
|
3898
|
+
ListIpBringYourOwnIpAggregateResponse,
|
|
3899
|
+
ListIpBringYourOwnIpAggregateError,
|
|
3900
|
+
OvhOpContext
|
|
3901
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3902
|
+
input: ListIpBringYourOwnIpAggregateRequest,
|
|
3903
|
+
output: ListIpBringYourOwnIpAggregateResponse,
|
|
3904
|
+
errors: [UnknownOvhError],
|
|
3905
|
+
protocol: OvhProtocol,
|
|
3906
|
+
retry: Retry.Retry,
|
|
3907
|
+
}));
|
|
3908
|
+
|
|
3909
|
+
export type ListIpBringYourOwnIpSliceError = OvhOpError;
|
|
3910
|
+
/** Get available slicing configurations for this BYOIP Additional IP */
|
|
3911
|
+
export const listIpBringYourOwnIpSlice: API.OperationMethod<
|
|
3912
|
+
ListIpBringYourOwnIpSliceRequest,
|
|
3913
|
+
ListIpBringYourOwnIpSliceResponse,
|
|
3914
|
+
ListIpBringYourOwnIpSliceError,
|
|
3915
|
+
OvhOpContext
|
|
3916
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3917
|
+
input: ListIpBringYourOwnIpSliceRequest,
|
|
3918
|
+
output: ListIpBringYourOwnIpSliceResponse,
|
|
3919
|
+
errors: [UnknownOvhError],
|
|
3920
|
+
protocol: OvhProtocol,
|
|
3921
|
+
retry: Retry.Retry,
|
|
3922
|
+
}));
|
|
3923
|
+
|
|
3924
|
+
export type ListIpCampusError = OvhOpError;
|
|
3925
|
+
/** Get IP campuses */
|
|
3926
|
+
export const listIpCampus: API.OperationMethod<
|
|
3927
|
+
ListIpCampusRequest,
|
|
3928
|
+
ListIpCampusResponse,
|
|
3929
|
+
ListIpCampusError,
|
|
3930
|
+
OvhOpContext
|
|
3931
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3932
|
+
input: ListIpCampusRequest,
|
|
3933
|
+
output: ListIpCampusResponse,
|
|
3934
|
+
errors: [UnknownOvhError],
|
|
3935
|
+
protocol: OvhProtocol,
|
|
3936
|
+
retry: Retry.Retry,
|
|
3937
|
+
}));
|
|
3938
|
+
|
|
3939
|
+
export type ListIpDelegationError = OvhOpError;
|
|
3940
|
+
/** Reverse delegation on IPv6 subnet */
|
|
3941
|
+
export const listIpDelegation: API.OperationMethod<
|
|
3942
|
+
ListIpDelegationRequest,
|
|
3943
|
+
ListIpDelegationResponse,
|
|
3944
|
+
ListIpDelegationError,
|
|
3945
|
+
OvhOpContext
|
|
3946
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3947
|
+
input: ListIpDelegationRequest,
|
|
3948
|
+
output: ListIpDelegationResponse,
|
|
3949
|
+
errors: [UnknownOvhError],
|
|
3950
|
+
protocol: OvhProtocol,
|
|
3951
|
+
retry: Retry.Retry,
|
|
3952
|
+
}));
|
|
3953
|
+
|
|
3954
|
+
export type ListIpFirewallError = OvhOpError;
|
|
3955
|
+
/** Ip under firewall */
|
|
3956
|
+
export const listIpFirewall: API.OperationMethod<
|
|
3957
|
+
ListIpFirewallRequest,
|
|
3958
|
+
ListIpFirewallResponse,
|
|
3959
|
+
ListIpFirewallError,
|
|
3960
|
+
OvhOpContext
|
|
3961
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3962
|
+
input: ListIpFirewallRequest,
|
|
3963
|
+
output: ListIpFirewallResponse,
|
|
3964
|
+
errors: [UnknownOvhError],
|
|
3965
|
+
protocol: OvhProtocol,
|
|
3966
|
+
retry: Retry.Retry,
|
|
3967
|
+
}));
|
|
3968
|
+
|
|
3969
|
+
export type ListIpFirewallRuleError = OvhOpError;
|
|
3970
|
+
/** Rules for this IP */
|
|
3971
|
+
export const listIpFirewallRule: API.OperationMethod<
|
|
3972
|
+
ListIpFirewallRuleRequest,
|
|
3973
|
+
ListIpFirewallRuleResponse,
|
|
3974
|
+
ListIpFirewallRuleError,
|
|
3975
|
+
OvhOpContext
|
|
3976
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3977
|
+
input: ListIpFirewallRuleRequest,
|
|
3978
|
+
output: ListIpFirewallRuleResponse,
|
|
3979
|
+
errors: [UnknownOvhError],
|
|
3980
|
+
protocol: OvhProtocol,
|
|
3981
|
+
retry: Retry.Retry,
|
|
3982
|
+
}));
|
|
3983
|
+
|
|
3984
|
+
export type ListIpGameError = OvhOpError;
|
|
3985
|
+
/** Ip under game anti-ddos */
|
|
3986
|
+
export const listIpGame: API.OperationMethod<
|
|
3987
|
+
ListIpGameRequest,
|
|
3988
|
+
ListIpGameResponse,
|
|
3989
|
+
ListIpGameError,
|
|
3990
|
+
OvhOpContext
|
|
3991
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3992
|
+
input: ListIpGameRequest,
|
|
3993
|
+
output: ListIpGameResponse,
|
|
3994
|
+
errors: [UnknownOvhError],
|
|
3995
|
+
protocol: OvhProtocol,
|
|
3996
|
+
retry: Retry.Retry,
|
|
3997
|
+
}));
|
|
3998
|
+
|
|
3999
|
+
export type ListIpGameRuleError = OvhOpError;
|
|
4000
|
+
/** IDs of rules configured for this IP */
|
|
4001
|
+
export const listIpGameRule: API.OperationMethod<
|
|
4002
|
+
ListIpGameRuleRequest,
|
|
4003
|
+
ListIpGameRuleResponse,
|
|
4004
|
+
ListIpGameRuleError,
|
|
4005
|
+
OvhOpContext
|
|
4006
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4007
|
+
input: ListIpGameRuleRequest,
|
|
4008
|
+
output: ListIpGameRuleResponse,
|
|
4009
|
+
errors: [UnknownOvhError],
|
|
4010
|
+
protocol: OvhProtocol,
|
|
4011
|
+
retry: Retry.Retry,
|
|
4012
|
+
}));
|
|
4013
|
+
|
|
4014
|
+
export type ListIpLicenseCloudLinuxError = OvhOpError;
|
|
4015
|
+
/** Cloud Linux licenses associated to this IP */
|
|
4016
|
+
export const listIpLicenseCloudLinux: API.OperationMethod<
|
|
4017
|
+
ListIpLicenseCloudLinuxRequest,
|
|
4018
|
+
ListIpLicenseCloudLinuxResponse,
|
|
4019
|
+
ListIpLicenseCloudLinuxError,
|
|
4020
|
+
OvhOpContext
|
|
4021
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4022
|
+
input: ListIpLicenseCloudLinuxRequest,
|
|
4023
|
+
output: ListIpLicenseCloudLinuxResponse,
|
|
4024
|
+
errors: [UnknownOvhError],
|
|
4025
|
+
protocol: OvhProtocol,
|
|
4026
|
+
retry: Retry.Retry,
|
|
4027
|
+
}));
|
|
4028
|
+
|
|
4029
|
+
export type ListIpLicenseCpanelError = OvhOpError;
|
|
4030
|
+
/** Cpanel licenses associated to this IP */
|
|
4031
|
+
export const listIpLicenseCpanel: API.OperationMethod<
|
|
4032
|
+
ListIpLicenseCpanelRequest,
|
|
4033
|
+
ListIpLicenseCpanelResponse,
|
|
4034
|
+
ListIpLicenseCpanelError,
|
|
4035
|
+
OvhOpContext
|
|
4036
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4037
|
+
input: ListIpLicenseCpanelRequest,
|
|
4038
|
+
output: ListIpLicenseCpanelResponse,
|
|
4039
|
+
errors: [UnknownOvhError],
|
|
4040
|
+
protocol: OvhProtocol,
|
|
4041
|
+
retry: Retry.Retry,
|
|
4042
|
+
}));
|
|
4043
|
+
|
|
4044
|
+
export type ListIpLicenseDirectadminError = OvhOpError;
|
|
4045
|
+
/** DirectAdmin licenses associated to this IP */
|
|
4046
|
+
export const listIpLicenseDirectadmin: API.OperationMethod<
|
|
4047
|
+
ListIpLicenseDirectadminRequest,
|
|
4048
|
+
ListIpLicenseDirectadminResponse,
|
|
4049
|
+
ListIpLicenseDirectadminError,
|
|
4050
|
+
OvhOpContext
|
|
4051
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4052
|
+
input: ListIpLicenseDirectadminRequest,
|
|
4053
|
+
output: ListIpLicenseDirectadminResponse,
|
|
4054
|
+
errors: [UnknownOvhError],
|
|
4055
|
+
protocol: OvhProtocol,
|
|
4056
|
+
retry: Retry.Retry,
|
|
4057
|
+
}));
|
|
4058
|
+
|
|
4059
|
+
export type ListIpLicensePleskError = OvhOpError;
|
|
4060
|
+
/** Plesk licenses associated to this IP */
|
|
4061
|
+
export const listIpLicensePlesk: API.OperationMethod<
|
|
4062
|
+
ListIpLicensePleskRequest,
|
|
4063
|
+
ListIpLicensePleskResponse,
|
|
4064
|
+
ListIpLicensePleskError,
|
|
4065
|
+
OvhOpContext
|
|
4066
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4067
|
+
input: ListIpLicensePleskRequest,
|
|
4068
|
+
output: ListIpLicensePleskResponse,
|
|
4069
|
+
errors: [UnknownOvhError],
|
|
4070
|
+
protocol: OvhProtocol,
|
|
4071
|
+
retry: Retry.Retry,
|
|
4072
|
+
}));
|
|
4073
|
+
|
|
4074
|
+
export type ListIpLicenseSqlserverError = OvhOpError;
|
|
4075
|
+
/** SQL Server licenses associated to this IP */
|
|
4076
|
+
export const listIpLicenseSqlserver: API.OperationMethod<
|
|
4077
|
+
ListIpLicenseSqlserverRequest,
|
|
4078
|
+
ListIpLicenseSqlserverResponse,
|
|
4079
|
+
ListIpLicenseSqlserverError,
|
|
4080
|
+
OvhOpContext
|
|
4081
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4082
|
+
input: ListIpLicenseSqlserverRequest,
|
|
4083
|
+
output: ListIpLicenseSqlserverResponse,
|
|
4084
|
+
errors: [UnknownOvhError],
|
|
4085
|
+
protocol: OvhProtocol,
|
|
4086
|
+
retry: Retry.Retry,
|
|
4087
|
+
}));
|
|
4088
|
+
|
|
4089
|
+
export type ListIpLicenseVirtuozzoError = OvhOpError;
|
|
4090
|
+
/** Virtuozzo licenses associated to this IP */
|
|
4091
|
+
export const listIpLicenseVirtuozzo: API.OperationMethod<
|
|
4092
|
+
ListIpLicenseVirtuozzoRequest,
|
|
4093
|
+
ListIpLicenseVirtuozzoResponse,
|
|
4094
|
+
ListIpLicenseVirtuozzoError,
|
|
4095
|
+
OvhOpContext
|
|
4096
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4097
|
+
input: ListIpLicenseVirtuozzoRequest,
|
|
4098
|
+
output: ListIpLicenseVirtuozzoResponse,
|
|
4099
|
+
errors: [UnknownOvhError],
|
|
4100
|
+
protocol: OvhProtocol,
|
|
4101
|
+
retry: Retry.Retry,
|
|
4102
|
+
}));
|
|
4103
|
+
|
|
4104
|
+
export type ListIpLicenseWindowsError = OvhOpError;
|
|
4105
|
+
/** Windows licenses associated to this IP */
|
|
4106
|
+
export const listIpLicenseWindows: API.OperationMethod<
|
|
4107
|
+
ListIpLicenseWindowsRequest,
|
|
4108
|
+
ListIpLicenseWindowsResponse,
|
|
4109
|
+
ListIpLicenseWindowsError,
|
|
4110
|
+
OvhOpContext
|
|
4111
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4112
|
+
input: ListIpLicenseWindowsRequest,
|
|
4113
|
+
output: ListIpLicenseWindowsResponse,
|
|
4114
|
+
errors: [UnknownOvhError],
|
|
4115
|
+
protocol: OvhProtocol,
|
|
4116
|
+
retry: Retry.Retry,
|
|
4117
|
+
}));
|
|
4118
|
+
|
|
4119
|
+
export type ListIpLicenseWorklightError = OvhOpError;
|
|
4120
|
+
/** WorkLight licenses associated to this IP */
|
|
4121
|
+
export const listIpLicenseWorklight: API.OperationMethod<
|
|
4122
|
+
ListIpLicenseWorklightRequest,
|
|
4123
|
+
ListIpLicenseWorklightResponse,
|
|
4124
|
+
ListIpLicenseWorklightError,
|
|
4125
|
+
OvhOpContext
|
|
4126
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4127
|
+
input: ListIpLicenseWorklightRequest,
|
|
4128
|
+
output: ListIpLicenseWorklightResponse,
|
|
4129
|
+
errors: [UnknownOvhError],
|
|
4130
|
+
protocol: OvhProtocol,
|
|
4131
|
+
retry: Retry.Retry,
|
|
4132
|
+
}));
|
|
4133
|
+
|
|
4134
|
+
export type ListIpMitigationError = OvhOpError;
|
|
4135
|
+
/** Ip under mitigation */
|
|
4136
|
+
export const listIpMitigation: API.OperationMethod<
|
|
4137
|
+
ListIpMitigationRequest,
|
|
4138
|
+
ListIpMitigationResponse,
|
|
4139
|
+
ListIpMitigationError,
|
|
4140
|
+
OvhOpContext
|
|
4141
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4142
|
+
input: ListIpMitigationRequest,
|
|
4143
|
+
output: ListIpMitigationResponse,
|
|
4144
|
+
errors: [UnknownOvhError],
|
|
4145
|
+
protocol: OvhProtocol,
|
|
4146
|
+
retry: Retry.Retry,
|
|
4147
|
+
}));
|
|
4148
|
+
|
|
4149
|
+
export type ListIpMitigationProfilesError = OvhOpError;
|
|
4150
|
+
/** Manage mitigation profile on your IPs */
|
|
4151
|
+
export const listIpMitigationProfiles: API.OperationMethod<
|
|
4152
|
+
ListIpMitigationProfilesRequest,
|
|
4153
|
+
ListIpMitigationProfilesResponse,
|
|
4154
|
+
ListIpMitigationProfilesError,
|
|
4155
|
+
OvhOpContext
|
|
4156
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4157
|
+
input: ListIpMitigationProfilesRequest,
|
|
4158
|
+
output: ListIpMitigationProfilesResponse,
|
|
4159
|
+
errors: [UnknownOvhError],
|
|
4160
|
+
protocol: OvhProtocol,
|
|
4161
|
+
retry: Retry.Retry,
|
|
4162
|
+
}));
|
|
4163
|
+
|
|
4164
|
+
export type ListIpMoveError = OvhOpError;
|
|
4165
|
+
/** List services available as a destination */
|
|
4166
|
+
export const listIpMove: API.OperationMethod<
|
|
4167
|
+
ListIpMoveRequest,
|
|
4168
|
+
IpDestinations,
|
|
4169
|
+
ListIpMoveError,
|
|
4170
|
+
OvhOpContext
|
|
4171
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4172
|
+
input: ListIpMoveRequest,
|
|
4173
|
+
output: IpDestinations,
|
|
4174
|
+
errors: [UnknownOvhError],
|
|
4175
|
+
protocol: OvhProtocol,
|
|
4176
|
+
retry: Retry.Retry,
|
|
4177
|
+
}));
|
|
4178
|
+
|
|
4179
|
+
export type ListIpPhishingError = OvhOpError;
|
|
4180
|
+
/** Ip under anti-phishing */
|
|
4181
|
+
export const listIpPhishing: API.OperationMethod<
|
|
4182
|
+
ListIpPhishingRequest,
|
|
4183
|
+
ListIpPhishingResponse,
|
|
4184
|
+
ListIpPhishingError,
|
|
4185
|
+
OvhOpContext
|
|
4186
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4187
|
+
input: ListIpPhishingRequest,
|
|
4188
|
+
output: ListIpPhishingResponse,
|
|
4189
|
+
errors: [UnknownOvhError],
|
|
4190
|
+
protocol: OvhProtocol,
|
|
4191
|
+
retry: Retry.Retry,
|
|
4192
|
+
}));
|
|
4193
|
+
|
|
4194
|
+
export type ListIpReverseError = OvhOpError;
|
|
4195
|
+
/** Reverse on your ip */
|
|
4196
|
+
export const listIpReverse: API.OperationMethod<
|
|
4197
|
+
ListIpReverseRequest,
|
|
4198
|
+
ListIpReverseResponse,
|
|
4199
|
+
ListIpReverseError,
|
|
4200
|
+
OvhOpContext
|
|
4201
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4202
|
+
input: ListIpReverseRequest,
|
|
4203
|
+
output: ListIpReverseResponse,
|
|
4204
|
+
errors: [UnknownOvhError],
|
|
4205
|
+
protocol: OvhProtocol,
|
|
4206
|
+
retry: Retry.Retry,
|
|
4207
|
+
}));
|
|
4208
|
+
|
|
4209
|
+
export type ListIpServiceError = OvhOpError;
|
|
4210
|
+
/** Your ip services */
|
|
4211
|
+
export const listIpService: API.OperationMethod<
|
|
4212
|
+
ListIpServiceRequest,
|
|
4213
|
+
ListIpServiceResponse,
|
|
4214
|
+
ListIpServiceError,
|
|
4215
|
+
OvhOpContext
|
|
4216
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4217
|
+
input: ListIpServiceRequest,
|
|
4218
|
+
output: ListIpServiceResponse,
|
|
4219
|
+
errors: [UnknownOvhError],
|
|
4220
|
+
protocol: OvhProtocol,
|
|
4221
|
+
retry: Retry.Retry,
|
|
4222
|
+
}));
|
|
4223
|
+
|
|
4224
|
+
export type ListIpSpamError = OvhOpError;
|
|
4225
|
+
/** Ip spamming */
|
|
4226
|
+
export const listIpSpam: API.OperationMethod<
|
|
4227
|
+
ListIpSpamRequest,
|
|
4228
|
+
ListIpSpamResponse,
|
|
4229
|
+
ListIpSpamError,
|
|
4230
|
+
OvhOpContext
|
|
4231
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4232
|
+
input: ListIpSpamRequest,
|
|
4233
|
+
output: ListIpSpamResponse,
|
|
4234
|
+
errors: [UnknownOvhError],
|
|
4235
|
+
protocol: OvhProtocol,
|
|
4236
|
+
retry: Retry.Retry,
|
|
4237
|
+
}));
|
|
4238
|
+
|
|
4239
|
+
export type ListIpSpamStatsError = OvhOpError;
|
|
4240
|
+
/** Get statistics about the email traffic */
|
|
4241
|
+
export const listIpSpamStats: API.OperationMethod<
|
|
4242
|
+
ListIpSpamStatsRequest,
|
|
4243
|
+
ListIpSpamStatsResponse,
|
|
4244
|
+
ListIpSpamStatsError,
|
|
4245
|
+
OvhOpContext
|
|
4246
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4247
|
+
input: ListIpSpamStatsRequest,
|
|
4248
|
+
output: ListIpSpamStatsResponse,
|
|
4249
|
+
errors: [UnknownOvhError],
|
|
4250
|
+
protocol: OvhProtocol,
|
|
4251
|
+
retry: Retry.Retry,
|
|
4252
|
+
}));
|
|
4253
|
+
|
|
4254
|
+
export type ListIpTaskError = OvhOpError;
|
|
4255
|
+
/** IP tasks */
|
|
4256
|
+
export const listIpTask: API.OperationMethod<
|
|
4257
|
+
ListIpTaskRequest,
|
|
4258
|
+
ListIpTaskResponse,
|
|
4259
|
+
ListIpTaskError,
|
|
4260
|
+
OvhOpContext
|
|
4261
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4262
|
+
input: ListIpTaskRequest,
|
|
4263
|
+
output: ListIpTaskResponse,
|
|
4264
|
+
errors: [UnknownOvhError],
|
|
4265
|
+
protocol: OvhProtocol,
|
|
4266
|
+
retry: Retry.Retry,
|
|
4267
|
+
}));
|
|
4268
|
+
|
|
4269
|
+
export type MoveIpError = OvhOpError;
|
|
4270
|
+
/** Move this IP to another service */
|
|
4271
|
+
export const moveIp: API.OperationMethod<
|
|
4272
|
+
MoveIpRequest,
|
|
4273
|
+
IpIpTask,
|
|
4274
|
+
MoveIpError,
|
|
4275
|
+
OvhOpContext
|
|
4276
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4277
|
+
input: MoveIpRequest,
|
|
4278
|
+
output: IpIpTask,
|
|
4279
|
+
errors: [UnknownOvhError],
|
|
4280
|
+
protocol: OvhProtocol,
|
|
4281
|
+
retry: Retry.Retry,
|
|
4282
|
+
}));
|
|
4283
|
+
|
|
4284
|
+
export type PutIpError = OvhOpError;
|
|
4285
|
+
/** Alter this object properties */
|
|
4286
|
+
export const putIp: API.OperationMethod<
|
|
4287
|
+
PutIpRequest,
|
|
4288
|
+
PutIpResponse,
|
|
4289
|
+
PutIpError,
|
|
4290
|
+
OvhOpContext
|
|
4291
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4292
|
+
input: PutIpRequest,
|
|
4293
|
+
output: PutIpResponse,
|
|
4294
|
+
errors: [UnknownOvhError],
|
|
4295
|
+
protocol: OvhProtocol,
|
|
4296
|
+
retry: Retry.Retry,
|
|
4297
|
+
}));
|
|
4298
|
+
|
|
4299
|
+
export type PutIpFirewallError = OvhOpError;
|
|
4300
|
+
/** Alter this object properties */
|
|
4301
|
+
export const putIpFirewall: API.OperationMethod<
|
|
4302
|
+
PutIpFirewallRequest,
|
|
4303
|
+
PutIpFirewallResponse,
|
|
4304
|
+
PutIpFirewallError,
|
|
4305
|
+
OvhOpContext
|
|
4306
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4307
|
+
input: PutIpFirewallRequest,
|
|
4308
|
+
output: PutIpFirewallResponse,
|
|
4309
|
+
errors: [UnknownOvhError],
|
|
4310
|
+
protocol: OvhProtocol,
|
|
4311
|
+
retry: Retry.Retry,
|
|
4312
|
+
}));
|
|
4313
|
+
|
|
4314
|
+
export type PutIpGameError = OvhOpError;
|
|
4315
|
+
/** Alter this object properties */
|
|
4316
|
+
export const putIpGame: API.OperationMethod<
|
|
4317
|
+
PutIpGameRequest,
|
|
4318
|
+
PutIpGameResponse,
|
|
4319
|
+
PutIpGameError,
|
|
4320
|
+
OvhOpContext
|
|
4321
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4322
|
+
input: PutIpGameRequest,
|
|
4323
|
+
output: PutIpGameResponse,
|
|
4324
|
+
errors: [UnknownOvhError],
|
|
4325
|
+
protocol: OvhProtocol,
|
|
4326
|
+
retry: Retry.Retry,
|
|
4327
|
+
}));
|
|
4328
|
+
|
|
4329
|
+
export type PutIpMitigationError = OvhOpError;
|
|
4330
|
+
/** Alter this object properties */
|
|
4331
|
+
export const putIpMitigation: API.OperationMethod<
|
|
4332
|
+
PutIpMitigationRequest,
|
|
4333
|
+
PutIpMitigationResponse,
|
|
4334
|
+
PutIpMitigationError,
|
|
4335
|
+
OvhOpContext
|
|
4336
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4337
|
+
input: PutIpMitigationRequest,
|
|
4338
|
+
output: PutIpMitigationResponse,
|
|
4339
|
+
errors: [UnknownOvhError],
|
|
4340
|
+
protocol: OvhProtocol,
|
|
4341
|
+
retry: Retry.Retry,
|
|
4342
|
+
}));
|
|
4343
|
+
|
|
4344
|
+
export type PutIpMitigationProfileError = OvhOpError;
|
|
4345
|
+
/** Alter this object properties */
|
|
4346
|
+
export const putIpMitigationProfile: API.OperationMethod<
|
|
4347
|
+
PutIpMitigationProfileRequest,
|
|
4348
|
+
PutIpMitigationProfileResponse,
|
|
4349
|
+
PutIpMitigationProfileError,
|
|
4350
|
+
OvhOpContext
|
|
4351
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4352
|
+
input: PutIpMitigationProfileRequest,
|
|
4353
|
+
output: PutIpMitigationProfileResponse,
|
|
4354
|
+
errors: [UnknownOvhError],
|
|
4355
|
+
protocol: OvhProtocol,
|
|
4356
|
+
retry: Retry.Retry,
|
|
4357
|
+
}));
|
|
4358
|
+
|
|
4359
|
+
export type PutIpRipeError = OvhOpError;
|
|
4360
|
+
/** Alter this object properties */
|
|
4361
|
+
export const putIpRipe: API.OperationMethod<
|
|
4362
|
+
PutIpRipeRequest,
|
|
4363
|
+
PutIpRipeResponse,
|
|
4364
|
+
PutIpRipeError,
|
|
4365
|
+
OvhOpContext
|
|
4366
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4367
|
+
input: PutIpRipeRequest,
|
|
4368
|
+
output: PutIpRipeResponse,
|
|
4369
|
+
errors: [UnknownOvhError],
|
|
4370
|
+
protocol: OvhProtocol,
|
|
4371
|
+
retry: Retry.Retry,
|
|
4372
|
+
}));
|
|
4373
|
+
|
|
4374
|
+
export type PutIpServiceError = OvhOpError;
|
|
4375
|
+
/** Alter this object properties */
|
|
4376
|
+
export const putIpService: API.OperationMethod<
|
|
4377
|
+
PutIpServiceRequest,
|
|
4378
|
+
PutIpServiceResponse,
|
|
4379
|
+
PutIpServiceError,
|
|
4380
|
+
OvhOpContext
|
|
4381
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4382
|
+
input: PutIpServiceRequest,
|
|
4383
|
+
output: PutIpServiceResponse,
|
|
4384
|
+
errors: [UnknownOvhError],
|
|
4385
|
+
protocol: OvhProtocol,
|
|
4386
|
+
retry: Retry.Retry,
|
|
4387
|
+
}));
|
|
4388
|
+
|
|
4389
|
+
export type PutIpServiceServiceInfosError = OvhOpError;
|
|
4390
|
+
/** Update service information */
|
|
4391
|
+
export const putIpServiceServiceInfos: API.OperationMethod<
|
|
4392
|
+
PutIpServiceServiceInfosRequest,
|
|
4393
|
+
PutIpServiceServiceInfosResponse,
|
|
4394
|
+
PutIpServiceServiceInfosError,
|
|
4395
|
+
OvhOpContext
|
|
4396
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4397
|
+
input: PutIpServiceServiceInfosRequest,
|
|
4398
|
+
output: PutIpServiceServiceInfosResponse,
|
|
4399
|
+
errors: [UnknownOvhError],
|
|
4400
|
+
protocol: OvhProtocol,
|
|
4401
|
+
retry: Retry.Retry,
|
|
4402
|
+
}));
|
|
4403
|
+
|
|
4404
|
+
export type TerminateIpServiceError = OvhOpError;
|
|
4405
|
+
/** Ask for the termination of your service Ask for the termination of your service. Admin contact of this service will receive a termination token by email in order to confirm its termination with /confirmTermination endpoint. */
|
|
4406
|
+
export const terminateIpService: API.OperationMethod<
|
|
4407
|
+
TerminateIpServiceRequest,
|
|
4408
|
+
TerminateIpServiceResponse,
|
|
4409
|
+
TerminateIpServiceError,
|
|
4410
|
+
OvhOpContext
|
|
4411
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4412
|
+
input: TerminateIpServiceRequest,
|
|
4413
|
+
output: TerminateIpServiceResponse,
|
|
4414
|
+
errors: [UnknownOvhError],
|
|
4415
|
+
protocol: OvhProtocol,
|
|
4416
|
+
retry: Retry.Retry,
|
|
4417
|
+
}));
|
|
4418
|
+
|
|
4419
|
+
export type UnblockIpAntihackError = OvhOpError;
|
|
4420
|
+
/** Unblock this IP */
|
|
4421
|
+
export const unblockIpAntihack: API.OperationMethod<
|
|
4422
|
+
UnblockIpAntihackRequest,
|
|
4423
|
+
UnblockIpAntihackResponse,
|
|
4424
|
+
UnblockIpAntihackError,
|
|
4425
|
+
OvhOpContext
|
|
4426
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4427
|
+
input: UnblockIpAntihackRequest,
|
|
4428
|
+
output: UnblockIpAntihackResponse,
|
|
4429
|
+
errors: [UnknownOvhError],
|
|
4430
|
+
protocol: OvhProtocol,
|
|
4431
|
+
retry: Retry.Retry,
|
|
4432
|
+
}));
|
|
4433
|
+
|
|
4434
|
+
export type UnblockIpArpError = OvhOpError;
|
|
4435
|
+
/** Unblock this IP */
|
|
4436
|
+
export const unblockIpArp: API.OperationMethod<
|
|
4437
|
+
UnblockIpArpRequest,
|
|
4438
|
+
UnblockIpArpResponse,
|
|
4439
|
+
UnblockIpArpError,
|
|
4440
|
+
OvhOpContext
|
|
4441
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4442
|
+
input: UnblockIpArpRequest,
|
|
4443
|
+
output: UnblockIpArpResponse,
|
|
4444
|
+
errors: [UnknownOvhError],
|
|
4445
|
+
protocol: OvhProtocol,
|
|
4446
|
+
retry: Retry.Retry,
|
|
4447
|
+
}));
|
|
4448
|
+
|
|
4449
|
+
export type UnblockIpSpamError = OvhOpError;
|
|
4450
|
+
/** Release the ip from anti-spam system */
|
|
4451
|
+
export const unblockIpSpam: API.OperationMethod<
|
|
4452
|
+
UnblockIpSpamRequest,
|
|
4453
|
+
IpSpamIp,
|
|
4454
|
+
UnblockIpSpamError,
|
|
4455
|
+
OvhOpContext
|
|
4456
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4457
|
+
input: UnblockIpSpamRequest,
|
|
4458
|
+
output: IpSpamIp,
|
|
4459
|
+
errors: [UnknownOvhError],
|
|
4460
|
+
protocol: OvhProtocol,
|
|
4461
|
+
retry: Retry.Retry,
|
|
4462
|
+
}));
|