@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,1122 @@
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 AuthorizeOverTheBoxRemoteAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
9
+ serviceName: S.String.pipe(T.Label()),
10
+ remoteAccessId: S.String.pipe(T.Label()),
11
+ }).pipe(T.Http({
12
+ method: "POST",
13
+ uri: "/overTheBox/{serviceName}/remoteAccesses/{remoteAccessId}/authorize",
14
+ code: 200,
15
+ }))).annotate({
16
+ identifier: "AuthorizeOverTheBoxRemoteAccessRequest",
17
+ });
18
+ export const AuthorizeOverTheBoxRemoteAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
19
+ identifier: "AuthorizeOverTheBoxRemoteAccessResponse",
20
+ });
21
+ export const CancelOverTheBoxResiliationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
22
+ serviceName: S.String.pipe(T.Label()),
23
+ }).pipe(T.Http({
24
+ method: "POST",
25
+ uri: "/overTheBox/{serviceName}/cancelResiliation",
26
+ code: 200,
27
+ }))).annotate({
28
+ identifier: "CancelOverTheBoxResiliationRequest",
29
+ });
30
+ export const CancelOverTheBoxResiliationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
31
+ identifier: "CancelOverTheBoxResiliationResponse",
32
+ });
33
+ export const CreateOverTheBoxChangeContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
34
+ serviceName: S.String.pipe(T.Label()),
35
+ contactAdmin: S.optional(S.String),
36
+ contactBilling: S.optional(S.String),
37
+ contactTech: S.optional(S.String),
38
+ }).pipe(T.Http({
39
+ method: "POST",
40
+ uri: "/overTheBox/{serviceName}/changeContact",
41
+ code: 200,
42
+ }))).annotate({
43
+ identifier: "CreateOverTheBoxChangeContactRequest",
44
+ });
45
+ export const CreateOverTheBoxChangeContactResponseBodyList =
46
+ /*@__PURE__*/ S.Array(S.Number);
47
+ export const CreateOverTheBoxChangeContactResponse = /*@__PURE__*/ S.suspend(() => CreateOverTheBoxChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
48
+ identifier: "CreateOverTheBoxChangeContactResponse",
49
+ });
50
+ export const CreateOverTheBoxDeviceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "POST", uri: "/overTheBox/devices", code: 200 }))).annotate({
51
+ identifier: "CreateOverTheBoxDeviceRequest",
52
+ });
53
+ export const OverTheBoxDeviceForRegistration = /*@__PURE__*/ S.suspend(() => S.Struct({
54
+ activated: S.optional(S.Boolean),
55
+ deviceId: S.optional(S.String),
56
+ lastSeen: S.optional(S.String),
57
+ })).annotate({
58
+ identifier: "OverTheBoxDeviceForRegistration",
59
+ });
60
+ export const CreateOverTheBoxDeviceResponseBodyList = /*@__PURE__*/ S.Array(OverTheBoxDeviceForRegistration);
61
+ export const CreateOverTheBoxDeviceResponse = /*@__PURE__*/ S.suspend(() => CreateOverTheBoxDeviceResponseBodyList.pipe(T.RawResponseRoot())).annotate({
62
+ identifier: "CreateOverTheBoxDeviceResponse",
63
+ });
64
+ export const CreateOverTheBoxDeviceActionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
65
+ serviceName: S.String.pipe(T.Label()),
66
+ name: S.String,
67
+ }).pipe(T.Http({
68
+ method: "POST",
69
+ uri: "/overTheBox/{serviceName}/device/actions",
70
+ code: 200,
71
+ }))).annotate({
72
+ identifier: "CreateOverTheBoxDeviceActionRequest",
73
+ });
74
+ export const OverTheBoxActionStatusEnum = /*@__PURE__*/ S.String;
75
+ export const OverTheBoxDeviceAction = /*@__PURE__*/ S.suspend(() => S.Struct({
76
+ actionId: S.optional(S.String),
77
+ createdAt: S.optional(S.String),
78
+ details: S.optional(S.String),
79
+ name: S.optional(S.String),
80
+ status: S.optional(OverTheBoxActionStatusEnum),
81
+ todoDate: S.optional(S.String),
82
+ updatedAt: S.optional(S.String),
83
+ })).annotate({
84
+ identifier: "OverTheBoxDeviceAction",
85
+ });
86
+ export const CreateOverTheBoxDeviceBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
87
+ serviceName: S.String.pipe(T.Label()),
88
+ }).pipe(T.Http({
89
+ method: "POST",
90
+ uri: "/overTheBox/{serviceName}/device/backup",
91
+ code: 200,
92
+ }))).annotate({
93
+ identifier: "CreateOverTheBoxDeviceBackupRequest",
94
+ });
95
+ export const CreateOverTheBoxDeviceLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
96
+ serviceName: S.String.pipe(T.Label()),
97
+ }).pipe(T.Http({
98
+ method: "POST",
99
+ uri: "/overTheBox/{serviceName}/device/logs",
100
+ code: 200,
101
+ }))).annotate({
102
+ identifier: "CreateOverTheBoxDeviceLogRequest",
103
+ });
104
+ export const OverTheBoxTemporaryLogsLink = /*@__PURE__*/ S.suspend(() => S.Struct({
105
+ expirationDate: S.optional(S.String),
106
+ url: S.optional(S.String),
107
+ })).annotate({
108
+ identifier: "OverTheBoxTemporaryLogsLink",
109
+ });
110
+ export const CreateOverTheBoxLinkDeviceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
111
+ serviceName: S.String.pipe(T.Label()),
112
+ deviceId: S.String,
113
+ }).pipe(T.Http({
114
+ method: "POST",
115
+ uri: "/overTheBox/{serviceName}/linkDevice",
116
+ code: 200,
117
+ }))).annotate({
118
+ identifier: "CreateOverTheBoxLinkDeviceRequest",
119
+ });
120
+ export const CreateOverTheBoxLinkDeviceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
121
+ identifier: "CreateOverTheBoxLinkDeviceResponse",
122
+ });
123
+ export const CreateOverTheBoxLinkHardwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
124
+ serviceName: S.String.pipe(T.Label()),
125
+ hardwareName: S.String,
126
+ }).pipe(T.Http({
127
+ method: "POST",
128
+ uri: "/overTheBox/{serviceName}/linkHardware",
129
+ code: 200,
130
+ }))).annotate({
131
+ identifier: "CreateOverTheBoxLinkHardwareRequest",
132
+ });
133
+ export const CreateOverTheBoxLinkHardwareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
134
+ identifier: "CreateOverTheBoxLinkHardwareResponse",
135
+ });
136
+ export const CreateOverTheBoxMigrationChangeOfferRequest =
137
+ /*@__PURE__*/ S.suspend(() => S.Struct({
138
+ serviceName: S.String.pipe(T.Label()),
139
+ hardwareName: S.optional(S.String),
140
+ offer: S.String,
141
+ shippingContactID: S.optional(S.String),
142
+ }).pipe(T.Http({
143
+ method: "POST",
144
+ uri: "/overTheBox/{serviceName}/migration/changeOffers",
145
+ code: 200,
146
+ }))).annotate({
147
+ identifier: "CreateOverTheBoxMigrationChangeOfferRequest",
148
+ });
149
+ export const OverTheBoxOrderMigration = /*@__PURE__*/ S.suspend(() => S.Struct({
150
+ orderId: S.optional(S.String),
151
+ orderUrl: S.optional(S.String),
152
+ })).annotate({
153
+ identifier: "OverTheBoxOrderMigration",
154
+ });
155
+ export const CreateOverTheBoxRemoteAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
156
+ serviceName: S.String.pipe(T.Label()),
157
+ allowedIp: S.optional(S.String),
158
+ expirationDate: S.optional(S.String),
159
+ exposedPort: S.Number,
160
+ publicKey: S.optional(S.String),
161
+ }).pipe(T.Http({
162
+ method: "POST",
163
+ uri: "/overTheBox/{serviceName}/remoteAccesses",
164
+ code: 200,
165
+ }))).annotate({
166
+ identifier: "CreateOverTheBoxRemoteAccessRequest",
167
+ });
168
+ export const OverTheBoxRemoteAccessConnectionInfos = /*@__PURE__*/ S.suspend(() => S.Struct({
169
+ ip: S.optional(S.NullOr(S.String)),
170
+ port: S.optional(S.NullOr(S.Number)),
171
+ })).annotate({
172
+ identifier: "OverTheBoxRemoteAccessConnectionInfos",
173
+ });
174
+ export const OverTheBoxRemoteAccessUserInfos = /*@__PURE__*/ S.suspend(() => S.Struct({
175
+ ip: S.optional(S.String),
176
+ publicKey: S.optional(S.NullOr(S.String)),
177
+ user: S.optional(S.String),
178
+ })).annotate({
179
+ identifier: "OverTheBoxRemoteAccessUserInfos",
180
+ });
181
+ export const OverTheBoxRemoteAccessStatusEnum = /*@__PURE__*/ S.String;
182
+ export const OverTheBoxRemoteAccess = /*@__PURE__*/ S.suspend(() => S.Struct({
183
+ accepted: S.optional(S.Boolean),
184
+ askDate: S.optional(S.String),
185
+ authorizedBy: S.optional(S.NullOr(S.String)),
186
+ connectionInfos: S.optional(OverTheBoxRemoteAccessConnectionInfos),
187
+ deletedAt: S.optional(S.NullOr(S.String)),
188
+ dockerVersion: S.optional(S.String),
189
+ expirationDate: S.optional(S.String),
190
+ exposedPort: S.optional(S.Number),
191
+ remoteAccessId: S.optional(S.String),
192
+ remoteUserInfos: S.optional(OverTheBoxRemoteAccessUserInfos),
193
+ status: S.optional(OverTheBoxRemoteAccessStatusEnum),
194
+ })).annotate({
195
+ identifier: "OverTheBoxRemoteAccess",
196
+ });
197
+ export const DeleteOverTheBoxRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
198
+ serviceName: S.String.pipe(T.Label()),
199
+ }).pipe(T.Http({ method: "DELETE", uri: "/overTheBox/{serviceName}", code: 200 }))).annotate({
200
+ identifier: "DeleteOverTheBoxRequest",
201
+ });
202
+ export const DeleteOverTheBoxResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
203
+ identifier: "DeleteOverTheBoxResponse",
204
+ });
205
+ export const DeleteOverTheBoxBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
206
+ serviceName: S.String.pipe(T.Label()),
207
+ backupId: S.String.pipe(T.Label()),
208
+ }).pipe(T.Http({
209
+ method: "DELETE",
210
+ uri: "/overTheBox/{serviceName}/backups/{backupId}",
211
+ code: 200,
212
+ }))).annotate({
213
+ identifier: "DeleteOverTheBoxBackupRequest",
214
+ });
215
+ export const DeleteOverTheBoxBackupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
216
+ identifier: "DeleteOverTheBoxBackupResponse",
217
+ });
218
+ export const DeleteOverTheBoxDeviceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
219
+ serviceName: S.String.pipe(T.Label()),
220
+ }).pipe(T.Http({
221
+ method: "DELETE",
222
+ uri: "/overTheBox/{serviceName}/device",
223
+ code: 200,
224
+ }))).annotate({
225
+ identifier: "DeleteOverTheBoxDeviceRequest",
226
+ });
227
+ export const DeleteOverTheBoxDeviceResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
228
+ identifier: "DeleteOverTheBoxDeviceResponse",
229
+ });
230
+ export const DeleteOverTheBoxRemoteAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
231
+ serviceName: S.String.pipe(T.Label()),
232
+ remoteAccessId: S.String.pipe(T.Label()),
233
+ }).pipe(T.Http({
234
+ method: "DELETE",
235
+ uri: "/overTheBox/{serviceName}/remoteAccesses/{remoteAccessId}",
236
+ code: 200,
237
+ }))).annotate({
238
+ identifier: "DeleteOverTheBoxRemoteAccessRequest",
239
+ });
240
+ export const DeleteOverTheBoxRemoteAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
241
+ identifier: "DeleteOverTheBoxRemoteAccessResponse",
242
+ });
243
+ export const GetOverTheBoxRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
244
+ serviceName: S.String.pipe(T.Label()),
245
+ }).pipe(T.Http({ method: "GET", uri: "/overTheBox/{serviceName}", code: 200 }))).annotate({
246
+ identifier: "GetOverTheBoxRequest",
247
+ });
248
+ export const OverTheBoxAvailableStatusEnum = /*@__PURE__*/ S.String;
249
+ export const OverTheBoxServiceConfigurationModeEnum = /*@__PURE__*/ S.String;
250
+ export const OverTheBoxGraphEndpoint = /*@__PURE__*/ S.suspend(() => S.Struct({
251
+ host: S.optional(S.String),
252
+ readToken: S.optional(S.String),
253
+ readTokenID: S.optional(S.String),
254
+ })).annotate({
255
+ identifier: "OverTheBoxGraphEndpoint",
256
+ });
257
+ export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
258
+ export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
259
+ displayName: S.optional(S.NullOr(S.String)),
260
+ id: S.optional(S.String),
261
+ tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
262
+ urn: S.optional(S.String),
263
+ })).annotate({
264
+ identifier: "IamResourceMetadata",
265
+ });
266
+ export const OverTheBoxServiceStatusEnum = /*@__PURE__*/ S.String;
267
+ export const OverTheBoxTunnelModeEnum = /*@__PURE__*/ S.String;
268
+ export const OverTheBoxServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
269
+ SOCKSProxyEnabled: S.optional(S.Boolean),
270
+ autoMTU: S.optional(OverTheBoxAvailableStatusEnum),
271
+ autoUpgrade: S.optional(S.Boolean),
272
+ bandwidth: S.optional(S.Number),
273
+ configurationMode: S.optional(OverTheBoxServiceConfigurationModeEnum),
274
+ customerDescription: S.optional(S.NullOr(S.String)),
275
+ graphEndpoint: S.optional(S.NullOr(OverTheBoxGraphEndpoint)),
276
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
277
+ ipv6Enabled: S.optional(S.Boolean),
278
+ offer: S.optional(S.String),
279
+ prettyOfferName: S.optional(S.String),
280
+ releaseChannel: S.optional(S.String),
281
+ serviceName: S.optional(S.String),
282
+ status: S.optional(OverTheBoxServiceStatusEnum),
283
+ tunnelMode: S.optional(OverTheBoxTunnelModeEnum),
284
+ })).annotate({
285
+ identifier: "OverTheBoxServiceWithIAM",
286
+ });
287
+ export const GetOverTheBoxBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
288
+ serviceName: S.String.pipe(T.Label()),
289
+ backupId: S.String.pipe(T.Label()),
290
+ }).pipe(T.Http({
291
+ method: "GET",
292
+ uri: "/overTheBox/{serviceName}/backups/{backupId}",
293
+ code: 200,
294
+ }))).annotate({
295
+ identifier: "GetOverTheBoxBackupRequest",
296
+ });
297
+ export const OverTheBoxBackup = /*@__PURE__*/ S.suspend(() => S.Struct({
298
+ backupId: S.optional(S.String),
299
+ createdAt: S.optional(S.String),
300
+ deviceActionId: S.optional(S.NullOr(S.String)),
301
+ })).annotate({
302
+ identifier: "OverTheBoxBackup",
303
+ });
304
+ export const GetOverTheBoxDeviceRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
305
+ serviceName: S.String.pipe(T.Label()),
306
+ }).pipe(T.Http({
307
+ method: "GET",
308
+ uri: "/overTheBox/{serviceName}/device",
309
+ code: 200,
310
+ }))).annotate({
311
+ identifier: "GetOverTheBoxDeviceRequest",
312
+ });
313
+ export const OverTheBoxDeviceInterfaceDnsServersList = /*@__PURE__*/ S.Array(S.String);
314
+ export const OverTheBoxMultipathStatusEnum = /*@__PURE__*/ S.String;
315
+ export const OverTheBoxDeviceInterface = /*@__PURE__*/ S.suspend(() => S.Struct({
316
+ device: S.optional(S.NullOr(S.String)),
317
+ dnsServers: S.optional(S.NullOr(OverTheBoxDeviceInterfaceDnsServersList)),
318
+ gateway: S.optional(S.NullOr(S.String)),
319
+ ip: S.optional(S.NullOr(S.String)),
320
+ multipathStatus: S.optional(OverTheBoxMultipathStatusEnum),
321
+ name: S.optional(S.String),
322
+ netmask: S.optional(S.NullOr(S.String)),
323
+ publicIp: S.optional(S.NullOr(S.String)),
324
+ })).annotate({
325
+ identifier: "OverTheBoxDeviceInterface",
326
+ });
327
+ export const OverTheBoxDeviceNetworkInterfacesList = /*@__PURE__*/ S.Array(OverTheBoxDeviceInterface);
328
+ export const OverTheBoxDeviceSystem = /*@__PURE__*/ S.suspend(() => S.Struct({
329
+ cpu: S.optional(S.NullOr(S.String)),
330
+ hostname: S.optional(S.NullOr(S.String)),
331
+ kernel: S.optional(S.NullOr(S.String)),
332
+ mac: S.optional(S.NullOr(S.String)),
333
+ model: S.optional(S.NullOr(S.String)),
334
+ name: S.optional(S.NullOr(S.String)),
335
+ offerName: S.optional(S.NullOr(S.String)),
336
+ ovhName: S.optional(S.NullOr(S.String)),
337
+ })).annotate({
338
+ identifier: "OverTheBoxDeviceSystem",
339
+ });
340
+ export const OverTheBoxDevice = /*@__PURE__*/ S.suspend(() => S.Struct({
341
+ activated: S.optional(S.Boolean),
342
+ availableUpdate: S.optional(S.Boolean),
343
+ deviceId: S.optional(S.String),
344
+ lastSeen: S.optional(S.String),
345
+ networkInterfaces: S.optional(OverTheBoxDeviceNetworkInterfacesList),
346
+ publicIp: S.optional(S.String),
347
+ system: S.optional(S.NullOr(OverTheBoxDeviceSystem)),
348
+ systemVersion: S.optional(S.String),
349
+ version: S.optional(S.String),
350
+ })).annotate({
351
+ identifier: "OverTheBoxDevice",
352
+ });
353
+ export const GetOverTheBoxDeviceActionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
354
+ serviceName: S.String.pipe(T.Label()),
355
+ actionId: S.String.pipe(T.Label()),
356
+ }).pipe(T.Http({
357
+ method: "GET",
358
+ uri: "/overTheBox/{serviceName}/device/actions/{actionId}",
359
+ code: 200,
360
+ }))).annotate({
361
+ identifier: "GetOverTheBoxDeviceActionRequest",
362
+ });
363
+ export const GetOverTheBoxDeviceHardwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
364
+ serviceName: S.String.pipe(T.Label()),
365
+ }).pipe(T.Http({
366
+ method: "GET",
367
+ uri: "/overTheBox/{serviceName}/device/hardware",
368
+ code: 200,
369
+ }))).annotate({
370
+ identifier: "GetOverTheBoxDeviceHardwareRequest",
371
+ });
372
+ export const OverTheBoxHardware = /*@__PURE__*/ S.suspend(() => S.Struct({
373
+ canBeLinkedToService: S.optional(S.Boolean),
374
+ mac: S.optional(S.NullOr(S.String)),
375
+ model: S.optional(S.String),
376
+ name: S.optional(S.String),
377
+ prettyModelName: S.optional(S.String),
378
+ serial: S.optional(S.String),
379
+ })).annotate({
380
+ identifier: "OverTheBoxHardware",
381
+ });
382
+ export const GetOverTheBoxHardwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
383
+ hardwareName: S.String.pipe(T.Label()),
384
+ }).pipe(T.Http({
385
+ method: "GET",
386
+ uri: "/overTheBox/hardware/{hardwareName}",
387
+ code: 200,
388
+ }))).annotate({
389
+ identifier: "GetOverTheBoxHardwareRequest",
390
+ });
391
+ export const OverTheBoxHardwareWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
392
+ canBeLinkedToService: S.optional(S.Boolean),
393
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
394
+ mac: S.optional(S.NullOr(S.String)),
395
+ model: S.optional(S.String),
396
+ name: S.optional(S.String),
397
+ prettyModelName: S.optional(S.String),
398
+ serial: S.optional(S.String),
399
+ })).annotate({
400
+ identifier: "OverTheBoxHardwareWithIAM",
401
+ });
402
+ export const GetOverTheBoxIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
403
+ serviceName: S.String.pipe(T.Label()),
404
+ ip: S.String.pipe(T.Label()),
405
+ }).pipe(T.Http({
406
+ method: "GET",
407
+ uri: "/overTheBox/{serviceName}/ips/{ip}",
408
+ code: 200,
409
+ }))).annotate({
410
+ identifier: "GetOverTheBoxIpsRequest",
411
+ });
412
+ export const OtbServiceIpGeolocationEnum = /*@__PURE__*/ S.String;
413
+ export const OtbServiceIpStatusEnum = /*@__PURE__*/ S.String;
414
+ export const OtbServiceIpVersionEnum = /*@__PURE__*/ S.String;
415
+ export const OtbServiceIp = /*@__PURE__*/ S.suspend(() => S.Struct({
416
+ geolocation: S.optional(OtbServiceIpGeolocationEnum),
417
+ ip: S.optional(S.String),
418
+ range: S.optional(S.Number),
419
+ status: S.optional(OtbServiceIpStatusEnum),
420
+ version: S.optional(OtbServiceIpVersionEnum),
421
+ })).annotate({ identifier: "OtbServiceIp" });
422
+ export const GetOverTheBoxRemoteAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
423
+ serviceName: S.String.pipe(T.Label()),
424
+ remoteAccessId: S.String.pipe(T.Label()),
425
+ }).pipe(T.Http({
426
+ method: "GET",
427
+ uri: "/overTheBox/{serviceName}/remoteAccesses/{remoteAccessId}",
428
+ code: 200,
429
+ }))).annotate({
430
+ identifier: "GetOverTheBoxRemoteAccessRequest",
431
+ });
432
+ export const GetOverTheBoxServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
433
+ serviceName: S.String.pipe(T.Label()),
434
+ }).pipe(T.Http({
435
+ method: "GET",
436
+ uri: "/overTheBox/{serviceName}/serviceInfos",
437
+ code: 200,
438
+ }))).annotate({
439
+ identifier: "GetOverTheBoxServiceInfosRequest",
440
+ });
441
+ export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
442
+ export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
443
+ automatic: S.optional(S.Boolean),
444
+ deleteAtExpiration: S.optional(S.Boolean),
445
+ forced: S.optional(S.Boolean),
446
+ manualPayment: S.optional(S.NullOr(S.Boolean)),
447
+ period: S.optional(S.NullOr(S.Number)),
448
+ })).annotate({
449
+ identifier: "ServiceRenewType",
450
+ });
451
+ export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
452
+ export const ServiceStateEnum = /*@__PURE__*/ S.String;
453
+ export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
454
+ canDeleteAtExpiration: S.optional(S.Boolean),
455
+ contactAdmin: S.optional(S.String),
456
+ contactBilling: S.optional(S.String),
457
+ contactTech: S.optional(S.String),
458
+ creation: S.optional(S.String),
459
+ domain: S.optional(S.String),
460
+ engagedUpTo: S.optional(S.NullOr(S.String)),
461
+ expiration: S.optional(S.String),
462
+ possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
463
+ renew: S.optional(S.NullOr(ServiceRenewType)),
464
+ renewalType: S.optional(ServiceRenewalTypeEnum),
465
+ serviceId: S.optional(S.Number),
466
+ status: S.optional(ServiceStateEnum),
467
+ })).annotate({
468
+ identifier: "ServicesService",
469
+ });
470
+ export const GetOverTheBoxTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
471
+ serviceName: S.String.pipe(T.Label()),
472
+ taskId: S.String.pipe(T.Label()),
473
+ }).pipe(T.Http({
474
+ method: "GET",
475
+ uri: "/overTheBox/{serviceName}/tasks/{taskId}",
476
+ code: 200,
477
+ }))).annotate({
478
+ identifier: "GetOverTheBoxTaskRequest",
479
+ });
480
+ export const OverTheBoxTaskStatusEnum = /*@__PURE__*/ S.String;
481
+ export const OverTheBoxTask = /*@__PURE__*/ S.suspend(() => S.Struct({
482
+ name: S.optional(S.String),
483
+ status: S.optional(OverTheBoxTaskStatusEnum),
484
+ taskId: S.optional(S.String),
485
+ })).annotate({ identifier: "OverTheBoxTask" });
486
+ export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
487
+ identifier: "IamResourceTagFilterInput",
488
+ });
489
+ export const ListOverTheBoxRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
490
+ export const ListOverTheBoxRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListOverTheBoxRequestIamTagsValueList);
491
+ export const ListOverTheBoxRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
492
+ iamTags: S.optional(ListOverTheBoxRequestIamTagsMap.pipe(T.Query())),
493
+ }).pipe(T.Http({ method: "GET", uri: "/overTheBox", code: 200 }))).annotate({
494
+ identifier: "ListOverTheBoxRequest",
495
+ });
496
+ export const ListOverTheBoxResponseBodyList = /*@__PURE__*/ S.Array(S.String);
497
+ export const ListOverTheBoxResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxResponseBodyList.pipe(T.RawResponseRoot())).annotate({
498
+ identifier: "ListOverTheBoxResponse",
499
+ });
500
+ export const ListOverTheBoxAvailableOffersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/overTheBox/availableOffers", code: 200 }))).annotate({
501
+ identifier: "ListOverTheBoxAvailableOffersRequest",
502
+ });
503
+ export const PriceOverTheBoxOfferEnum = /*@__PURE__*/ S.String;
504
+ export const ListOverTheBoxAvailableOffersResponseBodyList =
505
+ /*@__PURE__*/ S.Array(PriceOverTheBoxOfferEnum);
506
+ export const ListOverTheBoxAvailableOffersResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxAvailableOffersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
507
+ identifier: "ListOverTheBoxAvailableOffersResponse",
508
+ });
509
+ export const ListOverTheBoxAvailableReleaseChannelsRequest =
510
+ /*@__PURE__*/ S.suspend(() => S.Struct({
511
+ serviceName: S.String.pipe(T.Label()),
512
+ }).pipe(T.Http({
513
+ method: "GET",
514
+ uri: "/overTheBox/{serviceName}/availableReleaseChannels",
515
+ code: 200,
516
+ }))).annotate({
517
+ identifier: "ListOverTheBoxAvailableReleaseChannelsRequest",
518
+ });
519
+ export const ListOverTheBoxAvailableReleaseChannelsResponseBodyList =
520
+ /*@__PURE__*/ S.Array(S.String);
521
+ export const ListOverTheBoxAvailableReleaseChannelsResponse =
522
+ /*@__PURE__*/ S.suspend(() => ListOverTheBoxAvailableReleaseChannelsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
523
+ identifier: "ListOverTheBoxAvailableReleaseChannelsResponse",
524
+ });
525
+ export const ListOverTheBoxBackupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
526
+ serviceName: S.String.pipe(T.Label()),
527
+ }).pipe(T.Http({
528
+ method: "GET",
529
+ uri: "/overTheBox/{serviceName}/backups",
530
+ code: 200,
531
+ }))).annotate({
532
+ identifier: "ListOverTheBoxBackupsRequest",
533
+ });
534
+ export const ListOverTheBoxBackupsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
535
+ export const ListOverTheBoxBackupsResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxBackupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
536
+ identifier: "ListOverTheBoxBackupsResponse",
537
+ });
538
+ export const ListOverTheBoxDeviceActionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
539
+ serviceName: S.String.pipe(T.Label()),
540
+ name: S.optional(S.String.pipe(T.Query())),
541
+ status: S.optional(OverTheBoxActionStatusEnum.pipe(T.Query())),
542
+ }).pipe(T.Http({
543
+ method: "GET",
544
+ uri: "/overTheBox/{serviceName}/device/actions",
545
+ code: 200,
546
+ }))).annotate({
547
+ identifier: "ListOverTheBoxDeviceActionsRequest",
548
+ });
549
+ export const ListOverTheBoxDeviceActionsResponseBodyList =
550
+ /*@__PURE__*/ S.Array(S.String);
551
+ export const ListOverTheBoxDeviceActionsResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxDeviceActionsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
552
+ identifier: "ListOverTheBoxDeviceActionsResponse",
553
+ });
554
+ export const ListOverTheBoxDeviceAvailableActionsRequest =
555
+ /*@__PURE__*/ S.suspend(() => S.Struct({
556
+ serviceName: S.String.pipe(T.Label()),
557
+ }).pipe(T.Http({
558
+ method: "GET",
559
+ uri: "/overTheBox/{serviceName}/device/availableActions",
560
+ code: 200,
561
+ }))).annotate({
562
+ identifier: "ListOverTheBoxDeviceAvailableActionsRequest",
563
+ });
564
+ export const OverTheBoxAvailableDeviceAction = /*@__PURE__*/ S.suspend(() => S.Struct({
565
+ description: S.optional(S.String),
566
+ name: S.optional(S.String),
567
+ })).annotate({
568
+ identifier: "OverTheBoxAvailableDeviceAction",
569
+ });
570
+ export const ListOverTheBoxDeviceAvailableActionsResponseBodyList =
571
+ /*@__PURE__*/ S.Array(OverTheBoxAvailableDeviceAction);
572
+ export const ListOverTheBoxDeviceAvailableActionsResponse =
573
+ /*@__PURE__*/ S.suspend(() => ListOverTheBoxDeviceAvailableActionsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
574
+ identifier: "ListOverTheBoxDeviceAvailableActionsResponse",
575
+ });
576
+ export const ListOverTheBoxHardwareRequestIamTagsValueList =
577
+ /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
578
+ export const ListOverTheBoxHardwareRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListOverTheBoxHardwareRequestIamTagsValueList);
579
+ export const ListOverTheBoxHardwareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
580
+ iamTags: S.optional(ListOverTheBoxHardwareRequestIamTagsMap.pipe(T.Query())),
581
+ }).pipe(T.Http({ method: "GET", uri: "/overTheBox/hardware", code: 200 }))).annotate({
582
+ identifier: "ListOverTheBoxHardwareRequest",
583
+ });
584
+ export const ListOverTheBoxHardwareResponseBodyList = /*@__PURE__*/ S.Array(S.String);
585
+ export const ListOverTheBoxHardwareResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxHardwareResponseBodyList.pipe(T.RawResponseRoot())).annotate({
586
+ identifier: "ListOverTheBoxHardwareResponse",
587
+ });
588
+ export const ListOverTheBoxHardwareAvailableRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({
589
+ method: "GET",
590
+ uri: "/overTheBox/hardware/available",
591
+ code: 200,
592
+ }))).annotate({
593
+ identifier: "ListOverTheBoxHardwareAvailableRequest",
594
+ });
595
+ export const ListOverTheBoxHardwareAvailableResponseBodyList =
596
+ /*@__PURE__*/ S.Array(S.String);
597
+ export const ListOverTheBoxHardwareAvailableResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxHardwareAvailableResponseBodyList.pipe(T.RawResponseRoot())).annotate({
598
+ identifier: "ListOverTheBoxHardwareAvailableResponse",
599
+ });
600
+ export const ListOverTheBoxIpsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
601
+ serviceName: S.String.pipe(T.Label()),
602
+ }).pipe(T.Http({ method: "GET", uri: "/overTheBox/{serviceName}/ips", code: 200 }))).annotate({
603
+ identifier: "ListOverTheBoxIpsRequest",
604
+ });
605
+ export const ListOverTheBoxIpsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
606
+ export const ListOverTheBoxIpsResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxIpsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
607
+ identifier: "ListOverTheBoxIpsResponse",
608
+ });
609
+ export const ListOverTheBoxMigrationOffersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
610
+ serviceName: S.String.pipe(T.Label()),
611
+ }).pipe(T.Http({
612
+ method: "GET",
613
+ uri: "/overTheBox/{serviceName}/migration/offers",
614
+ code: 200,
615
+ }))).annotate({
616
+ identifier: "ListOverTheBoxMigrationOffersRequest",
617
+ });
618
+ export const OrderCurrencyCodeEnum = /*@__PURE__*/ S.String;
619
+ export const OrderPrice = /*@__PURE__*/ S.suspend(() => S.Struct({
620
+ currencyCode: S.optional(OrderCurrencyCodeEnum),
621
+ text: S.optional(S.String),
622
+ value: S.optional(S.Number),
623
+ })).annotate({ identifier: "OrderPrice" });
624
+ export const OverTheBoxHardwareDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
625
+ hardwareDisplayName: S.optional(S.NullOr(S.String)),
626
+ hardwareName: S.optional(S.NullOr(S.String)),
627
+ hardwarePrice: S.optional(S.NullOr(OrderPrice)),
628
+ })).annotate({
629
+ identifier: "OverTheBoxHardwareDetails",
630
+ });
631
+ export const OverTheBoxAvailableMigrationOfferHardwaresList =
632
+ /*@__PURE__*/ S.Array(OverTheBoxHardwareDetails);
633
+ export const OverTheBoxAvailableMigrationOffer = /*@__PURE__*/ S.suspend(() => S.Struct({
634
+ currentOfferPrice: S.optional(OrderPrice),
635
+ description: S.optional(S.String),
636
+ engagementMonths: S.optional(S.Number),
637
+ hardwareAvailable: S.optional(S.Boolean),
638
+ hardwareName: S.optional(S.NullOr(S.String)),
639
+ hardwarePrice: S.optional(S.NullOr(OrderPrice)),
640
+ hardwares: S.optional(OverTheBoxAvailableMigrationOfferHardwaresList),
641
+ offer: S.optional(S.String),
642
+ price: S.optional(OrderPrice),
643
+ })).annotate({
644
+ identifier: "OverTheBoxAvailableMigrationOffer",
645
+ });
646
+ export const ListOverTheBoxMigrationOffersResponseBodyList =
647
+ /*@__PURE__*/ S.Array(OverTheBoxAvailableMigrationOffer);
648
+ export const ListOverTheBoxMigrationOffersResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxMigrationOffersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
649
+ identifier: "ListOverTheBoxMigrationOffersResponse",
650
+ });
651
+ export const ListOverTheBoxRemoteAccessesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
652
+ serviceName: S.String.pipe(T.Label()),
653
+ }).pipe(T.Http({
654
+ method: "GET",
655
+ uri: "/overTheBox/{serviceName}/remoteAccesses",
656
+ code: 200,
657
+ }))).annotate({
658
+ identifier: "ListOverTheBoxRemoteAccessesRequest",
659
+ });
660
+ export const ListOverTheBoxRemoteAccessesResponseBodyList =
661
+ /*@__PURE__*/ S.Array(S.String);
662
+ export const ListOverTheBoxRemoteAccessesResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxRemoteAccessesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
663
+ identifier: "ListOverTheBoxRemoteAccessesResponse",
664
+ });
665
+ export const OtbDeviceStatisticsTypeEnum = /*@__PURE__*/ S.String;
666
+ export const OtbDeviceStatisticsPeriodEnum = /*@__PURE__*/ S.String;
667
+ export const ListOverTheBoxStatisticsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
668
+ serviceName: S.String.pipe(T.Label()),
669
+ metricsType: OtbDeviceStatisticsTypeEnum.pipe(T.Query()),
670
+ period: S.optional(OtbDeviceStatisticsPeriodEnum.pipe(T.Query())),
671
+ }).pipe(T.Http({
672
+ method: "GET",
673
+ uri: "/overTheBox/{serviceName}/statistics",
674
+ code: 200,
675
+ }))).annotate({
676
+ identifier: "ListOverTheBoxStatisticsRequest",
677
+ });
678
+ export const OtbDeviceStatisticsPoint = /*@__PURE__*/ S.suspend(() => S.Struct({
679
+ timestamp: S.optional(S.Number),
680
+ value: S.optional(S.NullOr(S.Number)),
681
+ })).annotate({
682
+ identifier: "OtbDeviceStatisticsPoint",
683
+ });
684
+ export const OtbDeviceStatisticsPointsList = /*@__PURE__*/ S.Array(OtbDeviceStatisticsPoint);
685
+ export const OtbDeviceStatisticsTag = /*@__PURE__*/ S.suspend(() => S.Struct({
686
+ name: S.optional(S.String),
687
+ value: S.optional(S.NullOr(S.String)),
688
+ })).annotate({
689
+ identifier: "OtbDeviceStatisticsTag",
690
+ });
691
+ export const OtbDeviceStatisticsTagsList = /*@__PURE__*/ S.Array(OtbDeviceStatisticsTag);
692
+ export const OtbDeviceStatisticsUnitEnum = /*@__PURE__*/ S.String;
693
+ export const OtbDeviceStatistics = /*@__PURE__*/ S.suspend(() => S.Struct({
694
+ name: S.optional(S.String),
695
+ points: S.optional(OtbDeviceStatisticsPointsList),
696
+ tags: S.optional(OtbDeviceStatisticsTagsList),
697
+ unit: S.optional(OtbDeviceStatisticsUnitEnum),
698
+ })).annotate({
699
+ identifier: "OtbDeviceStatistics",
700
+ });
701
+ export const ListOverTheBoxStatisticsResponseBodyList = /*@__PURE__*/ S.Array(OtbDeviceStatistics);
702
+ export const ListOverTheBoxStatisticsResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxStatisticsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
703
+ identifier: "ListOverTheBoxStatisticsResponse",
704
+ });
705
+ export const ListOverTheBoxTasksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
706
+ serviceName: S.String.pipe(T.Label()),
707
+ name: S.optional(S.String.pipe(T.Query())),
708
+ status: S.optional(OverTheBoxTaskStatusEnum.pipe(T.Query())),
709
+ }).pipe(T.Http({
710
+ method: "GET",
711
+ uri: "/overTheBox/{serviceName}/tasks",
712
+ code: 200,
713
+ }))).annotate({
714
+ identifier: "ListOverTheBoxTasksRequest",
715
+ });
716
+ export const ListOverTheBoxTasksResponseBodyList = /*@__PURE__*/ S.Array(S.String);
717
+ export const ListOverTheBoxTasksResponse = /*@__PURE__*/ S.suspend(() => ListOverTheBoxTasksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
718
+ identifier: "ListOverTheBoxTasksResponse",
719
+ });
720
+ export const PutOverTheBoxRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
721
+ serviceName: S.String.pipe(T.Label()),
722
+ autoUpgrade: S.optional(S.Boolean),
723
+ customerDescription: S.optional(S.NullOr(S.String)),
724
+ releaseChannel: S.optional(S.String),
725
+ }).pipe(T.Http({ method: "PUT", uri: "/overTheBox/{serviceName}", code: 200 }))).annotate({
726
+ identifier: "PutOverTheBoxRequest",
727
+ });
728
+ export const PutOverTheBoxResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
729
+ identifier: "PutOverTheBoxResponse",
730
+ });
731
+ export const PutOverTheBoxAutoMTURequest = /*@__PURE__*/ S.suspend(() => S.Struct({
732
+ serviceName: S.String.pipe(T.Label()),
733
+ mtuAuto: OverTheBoxAvailableStatusEnum,
734
+ }).pipe(T.Http({
735
+ method: "PUT",
736
+ uri: "/overTheBox/{serviceName}/autoMTU",
737
+ code: 200,
738
+ }))).annotate({
739
+ identifier: "PutOverTheBoxAutoMTURequest",
740
+ });
741
+ export const PutOverTheBoxAutoMTUResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
742
+ identifier: "PutOverTheBoxAutoMTUResponse",
743
+ });
744
+ export const PutOverTheBoxIpv6Request = /*@__PURE__*/ S.suspend(() => S.Struct({
745
+ serviceName: S.String.pipe(T.Label()),
746
+ enabled: S.Boolean,
747
+ }).pipe(T.Http({ method: "PUT", uri: "/overTheBox/{serviceName}/ipv6", code: 200 }))).annotate({
748
+ identifier: "PutOverTheBoxIpv6Request",
749
+ });
750
+ export const PutOverTheBoxServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
751
+ serviceName: S.String.pipe(T.Label()),
752
+ renew: S.optional(S.NullOr(ServiceRenewType)),
753
+ }).pipe(T.Http({
754
+ method: "PUT",
755
+ uri: "/overTheBox/{serviceName}/serviceInfos",
756
+ code: 200,
757
+ }))).annotate({
758
+ identifier: "PutOverTheBoxServiceInfosRequest",
759
+ });
760
+ export const PutOverTheBoxServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
761
+ identifier: "PutOverTheBoxServiceInfosResponse",
762
+ });
763
+ export const RestoreOverTheBoxDeviceBackupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
764
+ serviceName: S.String.pipe(T.Label()),
765
+ backupId: S.String,
766
+ }).pipe(T.Http({
767
+ method: "POST",
768
+ uri: "/overTheBox/{serviceName}/device/restoreBackup",
769
+ code: 200,
770
+ }))).annotate({
771
+ identifier: "RestoreOverTheBoxDeviceBackupRequest",
772
+ });
773
+ export const RestoreOverTheBoxDeviceBackupResponseBodyList =
774
+ /*@__PURE__*/ S.Array(OverTheBoxDeviceAction);
775
+ export const RestoreOverTheBoxDeviceBackupResponse = /*@__PURE__*/ S.suspend(() => RestoreOverTheBoxDeviceBackupResponseBodyList.pipe(T.RawResponseRoot())).annotate({
776
+ identifier: "RestoreOverTheBoxDeviceBackupResponse",
777
+ });
778
+ /** Authorize the remote access */
779
+ export const authorizeOverTheBoxRemoteAccess = /*@__PURE__*/ API.make(() => ({
780
+ input: AuthorizeOverTheBoxRemoteAccessRequest,
781
+ output: AuthorizeOverTheBoxRemoteAccessResponse,
782
+ errors: [UnknownOvhError],
783
+ protocol: OvhProtocol,
784
+ retry: Retry.Retry,
785
+ }));
786
+ /** Cancel the resiliation of the Service */
787
+ export const cancelOverTheBoxResiliation = /*@__PURE__*/ API.make(() => ({
788
+ input: CancelOverTheBoxResiliationRequest,
789
+ output: CancelOverTheBoxResiliationResponse,
790
+ errors: [UnknownOvhError],
791
+ protocol: OvhProtocol,
792
+ retry: Retry.Retry,
793
+ }));
794
+ /** Launch a contact change procedure */
795
+ export const createOverTheBoxChangeContact = /*@__PURE__*/ API.make(() => ({
796
+ input: CreateOverTheBoxChangeContactRequest,
797
+ output: CreateOverTheBoxChangeContactResponse,
798
+ errors: [UnknownOvhError],
799
+ protocol: OvhProtocol,
800
+ retry: Retry.Retry,
801
+ }));
802
+ /** Get the list of devices connected from the same IP address */
803
+ export const createOverTheBoxDevice = /*@__PURE__*/ API.make(() => ({
804
+ input: CreateOverTheBoxDeviceRequest,
805
+ output: CreateOverTheBoxDeviceResponse,
806
+ errors: [UnknownOvhError],
807
+ protocol: OvhProtocol,
808
+ retry: Retry.Retry,
809
+ }));
810
+ /** Create a device action on the device */
811
+ export const createOverTheBoxDeviceAction = /*@__PURE__*/ API.make(() => ({
812
+ input: CreateOverTheBoxDeviceActionRequest,
813
+ output: OverTheBoxDeviceAction,
814
+ errors: [UnknownOvhError],
815
+ protocol: OvhProtocol,
816
+ retry: Retry.Retry,
817
+ }));
818
+ /** Create an action to generate a backup */
819
+ export const createOverTheBoxDeviceBackup = /*@__PURE__*/ API.make(() => ({
820
+ input: CreateOverTheBoxDeviceBackupRequest,
821
+ output: OverTheBoxDeviceAction,
822
+ errors: [UnknownOvhError],
823
+ protocol: OvhProtocol,
824
+ retry: Retry.Retry,
825
+ }));
826
+ /** Generate a temporary url to retrieve device logs */
827
+ export const createOverTheBoxDeviceLog = /*@__PURE__*/ API.make(() => ({
828
+ input: CreateOverTheBoxDeviceLogRequest,
829
+ output: OverTheBoxTemporaryLogsLink,
830
+ errors: [UnknownOvhError],
831
+ protocol: OvhProtocol,
832
+ retry: Retry.Retry,
833
+ }));
834
+ /** Link a device to this service */
835
+ export const createOverTheBoxLinkDevice = /*@__PURE__*/ API.make(() => ({
836
+ input: CreateOverTheBoxLinkDeviceRequest,
837
+ output: CreateOverTheBoxLinkDeviceResponse,
838
+ errors: [UnknownOvhError],
839
+ protocol: OvhProtocol,
840
+ retry: Retry.Retry,
841
+ }));
842
+ /** Link an available hardware to this service */
843
+ export const createOverTheBoxLinkHardware = /*@__PURE__*/ API.make(() => ({
844
+ input: CreateOverTheBoxLinkHardwareRequest,
845
+ output: CreateOverTheBoxLinkHardwareResponse,
846
+ errors: [UnknownOvhError],
847
+ protocol: OvhProtocol,
848
+ retry: Retry.Retry,
849
+ }));
850
+ /** Migrate to the selected overTheBox offer */
851
+ export const createOverTheBoxMigrationChangeOffer = /*@__PURE__*/ API.make(() => ({
852
+ input: CreateOverTheBoxMigrationChangeOfferRequest,
853
+ output: OverTheBoxOrderMigration,
854
+ errors: [UnknownOvhError],
855
+ protocol: OvhProtocol,
856
+ retry: Retry.Retry,
857
+ }));
858
+ /** Create a new remote access for the service */
859
+ export const createOverTheBoxRemoteAccess = /*@__PURE__*/ API.make(() => ({
860
+ input: CreateOverTheBoxRemoteAccessRequest,
861
+ output: OverTheBoxRemoteAccess,
862
+ errors: [UnknownOvhError],
863
+ protocol: OvhProtocol,
864
+ retry: Retry.Retry,
865
+ }));
866
+ /** Resiliate a service */
867
+ export const deleteOverTheBox = /*@__PURE__*/ API.make(() => ({
868
+ input: DeleteOverTheBoxRequest,
869
+ output: DeleteOverTheBoxResponse,
870
+ errors: [UnknownOvhError],
871
+ protocol: OvhProtocol,
872
+ retry: Retry.Retry,
873
+ }));
874
+ /** Delete a backup */
875
+ export const deleteOverTheBoxBackup = /*@__PURE__*/ API.make(() => ({
876
+ input: DeleteOverTheBoxBackupRequest,
877
+ output: DeleteOverTheBoxBackupResponse,
878
+ errors: [UnknownOvhError],
879
+ protocol: OvhProtocol,
880
+ retry: Retry.Retry,
881
+ }));
882
+ /** Unlink a device from a service */
883
+ export const deleteOverTheBoxDevice = /*@__PURE__*/ API.make(() => ({
884
+ input: DeleteOverTheBoxDeviceRequest,
885
+ output: DeleteOverTheBoxDeviceResponse,
886
+ errors: [UnknownOvhError],
887
+ protocol: OvhProtocol,
888
+ retry: Retry.Retry,
889
+ }));
890
+ /** Delete a remote access */
891
+ export const deleteOverTheBoxRemoteAccess = /*@__PURE__*/ API.make(() => ({
892
+ input: DeleteOverTheBoxRemoteAccessRequest,
893
+ output: DeleteOverTheBoxRemoteAccessResponse,
894
+ errors: [UnknownOvhError],
895
+ protocol: OvhProtocol,
896
+ retry: Retry.Retry,
897
+ }));
898
+ /** Get this object properties */
899
+ export const getOverTheBox = /*@__PURE__*/ API.make(() => ({
900
+ input: GetOverTheBoxRequest,
901
+ output: OverTheBoxServiceWithIAM,
902
+ errors: [UnknownOvhError],
903
+ protocol: OvhProtocol,
904
+ retry: Retry.Retry,
905
+ }));
906
+ /** Get this object properties */
907
+ export const getOverTheBoxBackup = /*@__PURE__*/ API.make(() => ({
908
+ input: GetOverTheBoxBackupRequest,
909
+ output: OverTheBoxBackup,
910
+ errors: [UnknownOvhError],
911
+ protocol: OvhProtocol,
912
+ retry: Retry.Retry,
913
+ }));
914
+ /** Get this object properties */
915
+ export const getOverTheBoxDevice = /*@__PURE__*/ API.make(() => ({
916
+ input: GetOverTheBoxDeviceRequest,
917
+ output: OverTheBoxDevice,
918
+ errors: [UnknownOvhError],
919
+ protocol: OvhProtocol,
920
+ retry: Retry.Retry,
921
+ }));
922
+ /** Get this object properties */
923
+ export const getOverTheBoxDeviceAction = /*@__PURE__*/ API.make(() => ({
924
+ input: GetOverTheBoxDeviceActionRequest,
925
+ output: OverTheBoxDeviceAction,
926
+ errors: [UnknownOvhError],
927
+ protocol: OvhProtocol,
928
+ retry: Retry.Retry,
929
+ }));
930
+ /** Get this object properties */
931
+ export const getOverTheBoxDeviceHardware = /*@__PURE__*/ API.make(() => ({
932
+ input: GetOverTheBoxDeviceHardwareRequest,
933
+ output: OverTheBoxHardware,
934
+ errors: [UnknownOvhError],
935
+ protocol: OvhProtocol,
936
+ retry: Retry.Retry,
937
+ }));
938
+ /** Get this object properties */
939
+ export const getOverTheBoxHardware = /*@__PURE__*/ API.make(() => ({
940
+ input: GetOverTheBoxHardwareRequest,
941
+ output: OverTheBoxHardwareWithIAM,
942
+ errors: [UnknownOvhError],
943
+ protocol: OvhProtocol,
944
+ retry: Retry.Retry,
945
+ }));
946
+ /** Get details IP assigned to an OverTheBox service */
947
+ export const getOverTheBoxIps = /*@__PURE__*/ API.make(() => ({
948
+ input: GetOverTheBoxIpsRequest,
949
+ output: OtbServiceIp,
950
+ errors: [UnknownOvhError],
951
+ protocol: OvhProtocol,
952
+ retry: Retry.Retry,
953
+ }));
954
+ /** Get this object properties */
955
+ export const getOverTheBoxRemoteAccess = /*@__PURE__*/ API.make(() => ({
956
+ input: GetOverTheBoxRemoteAccessRequest,
957
+ output: OverTheBoxRemoteAccess,
958
+ errors: [UnknownOvhError],
959
+ protocol: OvhProtocol,
960
+ retry: Retry.Retry,
961
+ }));
962
+ /** Get service information */
963
+ export const getOverTheBoxServiceInfos = /*@__PURE__*/ API.make(() => ({
964
+ input: GetOverTheBoxServiceInfosRequest,
965
+ output: ServicesService,
966
+ errors: [UnknownOvhError],
967
+ protocol: OvhProtocol,
968
+ retry: Retry.Retry,
969
+ }));
970
+ /** Get this object properties */
971
+ export const getOverTheBoxTask = /*@__PURE__*/ API.make(() => ({
972
+ input: GetOverTheBoxTaskRequest,
973
+ output: OverTheBoxTask,
974
+ errors: [UnknownOvhError],
975
+ protocol: OvhProtocol,
976
+ retry: Retry.Retry,
977
+ }));
978
+ /** List available services */
979
+ export const listOverTheBox = /*@__PURE__*/ API.make(() => ({
980
+ input: ListOverTheBoxRequest,
981
+ output: ListOverTheBoxResponse,
982
+ errors: [UnknownOvhError],
983
+ protocol: OvhProtocol,
984
+ retry: Retry.Retry,
985
+ }));
986
+ /** List the available offers for the new call */
987
+ export const listOverTheBoxAvailableOffers = /*@__PURE__*/ API.make(() => ({
988
+ input: ListOverTheBoxAvailableOffersRequest,
989
+ output: ListOverTheBoxAvailableOffersResponse,
990
+ errors: [UnknownOvhError],
991
+ protocol: OvhProtocol,
992
+ retry: Retry.Retry,
993
+ }));
994
+ /** List available release channels for this service */
995
+ export const listOverTheBoxAvailableReleaseChannels = /*@__PURE__*/ API.make(() => ({
996
+ input: ListOverTheBoxAvailableReleaseChannelsRequest,
997
+ output: ListOverTheBoxAvailableReleaseChannelsResponse,
998
+ errors: [UnknownOvhError],
999
+ protocol: OvhProtocol,
1000
+ retry: Retry.Retry,
1001
+ }));
1002
+ /** List of backups for this service */
1003
+ export const listOverTheBoxBackups = /*@__PURE__*/ API.make(() => ({
1004
+ input: ListOverTheBoxBackupsRequest,
1005
+ output: ListOverTheBoxBackupsResponse,
1006
+ errors: [UnknownOvhError],
1007
+ protocol: OvhProtocol,
1008
+ retry: Retry.Retry,
1009
+ }));
1010
+ /** List of actions scheduled for this device */
1011
+ export const listOverTheBoxDeviceActions = /*@__PURE__*/ API.make(() => ({
1012
+ input: ListOverTheBoxDeviceActionsRequest,
1013
+ output: ListOverTheBoxDeviceActionsResponse,
1014
+ errors: [UnknownOvhError],
1015
+ protocol: OvhProtocol,
1016
+ retry: Retry.Retry,
1017
+ }));
1018
+ /** List the available device actions */
1019
+ export const listOverTheBoxDeviceAvailableActions = /*@__PURE__*/ API.make(() => ({
1020
+ input: ListOverTheBoxDeviceAvailableActionsRequest,
1021
+ output: ListOverTheBoxDeviceAvailableActionsResponse,
1022
+ errors: [UnknownOvhError],
1023
+ protocol: OvhProtocol,
1024
+ retry: Retry.Retry,
1025
+ }));
1026
+ /** List available services */
1027
+ export const listOverTheBoxHardware = /*@__PURE__*/ API.make(() => ({
1028
+ input: ListOverTheBoxHardwareRequest,
1029
+ output: ListOverTheBoxHardwareResponse,
1030
+ errors: [UnknownOvhError],
1031
+ protocol: OvhProtocol,
1032
+ retry: Retry.Retry,
1033
+ }));
1034
+ /** List hardware that can be linked to a service */
1035
+ export const listOverTheBoxHardwareAvailable = /*@__PURE__*/ API.make(() => ({
1036
+ input: ListOverTheBoxHardwareAvailableRequest,
1037
+ output: ListOverTheBoxHardwareAvailableResponse,
1038
+ errors: [UnknownOvhError],
1039
+ protocol: OvhProtocol,
1040
+ retry: Retry.Retry,
1041
+ }));
1042
+ /** List IP assigned to an OverTheBox service */
1043
+ export const listOverTheBoxIps = /*@__PURE__*/ API.make(() => ({
1044
+ input: ListOverTheBoxIpsRequest,
1045
+ output: ListOverTheBoxIpsResponse,
1046
+ errors: [UnknownOvhError],
1047
+ protocol: OvhProtocol,
1048
+ retry: Retry.Retry,
1049
+ }));
1050
+ /** List all available offers one can migrate to */
1051
+ export const listOverTheBoxMigrationOffers = /*@__PURE__*/ API.make(() => ({
1052
+ input: ListOverTheBoxMigrationOffersRequest,
1053
+ output: ListOverTheBoxMigrationOffersResponse,
1054
+ errors: [UnknownOvhError],
1055
+ protocol: OvhProtocol,
1056
+ retry: Retry.Retry,
1057
+ }));
1058
+ /** List of remote accesses for the service */
1059
+ export const listOverTheBoxRemoteAccesses = /*@__PURE__*/ API.make(() => ({
1060
+ input: ListOverTheBoxRemoteAccessesRequest,
1061
+ output: ListOverTheBoxRemoteAccessesResponse,
1062
+ errors: [UnknownOvhError],
1063
+ protocol: OvhProtocol,
1064
+ retry: Retry.Retry,
1065
+ }));
1066
+ /** Get statistics for an OTB device */
1067
+ export const listOverTheBoxStatistics = /*@__PURE__*/ API.make(() => ({
1068
+ input: ListOverTheBoxStatisticsRequest,
1069
+ output: ListOverTheBoxStatisticsResponse,
1070
+ errors: [UnknownOvhError],
1071
+ protocol: OvhProtocol,
1072
+ retry: Retry.Retry,
1073
+ }));
1074
+ /** List of tasks scheduled for this service */
1075
+ export const listOverTheBoxTasks = /*@__PURE__*/ API.make(() => ({
1076
+ input: ListOverTheBoxTasksRequest,
1077
+ output: ListOverTheBoxTasksResponse,
1078
+ errors: [UnknownOvhError],
1079
+ protocol: OvhProtocol,
1080
+ retry: Retry.Retry,
1081
+ }));
1082
+ /** Alter this object properties */
1083
+ export const putOverTheBox = /*@__PURE__*/ API.make(() => ({
1084
+ input: PutOverTheBoxRequest,
1085
+ output: PutOverTheBoxResponse,
1086
+ errors: [UnknownOvhError],
1087
+ protocol: OvhProtocol,
1088
+ retry: Retry.Retry,
1089
+ }));
1090
+ /** Change the value of autoMTU */
1091
+ export const putOverTheBoxAutoMTU = /*@__PURE__*/ API.make(() => ({
1092
+ input: PutOverTheBoxAutoMTURequest,
1093
+ output: PutOverTheBoxAutoMTUResponse,
1094
+ errors: [UnknownOvhError],
1095
+ protocol: OvhProtocol,
1096
+ retry: Retry.Retry,
1097
+ }));
1098
+ /** Change the status of IPv6 on this service */
1099
+ export const putOverTheBoxIpv6 = /*@__PURE__*/ API.make(() => ({
1100
+ input: PutOverTheBoxIpv6Request,
1101
+ output: OverTheBoxTask,
1102
+ errors: [UnknownOvhError],
1103
+ protocol: OvhProtocol,
1104
+ retry: Retry.Retry,
1105
+ }));
1106
+ /** Update service information */
1107
+ export const putOverTheBoxServiceInfos = /*@__PURE__*/ API.make(() => ({
1108
+ input: PutOverTheBoxServiceInfosRequest,
1109
+ output: PutOverTheBoxServiceInfosResponse,
1110
+ errors: [UnknownOvhError],
1111
+ protocol: OvhProtocol,
1112
+ retry: Retry.Retry,
1113
+ }));
1114
+ /** Create a group of actions to restore a given backup */
1115
+ export const restoreOverTheBoxDeviceBackup = /*@__PURE__*/ API.make(() => ({
1116
+ input: RestoreOverTheBoxDeviceBackupRequest,
1117
+ output: RestoreOverTheBoxDeviceBackupResponse,
1118
+ errors: [UnknownOvhError],
1119
+ protocol: OvhProtocol,
1120
+ retry: Retry.Retry,
1121
+ }));
1122
+ //# sourceMappingURL=overthebox.js.map