@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +38 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +54 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +36 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +26 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +22 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +22 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +8 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +8 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +60 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +32 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/baremetal.d.ts +3551 -0
  27. package/lib/services/baremetal.d.ts.map +1 -0
  28. package/lib/services/baremetal.js +4200 -0
  29. package/lib/services/baremetal.js.map +1 -0
  30. package/lib/services/cloud.d.ts +26011 -0
  31. package/lib/services/cloud.d.ts.map +1 -0
  32. package/lib/services/cloud.js +31119 -0
  33. package/lib/services/cloud.js.map +1 -0
  34. package/lib/services/cloud_v2.d.ts +5642 -0
  35. package/lib/services/cloud_v2.d.ts.map +1 -0
  36. package/lib/services/cloud_v2.js +5760 -0
  37. package/lib/services/cloud_v2.js.map +1 -0
  38. package/lib/services/dedicatedceph.d.ts +747 -0
  39. package/lib/services/dedicatedceph.d.ts.map +1 -0
  40. package/lib/services/dedicatedceph.js +962 -0
  41. package/lib/services/dedicatedceph.js.map +1 -0
  42. package/lib/services/dedicatednasha.d.ts +755 -0
  43. package/lib/services/dedicatednasha.d.ts.map +1 -0
  44. package/lib/services/dedicatednasha.js +967 -0
  45. package/lib/services/dedicatednasha.js.map +1 -0
  46. package/lib/services/domain.d.ts +2995 -0
  47. package/lib/services/domain.d.ts.map +1 -0
  48. package/lib/services/domain.js +3080 -0
  49. package/lib/services/domain.js.map +1 -0
  50. package/lib/services/emaildomain.d.ts +1913 -0
  51. package/lib/services/emaildomain.d.ts.map +1 -0
  52. package/lib/services/emaildomain.js +2550 -0
  53. package/lib/services/emaildomain.js.map +1 -0
  54. package/lib/services/emailmxplan.d.ts +1012 -0
  55. package/lib/services/emailmxplan.d.ts.map +1 -0
  56. package/lib/services/emailmxplan.js +1155 -0
  57. package/lib/services/emailmxplan.js.map +1 -0
  58. package/lib/services/emailpro.d.ts +1287 -0
  59. package/lib/services/emailpro.d.ts.map +1 -0
  60. package/lib/services/emailpro.js +1471 -0
  61. package/lib/services/emailpro.js.map +1 -0
  62. package/lib/services/hostingprivatedatabase.d.ts +1402 -0
  63. package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
  64. package/lib/services/hostingprivatedatabase.js +1833 -0
  65. package/lib/services/hostingprivatedatabase.js.map +1 -0
  66. package/lib/services/iam.d.ts +829 -0
  67. package/lib/services/iam.d.ts.map +1 -0
  68. package/lib/services/iam.js +793 -0
  69. package/lib/services/iam.js.map +1 -0
  70. package/lib/services/index.d.ts +31 -0
  71. package/lib/services/index.d.ts.map +1 -0
  72. package/lib/services/index.js +32 -0
  73. package/lib/services/index.js.map +1 -0
  74. package/lib/services/ip.d.ts +1417 -0
  75. package/lib/services/ip.d.ts.map +1 -0
  76. package/lib/services/ip.js +1691 -0
  77. package/lib/services/ip.js.map +1 -0
  78. package/lib/services/iploadbalancing.d.ts +3059 -0
  79. package/lib/services/iploadbalancing.d.ts.map +1 -0
  80. package/lib/services/iploadbalancing.js +3554 -0
  81. package/lib/services/iploadbalancing.js.map +1 -0
  82. package/lib/services/ldp.d.ts +2492 -0
  83. package/lib/services/ldp.d.ts.map +1 -0
  84. package/lib/services/ldp.js +3072 -0
  85. package/lib/services/ldp.js.map +1 -0
  86. package/lib/services/me.d.ts +7511 -0
  87. package/lib/services/me.d.ts.map +1 -0
  88. package/lib/services/me.js +8878 -0
  89. package/lib/services/me.js.map +1 -0
  90. package/lib/services/overthebox.d.ts +981 -0
  91. package/lib/services/overthebox.d.ts.map +1 -0
  92. package/lib/services/overthebox.js +1122 -0
  93. package/lib/services/overthebox.js.map +1 -0
  94. package/lib/services/ovhcloudconnect.d.ts +1123 -0
  95. package/lib/services/ovhcloudconnect.d.ts.map +1 -0
  96. package/lib/services/ovhcloudconnect.js +1353 -0
  97. package/lib/services/ovhcloudconnect.js.map +1 -0
  98. package/lib/services/packxdsl.d.ts +1583 -0
  99. package/lib/services/packxdsl.d.ts.map +1 -0
  100. package/lib/services/packxdsl.js +1791 -0
  101. package/lib/services/packxdsl.js.map +1 -0
  102. package/lib/services/sms.d.ts +2602 -0
  103. package/lib/services/sms.d.ts.map +1 -0
  104. package/lib/services/sms.js +2995 -0
  105. package/lib/services/sms.js.map +1 -0
  106. package/lib/services/sslgateway.d.ts +493 -0
  107. package/lib/services/sslgateway.d.ts.map +1 -0
  108. package/lib/services/sslgateway.js +569 -0
  109. package/lib/services/sslgateway.js.map +1 -0
  110. package/lib/services/storagenetapp.d.ts +859 -0
  111. package/lib/services/storagenetapp.d.ts.map +1 -0
  112. package/lib/services/storagenetapp.js +1022 -0
  113. package/lib/services/storagenetapp.js.map +1 -0
  114. package/lib/services/support.d.ts +233 -0
  115. package/lib/services/support.d.ts.map +1 -0
  116. package/lib/services/support.js +237 -0
  117. package/lib/services/support.js.map +1 -0
  118. package/lib/services/telephony.d.ts +10825 -0
  119. package/lib/services/telephony.d.ts.map +1 -0
  120. package/lib/services/telephony.js +14894 -0
  121. package/lib/services/telephony.js.map +1 -0
  122. package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
  123. package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
  124. package/lib/services/vmwareclouddirectorbackup.js +842 -0
  125. package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
  126. package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
  127. package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
  128. package/lib/services/vmwareclouddirectororganization.js +842 -0
  129. package/lib/services/vmwareclouddirectororganization.js.map +1 -0
  130. package/lib/services/vps.d.ts +1579 -0
  131. package/lib/services/vps.d.ts.map +1 -0
  132. package/lib/services/vps.js +1914 -0
  133. package/lib/services/vps.js.map +1 -0
  134. package/lib/services/vrack.d.ts +1204 -0
  135. package/lib/services/vrack.d.ts.map +1 -0
  136. package/lib/services/vrack.js +1627 -0
  137. package/lib/services/vrack.js.map +1 -0
  138. package/lib/services/vrackservices.d.ts +394 -0
  139. package/lib/services/vrackservices.d.ts.map +1 -0
  140. package/lib/services/vrackservices.js +355 -0
  141. package/lib/services/vrackservices.js.map +1 -0
  142. package/lib/services/webhosting.d.ts +3986 -0
  143. package/lib/services/webhosting.d.ts.map +1 -0
  144. package/lib/services/webhosting.js +4527 -0
  145. package/lib/services/webhosting.js.map +1 -0
  146. package/lib/services/xdsl.d.ts +3433 -0
  147. package/lib/services/xdsl.d.ts.map +1 -0
  148. package/lib/services/xdsl.js +3682 -0
  149. package/lib/services/xdsl.js.map +1 -0
  150. package/lib/traits.d.ts +11 -0
  151. package/lib/traits.d.ts.map +1 -0
  152. package/lib/traits.js +11 -0
  153. package/lib/traits.js.map +1 -0
  154. package/package.json +77 -6
  155. package/src/credentials.ts +77 -0
  156. package/src/errors.ts +50 -0
  157. package/src/index.ts +21 -0
  158. package/src/pagination.ts +7 -0
  159. package/src/protocol.ts +86 -0
  160. package/src/retry.ts +54 -0
  161. package/src/services/baremetal.ts +10954 -0
  162. package/src/services/cloud.ts +75508 -0
  163. package/src/services/cloud_v2.ts +14751 -0
  164. package/src/services/dedicatedceph.ts +2233 -0
  165. package/src/services/dedicatednasha.ts +2269 -0
  166. package/src/services/domain.ts +7998 -0
  167. package/src/services/emaildomain.ts +5751 -0
  168. package/src/services/emailmxplan.ts +2764 -0
  169. package/src/services/emailpro.ts +3519 -0
  170. package/src/services/hostingprivatedatabase.ts +4218 -0
  171. package/src/services/iam.ts +2060 -0
  172. package/src/services/index.ts +31 -0
  173. package/src/services/ip.ts +4462 -0
  174. package/src/services/iploadbalancing.ts +8422 -0
  175. package/src/services/ldp.ts +7274 -0
  176. package/src/services/me.ts +21720 -0
  177. package/src/services/overthebox.ts +2693 -0
  178. package/src/services/ovhcloudconnect.ts +3226 -0
  179. package/src/services/packxdsl.ts +4623 -0
  180. package/src/services/sms.ts +7255 -0
  181. package/src/services/sslgateway.ts +1408 -0
  182. package/src/services/storagenetapp.ts +2433 -0
  183. package/src/services/support.ts +598 -0
  184. package/src/services/telephony.ts +32941 -0
  185. package/src/services/vmwareclouddirectorbackup.ts +2171 -0
  186. package/src/services/vmwareclouddirectororganization.ts +2171 -0
  187. package/src/services/vps.ts +5134 -0
  188. package/src/services/vrack.ts +3730 -0
  189. package/src/services/vrackservices.ts +939 -0
  190. package/src/services/webhosting.ts +11290 -0
  191. package/src/services/xdsl.ts +9278 -0
  192. package/src/traits.ts +44 -0
@@ -0,0 +1,1353 @@
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 = /*@__PURE__*/ S.String;
9
+ export const ServiceTerminationReasonEnum = /*@__PURE__*/ S.String;
10
+ export const ConfirmOvhCloudConnectTerminationRequest = /*@__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: "/ovhCloudConnect/{serviceName}/confirmTermination",
19
+ code: 200,
20
+ }))).annotate({
21
+ identifier: "ConfirmOvhCloudConnectTerminationRequest",
22
+ });
23
+ export const ConfirmOvhCloudConnectTerminationResponse =
24
+ /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
25
+ identifier: "ConfirmOvhCloudConnectTerminationResponse",
26
+ });
27
+ export const CreateOvhCloudConnectChangeContactRequest =
28
+ /*@__PURE__*/ S.suspend(() => S.Struct({
29
+ serviceName: S.String.pipe(T.Label()),
30
+ contactAdmin: S.optional(S.String),
31
+ contactBilling: S.optional(S.String),
32
+ contactTech: S.optional(S.String),
33
+ }).pipe(T.Http({
34
+ method: "POST",
35
+ uri: "/ovhCloudConnect/{serviceName}/changeContact",
36
+ code: 200,
37
+ }))).annotate({
38
+ identifier: "CreateOvhCloudConnectChangeContactRequest",
39
+ });
40
+ export const CreateOvhCloudConnectChangeContactResponseBodyList =
41
+ /*@__PURE__*/ S.Array(S.Number);
42
+ export const CreateOvhCloudConnectChangeContactResponse =
43
+ /*@__PURE__*/ S.suspend(() => CreateOvhCloudConnectChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
44
+ identifier: "CreateOvhCloudConnectChangeContactResponse",
45
+ });
46
+ export const OvhcloudconnectPopConfigTypeEnum = /*@__PURE__*/ S.String;
47
+ export const CreateOvhCloudConnectConfigPopRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
48
+ serviceName: S.String.pipe(T.Label()),
49
+ customerBgpArea: S.optional(S.NullOr(S.Number)),
50
+ interfaceId: S.Number,
51
+ ovhBgpArea: S.optional(S.NullOr(S.Number)),
52
+ subnet: S.optional(S.NullOr(S.String)),
53
+ type: OvhcloudconnectPopConfigTypeEnum,
54
+ }).pipe(T.Http({
55
+ method: "POST",
56
+ uri: "/ovhCloudConnect/{serviceName}/config/pop",
57
+ code: 200,
58
+ }))).annotate({
59
+ identifier: "CreateOvhCloudConnectConfigPopRequest",
60
+ });
61
+ export const OvhcloudconnectTaskFunctionEnum = /*@__PURE__*/ S.String;
62
+ export const OvhcloudconnectTaskStatusEnum = /*@__PURE__*/ S.String;
63
+ export const OvhcloudconnectTask = /*@__PURE__*/ S.suspend(() => S.Struct({
64
+ function: S.optional(OvhcloudconnectTaskFunctionEnum),
65
+ id: S.optional(S.Number),
66
+ resourceId: S.optional(S.Number),
67
+ status: S.optional(OvhcloudconnectTaskStatusEnum),
68
+ })).annotate({
69
+ identifier: "OvhcloudconnectTask",
70
+ });
71
+ export const CreateOvhCloudConnectConfigPopDatacenterRequest =
72
+ /*@__PURE__*/ S.suspend(() => S.Struct({
73
+ serviceName: S.String.pipe(T.Label()),
74
+ popId: S.Number.pipe(T.Label()),
75
+ datacenterId: S.Number,
76
+ ovhBgpArea: S.optional(S.NullOr(S.Number)),
77
+ subnet: S.optional(S.NullOr(S.String)),
78
+ }).pipe(T.Http({
79
+ method: "POST",
80
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter",
81
+ code: 200,
82
+ }))).annotate({
83
+ identifier: "CreateOvhCloudConnectConfigPopDatacenterRequest",
84
+ });
85
+ export const OvhcloudconnectDatacenterExtraConfigTypeEnum =
86
+ /*@__PURE__*/ S.String;
87
+ export const CreateOvhCloudConnectConfigPopDatacenterExtraRequest =
88
+ /*@__PURE__*/ S.suspend(() => S.Struct({
89
+ serviceName: S.String.pipe(T.Label()),
90
+ popId: S.Number.pipe(T.Label()),
91
+ datacenterId: S.Number.pipe(T.Label()),
92
+ bgpNeighborArea: S.optional(S.NullOr(S.Number)),
93
+ bgpNeighborIp: S.optional(S.NullOr(S.String)),
94
+ nextHop: S.optional(S.NullOr(S.String)),
95
+ subnet: S.optional(S.NullOr(S.String)),
96
+ type: OvhcloudconnectDatacenterExtraConfigTypeEnum,
97
+ }).pipe(T.Http({
98
+ method: "POST",
99
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}/extra",
100
+ code: 200,
101
+ }))).annotate({
102
+ identifier: "CreateOvhCloudConnectConfigPopDatacenterExtraRequest",
103
+ });
104
+ export const OvhcloudconnectDiagnosticFunctionEnum = /*@__PURE__*/ S.String;
105
+ export const OvhcloudconnectDiagnosticTypeEnum = /*@__PURE__*/ S.String;
106
+ export const CreateOvhCloudConnectDiagnosticRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
107
+ serviceName: S.String.pipe(T.Label()),
108
+ dcConfigId: S.optional(S.Number),
109
+ diagnosticName: OvhcloudconnectDiagnosticFunctionEnum,
110
+ diagnosticType: S.optional(OvhcloudconnectDiagnosticTypeEnum),
111
+ extraConfigId: S.optional(S.Number),
112
+ popConfigId: S.Number,
113
+ }).pipe(T.Http({
114
+ method: "POST",
115
+ uri: "/ovhCloudConnect/{serviceName}/diagnostic",
116
+ code: 200,
117
+ }))).annotate({
118
+ identifier: "CreateOvhCloudConnectDiagnosticRequest",
119
+ });
120
+ export const OvhcloudconnectDiagnosticResult = /*@__PURE__*/ S.suspend(() => S.Struct({
121
+ aspath: S.optional(S.NullOr(S.String)),
122
+ cmd: S.optional(S.NullOr(S.String)),
123
+ localprefix: S.optional(S.NullOr(S.Number)),
124
+ mac: S.optional(S.NullOr(S.String)),
125
+ med: S.optional(S.NullOr(S.Number)),
126
+ output: S.optional(S.NullOr(S.String)),
127
+ prefix: S.optional(S.NullOr(S.String)),
128
+ routermac: S.optional(S.NullOr(S.String)),
129
+ timestamp: S.optional(S.NullOr(S.String)),
130
+ })).annotate({
131
+ identifier: "OvhcloudconnectDiagnosticResult",
132
+ });
133
+ export const OvhcloudconnectDiagnosticResultList = /*@__PURE__*/ S.Array(OvhcloudconnectDiagnosticResult);
134
+ export const OvhcloudconnectDiagnostic = /*@__PURE__*/ S.suspend(() => S.Struct({
135
+ date: S.optional(S.NullOr(S.String)),
136
+ description: S.optional(S.NullOr(S.String)),
137
+ function: S.optional(OvhcloudconnectDiagnosticFunctionEnum),
138
+ id: S.optional(S.Number),
139
+ result: S.optional(S.NullOr(OvhcloudconnectDiagnosticResultList)),
140
+ source: S.optional(S.NullOr(S.String)),
141
+ status: S.optional(OvhcloudconnectTaskStatusEnum),
142
+ })).annotate({
143
+ identifier: "OvhcloudconnectDiagnostic",
144
+ });
145
+ export const CreateOvhCloudConnectLoaRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
146
+ serviceName: S.String.pipe(T.Label()),
147
+ }).pipe(T.Http({
148
+ method: "POST",
149
+ uri: "/ovhCloudConnect/{serviceName}/loa",
150
+ code: 200,
151
+ }))).annotate({
152
+ identifier: "CreateOvhCloudConnectLoaRequest",
153
+ });
154
+ export const CreateOvhCloudConnectLoaResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
155
+ identifier: "CreateOvhCloudConnectLoaResponse",
156
+ });
157
+ export const CreateOvhCloudConnectLogSubscriptionRequest =
158
+ /*@__PURE__*/ S.suspend(() => S.Struct({
159
+ serviceName: S.String.pipe(T.Label()),
160
+ kind: S.String,
161
+ streamId: S.String,
162
+ }).pipe(T.Http({
163
+ method: "POST",
164
+ uri: "/ovhCloudConnect/{serviceName}/log/subscription",
165
+ code: 200,
166
+ }))).annotate({
167
+ identifier: "CreateOvhCloudConnectLogSubscriptionRequest",
168
+ });
169
+ export const DbaasLogsLogSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
170
+ operationId: S.optional(S.String),
171
+ serviceName: S.optional(S.String),
172
+ })).annotate({
173
+ identifier: "DbaasLogsLogSubscriptionResponse",
174
+ });
175
+ export const CreateOvhCloudConnectLogUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
176
+ serviceName: S.String.pipe(T.Label()),
177
+ kind: S.String,
178
+ }).pipe(T.Http({
179
+ method: "POST",
180
+ uri: "/ovhCloudConnect/{serviceName}/log/url",
181
+ code: 200,
182
+ }))).annotate({
183
+ identifier: "CreateOvhCloudConnectLogUrlRequest",
184
+ });
185
+ export const DbaasLogsTemporaryLogsLink = /*@__PURE__*/ S.suspend(() => S.Struct({
186
+ expirationDate: S.optional(S.String),
187
+ url: S.optional(S.String),
188
+ })).annotate({
189
+ identifier: "DbaasLogsTemporaryLogsLink",
190
+ });
191
+ export const CreateOvhCloudConnectMonitoringRequestSubscriptionsList =
192
+ /*@__PURE__*/ S.Array(S.String);
193
+ export const CreateOvhCloudConnectMonitoringRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
194
+ serviceName: S.String.pipe(T.Label()),
195
+ subscriptions: S.optional(CreateOvhCloudConnectMonitoringRequestSubscriptionsList),
196
+ }).pipe(T.Http({
197
+ method: "POST",
198
+ uri: "/ovhCloudConnect/{serviceName}/monitoring",
199
+ code: 200,
200
+ }))).annotate({
201
+ identifier: "CreateOvhCloudConnectMonitoringRequest",
202
+ });
203
+ export const CreateOvhCloudConnectMonitoringResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
204
+ identifier: "CreateOvhCloudConnectMonitoringResponse",
205
+ });
206
+ export const DeleteOvhCloudConnectConfigPopRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
207
+ serviceName: S.String.pipe(T.Label()),
208
+ popId: S.Number.pipe(T.Label()),
209
+ }).pipe(T.Http({
210
+ method: "DELETE",
211
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}",
212
+ code: 200,
213
+ }))).annotate({
214
+ identifier: "DeleteOvhCloudConnectConfigPopRequest",
215
+ });
216
+ export const DeleteOvhCloudConnectConfigPopDatacenterRequest =
217
+ /*@__PURE__*/ S.suspend(() => S.Struct({
218
+ serviceName: S.String.pipe(T.Label()),
219
+ popId: S.Number.pipe(T.Label()),
220
+ datacenterId: S.Number.pipe(T.Label()),
221
+ }).pipe(T.Http({
222
+ method: "DELETE",
223
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}",
224
+ code: 200,
225
+ }))).annotate({
226
+ identifier: "DeleteOvhCloudConnectConfigPopDatacenterRequest",
227
+ });
228
+ export const DeleteOvhCloudConnectConfigPopDatacenterExtraRequest =
229
+ /*@__PURE__*/ S.suspend(() => S.Struct({
230
+ serviceName: S.String.pipe(T.Label()),
231
+ popId: S.Number.pipe(T.Label()),
232
+ datacenterId: S.Number.pipe(T.Label()),
233
+ extraId: S.Number.pipe(T.Label()),
234
+ }).pipe(T.Http({
235
+ method: "DELETE",
236
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}/extra/{extraId}",
237
+ code: 200,
238
+ }))).annotate({
239
+ identifier: "DeleteOvhCloudConnectConfigPopDatacenterExtraRequest",
240
+ });
241
+ export const DeleteOvhCloudConnectLogSubscriptionRequest =
242
+ /*@__PURE__*/ S.suspend(() => S.Struct({
243
+ serviceName: S.String.pipe(T.Label()),
244
+ subscriptionId: S.String.pipe(T.Label()),
245
+ }).pipe(T.Http({
246
+ method: "DELETE",
247
+ uri: "/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId}",
248
+ code: 200,
249
+ }))).annotate({
250
+ identifier: "DeleteOvhCloudConnectLogSubscriptionRequest",
251
+ });
252
+ export const DeleteOvhCloudConnectMonitoringRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
253
+ serviceName: S.String.pipe(T.Label()),
254
+ }).pipe(T.Http({
255
+ method: "DELETE",
256
+ uri: "/ovhCloudConnect/{serviceName}/monitoring",
257
+ code: 200,
258
+ }))).annotate({
259
+ identifier: "DeleteOvhCloudConnectMonitoringRequest",
260
+ });
261
+ export const DeleteOvhCloudConnectMonitoringResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
262
+ identifier: "DeleteOvhCloudConnectMonitoringResponse",
263
+ });
264
+ export const GetOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
265
+ serviceName: S.String.pipe(T.Label()),
266
+ }).pipe(T.Http({ method: "GET", uri: "/ovhCloudConnect/{serviceName}", code: 200 }))).annotate({
267
+ identifier: "GetOvhCloudConnectRequest",
268
+ });
269
+ export const OvhcloudconnectServiceBandwidthEnum = /*@__PURE__*/ S.String;
270
+ export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
271
+ export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
272
+ displayName: S.optional(S.NullOr(S.String)),
273
+ id: S.optional(S.String),
274
+ tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
275
+ urn: S.optional(S.String),
276
+ })).annotate({
277
+ identifier: "IamResourceMetadata",
278
+ });
279
+ export const OvhcloudconnectServiceWithIAMInterfaceListList =
280
+ /*@__PURE__*/ S.Array(S.Number);
281
+ export const OvhcloudconnectServicePortEnum = /*@__PURE__*/ S.String;
282
+ export const OvhcloudconnectServiceProviderEnum = /*@__PURE__*/ S.String;
283
+ export const OvhcloudconnectServiceStatusEnum = /*@__PURE__*/ S.String;
284
+ export const OvhcloudconnectServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
285
+ bandwidth: S.optional(OvhcloudconnectServiceBandwidthEnum),
286
+ description: S.optional(S.String),
287
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
288
+ interfaceList: S.optional(OvhcloudconnectServiceWithIAMInterfaceListList),
289
+ pop: S.optional(S.String),
290
+ portQuantity: S.optional(OvhcloudconnectServicePortEnum),
291
+ product: S.optional(S.String),
292
+ provider: S.optional(OvhcloudconnectServiceProviderEnum),
293
+ status: S.optional(OvhcloudconnectServiceStatusEnum),
294
+ uuid: S.optional(S.String),
295
+ vrack: S.optional(S.NullOr(S.String)),
296
+ })).annotate({
297
+ identifier: "OvhcloudconnectServiceWithIAM",
298
+ });
299
+ export const GetOvhCloudConnectConfigPopRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
300
+ serviceName: S.String.pipe(T.Label()),
301
+ popId: S.Number.pipe(T.Label()),
302
+ }).pipe(T.Http({
303
+ method: "GET",
304
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}",
305
+ code: 200,
306
+ }))).annotate({
307
+ identifier: "GetOvhCloudConnectConfigPopRequest",
308
+ });
309
+ export const OvhcloudconnectPopConfigStatusEnum = /*@__PURE__*/ S.String;
310
+ export const OvhcloudconnectPopConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
311
+ customerBgpArea: S.optional(S.NullOr(S.Number)),
312
+ id: S.optional(S.Number),
313
+ interfaceId: S.Number,
314
+ ovhBgpArea: S.optional(S.NullOr(S.Number)),
315
+ status: S.optional(OvhcloudconnectPopConfigStatusEnum),
316
+ subnet: S.optional(S.NullOr(S.String)),
317
+ type: OvhcloudconnectPopConfigTypeEnum,
318
+ })).annotate({
319
+ identifier: "OvhcloudconnectPopConfig",
320
+ });
321
+ export const GetOvhCloudConnectConfigPopDatacenterRequest =
322
+ /*@__PURE__*/ S.suspend(() => S.Struct({
323
+ serviceName: S.String.pipe(T.Label()),
324
+ popId: S.Number.pipe(T.Label()),
325
+ datacenterId: S.Number.pipe(T.Label()),
326
+ }).pipe(T.Http({
327
+ method: "GET",
328
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}",
329
+ code: 200,
330
+ }))).annotate({
331
+ identifier: "GetOvhCloudConnectConfigPopDatacenterRequest",
332
+ });
333
+ export const OvhcloudconnectDatacenterConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
334
+ datacenterId: S.Number,
335
+ id: S.optional(S.Number),
336
+ ovhBgpArea: S.optional(S.NullOr(S.Number)),
337
+ status: S.optional(OvhcloudconnectPopConfigStatusEnum),
338
+ subnet: S.optional(S.NullOr(S.String)),
339
+ })).annotate({
340
+ identifier: "OvhcloudconnectDatacenterConfig",
341
+ });
342
+ export const GetOvhCloudConnectConfigPopDatacenterExtraRequest =
343
+ /*@__PURE__*/ S.suspend(() => S.Struct({
344
+ serviceName: S.String.pipe(T.Label()),
345
+ popId: S.Number.pipe(T.Label()),
346
+ datacenterId: S.Number.pipe(T.Label()),
347
+ extraId: S.Number.pipe(T.Label()),
348
+ }).pipe(T.Http({
349
+ method: "GET",
350
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}/extra/{extraId}",
351
+ code: 200,
352
+ }))).annotate({
353
+ identifier: "GetOvhCloudConnectConfigPopDatacenterExtraRequest",
354
+ });
355
+ export const OvhcloudconnectDatacenterExtraConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
356
+ bgpNeighborArea: S.optional(S.NullOr(S.Number)),
357
+ bgpNeighborIp: S.optional(S.NullOr(S.String)),
358
+ id: S.optional(S.Number),
359
+ nextHop: S.optional(S.NullOr(S.String)),
360
+ status: S.optional(OvhcloudconnectPopConfigStatusEnum),
361
+ subnet: S.optional(S.NullOr(S.String)),
362
+ type: OvhcloudconnectDatacenterExtraConfigTypeEnum,
363
+ })).annotate({
364
+ identifier: "OvhcloudconnectDatacenterExtraConfig",
365
+ });
366
+ export const GetOvhCloudConnectConfigPopStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
367
+ serviceName: S.String.pipe(T.Label()),
368
+ popId: S.Number.pipe(T.Label()),
369
+ }).pipe(T.Http({
370
+ method: "GET",
371
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/status",
372
+ code: 200,
373
+ }))).annotate({
374
+ identifier: "GetOvhCloudConnectConfigPopStatusRequest",
375
+ });
376
+ export const OvhcloudconnectStatusStatusEnum = /*@__PURE__*/ S.String;
377
+ export const OvhcloudconnectPopConfStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
378
+ flapCount: S.optional(S.NullOr(S.Number)),
379
+ lastChange: S.optional(S.NullOr(S.String)),
380
+ lastDown: S.optional(S.NullOr(S.String)),
381
+ lastUp: S.optional(S.NullOr(S.String)),
382
+ lastUpdate: S.optional(S.String),
383
+ status: S.optional(OvhcloudconnectStatusStatusEnum),
384
+ })).annotate({
385
+ identifier: "OvhcloudconnectPopConfStatus",
386
+ });
387
+ export const GetOvhCloudConnectDatacenterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
388
+ serviceName: S.String.pipe(T.Label()),
389
+ id: S.Number.pipe(T.Label()),
390
+ }).pipe(T.Http({
391
+ method: "GET",
392
+ uri: "/ovhCloudConnect/{serviceName}/datacenter/{id}",
393
+ code: 200,
394
+ }))).annotate({
395
+ identifier: "GetOvhCloudConnectDatacenterRequest",
396
+ });
397
+ export const CommonRegionEnum = /*@__PURE__*/ S.String;
398
+ export const OvhcloudconnectDatacenterRegionTypeEnum = /*@__PURE__*/ S.String;
399
+ export const OvhcloudconnectDatacenter = /*@__PURE__*/ S.suspend(() => S.Struct({
400
+ available: S.optional(S.Boolean),
401
+ id: S.optional(S.Number),
402
+ name: S.optional(S.String),
403
+ region: S.optional(CommonRegionEnum),
404
+ regionType: S.optional(OvhcloudconnectDatacenterRegionTypeEnum),
405
+ })).annotate({
406
+ identifier: "OvhcloudconnectDatacenter",
407
+ });
408
+ export const GetOvhCloudConnectDiagnosticRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
409
+ serviceName: S.String.pipe(T.Label()),
410
+ id: S.Number.pipe(T.Label()),
411
+ }).pipe(T.Http({
412
+ method: "GET",
413
+ uri: "/ovhCloudConnect/{serviceName}/diagnostic/{id}",
414
+ code: 200,
415
+ }))).annotate({
416
+ identifier: "GetOvhCloudConnectDiagnosticRequest",
417
+ });
418
+ export const GetOvhCloudConnectIncidentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
419
+ serviceName: S.String.pipe(T.Label()),
420
+ id: S.Number.pipe(T.Label()),
421
+ }).pipe(T.Http({
422
+ method: "GET",
423
+ uri: "/ovhCloudConnect/{serviceName}/incident/{id}",
424
+ code: 200,
425
+ }))).annotate({
426
+ identifier: "GetOvhCloudConnectIncidentRequest",
427
+ });
428
+ export const OvhcloudconnectIncidentTypeEnum = /*@__PURE__*/ S.String;
429
+ export const OvhcloudconnectIncident = /*@__PURE__*/ S.suspend(() => S.Struct({
430
+ endDate: S.optional(S.NullOr(S.String)),
431
+ id: S.optional(S.Number),
432
+ startDate: S.optional(S.String),
433
+ type: S.optional(OvhcloudconnectIncidentTypeEnum),
434
+ })).annotate({
435
+ identifier: "OvhcloudconnectIncident",
436
+ });
437
+ export const GetOvhCloudConnectInterfaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
438
+ serviceName: S.String.pipe(T.Label()),
439
+ id: S.Number.pipe(T.Label()),
440
+ }).pipe(T.Http({
441
+ method: "GET",
442
+ uri: "/ovhCloudConnect/{serviceName}/interface/{id}",
443
+ code: 200,
444
+ }))).annotate({
445
+ identifier: "GetOvhCloudConnectInterfaceRequest",
446
+ });
447
+ export const OvhcloudconnectInterfaceLightStatusEnum = /*@__PURE__*/ S.String;
448
+ export const OvhcloudconnectInterfaceTerminationTypeEnum =
449
+ /*@__PURE__*/ S.String;
450
+ export const OvhcloudconnectInterfaceStatusEnum = /*@__PURE__*/ S.String;
451
+ export const OvhcloudconnectInterface = /*@__PURE__*/ S.suspend(() => S.Struct({
452
+ deviceDisplayName: S.optional(S.NullOr(S.String)),
453
+ deviceRackDisplayName: S.optional(S.NullOr(S.String)),
454
+ id: S.optional(S.Number),
455
+ incomingLightStatus: S.optional(OvhcloudconnectInterfaceLightStatusEnum),
456
+ incomingLightValue: S.optional(S.NullOr(S.Number)),
457
+ interfaceName: S.optional(S.NullOr(S.String)),
458
+ interfaceStatus: S.optional(OvhcloudconnectInterfaceLightStatusEnum),
459
+ interfaceStatusLastUpdate: S.optional(S.String),
460
+ interfaceTerminationType: S.optional(S.NullOr(OvhcloudconnectInterfaceTerminationTypeEnum)),
461
+ lightLastUpdate: S.optional(S.String),
462
+ outgoingLightStatus: S.optional(OvhcloudconnectInterfaceLightStatusEnum),
463
+ outgoingLightValue: S.optional(S.NullOr(S.Number)),
464
+ status: S.optional(OvhcloudconnectInterfaceStatusEnum),
465
+ })).annotate({
466
+ identifier: "OvhcloudconnectInterface",
467
+ });
468
+ export const GetOvhCloudConnectInterfaceStatusRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
469
+ serviceName: S.String.pipe(T.Label()),
470
+ id: S.Number.pipe(T.Label()),
471
+ }).pipe(T.Http({
472
+ method: "GET",
473
+ uri: "/ovhCloudConnect/{serviceName}/interface/{id}/status",
474
+ code: 200,
475
+ }))).annotate({
476
+ identifier: "GetOvhCloudConnectInterfaceStatusRequest",
477
+ });
478
+ export const OvhcloudconnectInterfaceStatus = /*@__PURE__*/ S.suspend(() => S.Struct({
479
+ lastChange: S.optional(S.NullOr(S.String)),
480
+ lastDown: S.optional(S.NullOr(S.String)),
481
+ lastUp: S.optional(S.NullOr(S.String)),
482
+ lastUpdate: S.optional(S.String),
483
+ status: S.optional(OvhcloudconnectStatusStatusEnum),
484
+ })).annotate({
485
+ identifier: "OvhcloudconnectInterfaceStatus",
486
+ });
487
+ export const GetOvhCloudConnectLogKindRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
488
+ serviceName: S.String.pipe(T.Label()),
489
+ name: S.String.pipe(T.Label()),
490
+ }).pipe(T.Http({
491
+ method: "GET",
492
+ uri: "/ovhCloudConnect/{serviceName}/log/kind/{name}",
493
+ code: 200,
494
+ }))).annotate({
495
+ identifier: "GetOvhCloudConnectLogKindRequest",
496
+ });
497
+ export const DbaasLogsLogKindAdditionalReturnedFieldsList =
498
+ /*@__PURE__*/ S.Array(S.String);
499
+ export const DbaasLogsLogKind = /*@__PURE__*/ S.suspend(() => S.Struct({
500
+ additionalReturnedFields: S.optional(DbaasLogsLogKindAdditionalReturnedFieldsList),
501
+ createdAt: S.optional(S.String),
502
+ displayName: S.optional(S.String),
503
+ kindId: S.optional(S.String),
504
+ name: S.optional(S.String),
505
+ updatedAt: S.optional(S.String),
506
+ })).annotate({
507
+ identifier: "DbaasLogsLogKind",
508
+ });
509
+ export const GetOvhCloudConnectLogSubscriptionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
510
+ serviceName: S.String.pipe(T.Label()),
511
+ subscriptionId: S.String.pipe(T.Label()),
512
+ }).pipe(T.Http({
513
+ method: "GET",
514
+ uri: "/ovhCloudConnect/{serviceName}/log/subscription/{subscriptionId}",
515
+ code: 200,
516
+ }))).annotate({
517
+ identifier: "GetOvhCloudConnectLogSubscriptionRequest",
518
+ });
519
+ export const DbaasLogsLogSubscriptionResource = /*@__PURE__*/ S.suspend(() => S.Struct({
520
+ name: S.optional(S.String),
521
+ type: S.optional(S.String),
522
+ })).annotate({
523
+ identifier: "DbaasLogsLogSubscriptionResource",
524
+ });
525
+ export const DbaasLogsLogSubscription = /*@__PURE__*/ S.suspend(() => S.Struct({
526
+ createdAt: S.optional(S.String),
527
+ kind: S.optional(S.String),
528
+ resource: S.optional(DbaasLogsLogSubscriptionResource),
529
+ serviceName: S.optional(S.String),
530
+ streamId: S.optional(S.String),
531
+ subscriptionId: S.optional(S.String),
532
+ updatedAt: S.optional(S.String),
533
+ })).annotate({
534
+ identifier: "DbaasLogsLogSubscription",
535
+ });
536
+ export const GetOvhCloudConnectServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
537
+ serviceName: S.String.pipe(T.Label()),
538
+ }).pipe(T.Http({
539
+ method: "GET",
540
+ uri: "/ovhCloudConnect/{serviceName}/serviceInfos",
541
+ code: 200,
542
+ }))).annotate({
543
+ identifier: "GetOvhCloudConnectServiceInfosRequest",
544
+ });
545
+ export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
546
+ export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
547
+ automatic: S.optional(S.Boolean),
548
+ deleteAtExpiration: S.optional(S.Boolean),
549
+ forced: S.optional(S.Boolean),
550
+ manualPayment: S.optional(S.NullOr(S.Boolean)),
551
+ period: S.optional(S.NullOr(S.Number)),
552
+ })).annotate({
553
+ identifier: "ServiceRenewType",
554
+ });
555
+ export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
556
+ export const ServiceStateEnum = /*@__PURE__*/ S.String;
557
+ export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
558
+ canDeleteAtExpiration: S.optional(S.Boolean),
559
+ contactAdmin: S.optional(S.String),
560
+ contactBilling: S.optional(S.String),
561
+ contactTech: S.optional(S.String),
562
+ creation: S.optional(S.String),
563
+ domain: S.optional(S.String),
564
+ engagedUpTo: S.optional(S.NullOr(S.String)),
565
+ expiration: S.optional(S.String),
566
+ possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
567
+ renew: S.optional(S.NullOr(ServiceRenewType)),
568
+ renewalType: S.optional(ServiceRenewalTypeEnum),
569
+ serviceId: S.optional(S.Number),
570
+ status: S.optional(ServiceStateEnum),
571
+ })).annotate({
572
+ identifier: "ServicesService",
573
+ });
574
+ export const GetOvhCloudConnectServiceKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
575
+ serviceName: S.String.pipe(T.Label()),
576
+ serviceKeyId: S.Number.pipe(T.Label()),
577
+ }).pipe(T.Http({
578
+ method: "GET",
579
+ uri: "/ovhCloudConnect/{serviceName}/serviceKey/{serviceKeyId}",
580
+ code: 200,
581
+ }))).annotate({
582
+ identifier: "GetOvhCloudConnectServiceKeyRequest",
583
+ });
584
+ export const OvhcloudconnectKeyStatusEnum = /*@__PURE__*/ S.String;
585
+ export const OvhcloudconnectKey = /*@__PURE__*/ S.suspend(() => S.Struct({
586
+ id: S.optional(S.Number),
587
+ key: S.optional(S.String),
588
+ provider: S.optional(OvhcloudconnectServiceProviderEnum),
589
+ status: S.optional(OvhcloudconnectKeyStatusEnum),
590
+ })).annotate({
591
+ identifier: "OvhcloudconnectKey",
592
+ });
593
+ export const GetOvhCloudConnectTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
594
+ serviceName: S.String.pipe(T.Label()),
595
+ id: S.Number.pipe(T.Label()),
596
+ }).pipe(T.Http({
597
+ method: "GET",
598
+ uri: "/ovhCloudConnect/{serviceName}/task/{id}",
599
+ code: 200,
600
+ }))).annotate({
601
+ identifier: "GetOvhCloudConnectTaskRequest",
602
+ });
603
+ export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
604
+ identifier: "IamResourceTagFilterInput",
605
+ });
606
+ export const ListOvhCloudConnectRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
607
+ export const ListOvhCloudConnectRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListOvhCloudConnectRequestIamTagsValueList);
608
+ export const ListOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
609
+ iamTags: S.optional(ListOvhCloudConnectRequestIamTagsMap.pipe(T.Query())),
610
+ }).pipe(T.Http({ method: "GET", uri: "/ovhCloudConnect", code: 200 }))).annotate({
611
+ identifier: "ListOvhCloudConnectRequest",
612
+ });
613
+ export const ListOvhCloudConnectResponseBodyList = /*@__PURE__*/ S.Array(S.String);
614
+ export const ListOvhCloudConnectResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectResponseBodyList.pipe(T.RawResponseRoot())).annotate({
615
+ identifier: "ListOvhCloudConnectResponse",
616
+ });
617
+ export const ListOvhCloudConnectConfigPopRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
618
+ serviceName: S.String.pipe(T.Label()),
619
+ }).pipe(T.Http({
620
+ method: "GET",
621
+ uri: "/ovhCloudConnect/{serviceName}/config/pop",
622
+ code: 200,
623
+ }))).annotate({
624
+ identifier: "ListOvhCloudConnectConfigPopRequest",
625
+ });
626
+ export const ListOvhCloudConnectConfigPopResponseBodyList =
627
+ /*@__PURE__*/ S.Array(S.Number);
628
+ export const ListOvhCloudConnectConfigPopResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectConfigPopResponseBodyList.pipe(T.RawResponseRoot())).annotate({
629
+ identifier: "ListOvhCloudConnectConfigPopResponse",
630
+ });
631
+ export const ListOvhCloudConnectConfigPopDatacenterRequest =
632
+ /*@__PURE__*/ S.suspend(() => S.Struct({
633
+ serviceName: S.String.pipe(T.Label()),
634
+ popId: S.Number.pipe(T.Label()),
635
+ }).pipe(T.Http({
636
+ method: "GET",
637
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter",
638
+ code: 200,
639
+ }))).annotate({
640
+ identifier: "ListOvhCloudConnectConfigPopDatacenterRequest",
641
+ });
642
+ export const ListOvhCloudConnectConfigPopDatacenterResponseBodyList =
643
+ /*@__PURE__*/ S.Array(S.Number);
644
+ export const ListOvhCloudConnectConfigPopDatacenterResponse =
645
+ /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectConfigPopDatacenterResponseBodyList.pipe(T.RawResponseRoot())).annotate({
646
+ identifier: "ListOvhCloudConnectConfigPopDatacenterResponse",
647
+ });
648
+ export const ListOvhCloudConnectConfigPopDatacenterExtraRequest =
649
+ /*@__PURE__*/ S.suspend(() => S.Struct({
650
+ serviceName: S.String.pipe(T.Label()),
651
+ popId: S.Number.pipe(T.Label()),
652
+ datacenterId: S.Number.pipe(T.Label()),
653
+ }).pipe(T.Http({
654
+ method: "GET",
655
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/datacenter/{datacenterId}/extra",
656
+ code: 200,
657
+ }))).annotate({
658
+ identifier: "ListOvhCloudConnectConfigPopDatacenterExtraRequest",
659
+ });
660
+ export const ListOvhCloudConnectConfigPopDatacenterExtraResponseBodyList =
661
+ /*@__PURE__*/ S.Array(S.Number);
662
+ export const ListOvhCloudConnectConfigPopDatacenterExtraResponse =
663
+ /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectConfigPopDatacenterExtraResponseBodyList.pipe(T.RawResponseRoot())).annotate({
664
+ identifier: "ListOvhCloudConnectConfigPopDatacenterExtraResponse",
665
+ });
666
+ export const OvhcloudconnectInterfaceMetricsPeriodEnum = /*@__PURE__*/ S.String;
667
+ export const OvhcloudconnectPopConfigMetricsTypeEnum = /*@__PURE__*/ S.String;
668
+ export const ListOvhCloudConnectConfigPopStatisticsRequest =
669
+ /*@__PURE__*/ S.suspend(() => S.Struct({
670
+ serviceName: S.String.pipe(T.Label()),
671
+ popId: S.Number.pipe(T.Label()),
672
+ period: OvhcloudconnectInterfaceMetricsPeriodEnum.pipe(T.Query()),
673
+ type: OvhcloudconnectPopConfigMetricsTypeEnum.pipe(T.Query()),
674
+ }).pipe(T.Http({
675
+ method: "GET",
676
+ uri: "/ovhCloudConnect/{serviceName}/config/pop/{popId}/statistics",
677
+ code: 200,
678
+ }))).annotate({
679
+ identifier: "ListOvhCloudConnectConfigPopStatisticsRequest",
680
+ });
681
+ export const OvhcloudconnectInterfaceMetricsUnitEnum = /*@__PURE__*/ S.String;
682
+ export const OvhcloudconnectMetricsValue = /*@__PURE__*/ S.suspend(() => S.Struct({
683
+ unit: S.optional(OvhcloudconnectInterfaceMetricsUnitEnum),
684
+ value: S.optional(S.Number),
685
+ })).annotate({
686
+ identifier: "OvhcloudconnectMetricsValue",
687
+ });
688
+ export const OvhcloudconnectMetrics = /*@__PURE__*/ S.suspend(() => S.Struct({
689
+ timestamp: S.optional(S.Number),
690
+ value: S.optional(OvhcloudconnectMetricsValue),
691
+ })).annotate({
692
+ identifier: "OvhcloudconnectMetrics",
693
+ });
694
+ export const ListOvhCloudConnectConfigPopStatisticsResponseBodyList =
695
+ /*@__PURE__*/ S.Array(OvhcloudconnectMetrics);
696
+ export const ListOvhCloudConnectConfigPopStatisticsResponse =
697
+ /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectConfigPopStatisticsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
698
+ identifier: "ListOvhCloudConnectConfigPopStatisticsResponse",
699
+ });
700
+ export const ListOvhCloudConnectDatacenterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
701
+ serviceName: S.String.pipe(T.Label()),
702
+ }).pipe(T.Http({
703
+ method: "GET",
704
+ uri: "/ovhCloudConnect/{serviceName}/datacenter",
705
+ code: 200,
706
+ }))).annotate({
707
+ identifier: "ListOvhCloudConnectDatacenterRequest",
708
+ });
709
+ export const ListOvhCloudConnectDatacenterResponseBodyList =
710
+ /*@__PURE__*/ S.Array(S.Number);
711
+ export const ListOvhCloudConnectDatacenterResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectDatacenterResponseBodyList.pipe(T.RawResponseRoot())).annotate({
712
+ identifier: "ListOvhCloudConnectDatacenterResponse",
713
+ });
714
+ export const ListOvhCloudConnectDiagnosticRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
715
+ serviceName: S.String.pipe(T.Label()),
716
+ }).pipe(T.Http({
717
+ method: "GET",
718
+ uri: "/ovhCloudConnect/{serviceName}/diagnostic",
719
+ code: 200,
720
+ }))).annotate({
721
+ identifier: "ListOvhCloudConnectDiagnosticRequest",
722
+ });
723
+ export const ListOvhCloudConnectDiagnosticResponseBodyList =
724
+ /*@__PURE__*/ S.Array(S.Number);
725
+ export const ListOvhCloudConnectDiagnosticResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectDiagnosticResponseBodyList.pipe(T.RawResponseRoot())).annotate({
726
+ identifier: "ListOvhCloudConnectDiagnosticResponse",
727
+ });
728
+ export const ListOvhCloudConnectIncidentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
729
+ serviceName: S.String.pipe(T.Label()),
730
+ }).pipe(T.Http({
731
+ method: "GET",
732
+ uri: "/ovhCloudConnect/{serviceName}/incident",
733
+ code: 200,
734
+ }))).annotate({
735
+ identifier: "ListOvhCloudConnectIncidentRequest",
736
+ });
737
+ export const ListOvhCloudConnectIncidentResponseBodyList =
738
+ /*@__PURE__*/ S.Array(S.Number);
739
+ export const ListOvhCloudConnectIncidentResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectIncidentResponseBodyList.pipe(T.RawResponseRoot())).annotate({
740
+ identifier: "ListOvhCloudConnectIncidentResponse",
741
+ });
742
+ export const ListOvhCloudConnectInterfaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
743
+ serviceName: S.String.pipe(T.Label()),
744
+ }).pipe(T.Http({
745
+ method: "GET",
746
+ uri: "/ovhCloudConnect/{serviceName}/interface",
747
+ code: 200,
748
+ }))).annotate({
749
+ identifier: "ListOvhCloudConnectInterfaceRequest",
750
+ });
751
+ export const ListOvhCloudConnectInterfaceResponseBodyList =
752
+ /*@__PURE__*/ S.Array(S.Number);
753
+ export const ListOvhCloudConnectInterfaceResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectInterfaceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
754
+ identifier: "ListOvhCloudConnectInterfaceResponse",
755
+ });
756
+ export const OvhcloudconnectInterfaceMetricsTypeEnum = /*@__PURE__*/ S.String;
757
+ export const ListOvhCloudConnectInterfaceStatisticsRequest =
758
+ /*@__PURE__*/ S.suspend(() => S.Struct({
759
+ serviceName: S.String.pipe(T.Label()),
760
+ id: S.Number.pipe(T.Label()),
761
+ period: OvhcloudconnectInterfaceMetricsPeriodEnum.pipe(T.Query()),
762
+ type: OvhcloudconnectInterfaceMetricsTypeEnum.pipe(T.Query()),
763
+ }).pipe(T.Http({
764
+ method: "GET",
765
+ uri: "/ovhCloudConnect/{serviceName}/interface/{id}/statistics",
766
+ code: 200,
767
+ }))).annotate({
768
+ identifier: "ListOvhCloudConnectInterfaceStatisticsRequest",
769
+ });
770
+ export const ListOvhCloudConnectInterfaceStatisticsResponseBodyList =
771
+ /*@__PURE__*/ S.Array(OvhcloudconnectMetrics);
772
+ export const ListOvhCloudConnectInterfaceStatisticsResponse =
773
+ /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectInterfaceStatisticsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
774
+ identifier: "ListOvhCloudConnectInterfaceStatisticsResponse",
775
+ });
776
+ export const ListOvhCloudConnectLogKindRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
777
+ serviceName: S.String.pipe(T.Label()),
778
+ }).pipe(T.Http({
779
+ method: "GET",
780
+ uri: "/ovhCloudConnect/{serviceName}/log/kind",
781
+ code: 200,
782
+ }))).annotate({
783
+ identifier: "ListOvhCloudConnectLogKindRequest",
784
+ });
785
+ export const ListOvhCloudConnectLogKindResponseBodyList = /*@__PURE__*/ S.Array(S.String);
786
+ export const ListOvhCloudConnectLogKindResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectLogKindResponseBodyList.pipe(T.RawResponseRoot())).annotate({
787
+ identifier: "ListOvhCloudConnectLogKindResponse",
788
+ });
789
+ export const ListOvhCloudConnectLogSubscriptionRequest =
790
+ /*@__PURE__*/ S.suspend(() => S.Struct({
791
+ serviceName: S.String.pipe(T.Label()),
792
+ kind: S.optional(S.String.pipe(T.Query())),
793
+ }).pipe(T.Http({
794
+ method: "GET",
795
+ uri: "/ovhCloudConnect/{serviceName}/log/subscription",
796
+ code: 200,
797
+ }))).annotate({
798
+ identifier: "ListOvhCloudConnectLogSubscriptionRequest",
799
+ });
800
+ export const ListOvhCloudConnectLogSubscriptionResponseBodyList =
801
+ /*@__PURE__*/ S.Array(S.String);
802
+ export const ListOvhCloudConnectLogSubscriptionResponse =
803
+ /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectLogSubscriptionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
804
+ identifier: "ListOvhCloudConnectLogSubscriptionResponse",
805
+ });
806
+ export const ListOvhCloudConnectMonitoringRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
807
+ serviceName: S.String.pipe(T.Label()),
808
+ }).pipe(T.Http({
809
+ method: "GET",
810
+ uri: "/ovhCloudConnect/{serviceName}/monitoring",
811
+ code: 200,
812
+ }))).annotate({
813
+ identifier: "ListOvhCloudConnectMonitoringRequest",
814
+ });
815
+ export const OvhcloudconnectMonitoring = /*@__PURE__*/ S.suspend(() => S.Struct({
816
+ activated: S.optional(S.Boolean),
817
+ description: S.optional(S.String),
818
+ name: S.optional(S.String),
819
+ type: S.optional(S.String),
820
+ })).annotate({
821
+ identifier: "OvhcloudconnectMonitoring",
822
+ });
823
+ export const ListOvhCloudConnectMonitoringResponseBodyList =
824
+ /*@__PURE__*/ S.Array(OvhcloudconnectMonitoring);
825
+ export const ListOvhCloudConnectMonitoringResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectMonitoringResponseBodyList.pipe(T.RawResponseRoot())).annotate({
826
+ identifier: "ListOvhCloudConnectMonitoringResponse",
827
+ });
828
+ export const ListOvhCloudConnectServiceKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
829
+ serviceName: S.String.pipe(T.Label()),
830
+ }).pipe(T.Http({
831
+ method: "GET",
832
+ uri: "/ovhCloudConnect/{serviceName}/serviceKey",
833
+ code: 200,
834
+ }))).annotate({
835
+ identifier: "ListOvhCloudConnectServiceKeyRequest",
836
+ });
837
+ export const ListOvhCloudConnectServiceKeyResponseBodyList =
838
+ /*@__PURE__*/ S.Array(S.Number);
839
+ export const ListOvhCloudConnectServiceKeyResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectServiceKeyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
840
+ identifier: "ListOvhCloudConnectServiceKeyResponse",
841
+ });
842
+ export const ListOvhCloudConnectTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
843
+ serviceName: S.String.pipe(T.Label()),
844
+ }).pipe(T.Http({
845
+ method: "GET",
846
+ uri: "/ovhCloudConnect/{serviceName}/task",
847
+ code: 200,
848
+ }))).annotate({
849
+ identifier: "ListOvhCloudConnectTaskRequest",
850
+ });
851
+ export const ListOvhCloudConnectTaskResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
852
+ export const ListOvhCloudConnectTaskResponse = /*@__PURE__*/ S.suspend(() => ListOvhCloudConnectTaskResponseBodyList.pipe(T.RawResponseRoot())).annotate({
853
+ identifier: "ListOvhCloudConnectTaskResponse",
854
+ });
855
+ export const LockOvhCloudConnectInterfaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
856
+ serviceName: S.String.pipe(T.Label()),
857
+ id: S.Number.pipe(T.Label()),
858
+ }).pipe(T.Http({
859
+ method: "POST",
860
+ uri: "/ovhCloudConnect/{serviceName}/interface/{id}/lock",
861
+ code: 200,
862
+ }))).annotate({
863
+ identifier: "LockOvhCloudConnectInterfaceRequest",
864
+ });
865
+ export const PutOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
866
+ serviceName: S.String.pipe(T.Label()),
867
+ description: S.optional(S.NullOr(S.String)),
868
+ }).pipe(T.Http({ method: "PUT", uri: "/ovhCloudConnect/{serviceName}", code: 200 }))).annotate({
869
+ identifier: "PutOvhCloudConnectRequest",
870
+ });
871
+ export const PutOvhCloudConnectResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
872
+ identifier: "PutOvhCloudConnectResponse",
873
+ });
874
+ export const PutOvhCloudConnectServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
875
+ serviceName: S.String.pipe(T.Label()),
876
+ renew: S.optional(S.NullOr(ServiceRenewType)),
877
+ }).pipe(T.Http({
878
+ method: "PUT",
879
+ uri: "/ovhCloudConnect/{serviceName}/serviceInfos",
880
+ code: 200,
881
+ }))).annotate({
882
+ identifier: "PutOvhCloudConnectServiceInfosRequest",
883
+ });
884
+ export const PutOvhCloudConnectServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
885
+ identifier: "PutOvhCloudConnectServiceInfosResponse",
886
+ });
887
+ export const RegenerateOvhCloudConnectServiceKeyRequest =
888
+ /*@__PURE__*/ S.suspend(() => S.Struct({
889
+ serviceName: S.String.pipe(T.Label()),
890
+ serviceKeyId: S.Number.pipe(T.Label()),
891
+ }).pipe(T.Http({
892
+ method: "POST",
893
+ uri: "/ovhCloudConnect/{serviceName}/serviceKey/{serviceKeyId}/regenerate",
894
+ code: 200,
895
+ }))).annotate({
896
+ identifier: "RegenerateOvhCloudConnectServiceKeyRequest",
897
+ });
898
+ export const SendOvhCloudConnectServiceKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
899
+ serviceName: S.String.pipe(T.Label()),
900
+ serviceKeyId: S.Number.pipe(T.Label()),
901
+ email: S.String,
902
+ }).pipe(T.Http({
903
+ method: "POST",
904
+ uri: "/ovhCloudConnect/{serviceName}/serviceKey/{serviceKeyId}/send",
905
+ code: 200,
906
+ }))).annotate({
907
+ identifier: "SendOvhCloudConnectServiceKeyRequest",
908
+ });
909
+ export const OvhcloudconnectMessageCodeEnum = /*@__PURE__*/ S.String;
910
+ export const OvhcloudconnectSendKeyAnswer = /*@__PURE__*/ S.suspend(() => S.Struct({
911
+ messageCode: S.optional(OvhcloudconnectMessageCodeEnum),
912
+ })).annotate({
913
+ identifier: "OvhcloudconnectSendKeyAnswer",
914
+ });
915
+ export const TerminateOvhCloudConnectRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
916
+ serviceName: S.String.pipe(T.Label()),
917
+ }).pipe(T.Http({
918
+ method: "POST",
919
+ uri: "/ovhCloudConnect/{serviceName}/terminate",
920
+ code: 200,
921
+ }))).annotate({
922
+ identifier: "TerminateOvhCloudConnectRequest",
923
+ });
924
+ export const TerminateOvhCloudConnectResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
925
+ identifier: "TerminateOvhCloudConnectResponse",
926
+ });
927
+ export const UnlockOvhCloudConnectInterfaceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
928
+ serviceName: S.String.pipe(T.Label()),
929
+ id: S.Number.pipe(T.Label()),
930
+ }).pipe(T.Http({
931
+ method: "POST",
932
+ uri: "/ovhCloudConnect/{serviceName}/interface/{id}/unlock",
933
+ code: 200,
934
+ }))).annotate({
935
+ identifier: "UnlockOvhCloudConnectInterfaceRequest",
936
+ });
937
+ /** Confirm service termination */
938
+ export const confirmOvhCloudConnectTermination = /*@__PURE__*/ API.make(() => ({
939
+ input: ConfirmOvhCloudConnectTerminationRequest,
940
+ output: ConfirmOvhCloudConnectTerminationResponse,
941
+ errors: [UnknownOvhError],
942
+ protocol: OvhProtocol,
943
+ retry: Retry.Retry,
944
+ }));
945
+ /** Launch a contact change procedure */
946
+ export const createOvhCloudConnectChangeContact = /*@__PURE__*/ API.make(() => ({
947
+ input: CreateOvhCloudConnectChangeContactRequest,
948
+ output: CreateOvhCloudConnectChangeContactResponse,
949
+ errors: [UnknownOvhError],
950
+ protocol: OvhProtocol,
951
+ retry: Retry.Retry,
952
+ }));
953
+ /** Create a Pop Configuration */
954
+ export const createOvhCloudConnectConfigPop = /*@__PURE__*/ API.make(() => ({
955
+ input: CreateOvhCloudConnectConfigPopRequest,
956
+ output: OvhcloudconnectTask,
957
+ errors: [UnknownOvhError],
958
+ protocol: OvhProtocol,
959
+ retry: Retry.Retry,
960
+ }));
961
+ /** Create a Datacenter Configuration */
962
+ export const createOvhCloudConnectConfigPopDatacenter = /*@__PURE__*/ API.make(() => ({
963
+ input: CreateOvhCloudConnectConfigPopDatacenterRequest,
964
+ output: OvhcloudconnectTask,
965
+ errors: [UnknownOvhError],
966
+ protocol: OvhProtocol,
967
+ retry: Retry.Retry,
968
+ }));
969
+ /** Create a Datacenter Extra Configuration */
970
+ export const createOvhCloudConnectConfigPopDatacenterExtra = /*@__PURE__*/ API.make(() => ({
971
+ input: CreateOvhCloudConnectConfigPopDatacenterExtraRequest,
972
+ output: OvhcloudconnectTask,
973
+ errors: [UnknownOvhError],
974
+ protocol: OvhProtocol,
975
+ retry: Retry.Retry,
976
+ }));
977
+ /** Create a Diagnostic linked to a OVHcloud Connect Service */
978
+ export const createOvhCloudConnectDiagnostic = /*@__PURE__*/ API.make(() => ({
979
+ input: CreateOvhCloudConnectDiagnosticRequest,
980
+ output: OvhcloudconnectDiagnostic,
981
+ errors: [UnknownOvhError],
982
+ protocol: OvhProtocol,
983
+ retry: Retry.Retry,
984
+ }));
985
+ /** Generate a loa for a service */
986
+ export const createOvhCloudConnectLoa = /*@__PURE__*/ API.make(() => ({
987
+ input: CreateOvhCloudConnectLoaRequest,
988
+ output: CreateOvhCloudConnectLoaResponse,
989
+ errors: [UnknownOvhError],
990
+ protocol: OvhProtocol,
991
+ retry: Retry.Retry,
992
+ }));
993
+ /** Create a subscription from logs to a pre-existing LDP stream */
994
+ export const createOvhCloudConnectLogSubscription = /*@__PURE__*/ API.make(() => ({
995
+ input: CreateOvhCloudConnectLogSubscriptionRequest,
996
+ output: DbaasLogsLogSubscriptionResponse,
997
+ errors: [UnknownOvhError],
998
+ protocol: OvhProtocol,
999
+ retry: Retry.Retry,
1000
+ }));
1001
+ /** Generate a temporary URL to retrieve logs */
1002
+ export const createOvhCloudConnectLogUrl = /*@__PURE__*/ API.make(() => ({
1003
+ input: CreateOvhCloudConnectLogUrlRequest,
1004
+ output: DbaasLogsTemporaryLogsLink,
1005
+ errors: [UnknownOvhError],
1006
+ protocol: OvhProtocol,
1007
+ retry: Retry.Retry,
1008
+ }));
1009
+ /** Monitor the Service */
1010
+ export const createOvhCloudConnectMonitoring = /*@__PURE__*/ API.make(() => ({
1011
+ input: CreateOvhCloudConnectMonitoringRequest,
1012
+ output: CreateOvhCloudConnectMonitoringResponse,
1013
+ errors: [UnknownOvhError],
1014
+ protocol: OvhProtocol,
1015
+ retry: Retry.Retry,
1016
+ }));
1017
+ /** Delete a Pop Configuration */
1018
+ export const deleteOvhCloudConnectConfigPop = /*@__PURE__*/ API.make(() => ({
1019
+ input: DeleteOvhCloudConnectConfigPopRequest,
1020
+ output: OvhcloudconnectTask,
1021
+ errors: [UnknownOvhError],
1022
+ protocol: OvhProtocol,
1023
+ retry: Retry.Retry,
1024
+ }));
1025
+ /** Delete a Datacenter Configuration */
1026
+ export const deleteOvhCloudConnectConfigPopDatacenter = /*@__PURE__*/ API.make(() => ({
1027
+ input: DeleteOvhCloudConnectConfigPopDatacenterRequest,
1028
+ output: OvhcloudconnectTask,
1029
+ errors: [UnknownOvhError],
1030
+ protocol: OvhProtocol,
1031
+ retry: Retry.Retry,
1032
+ }));
1033
+ /** Delete a Datacenter Extra Configuration */
1034
+ export const deleteOvhCloudConnectConfigPopDatacenterExtra = /*@__PURE__*/ API.make(() => ({
1035
+ input: DeleteOvhCloudConnectConfigPopDatacenterExtraRequest,
1036
+ output: OvhcloudconnectTask,
1037
+ errors: [UnknownOvhError],
1038
+ protocol: OvhProtocol,
1039
+ retry: Retry.Retry,
1040
+ }));
1041
+ /** Delete a subscription */
1042
+ export const deleteOvhCloudConnectLogSubscription = /*@__PURE__*/ API.make(() => ({
1043
+ input: DeleteOvhCloudConnectLogSubscriptionRequest,
1044
+ output: DbaasLogsLogSubscriptionResponse,
1045
+ errors: [UnknownOvhError],
1046
+ protocol: OvhProtocol,
1047
+ retry: Retry.Retry,
1048
+ }));
1049
+ /** Delete monitoring */
1050
+ export const deleteOvhCloudConnectMonitoring = /*@__PURE__*/ API.make(() => ({
1051
+ input: DeleteOvhCloudConnectMonitoringRequest,
1052
+ output: DeleteOvhCloudConnectMonitoringResponse,
1053
+ errors: [UnknownOvhError],
1054
+ protocol: OvhProtocol,
1055
+ retry: Retry.Retry,
1056
+ }));
1057
+ /** Get service */
1058
+ export const getOvhCloudConnect = /*@__PURE__*/ API.make(() => ({
1059
+ input: GetOvhCloudConnectRequest,
1060
+ output: OvhcloudconnectServiceWithIAM,
1061
+ errors: [UnknownOvhError],
1062
+ protocol: OvhProtocol,
1063
+ retry: Retry.Retry,
1064
+ }));
1065
+ /** Get Pop Configuration of a OVHcloud Connect Service */
1066
+ export const getOvhCloudConnectConfigPop = /*@__PURE__*/ API.make(() => ({
1067
+ input: GetOvhCloudConnectConfigPopRequest,
1068
+ output: OvhcloudconnectPopConfig,
1069
+ errors: [UnknownOvhError],
1070
+ protocol: OvhProtocol,
1071
+ retry: Retry.Retry,
1072
+ }));
1073
+ /** Get Datacenter Configuration of a OVHcloud Connect Service */
1074
+ export const getOvhCloudConnectConfigPopDatacenter = /*@__PURE__*/ API.make(() => ({
1075
+ input: GetOvhCloudConnectConfigPopDatacenterRequest,
1076
+ output: OvhcloudconnectDatacenterConfig,
1077
+ errors: [UnknownOvhError],
1078
+ protocol: OvhProtocol,
1079
+ retry: Retry.Retry,
1080
+ }));
1081
+ /** Get Datacenter Extra Configuration of a OVHcloud Connect Service */
1082
+ export const getOvhCloudConnectConfigPopDatacenterExtra = /*@__PURE__*/ API.make(() => ({
1083
+ input: GetOvhCloudConnectConfigPopDatacenterExtraRequest,
1084
+ output: OvhcloudconnectDatacenterExtraConfig,
1085
+ errors: [UnknownOvhError],
1086
+ protocol: OvhProtocol,
1087
+ retry: Retry.Retry,
1088
+ }));
1089
+ /** Current status of the L3 Pop config. */
1090
+ export const getOvhCloudConnectConfigPopStatus = /*@__PURE__*/ API.make(() => ({
1091
+ input: GetOvhCloudConnectConfigPopStatusRequest,
1092
+ output: OvhcloudconnectPopConfStatus,
1093
+ errors: [UnknownOvhError],
1094
+ protocol: OvhProtocol,
1095
+ retry: Retry.Retry,
1096
+ }));
1097
+ /** Get Datacenter */
1098
+ export const getOvhCloudConnectDatacenter = /*@__PURE__*/ API.make(() => ({
1099
+ input: GetOvhCloudConnectDatacenterRequest,
1100
+ output: OvhcloudconnectDatacenter,
1101
+ errors: [UnknownOvhError],
1102
+ protocol: OvhProtocol,
1103
+ retry: Retry.Retry,
1104
+ }));
1105
+ /** Get Diagnostic linked to a OVHcloud Connect Service */
1106
+ export const getOvhCloudConnectDiagnostic = /*@__PURE__*/ API.make(() => ({
1107
+ input: GetOvhCloudConnectDiagnosticRequest,
1108
+ output: OvhcloudconnectDiagnostic,
1109
+ errors: [UnknownOvhError],
1110
+ protocol: OvhProtocol,
1111
+ retry: Retry.Retry,
1112
+ }));
1113
+ /** Get the incident information */
1114
+ export const getOvhCloudConnectIncident = /*@__PURE__*/ API.make(() => ({
1115
+ input: GetOvhCloudConnectIncidentRequest,
1116
+ output: OvhcloudconnectIncident,
1117
+ errors: [UnknownOvhError],
1118
+ protocol: OvhProtocol,
1119
+ retry: Retry.Retry,
1120
+ }));
1121
+ /** Get the Interface information */
1122
+ export const getOvhCloudConnectInterface = /*@__PURE__*/ API.make(() => ({
1123
+ input: GetOvhCloudConnectInterfaceRequest,
1124
+ output: OvhcloudconnectInterface,
1125
+ errors: [UnknownOvhError],
1126
+ protocol: OvhProtocol,
1127
+ retry: Retry.Retry,
1128
+ }));
1129
+ /** Current status of the interface. */
1130
+ export const getOvhCloudConnectInterfaceStatus = /*@__PURE__*/ API.make(() => ({
1131
+ input: GetOvhCloudConnectInterfaceStatusRequest,
1132
+ output: OvhcloudconnectInterfaceStatus,
1133
+ errors: [UnknownOvhError],
1134
+ protocol: OvhProtocol,
1135
+ retry: Retry.Retry,
1136
+ }));
1137
+ /** Get a log kind */
1138
+ export const getOvhCloudConnectLogKind = /*@__PURE__*/ API.make(() => ({
1139
+ input: GetOvhCloudConnectLogKindRequest,
1140
+ output: DbaasLogsLogKind,
1141
+ errors: [UnknownOvhError],
1142
+ protocol: OvhProtocol,
1143
+ retry: Retry.Retry,
1144
+ }));
1145
+ /** Get subscription details */
1146
+ export const getOvhCloudConnectLogSubscription = /*@__PURE__*/ API.make(() => ({
1147
+ input: GetOvhCloudConnectLogSubscriptionRequest,
1148
+ output: DbaasLogsLogSubscription,
1149
+ errors: [UnknownOvhError],
1150
+ protocol: OvhProtocol,
1151
+ retry: Retry.Retry,
1152
+ }));
1153
+ /** Get service information */
1154
+ export const getOvhCloudConnectServiceInfos = /*@__PURE__*/ API.make(() => ({
1155
+ input: GetOvhCloudConnectServiceInfosRequest,
1156
+ output: ServicesService,
1157
+ errors: [UnknownOvhError],
1158
+ protocol: OvhProtocol,
1159
+ retry: Retry.Retry,
1160
+ }));
1161
+ /** Get Key linked to a OVHcloud Connect Service */
1162
+ export const getOvhCloudConnectServiceKey = /*@__PURE__*/ API.make(() => ({
1163
+ input: GetOvhCloudConnectServiceKeyRequest,
1164
+ output: OvhcloudconnectKey,
1165
+ errors: [UnknownOvhError],
1166
+ protocol: OvhProtocol,
1167
+ retry: Retry.Retry,
1168
+ }));
1169
+ /** Get Tasks linked to a OVHcloud Connect Service */
1170
+ export const getOvhCloudConnectTask = /*@__PURE__*/ API.make(() => ({
1171
+ input: GetOvhCloudConnectTaskRequest,
1172
+ output: OvhcloudconnectTask,
1173
+ errors: [UnknownOvhError],
1174
+ protocol: OvhProtocol,
1175
+ retry: Retry.Retry,
1176
+ }));
1177
+ /** List available services */
1178
+ export const listOvhCloudConnect = /*@__PURE__*/ API.make(() => ({
1179
+ input: ListOvhCloudConnectRequest,
1180
+ output: ListOvhCloudConnectResponse,
1181
+ errors: [UnknownOvhError],
1182
+ protocol: OvhProtocol,
1183
+ retry: Retry.Retry,
1184
+ }));
1185
+ /** Get Pop Configuration linked to of a OVHcloud Connect Service */
1186
+ export const listOvhCloudConnectConfigPop = /*@__PURE__*/ API.make(() => ({
1187
+ input: ListOvhCloudConnectConfigPopRequest,
1188
+ output: ListOvhCloudConnectConfigPopResponse,
1189
+ errors: [UnknownOvhError],
1190
+ protocol: OvhProtocol,
1191
+ retry: Retry.Retry,
1192
+ }));
1193
+ /** Get Datacenter Configuration linked to of a OVHcloud Connect Service */
1194
+ export const listOvhCloudConnectConfigPopDatacenter = /*@__PURE__*/ API.make(() => ({
1195
+ input: ListOvhCloudConnectConfigPopDatacenterRequest,
1196
+ output: ListOvhCloudConnectConfigPopDatacenterResponse,
1197
+ errors: [UnknownOvhError],
1198
+ protocol: OvhProtocol,
1199
+ retry: Retry.Retry,
1200
+ }));
1201
+ /** Get Datacenter Extra Configuration linked to of a OVHcloud Connect Service */
1202
+ export const listOvhCloudConnectConfigPopDatacenterExtra = /*@__PURE__*/ API.make(() => ({
1203
+ input: ListOvhCloudConnectConfigPopDatacenterExtraRequest,
1204
+ output: ListOvhCloudConnectConfigPopDatacenterExtraResponse,
1205
+ errors: [UnknownOvhError],
1206
+ protocol: OvhProtocol,
1207
+ retry: Retry.Retry,
1208
+ }));
1209
+ /** Statistics related to a POP */
1210
+ export const listOvhCloudConnectConfigPopStatistics = /*@__PURE__*/ API.make(() => ({
1211
+ input: ListOvhCloudConnectConfigPopStatisticsRequest,
1212
+ output: ListOvhCloudConnectConfigPopStatisticsResponse,
1213
+ errors: [UnknownOvhError],
1214
+ protocol: OvhProtocol,
1215
+ retry: Retry.Retry,
1216
+ }));
1217
+ /** List available Datacenter */
1218
+ export const listOvhCloudConnectDatacenter = /*@__PURE__*/ API.make(() => ({
1219
+ input: ListOvhCloudConnectDatacenterRequest,
1220
+ output: ListOvhCloudConnectDatacenterResponse,
1221
+ errors: [UnknownOvhError],
1222
+ protocol: OvhProtocol,
1223
+ retry: Retry.Retry,
1224
+ }));
1225
+ /** Get Diagnostics linked to a OVHcloud Connect Service */
1226
+ export const listOvhCloudConnectDiagnostic = /*@__PURE__*/ API.make(() => ({
1227
+ input: ListOvhCloudConnectDiagnosticRequest,
1228
+ output: ListOvhCloudConnectDiagnosticResponse,
1229
+ errors: [UnknownOvhError],
1230
+ protocol: OvhProtocol,
1231
+ retry: Retry.Retry,
1232
+ }));
1233
+ /** List incidents linked to the Service */
1234
+ export const listOvhCloudConnectIncident = /*@__PURE__*/ API.make(() => ({
1235
+ input: ListOvhCloudConnectIncidentRequest,
1236
+ output: ListOvhCloudConnectIncidentResponse,
1237
+ errors: [UnknownOvhError],
1238
+ protocol: OvhProtocol,
1239
+ retry: Retry.Retry,
1240
+ }));
1241
+ /** List interfaces linked to the Service */
1242
+ export const listOvhCloudConnectInterface = /*@__PURE__*/ API.make(() => ({
1243
+ input: ListOvhCloudConnectInterfaceRequest,
1244
+ output: ListOvhCloudConnectInterfaceResponse,
1245
+ errors: [UnknownOvhError],
1246
+ protocol: OvhProtocol,
1247
+ retry: Retry.Retry,
1248
+ }));
1249
+ /** Statistics for an OCC interface for a given type */
1250
+ export const listOvhCloudConnectInterfaceStatistics = /*@__PURE__*/ API.make(() => ({
1251
+ input: ListOvhCloudConnectInterfaceStatisticsRequest,
1252
+ output: ListOvhCloudConnectInterfaceStatisticsResponse,
1253
+ errors: [UnknownOvhError],
1254
+ protocol: OvhProtocol,
1255
+ retry: Retry.Retry,
1256
+ }));
1257
+ /** List available log kinds */
1258
+ export const listOvhCloudConnectLogKind = /*@__PURE__*/ API.make(() => ({
1259
+ input: ListOvhCloudConnectLogKindRequest,
1260
+ output: ListOvhCloudConnectLogKindResponse,
1261
+ errors: [UnknownOvhError],
1262
+ protocol: OvhProtocol,
1263
+ retry: Retry.Retry,
1264
+ }));
1265
+ /** List subscription IDs for a cluster */
1266
+ export const listOvhCloudConnectLogSubscription = /*@__PURE__*/ API.make(() => ({
1267
+ input: ListOvhCloudConnectLogSubscriptionRequest,
1268
+ output: ListOvhCloudConnectLogSubscriptionResponse,
1269
+ errors: [UnknownOvhError],
1270
+ protocol: OvhProtocol,
1271
+ retry: Retry.Retry,
1272
+ }));
1273
+ /** List monitoring alerts */
1274
+ export const listOvhCloudConnectMonitoring = /*@__PURE__*/ API.make(() => ({
1275
+ input: ListOvhCloudConnectMonitoringRequest,
1276
+ output: ListOvhCloudConnectMonitoringResponse,
1277
+ errors: [UnknownOvhError],
1278
+ protocol: OvhProtocol,
1279
+ retry: Retry.Retry,
1280
+ }));
1281
+ /** Get Keys linked to a OVHcloud Connect Service */
1282
+ export const listOvhCloudConnectServiceKey = /*@__PURE__*/ API.make(() => ({
1283
+ input: ListOvhCloudConnectServiceKeyRequest,
1284
+ output: ListOvhCloudConnectServiceKeyResponse,
1285
+ errors: [UnknownOvhError],
1286
+ protocol: OvhProtocol,
1287
+ retry: Retry.Retry,
1288
+ }));
1289
+ /** Get Task linked to a OVHcloud Connect Service */
1290
+ export const listOvhCloudConnectTask = /*@__PURE__*/ API.make(() => ({
1291
+ input: ListOvhCloudConnectTaskRequest,
1292
+ output: ListOvhCloudConnectTaskResponse,
1293
+ errors: [UnknownOvhError],
1294
+ protocol: OvhProtocol,
1295
+ retry: Retry.Retry,
1296
+ }));
1297
+ /** Lock the port */
1298
+ export const lockOvhCloudConnectInterface = /*@__PURE__*/ API.make(() => ({
1299
+ input: LockOvhCloudConnectInterfaceRequest,
1300
+ output: OvhcloudconnectTask,
1301
+ errors: [UnknownOvhError],
1302
+ protocol: OvhProtocol,
1303
+ retry: Retry.Retry,
1304
+ }));
1305
+ /** Modify service */
1306
+ export const putOvhCloudConnect = /*@__PURE__*/ API.make(() => ({
1307
+ input: PutOvhCloudConnectRequest,
1308
+ output: PutOvhCloudConnectResponse,
1309
+ errors: [UnknownOvhError],
1310
+ protocol: OvhProtocol,
1311
+ retry: Retry.Retry,
1312
+ }));
1313
+ /** Update service information */
1314
+ export const putOvhCloudConnectServiceInfos = /*@__PURE__*/ API.make(() => ({
1315
+ input: PutOvhCloudConnectServiceInfosRequest,
1316
+ output: PutOvhCloudConnectServiceInfosResponse,
1317
+ errors: [UnknownOvhError],
1318
+ protocol: OvhProtocol,
1319
+ retry: Retry.Retry,
1320
+ }));
1321
+ /** Regenerate Service Key linked to a OVHcloud Connect Service */
1322
+ export const regenerateOvhCloudConnectServiceKey = /*@__PURE__*/ API.make(() => ({
1323
+ input: RegenerateOvhCloudConnectServiceKeyRequest,
1324
+ output: OvhcloudconnectKey,
1325
+ errors: [UnknownOvhError],
1326
+ protocol: OvhProtocol,
1327
+ retry: Retry.Retry,
1328
+ }));
1329
+ /** Send key value to customer */
1330
+ export const sendOvhCloudConnectServiceKey = /*@__PURE__*/ API.make(() => ({
1331
+ input: SendOvhCloudConnectServiceKeyRequest,
1332
+ output: OvhcloudconnectSendKeyAnswer,
1333
+ errors: [UnknownOvhError],
1334
+ protocol: OvhProtocol,
1335
+ retry: Retry.Retry,
1336
+ }));
1337
+ /** Ask for the termination of your service */
1338
+ export const terminateOvhCloudConnect = /*@__PURE__*/ API.make(() => ({
1339
+ input: TerminateOvhCloudConnectRequest,
1340
+ output: TerminateOvhCloudConnectResponse,
1341
+ errors: [UnknownOvhError],
1342
+ protocol: OvhProtocol,
1343
+ retry: Retry.Retry,
1344
+ }));
1345
+ /** Unlock the port */
1346
+ export const unlockOvhCloudConnectInterface = /*@__PURE__*/ API.make(() => ({
1347
+ input: UnlockOvhCloudConnectInterfaceRequest,
1348
+ output: OvhcloudconnectTask,
1349
+ errors: [UnknownOvhError],
1350
+ protocol: OvhProtocol,
1351
+ retry: Retry.Retry,
1352
+ }));
1353
+ //# sourceMappingURL=ovhcloudconnect.js.map