@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.10
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 +4187 -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 +31061 -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 +5733 -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 +960 -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 +965 -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 +3078 -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 +1829 -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 +1690 -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 +3553 -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 +3067 -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 +8874 -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 +1351 -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 +1787 -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 +1020 -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 +14877 -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 +841 -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 +841 -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 +4522 -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 +3681 -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 +10949 -0
- package/src/services/cloud.ts +75466 -0
- package/src/services/cloud_v2.ts +14725 -0
- package/src/services/dedicatedceph.ts +2231 -0
- package/src/services/dedicatednasha.ts +2268 -0
- package/src/services/domain.ts +7996 -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 +4214 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4461 -0
- package/src/services/iploadbalancing.ts +8421 -0
- package/src/services/ldp.ts +7269 -0
- package/src/services/me.ts +21716 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3224 -0
- package/src/services/packxdsl.ts +4619 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2431 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32926 -0
- package/src/services/vmwareclouddirectorbackup.ts +2170 -0
- package/src/services/vmwareclouddirectororganization.ts +2170 -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 +11285 -0
- package/src/services/xdsl.ts +9277 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1690 @@
|
|
|
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.js";
|
|
5
|
+
import { OvhProtocol, } from "../protocol.js";
|
|
6
|
+
import { UnknownOvhError } from "../errors.js";
|
|
7
|
+
import * as Retry from "../retry.js";
|
|
8
|
+
export const ServiceTerminationFutureUseEnum = S.String;
|
|
9
|
+
export const ServiceTerminationReasonEnum = S.String;
|
|
10
|
+
export const ConfirmIpServiceTerminationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
11
|
+
serviceName: S.String.pipe(T.Label()),
|
|
12
|
+
commentary: S.optional(S.String),
|
|
13
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
14
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
15
|
+
token: S.String,
|
|
16
|
+
}).pipe(T.Http({
|
|
17
|
+
method: "POST",
|
|
18
|
+
uri: "/ip/service/{serviceName}/confirmTermination",
|
|
19
|
+
code: 200,
|
|
20
|
+
}))).annotate({
|
|
21
|
+
identifier: "ConfirmIpServiceTerminationRequest",
|
|
22
|
+
});
|
|
23
|
+
export const ConfirmIpServiceTerminationResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
24
|
+
identifier: "ConfirmIpServiceTerminationResponse",
|
|
25
|
+
});
|
|
26
|
+
export const CreateIpBringYourOwnIpAggregateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
ip: S.String.pipe(T.Label()),
|
|
28
|
+
aggregationIp: S.String,
|
|
29
|
+
}).pipe(T.Http({
|
|
30
|
+
method: "POST",
|
|
31
|
+
uri: "/ip/{ip}/bringYourOwnIp/aggregate",
|
|
32
|
+
code: 200,
|
|
33
|
+
}))).annotate({
|
|
34
|
+
identifier: "CreateIpBringYourOwnIpAggregateRequest",
|
|
35
|
+
});
|
|
36
|
+
export const IpRoutedTo = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
37
|
+
serviceName: S.optional(S.NullOr(S.String)),
|
|
38
|
+
})).annotate({ identifier: "IpRoutedTo" });
|
|
39
|
+
export const IpTaskFunctionEnum = S.String;
|
|
40
|
+
export const IpTaskStatusEnum = S.String;
|
|
41
|
+
export const IpIpTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
43
|
+
destination: S.optional(S.NullOr(IpRoutedTo)),
|
|
44
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
45
|
+
function: S.optional(IpTaskFunctionEnum),
|
|
46
|
+
lastUpdate: S.optional(S.NullOr(S.String)),
|
|
47
|
+
startDate: S.optional(S.String),
|
|
48
|
+
status: S.optional(IpTaskStatusEnum),
|
|
49
|
+
taskId: S.optional(S.Number),
|
|
50
|
+
})).annotate({ identifier: "IpIpTask" });
|
|
51
|
+
export const CreateIpBringYourOwnIpSliceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
52
|
+
ip: S.String.pipe(T.Label()),
|
|
53
|
+
slicingSize: S.Number,
|
|
54
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/bringYourOwnIp/slice", code: 200 }))).annotate({
|
|
55
|
+
identifier: "CreateIpBringYourOwnIpSliceRequest",
|
|
56
|
+
});
|
|
57
|
+
export const CreateIpChangeOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
58
|
+
ip: S.String.pipe(T.Label()),
|
|
59
|
+
organisation: S.String,
|
|
60
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/changeOrg", code: 200 }))).annotate({
|
|
61
|
+
identifier: "CreateIpChangeOrgRequest",
|
|
62
|
+
});
|
|
63
|
+
export const CreateIpDelegationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
64
|
+
ip: S.String.pipe(T.Label()),
|
|
65
|
+
target: S.String,
|
|
66
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/delegation", code: 200 }))).annotate({
|
|
67
|
+
identifier: "CreateIpDelegationRequest",
|
|
68
|
+
});
|
|
69
|
+
export const IpReverseDelegation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
70
|
+
target: S.optional(S.String),
|
|
71
|
+
})).annotate({
|
|
72
|
+
identifier: "IpReverseDelegation",
|
|
73
|
+
});
|
|
74
|
+
export const CreateIpFirewallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
75
|
+
ip: S.String.pipe(T.Label()),
|
|
76
|
+
ipOnFirewall: S.String,
|
|
77
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/firewall", code: 200 }))).annotate({
|
|
78
|
+
identifier: "CreateIpFirewallRequest",
|
|
79
|
+
});
|
|
80
|
+
export const IpFirewallStateEnum = S.String;
|
|
81
|
+
export const IpFirewallIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
82
|
+
enabled: S.optional(S.Boolean),
|
|
83
|
+
ipOnFirewall: S.optional(S.String),
|
|
84
|
+
state: S.optional(IpFirewallStateEnum),
|
|
85
|
+
})).annotate({ identifier: "IpFirewallIp" });
|
|
86
|
+
export const IpFirewallActionEnum = S.String;
|
|
87
|
+
export const IpFirewallProtocolEnum = S.String;
|
|
88
|
+
export const IpFirewallSequenceRangeEnum = S.Number;
|
|
89
|
+
export const IpFirewallTCPOptionEnum = S.String;
|
|
90
|
+
export const IpFirewallOptionTCP = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
91
|
+
fragments: S.optional(S.NullOr(S.Boolean)),
|
|
92
|
+
option: S.optional(S.NullOr(IpFirewallTCPOptionEnum)),
|
|
93
|
+
})).annotate({
|
|
94
|
+
identifier: "IpFirewallOptionTCP",
|
|
95
|
+
});
|
|
96
|
+
export const CreateIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
97
|
+
ip: S.String.pipe(T.Label()),
|
|
98
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
99
|
+
action: IpFirewallActionEnum,
|
|
100
|
+
destinationPort: S.optional(S.Number),
|
|
101
|
+
protocol: IpFirewallProtocolEnum,
|
|
102
|
+
sequence: IpFirewallSequenceRangeEnum,
|
|
103
|
+
source: S.optional(S.String),
|
|
104
|
+
sourcePort: S.optional(S.Number),
|
|
105
|
+
tcpOption: S.optional(IpFirewallOptionTCP),
|
|
106
|
+
}).pipe(T.Http({
|
|
107
|
+
method: "POST",
|
|
108
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule",
|
|
109
|
+
code: 200,
|
|
110
|
+
}))).annotate({
|
|
111
|
+
identifier: "CreateIpFirewallRuleRequest",
|
|
112
|
+
});
|
|
113
|
+
export const IpFirewallRuleStateEnum = S.String;
|
|
114
|
+
export const IpFirewallNetworkRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
115
|
+
action: S.optional(IpFirewallActionEnum),
|
|
116
|
+
creationDate: S.optional(S.String),
|
|
117
|
+
destination: S.optional(S.String),
|
|
118
|
+
destinationPort: S.optional(S.NullOr(S.String)),
|
|
119
|
+
fragments: S.optional(S.NullOr(S.Boolean)),
|
|
120
|
+
protocol: S.optional(IpFirewallProtocolEnum),
|
|
121
|
+
rule: S.optional(S.String),
|
|
122
|
+
sequence: S.optional(S.Number),
|
|
123
|
+
source: S.optional(S.String),
|
|
124
|
+
sourcePort: S.optional(S.NullOr(S.String)),
|
|
125
|
+
state: S.optional(IpFirewallRuleStateEnum),
|
|
126
|
+
tcpOption: S.optional(S.NullOr(S.String)),
|
|
127
|
+
})).annotate({
|
|
128
|
+
identifier: "IpFirewallNetworkRule",
|
|
129
|
+
});
|
|
130
|
+
export const ComplexTypeRangeLong = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
131
|
+
from: S.optional(S.Number),
|
|
132
|
+
to: S.optional(S.Number),
|
|
133
|
+
})).annotate({
|
|
134
|
+
identifier: "ComplexTypeRangeLong",
|
|
135
|
+
});
|
|
136
|
+
export const IpGameMitigationRuleProtocolEnum = S.String;
|
|
137
|
+
export const CreateIpGameRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
138
|
+
ip: S.String.pipe(T.Label()),
|
|
139
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
140
|
+
ports: ComplexTypeRangeLong,
|
|
141
|
+
protocol: IpGameMitigationRuleProtocolEnum,
|
|
142
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/game/{ipOnGame}/rule", code: 200 }))).annotate({
|
|
143
|
+
identifier: "CreateIpGameRuleRequest",
|
|
144
|
+
});
|
|
145
|
+
export const IpGameMitigationRuleStateEnum = S.String;
|
|
146
|
+
export const IpGameMitigationRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
147
|
+
id: S.optional(S.Number),
|
|
148
|
+
ports: S.optional(ComplexTypeRangeLong),
|
|
149
|
+
protocol: S.optional(IpGameMitigationRuleProtocolEnum),
|
|
150
|
+
state: S.optional(IpGameMitigationRuleStateEnum),
|
|
151
|
+
})).annotate({
|
|
152
|
+
identifier: "IpGameMitigationRule",
|
|
153
|
+
});
|
|
154
|
+
export const CreateIpMigrationTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
155
|
+
ip: S.String.pipe(T.Label()),
|
|
156
|
+
customerId: S.String,
|
|
157
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/migrationToken", code: 200 }))).annotate({
|
|
158
|
+
identifier: "CreateIpMigrationTokenRequest",
|
|
159
|
+
});
|
|
160
|
+
export const IpIpMigrationToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
161
|
+
customerId: S.optional(S.String),
|
|
162
|
+
token: S.optional(S.String),
|
|
163
|
+
})).annotate({
|
|
164
|
+
identifier: "IpIpMigrationToken",
|
|
165
|
+
});
|
|
166
|
+
export const CreateIpMitigationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
167
|
+
ip: S.String.pipe(T.Label()),
|
|
168
|
+
ipOnMitigation: S.String,
|
|
169
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/mitigation", code: 200 }))).annotate({
|
|
170
|
+
identifier: "CreateIpMitigationRequest",
|
|
171
|
+
});
|
|
172
|
+
export const IpMitigationStateEnum = S.String;
|
|
173
|
+
export const IpMitigationIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
174
|
+
auto: S.optional(S.Boolean),
|
|
175
|
+
ipOnMitigation: S.optional(S.String),
|
|
176
|
+
permanent: S.optional(S.Boolean),
|
|
177
|
+
state: S.optional(IpMitigationStateEnum),
|
|
178
|
+
})).annotate({ identifier: "IpMitigationIp" });
|
|
179
|
+
export const IpMitigationProfileAutoMitigationTimeOutEnum = S.Number;
|
|
180
|
+
export const CreateIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
181
|
+
ip: S.String.pipe(T.Label()),
|
|
182
|
+
autoMitigationTimeOut: IpMitigationProfileAutoMitigationTimeOutEnum,
|
|
183
|
+
ipMitigationProfile: S.String,
|
|
184
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/mitigationProfiles", code: 200 }))).annotate({
|
|
185
|
+
identifier: "CreateIpMitigationProfileRequest",
|
|
186
|
+
});
|
|
187
|
+
export const IpMitigationProfileStateEnum = S.String;
|
|
188
|
+
export const IpMitigationProfile = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
189
|
+
autoMitigationTimeOut: S.optional(IpMitigationProfileAutoMitigationTimeOutEnum),
|
|
190
|
+
ipMitigationProfile: S.optional(S.String),
|
|
191
|
+
state: S.optional(IpMitigationProfileStateEnum),
|
|
192
|
+
})).annotate({
|
|
193
|
+
identifier: "IpMitigationProfile",
|
|
194
|
+
});
|
|
195
|
+
export const CreateIpParkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
|
+
ip: S.String.pipe(T.Label()),
|
|
197
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/park", code: 200 }))).annotate({
|
|
198
|
+
identifier: "CreateIpParkRequest",
|
|
199
|
+
});
|
|
200
|
+
export const CreateIpReverseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
201
|
+
ip: S.String.pipe(T.Label()),
|
|
202
|
+
ipReverse: S.String,
|
|
203
|
+
reverse: S.String,
|
|
204
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/reverse", code: 200 }))).annotate({
|
|
205
|
+
identifier: "CreateIpReverseRequest",
|
|
206
|
+
});
|
|
207
|
+
export const IpReverseIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
208
|
+
ipReverse: S.optional(S.String),
|
|
209
|
+
reverse: S.optional(S.String),
|
|
210
|
+
})).annotate({ identifier: "IpReverseIp" });
|
|
211
|
+
export const CreateIpServiceChangeContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
212
|
+
serviceName: S.String.pipe(T.Label()),
|
|
213
|
+
contactAdmin: S.optional(S.String),
|
|
214
|
+
contactBilling: S.optional(S.String),
|
|
215
|
+
contactTech: S.optional(S.String),
|
|
216
|
+
}).pipe(T.Http({
|
|
217
|
+
method: "POST",
|
|
218
|
+
uri: "/ip/service/{serviceName}/changeContact",
|
|
219
|
+
code: 200,
|
|
220
|
+
}))).annotate({
|
|
221
|
+
identifier: "CreateIpServiceChangeContactRequest",
|
|
222
|
+
});
|
|
223
|
+
export const CreateIpServiceChangeContactResponseBodyList =
|
|
224
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
225
|
+
export const CreateIpServiceChangeContactResponse = /*@__PURE__*/ S.suspend(() => CreateIpServiceChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
226
|
+
identifier: "CreateIpServiceChangeContactResponse",
|
|
227
|
+
});
|
|
228
|
+
export const DeleteIpDelegationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
229
|
+
ip: S.String.pipe(T.Label()),
|
|
230
|
+
target: S.String.pipe(T.Label()),
|
|
231
|
+
}).pipe(T.Http({
|
|
232
|
+
method: "DELETE",
|
|
233
|
+
uri: "/ip/{ip}/delegation/{target}",
|
|
234
|
+
code: 200,
|
|
235
|
+
}))).annotate({
|
|
236
|
+
identifier: "DeleteIpDelegationRequest",
|
|
237
|
+
});
|
|
238
|
+
export const DeleteIpDelegationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
239
|
+
identifier: "DeleteIpDelegationResponse",
|
|
240
|
+
});
|
|
241
|
+
export const DeleteIpFirewallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
242
|
+
ip: S.String.pipe(T.Label()),
|
|
243
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
244
|
+
}).pipe(T.Http({
|
|
245
|
+
method: "DELETE",
|
|
246
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
247
|
+
code: 200,
|
|
248
|
+
}))).annotate({
|
|
249
|
+
identifier: "DeleteIpFirewallRequest",
|
|
250
|
+
});
|
|
251
|
+
export const DeleteIpFirewallResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
252
|
+
identifier: "DeleteIpFirewallResponse",
|
|
253
|
+
});
|
|
254
|
+
export const DeleteIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
255
|
+
ip: S.String.pipe(T.Label()),
|
|
256
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
257
|
+
sequence: S.Number.pipe(T.Label()),
|
|
258
|
+
}).pipe(T.Http({
|
|
259
|
+
method: "DELETE",
|
|
260
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule/{sequence}",
|
|
261
|
+
code: 200,
|
|
262
|
+
}))).annotate({
|
|
263
|
+
identifier: "DeleteIpFirewallRuleRequest",
|
|
264
|
+
});
|
|
265
|
+
export const DeleteIpGameRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
266
|
+
ip: S.String.pipe(T.Label()),
|
|
267
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
268
|
+
id: S.Number.pipe(T.Label()),
|
|
269
|
+
}).pipe(T.Http({
|
|
270
|
+
method: "DELETE",
|
|
271
|
+
uri: "/ip/{ip}/game/{ipOnGame}/rule/{id}",
|
|
272
|
+
code: 200,
|
|
273
|
+
}))).annotate({
|
|
274
|
+
identifier: "DeleteIpGameRuleRequest",
|
|
275
|
+
});
|
|
276
|
+
export const DeleteIpMitigationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
277
|
+
ip: S.String.pipe(T.Label()),
|
|
278
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
279
|
+
}).pipe(T.Http({
|
|
280
|
+
method: "DELETE",
|
|
281
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
282
|
+
code: 200,
|
|
283
|
+
}))).annotate({
|
|
284
|
+
identifier: "DeleteIpMitigationRequest",
|
|
285
|
+
});
|
|
286
|
+
export const DeleteIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
287
|
+
ip: S.String.pipe(T.Label()),
|
|
288
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
289
|
+
}).pipe(T.Http({
|
|
290
|
+
method: "DELETE",
|
|
291
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
292
|
+
code: 200,
|
|
293
|
+
}))).annotate({
|
|
294
|
+
identifier: "DeleteIpMitigationProfileRequest",
|
|
295
|
+
});
|
|
296
|
+
export const DeleteIpMitigationProfileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
297
|
+
identifier: "DeleteIpMitigationProfileResponse",
|
|
298
|
+
});
|
|
299
|
+
export const DeleteIpReverseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
300
|
+
ip: S.String.pipe(T.Label()),
|
|
301
|
+
ipReverse: S.String.pipe(T.Label()),
|
|
302
|
+
}).pipe(T.Http({
|
|
303
|
+
method: "DELETE",
|
|
304
|
+
uri: "/ip/{ip}/reverse/{ipReverse}",
|
|
305
|
+
code: 200,
|
|
306
|
+
}))).annotate({
|
|
307
|
+
identifier: "DeleteIpReverseRequest",
|
|
308
|
+
});
|
|
309
|
+
export const DeleteIpReverseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
310
|
+
identifier: "DeleteIpReverseResponse",
|
|
311
|
+
});
|
|
312
|
+
export const GetIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
313
|
+
ip: S.String.pipe(T.Label()),
|
|
314
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}", code: 200 }))).annotate({ identifier: "GetIpRequest" });
|
|
315
|
+
export const CoreTypesCountryEnum = S.String;
|
|
316
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
317
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
318
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
319
|
+
id: S.optional(S.String),
|
|
320
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
321
|
+
urn: S.optional(S.String),
|
|
322
|
+
})).annotate({
|
|
323
|
+
identifier: "IamResourceMetadata",
|
|
324
|
+
});
|
|
325
|
+
export const CoreTypesRegionCodenameEnum = S.String;
|
|
326
|
+
export const IpIpWithIAMRegionsList = /*@__PURE__*/ S.Array(CoreTypesRegionCodenameEnum);
|
|
327
|
+
export const IpIpTypeEnum = S.String;
|
|
328
|
+
export const IpIpVersionEnum = S.Number;
|
|
329
|
+
export const IpIpWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
330
|
+
bringYourOwnIp: S.optional(S.Boolean),
|
|
331
|
+
campus: S.optional(S.NullOr(S.String)),
|
|
332
|
+
canBeTerminated: S.optional(S.Boolean),
|
|
333
|
+
country: S.optional(S.NullOr(CoreTypesCountryEnum)),
|
|
334
|
+
description: S.optional(S.NullOr(S.String)),
|
|
335
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
336
|
+
ip: S.optional(S.String),
|
|
337
|
+
isAdditionalIp: S.optional(S.Boolean),
|
|
338
|
+
organisationId: S.optional(S.NullOr(S.String)),
|
|
339
|
+
regions: S.optional(S.NullOr(IpIpWithIAMRegionsList)),
|
|
340
|
+
rir: S.optional(S.NullOr(S.String)),
|
|
341
|
+
routedTo: S.optional(S.NullOr(IpRoutedTo)),
|
|
342
|
+
type: S.optional(IpIpTypeEnum),
|
|
343
|
+
version: S.optional(IpIpVersionEnum),
|
|
344
|
+
})).annotate({ identifier: "IpIpWithIAM" });
|
|
345
|
+
export const GetIpAntihackRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
346
|
+
ip: S.String.pipe(T.Label()),
|
|
347
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
348
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/antihack/{ipBlocked}", code: 200 }))).annotate({
|
|
349
|
+
identifier: "GetIpAntihackRequest",
|
|
350
|
+
});
|
|
351
|
+
export const IpBlockedIpStateEnum = S.String;
|
|
352
|
+
export const IpBlockedIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
353
|
+
blockedSince: S.optional(S.String),
|
|
354
|
+
ipBlocked: S.optional(S.String),
|
|
355
|
+
logs: S.optional(S.NullOr(S.String)),
|
|
356
|
+
state: S.optional(IpBlockedIpStateEnum),
|
|
357
|
+
time: S.optional(S.Number),
|
|
358
|
+
})).annotate({ identifier: "IpBlockedIp" });
|
|
359
|
+
export const GetIpArpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
360
|
+
ip: S.String.pipe(T.Label()),
|
|
361
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
362
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/arp/{ipBlocked}", code: 200 }))).annotate({
|
|
363
|
+
identifier: "GetIpArpRequest",
|
|
364
|
+
});
|
|
365
|
+
export const IpArpStateEnum = S.String;
|
|
366
|
+
export const IpArpBlockedIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
367
|
+
blockedSince: S.optional(S.String),
|
|
368
|
+
ipBlocked: S.optional(S.String),
|
|
369
|
+
logs: S.optional(S.NullOr(S.String)),
|
|
370
|
+
state: S.optional(IpArpStateEnum),
|
|
371
|
+
time: S.optional(S.Number),
|
|
372
|
+
})).annotate({ identifier: "IpArpBlockedIp" });
|
|
373
|
+
export const GetIpDelegationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
374
|
+
ip: S.String.pipe(T.Label()),
|
|
375
|
+
target: S.String.pipe(T.Label()),
|
|
376
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/delegation/{target}", code: 200 }))).annotate({
|
|
377
|
+
identifier: "GetIpDelegationRequest",
|
|
378
|
+
});
|
|
379
|
+
export const GetIpFirewallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
380
|
+
ip: S.String.pipe(T.Label()),
|
|
381
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
382
|
+
}).pipe(T.Http({
|
|
383
|
+
method: "GET",
|
|
384
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
385
|
+
code: 200,
|
|
386
|
+
}))).annotate({
|
|
387
|
+
identifier: "GetIpFirewallRequest",
|
|
388
|
+
});
|
|
389
|
+
export const GetIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
390
|
+
ip: S.String.pipe(T.Label()),
|
|
391
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
392
|
+
sequence: S.Number.pipe(T.Label()),
|
|
393
|
+
}).pipe(T.Http({
|
|
394
|
+
method: "GET",
|
|
395
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule/{sequence}",
|
|
396
|
+
code: 200,
|
|
397
|
+
}))).annotate({
|
|
398
|
+
identifier: "GetIpFirewallRuleRequest",
|
|
399
|
+
});
|
|
400
|
+
export const GetIpGameRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
+
ip: S.String.pipe(T.Label()),
|
|
402
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
403
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/game/{ipOnGame}", code: 200 }))).annotate({
|
|
404
|
+
identifier: "GetIpGameRequest",
|
|
405
|
+
});
|
|
406
|
+
export const IpGameMitigationStateEnum = S.String;
|
|
407
|
+
export const IpGameMitigationSupportedProtocolsList = /*@__PURE__*/ S.Array(IpGameMitigationRuleProtocolEnum);
|
|
408
|
+
export const IpGameMitigation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
409
|
+
firewallModeEnabled: S.optional(S.Boolean),
|
|
410
|
+
ipOnGame: S.optional(S.String),
|
|
411
|
+
maxRules: S.optional(S.Number),
|
|
412
|
+
state: S.optional(IpGameMitigationStateEnum),
|
|
413
|
+
supportedProtocols: S.optional(IpGameMitigationSupportedProtocolsList),
|
|
414
|
+
})).annotate({
|
|
415
|
+
identifier: "IpGameMitigation",
|
|
416
|
+
});
|
|
417
|
+
export const GetIpGameRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
418
|
+
ip: S.String.pipe(T.Label()),
|
|
419
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
420
|
+
id: S.Number.pipe(T.Label()),
|
|
421
|
+
}).pipe(T.Http({
|
|
422
|
+
method: "GET",
|
|
423
|
+
uri: "/ip/{ip}/game/{ipOnGame}/rule/{id}",
|
|
424
|
+
code: 200,
|
|
425
|
+
}))).annotate({
|
|
426
|
+
identifier: "GetIpGameRuleRequest",
|
|
427
|
+
});
|
|
428
|
+
export const GetIpMigrationTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
429
|
+
ip: S.String.pipe(T.Label()),
|
|
430
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/migrationToken", code: 200 }))).annotate({
|
|
431
|
+
identifier: "GetIpMigrationTokenRequest",
|
|
432
|
+
});
|
|
433
|
+
export const GetIpMitigationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
434
|
+
ip: S.String.pipe(T.Label()),
|
|
435
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
436
|
+
}).pipe(T.Http({
|
|
437
|
+
method: "GET",
|
|
438
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
439
|
+
code: 200,
|
|
440
|
+
}))).annotate({
|
|
441
|
+
identifier: "GetIpMitigationRequest",
|
|
442
|
+
});
|
|
443
|
+
export const GetIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
444
|
+
ip: S.String.pipe(T.Label()),
|
|
445
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
446
|
+
}).pipe(T.Http({
|
|
447
|
+
method: "GET",
|
|
448
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
449
|
+
code: 200,
|
|
450
|
+
}))).annotate({
|
|
451
|
+
identifier: "GetIpMitigationProfileRequest",
|
|
452
|
+
});
|
|
453
|
+
export const GetIpPhishingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
454
|
+
ip: S.String.pipe(T.Label()),
|
|
455
|
+
id: S.Number.pipe(T.Label()),
|
|
456
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/phishing/{id}", code: 200 }))).annotate({
|
|
457
|
+
identifier: "GetIpPhishingRequest",
|
|
458
|
+
});
|
|
459
|
+
export const IpAntiphishingStateEnum = S.String;
|
|
460
|
+
export const IpAntiphishing = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
461
|
+
creationDate: S.optional(S.String),
|
|
462
|
+
id: S.optional(S.Number),
|
|
463
|
+
ipOnAntiphishing: S.optional(S.String),
|
|
464
|
+
state: S.optional(IpAntiphishingStateEnum),
|
|
465
|
+
urlPhishing: S.optional(S.String),
|
|
466
|
+
})).annotate({ identifier: "IpAntiphishing" });
|
|
467
|
+
export const GetIpReverseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
468
|
+
ip: S.String.pipe(T.Label()),
|
|
469
|
+
ipReverse: S.String.pipe(T.Label()),
|
|
470
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/reverse/{ipReverse}", code: 200 }))).annotate({
|
|
471
|
+
identifier: "GetIpReverseRequest",
|
|
472
|
+
});
|
|
473
|
+
export const GetIpRipeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
474
|
+
ip: S.String.pipe(T.Label()),
|
|
475
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/ripe", code: 200 }))).annotate({
|
|
476
|
+
identifier: "GetIpRipeRequest",
|
|
477
|
+
});
|
|
478
|
+
export const IpRipeInfos = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
479
|
+
description: S.optional(S.NullOr(S.String)),
|
|
480
|
+
netname: S.optional(S.NullOr(S.String)),
|
|
481
|
+
})).annotate({ identifier: "IpRipeInfos" });
|
|
482
|
+
export const GetIpServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
483
|
+
serviceName: S.String.pipe(T.Label()),
|
|
484
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/service/{serviceName}", code: 200 }))).annotate({
|
|
485
|
+
identifier: "GetIpServiceRequest",
|
|
486
|
+
});
|
|
487
|
+
export const IpServiceIpWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
488
|
+
canBeTerminated: S.optional(S.Boolean),
|
|
489
|
+
country: S.optional(S.NullOr(CoreTypesCountryEnum)),
|
|
490
|
+
description: S.optional(S.NullOr(S.String)),
|
|
491
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
492
|
+
ip: S.optional(S.String),
|
|
493
|
+
organisationId: S.optional(S.NullOr(S.String)),
|
|
494
|
+
routedTo: S.optional(S.NullOr(IpRoutedTo)),
|
|
495
|
+
type: S.optional(IpIpTypeEnum),
|
|
496
|
+
})).annotate({
|
|
497
|
+
identifier: "IpServiceIpWithIAM",
|
|
498
|
+
});
|
|
499
|
+
export const GetIpServiceServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
500
|
+
serviceName: S.String.pipe(T.Label()),
|
|
501
|
+
}).pipe(T.Http({
|
|
502
|
+
method: "GET",
|
|
503
|
+
uri: "/ip/service/{serviceName}/serviceInfos",
|
|
504
|
+
code: 200,
|
|
505
|
+
}))).annotate({
|
|
506
|
+
identifier: "GetIpServiceServiceInfosRequest",
|
|
507
|
+
});
|
|
508
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
|
|
509
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
510
|
+
automatic: S.optional(S.Boolean),
|
|
511
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
512
|
+
forced: S.optional(S.Boolean),
|
|
513
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
514
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
515
|
+
})).annotate({
|
|
516
|
+
identifier: "ServiceRenewType",
|
|
517
|
+
});
|
|
518
|
+
export const ServiceRenewalTypeEnum = S.String;
|
|
519
|
+
export const ServiceStateEnum = S.String;
|
|
520
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
521
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
522
|
+
contactAdmin: S.optional(S.String),
|
|
523
|
+
contactBilling: S.optional(S.String),
|
|
524
|
+
contactTech: S.optional(S.String),
|
|
525
|
+
creation: S.optional(S.String),
|
|
526
|
+
domain: S.optional(S.String),
|
|
527
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
528
|
+
expiration: S.optional(S.String),
|
|
529
|
+
possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
|
|
530
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
531
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
532
|
+
serviceId: S.optional(S.Number),
|
|
533
|
+
status: S.optional(ServiceStateEnum),
|
|
534
|
+
})).annotate({
|
|
535
|
+
identifier: "ServicesService",
|
|
536
|
+
});
|
|
537
|
+
export const GetIpSpamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
538
|
+
ip: S.String.pipe(T.Label()),
|
|
539
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
540
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/spam/{ipSpamming}", code: 200 }))).annotate({
|
|
541
|
+
identifier: "GetIpSpamRequest",
|
|
542
|
+
});
|
|
543
|
+
export const IpSpamStateEnum = S.String;
|
|
544
|
+
export const IpSpamIp = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
545
|
+
date: S.optional(S.String),
|
|
546
|
+
ipSpamming: S.optional(S.String),
|
|
547
|
+
state: S.optional(IpSpamStateEnum),
|
|
548
|
+
time: S.optional(S.Number),
|
|
549
|
+
})).annotate({ identifier: "IpSpamIp" });
|
|
550
|
+
export const GetIpTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
551
|
+
ip: S.String.pipe(T.Label()),
|
|
552
|
+
taskId: S.Number.pipe(T.Label()),
|
|
553
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/task/{taskId}", code: 200 }))).annotate({
|
|
554
|
+
identifier: "GetIpTaskRequest",
|
|
555
|
+
});
|
|
556
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
557
|
+
identifier: "IamResourceTagFilterInput",
|
|
558
|
+
});
|
|
559
|
+
export const ListIpRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
560
|
+
export const ListIpRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListIpRequestIamTagsValueList);
|
|
561
|
+
export const ListIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
562
|
+
campus: S.optional(S.String.pipe(T.Query())),
|
|
563
|
+
description: S.optional(S.String.pipe(T.Query())),
|
|
564
|
+
iamTags: S.optional(ListIpRequestIamTagsMap.pipe(T.Query())),
|
|
565
|
+
ip: S.optional(S.String.pipe(T.Query())),
|
|
566
|
+
isAdditionalIp: S.optional(S.Boolean.pipe(T.Query())),
|
|
567
|
+
routedTo_serviceName: S.optional(S.String.pipe(T.Query("routedTo.serviceName"))),
|
|
568
|
+
type: S.optional(IpIpTypeEnum.pipe(T.Query())),
|
|
569
|
+
version: S.optional(IpIpVersionEnum.pipe(T.Query())),
|
|
570
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip", code: 200 }))).annotate({ identifier: "ListIpRequest" });
|
|
571
|
+
export const ListIpResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
572
|
+
export const ListIpResponse = /*@__PURE__*/ S.suspend(() => ListIpResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListIpResponse" });
|
|
573
|
+
export const ListIpAntihackRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
574
|
+
ip: S.String.pipe(T.Label()),
|
|
575
|
+
state: S.optional(IpBlockedIpStateEnum.pipe(T.Query())),
|
|
576
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/antihack", code: 200 }))).annotate({
|
|
577
|
+
identifier: "ListIpAntihackRequest",
|
|
578
|
+
});
|
|
579
|
+
export const ListIpAntihackResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
580
|
+
export const ListIpAntihackResponse = /*@__PURE__*/ S.suspend(() => ListIpAntihackResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
581
|
+
identifier: "ListIpAntihackResponse",
|
|
582
|
+
});
|
|
583
|
+
export const ListIpArpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
584
|
+
ip: S.String.pipe(T.Label()),
|
|
585
|
+
state: S.optional(IpArpStateEnum.pipe(T.Query())),
|
|
586
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/arp", code: 200 }))).annotate({
|
|
587
|
+
identifier: "ListIpArpRequest",
|
|
588
|
+
});
|
|
589
|
+
export const ListIpArpResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
590
|
+
export const ListIpArpResponse = /*@__PURE__*/ S.suspend(() => ListIpArpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
591
|
+
identifier: "ListIpArpResponse",
|
|
592
|
+
});
|
|
593
|
+
export const ListIpBringYourOwnIpAggregateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
594
|
+
ip: S.String.pipe(T.Label()),
|
|
595
|
+
}).pipe(T.Http({
|
|
596
|
+
method: "GET",
|
|
597
|
+
uri: "/ip/{ip}/bringYourOwnIp/aggregate",
|
|
598
|
+
code: 200,
|
|
599
|
+
}))).annotate({
|
|
600
|
+
identifier: "ListIpBringYourOwnIpAggregateRequest",
|
|
601
|
+
});
|
|
602
|
+
export const IpByoipAggregationPreviewChildrenIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
603
|
+
export const IpByoipAggregationPreview = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
604
|
+
aggregationIp: S.optional(S.String),
|
|
605
|
+
childrenIps: S.optional(IpByoipAggregationPreviewChildrenIpsList),
|
|
606
|
+
})).annotate({
|
|
607
|
+
identifier: "IpByoipAggregationPreview",
|
|
608
|
+
});
|
|
609
|
+
export const ListIpBringYourOwnIpAggregateResponseBodyList =
|
|
610
|
+
/*@__PURE__*/ S.Array(IpByoipAggregationPreview);
|
|
611
|
+
export const ListIpBringYourOwnIpAggregateResponse = /*@__PURE__*/ S.suspend(() => ListIpBringYourOwnIpAggregateResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
612
|
+
identifier: "ListIpBringYourOwnIpAggregateResponse",
|
|
613
|
+
});
|
|
614
|
+
export const ListIpBringYourOwnIpSliceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
615
|
+
ip: S.String.pipe(T.Label()),
|
|
616
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/bringYourOwnIp/slice", code: 200 }))).annotate({
|
|
617
|
+
identifier: "ListIpBringYourOwnIpSliceRequest",
|
|
618
|
+
});
|
|
619
|
+
export const IpByoipSlicingPreviewChildrenIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
620
|
+
export const IpByoipSlicingPreview = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
|
+
childrenIps: S.optional(IpByoipSlicingPreviewChildrenIpsList),
|
|
622
|
+
slicingSize: S.optional(S.Number),
|
|
623
|
+
})).annotate({
|
|
624
|
+
identifier: "IpByoipSlicingPreview",
|
|
625
|
+
});
|
|
626
|
+
export const ListIpBringYourOwnIpSliceResponseBodyList = /*@__PURE__*/ S.Array(IpByoipSlicingPreview);
|
|
627
|
+
export const ListIpBringYourOwnIpSliceResponse = /*@__PURE__*/ S.suspend(() => ListIpBringYourOwnIpSliceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
628
|
+
identifier: "ListIpBringYourOwnIpSliceResponse",
|
|
629
|
+
});
|
|
630
|
+
export const ListIpCampusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/ip/campus", code: 200 }))).annotate({
|
|
631
|
+
identifier: "ListIpCampusRequest",
|
|
632
|
+
});
|
|
633
|
+
export const IpCampusBringYourOwnIpSupportedRirForIpList =
|
|
634
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
635
|
+
export const DedicatedDatacenterEnum = S.String;
|
|
636
|
+
export const IpCampusDatacentersList = /*@__PURE__*/ S.Array(DedicatedDatacenterEnum);
|
|
637
|
+
export const IpCampusEnum = S.String;
|
|
638
|
+
export const IpCampus = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
639
|
+
bringYourOwnIpSupportedRirForIp: S.optional(IpCampusBringYourOwnIpSupportedRirForIpList),
|
|
640
|
+
datacenters: S.optional(IpCampusDatacentersList),
|
|
641
|
+
description: S.optional(S.String),
|
|
642
|
+
name: S.optional(IpCampusEnum),
|
|
643
|
+
})).annotate({ identifier: "IpCampus" });
|
|
644
|
+
export const ListIpCampusResponseBodyList = /*@__PURE__*/ S.Array(IpCampus);
|
|
645
|
+
export const ListIpCampusResponse = /*@__PURE__*/ S.suspend(() => ListIpCampusResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
646
|
+
identifier: "ListIpCampusResponse",
|
|
647
|
+
});
|
|
648
|
+
export const ListIpDelegationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
649
|
+
ip: S.String.pipe(T.Label()),
|
|
650
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/delegation", code: 200 }))).annotate({
|
|
651
|
+
identifier: "ListIpDelegationRequest",
|
|
652
|
+
});
|
|
653
|
+
export const ListIpDelegationResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
654
|
+
export const ListIpDelegationResponse = /*@__PURE__*/ S.suspend(() => ListIpDelegationResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
655
|
+
identifier: "ListIpDelegationResponse",
|
|
656
|
+
});
|
|
657
|
+
export const ListIpFirewallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
658
|
+
ip: S.String.pipe(T.Label()),
|
|
659
|
+
enabled: S.optional(S.Boolean.pipe(T.Query())),
|
|
660
|
+
state: S.optional(IpFirewallStateEnum.pipe(T.Query())),
|
|
661
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/firewall", code: 200 }))).annotate({
|
|
662
|
+
identifier: "ListIpFirewallRequest",
|
|
663
|
+
});
|
|
664
|
+
export const ListIpFirewallResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
665
|
+
export const ListIpFirewallResponse = /*@__PURE__*/ S.suspend(() => ListIpFirewallResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
666
|
+
identifier: "ListIpFirewallResponse",
|
|
667
|
+
});
|
|
668
|
+
export const ListIpFirewallRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
669
|
+
ip: S.String.pipe(T.Label()),
|
|
670
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
671
|
+
state: S.optional(IpFirewallRuleStateEnum.pipe(T.Query())),
|
|
672
|
+
}).pipe(T.Http({
|
|
673
|
+
method: "GET",
|
|
674
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}/rule",
|
|
675
|
+
code: 200,
|
|
676
|
+
}))).annotate({
|
|
677
|
+
identifier: "ListIpFirewallRuleRequest",
|
|
678
|
+
});
|
|
679
|
+
export const ListIpFirewallRuleResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
680
|
+
export const ListIpFirewallRuleResponse = /*@__PURE__*/ S.suspend(() => ListIpFirewallRuleResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
681
|
+
identifier: "ListIpFirewallRuleResponse",
|
|
682
|
+
});
|
|
683
|
+
export const ListIpGameRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
684
|
+
ip: S.String.pipe(T.Label()),
|
|
685
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/game", code: 200 }))).annotate({
|
|
686
|
+
identifier: "ListIpGameRequest",
|
|
687
|
+
});
|
|
688
|
+
export const ListIpGameResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
689
|
+
export const ListIpGameResponse = /*@__PURE__*/ S.suspend(() => ListIpGameResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
690
|
+
identifier: "ListIpGameResponse",
|
|
691
|
+
});
|
|
692
|
+
export const ListIpGameRuleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
693
|
+
ip: S.String.pipe(T.Label()),
|
|
694
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
695
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/game/{ipOnGame}/rule", code: 200 }))).annotate({
|
|
696
|
+
identifier: "ListIpGameRuleRequest",
|
|
697
|
+
});
|
|
698
|
+
export const ListIpGameRuleResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
699
|
+
export const ListIpGameRuleResponse = /*@__PURE__*/ S.suspend(() => ListIpGameRuleResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
700
|
+
identifier: "ListIpGameRuleResponse",
|
|
701
|
+
});
|
|
702
|
+
export const ListIpLicenseCloudLinuxRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
+
ip: S.String.pipe(T.Label()),
|
|
704
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
705
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/cloudLinux", code: 200 }))).annotate({
|
|
706
|
+
identifier: "ListIpLicenseCloudLinuxRequest",
|
|
707
|
+
});
|
|
708
|
+
export const ListIpLicenseCloudLinuxResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
709
|
+
export const ListIpLicenseCloudLinuxResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseCloudLinuxResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
710
|
+
identifier: "ListIpLicenseCloudLinuxResponse",
|
|
711
|
+
});
|
|
712
|
+
export const ListIpLicenseCpanelRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
713
|
+
ip: S.String.pipe(T.Label()),
|
|
714
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
715
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/cpanel", code: 200 }))).annotate({
|
|
716
|
+
identifier: "ListIpLicenseCpanelRequest",
|
|
717
|
+
});
|
|
718
|
+
export const ListIpLicenseCpanelResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
719
|
+
export const ListIpLicenseCpanelResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseCpanelResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
720
|
+
identifier: "ListIpLicenseCpanelResponse",
|
|
721
|
+
});
|
|
722
|
+
export const ListIpLicenseDirectadminRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
723
|
+
ip: S.String.pipe(T.Label()),
|
|
724
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
725
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/directadmin", code: 200 }))).annotate({
|
|
726
|
+
identifier: "ListIpLicenseDirectadminRequest",
|
|
727
|
+
});
|
|
728
|
+
export const ListIpLicenseDirectadminResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
729
|
+
export const ListIpLicenseDirectadminResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseDirectadminResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
730
|
+
identifier: "ListIpLicenseDirectadminResponse",
|
|
731
|
+
});
|
|
732
|
+
export const ListIpLicensePleskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
733
|
+
ip: S.String.pipe(T.Label()),
|
|
734
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
735
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/plesk", code: 200 }))).annotate({
|
|
736
|
+
identifier: "ListIpLicensePleskRequest",
|
|
737
|
+
});
|
|
738
|
+
export const ListIpLicensePleskResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
739
|
+
export const ListIpLicensePleskResponse = /*@__PURE__*/ S.suspend(() => ListIpLicensePleskResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
740
|
+
identifier: "ListIpLicensePleskResponse",
|
|
741
|
+
});
|
|
742
|
+
export const ListIpLicenseSqlserverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
743
|
+
ip: S.String.pipe(T.Label()),
|
|
744
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
745
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/sqlserver", code: 200 }))).annotate({
|
|
746
|
+
identifier: "ListIpLicenseSqlserverRequest",
|
|
747
|
+
});
|
|
748
|
+
export const ListIpLicenseSqlserverResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
749
|
+
export const ListIpLicenseSqlserverResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseSqlserverResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
750
|
+
identifier: "ListIpLicenseSqlserverResponse",
|
|
751
|
+
});
|
|
752
|
+
export const ListIpLicenseVirtuozzoRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
753
|
+
ip: S.String.pipe(T.Label()),
|
|
754
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
755
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/virtuozzo", code: 200 }))).annotate({
|
|
756
|
+
identifier: "ListIpLicenseVirtuozzoRequest",
|
|
757
|
+
});
|
|
758
|
+
export const ListIpLicenseVirtuozzoResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
759
|
+
export const ListIpLicenseVirtuozzoResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseVirtuozzoResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
760
|
+
identifier: "ListIpLicenseVirtuozzoResponse",
|
|
761
|
+
});
|
|
762
|
+
export const ListIpLicenseWindowsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
763
|
+
ip: S.String.pipe(T.Label()),
|
|
764
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
765
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/windows", code: 200 }))).annotate({
|
|
766
|
+
identifier: "ListIpLicenseWindowsRequest",
|
|
767
|
+
});
|
|
768
|
+
export const ListIpLicenseWindowsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
769
|
+
export const ListIpLicenseWindowsResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseWindowsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
770
|
+
identifier: "ListIpLicenseWindowsResponse",
|
|
771
|
+
});
|
|
772
|
+
export const ListIpLicenseWorklightRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
773
|
+
ip: S.String.pipe(T.Label()),
|
|
774
|
+
ipAddress: S.optional(S.String.pipe(T.Query())),
|
|
775
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/license/worklight", code: 200 }))).annotate({
|
|
776
|
+
identifier: "ListIpLicenseWorklightRequest",
|
|
777
|
+
});
|
|
778
|
+
export const ListIpLicenseWorklightResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
779
|
+
export const ListIpLicenseWorklightResponse = /*@__PURE__*/ S.suspend(() => ListIpLicenseWorklightResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
780
|
+
identifier: "ListIpLicenseWorklightResponse",
|
|
781
|
+
});
|
|
782
|
+
export const ListIpMitigationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
783
|
+
ip: S.String.pipe(T.Label()),
|
|
784
|
+
auto: S.optional(S.Boolean.pipe(T.Query())),
|
|
785
|
+
state: S.optional(IpMitigationStateEnum.pipe(T.Query())),
|
|
786
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/mitigation", code: 200 }))).annotate({
|
|
787
|
+
identifier: "ListIpMitigationRequest",
|
|
788
|
+
});
|
|
789
|
+
export const ListIpMitigationResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
790
|
+
export const ListIpMitigationResponse = /*@__PURE__*/ S.suspend(() => ListIpMitigationResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
791
|
+
identifier: "ListIpMitigationResponse",
|
|
792
|
+
});
|
|
793
|
+
export const ListIpMitigationProfilesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
794
|
+
ip: S.String.pipe(T.Label()),
|
|
795
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/mitigationProfiles", code: 200 }))).annotate({
|
|
796
|
+
identifier: "ListIpMitigationProfilesRequest",
|
|
797
|
+
});
|
|
798
|
+
export const ListIpMitigationProfilesResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
799
|
+
export const ListIpMitigationProfilesResponse = /*@__PURE__*/ S.suspend(() => ListIpMitigationProfilesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
800
|
+
identifier: "ListIpMitigationProfilesResponse",
|
|
801
|
+
});
|
|
802
|
+
export const ListIpMoveRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
803
|
+
ip: S.String.pipe(T.Label()),
|
|
804
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/move", code: 200 }))).annotate({
|
|
805
|
+
identifier: "ListIpMoveRequest",
|
|
806
|
+
});
|
|
807
|
+
export const IpDestinationNexthopList = /*@__PURE__*/ S.Array(S.String);
|
|
808
|
+
export const IpDestination = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
809
|
+
nexthop: S.optional(S.NullOr(IpDestinationNexthopList)),
|
|
810
|
+
service: S.optional(S.String),
|
|
811
|
+
})).annotate({ identifier: "IpDestination" });
|
|
812
|
+
export const IpDestinationsCloudProjectList = /*@__PURE__*/ S.Array(IpDestination);
|
|
813
|
+
export const IpDestinationsDedicatedCloudList = /*@__PURE__*/ S.Array(IpDestination);
|
|
814
|
+
export const IpDestinationsDedicatedServerList = /*@__PURE__*/ S.Array(IpDestination);
|
|
815
|
+
export const IpDestinationsHostingResellerList = /*@__PURE__*/ S.Array(IpDestination);
|
|
816
|
+
export const IpDestinationsIpLoadbalancingList = /*@__PURE__*/ S.Array(IpDestination);
|
|
817
|
+
export const IpDestinationsVpsList = /*@__PURE__*/ S.Array(IpDestination);
|
|
818
|
+
export const IpDestinations = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
819
|
+
cloudProject: S.optional(S.NullOr(IpDestinationsCloudProjectList)),
|
|
820
|
+
dedicatedCloud: S.optional(S.NullOr(IpDestinationsDedicatedCloudList)),
|
|
821
|
+
dedicatedServer: S.optional(S.NullOr(IpDestinationsDedicatedServerList)),
|
|
822
|
+
hostingReseller: S.optional(S.NullOr(IpDestinationsHostingResellerList)),
|
|
823
|
+
ipLoadbalancing: S.optional(S.NullOr(IpDestinationsIpLoadbalancingList)),
|
|
824
|
+
vps: S.optional(S.NullOr(IpDestinationsVpsList)),
|
|
825
|
+
})).annotate({ identifier: "IpDestinations" });
|
|
826
|
+
export const ListIpPhishingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
827
|
+
ip: S.String.pipe(T.Label()),
|
|
828
|
+
ipOnAntiphishing: S.optional(S.String.pipe(T.Query())),
|
|
829
|
+
state: S.optional(IpAntiphishingStateEnum.pipe(T.Query())),
|
|
830
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/phishing", code: 200 }))).annotate({
|
|
831
|
+
identifier: "ListIpPhishingRequest",
|
|
832
|
+
});
|
|
833
|
+
export const ListIpPhishingResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
834
|
+
export const ListIpPhishingResponse = /*@__PURE__*/ S.suspend(() => ListIpPhishingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
835
|
+
identifier: "ListIpPhishingResponse",
|
|
836
|
+
});
|
|
837
|
+
export const ListIpReverseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
838
|
+
ip: S.String.pipe(T.Label()),
|
|
839
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/reverse", code: 200 }))).annotate({
|
|
840
|
+
identifier: "ListIpReverseRequest",
|
|
841
|
+
});
|
|
842
|
+
export const ListIpReverseResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
843
|
+
export const ListIpReverseResponse = /*@__PURE__*/ S.suspend(() => ListIpReverseResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
844
|
+
identifier: "ListIpReverseResponse",
|
|
845
|
+
});
|
|
846
|
+
export const ListIpServiceRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
847
|
+
export const ListIpServiceRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListIpServiceRequestIamTagsValueList);
|
|
848
|
+
export const ListIpServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
849
|
+
iamTags: S.optional(ListIpServiceRequestIamTagsMap.pipe(T.Query())),
|
|
850
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/service", code: 200 }))).annotate({
|
|
851
|
+
identifier: "ListIpServiceRequest",
|
|
852
|
+
});
|
|
853
|
+
export const ListIpServiceResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
854
|
+
export const ListIpServiceResponse = /*@__PURE__*/ S.suspend(() => ListIpServiceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
855
|
+
identifier: "ListIpServiceResponse",
|
|
856
|
+
});
|
|
857
|
+
export const ListIpSpamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
858
|
+
ip: S.String.pipe(T.Label()),
|
|
859
|
+
state: S.optional(IpSpamStateEnum.pipe(T.Query())),
|
|
860
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/spam", code: 200 }))).annotate({
|
|
861
|
+
identifier: "ListIpSpamRequest",
|
|
862
|
+
});
|
|
863
|
+
export const ListIpSpamResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
864
|
+
export const ListIpSpamResponse = /*@__PURE__*/ S.suspend(() => ListIpSpamResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
865
|
+
identifier: "ListIpSpamResponse",
|
|
866
|
+
});
|
|
867
|
+
export const ListIpSpamStatsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
868
|
+
ip: S.String.pipe(T.Label()),
|
|
869
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
870
|
+
from: S.String.pipe(T.Query()),
|
|
871
|
+
to: S.String.pipe(T.Query()),
|
|
872
|
+
}).pipe(T.Http({
|
|
873
|
+
method: "GET",
|
|
874
|
+
uri: "/ip/{ip}/spam/{ipSpamming}/stats",
|
|
875
|
+
code: 200,
|
|
876
|
+
}))).annotate({
|
|
877
|
+
identifier: "ListIpSpamStatsRequest",
|
|
878
|
+
});
|
|
879
|
+
export const IpSpamTarget = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
880
|
+
date: S.optional(S.Number),
|
|
881
|
+
destinationIp: S.optional(S.String),
|
|
882
|
+
messageId: S.optional(S.String),
|
|
883
|
+
spamscore: S.optional(S.Number),
|
|
884
|
+
})).annotate({ identifier: "IpSpamTarget" });
|
|
885
|
+
export const IpSpamStatsDetectedSpamsList = /*@__PURE__*/ S.Array(IpSpamTarget);
|
|
886
|
+
export const IpSpamStats = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
887
|
+
averageSpamscore: S.optional(S.NullOr(S.Number)),
|
|
888
|
+
detectedSpams: S.optional(S.NullOr(IpSpamStatsDetectedSpamsList)),
|
|
889
|
+
numberOfSpams: S.optional(S.Number),
|
|
890
|
+
timestamp: S.optional(S.Number),
|
|
891
|
+
total: S.optional(S.Number),
|
|
892
|
+
})).annotate({ identifier: "IpSpamStats" });
|
|
893
|
+
export const ListIpSpamStatsResponseBodyList = /*@__PURE__*/ S.Array(IpSpamStats);
|
|
894
|
+
export const ListIpSpamStatsResponse = /*@__PURE__*/ S.suspend(() => ListIpSpamStatsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
895
|
+
identifier: "ListIpSpamStatsResponse",
|
|
896
|
+
});
|
|
897
|
+
export const ListIpTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
898
|
+
ip: S.String.pipe(T.Label()),
|
|
899
|
+
function: S.optional(IpTaskFunctionEnum.pipe(T.Query())),
|
|
900
|
+
status: S.optional(IpTaskStatusEnum.pipe(T.Query())),
|
|
901
|
+
}).pipe(T.Http({ method: "GET", uri: "/ip/{ip}/task", code: 200 }))).annotate({
|
|
902
|
+
identifier: "ListIpTaskRequest",
|
|
903
|
+
});
|
|
904
|
+
export const ListIpTaskResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
905
|
+
export const ListIpTaskResponse = /*@__PURE__*/ S.suspend(() => ListIpTaskResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
906
|
+
identifier: "ListIpTaskResponse",
|
|
907
|
+
});
|
|
908
|
+
export const MoveIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
909
|
+
ip: S.String.pipe(T.Label()),
|
|
910
|
+
nexthop: S.optional(S.String),
|
|
911
|
+
to: S.String,
|
|
912
|
+
}).pipe(T.Http({ method: "POST", uri: "/ip/{ip}/move", code: 200 }))).annotate({ identifier: "MoveIpRequest" });
|
|
913
|
+
export const PutIpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
914
|
+
ip: S.String.pipe(T.Label()),
|
|
915
|
+
description: S.optional(S.NullOr(S.String)),
|
|
916
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/{ip}", code: 200 }))).annotate({ identifier: "PutIpRequest" });
|
|
917
|
+
export const PutIpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "PutIpResponse" });
|
|
918
|
+
export const PutIpFirewallRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
919
|
+
ip: S.String.pipe(T.Label()),
|
|
920
|
+
ipOnFirewall: S.String.pipe(T.Label()),
|
|
921
|
+
enabled: S.optional(S.Boolean),
|
|
922
|
+
}).pipe(T.Http({
|
|
923
|
+
method: "PUT",
|
|
924
|
+
uri: "/ip/{ip}/firewall/{ipOnFirewall}",
|
|
925
|
+
code: 200,
|
|
926
|
+
}))).annotate({
|
|
927
|
+
identifier: "PutIpFirewallRequest",
|
|
928
|
+
});
|
|
929
|
+
export const PutIpFirewallResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
930
|
+
identifier: "PutIpFirewallResponse",
|
|
931
|
+
});
|
|
932
|
+
export const PutIpGameRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
933
|
+
ip: S.String.pipe(T.Label()),
|
|
934
|
+
ipOnGame: S.String.pipe(T.Label()),
|
|
935
|
+
firewallModeEnabled: S.optional(S.Boolean),
|
|
936
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/{ip}/game/{ipOnGame}", code: 200 }))).annotate({
|
|
937
|
+
identifier: "PutIpGameRequest",
|
|
938
|
+
});
|
|
939
|
+
export const PutIpGameResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
940
|
+
identifier: "PutIpGameResponse",
|
|
941
|
+
});
|
|
942
|
+
export const PutIpMitigationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
943
|
+
ip: S.String.pipe(T.Label()),
|
|
944
|
+
ipOnMitigation: S.String.pipe(T.Label()),
|
|
945
|
+
permanent: S.optional(S.Boolean),
|
|
946
|
+
}).pipe(T.Http({
|
|
947
|
+
method: "PUT",
|
|
948
|
+
uri: "/ip/{ip}/mitigation/{ipOnMitigation}",
|
|
949
|
+
code: 200,
|
|
950
|
+
}))).annotate({
|
|
951
|
+
identifier: "PutIpMitigationRequest",
|
|
952
|
+
});
|
|
953
|
+
export const PutIpMitigationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
954
|
+
identifier: "PutIpMitigationResponse",
|
|
955
|
+
});
|
|
956
|
+
export const PutIpMitigationProfileRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
957
|
+
ip: S.String.pipe(T.Label()),
|
|
958
|
+
ipMitigationProfile: S.String.pipe(T.Label()),
|
|
959
|
+
autoMitigationTimeOut: S.optional(IpMitigationProfileAutoMitigationTimeOutEnum),
|
|
960
|
+
}).pipe(T.Http({
|
|
961
|
+
method: "PUT",
|
|
962
|
+
uri: "/ip/{ip}/mitigationProfiles/{ipMitigationProfile}",
|
|
963
|
+
code: 200,
|
|
964
|
+
}))).annotate({
|
|
965
|
+
identifier: "PutIpMitigationProfileRequest",
|
|
966
|
+
});
|
|
967
|
+
export const PutIpMitigationProfileResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
968
|
+
identifier: "PutIpMitigationProfileResponse",
|
|
969
|
+
});
|
|
970
|
+
export const PutIpRipeRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
971
|
+
ip: S.String.pipe(T.Label()),
|
|
972
|
+
description: S.optional(S.NullOr(S.String)),
|
|
973
|
+
netname: S.optional(S.NullOr(S.String)),
|
|
974
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/{ip}/ripe", code: 200 }))).annotate({
|
|
975
|
+
identifier: "PutIpRipeRequest",
|
|
976
|
+
});
|
|
977
|
+
export const PutIpRipeResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
978
|
+
identifier: "PutIpRipeResponse",
|
|
979
|
+
});
|
|
980
|
+
export const PutIpServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
981
|
+
serviceName: S.String.pipe(T.Label()),
|
|
982
|
+
description: S.optional(S.NullOr(S.String)),
|
|
983
|
+
}).pipe(T.Http({ method: "PUT", uri: "/ip/service/{serviceName}", code: 200 }))).annotate({
|
|
984
|
+
identifier: "PutIpServiceRequest",
|
|
985
|
+
});
|
|
986
|
+
export const PutIpServiceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
987
|
+
identifier: "PutIpServiceResponse",
|
|
988
|
+
});
|
|
989
|
+
export const PutIpServiceServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
990
|
+
serviceName: S.String.pipe(T.Label()),
|
|
991
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
992
|
+
}).pipe(T.Http({
|
|
993
|
+
method: "PUT",
|
|
994
|
+
uri: "/ip/service/{serviceName}/serviceInfos",
|
|
995
|
+
code: 200,
|
|
996
|
+
}))).annotate({
|
|
997
|
+
identifier: "PutIpServiceServiceInfosRequest",
|
|
998
|
+
});
|
|
999
|
+
export const PutIpServiceServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1000
|
+
identifier: "PutIpServiceServiceInfosResponse",
|
|
1001
|
+
});
|
|
1002
|
+
export const TerminateIpServiceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1003
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1004
|
+
}).pipe(T.Http({
|
|
1005
|
+
method: "POST",
|
|
1006
|
+
uri: "/ip/service/{serviceName}/terminate",
|
|
1007
|
+
code: 200,
|
|
1008
|
+
}))).annotate({
|
|
1009
|
+
identifier: "TerminateIpServiceRequest",
|
|
1010
|
+
});
|
|
1011
|
+
export const TerminateIpServiceResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1012
|
+
identifier: "TerminateIpServiceResponse",
|
|
1013
|
+
});
|
|
1014
|
+
export const UnblockIpAntihackRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1015
|
+
ip: S.String.pipe(T.Label()),
|
|
1016
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
1017
|
+
}).pipe(T.Http({
|
|
1018
|
+
method: "POST",
|
|
1019
|
+
uri: "/ip/{ip}/antihack/{ipBlocked}/unblock",
|
|
1020
|
+
code: 200,
|
|
1021
|
+
}))).annotate({
|
|
1022
|
+
identifier: "UnblockIpAntihackRequest",
|
|
1023
|
+
});
|
|
1024
|
+
export const UnblockIpAntihackResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1025
|
+
identifier: "UnblockIpAntihackResponse",
|
|
1026
|
+
});
|
|
1027
|
+
export const UnblockIpArpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1028
|
+
ip: S.String.pipe(T.Label()),
|
|
1029
|
+
ipBlocked: S.String.pipe(T.Label()),
|
|
1030
|
+
}).pipe(T.Http({
|
|
1031
|
+
method: "POST",
|
|
1032
|
+
uri: "/ip/{ip}/arp/{ipBlocked}/unblock",
|
|
1033
|
+
code: 200,
|
|
1034
|
+
}))).annotate({
|
|
1035
|
+
identifier: "UnblockIpArpRequest",
|
|
1036
|
+
});
|
|
1037
|
+
export const UnblockIpArpResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1038
|
+
identifier: "UnblockIpArpResponse",
|
|
1039
|
+
});
|
|
1040
|
+
export const UnblockIpSpamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1041
|
+
ip: S.String.pipe(T.Label()),
|
|
1042
|
+
ipSpamming: S.String.pipe(T.Label()),
|
|
1043
|
+
}).pipe(T.Http({
|
|
1044
|
+
method: "POST",
|
|
1045
|
+
uri: "/ip/{ip}/spam/{ipSpamming}/unblock",
|
|
1046
|
+
code: 200,
|
|
1047
|
+
}))).annotate({
|
|
1048
|
+
identifier: "UnblockIpSpamRequest",
|
|
1049
|
+
});
|
|
1050
|
+
/** Confirm service termination */
|
|
1051
|
+
export const confirmIpServiceTermination = /*@__PURE__*/ API.make(() => ({
|
|
1052
|
+
input: ConfirmIpServiceTerminationRequest,
|
|
1053
|
+
output: ConfirmIpServiceTerminationResponse,
|
|
1054
|
+
errors: [UnknownOvhError],
|
|
1055
|
+
protocol: OvhProtocol,
|
|
1056
|
+
retry: Retry.Retry,
|
|
1057
|
+
}));
|
|
1058
|
+
/** Aggregate a sliced BYOIP Additional IPs and it's neighbor(s) into a single bigger Additional IP parent */
|
|
1059
|
+
export const createIpBringYourOwnIpAggregate = /*@__PURE__*/ API.make(() => ({
|
|
1060
|
+
input: CreateIpBringYourOwnIpAggregateRequest,
|
|
1061
|
+
output: IpIpTask,
|
|
1062
|
+
errors: [UnknownOvhError],
|
|
1063
|
+
protocol: OvhProtocol,
|
|
1064
|
+
retry: Retry.Retry,
|
|
1065
|
+
}));
|
|
1066
|
+
/** Slice a BYOIP Additional IP into smaller Additional IPs */
|
|
1067
|
+
export const createIpBringYourOwnIpSlice = /*@__PURE__*/ API.make(() => ({
|
|
1068
|
+
input: CreateIpBringYourOwnIpSliceRequest,
|
|
1069
|
+
output: IpIpTask,
|
|
1070
|
+
errors: [UnknownOvhError],
|
|
1071
|
+
protocol: OvhProtocol,
|
|
1072
|
+
retry: Retry.Retry,
|
|
1073
|
+
}));
|
|
1074
|
+
/** Change organisation of this IP */
|
|
1075
|
+
export const createIpChangeOrg = /*@__PURE__*/ API.make(() => ({
|
|
1076
|
+
input: CreateIpChangeOrgRequest,
|
|
1077
|
+
output: IpIpTask,
|
|
1078
|
+
errors: [UnknownOvhError],
|
|
1079
|
+
protocol: OvhProtocol,
|
|
1080
|
+
retry: Retry.Retry,
|
|
1081
|
+
}));
|
|
1082
|
+
/** Add target for reverse delegation on IPv6 subnet */
|
|
1083
|
+
export const createIpDelegation = /*@__PURE__*/ API.make(() => ({
|
|
1084
|
+
input: CreateIpDelegationRequest,
|
|
1085
|
+
output: IpReverseDelegation,
|
|
1086
|
+
errors: [UnknownOvhError],
|
|
1087
|
+
protocol: OvhProtocol,
|
|
1088
|
+
retry: Retry.Retry,
|
|
1089
|
+
}));
|
|
1090
|
+
/** AntiDDOS option. Add new IP on firewall */
|
|
1091
|
+
export const createIpFirewall = /*@__PURE__*/ API.make(() => ({
|
|
1092
|
+
input: CreateIpFirewallRequest,
|
|
1093
|
+
output: IpFirewallIp,
|
|
1094
|
+
errors: [UnknownOvhError],
|
|
1095
|
+
protocol: OvhProtocol,
|
|
1096
|
+
retry: Retry.Retry,
|
|
1097
|
+
}));
|
|
1098
|
+
/** AntiDDOS option. Add new rule on your IP */
|
|
1099
|
+
export const createIpFirewallRule = /*@__PURE__*/ API.make(() => ({
|
|
1100
|
+
input: CreateIpFirewallRuleRequest,
|
|
1101
|
+
output: IpFirewallNetworkRule,
|
|
1102
|
+
errors: [UnknownOvhError],
|
|
1103
|
+
protocol: OvhProtocol,
|
|
1104
|
+
retry: Retry.Retry,
|
|
1105
|
+
}));
|
|
1106
|
+
/** Add new rule on your IP */
|
|
1107
|
+
export const createIpGameRule = /*@__PURE__*/ API.make(() => ({
|
|
1108
|
+
input: CreateIpGameRuleRequest,
|
|
1109
|
+
output: IpGameMitigationRule,
|
|
1110
|
+
errors: [UnknownOvhError],
|
|
1111
|
+
protocol: OvhProtocol,
|
|
1112
|
+
retry: Retry.Retry,
|
|
1113
|
+
}));
|
|
1114
|
+
/** Generate a migration token */
|
|
1115
|
+
export const createIpMigrationToken = /*@__PURE__*/ API.make(() => ({
|
|
1116
|
+
input: CreateIpMigrationTokenRequest,
|
|
1117
|
+
output: IpIpMigrationToken,
|
|
1118
|
+
errors: [UnknownOvhError],
|
|
1119
|
+
protocol: OvhProtocol,
|
|
1120
|
+
retry: Retry.Retry,
|
|
1121
|
+
}));
|
|
1122
|
+
/** AntiDDOS option. Add new IP on permanent mitigation */
|
|
1123
|
+
export const createIpMitigation = /*@__PURE__*/ API.make(() => ({
|
|
1124
|
+
input: CreateIpMitigationRequest,
|
|
1125
|
+
output: IpMitigationIp,
|
|
1126
|
+
errors: [UnknownOvhError],
|
|
1127
|
+
protocol: OvhProtocol,
|
|
1128
|
+
retry: Retry.Retry,
|
|
1129
|
+
}));
|
|
1130
|
+
/** Create new profile for one of your ip */
|
|
1131
|
+
export const createIpMitigationProfile = /*@__PURE__*/ API.make(() => ({
|
|
1132
|
+
input: CreateIpMitigationProfileRequest,
|
|
1133
|
+
output: IpMitigationProfile,
|
|
1134
|
+
errors: [UnknownOvhError],
|
|
1135
|
+
protocol: OvhProtocol,
|
|
1136
|
+
retry: Retry.Retry,
|
|
1137
|
+
}));
|
|
1138
|
+
/** Park this IP */
|
|
1139
|
+
export const createIpPark = /*@__PURE__*/ API.make(() => ({
|
|
1140
|
+
input: CreateIpParkRequest,
|
|
1141
|
+
output: IpIpTask,
|
|
1142
|
+
errors: [UnknownOvhError],
|
|
1143
|
+
protocol: OvhProtocol,
|
|
1144
|
+
retry: Retry.Retry,
|
|
1145
|
+
}));
|
|
1146
|
+
/** Add reverse on an ip */
|
|
1147
|
+
export const createIpReverse = /*@__PURE__*/ API.make(() => ({
|
|
1148
|
+
input: CreateIpReverseRequest,
|
|
1149
|
+
output: IpReverseIp,
|
|
1150
|
+
errors: [UnknownOvhError],
|
|
1151
|
+
protocol: OvhProtocol,
|
|
1152
|
+
retry: Retry.Retry,
|
|
1153
|
+
}));
|
|
1154
|
+
/** Launch a contact change procedure */
|
|
1155
|
+
export const createIpServiceChangeContact = /*@__PURE__*/ API.make(() => ({
|
|
1156
|
+
input: CreateIpServiceChangeContactRequest,
|
|
1157
|
+
output: CreateIpServiceChangeContactResponse,
|
|
1158
|
+
errors: [UnknownOvhError],
|
|
1159
|
+
protocol: OvhProtocol,
|
|
1160
|
+
retry: Retry.Retry,
|
|
1161
|
+
}));
|
|
1162
|
+
/** Delete a target for reverse delegation on IPv6 subnet */
|
|
1163
|
+
export const deleteIpDelegation = /*@__PURE__*/ API.make(() => ({
|
|
1164
|
+
input: DeleteIpDelegationRequest,
|
|
1165
|
+
output: DeleteIpDelegationResponse,
|
|
1166
|
+
errors: [UnknownOvhError],
|
|
1167
|
+
protocol: OvhProtocol,
|
|
1168
|
+
retry: Retry.Retry,
|
|
1169
|
+
}));
|
|
1170
|
+
/** AntiDDOS option. Delete IP and rules from firewall */
|
|
1171
|
+
export const deleteIpFirewall = /*@__PURE__*/ API.make(() => ({
|
|
1172
|
+
input: DeleteIpFirewallRequest,
|
|
1173
|
+
output: DeleteIpFirewallResponse,
|
|
1174
|
+
errors: [UnknownOvhError],
|
|
1175
|
+
protocol: OvhProtocol,
|
|
1176
|
+
retry: Retry.Retry,
|
|
1177
|
+
}));
|
|
1178
|
+
/** AntiDDOS option. Delete rule */
|
|
1179
|
+
export const deleteIpFirewallRule = /*@__PURE__*/ API.make(() => ({
|
|
1180
|
+
input: DeleteIpFirewallRuleRequest,
|
|
1181
|
+
output: IpFirewallNetworkRule,
|
|
1182
|
+
errors: [UnknownOvhError],
|
|
1183
|
+
protocol: OvhProtocol,
|
|
1184
|
+
retry: Retry.Retry,
|
|
1185
|
+
}));
|
|
1186
|
+
/** Delete rule */
|
|
1187
|
+
export const deleteIpGameRule = /*@__PURE__*/ API.make(() => ({
|
|
1188
|
+
input: DeleteIpGameRuleRequest,
|
|
1189
|
+
output: IpGameMitigationRule,
|
|
1190
|
+
errors: [UnknownOvhError],
|
|
1191
|
+
protocol: OvhProtocol,
|
|
1192
|
+
retry: Retry.Retry,
|
|
1193
|
+
}));
|
|
1194
|
+
/** AntiDDOS option. Delete IP from mitigation */
|
|
1195
|
+
export const deleteIpMitigation = /*@__PURE__*/ API.make(() => ({
|
|
1196
|
+
input: DeleteIpMitigationRequest,
|
|
1197
|
+
output: IpMitigationIp,
|
|
1198
|
+
errors: [UnknownOvhError],
|
|
1199
|
+
protocol: OvhProtocol,
|
|
1200
|
+
retry: Retry.Retry,
|
|
1201
|
+
}));
|
|
1202
|
+
/** Delete mitigation profile */
|
|
1203
|
+
export const deleteIpMitigationProfile = /*@__PURE__*/ API.make(() => ({
|
|
1204
|
+
input: DeleteIpMitigationProfileRequest,
|
|
1205
|
+
output: DeleteIpMitigationProfileResponse,
|
|
1206
|
+
errors: [UnknownOvhError],
|
|
1207
|
+
protocol: OvhProtocol,
|
|
1208
|
+
retry: Retry.Retry,
|
|
1209
|
+
}));
|
|
1210
|
+
/** Delete a reverse on one IP */
|
|
1211
|
+
export const deleteIpReverse = /*@__PURE__*/ API.make(() => ({
|
|
1212
|
+
input: DeleteIpReverseRequest,
|
|
1213
|
+
output: DeleteIpReverseResponse,
|
|
1214
|
+
errors: [UnknownOvhError],
|
|
1215
|
+
protocol: OvhProtocol,
|
|
1216
|
+
retry: Retry.Retry,
|
|
1217
|
+
}));
|
|
1218
|
+
/** Get this object properties */
|
|
1219
|
+
export const getIp = /*@__PURE__*/ API.make(() => ({
|
|
1220
|
+
input: GetIpRequest,
|
|
1221
|
+
output: IpIpWithIAM,
|
|
1222
|
+
errors: [UnknownOvhError],
|
|
1223
|
+
protocol: OvhProtocol,
|
|
1224
|
+
retry: Retry.Retry,
|
|
1225
|
+
}));
|
|
1226
|
+
/** Get this object properties */
|
|
1227
|
+
export const getIpAntihack = /*@__PURE__*/ API.make(() => ({
|
|
1228
|
+
input: GetIpAntihackRequest,
|
|
1229
|
+
output: IpBlockedIp,
|
|
1230
|
+
errors: [UnknownOvhError],
|
|
1231
|
+
protocol: OvhProtocol,
|
|
1232
|
+
retry: Retry.Retry,
|
|
1233
|
+
}));
|
|
1234
|
+
/** Get this object properties */
|
|
1235
|
+
export const getIpArp = /*@__PURE__*/ API.make(() => ({
|
|
1236
|
+
input: GetIpArpRequest,
|
|
1237
|
+
output: IpArpBlockedIp,
|
|
1238
|
+
errors: [UnknownOvhError],
|
|
1239
|
+
protocol: OvhProtocol,
|
|
1240
|
+
retry: Retry.Retry,
|
|
1241
|
+
}));
|
|
1242
|
+
/** Get this object properties */
|
|
1243
|
+
export const getIpDelegation = /*@__PURE__*/ API.make(() => ({
|
|
1244
|
+
input: GetIpDelegationRequest,
|
|
1245
|
+
output: IpReverseDelegation,
|
|
1246
|
+
errors: [UnknownOvhError],
|
|
1247
|
+
protocol: OvhProtocol,
|
|
1248
|
+
retry: Retry.Retry,
|
|
1249
|
+
}));
|
|
1250
|
+
/** Get this object properties */
|
|
1251
|
+
export const getIpFirewall = /*@__PURE__*/ API.make(() => ({
|
|
1252
|
+
input: GetIpFirewallRequest,
|
|
1253
|
+
output: IpFirewallIp,
|
|
1254
|
+
errors: [UnknownOvhError],
|
|
1255
|
+
protocol: OvhProtocol,
|
|
1256
|
+
retry: Retry.Retry,
|
|
1257
|
+
}));
|
|
1258
|
+
/** Get this object properties */
|
|
1259
|
+
export const getIpFirewallRule = /*@__PURE__*/ API.make(() => ({
|
|
1260
|
+
input: GetIpFirewallRuleRequest,
|
|
1261
|
+
output: IpFirewallNetworkRule,
|
|
1262
|
+
errors: [UnknownOvhError],
|
|
1263
|
+
protocol: OvhProtocol,
|
|
1264
|
+
retry: Retry.Retry,
|
|
1265
|
+
}));
|
|
1266
|
+
/** Get this object properties */
|
|
1267
|
+
export const getIpGame = /*@__PURE__*/ API.make(() => ({
|
|
1268
|
+
input: GetIpGameRequest,
|
|
1269
|
+
output: IpGameMitigation,
|
|
1270
|
+
errors: [UnknownOvhError],
|
|
1271
|
+
protocol: OvhProtocol,
|
|
1272
|
+
retry: Retry.Retry,
|
|
1273
|
+
}));
|
|
1274
|
+
/** Get this object properties */
|
|
1275
|
+
export const getIpGameRule = /*@__PURE__*/ API.make(() => ({
|
|
1276
|
+
input: GetIpGameRuleRequest,
|
|
1277
|
+
output: IpGameMitigationRule,
|
|
1278
|
+
errors: [UnknownOvhError],
|
|
1279
|
+
protocol: OvhProtocol,
|
|
1280
|
+
retry: Retry.Retry,
|
|
1281
|
+
}));
|
|
1282
|
+
/** Get this object properties */
|
|
1283
|
+
export const getIpMigrationToken = /*@__PURE__*/ API.make(() => ({
|
|
1284
|
+
input: GetIpMigrationTokenRequest,
|
|
1285
|
+
output: IpIpMigrationToken,
|
|
1286
|
+
errors: [UnknownOvhError],
|
|
1287
|
+
protocol: OvhProtocol,
|
|
1288
|
+
retry: Retry.Retry,
|
|
1289
|
+
}));
|
|
1290
|
+
/** Get this object properties */
|
|
1291
|
+
export const getIpMitigation = /*@__PURE__*/ API.make(() => ({
|
|
1292
|
+
input: GetIpMitigationRequest,
|
|
1293
|
+
output: IpMitigationIp,
|
|
1294
|
+
errors: [UnknownOvhError],
|
|
1295
|
+
protocol: OvhProtocol,
|
|
1296
|
+
retry: Retry.Retry,
|
|
1297
|
+
}));
|
|
1298
|
+
/** Get this object properties */
|
|
1299
|
+
export const getIpMitigationProfile = /*@__PURE__*/ API.make(() => ({
|
|
1300
|
+
input: GetIpMitigationProfileRequest,
|
|
1301
|
+
output: IpMitigationProfile,
|
|
1302
|
+
errors: [UnknownOvhError],
|
|
1303
|
+
protocol: OvhProtocol,
|
|
1304
|
+
retry: Retry.Retry,
|
|
1305
|
+
}));
|
|
1306
|
+
/** Get this object properties */
|
|
1307
|
+
export const getIpPhishing = /*@__PURE__*/ API.make(() => ({
|
|
1308
|
+
input: GetIpPhishingRequest,
|
|
1309
|
+
output: IpAntiphishing,
|
|
1310
|
+
errors: [UnknownOvhError],
|
|
1311
|
+
protocol: OvhProtocol,
|
|
1312
|
+
retry: Retry.Retry,
|
|
1313
|
+
}));
|
|
1314
|
+
/** Get this object properties */
|
|
1315
|
+
export const getIpReverse = /*@__PURE__*/ API.make(() => ({
|
|
1316
|
+
input: GetIpReverseRequest,
|
|
1317
|
+
output: IpReverseIp,
|
|
1318
|
+
errors: [UnknownOvhError],
|
|
1319
|
+
protocol: OvhProtocol,
|
|
1320
|
+
retry: Retry.Retry,
|
|
1321
|
+
}));
|
|
1322
|
+
/** Get this object properties */
|
|
1323
|
+
export const getIpRipe = /*@__PURE__*/ API.make(() => ({
|
|
1324
|
+
input: GetIpRipeRequest,
|
|
1325
|
+
output: IpRipeInfos,
|
|
1326
|
+
errors: [UnknownOvhError],
|
|
1327
|
+
protocol: OvhProtocol,
|
|
1328
|
+
retry: Retry.Retry,
|
|
1329
|
+
}));
|
|
1330
|
+
/** Get this object properties */
|
|
1331
|
+
export const getIpService = /*@__PURE__*/ API.make(() => ({
|
|
1332
|
+
input: GetIpServiceRequest,
|
|
1333
|
+
output: IpServiceIpWithIAM,
|
|
1334
|
+
errors: [UnknownOvhError],
|
|
1335
|
+
protocol: OvhProtocol,
|
|
1336
|
+
retry: Retry.Retry,
|
|
1337
|
+
}));
|
|
1338
|
+
/** Get service information */
|
|
1339
|
+
export const getIpServiceServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1340
|
+
input: GetIpServiceServiceInfosRequest,
|
|
1341
|
+
output: ServicesService,
|
|
1342
|
+
errors: [UnknownOvhError],
|
|
1343
|
+
protocol: OvhProtocol,
|
|
1344
|
+
retry: Retry.Retry,
|
|
1345
|
+
}));
|
|
1346
|
+
/** Get this object properties */
|
|
1347
|
+
export const getIpSpam = /*@__PURE__*/ API.make(() => ({
|
|
1348
|
+
input: GetIpSpamRequest,
|
|
1349
|
+
output: IpSpamIp,
|
|
1350
|
+
errors: [UnknownOvhError],
|
|
1351
|
+
protocol: OvhProtocol,
|
|
1352
|
+
retry: Retry.Retry,
|
|
1353
|
+
}));
|
|
1354
|
+
/** Get this object properties */
|
|
1355
|
+
export const getIpTask = /*@__PURE__*/ API.make(() => ({
|
|
1356
|
+
input: GetIpTaskRequest,
|
|
1357
|
+
output: IpIpTask,
|
|
1358
|
+
errors: [UnknownOvhError],
|
|
1359
|
+
protocol: OvhProtocol,
|
|
1360
|
+
retry: Retry.Retry,
|
|
1361
|
+
}));
|
|
1362
|
+
/** Your OVH IPs */
|
|
1363
|
+
export const listIp = /*@__PURE__*/ API.make(() => ({
|
|
1364
|
+
input: ListIpRequest,
|
|
1365
|
+
output: ListIpResponse,
|
|
1366
|
+
errors: [UnknownOvhError],
|
|
1367
|
+
protocol: OvhProtocol,
|
|
1368
|
+
retry: Retry.Retry,
|
|
1369
|
+
}));
|
|
1370
|
+
/** Anti-Hack blocked IP */
|
|
1371
|
+
export const listIpAntihack = /*@__PURE__*/ API.make(() => ({
|
|
1372
|
+
input: ListIpAntihackRequest,
|
|
1373
|
+
output: ListIpAntihackResponse,
|
|
1374
|
+
errors: [UnknownOvhError],
|
|
1375
|
+
protocol: OvhProtocol,
|
|
1376
|
+
retry: Retry.Retry,
|
|
1377
|
+
}));
|
|
1378
|
+
/** ARP blocked IP */
|
|
1379
|
+
export const listIpArp = /*@__PURE__*/ API.make(() => ({
|
|
1380
|
+
input: ListIpArpRequest,
|
|
1381
|
+
output: ListIpArpResponse,
|
|
1382
|
+
errors: [UnknownOvhError],
|
|
1383
|
+
protocol: OvhProtocol,
|
|
1384
|
+
retry: Retry.Retry,
|
|
1385
|
+
}));
|
|
1386
|
+
/** Get available aggregation configurations for this BYOIP Additional IP and it's neighbor(s) */
|
|
1387
|
+
export const listIpBringYourOwnIpAggregate = /*@__PURE__*/ API.make(() => ({
|
|
1388
|
+
input: ListIpBringYourOwnIpAggregateRequest,
|
|
1389
|
+
output: ListIpBringYourOwnIpAggregateResponse,
|
|
1390
|
+
errors: [UnknownOvhError],
|
|
1391
|
+
protocol: OvhProtocol,
|
|
1392
|
+
retry: Retry.Retry,
|
|
1393
|
+
}));
|
|
1394
|
+
/** Get available slicing configurations for this BYOIP Additional IP */
|
|
1395
|
+
export const listIpBringYourOwnIpSlice = /*@__PURE__*/ API.make(() => ({
|
|
1396
|
+
input: ListIpBringYourOwnIpSliceRequest,
|
|
1397
|
+
output: ListIpBringYourOwnIpSliceResponse,
|
|
1398
|
+
errors: [UnknownOvhError],
|
|
1399
|
+
protocol: OvhProtocol,
|
|
1400
|
+
retry: Retry.Retry,
|
|
1401
|
+
}));
|
|
1402
|
+
/** Get IP campuses */
|
|
1403
|
+
export const listIpCampus = /*@__PURE__*/ API.make(() => ({
|
|
1404
|
+
input: ListIpCampusRequest,
|
|
1405
|
+
output: ListIpCampusResponse,
|
|
1406
|
+
errors: [UnknownOvhError],
|
|
1407
|
+
protocol: OvhProtocol,
|
|
1408
|
+
retry: Retry.Retry,
|
|
1409
|
+
}));
|
|
1410
|
+
/** Reverse delegation on IPv6 subnet */
|
|
1411
|
+
export const listIpDelegation = /*@__PURE__*/ API.make(() => ({
|
|
1412
|
+
input: ListIpDelegationRequest,
|
|
1413
|
+
output: ListIpDelegationResponse,
|
|
1414
|
+
errors: [UnknownOvhError],
|
|
1415
|
+
protocol: OvhProtocol,
|
|
1416
|
+
retry: Retry.Retry,
|
|
1417
|
+
}));
|
|
1418
|
+
/** Ip under firewall */
|
|
1419
|
+
export const listIpFirewall = /*@__PURE__*/ API.make(() => ({
|
|
1420
|
+
input: ListIpFirewallRequest,
|
|
1421
|
+
output: ListIpFirewallResponse,
|
|
1422
|
+
errors: [UnknownOvhError],
|
|
1423
|
+
protocol: OvhProtocol,
|
|
1424
|
+
retry: Retry.Retry,
|
|
1425
|
+
}));
|
|
1426
|
+
/** Rules for this IP */
|
|
1427
|
+
export const listIpFirewallRule = /*@__PURE__*/ API.make(() => ({
|
|
1428
|
+
input: ListIpFirewallRuleRequest,
|
|
1429
|
+
output: ListIpFirewallRuleResponse,
|
|
1430
|
+
errors: [UnknownOvhError],
|
|
1431
|
+
protocol: OvhProtocol,
|
|
1432
|
+
retry: Retry.Retry,
|
|
1433
|
+
}));
|
|
1434
|
+
/** Ip under game anti-ddos */
|
|
1435
|
+
export const listIpGame = /*@__PURE__*/ API.make(() => ({
|
|
1436
|
+
input: ListIpGameRequest,
|
|
1437
|
+
output: ListIpGameResponse,
|
|
1438
|
+
errors: [UnknownOvhError],
|
|
1439
|
+
protocol: OvhProtocol,
|
|
1440
|
+
retry: Retry.Retry,
|
|
1441
|
+
}));
|
|
1442
|
+
/** IDs of rules configured for this IP */
|
|
1443
|
+
export const listIpGameRule = /*@__PURE__*/ API.make(() => ({
|
|
1444
|
+
input: ListIpGameRuleRequest,
|
|
1445
|
+
output: ListIpGameRuleResponse,
|
|
1446
|
+
errors: [UnknownOvhError],
|
|
1447
|
+
protocol: OvhProtocol,
|
|
1448
|
+
retry: Retry.Retry,
|
|
1449
|
+
}));
|
|
1450
|
+
/** Cloud Linux licenses associated to this IP */
|
|
1451
|
+
export const listIpLicenseCloudLinux = /*@__PURE__*/ API.make(() => ({
|
|
1452
|
+
input: ListIpLicenseCloudLinuxRequest,
|
|
1453
|
+
output: ListIpLicenseCloudLinuxResponse,
|
|
1454
|
+
errors: [UnknownOvhError],
|
|
1455
|
+
protocol: OvhProtocol,
|
|
1456
|
+
retry: Retry.Retry,
|
|
1457
|
+
}));
|
|
1458
|
+
/** Cpanel licenses associated to this IP */
|
|
1459
|
+
export const listIpLicenseCpanel = /*@__PURE__*/ API.make(() => ({
|
|
1460
|
+
input: ListIpLicenseCpanelRequest,
|
|
1461
|
+
output: ListIpLicenseCpanelResponse,
|
|
1462
|
+
errors: [UnknownOvhError],
|
|
1463
|
+
protocol: OvhProtocol,
|
|
1464
|
+
retry: Retry.Retry,
|
|
1465
|
+
}));
|
|
1466
|
+
/** DirectAdmin licenses associated to this IP */
|
|
1467
|
+
export const listIpLicenseDirectadmin = /*@__PURE__*/ API.make(() => ({
|
|
1468
|
+
input: ListIpLicenseDirectadminRequest,
|
|
1469
|
+
output: ListIpLicenseDirectadminResponse,
|
|
1470
|
+
errors: [UnknownOvhError],
|
|
1471
|
+
protocol: OvhProtocol,
|
|
1472
|
+
retry: Retry.Retry,
|
|
1473
|
+
}));
|
|
1474
|
+
/** Plesk licenses associated to this IP */
|
|
1475
|
+
export const listIpLicensePlesk = /*@__PURE__*/ API.make(() => ({
|
|
1476
|
+
input: ListIpLicensePleskRequest,
|
|
1477
|
+
output: ListIpLicensePleskResponse,
|
|
1478
|
+
errors: [UnknownOvhError],
|
|
1479
|
+
protocol: OvhProtocol,
|
|
1480
|
+
retry: Retry.Retry,
|
|
1481
|
+
}));
|
|
1482
|
+
/** SQL Server licenses associated to this IP */
|
|
1483
|
+
export const listIpLicenseSqlserver = /*@__PURE__*/ API.make(() => ({
|
|
1484
|
+
input: ListIpLicenseSqlserverRequest,
|
|
1485
|
+
output: ListIpLicenseSqlserverResponse,
|
|
1486
|
+
errors: [UnknownOvhError],
|
|
1487
|
+
protocol: OvhProtocol,
|
|
1488
|
+
retry: Retry.Retry,
|
|
1489
|
+
}));
|
|
1490
|
+
/** Virtuozzo licenses associated to this IP */
|
|
1491
|
+
export const listIpLicenseVirtuozzo = /*@__PURE__*/ API.make(() => ({
|
|
1492
|
+
input: ListIpLicenseVirtuozzoRequest,
|
|
1493
|
+
output: ListIpLicenseVirtuozzoResponse,
|
|
1494
|
+
errors: [UnknownOvhError],
|
|
1495
|
+
protocol: OvhProtocol,
|
|
1496
|
+
retry: Retry.Retry,
|
|
1497
|
+
}));
|
|
1498
|
+
/** Windows licenses associated to this IP */
|
|
1499
|
+
export const listIpLicenseWindows = /*@__PURE__*/ API.make(() => ({
|
|
1500
|
+
input: ListIpLicenseWindowsRequest,
|
|
1501
|
+
output: ListIpLicenseWindowsResponse,
|
|
1502
|
+
errors: [UnknownOvhError],
|
|
1503
|
+
protocol: OvhProtocol,
|
|
1504
|
+
retry: Retry.Retry,
|
|
1505
|
+
}));
|
|
1506
|
+
/** WorkLight licenses associated to this IP */
|
|
1507
|
+
export const listIpLicenseWorklight = /*@__PURE__*/ API.make(() => ({
|
|
1508
|
+
input: ListIpLicenseWorklightRequest,
|
|
1509
|
+
output: ListIpLicenseWorklightResponse,
|
|
1510
|
+
errors: [UnknownOvhError],
|
|
1511
|
+
protocol: OvhProtocol,
|
|
1512
|
+
retry: Retry.Retry,
|
|
1513
|
+
}));
|
|
1514
|
+
/** Ip under mitigation */
|
|
1515
|
+
export const listIpMitigation = /*@__PURE__*/ API.make(() => ({
|
|
1516
|
+
input: ListIpMitigationRequest,
|
|
1517
|
+
output: ListIpMitigationResponse,
|
|
1518
|
+
errors: [UnknownOvhError],
|
|
1519
|
+
protocol: OvhProtocol,
|
|
1520
|
+
retry: Retry.Retry,
|
|
1521
|
+
}));
|
|
1522
|
+
/** Manage mitigation profile on your IPs */
|
|
1523
|
+
export const listIpMitigationProfiles = /*@__PURE__*/ API.make(() => ({
|
|
1524
|
+
input: ListIpMitigationProfilesRequest,
|
|
1525
|
+
output: ListIpMitigationProfilesResponse,
|
|
1526
|
+
errors: [UnknownOvhError],
|
|
1527
|
+
protocol: OvhProtocol,
|
|
1528
|
+
retry: Retry.Retry,
|
|
1529
|
+
}));
|
|
1530
|
+
/** List services available as a destination */
|
|
1531
|
+
export const listIpMove = /*@__PURE__*/ API.make(() => ({
|
|
1532
|
+
input: ListIpMoveRequest,
|
|
1533
|
+
output: IpDestinations,
|
|
1534
|
+
errors: [UnknownOvhError],
|
|
1535
|
+
protocol: OvhProtocol,
|
|
1536
|
+
retry: Retry.Retry,
|
|
1537
|
+
}));
|
|
1538
|
+
/** Ip under anti-phishing */
|
|
1539
|
+
export const listIpPhishing = /*@__PURE__*/ API.make(() => ({
|
|
1540
|
+
input: ListIpPhishingRequest,
|
|
1541
|
+
output: ListIpPhishingResponse,
|
|
1542
|
+
errors: [UnknownOvhError],
|
|
1543
|
+
protocol: OvhProtocol,
|
|
1544
|
+
retry: Retry.Retry,
|
|
1545
|
+
}));
|
|
1546
|
+
/** Reverse on your ip */
|
|
1547
|
+
export const listIpReverse = /*@__PURE__*/ API.make(() => ({
|
|
1548
|
+
input: ListIpReverseRequest,
|
|
1549
|
+
output: ListIpReverseResponse,
|
|
1550
|
+
errors: [UnknownOvhError],
|
|
1551
|
+
protocol: OvhProtocol,
|
|
1552
|
+
retry: Retry.Retry,
|
|
1553
|
+
}));
|
|
1554
|
+
/** Your ip services */
|
|
1555
|
+
export const listIpService = /*@__PURE__*/ API.make(() => ({
|
|
1556
|
+
input: ListIpServiceRequest,
|
|
1557
|
+
output: ListIpServiceResponse,
|
|
1558
|
+
errors: [UnknownOvhError],
|
|
1559
|
+
protocol: OvhProtocol,
|
|
1560
|
+
retry: Retry.Retry,
|
|
1561
|
+
}));
|
|
1562
|
+
/** Ip spamming */
|
|
1563
|
+
export const listIpSpam = /*@__PURE__*/ API.make(() => ({
|
|
1564
|
+
input: ListIpSpamRequest,
|
|
1565
|
+
output: ListIpSpamResponse,
|
|
1566
|
+
errors: [UnknownOvhError],
|
|
1567
|
+
protocol: OvhProtocol,
|
|
1568
|
+
retry: Retry.Retry,
|
|
1569
|
+
}));
|
|
1570
|
+
/** Get statistics about the email traffic */
|
|
1571
|
+
export const listIpSpamStats = /*@__PURE__*/ API.make(() => ({
|
|
1572
|
+
input: ListIpSpamStatsRequest,
|
|
1573
|
+
output: ListIpSpamStatsResponse,
|
|
1574
|
+
errors: [UnknownOvhError],
|
|
1575
|
+
protocol: OvhProtocol,
|
|
1576
|
+
retry: Retry.Retry,
|
|
1577
|
+
}));
|
|
1578
|
+
/** IP tasks */
|
|
1579
|
+
export const listIpTask = /*@__PURE__*/ API.make(() => ({
|
|
1580
|
+
input: ListIpTaskRequest,
|
|
1581
|
+
output: ListIpTaskResponse,
|
|
1582
|
+
errors: [UnknownOvhError],
|
|
1583
|
+
protocol: OvhProtocol,
|
|
1584
|
+
retry: Retry.Retry,
|
|
1585
|
+
}));
|
|
1586
|
+
/** Move this IP to another service */
|
|
1587
|
+
export const moveIp = /*@__PURE__*/ API.make(() => ({
|
|
1588
|
+
input: MoveIpRequest,
|
|
1589
|
+
output: IpIpTask,
|
|
1590
|
+
errors: [UnknownOvhError],
|
|
1591
|
+
protocol: OvhProtocol,
|
|
1592
|
+
retry: Retry.Retry,
|
|
1593
|
+
}));
|
|
1594
|
+
/** Alter this object properties */
|
|
1595
|
+
export const putIp = /*@__PURE__*/ API.make(() => ({
|
|
1596
|
+
input: PutIpRequest,
|
|
1597
|
+
output: PutIpResponse,
|
|
1598
|
+
errors: [UnknownOvhError],
|
|
1599
|
+
protocol: OvhProtocol,
|
|
1600
|
+
retry: Retry.Retry,
|
|
1601
|
+
}));
|
|
1602
|
+
/** Alter this object properties */
|
|
1603
|
+
export const putIpFirewall = /*@__PURE__*/ API.make(() => ({
|
|
1604
|
+
input: PutIpFirewallRequest,
|
|
1605
|
+
output: PutIpFirewallResponse,
|
|
1606
|
+
errors: [UnknownOvhError],
|
|
1607
|
+
protocol: OvhProtocol,
|
|
1608
|
+
retry: Retry.Retry,
|
|
1609
|
+
}));
|
|
1610
|
+
/** Alter this object properties */
|
|
1611
|
+
export const putIpGame = /*@__PURE__*/ API.make(() => ({
|
|
1612
|
+
input: PutIpGameRequest,
|
|
1613
|
+
output: PutIpGameResponse,
|
|
1614
|
+
errors: [UnknownOvhError],
|
|
1615
|
+
protocol: OvhProtocol,
|
|
1616
|
+
retry: Retry.Retry,
|
|
1617
|
+
}));
|
|
1618
|
+
/** Alter this object properties */
|
|
1619
|
+
export const putIpMitigation = /*@__PURE__*/ API.make(() => ({
|
|
1620
|
+
input: PutIpMitigationRequest,
|
|
1621
|
+
output: PutIpMitigationResponse,
|
|
1622
|
+
errors: [UnknownOvhError],
|
|
1623
|
+
protocol: OvhProtocol,
|
|
1624
|
+
retry: Retry.Retry,
|
|
1625
|
+
}));
|
|
1626
|
+
/** Alter this object properties */
|
|
1627
|
+
export const putIpMitigationProfile = /*@__PURE__*/ API.make(() => ({
|
|
1628
|
+
input: PutIpMitigationProfileRequest,
|
|
1629
|
+
output: PutIpMitigationProfileResponse,
|
|
1630
|
+
errors: [UnknownOvhError],
|
|
1631
|
+
protocol: OvhProtocol,
|
|
1632
|
+
retry: Retry.Retry,
|
|
1633
|
+
}));
|
|
1634
|
+
/** Alter this object properties */
|
|
1635
|
+
export const putIpRipe = /*@__PURE__*/ API.make(() => ({
|
|
1636
|
+
input: PutIpRipeRequest,
|
|
1637
|
+
output: PutIpRipeResponse,
|
|
1638
|
+
errors: [UnknownOvhError],
|
|
1639
|
+
protocol: OvhProtocol,
|
|
1640
|
+
retry: Retry.Retry,
|
|
1641
|
+
}));
|
|
1642
|
+
/** Alter this object properties */
|
|
1643
|
+
export const putIpService = /*@__PURE__*/ API.make(() => ({
|
|
1644
|
+
input: PutIpServiceRequest,
|
|
1645
|
+
output: PutIpServiceResponse,
|
|
1646
|
+
errors: [UnknownOvhError],
|
|
1647
|
+
protocol: OvhProtocol,
|
|
1648
|
+
retry: Retry.Retry,
|
|
1649
|
+
}));
|
|
1650
|
+
/** Update service information */
|
|
1651
|
+
export const putIpServiceServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1652
|
+
input: PutIpServiceServiceInfosRequest,
|
|
1653
|
+
output: PutIpServiceServiceInfosResponse,
|
|
1654
|
+
errors: [UnknownOvhError],
|
|
1655
|
+
protocol: OvhProtocol,
|
|
1656
|
+
retry: Retry.Retry,
|
|
1657
|
+
}));
|
|
1658
|
+
/** 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. */
|
|
1659
|
+
export const terminateIpService = /*@__PURE__*/ API.make(() => ({
|
|
1660
|
+
input: TerminateIpServiceRequest,
|
|
1661
|
+
output: TerminateIpServiceResponse,
|
|
1662
|
+
errors: [UnknownOvhError],
|
|
1663
|
+
protocol: OvhProtocol,
|
|
1664
|
+
retry: Retry.Retry,
|
|
1665
|
+
}));
|
|
1666
|
+
/** Unblock this IP */
|
|
1667
|
+
export const unblockIpAntihack = /*@__PURE__*/ API.make(() => ({
|
|
1668
|
+
input: UnblockIpAntihackRequest,
|
|
1669
|
+
output: UnblockIpAntihackResponse,
|
|
1670
|
+
errors: [UnknownOvhError],
|
|
1671
|
+
protocol: OvhProtocol,
|
|
1672
|
+
retry: Retry.Retry,
|
|
1673
|
+
}));
|
|
1674
|
+
/** Unblock this IP */
|
|
1675
|
+
export const unblockIpArp = /*@__PURE__*/ API.make(() => ({
|
|
1676
|
+
input: UnblockIpArpRequest,
|
|
1677
|
+
output: UnblockIpArpResponse,
|
|
1678
|
+
errors: [UnknownOvhError],
|
|
1679
|
+
protocol: OvhProtocol,
|
|
1680
|
+
retry: Retry.Retry,
|
|
1681
|
+
}));
|
|
1682
|
+
/** Release the ip from anti-spam system */
|
|
1683
|
+
export const unblockIpSpam = /*@__PURE__*/ API.make(() => ({
|
|
1684
|
+
input: UnblockIpSpamRequest,
|
|
1685
|
+
output: IpSpamIp,
|
|
1686
|
+
errors: [UnknownOvhError],
|
|
1687
|
+
protocol: OvhProtocol,
|
|
1688
|
+
retry: Retry.Retry,
|
|
1689
|
+
}));
|
|
1690
|
+
//# sourceMappingURL=ip.js.map
|