@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4200 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31119 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5760 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +962 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +967 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3080 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1833 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1691 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3554 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3072 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8878 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1353 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1791 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1022 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14894 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +842 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +842 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4527 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3682 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10954 -0
- package/src/services/cloud.ts +75508 -0
- package/src/services/cloud_v2.ts +14751 -0
- package/src/services/dedicatedceph.ts +2233 -0
- package/src/services/dedicatednasha.ts +2269 -0
- package/src/services/domain.ts +7998 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4218 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4462 -0
- package/src/services/iploadbalancing.ts +8422 -0
- package/src/services/ldp.ts +7274 -0
- package/src/services/me.ts +21720 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3226 -0
- package/src/services/packxdsl.ts +4623 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2433 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32941 -0
- package/src/services/vmwareclouddirectorbackup.ts +2171 -0
- package/src/services/vmwareclouddirectororganization.ts +2171 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11290 -0
- package/src/services/xdsl.ts +9278 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,4623 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-ovh). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.ts";
|
|
6
|
+
import {
|
|
7
|
+
OvhProtocol,
|
|
8
|
+
type OvhOpError,
|
|
9
|
+
type OvhOpContext,
|
|
10
|
+
} from "../protocol.ts";
|
|
11
|
+
import { UnknownOvhError } from "../errors.ts";
|
|
12
|
+
import * as Retry from "../retry.ts";
|
|
13
|
+
|
|
14
|
+
export type { OvhOpError, OvhOpContext };
|
|
15
|
+
|
|
16
|
+
export interface CancelPackXdslResiliationRequest {
|
|
17
|
+
/** The internal name of your pack */
|
|
18
|
+
packName: string;
|
|
19
|
+
}
|
|
20
|
+
export const CancelPackXdslResiliationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
21
|
+
S.Struct({
|
|
22
|
+
packName: S.String.pipe(T.Label()),
|
|
23
|
+
}).pipe(
|
|
24
|
+
T.Http({
|
|
25
|
+
method: "POST",
|
|
26
|
+
uri: "/pack/xdsl/{packName}/cancelResiliation",
|
|
27
|
+
code: 200,
|
|
28
|
+
}),
|
|
29
|
+
),
|
|
30
|
+
).annotate({
|
|
31
|
+
identifier: "CancelPackXdslResiliationRequest",
|
|
32
|
+
}) as any as S.Schema<CancelPackXdslResiliationRequest>;
|
|
33
|
+
|
|
34
|
+
export interface CancelPackXdslResiliationResponse {}
|
|
35
|
+
export const CancelPackXdslResiliationResponse = /*@__PURE__*/ S.suspend(() =>
|
|
36
|
+
S.Struct({}),
|
|
37
|
+
).annotate({
|
|
38
|
+
identifier: "CancelPackXdslResiliationResponse",
|
|
39
|
+
}) as any as S.Schema<CancelPackXdslResiliationResponse>;
|
|
40
|
+
|
|
41
|
+
export interface CreatePackXdslAddressMoveOfferRequest {
|
|
42
|
+
/** The internal name of your pack */
|
|
43
|
+
packName: string;
|
|
44
|
+
/** Eligibility reference */
|
|
45
|
+
eligibilityReference: string;
|
|
46
|
+
}
|
|
47
|
+
export const CreatePackXdslAddressMoveOfferRequest = /*@__PURE__*/ S.suspend(
|
|
48
|
+
() =>
|
|
49
|
+
S.Struct({
|
|
50
|
+
packName: S.String.pipe(T.Label()),
|
|
51
|
+
eligibilityReference: S.String,
|
|
52
|
+
}).pipe(
|
|
53
|
+
T.Http({
|
|
54
|
+
method: "POST",
|
|
55
|
+
uri: "/pack/xdsl/{packName}/addressMove/offers",
|
|
56
|
+
code: 200,
|
|
57
|
+
}),
|
|
58
|
+
),
|
|
59
|
+
).annotate({
|
|
60
|
+
identifier: "CreatePackXdslAddressMoveOfferRequest",
|
|
61
|
+
}) as any as S.Schema<CreatePackXdslAddressMoveOfferRequest>;
|
|
62
|
+
|
|
63
|
+
/** A contract */
|
|
64
|
+
export interface OrderContract {
|
|
65
|
+
content?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
url?: string;
|
|
68
|
+
}
|
|
69
|
+
export const OrderContract = /*@__PURE__*/ S.suspend(() =>
|
|
70
|
+
S.Struct({
|
|
71
|
+
content: S.optional(S.String),
|
|
72
|
+
name: S.optional(S.String),
|
|
73
|
+
url: S.optional(S.String),
|
|
74
|
+
}),
|
|
75
|
+
).annotate({ identifier: "OrderContract" }) as any as S.Schema<OrderContract>;
|
|
76
|
+
|
|
77
|
+
/** Contracts details for this offer */
|
|
78
|
+
export type PackXdslAddressMoveMoveOfferContractsList = Array<OrderContract>;
|
|
79
|
+
export const PackXdslAddressMoveMoveOfferContractsList = /*@__PURE__*/ S.Array(
|
|
80
|
+
OrderContract,
|
|
81
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferContractsList>;
|
|
82
|
+
|
|
83
|
+
export type OrderCurrencyCodeEnum =
|
|
84
|
+
| "AUD"
|
|
85
|
+
| "CAD"
|
|
86
|
+
| "CZK"
|
|
87
|
+
| "EUR"
|
|
88
|
+
| "GBP"
|
|
89
|
+
| "INR"
|
|
90
|
+
| "LTL"
|
|
91
|
+
| "MAD"
|
|
92
|
+
| "N/A"
|
|
93
|
+
| "PLN"
|
|
94
|
+
| "SGD"
|
|
95
|
+
| "TND"
|
|
96
|
+
| "USD"
|
|
97
|
+
| "XOF"
|
|
98
|
+
| "points";
|
|
99
|
+
export const OrderCurrencyCodeEnum = /*@__PURE__*/ S.String;
|
|
100
|
+
|
|
101
|
+
/** Price with it's currency and textual representation */
|
|
102
|
+
export interface OrderPrice {
|
|
103
|
+
currencyCode?: OrderCurrencyCodeEnum;
|
|
104
|
+
text?: string;
|
|
105
|
+
value?: number;
|
|
106
|
+
}
|
|
107
|
+
export const OrderPrice = /*@__PURE__*/ S.suspend(() =>
|
|
108
|
+
S.Struct({
|
|
109
|
+
currencyCode: S.optional(OrderCurrencyCodeEnum),
|
|
110
|
+
text: S.optional(S.String),
|
|
111
|
+
value: S.optional(S.Number),
|
|
112
|
+
}),
|
|
113
|
+
).annotate({ identifier: "OrderPrice" }) as any as S.Schema<OrderPrice>;
|
|
114
|
+
|
|
115
|
+
/** Available modem option for the offer */
|
|
116
|
+
export interface PackXdslMigrationOfferModemOption {
|
|
117
|
+
/** Name of the modem */
|
|
118
|
+
name?: string;
|
|
119
|
+
/** Price of for this modem */
|
|
120
|
+
price?: OrderPrice | null;
|
|
121
|
+
}
|
|
122
|
+
export const PackXdslMigrationOfferModemOption = /*@__PURE__*/ S.suspend(() =>
|
|
123
|
+
S.Struct({
|
|
124
|
+
name: S.optional(S.String),
|
|
125
|
+
price: S.optional(S.NullOr(OrderPrice)),
|
|
126
|
+
}),
|
|
127
|
+
).annotate({
|
|
128
|
+
identifier: "PackXdslMigrationOfferModemOption",
|
|
129
|
+
}) as any as S.Schema<PackXdslMigrationOfferModemOption>;
|
|
130
|
+
|
|
131
|
+
/** List of modems for this offer */
|
|
132
|
+
export type PackXdslAddressMoveMoveOfferModemOptionsList =
|
|
133
|
+
Array<PackXdslMigrationOfferModemOption>;
|
|
134
|
+
export const PackXdslAddressMoveMoveOfferModemOptionsList =
|
|
135
|
+
/*@__PURE__*/ S.Array(
|
|
136
|
+
PackXdslMigrationOfferModemOption,
|
|
137
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferModemOptionsList>;
|
|
138
|
+
|
|
139
|
+
/** Offer product provider */
|
|
140
|
+
export type ConnectivityEligibilityOfferProductProviderEnum =
|
|
141
|
+
| "AI"
|
|
142
|
+
| "ALTERNATIVE"
|
|
143
|
+
| "AX"
|
|
144
|
+
| "AXIONE"
|
|
145
|
+
| "BOUYGTEL"
|
|
146
|
+
| "BOUYGUES"
|
|
147
|
+
| "COVAGE"
|
|
148
|
+
| "FI"
|
|
149
|
+
| "KOSC"
|
|
150
|
+
| "OR"
|
|
151
|
+
| "ORANGE"
|
|
152
|
+
| "OS"
|
|
153
|
+
| "REFERENCE"
|
|
154
|
+
| "SFR"
|
|
155
|
+
| "TF";
|
|
156
|
+
export const ConnectivityEligibilityOfferProductProviderEnum =
|
|
157
|
+
/*@__PURE__*/ S.String;
|
|
158
|
+
|
|
159
|
+
/** Available option for the offer */
|
|
160
|
+
export interface PackXdslMigrationOfferAvailableOption {
|
|
161
|
+
/** Number of months paid for */
|
|
162
|
+
duration?: number;
|
|
163
|
+
/** Number of slots included by default in this offer */
|
|
164
|
+
included?: number;
|
|
165
|
+
/** Name of the option */
|
|
166
|
+
name?: string;
|
|
167
|
+
/** Number of optional slots that can be puchased */
|
|
168
|
+
optional?: number;
|
|
169
|
+
/** Price of an additional slot. You pay this price everytime the duration is expired */
|
|
170
|
+
optionalPrice?: OrderPrice | null;
|
|
171
|
+
}
|
|
172
|
+
export const PackXdslMigrationOfferAvailableOption = /*@__PURE__*/ S.suspend(
|
|
173
|
+
() =>
|
|
174
|
+
S.Struct({
|
|
175
|
+
duration: S.optional(S.Number),
|
|
176
|
+
included: S.optional(S.Number),
|
|
177
|
+
name: S.optional(S.String),
|
|
178
|
+
optional: S.optional(S.Number),
|
|
179
|
+
optionalPrice: S.optional(S.NullOr(OrderPrice)),
|
|
180
|
+
}),
|
|
181
|
+
).annotate({
|
|
182
|
+
identifier: "PackXdslMigrationOfferAvailableOption",
|
|
183
|
+
}) as any as S.Schema<PackXdslMigrationOfferAvailableOption>;
|
|
184
|
+
|
|
185
|
+
/** Available options for the migration */
|
|
186
|
+
export type PackXdslAddressMoveMoveOfferOptionsList =
|
|
187
|
+
Array<PackXdslMigrationOfferAvailableOption>;
|
|
188
|
+
export const PackXdslAddressMoveMoveOfferOptionsList = /*@__PURE__*/ S.Array(
|
|
189
|
+
PackXdslMigrationOfferAvailableOption,
|
|
190
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferOptionsList>;
|
|
191
|
+
|
|
192
|
+
/** Price details for an offer */
|
|
193
|
+
export interface PackXdslAddressMovePrice {
|
|
194
|
+
/** Description of the price */
|
|
195
|
+
description?: string;
|
|
196
|
+
/** Price of the offer */
|
|
197
|
+
price?: OrderPrice | null;
|
|
198
|
+
}
|
|
199
|
+
export const PackXdslAddressMovePrice = /*@__PURE__*/ S.suspend(() =>
|
|
200
|
+
S.Struct({
|
|
201
|
+
description: S.optional(S.String),
|
|
202
|
+
price: S.optional(S.NullOr(OrderPrice)),
|
|
203
|
+
}),
|
|
204
|
+
).annotate({
|
|
205
|
+
identifier: "PackXdslAddressMovePrice",
|
|
206
|
+
}) as any as S.Schema<PackXdslAddressMovePrice>;
|
|
207
|
+
|
|
208
|
+
/** Migration or address move offer promotion details */
|
|
209
|
+
export interface PackXdslMigrationAndAddressMovePromotionDetails {
|
|
210
|
+
/** Promotion discount */
|
|
211
|
+
discount?: OrderPrice;
|
|
212
|
+
/** Duration of the promotion, if applicable (only for recurrent billing) */
|
|
213
|
+
duration?: string | null;
|
|
214
|
+
}
|
|
215
|
+
export const PackXdslMigrationAndAddressMovePromotionDetails =
|
|
216
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
217
|
+
S.Struct({
|
|
218
|
+
discount: S.optional(OrderPrice),
|
|
219
|
+
duration: S.optional(S.NullOr(S.String)),
|
|
220
|
+
}),
|
|
221
|
+
).annotate({
|
|
222
|
+
identifier: "PackXdslMigrationAndAddressMovePromotionDetails",
|
|
223
|
+
}) as any as S.Schema<PackXdslMigrationAndAddressMovePromotionDetails>;
|
|
224
|
+
|
|
225
|
+
/** Migration or address move offer promotion */
|
|
226
|
+
export interface PackXdslMigrationAndAddressMovePromotion {
|
|
227
|
+
/** Promotion end date, if applicable */
|
|
228
|
+
endDate?: string | null;
|
|
229
|
+
/** Identifier of the promotion */
|
|
230
|
+
id?: string;
|
|
231
|
+
/** Details of the promotion for the install fee */
|
|
232
|
+
installFee?: PackXdslMigrationAndAddressMovePromotionDetails | null;
|
|
233
|
+
/** Promotion start date, if applicable */
|
|
234
|
+
startDate?: string | null;
|
|
235
|
+
/** Details of the promotion for the subscription */
|
|
236
|
+
subscription?: PackXdslMigrationAndAddressMovePromotionDetails | null;
|
|
237
|
+
}
|
|
238
|
+
export const PackXdslMigrationAndAddressMovePromotion = /*@__PURE__*/ S.suspend(
|
|
239
|
+
() =>
|
|
240
|
+
S.Struct({
|
|
241
|
+
endDate: S.optional(S.NullOr(S.String)),
|
|
242
|
+
id: S.optional(S.String),
|
|
243
|
+
installFee: S.optional(
|
|
244
|
+
S.NullOr(PackXdslMigrationAndAddressMovePromotionDetails),
|
|
245
|
+
),
|
|
246
|
+
startDate: S.optional(S.NullOr(S.String)),
|
|
247
|
+
subscription: S.optional(
|
|
248
|
+
S.NullOr(PackXdslMigrationAndAddressMovePromotionDetails),
|
|
249
|
+
),
|
|
250
|
+
}),
|
|
251
|
+
).annotate({
|
|
252
|
+
identifier: "PackXdslMigrationAndAddressMovePromotion",
|
|
253
|
+
}) as any as S.Schema<PackXdslMigrationAndAddressMovePromotion>;
|
|
254
|
+
|
|
255
|
+
/** Price details for an offer */
|
|
256
|
+
export interface PackXdslAddressMovePriceOffer {
|
|
257
|
+
/** Creation line fees */
|
|
258
|
+
creationLineFees?: PackXdslAddressMovePrice;
|
|
259
|
+
/** Price of the current offer */
|
|
260
|
+
currentOfferPrice?: PackXdslAddressMovePrice;
|
|
261
|
+
/** Upgrade offer price */
|
|
262
|
+
due?: PackXdslAddressMovePrice;
|
|
263
|
+
/** Subscription price the first year */
|
|
264
|
+
firstYearPromo?: PackXdslAddressMovePrice;
|
|
265
|
+
/** Install fee for GTR option comfort additional cost */
|
|
266
|
+
gtrComfortFees?: PackXdslAddressMovePrice | null;
|
|
267
|
+
/** Installation fees */
|
|
268
|
+
installFees?: PackXdslAddressMovePrice;
|
|
269
|
+
/** Price for modem rental */
|
|
270
|
+
modemRental?: PackXdslAddressMovePrice;
|
|
271
|
+
/** Price of the offer */
|
|
272
|
+
price?: PackXdslAddressMovePrice;
|
|
273
|
+
/** Promotion, if available */
|
|
274
|
+
promotion?: PackXdslMigrationAndAddressMovePromotion | null;
|
|
275
|
+
/** Subscription price for provider AI additional cost */
|
|
276
|
+
providerAI?: PackXdslAddressMovePrice | null;
|
|
277
|
+
/** Subscription price for provider ORANGE additional cost */
|
|
278
|
+
providerOrange?: PackXdslAddressMovePrice | null;
|
|
279
|
+
}
|
|
280
|
+
export const PackXdslAddressMovePriceOffer = /*@__PURE__*/ S.suspend(() =>
|
|
281
|
+
S.Struct({
|
|
282
|
+
creationLineFees: S.optional(PackXdslAddressMovePrice),
|
|
283
|
+
currentOfferPrice: S.optional(PackXdslAddressMovePrice),
|
|
284
|
+
due: S.optional(PackXdslAddressMovePrice),
|
|
285
|
+
firstYearPromo: S.optional(PackXdslAddressMovePrice),
|
|
286
|
+
gtrComfortFees: S.optional(S.NullOr(PackXdslAddressMovePrice)),
|
|
287
|
+
installFees: S.optional(PackXdslAddressMovePrice),
|
|
288
|
+
modemRental: S.optional(PackXdslAddressMovePrice),
|
|
289
|
+
price: S.optional(PackXdslAddressMovePrice),
|
|
290
|
+
promotion: S.optional(S.NullOr(PackXdslMigrationAndAddressMovePromotion)),
|
|
291
|
+
providerAI: S.optional(S.NullOr(PackXdslAddressMovePrice)),
|
|
292
|
+
providerOrange: S.optional(S.NullOr(PackXdslAddressMovePrice)),
|
|
293
|
+
}),
|
|
294
|
+
).annotate({
|
|
295
|
+
identifier: "PackXdslAddressMovePriceOffer",
|
|
296
|
+
}) as any as S.Schema<PackXdslAddressMovePriceOffer>;
|
|
297
|
+
|
|
298
|
+
/** List of product from provider available for an offer */
|
|
299
|
+
export type PackXdslAddressMoveMoveOfferProductCodesList = Array<string>;
|
|
300
|
+
export const PackXdslAddressMoveMoveOfferProductCodesList =
|
|
301
|
+
/*@__PURE__*/ S.Array(
|
|
302
|
+
S.String,
|
|
303
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferProductCodesList>;
|
|
304
|
+
|
|
305
|
+
/** List of domains of sub services */
|
|
306
|
+
export type PackXdslMigrationSubServiceToDeleteServicesList = Array<string>;
|
|
307
|
+
export const PackXdslMigrationSubServiceToDeleteServicesList =
|
|
308
|
+
/*@__PURE__*/ S.Array(
|
|
309
|
+
S.String,
|
|
310
|
+
) as any as S.Schema<PackXdslMigrationSubServiceToDeleteServicesList>;
|
|
311
|
+
|
|
312
|
+
/** Service name */
|
|
313
|
+
export type PackXdslServiceNameEnum =
|
|
314
|
+
| "domain"
|
|
315
|
+
| "emailPro"
|
|
316
|
+
| "exchangeAccount"
|
|
317
|
+
| "exchangeIndividual"
|
|
318
|
+
| "exchangeOrganization"
|
|
319
|
+
| "grt10ho"
|
|
320
|
+
| "grt20m10ho"
|
|
321
|
+
| "grt20m4ho"
|
|
322
|
+
| "grt4ho"
|
|
323
|
+
| "grt5m10ho"
|
|
324
|
+
| "grt5m4ho"
|
|
325
|
+
| "grtAlt"
|
|
326
|
+
| "grtDsp"
|
|
327
|
+
| "grtFt"
|
|
328
|
+
| "grtKosc"
|
|
329
|
+
| "grtOvh"
|
|
330
|
+
| "hostedEmail"
|
|
331
|
+
| "modem"
|
|
332
|
+
| "overTheBoxHardware"
|
|
333
|
+
| "overTheBoxService"
|
|
334
|
+
| "voipAlias"
|
|
335
|
+
| "voipBillingAccount"
|
|
336
|
+
| "voipEcoFax"
|
|
337
|
+
| "voipLine"
|
|
338
|
+
| "voipTrunk"
|
|
339
|
+
| "xdslAccess";
|
|
340
|
+
export const PackXdslServiceNameEnum = /*@__PURE__*/ S.String;
|
|
341
|
+
|
|
342
|
+
/** Sub service to delete */
|
|
343
|
+
export interface PackXdslMigrationSubServiceToDelete {
|
|
344
|
+
/** Number of services to be deleted */
|
|
345
|
+
numberToDelete?: number;
|
|
346
|
+
/** List of domains of sub services */
|
|
347
|
+
services?: PackXdslMigrationSubServiceToDeleteServicesList;
|
|
348
|
+
/** Type of service to be deleted */
|
|
349
|
+
type?: PackXdslServiceNameEnum;
|
|
350
|
+
}
|
|
351
|
+
export const PackXdslMigrationSubServiceToDelete = /*@__PURE__*/ S.suspend(() =>
|
|
352
|
+
S.Struct({
|
|
353
|
+
numberToDelete: S.optional(S.Number),
|
|
354
|
+
services: S.optional(PackXdslMigrationSubServiceToDeleteServicesList),
|
|
355
|
+
type: S.optional(PackXdslServiceNameEnum),
|
|
356
|
+
}),
|
|
357
|
+
).annotate({
|
|
358
|
+
identifier: "PackXdslMigrationSubServiceToDelete",
|
|
359
|
+
}) as any as S.Schema<PackXdslMigrationSubServiceToDelete>;
|
|
360
|
+
|
|
361
|
+
/** List of sub services to delete */
|
|
362
|
+
export type PackXdslAddressMoveMoveOfferSubServicesToDeleteList =
|
|
363
|
+
Array<PackXdslMigrationSubServiceToDelete>;
|
|
364
|
+
export const PackXdslAddressMoveMoveOfferSubServicesToDeleteList =
|
|
365
|
+
/*@__PURE__*/ S.Array(
|
|
366
|
+
PackXdslMigrationSubServiceToDelete,
|
|
367
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferSubServicesToDeleteList>;
|
|
368
|
+
|
|
369
|
+
/** Address move offer */
|
|
370
|
+
export interface PackXdslAddressMoveMoveOffer {
|
|
371
|
+
/** Contracts details for this offer */
|
|
372
|
+
contracts?: PackXdslAddressMoveMoveOfferContractsList;
|
|
373
|
+
/** Tells if the custom ont address is available on the offer */
|
|
374
|
+
customOntAddress?: boolean;
|
|
375
|
+
/** Description of the offer */
|
|
376
|
+
description?: string;
|
|
377
|
+
/** Number of months of engagement */
|
|
378
|
+
engageMonths?: number | null;
|
|
379
|
+
/** Tells if the customer is still engaged */
|
|
380
|
+
engaged?: boolean;
|
|
381
|
+
/** List of modems for this offer */
|
|
382
|
+
modemOptions?: PackXdslAddressMoveMoveOfferModemOptionsList | null;
|
|
383
|
+
/** Modem reference (Mac or Serial) to be returned */
|
|
384
|
+
modemReferenceToReturn?: string | null;
|
|
385
|
+
/** Tells if the offer needs a modem */
|
|
386
|
+
needModem?: boolean;
|
|
387
|
+
/** Tells if the customer will have to change its modem */
|
|
388
|
+
needNewModem?: boolean;
|
|
389
|
+
/** Name of the offer */
|
|
390
|
+
offerName?: string;
|
|
391
|
+
/** Collection operator (CO) */
|
|
392
|
+
operator?: ConnectivityEligibilityOfferProductProviderEnum | null;
|
|
393
|
+
/** Available options for the migration */
|
|
394
|
+
options?: PackXdslAddressMoveMoveOfferOptionsList;
|
|
395
|
+
/** Prices detailed applicable for this offer */
|
|
396
|
+
prices?: PackXdslAddressMovePriceOffer;
|
|
397
|
+
/** List of product from provider available for an offer */
|
|
398
|
+
productCodes?: PackXdslAddressMoveMoveOfferProductCodesList;
|
|
399
|
+
/** List of sub services to delete */
|
|
400
|
+
subServicesToDelete?: PackXdslAddressMoveMoveOfferSubServicesToDeleteList;
|
|
401
|
+
/** URL of the offer */
|
|
402
|
+
url?: string;
|
|
403
|
+
}
|
|
404
|
+
export const PackXdslAddressMoveMoveOffer = /*@__PURE__*/ S.suspend(() =>
|
|
405
|
+
S.Struct({
|
|
406
|
+
contracts: S.optional(PackXdslAddressMoveMoveOfferContractsList),
|
|
407
|
+
customOntAddress: S.optional(S.Boolean),
|
|
408
|
+
description: S.optional(S.String),
|
|
409
|
+
engageMonths: S.optional(S.NullOr(S.Number)),
|
|
410
|
+
engaged: S.optional(S.Boolean),
|
|
411
|
+
modemOptions: S.optional(
|
|
412
|
+
S.NullOr(PackXdslAddressMoveMoveOfferModemOptionsList),
|
|
413
|
+
),
|
|
414
|
+
modemReferenceToReturn: S.optional(S.NullOr(S.String)),
|
|
415
|
+
needModem: S.optional(S.Boolean),
|
|
416
|
+
needNewModem: S.optional(S.Boolean),
|
|
417
|
+
offerName: S.optional(S.String),
|
|
418
|
+
operator: S.optional(
|
|
419
|
+
S.NullOr(ConnectivityEligibilityOfferProductProviderEnum),
|
|
420
|
+
),
|
|
421
|
+
options: S.optional(PackXdslAddressMoveMoveOfferOptionsList),
|
|
422
|
+
prices: S.optional(PackXdslAddressMovePriceOffer),
|
|
423
|
+
productCodes: S.optional(PackXdslAddressMoveMoveOfferProductCodesList),
|
|
424
|
+
subServicesToDelete: S.optional(
|
|
425
|
+
PackXdslAddressMoveMoveOfferSubServicesToDeleteList,
|
|
426
|
+
),
|
|
427
|
+
url: S.optional(S.String),
|
|
428
|
+
}),
|
|
429
|
+
).annotate({
|
|
430
|
+
identifier: "PackXdslAddressMoveMoveOffer",
|
|
431
|
+
}) as any as S.Schema<PackXdslAddressMoveMoveOffer>;
|
|
432
|
+
|
|
433
|
+
/** Array of offers */
|
|
434
|
+
export type PackXdslAddressMoveMoveOfferResponseOffersList =
|
|
435
|
+
Array<PackXdslAddressMoveMoveOffer>;
|
|
436
|
+
export const PackXdslAddressMoveMoveOfferResponseOffersList =
|
|
437
|
+
/*@__PURE__*/ S.Array(
|
|
438
|
+
PackXdslAddressMoveMoveOffer,
|
|
439
|
+
) as any as S.Schema<PackXdslAddressMoveMoveOfferResponseOffersList>;
|
|
440
|
+
|
|
441
|
+
/** List of available Move address offer */
|
|
442
|
+
export interface PackXdslAddressMoveMoveOfferResponse {
|
|
443
|
+
/** Array of offers */
|
|
444
|
+
offers?: PackXdslAddressMoveMoveOfferResponseOffersList;
|
|
445
|
+
}
|
|
446
|
+
export const PackXdslAddressMoveMoveOfferResponse = /*@__PURE__*/ S.suspend(
|
|
447
|
+
() =>
|
|
448
|
+
S.Struct({
|
|
449
|
+
offers: S.optional(PackXdslAddressMoveMoveOfferResponseOffersList),
|
|
450
|
+
}),
|
|
451
|
+
).annotate({
|
|
452
|
+
identifier: "PackXdslAddressMoveMoveOfferResponse",
|
|
453
|
+
}) as any as S.Schema<PackXdslAddressMoveMoveOfferResponse>;
|
|
454
|
+
|
|
455
|
+
/** AsyncTask status */
|
|
456
|
+
export type PackXdslAsyncTaskStatusEnum = "error" | "ok" | "pending";
|
|
457
|
+
export const PackXdslAsyncTaskStatusEnum = /*@__PURE__*/ S.String;
|
|
458
|
+
|
|
459
|
+
/** Async task */
|
|
460
|
+
export interface PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse {
|
|
461
|
+
/** Error */
|
|
462
|
+
error?: string | null;
|
|
463
|
+
result?: PackXdslAddressMoveMoveOfferResponse;
|
|
464
|
+
/** Status of the call */
|
|
465
|
+
status?: PackXdslAsyncTaskStatusEnum;
|
|
466
|
+
}
|
|
467
|
+
export const PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse =
|
|
468
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
469
|
+
S.Struct({
|
|
470
|
+
error: S.optional(S.NullOr(S.String)),
|
|
471
|
+
result: S.optional(PackXdslAddressMoveMoveOfferResponse),
|
|
472
|
+
status: S.optional(PackXdslAsyncTaskStatusEnum),
|
|
473
|
+
}),
|
|
474
|
+
).annotate({
|
|
475
|
+
identifier: "PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse",
|
|
476
|
+
}) as any as S.Schema<PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse>;
|
|
477
|
+
|
|
478
|
+
/** Option of Offer */
|
|
479
|
+
export interface PackXdslMigrationOfferOption {
|
|
480
|
+
/** Name of the option */
|
|
481
|
+
name?: string;
|
|
482
|
+
/** Number of slots, couting included slots */
|
|
483
|
+
quantity?: number;
|
|
484
|
+
}
|
|
485
|
+
export const PackXdslMigrationOfferOption = /*@__PURE__*/ S.suspend(() =>
|
|
486
|
+
S.Struct({
|
|
487
|
+
name: S.optional(S.String),
|
|
488
|
+
quantity: S.optional(S.Number),
|
|
489
|
+
}),
|
|
490
|
+
).annotate({
|
|
491
|
+
identifier: "PackXdslMigrationOfferOption",
|
|
492
|
+
}) as any as S.Schema<PackXdslMigrationOfferOption>;
|
|
493
|
+
|
|
494
|
+
/** Options wanted in the new offer */
|
|
495
|
+
export type CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequestOptionsList =
|
|
496
|
+
Array<PackXdslMigrationOfferOption>;
|
|
497
|
+
export const CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequestOptionsList =
|
|
498
|
+
/*@__PURE__*/ S.Array(
|
|
499
|
+
PackXdslMigrationOfferOption,
|
|
500
|
+
) as any as S.Schema<CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequestOptionsList>;
|
|
501
|
+
|
|
502
|
+
export interface CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest {
|
|
503
|
+
/** The internal name of your pack */
|
|
504
|
+
packName: string;
|
|
505
|
+
/** Eligibility reference */
|
|
506
|
+
eligibilityReference: string;
|
|
507
|
+
/** Reference of the new offer */
|
|
508
|
+
offerName: string;
|
|
509
|
+
/** Options wanted in the new offer */
|
|
510
|
+
options?: CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequestOptionsList;
|
|
511
|
+
}
|
|
512
|
+
export const CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest =
|
|
513
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
514
|
+
S.Struct({
|
|
515
|
+
packName: S.String.pipe(T.Label()),
|
|
516
|
+
eligibilityReference: S.String,
|
|
517
|
+
offerName: S.String,
|
|
518
|
+
options: S.optional(
|
|
519
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequestOptionsList,
|
|
520
|
+
),
|
|
521
|
+
}).pipe(
|
|
522
|
+
T.Http({
|
|
523
|
+
method: "POST",
|
|
524
|
+
uri: "/pack/xdsl/{packName}/addressMove/servicesToDeleteUnpackTerms",
|
|
525
|
+
code: 200,
|
|
526
|
+
}),
|
|
527
|
+
),
|
|
528
|
+
).annotate({
|
|
529
|
+
identifier: "CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest",
|
|
530
|
+
}) as any as S.Schema<CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest>;
|
|
531
|
+
|
|
532
|
+
/** Sub service with unpack terms details */
|
|
533
|
+
export interface PackXdslMigrationSubServiceDetails {
|
|
534
|
+
/** Tells whether or not the service can be unpacked */
|
|
535
|
+
isAllowed?: boolean;
|
|
536
|
+
/** Price bill on the unpack action */
|
|
537
|
+
price?: OrderPrice;
|
|
538
|
+
/** Renew period in month of the service */
|
|
539
|
+
renewPeriod?: number;
|
|
540
|
+
/** The price it will cost when it will be renewed */
|
|
541
|
+
renewPrice?: OrderPrice;
|
|
542
|
+
/** sub service name */
|
|
543
|
+
service?: string;
|
|
544
|
+
}
|
|
545
|
+
export const PackXdslMigrationSubServiceDetails = /*@__PURE__*/ S.suspend(() =>
|
|
546
|
+
S.Struct({
|
|
547
|
+
isAllowed: S.optional(S.Boolean),
|
|
548
|
+
price: S.optional(OrderPrice),
|
|
549
|
+
renewPeriod: S.optional(S.Number),
|
|
550
|
+
renewPrice: S.optional(OrderPrice),
|
|
551
|
+
service: S.optional(S.String),
|
|
552
|
+
}),
|
|
553
|
+
).annotate({
|
|
554
|
+
identifier: "PackXdslMigrationSubServiceDetails",
|
|
555
|
+
}) as any as S.Schema<PackXdslMigrationSubServiceDetails>;
|
|
556
|
+
|
|
557
|
+
/** List of domains of sub services with unpack terms */
|
|
558
|
+
export type PackXdslMigrationSubServicesDetailsToDeleteServicesList =
|
|
559
|
+
Array<PackXdslMigrationSubServiceDetails>;
|
|
560
|
+
export const PackXdslMigrationSubServicesDetailsToDeleteServicesList =
|
|
561
|
+
/*@__PURE__*/ S.Array(
|
|
562
|
+
PackXdslMigrationSubServiceDetails,
|
|
563
|
+
) as any as S.Schema<PackXdslMigrationSubServicesDetailsToDeleteServicesList>;
|
|
564
|
+
|
|
565
|
+
/** Sub services to delete with unpack terms */
|
|
566
|
+
export interface PackXdslMigrationSubServicesDetailsToDelete {
|
|
567
|
+
/** Number of services to be deleted */
|
|
568
|
+
numberToDelete?: number;
|
|
569
|
+
/** List of domains of sub services with unpack terms */
|
|
570
|
+
services?: PackXdslMigrationSubServicesDetailsToDeleteServicesList;
|
|
571
|
+
/** Type of service to be deleted */
|
|
572
|
+
type?: PackXdslServiceNameEnum;
|
|
573
|
+
}
|
|
574
|
+
export const PackXdslMigrationSubServicesDetailsToDelete =
|
|
575
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
576
|
+
S.Struct({
|
|
577
|
+
numberToDelete: S.optional(S.Number),
|
|
578
|
+
services: S.optional(
|
|
579
|
+
PackXdslMigrationSubServicesDetailsToDeleteServicesList,
|
|
580
|
+
),
|
|
581
|
+
type: S.optional(PackXdslServiceNameEnum),
|
|
582
|
+
}),
|
|
583
|
+
).annotate({
|
|
584
|
+
identifier: "PackXdslMigrationSubServicesDetailsToDelete",
|
|
585
|
+
}) as any as S.Schema<PackXdslMigrationSubServicesDetailsToDelete>;
|
|
586
|
+
|
|
587
|
+
export type CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponseBodyList =
|
|
588
|
+
Array<PackXdslMigrationSubServicesDetailsToDelete>;
|
|
589
|
+
export const CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponseBodyList =
|
|
590
|
+
/*@__PURE__*/ S.Array(
|
|
591
|
+
PackXdslMigrationSubServicesDetailsToDelete,
|
|
592
|
+
) as any as S.Schema<CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponseBodyList>;
|
|
593
|
+
|
|
594
|
+
export type CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse =
|
|
595
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponseBodyList;
|
|
596
|
+
export const CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse =
|
|
597
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
598
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponseBodyList.pipe(
|
|
599
|
+
T.RawResponseRoot(),
|
|
600
|
+
),
|
|
601
|
+
).annotate({
|
|
602
|
+
identifier: "CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse",
|
|
603
|
+
}) as any as S.Schema<CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse>;
|
|
604
|
+
|
|
605
|
+
export interface CreatePackXdslChangeContactRequest {
|
|
606
|
+
/** The internal name of your pack */
|
|
607
|
+
packName: string;
|
|
608
|
+
/** The contact to set as admin contact */
|
|
609
|
+
contactAdmin?: string;
|
|
610
|
+
/** The contact to set as billing contact */
|
|
611
|
+
contactBilling?: string;
|
|
612
|
+
/** The contact to set as tech contact */
|
|
613
|
+
contactTech?: string;
|
|
614
|
+
}
|
|
615
|
+
export const CreatePackXdslChangeContactRequest = /*@__PURE__*/ S.suspend(() =>
|
|
616
|
+
S.Struct({
|
|
617
|
+
packName: S.String.pipe(T.Label()),
|
|
618
|
+
contactAdmin: S.optional(S.String),
|
|
619
|
+
contactBilling: S.optional(S.String),
|
|
620
|
+
contactTech: S.optional(S.String),
|
|
621
|
+
}).pipe(
|
|
622
|
+
T.Http({
|
|
623
|
+
method: "POST",
|
|
624
|
+
uri: "/pack/xdsl/{packName}/changeContact",
|
|
625
|
+
code: 200,
|
|
626
|
+
}),
|
|
627
|
+
),
|
|
628
|
+
).annotate({
|
|
629
|
+
identifier: "CreatePackXdslChangeContactRequest",
|
|
630
|
+
}) as any as S.Schema<CreatePackXdslChangeContactRequest>;
|
|
631
|
+
|
|
632
|
+
export type CreatePackXdslChangeContactResponseBodyList = Array<number>;
|
|
633
|
+
export const CreatePackXdslChangeContactResponseBodyList =
|
|
634
|
+
/*@__PURE__*/ S.Array(
|
|
635
|
+
S.Number,
|
|
636
|
+
) as any as S.Schema<CreatePackXdslChangeContactResponseBodyList>;
|
|
637
|
+
|
|
638
|
+
export type CreatePackXdslChangeContactResponse =
|
|
639
|
+
CreatePackXdslChangeContactResponseBodyList;
|
|
640
|
+
export const CreatePackXdslChangeContactResponse = /*@__PURE__*/ S.suspend(() =>
|
|
641
|
+
CreatePackXdslChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
|
|
642
|
+
).annotate({
|
|
643
|
+
identifier: "CreatePackXdslChangeContactResponse",
|
|
644
|
+
}) as any as S.Schema<CreatePackXdslChangeContactResponse>;
|
|
645
|
+
|
|
646
|
+
/** Domain action */
|
|
647
|
+
export type PackXdslDomainActionEnum = "create" | "trade" | "transfer";
|
|
648
|
+
export const PackXdslDomainActionEnum = /*@__PURE__*/ S.String;
|
|
649
|
+
|
|
650
|
+
export interface CreatePackXdslDomainServiceRequest {
|
|
651
|
+
/** The internal name of your pack */
|
|
652
|
+
packName: string;
|
|
653
|
+
/** Domain action */
|
|
654
|
+
action: PackXdslDomainActionEnum | (string & {});
|
|
655
|
+
/** Needed for transfer from another registrar */
|
|
656
|
+
authInfo?: string;
|
|
657
|
+
/** Domain name */
|
|
658
|
+
domain: string;
|
|
659
|
+
/** TLD of the domain */
|
|
660
|
+
tld: string;
|
|
661
|
+
}
|
|
662
|
+
export const CreatePackXdslDomainServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
663
|
+
S.Struct({
|
|
664
|
+
packName: S.String.pipe(T.Label()),
|
|
665
|
+
action: PackXdslDomainActionEnum,
|
|
666
|
+
authInfo: S.optional(S.String),
|
|
667
|
+
domain: S.String,
|
|
668
|
+
tld: S.String,
|
|
669
|
+
}).pipe(
|
|
670
|
+
T.Http({
|
|
671
|
+
method: "POST",
|
|
672
|
+
uri: "/pack/xdsl/{packName}/domain/services",
|
|
673
|
+
code: 200,
|
|
674
|
+
}),
|
|
675
|
+
),
|
|
676
|
+
).annotate({
|
|
677
|
+
identifier: "CreatePackXdslDomainServiceRequest",
|
|
678
|
+
}) as any as S.Schema<CreatePackXdslDomainServiceRequest>;
|
|
679
|
+
|
|
680
|
+
/** Status of a task. */
|
|
681
|
+
export type PackXdslTaskStatusEnum =
|
|
682
|
+
| "cancelled"
|
|
683
|
+
| "doing"
|
|
684
|
+
| "done"
|
|
685
|
+
| "error"
|
|
686
|
+
| "problem"
|
|
687
|
+
| "todo";
|
|
688
|
+
export const PackXdslTaskStatusEnum = /*@__PURE__*/ S.String;
|
|
689
|
+
|
|
690
|
+
/** Describes the current status of a task */
|
|
691
|
+
export interface PackXdslTask {
|
|
692
|
+
function?: string;
|
|
693
|
+
id?: number;
|
|
694
|
+
status?: PackXdslTaskStatusEnum;
|
|
695
|
+
updateDate?: string;
|
|
696
|
+
}
|
|
697
|
+
export const PackXdslTask = /*@__PURE__*/ S.suspend(() =>
|
|
698
|
+
S.Struct({
|
|
699
|
+
function: S.optional(S.String),
|
|
700
|
+
id: S.optional(S.Number),
|
|
701
|
+
status: S.optional(PackXdslTaskStatusEnum),
|
|
702
|
+
updateDate: S.optional(S.String),
|
|
703
|
+
}),
|
|
704
|
+
).annotate({ identifier: "PackXdslTask" }) as any as S.Schema<PackXdslTask>;
|
|
705
|
+
|
|
706
|
+
export interface CreatePackXdslEmailProServiceRequest {
|
|
707
|
+
/** The internal name of your pack */
|
|
708
|
+
packName: string;
|
|
709
|
+
/** The email address */
|
|
710
|
+
email: string;
|
|
711
|
+
/** The password */
|
|
712
|
+
password: string | Redacted.Redacted<string>;
|
|
713
|
+
}
|
|
714
|
+
export const CreatePackXdslEmailProServiceRequest = /*@__PURE__*/ S.suspend(
|
|
715
|
+
() =>
|
|
716
|
+
S.Struct({
|
|
717
|
+
packName: S.String.pipe(T.Label()),
|
|
718
|
+
email: S.String,
|
|
719
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
720
|
+
}).pipe(
|
|
721
|
+
T.Http({
|
|
722
|
+
method: "POST",
|
|
723
|
+
uri: "/pack/xdsl/{packName}/emailPro/services",
|
|
724
|
+
code: 200,
|
|
725
|
+
}),
|
|
726
|
+
),
|
|
727
|
+
).annotate({
|
|
728
|
+
identifier: "CreatePackXdslEmailProServiceRequest",
|
|
729
|
+
}) as any as S.Schema<CreatePackXdslEmailProServiceRequest>;
|
|
730
|
+
|
|
731
|
+
export interface CreatePackXdslHostedEmailServiceRequest {
|
|
732
|
+
/** The internal name of your pack */
|
|
733
|
+
packName: string;
|
|
734
|
+
/** Email address */
|
|
735
|
+
email: string;
|
|
736
|
+
/** Password */
|
|
737
|
+
password: string | Redacted.Redacted<string>;
|
|
738
|
+
}
|
|
739
|
+
export const CreatePackXdslHostedEmailServiceRequest = /*@__PURE__*/ S.suspend(
|
|
740
|
+
() =>
|
|
741
|
+
S.Struct({
|
|
742
|
+
packName: S.String.pipe(T.Label()),
|
|
743
|
+
email: S.String,
|
|
744
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
745
|
+
}).pipe(
|
|
746
|
+
T.Http({
|
|
747
|
+
method: "POST",
|
|
748
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services",
|
|
749
|
+
code: 200,
|
|
750
|
+
}),
|
|
751
|
+
),
|
|
752
|
+
).annotate({
|
|
753
|
+
identifier: "CreatePackXdslHostedEmailServiceRequest",
|
|
754
|
+
}) as any as S.Schema<CreatePackXdslHostedEmailServiceRequest>;
|
|
755
|
+
|
|
756
|
+
export interface CreatePackXdslHostedEmailServiceChangePasswordRequest {
|
|
757
|
+
/** The internal name of your pack */
|
|
758
|
+
packName: string;
|
|
759
|
+
domain: string;
|
|
760
|
+
/** New password */
|
|
761
|
+
password: string | Redacted.Redacted<string>;
|
|
762
|
+
}
|
|
763
|
+
export const CreatePackXdslHostedEmailServiceChangePasswordRequest =
|
|
764
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
765
|
+
S.Struct({
|
|
766
|
+
packName: S.String.pipe(T.Label()),
|
|
767
|
+
domain: S.String.pipe(T.Label()),
|
|
768
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
769
|
+
}).pipe(
|
|
770
|
+
T.Http({
|
|
771
|
+
method: "POST",
|
|
772
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services/{domain}/changePassword",
|
|
773
|
+
code: 200,
|
|
774
|
+
}),
|
|
775
|
+
),
|
|
776
|
+
).annotate({
|
|
777
|
+
identifier: "CreatePackXdslHostedEmailServiceChangePasswordRequest",
|
|
778
|
+
}) as any as S.Schema<CreatePackXdslHostedEmailServiceChangePasswordRequest>;
|
|
779
|
+
|
|
780
|
+
export interface CreatePackXdslHostedEmailServiceChangePasswordResponse {}
|
|
781
|
+
export const CreatePackXdslHostedEmailServiceChangePasswordResponse =
|
|
782
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
783
|
+
identifier: "CreatePackXdslHostedEmailServiceChangePasswordResponse",
|
|
784
|
+
}) as any as S.Schema<CreatePackXdslHostedEmailServiceChangePasswordResponse>;
|
|
785
|
+
|
|
786
|
+
export interface CreatePackXdslMigrationOfferRequest {
|
|
787
|
+
/** The internal name of your pack */
|
|
788
|
+
packName: string;
|
|
789
|
+
/** Building reference for FTTH and FTTE offers */
|
|
790
|
+
buildingReference?: string;
|
|
791
|
+
}
|
|
792
|
+
export const CreatePackXdslMigrationOfferRequest = /*@__PURE__*/ S.suspend(() =>
|
|
793
|
+
S.Struct({
|
|
794
|
+
packName: S.String.pipe(T.Label()),
|
|
795
|
+
buildingReference: S.optional(S.String),
|
|
796
|
+
}).pipe(
|
|
797
|
+
T.Http({
|
|
798
|
+
method: "POST",
|
|
799
|
+
uri: "/pack/xdsl/{packName}/migration/offers",
|
|
800
|
+
code: 200,
|
|
801
|
+
}),
|
|
802
|
+
),
|
|
803
|
+
).annotate({
|
|
804
|
+
identifier: "CreatePackXdslMigrationOfferRequest",
|
|
805
|
+
}) as any as S.Schema<CreatePackXdslMigrationOfferRequest>;
|
|
806
|
+
|
|
807
|
+
/** List of floor indentifier, "_NA_" if no identifier is available */
|
|
808
|
+
export type ConnectivityEligibilityBuildingStairFloorsList = Array<string>;
|
|
809
|
+
export const ConnectivityEligibilityBuildingStairFloorsList =
|
|
810
|
+
/*@__PURE__*/ S.Array(
|
|
811
|
+
S.String,
|
|
812
|
+
) as any as S.Schema<ConnectivityEligibilityBuildingStairFloorsList>;
|
|
813
|
+
|
|
814
|
+
/** Stair details of a Building */
|
|
815
|
+
export interface ConnectivityEligibilityBuildingStair {
|
|
816
|
+
/** List of floor indentifier, "_NA_" if no identifier is available */
|
|
817
|
+
floors?: ConnectivityEligibilityBuildingStairFloorsList;
|
|
818
|
+
/** Stair identifier, "_NA_" if no identifier is available */
|
|
819
|
+
stair?: string;
|
|
820
|
+
}
|
|
821
|
+
export const ConnectivityEligibilityBuildingStair = /*@__PURE__*/ S.suspend(
|
|
822
|
+
() =>
|
|
823
|
+
S.Struct({
|
|
824
|
+
floors: S.optional(ConnectivityEligibilityBuildingStairFloorsList),
|
|
825
|
+
stair: S.optional(S.String),
|
|
826
|
+
}),
|
|
827
|
+
).annotate({
|
|
828
|
+
identifier: "ConnectivityEligibilityBuildingStair",
|
|
829
|
+
}) as any as S.Schema<ConnectivityEligibilityBuildingStair>;
|
|
830
|
+
|
|
831
|
+
/** Stairs for this building */
|
|
832
|
+
export type ConnectivityEligibilityBuildingStairsList =
|
|
833
|
+
Array<ConnectivityEligibilityBuildingStair>;
|
|
834
|
+
export const ConnectivityEligibilityBuildingStairsList = /*@__PURE__*/ S.Array(
|
|
835
|
+
ConnectivityEligibilityBuildingStair,
|
|
836
|
+
) as any as S.Schema<ConnectivityEligibilityBuildingStairsList>;
|
|
837
|
+
|
|
838
|
+
/** Building type */
|
|
839
|
+
export type ConnectivityEligibilityBuildingTypeEnum = "BUILDING" | "HOUSE";
|
|
840
|
+
export const ConnectivityEligibilityBuildingTypeEnum = /*@__PURE__*/ S.String;
|
|
841
|
+
|
|
842
|
+
/** Details of a Building */
|
|
843
|
+
export interface ConnectivityEligibilityBuilding {
|
|
844
|
+
/** Building name */
|
|
845
|
+
name?: string;
|
|
846
|
+
/** Building NRO (Optical main distribution frame) */
|
|
847
|
+
nro?: string | null;
|
|
848
|
+
/** Identifier which refer to a building uniquely */
|
|
849
|
+
reference?: string;
|
|
850
|
+
/** Stairs for this building */
|
|
851
|
+
stairs?: ConnectivityEligibilityBuildingStairsList | null;
|
|
852
|
+
/** Building type */
|
|
853
|
+
type?: ConnectivityEligibilityBuildingTypeEnum | null;
|
|
854
|
+
}
|
|
855
|
+
export const ConnectivityEligibilityBuilding = /*@__PURE__*/ S.suspend(() =>
|
|
856
|
+
S.Struct({
|
|
857
|
+
name: S.optional(S.String),
|
|
858
|
+
nro: S.optional(S.NullOr(S.String)),
|
|
859
|
+
reference: S.optional(S.String),
|
|
860
|
+
stairs: S.optional(S.NullOr(ConnectivityEligibilityBuildingStairsList)),
|
|
861
|
+
type: S.optional(S.NullOr(ConnectivityEligibilityBuildingTypeEnum)),
|
|
862
|
+
}),
|
|
863
|
+
).annotate({
|
|
864
|
+
identifier: "ConnectivityEligibilityBuilding",
|
|
865
|
+
}) as any as S.Schema<ConnectivityEligibilityBuilding>;
|
|
866
|
+
|
|
867
|
+
/** Array of buildings */
|
|
868
|
+
export type PackXdslMigrationMigrationOfferResponseBuildingsList =
|
|
869
|
+
Array<ConnectivityEligibilityBuilding>;
|
|
870
|
+
export const PackXdslMigrationMigrationOfferResponseBuildingsList =
|
|
871
|
+
/*@__PURE__*/ S.Array(
|
|
872
|
+
ConnectivityEligibilityBuilding,
|
|
873
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferResponseBuildingsList>;
|
|
874
|
+
|
|
875
|
+
/** DEPRECATED - List of contracts */
|
|
876
|
+
export type PackXdslMigrationMigrationOfferContractListList = Array<string>;
|
|
877
|
+
export const PackXdslMigrationMigrationOfferContractListList =
|
|
878
|
+
/*@__PURE__*/ S.Array(
|
|
879
|
+
S.String,
|
|
880
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferContractListList>;
|
|
881
|
+
|
|
882
|
+
/** List of contracts for this offer */
|
|
883
|
+
export type PackXdslMigrationMigrationOfferContractsList = Array<OrderContract>;
|
|
884
|
+
export const PackXdslMigrationMigrationOfferContractsList =
|
|
885
|
+
/*@__PURE__*/ S.Array(
|
|
886
|
+
OrderContract,
|
|
887
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferContractsList>;
|
|
888
|
+
|
|
889
|
+
/** List of number of months possible for engagement */
|
|
890
|
+
export type PackXdslMigrationMigrationOfferEngagementMonthsList = Array<number>;
|
|
891
|
+
export const PackXdslMigrationMigrationOfferEngagementMonthsList =
|
|
892
|
+
/*@__PURE__*/ S.Array(
|
|
893
|
+
S.Number,
|
|
894
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferEngagementMonthsList>;
|
|
895
|
+
|
|
896
|
+
/** List of modems for this offer */
|
|
897
|
+
export type PackXdslMigrationMigrationOfferModemOptionsList =
|
|
898
|
+
Array<PackXdslMigrationOfferModemOption>;
|
|
899
|
+
export const PackXdslMigrationMigrationOfferModemOptionsList =
|
|
900
|
+
/*@__PURE__*/ S.Array(
|
|
901
|
+
PackXdslMigrationOfferModemOption,
|
|
902
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferModemOptionsList>;
|
|
903
|
+
|
|
904
|
+
/** Available options for the migration */
|
|
905
|
+
export type PackXdslMigrationMigrationOfferOptionsList =
|
|
906
|
+
Array<PackXdslMigrationOfferAvailableOption>;
|
|
907
|
+
export const PackXdslMigrationMigrationOfferOptionsList = /*@__PURE__*/ S.Array(
|
|
908
|
+
PackXdslMigrationOfferAvailableOption,
|
|
909
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferOptionsList>;
|
|
910
|
+
|
|
911
|
+
/** List of sub services to delete */
|
|
912
|
+
export type PackXdslMigrationMigrationOfferSubServicesToDeleteList =
|
|
913
|
+
Array<PackXdslMigrationSubServiceToDelete>;
|
|
914
|
+
export const PackXdslMigrationMigrationOfferSubServicesToDeleteList =
|
|
915
|
+
/*@__PURE__*/ S.Array(
|
|
916
|
+
PackXdslMigrationSubServiceToDelete,
|
|
917
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferSubServicesToDeleteList>;
|
|
918
|
+
|
|
919
|
+
/** Migration offer */
|
|
920
|
+
export interface PackXdslMigrationMigrationOffer {
|
|
921
|
+
/** DEPRECATED - List of contracts */
|
|
922
|
+
contractList?: PackXdslMigrationMigrationOfferContractListList;
|
|
923
|
+
/** List of contracts for this offer */
|
|
924
|
+
contracts?: PackXdslMigrationMigrationOfferContractsList;
|
|
925
|
+
/** Price of the current offer */
|
|
926
|
+
currentOfferPrice?: OrderPrice;
|
|
927
|
+
/** Tells if the custom ont address is available on the offer */
|
|
928
|
+
customOntAddress?: boolean;
|
|
929
|
+
/** Description of the offer */
|
|
930
|
+
description?: string;
|
|
931
|
+
/** Price to make the migration */
|
|
932
|
+
due?: OrderPrice | null;
|
|
933
|
+
/** Number of months of engagement */
|
|
934
|
+
engageMonths?: number | null;
|
|
935
|
+
/** Tells if the customer is still engaged */
|
|
936
|
+
engaged?: boolean;
|
|
937
|
+
/** List of number of months possible for engagement */
|
|
938
|
+
engagementMonths?: PackXdslMigrationMigrationOfferEngagementMonthsList;
|
|
939
|
+
/** Subscription price the first year */
|
|
940
|
+
firstYearPromo?: OrderPrice | null;
|
|
941
|
+
/** Install fee for GTR option comfort additional cost */
|
|
942
|
+
gtrComfortFees?: OrderPrice | null;
|
|
943
|
+
/** Installation fees */
|
|
944
|
+
installFees?: OrderPrice | null;
|
|
945
|
+
/** Mac address of the modem to be returned */
|
|
946
|
+
modemMacToReturn?: string | null;
|
|
947
|
+
/** List of modems for this offer */
|
|
948
|
+
modemOptions?: PackXdslMigrationMigrationOfferModemOptionsList | null;
|
|
949
|
+
/** Price for modem rental */
|
|
950
|
+
modemRental?: OrderPrice | null;
|
|
951
|
+
/** Tells if the multiOtp is possible on the address */
|
|
952
|
+
multiOtp?: boolean;
|
|
953
|
+
/** Tells if the offer needs a modem */
|
|
954
|
+
needModem?: boolean;
|
|
955
|
+
/** Tells if the customer will have to change its modem */
|
|
956
|
+
needNewModem?: boolean;
|
|
957
|
+
/** Name of the offer */
|
|
958
|
+
offerName?: string;
|
|
959
|
+
/** Collection operator (CO) */
|
|
960
|
+
operator?: ConnectivityEligibilityOfferProductProviderEnum | null;
|
|
961
|
+
/** Available options for the migration */
|
|
962
|
+
options?: PackXdslMigrationMigrationOfferOptionsList;
|
|
963
|
+
/** Price of the offer */
|
|
964
|
+
price?: OrderPrice;
|
|
965
|
+
/** Promotion, if available */
|
|
966
|
+
promotion?: PackXdslMigrationAndAddressMovePromotion | null;
|
|
967
|
+
/** Subscription price for provider AI additional cost */
|
|
968
|
+
providerAI?: OrderPrice | null;
|
|
969
|
+
/** Subscription price for provider ORANGE additional cost */
|
|
970
|
+
providerOrange?: OrderPrice | null;
|
|
971
|
+
/** List of sub services to delete */
|
|
972
|
+
subServicesToDelete?: PackXdslMigrationMigrationOfferSubServicesToDeleteList;
|
|
973
|
+
/** URL of the offer */
|
|
974
|
+
url?: string;
|
|
975
|
+
}
|
|
976
|
+
export const PackXdslMigrationMigrationOffer = /*@__PURE__*/ S.suspend(() =>
|
|
977
|
+
S.Struct({
|
|
978
|
+
contractList: S.optional(PackXdslMigrationMigrationOfferContractListList),
|
|
979
|
+
contracts: S.optional(PackXdslMigrationMigrationOfferContractsList),
|
|
980
|
+
currentOfferPrice: S.optional(OrderPrice),
|
|
981
|
+
customOntAddress: S.optional(S.Boolean),
|
|
982
|
+
description: S.optional(S.String),
|
|
983
|
+
due: S.optional(S.NullOr(OrderPrice)),
|
|
984
|
+
engageMonths: S.optional(S.NullOr(S.Number)),
|
|
985
|
+
engaged: S.optional(S.Boolean),
|
|
986
|
+
engagementMonths: S.optional(
|
|
987
|
+
PackXdslMigrationMigrationOfferEngagementMonthsList,
|
|
988
|
+
),
|
|
989
|
+
firstYearPromo: S.optional(S.NullOr(OrderPrice)),
|
|
990
|
+
gtrComfortFees: S.optional(S.NullOr(OrderPrice)),
|
|
991
|
+
installFees: S.optional(S.NullOr(OrderPrice)),
|
|
992
|
+
modemMacToReturn: S.optional(S.NullOr(S.String)),
|
|
993
|
+
modemOptions: S.optional(
|
|
994
|
+
S.NullOr(PackXdslMigrationMigrationOfferModemOptionsList),
|
|
995
|
+
),
|
|
996
|
+
modemRental: S.optional(S.NullOr(OrderPrice)),
|
|
997
|
+
multiOtp: S.optional(S.Boolean),
|
|
998
|
+
needModem: S.optional(S.Boolean),
|
|
999
|
+
needNewModem: S.optional(S.Boolean),
|
|
1000
|
+
offerName: S.optional(S.String),
|
|
1001
|
+
operator: S.optional(
|
|
1002
|
+
S.NullOr(ConnectivityEligibilityOfferProductProviderEnum),
|
|
1003
|
+
),
|
|
1004
|
+
options: S.optional(PackXdslMigrationMigrationOfferOptionsList),
|
|
1005
|
+
price: S.optional(OrderPrice),
|
|
1006
|
+
promotion: S.optional(S.NullOr(PackXdslMigrationAndAddressMovePromotion)),
|
|
1007
|
+
providerAI: S.optional(S.NullOr(OrderPrice)),
|
|
1008
|
+
providerOrange: S.optional(S.NullOr(OrderPrice)),
|
|
1009
|
+
subServicesToDelete: S.optional(
|
|
1010
|
+
PackXdslMigrationMigrationOfferSubServicesToDeleteList,
|
|
1011
|
+
),
|
|
1012
|
+
url: S.optional(S.String),
|
|
1013
|
+
}),
|
|
1014
|
+
).annotate({
|
|
1015
|
+
identifier: "PackXdslMigrationMigrationOffer",
|
|
1016
|
+
}) as any as S.Schema<PackXdslMigrationMigrationOffer>;
|
|
1017
|
+
|
|
1018
|
+
/** Array of offers */
|
|
1019
|
+
export type PackXdslMigrationMigrationOfferResponseOffersList =
|
|
1020
|
+
Array<PackXdslMigrationMigrationOffer>;
|
|
1021
|
+
export const PackXdslMigrationMigrationOfferResponseOffersList =
|
|
1022
|
+
/*@__PURE__*/ S.Array(
|
|
1023
|
+
PackXdslMigrationMigrationOffer,
|
|
1024
|
+
) as any as S.Schema<PackXdslMigrationMigrationOfferResponseOffersList>;
|
|
1025
|
+
|
|
1026
|
+
/** List of available Migration offer */
|
|
1027
|
+
export interface PackXdslMigrationMigrationOfferResponse {
|
|
1028
|
+
/** Array of buildings */
|
|
1029
|
+
buildings?: PackXdslMigrationMigrationOfferResponseBuildingsList;
|
|
1030
|
+
/** Array of offers */
|
|
1031
|
+
offers?: PackXdslMigrationMigrationOfferResponseOffersList;
|
|
1032
|
+
}
|
|
1033
|
+
export const PackXdslMigrationMigrationOfferResponse = /*@__PURE__*/ S.suspend(
|
|
1034
|
+
() =>
|
|
1035
|
+
S.Struct({
|
|
1036
|
+
buildings: S.optional(
|
|
1037
|
+
PackXdslMigrationMigrationOfferResponseBuildingsList,
|
|
1038
|
+
),
|
|
1039
|
+
offers: S.optional(PackXdslMigrationMigrationOfferResponseOffersList),
|
|
1040
|
+
}),
|
|
1041
|
+
).annotate({
|
|
1042
|
+
identifier: "PackXdslMigrationMigrationOfferResponse",
|
|
1043
|
+
}) as any as S.Schema<PackXdslMigrationMigrationOfferResponse>;
|
|
1044
|
+
|
|
1045
|
+
/** Async task */
|
|
1046
|
+
export interface PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse {
|
|
1047
|
+
/** Error */
|
|
1048
|
+
error?: string | null;
|
|
1049
|
+
result?: PackXdslMigrationMigrationOfferResponse;
|
|
1050
|
+
/** Status of the call */
|
|
1051
|
+
status?: PackXdslAsyncTaskStatusEnum;
|
|
1052
|
+
}
|
|
1053
|
+
export const PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse =
|
|
1054
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1055
|
+
S.Struct({
|
|
1056
|
+
error: S.optional(S.NullOr(S.String)),
|
|
1057
|
+
result: S.optional(PackXdslMigrationMigrationOfferResponse),
|
|
1058
|
+
status: S.optional(PackXdslAsyncTaskStatusEnum),
|
|
1059
|
+
}),
|
|
1060
|
+
).annotate({
|
|
1061
|
+
identifier: "PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse",
|
|
1062
|
+
}) as any as S.Schema<PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse>;
|
|
1063
|
+
|
|
1064
|
+
/** Options wanted in the new offer */
|
|
1065
|
+
export type CreatePackXdslMigrationServicesToDeleteUnpackTermRequestOptionsList =
|
|
1066
|
+
Array<PackXdslMigrationOfferOption>;
|
|
1067
|
+
export const CreatePackXdslMigrationServicesToDeleteUnpackTermRequestOptionsList =
|
|
1068
|
+
/*@__PURE__*/ S.Array(
|
|
1069
|
+
PackXdslMigrationOfferOption,
|
|
1070
|
+
) as any as S.Schema<CreatePackXdslMigrationServicesToDeleteUnpackTermRequestOptionsList>;
|
|
1071
|
+
|
|
1072
|
+
export interface CreatePackXdslMigrationServicesToDeleteUnpackTermRequest {
|
|
1073
|
+
/** The internal name of your pack */
|
|
1074
|
+
packName: string;
|
|
1075
|
+
/** Reference of the new offer */
|
|
1076
|
+
offerName: string;
|
|
1077
|
+
/** Options wanted in the new offer */
|
|
1078
|
+
options?: CreatePackXdslMigrationServicesToDeleteUnpackTermRequestOptionsList;
|
|
1079
|
+
}
|
|
1080
|
+
export const CreatePackXdslMigrationServicesToDeleteUnpackTermRequest =
|
|
1081
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1082
|
+
S.Struct({
|
|
1083
|
+
packName: S.String.pipe(T.Label()),
|
|
1084
|
+
offerName: S.String,
|
|
1085
|
+
options: S.optional(
|
|
1086
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermRequestOptionsList,
|
|
1087
|
+
),
|
|
1088
|
+
}).pipe(
|
|
1089
|
+
T.Http({
|
|
1090
|
+
method: "POST",
|
|
1091
|
+
uri: "/pack/xdsl/{packName}/migration/servicesToDeleteUnpackTerms",
|
|
1092
|
+
code: 200,
|
|
1093
|
+
}),
|
|
1094
|
+
),
|
|
1095
|
+
).annotate({
|
|
1096
|
+
identifier: "CreatePackXdslMigrationServicesToDeleteUnpackTermRequest",
|
|
1097
|
+
}) as any as S.Schema<CreatePackXdslMigrationServicesToDeleteUnpackTermRequest>;
|
|
1098
|
+
|
|
1099
|
+
export type CreatePackXdslMigrationServicesToDeleteUnpackTermResponseBodyList =
|
|
1100
|
+
Array<PackXdslMigrationSubServicesDetailsToDelete>;
|
|
1101
|
+
export const CreatePackXdslMigrationServicesToDeleteUnpackTermResponseBodyList =
|
|
1102
|
+
/*@__PURE__*/ S.Array(
|
|
1103
|
+
PackXdslMigrationSubServicesDetailsToDelete,
|
|
1104
|
+
) as any as S.Schema<CreatePackXdslMigrationServicesToDeleteUnpackTermResponseBodyList>;
|
|
1105
|
+
|
|
1106
|
+
export type CreatePackXdslMigrationServicesToDeleteUnpackTermResponse =
|
|
1107
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermResponseBodyList;
|
|
1108
|
+
export const CreatePackXdslMigrationServicesToDeleteUnpackTermResponse =
|
|
1109
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1110
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermResponseBodyList.pipe(
|
|
1111
|
+
T.RawResponseRoot(),
|
|
1112
|
+
),
|
|
1113
|
+
).annotate({
|
|
1114
|
+
identifier: "CreatePackXdslMigrationServicesToDeleteUnpackTermResponse",
|
|
1115
|
+
}) as any as S.Schema<CreatePackXdslMigrationServicesToDeleteUnpackTermResponse>;
|
|
1116
|
+
|
|
1117
|
+
/** Reason of a resiliation */
|
|
1118
|
+
export type PackXdslResiliationReasonEnum =
|
|
1119
|
+
| "addressMove"
|
|
1120
|
+
| "billingProblems"
|
|
1121
|
+
| "cessationOfActivity"
|
|
1122
|
+
| "changeOfTerms"
|
|
1123
|
+
| "changeOperator"
|
|
1124
|
+
| "eligibilityFtth"
|
|
1125
|
+
| "ftth"
|
|
1126
|
+
| "goToCompetitor"
|
|
1127
|
+
| "other"
|
|
1128
|
+
| "price"
|
|
1129
|
+
| "technicalProblems";
|
|
1130
|
+
export const PackXdslResiliationReasonEnum = /*@__PURE__*/ S.String;
|
|
1131
|
+
|
|
1132
|
+
/** Information about the reason for the resiliation */
|
|
1133
|
+
export interface PackXdslResiliationSurvey {
|
|
1134
|
+
/** Comment about this resiliation */
|
|
1135
|
+
comment?: string | null;
|
|
1136
|
+
/** Subsidiary response about this resiliation */
|
|
1137
|
+
subsidiary?: string | null;
|
|
1138
|
+
/** Type of reason for the resiliation */
|
|
1139
|
+
type?: PackXdslResiliationReasonEnum | (string & {});
|
|
1140
|
+
}
|
|
1141
|
+
export const PackXdslResiliationSurvey = /*@__PURE__*/ S.suspend(() =>
|
|
1142
|
+
S.Struct({
|
|
1143
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
1144
|
+
subsidiary: S.optional(S.NullOr(S.String)),
|
|
1145
|
+
type: S.optional(PackXdslResiliationReasonEnum),
|
|
1146
|
+
}),
|
|
1147
|
+
).annotate({
|
|
1148
|
+
identifier: "PackXdslResiliationSurvey",
|
|
1149
|
+
}) as any as S.Schema<PackXdslResiliationSurvey>;
|
|
1150
|
+
|
|
1151
|
+
/** Ids of service you will keep on resiliation. (you can get it with /pack/xdsl/{packName}/subServices) */
|
|
1152
|
+
export type CreatePackXdslResiliateRequestServicesToKeepList = Array<number>;
|
|
1153
|
+
export const CreatePackXdslResiliateRequestServicesToKeepList =
|
|
1154
|
+
/*@__PURE__*/ S.Array(
|
|
1155
|
+
S.Number,
|
|
1156
|
+
) as any as S.Schema<CreatePackXdslResiliateRequestServicesToKeepList>;
|
|
1157
|
+
|
|
1158
|
+
export interface CreatePackXdslResiliateRequest {
|
|
1159
|
+
/** The internal name of your pack */
|
|
1160
|
+
packName: string;
|
|
1161
|
+
/** Effective date of the resiliation */
|
|
1162
|
+
resiliationDate?: string;
|
|
1163
|
+
/** Comment about resiliation reasons */
|
|
1164
|
+
resiliationSurvey: PackXdslResiliationSurvey;
|
|
1165
|
+
/** Ids of service you will keep on resiliation. (you can get it with /pack/xdsl/{packName}/subServices) */
|
|
1166
|
+
servicesToKeep?: CreatePackXdslResiliateRequestServicesToKeepList;
|
|
1167
|
+
}
|
|
1168
|
+
export const CreatePackXdslResiliateRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1169
|
+
S.Struct({
|
|
1170
|
+
packName: S.String.pipe(T.Label()),
|
|
1171
|
+
resiliationDate: S.optional(S.String),
|
|
1172
|
+
resiliationSurvey: PackXdslResiliationSurvey,
|
|
1173
|
+
servicesToKeep: S.optional(
|
|
1174
|
+
CreatePackXdslResiliateRequestServicesToKeepList,
|
|
1175
|
+
),
|
|
1176
|
+
}).pipe(
|
|
1177
|
+
T.Http({
|
|
1178
|
+
method: "POST",
|
|
1179
|
+
uri: "/pack/xdsl/{packName}/resiliate",
|
|
1180
|
+
code: 200,
|
|
1181
|
+
}),
|
|
1182
|
+
),
|
|
1183
|
+
).annotate({
|
|
1184
|
+
identifier: "CreatePackXdslResiliateRequest",
|
|
1185
|
+
}) as any as S.Schema<CreatePackXdslResiliateRequest>;
|
|
1186
|
+
|
|
1187
|
+
/** Details about the resiliation */
|
|
1188
|
+
export interface PackXdslResiliationFollowUpDetail {
|
|
1189
|
+
/** Date when the resiliation will take effect */
|
|
1190
|
+
dateTodo?: string;
|
|
1191
|
+
/** If the customer needs to return his modem */
|
|
1192
|
+
needModemReturn?: boolean;
|
|
1193
|
+
/** Date when the resiliation was asked */
|
|
1194
|
+
registrationDate?: string;
|
|
1195
|
+
/** Status of the resiliation */
|
|
1196
|
+
status?: string;
|
|
1197
|
+
}
|
|
1198
|
+
export const PackXdslResiliationFollowUpDetail = /*@__PURE__*/ S.suspend(() =>
|
|
1199
|
+
S.Struct({
|
|
1200
|
+
dateTodo: S.optional(S.String),
|
|
1201
|
+
needModemReturn: S.optional(S.Boolean),
|
|
1202
|
+
registrationDate: S.optional(S.String),
|
|
1203
|
+
status: S.optional(S.String),
|
|
1204
|
+
}),
|
|
1205
|
+
).annotate({
|
|
1206
|
+
identifier: "PackXdslResiliationFollowUpDetail",
|
|
1207
|
+
}) as any as S.Schema<PackXdslResiliationFollowUpDetail>;
|
|
1208
|
+
|
|
1209
|
+
export interface CreatePackXdslVoipEcofaxServiceRequest {
|
|
1210
|
+
/** The internal name of your pack */
|
|
1211
|
+
packName: string;
|
|
1212
|
+
}
|
|
1213
|
+
export const CreatePackXdslVoipEcofaxServiceRequest = /*@__PURE__*/ S.suspend(
|
|
1214
|
+
() =>
|
|
1215
|
+
S.Struct({
|
|
1216
|
+
packName: S.String.pipe(T.Label()),
|
|
1217
|
+
}).pipe(
|
|
1218
|
+
T.Http({
|
|
1219
|
+
method: "POST",
|
|
1220
|
+
uri: "/pack/xdsl/{packName}/voipEcofax/services",
|
|
1221
|
+
code: 200,
|
|
1222
|
+
}),
|
|
1223
|
+
),
|
|
1224
|
+
).annotate({
|
|
1225
|
+
identifier: "CreatePackXdslVoipEcofaxServiceRequest",
|
|
1226
|
+
}) as any as S.Schema<CreatePackXdslVoipEcofaxServiceRequest>;
|
|
1227
|
+
|
|
1228
|
+
export interface CreatePackXdslVoipLineOptionCustomShippingAddressRequest {
|
|
1229
|
+
/** The internal name of your pack */
|
|
1230
|
+
packName: string;
|
|
1231
|
+
/** Address, including street name */
|
|
1232
|
+
address: string;
|
|
1233
|
+
/** City name */
|
|
1234
|
+
cityName: string;
|
|
1235
|
+
/** First name */
|
|
1236
|
+
firstName: string;
|
|
1237
|
+
/** Last name */
|
|
1238
|
+
lastName: string;
|
|
1239
|
+
/** Zip code */
|
|
1240
|
+
zipCode: string;
|
|
1241
|
+
}
|
|
1242
|
+
export const CreatePackXdslVoipLineOptionCustomShippingAddressRequest =
|
|
1243
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1244
|
+
S.Struct({
|
|
1245
|
+
packName: S.String.pipe(T.Label()),
|
|
1246
|
+
address: S.String,
|
|
1247
|
+
cityName: S.String,
|
|
1248
|
+
firstName: S.String,
|
|
1249
|
+
lastName: S.String,
|
|
1250
|
+
zipCode: S.String,
|
|
1251
|
+
}).pipe(
|
|
1252
|
+
T.Http({
|
|
1253
|
+
method: "POST",
|
|
1254
|
+
uri: "/pack/xdsl/{packName}/voipLine/options/customShippingAddress",
|
|
1255
|
+
code: 200,
|
|
1256
|
+
}),
|
|
1257
|
+
),
|
|
1258
|
+
).annotate({
|
|
1259
|
+
identifier: "CreatePackXdslVoipLineOptionCustomShippingAddressRequest",
|
|
1260
|
+
}) as any as S.Schema<CreatePackXdslVoipLineOptionCustomShippingAddressRequest>;
|
|
1261
|
+
|
|
1262
|
+
export type CreatePackXdslVoipLineOptionCustomShippingAddressResponse = number;
|
|
1263
|
+
export const CreatePackXdslVoipLineOptionCustomShippingAddressResponse =
|
|
1264
|
+
/*@__PURE__*/ S.suspend(() => S.Number.pipe(T.RawResponseRoot())).annotate({
|
|
1265
|
+
identifier: "CreatePackXdslVoipLineOptionCustomShippingAddressResponse",
|
|
1266
|
+
}) as any as S.Schema<CreatePackXdslVoipLineOptionCustomShippingAddressResponse>;
|
|
1267
|
+
|
|
1268
|
+
/** List of names from hardwares call */
|
|
1269
|
+
export type CreatePackXdslVoipLineServiceRequestHardwareNamesList =
|
|
1270
|
+
Array<string>;
|
|
1271
|
+
export const CreatePackXdslVoipLineServiceRequestHardwareNamesList =
|
|
1272
|
+
/*@__PURE__*/ S.Array(
|
|
1273
|
+
S.String,
|
|
1274
|
+
) as any as S.Schema<CreatePackXdslVoipLineServiceRequestHardwareNamesList>;
|
|
1275
|
+
|
|
1276
|
+
export interface CreatePackXdslVoipLineServiceRequest {
|
|
1277
|
+
/** The internal name of your pack */
|
|
1278
|
+
packName: string;
|
|
1279
|
+
/** List of names from hardwares call */
|
|
1280
|
+
hardwareNames: CreatePackXdslVoipLineServiceRequestHardwareNamesList;
|
|
1281
|
+
/** Mondial relay ID */
|
|
1282
|
+
mondialRelayId?: string;
|
|
1283
|
+
/** Shipping ID for the order */
|
|
1284
|
+
shippingId?: string;
|
|
1285
|
+
}
|
|
1286
|
+
export const CreatePackXdslVoipLineServiceRequest = /*@__PURE__*/ S.suspend(
|
|
1287
|
+
() =>
|
|
1288
|
+
S.Struct({
|
|
1289
|
+
packName: S.String.pipe(T.Label()),
|
|
1290
|
+
hardwareNames: CreatePackXdslVoipLineServiceRequestHardwareNamesList,
|
|
1291
|
+
mondialRelayId: S.optional(S.String),
|
|
1292
|
+
shippingId: S.optional(S.String),
|
|
1293
|
+
}).pipe(
|
|
1294
|
+
T.Http({
|
|
1295
|
+
method: "POST",
|
|
1296
|
+
uri: "/pack/xdsl/{packName}/voipLine/services",
|
|
1297
|
+
code: 200,
|
|
1298
|
+
}),
|
|
1299
|
+
),
|
|
1300
|
+
).annotate({
|
|
1301
|
+
identifier: "CreatePackXdslVoipLineServiceRequest",
|
|
1302
|
+
}) as any as S.Schema<CreatePackXdslVoipLineServiceRequest>;
|
|
1303
|
+
|
|
1304
|
+
export type PackXdslVoIPLineOrderTaskIdsList = Array<number>;
|
|
1305
|
+
export const PackXdslVoIPLineOrderTaskIdsList = /*@__PURE__*/ S.Array(
|
|
1306
|
+
S.Number,
|
|
1307
|
+
) as any as S.Schema<PackXdslVoIPLineOrderTaskIdsList>;
|
|
1308
|
+
|
|
1309
|
+
/** Represents an order of VoIP lines */
|
|
1310
|
+
export interface PackXdslVoIPLineOrder {
|
|
1311
|
+
/** Whether or not this order need to be payed manually */
|
|
1312
|
+
needPayment?: boolean;
|
|
1313
|
+
orderId?: number;
|
|
1314
|
+
orderUrl?: string;
|
|
1315
|
+
taskIds?: PackXdslVoIPLineOrderTaskIdsList;
|
|
1316
|
+
}
|
|
1317
|
+
export const PackXdslVoIPLineOrder = /*@__PURE__*/ S.suspend(() =>
|
|
1318
|
+
S.Struct({
|
|
1319
|
+
needPayment: S.optional(S.Boolean),
|
|
1320
|
+
orderId: S.optional(S.Number),
|
|
1321
|
+
orderUrl: S.optional(S.String),
|
|
1322
|
+
taskIds: S.optional(PackXdslVoIPLineOrderTaskIdsList),
|
|
1323
|
+
}),
|
|
1324
|
+
).annotate({
|
|
1325
|
+
identifier: "PackXdslVoIPLineOrder",
|
|
1326
|
+
}) as any as S.Schema<PackXdslVoIPLineOrder>;
|
|
1327
|
+
|
|
1328
|
+
export interface DeletePackXdslHostedEmailServiceRequest {
|
|
1329
|
+
/** The internal name of your pack */
|
|
1330
|
+
packName: string;
|
|
1331
|
+
domain: string;
|
|
1332
|
+
}
|
|
1333
|
+
export const DeletePackXdslHostedEmailServiceRequest = /*@__PURE__*/ S.suspend(
|
|
1334
|
+
() =>
|
|
1335
|
+
S.Struct({
|
|
1336
|
+
packName: S.String.pipe(T.Label()),
|
|
1337
|
+
domain: S.String.pipe(T.Label()),
|
|
1338
|
+
}).pipe(
|
|
1339
|
+
T.Http({
|
|
1340
|
+
method: "DELETE",
|
|
1341
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services/{domain}",
|
|
1342
|
+
code: 200,
|
|
1343
|
+
}),
|
|
1344
|
+
),
|
|
1345
|
+
).annotate({
|
|
1346
|
+
identifier: "DeletePackXdslHostedEmailServiceRequest",
|
|
1347
|
+
}) as any as S.Schema<DeletePackXdslHostedEmailServiceRequest>;
|
|
1348
|
+
|
|
1349
|
+
export interface DeletePackXdslHostedEmailServiceResponse {}
|
|
1350
|
+
export const DeletePackXdslHostedEmailServiceResponse = /*@__PURE__*/ S.suspend(
|
|
1351
|
+
() => S.Struct({}),
|
|
1352
|
+
).annotate({
|
|
1353
|
+
identifier: "DeletePackXdslHostedEmailServiceResponse",
|
|
1354
|
+
}) as any as S.Schema<DeletePackXdslHostedEmailServiceResponse>;
|
|
1355
|
+
|
|
1356
|
+
export interface GeneratePackXdslPromotionCodeRequest {
|
|
1357
|
+
/** The internal name of your pack */
|
|
1358
|
+
packName: string;
|
|
1359
|
+
}
|
|
1360
|
+
export const GeneratePackXdslPromotionCodeRequest = /*@__PURE__*/ S.suspend(
|
|
1361
|
+
() =>
|
|
1362
|
+
S.Struct({
|
|
1363
|
+
packName: S.String.pipe(T.Label()),
|
|
1364
|
+
}).pipe(
|
|
1365
|
+
T.Http({
|
|
1366
|
+
method: "POST",
|
|
1367
|
+
uri: "/pack/xdsl/{packName}/promotionCode/generate",
|
|
1368
|
+
code: 200,
|
|
1369
|
+
}),
|
|
1370
|
+
),
|
|
1371
|
+
).annotate({
|
|
1372
|
+
identifier: "GeneratePackXdslPromotionCodeRequest",
|
|
1373
|
+
}) as any as S.Schema<GeneratePackXdslPromotionCodeRequest>;
|
|
1374
|
+
|
|
1375
|
+
export interface GetPackXdslRequest {
|
|
1376
|
+
/** The internal name of your pack */
|
|
1377
|
+
packName: string;
|
|
1378
|
+
}
|
|
1379
|
+
export const GetPackXdslRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1380
|
+
S.Struct({
|
|
1381
|
+
packName: S.String.pipe(T.Label()),
|
|
1382
|
+
}).pipe(T.Http({ method: "GET", uri: "/pack/xdsl/{packName}", code: 200 })),
|
|
1383
|
+
).annotate({
|
|
1384
|
+
identifier: "GetPackXdslRequest",
|
|
1385
|
+
}) as any as S.Schema<GetPackXdslRequest>;
|
|
1386
|
+
|
|
1387
|
+
/** Describe the capabilities of this pack */
|
|
1388
|
+
export interface PackXdslPackCapabilities {
|
|
1389
|
+
/** Whether or not this pack can move address */
|
|
1390
|
+
canMoveAddress?: boolean;
|
|
1391
|
+
/** Whether or not this pack is from an old offer */
|
|
1392
|
+
isLegacyOffer?: boolean;
|
|
1393
|
+
/** Whether or not this pack is a reseller offer */
|
|
1394
|
+
isResellerOffer?: boolean;
|
|
1395
|
+
}
|
|
1396
|
+
export const PackXdslPackCapabilities = /*@__PURE__*/ S.suspend(() =>
|
|
1397
|
+
S.Struct({
|
|
1398
|
+
canMoveAddress: S.optional(S.Boolean),
|
|
1399
|
+
isLegacyOffer: S.optional(S.Boolean),
|
|
1400
|
+
isResellerOffer: S.optional(S.Boolean),
|
|
1401
|
+
}),
|
|
1402
|
+
).annotate({
|
|
1403
|
+
identifier: "PackXdslPackCapabilities",
|
|
1404
|
+
}) as any as S.Schema<PackXdslPackCapabilities>;
|
|
1405
|
+
|
|
1406
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
1407
|
+
export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
|
|
1408
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
|
|
1409
|
+
S.String,
|
|
1410
|
+
S.String,
|
|
1411
|
+
) as any as S.Schema<IamResourceMetadataTagsMap>;
|
|
1412
|
+
|
|
1413
|
+
/** IAM resource metadata embedded in services models */
|
|
1414
|
+
export interface IamResourceMetadata {
|
|
1415
|
+
/** Resource display name */
|
|
1416
|
+
displayName?: string | null;
|
|
1417
|
+
/** Unique identifier of the resource */
|
|
1418
|
+
id?: string;
|
|
1419
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
1420
|
+
tags?: IamResourceMetadataTagsMap | null;
|
|
1421
|
+
/** Unique resource name used in policies */
|
|
1422
|
+
urn?: string;
|
|
1423
|
+
}
|
|
1424
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
1425
|
+
S.Struct({
|
|
1426
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1427
|
+
id: S.optional(S.String),
|
|
1428
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
1429
|
+
urn: S.optional(S.String),
|
|
1430
|
+
}),
|
|
1431
|
+
).annotate({
|
|
1432
|
+
identifier: "IamResourceMetadata",
|
|
1433
|
+
}) as any as S.Schema<IamResourceMetadata>;
|
|
1434
|
+
|
|
1435
|
+
/** Pack of xDSL services */
|
|
1436
|
+
export interface PackXdslPackAdslWithIAM {
|
|
1437
|
+
/** Capabilities of the pack */
|
|
1438
|
+
capabilities?: PackXdslPackCapabilities;
|
|
1439
|
+
/** Customer pack description */
|
|
1440
|
+
description?: string | null;
|
|
1441
|
+
/** IAM resource metadata */
|
|
1442
|
+
iam?: IamResourceMetadata | null;
|
|
1443
|
+
/** Name of the offer */
|
|
1444
|
+
offerDescription?: string;
|
|
1445
|
+
/** Price of the offer */
|
|
1446
|
+
offerPrice?: OrderPrice;
|
|
1447
|
+
/** Name of the xdsl pack */
|
|
1448
|
+
packName?: string;
|
|
1449
|
+
}
|
|
1450
|
+
export const PackXdslPackAdslWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
1451
|
+
S.Struct({
|
|
1452
|
+
capabilities: S.optional(PackXdslPackCapabilities),
|
|
1453
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1454
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
1455
|
+
offerDescription: S.optional(S.String),
|
|
1456
|
+
offerPrice: S.optional(OrderPrice),
|
|
1457
|
+
packName: S.optional(S.String),
|
|
1458
|
+
}),
|
|
1459
|
+
).annotate({
|
|
1460
|
+
identifier: "PackXdslPackAdslWithIAM",
|
|
1461
|
+
}) as any as S.Schema<PackXdslPackAdslWithIAM>;
|
|
1462
|
+
|
|
1463
|
+
export interface GetPackXdslCanCancelResiliationRequest {
|
|
1464
|
+
/** The internal name of your pack */
|
|
1465
|
+
packName: string;
|
|
1466
|
+
}
|
|
1467
|
+
export const GetPackXdslCanCancelResiliationRequest = /*@__PURE__*/ S.suspend(
|
|
1468
|
+
() =>
|
|
1469
|
+
S.Struct({
|
|
1470
|
+
packName: S.String.pipe(T.Label()),
|
|
1471
|
+
}).pipe(
|
|
1472
|
+
T.Http({
|
|
1473
|
+
method: "GET",
|
|
1474
|
+
uri: "/pack/xdsl/{packName}/canCancelResiliation",
|
|
1475
|
+
code: 200,
|
|
1476
|
+
}),
|
|
1477
|
+
),
|
|
1478
|
+
).annotate({
|
|
1479
|
+
identifier: "GetPackXdslCanCancelResiliationRequest",
|
|
1480
|
+
}) as any as S.Schema<GetPackXdslCanCancelResiliationRequest>;
|
|
1481
|
+
|
|
1482
|
+
export type GetPackXdslCanCancelResiliationResponse = boolean;
|
|
1483
|
+
export const GetPackXdslCanCancelResiliationResponse = /*@__PURE__*/ S.suspend(
|
|
1484
|
+
() => S.Boolean.pipe(T.RawResponseRoot()),
|
|
1485
|
+
).annotate({
|
|
1486
|
+
identifier: "GetPackXdslCanCancelResiliationResponse",
|
|
1487
|
+
}) as any as S.Schema<GetPackXdslCanCancelResiliationResponse>;
|
|
1488
|
+
|
|
1489
|
+
export interface GetPackXdslContactOwnerRequest {
|
|
1490
|
+
/** The internal name of your pack */
|
|
1491
|
+
packName: string;
|
|
1492
|
+
}
|
|
1493
|
+
export const GetPackXdslContactOwnerRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1494
|
+
S.Struct({
|
|
1495
|
+
packName: S.String.pipe(T.Label()),
|
|
1496
|
+
}).pipe(
|
|
1497
|
+
T.Http({
|
|
1498
|
+
method: "GET",
|
|
1499
|
+
uri: "/pack/xdsl/{packName}/contactOwner",
|
|
1500
|
+
code: 200,
|
|
1501
|
+
}),
|
|
1502
|
+
),
|
|
1503
|
+
).annotate({
|
|
1504
|
+
identifier: "GetPackXdslContactOwnerRequest",
|
|
1505
|
+
}) as any as S.Schema<GetPackXdslContactOwnerRequest>;
|
|
1506
|
+
|
|
1507
|
+
/** Countries a nichandle can choose */
|
|
1508
|
+
export type NichandleCountryEnum =
|
|
1509
|
+
| "AC"
|
|
1510
|
+
| "AD"
|
|
1511
|
+
| "AE"
|
|
1512
|
+
| "AF"
|
|
1513
|
+
| "AG"
|
|
1514
|
+
| "AI"
|
|
1515
|
+
| "AL"
|
|
1516
|
+
| "AM"
|
|
1517
|
+
| "AO"
|
|
1518
|
+
| "AQ"
|
|
1519
|
+
| "AR"
|
|
1520
|
+
| "AS"
|
|
1521
|
+
| "AT"
|
|
1522
|
+
| "AU"
|
|
1523
|
+
| "AW"
|
|
1524
|
+
| "AX"
|
|
1525
|
+
| "AZ"
|
|
1526
|
+
| "BA"
|
|
1527
|
+
| "BB"
|
|
1528
|
+
| "BD"
|
|
1529
|
+
| "BE"
|
|
1530
|
+
| "BF"
|
|
1531
|
+
| "BG"
|
|
1532
|
+
| "BH"
|
|
1533
|
+
| "BI"
|
|
1534
|
+
| "BJ"
|
|
1535
|
+
| "BL"
|
|
1536
|
+
| "BM"
|
|
1537
|
+
| "BN"
|
|
1538
|
+
| "BO"
|
|
1539
|
+
| "BQ"
|
|
1540
|
+
| "BR"
|
|
1541
|
+
| "BS"
|
|
1542
|
+
| "BT"
|
|
1543
|
+
| "BW"
|
|
1544
|
+
| "BY"
|
|
1545
|
+
| "BZ"
|
|
1546
|
+
| "CA"
|
|
1547
|
+
| "CC"
|
|
1548
|
+
| "CD"
|
|
1549
|
+
| "CF"
|
|
1550
|
+
| "CG"
|
|
1551
|
+
| "CH"
|
|
1552
|
+
| "CI"
|
|
1553
|
+
| "CK"
|
|
1554
|
+
| "CL"
|
|
1555
|
+
| "CM"
|
|
1556
|
+
| "CN"
|
|
1557
|
+
| "CO"
|
|
1558
|
+
| "CR"
|
|
1559
|
+
| "CU"
|
|
1560
|
+
| "CV"
|
|
1561
|
+
| "CW"
|
|
1562
|
+
| "CX"
|
|
1563
|
+
| "CY"
|
|
1564
|
+
| "CZ"
|
|
1565
|
+
| "DE"
|
|
1566
|
+
| "DG"
|
|
1567
|
+
| "DJ"
|
|
1568
|
+
| "DK"
|
|
1569
|
+
| "DM"
|
|
1570
|
+
| "DO"
|
|
1571
|
+
| "DZ"
|
|
1572
|
+
| "EA"
|
|
1573
|
+
| "EC"
|
|
1574
|
+
| "EE"
|
|
1575
|
+
| "EG"
|
|
1576
|
+
| "EH"
|
|
1577
|
+
| "ER"
|
|
1578
|
+
| "ES"
|
|
1579
|
+
| "ET"
|
|
1580
|
+
| "FI"
|
|
1581
|
+
| "FJ"
|
|
1582
|
+
| "FK"
|
|
1583
|
+
| "FM"
|
|
1584
|
+
| "FO"
|
|
1585
|
+
| "FR"
|
|
1586
|
+
| "GA"
|
|
1587
|
+
| "GB"
|
|
1588
|
+
| "GD"
|
|
1589
|
+
| "GE"
|
|
1590
|
+
| "GF"
|
|
1591
|
+
| "GG"
|
|
1592
|
+
| "GH"
|
|
1593
|
+
| "GI"
|
|
1594
|
+
| "GL"
|
|
1595
|
+
| "GM"
|
|
1596
|
+
| "GN"
|
|
1597
|
+
| "GP"
|
|
1598
|
+
| "GQ"
|
|
1599
|
+
| "GR"
|
|
1600
|
+
| "GS"
|
|
1601
|
+
| "GT"
|
|
1602
|
+
| "GU"
|
|
1603
|
+
| "GW"
|
|
1604
|
+
| "GY"
|
|
1605
|
+
| "HK"
|
|
1606
|
+
| "HN"
|
|
1607
|
+
| "HR"
|
|
1608
|
+
| "HT"
|
|
1609
|
+
| "HU"
|
|
1610
|
+
| "IC"
|
|
1611
|
+
| "ID"
|
|
1612
|
+
| "IE"
|
|
1613
|
+
| "IL"
|
|
1614
|
+
| "IM"
|
|
1615
|
+
| "IN"
|
|
1616
|
+
| "IO"
|
|
1617
|
+
| "IQ"
|
|
1618
|
+
| "IR"
|
|
1619
|
+
| "IS"
|
|
1620
|
+
| "IT"
|
|
1621
|
+
| "JE"
|
|
1622
|
+
| "JM"
|
|
1623
|
+
| "JO"
|
|
1624
|
+
| "JP"
|
|
1625
|
+
| "KE"
|
|
1626
|
+
| "KG"
|
|
1627
|
+
| "KH"
|
|
1628
|
+
| "KI"
|
|
1629
|
+
| "KM"
|
|
1630
|
+
| "KN"
|
|
1631
|
+
| "KP"
|
|
1632
|
+
| "KR"
|
|
1633
|
+
| "KW"
|
|
1634
|
+
| "KY"
|
|
1635
|
+
| "KZ"
|
|
1636
|
+
| "LA"
|
|
1637
|
+
| "LB"
|
|
1638
|
+
| "LC"
|
|
1639
|
+
| "LI"
|
|
1640
|
+
| "LK"
|
|
1641
|
+
| "LR"
|
|
1642
|
+
| "LS"
|
|
1643
|
+
| "LT"
|
|
1644
|
+
| "LU"
|
|
1645
|
+
| "LV"
|
|
1646
|
+
| "LY"
|
|
1647
|
+
| "MA"
|
|
1648
|
+
| "MC"
|
|
1649
|
+
| "MD"
|
|
1650
|
+
| "ME"
|
|
1651
|
+
| "MF"
|
|
1652
|
+
| "MG"
|
|
1653
|
+
| "MH"
|
|
1654
|
+
| "MK"
|
|
1655
|
+
| "ML"
|
|
1656
|
+
| "MM"
|
|
1657
|
+
| "MN"
|
|
1658
|
+
| "MO"
|
|
1659
|
+
| "MP"
|
|
1660
|
+
| "MQ"
|
|
1661
|
+
| "MR"
|
|
1662
|
+
| "MS"
|
|
1663
|
+
| "MT"
|
|
1664
|
+
| "MU"
|
|
1665
|
+
| "MV"
|
|
1666
|
+
| "MW"
|
|
1667
|
+
| "MX"
|
|
1668
|
+
| "MY"
|
|
1669
|
+
| "MZ"
|
|
1670
|
+
| "NA"
|
|
1671
|
+
| "NC"
|
|
1672
|
+
| "NE"
|
|
1673
|
+
| "NF"
|
|
1674
|
+
| "NG"
|
|
1675
|
+
| "NI"
|
|
1676
|
+
| "NL"
|
|
1677
|
+
| "NO"
|
|
1678
|
+
| "NP"
|
|
1679
|
+
| "NR"
|
|
1680
|
+
| "NU"
|
|
1681
|
+
| "NZ"
|
|
1682
|
+
| "OM"
|
|
1683
|
+
| "PA"
|
|
1684
|
+
| "PE"
|
|
1685
|
+
| "PF"
|
|
1686
|
+
| "PG"
|
|
1687
|
+
| "PH"
|
|
1688
|
+
| "PK"
|
|
1689
|
+
| "PL"
|
|
1690
|
+
| "PM"
|
|
1691
|
+
| "PN"
|
|
1692
|
+
| "PR"
|
|
1693
|
+
| "PS"
|
|
1694
|
+
| "PT"
|
|
1695
|
+
| "PW"
|
|
1696
|
+
| "PY"
|
|
1697
|
+
| "QA"
|
|
1698
|
+
| "RE"
|
|
1699
|
+
| "RO"
|
|
1700
|
+
| "RS"
|
|
1701
|
+
| "RU"
|
|
1702
|
+
| "RW"
|
|
1703
|
+
| "SA"
|
|
1704
|
+
| "SB"
|
|
1705
|
+
| "SC"
|
|
1706
|
+
| "SD"
|
|
1707
|
+
| "SE"
|
|
1708
|
+
| "SG"
|
|
1709
|
+
| "SH"
|
|
1710
|
+
| "SI"
|
|
1711
|
+
| "SJ"
|
|
1712
|
+
| "SK"
|
|
1713
|
+
| "SL"
|
|
1714
|
+
| "SM"
|
|
1715
|
+
| "SN"
|
|
1716
|
+
| "SO"
|
|
1717
|
+
| "SR"
|
|
1718
|
+
| "SS"
|
|
1719
|
+
| "ST"
|
|
1720
|
+
| "SV"
|
|
1721
|
+
| "SX"
|
|
1722
|
+
| "SY"
|
|
1723
|
+
| "SZ"
|
|
1724
|
+
| "TA"
|
|
1725
|
+
| "TC"
|
|
1726
|
+
| "TD"
|
|
1727
|
+
| "TF"
|
|
1728
|
+
| "TG"
|
|
1729
|
+
| "TH"
|
|
1730
|
+
| "TJ"
|
|
1731
|
+
| "TK"
|
|
1732
|
+
| "TL"
|
|
1733
|
+
| "TM"
|
|
1734
|
+
| "TN"
|
|
1735
|
+
| "TO"
|
|
1736
|
+
| "TR"
|
|
1737
|
+
| "TT"
|
|
1738
|
+
| "TV"
|
|
1739
|
+
| "TW"
|
|
1740
|
+
| "TZ"
|
|
1741
|
+
| "UA"
|
|
1742
|
+
| "UG"
|
|
1743
|
+
| "UM"
|
|
1744
|
+
| "UNKNOWN"
|
|
1745
|
+
| "US"
|
|
1746
|
+
| "UY"
|
|
1747
|
+
| "UZ"
|
|
1748
|
+
| "VA"
|
|
1749
|
+
| "VC"
|
|
1750
|
+
| "VE"
|
|
1751
|
+
| "VG"
|
|
1752
|
+
| "VI"
|
|
1753
|
+
| "VN"
|
|
1754
|
+
| "VU"
|
|
1755
|
+
| "WF"
|
|
1756
|
+
| "WS"
|
|
1757
|
+
| "XK"
|
|
1758
|
+
| "YE"
|
|
1759
|
+
| "YT"
|
|
1760
|
+
| "ZA"
|
|
1761
|
+
| "ZM"
|
|
1762
|
+
| "ZW";
|
|
1763
|
+
export const NichandleCountryEnum = /*@__PURE__*/ S.String;
|
|
1764
|
+
|
|
1765
|
+
/** Information about the contact */
|
|
1766
|
+
export interface PackXdslContactInfos {
|
|
1767
|
+
/** contact address */
|
|
1768
|
+
address?: string | null;
|
|
1769
|
+
/** contact city */
|
|
1770
|
+
city?: string | null;
|
|
1771
|
+
/** contact country */
|
|
1772
|
+
country?: NichandleCountryEnum;
|
|
1773
|
+
/** contact email */
|
|
1774
|
+
email?: string;
|
|
1775
|
+
/** contact firstname */
|
|
1776
|
+
firstname?: string | null;
|
|
1777
|
+
/** contact name */
|
|
1778
|
+
name?: string | null;
|
|
1779
|
+
/** contact organisation */
|
|
1780
|
+
organisation?: string | null;
|
|
1781
|
+
/** contact phone */
|
|
1782
|
+
phone?: string | null;
|
|
1783
|
+
/** contact phoneCountry */
|
|
1784
|
+
phoneCountry?: NichandleCountryEnum | null;
|
|
1785
|
+
/** contact zip */
|
|
1786
|
+
zip?: string | null;
|
|
1787
|
+
}
|
|
1788
|
+
export const PackXdslContactInfos = /*@__PURE__*/ S.suspend(() =>
|
|
1789
|
+
S.Struct({
|
|
1790
|
+
address: S.optional(S.NullOr(S.String)),
|
|
1791
|
+
city: S.optional(S.NullOr(S.String)),
|
|
1792
|
+
country: S.optional(NichandleCountryEnum),
|
|
1793
|
+
email: S.optional(S.String),
|
|
1794
|
+
firstname: S.optional(S.NullOr(S.String)),
|
|
1795
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1796
|
+
organisation: S.optional(S.NullOr(S.String)),
|
|
1797
|
+
phone: S.optional(S.NullOr(S.String)),
|
|
1798
|
+
phoneCountry: S.optional(S.NullOr(NichandleCountryEnum)),
|
|
1799
|
+
zip: S.optional(S.NullOr(S.String)),
|
|
1800
|
+
}),
|
|
1801
|
+
).annotate({
|
|
1802
|
+
identifier: "PackXdslContactInfos",
|
|
1803
|
+
}) as any as S.Schema<PackXdslContactInfos>;
|
|
1804
|
+
|
|
1805
|
+
export interface GetPackXdslEmailProOptionIsEmailAvailableRequest {
|
|
1806
|
+
/** The internal name of your pack */
|
|
1807
|
+
packName: string;
|
|
1808
|
+
/** The email address */
|
|
1809
|
+
email: string;
|
|
1810
|
+
}
|
|
1811
|
+
export const GetPackXdslEmailProOptionIsEmailAvailableRequest =
|
|
1812
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1813
|
+
S.Struct({
|
|
1814
|
+
packName: S.String.pipe(T.Label()),
|
|
1815
|
+
email: S.String.pipe(T.Query()),
|
|
1816
|
+
}).pipe(
|
|
1817
|
+
T.Http({
|
|
1818
|
+
method: "GET",
|
|
1819
|
+
uri: "/pack/xdsl/{packName}/emailPro/options/isEmailAvailable",
|
|
1820
|
+
code: 200,
|
|
1821
|
+
}),
|
|
1822
|
+
),
|
|
1823
|
+
).annotate({
|
|
1824
|
+
identifier: "GetPackXdslEmailProOptionIsEmailAvailableRequest",
|
|
1825
|
+
}) as any as S.Schema<GetPackXdslEmailProOptionIsEmailAvailableRequest>;
|
|
1826
|
+
|
|
1827
|
+
export type GetPackXdslEmailProOptionIsEmailAvailableResponse = boolean;
|
|
1828
|
+
export const GetPackXdslEmailProOptionIsEmailAvailableResponse =
|
|
1829
|
+
/*@__PURE__*/ S.suspend(() => S.Boolean.pipe(T.RawResponseRoot())).annotate({
|
|
1830
|
+
identifier: "GetPackXdslEmailProOptionIsEmailAvailableResponse",
|
|
1831
|
+
}) as any as S.Schema<GetPackXdslEmailProOptionIsEmailAvailableResponse>;
|
|
1832
|
+
|
|
1833
|
+
export interface GetPackXdslExchangeAccountServiceRequest {
|
|
1834
|
+
/** The internal name of your pack */
|
|
1835
|
+
packName: string;
|
|
1836
|
+
domain: string;
|
|
1837
|
+
}
|
|
1838
|
+
export const GetPackXdslExchangeAccountServiceRequest = /*@__PURE__*/ S.suspend(
|
|
1839
|
+
() =>
|
|
1840
|
+
S.Struct({
|
|
1841
|
+
packName: S.String.pipe(T.Label()),
|
|
1842
|
+
domain: S.String.pipe(T.Label()),
|
|
1843
|
+
}).pipe(
|
|
1844
|
+
T.Http({
|
|
1845
|
+
method: "GET",
|
|
1846
|
+
uri: "/pack/xdsl/{packName}/exchangeAccount/services/{domain}",
|
|
1847
|
+
code: 200,
|
|
1848
|
+
}),
|
|
1849
|
+
),
|
|
1850
|
+
).annotate({
|
|
1851
|
+
identifier: "GetPackXdslExchangeAccountServiceRequest",
|
|
1852
|
+
}) as any as S.Schema<GetPackXdslExchangeAccountServiceRequest>;
|
|
1853
|
+
|
|
1854
|
+
/** Exchange 2013 service */
|
|
1855
|
+
export interface PackXdslExchangeAccountService {
|
|
1856
|
+
domain?: string;
|
|
1857
|
+
exchangeService?: string;
|
|
1858
|
+
organizationName?: string;
|
|
1859
|
+
}
|
|
1860
|
+
export const PackXdslExchangeAccountService = /*@__PURE__*/ S.suspend(() =>
|
|
1861
|
+
S.Struct({
|
|
1862
|
+
domain: S.optional(S.String),
|
|
1863
|
+
exchangeService: S.optional(S.String),
|
|
1864
|
+
organizationName: S.optional(S.String),
|
|
1865
|
+
}),
|
|
1866
|
+
).annotate({
|
|
1867
|
+
identifier: "PackXdslExchangeAccountService",
|
|
1868
|
+
}) as any as S.Schema<PackXdslExchangeAccountService>;
|
|
1869
|
+
|
|
1870
|
+
export interface GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest {
|
|
1871
|
+
/** The internal name of your pack */
|
|
1872
|
+
packName: string;
|
|
1873
|
+
/** Email */
|
|
1874
|
+
email: string;
|
|
1875
|
+
}
|
|
1876
|
+
export const GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest =
|
|
1877
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1878
|
+
S.Struct({
|
|
1879
|
+
packName: S.String.pipe(T.Label()),
|
|
1880
|
+
email: S.String.pipe(T.Query()),
|
|
1881
|
+
}).pipe(
|
|
1882
|
+
T.Http({
|
|
1883
|
+
method: "GET",
|
|
1884
|
+
uri: "/pack/xdsl/{packName}/exchangeIndividual/options/isEmailAvailable",
|
|
1885
|
+
code: 200,
|
|
1886
|
+
}),
|
|
1887
|
+
),
|
|
1888
|
+
).annotate({
|
|
1889
|
+
identifier: "GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest",
|
|
1890
|
+
}) as any as S.Schema<GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest>;
|
|
1891
|
+
|
|
1892
|
+
export type GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse =
|
|
1893
|
+
boolean;
|
|
1894
|
+
export const GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse =
|
|
1895
|
+
/*@__PURE__*/ S.suspend(() => S.Boolean.pipe(T.RawResponseRoot())).annotate({
|
|
1896
|
+
identifier: "GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse",
|
|
1897
|
+
}) as any as S.Schema<GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse>;
|
|
1898
|
+
|
|
1899
|
+
export interface GetPackXdslHostedEmailServiceRequest {
|
|
1900
|
+
/** The internal name of your pack */
|
|
1901
|
+
packName: string;
|
|
1902
|
+
domain: string;
|
|
1903
|
+
}
|
|
1904
|
+
export const GetPackXdslHostedEmailServiceRequest = /*@__PURE__*/ S.suspend(
|
|
1905
|
+
() =>
|
|
1906
|
+
S.Struct({
|
|
1907
|
+
packName: S.String.pipe(T.Label()),
|
|
1908
|
+
domain: S.String.pipe(T.Label()),
|
|
1909
|
+
}).pipe(
|
|
1910
|
+
T.Http({
|
|
1911
|
+
method: "GET",
|
|
1912
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services/{domain}",
|
|
1913
|
+
code: 200,
|
|
1914
|
+
}),
|
|
1915
|
+
),
|
|
1916
|
+
).annotate({
|
|
1917
|
+
identifier: "GetPackXdslHostedEmailServiceRequest",
|
|
1918
|
+
}) as any as S.Schema<GetPackXdslHostedEmailServiceRequest>;
|
|
1919
|
+
|
|
1920
|
+
/** Hosted email services */
|
|
1921
|
+
export interface PackXdslHostedEmailService {
|
|
1922
|
+
domain?: string;
|
|
1923
|
+
}
|
|
1924
|
+
export const PackXdslHostedEmailService = /*@__PURE__*/ S.suspend(() =>
|
|
1925
|
+
S.Struct({
|
|
1926
|
+
domain: S.optional(S.String),
|
|
1927
|
+
}),
|
|
1928
|
+
).annotate({
|
|
1929
|
+
identifier: "PackXdslHostedEmailService",
|
|
1930
|
+
}) as any as S.Schema<PackXdslHostedEmailService>;
|
|
1931
|
+
|
|
1932
|
+
export interface GetPackXdslHostedEmailServiceAccountRequest {
|
|
1933
|
+
/** The internal name of your pack */
|
|
1934
|
+
packName: string;
|
|
1935
|
+
domain: string;
|
|
1936
|
+
}
|
|
1937
|
+
export const GetPackXdslHostedEmailServiceAccountRequest =
|
|
1938
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1939
|
+
S.Struct({
|
|
1940
|
+
packName: S.String.pipe(T.Label()),
|
|
1941
|
+
domain: S.String.pipe(T.Label()),
|
|
1942
|
+
}).pipe(
|
|
1943
|
+
T.Http({
|
|
1944
|
+
method: "GET",
|
|
1945
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services/{domain}/account",
|
|
1946
|
+
code: 200,
|
|
1947
|
+
}),
|
|
1948
|
+
),
|
|
1949
|
+
).annotate({
|
|
1950
|
+
identifier: "GetPackXdslHostedEmailServiceAccountRequest",
|
|
1951
|
+
}) as any as S.Schema<GetPackXdslHostedEmailServiceAccountRequest>;
|
|
1952
|
+
|
|
1953
|
+
/** Available offers */
|
|
1954
|
+
export type PackXdslHostedEmailAccountOfferEnum = "individual";
|
|
1955
|
+
export const PackXdslHostedEmailAccountOfferEnum = /*@__PURE__*/ S.String;
|
|
1956
|
+
|
|
1957
|
+
/** A numeric value tagged with its unit */
|
|
1958
|
+
export interface ComplexTypeUnitAndValueLong {
|
|
1959
|
+
unit?: string;
|
|
1960
|
+
value?: number;
|
|
1961
|
+
}
|
|
1962
|
+
export const ComplexTypeUnitAndValueLong = /*@__PURE__*/ S.suspend(() =>
|
|
1963
|
+
S.Struct({
|
|
1964
|
+
unit: S.optional(S.String),
|
|
1965
|
+
value: S.optional(S.Number),
|
|
1966
|
+
}),
|
|
1967
|
+
).annotate({
|
|
1968
|
+
identifier: "ComplexTypeUnitAndValueLong",
|
|
1969
|
+
}) as any as S.Schema<ComplexTypeUnitAndValueLong>;
|
|
1970
|
+
|
|
1971
|
+
/** HostedEmail account */
|
|
1972
|
+
export interface PackXdslHostedEmailAccount {
|
|
1973
|
+
/** Is the anti-spam enabled ? */
|
|
1974
|
+
antispamEnabled?: boolean;
|
|
1975
|
+
/** Is the anti-virus enabled ? */
|
|
1976
|
+
antivirusEnabled?: boolean;
|
|
1977
|
+
/** Offer name */
|
|
1978
|
+
offer?: PackXdslHostedEmailAccountOfferEnum;
|
|
1979
|
+
/** Primary email address */
|
|
1980
|
+
primaryEmailAddress?: string;
|
|
1981
|
+
/** Quota of the mailbox */
|
|
1982
|
+
quota?: ComplexTypeUnitAndValueLong;
|
|
1983
|
+
/** Size of the maibox */
|
|
1984
|
+
size?: ComplexTypeUnitAndValueLong;
|
|
1985
|
+
}
|
|
1986
|
+
export const PackXdslHostedEmailAccount = /*@__PURE__*/ S.suspend(() =>
|
|
1987
|
+
S.Struct({
|
|
1988
|
+
antispamEnabled: S.optional(S.Boolean),
|
|
1989
|
+
antivirusEnabled: S.optional(S.Boolean),
|
|
1990
|
+
offer: S.optional(PackXdslHostedEmailAccountOfferEnum),
|
|
1991
|
+
primaryEmailAddress: S.optional(S.String),
|
|
1992
|
+
quota: S.optional(ComplexTypeUnitAndValueLong),
|
|
1993
|
+
size: S.optional(ComplexTypeUnitAndValueLong),
|
|
1994
|
+
}),
|
|
1995
|
+
).annotate({
|
|
1996
|
+
identifier: "PackXdslHostedEmailAccount",
|
|
1997
|
+
}) as any as S.Schema<PackXdslHostedEmailAccount>;
|
|
1998
|
+
|
|
1999
|
+
export interface GetPackXdslResiliationFollowUpRequest {
|
|
2000
|
+
/** The internal name of your pack */
|
|
2001
|
+
packName: string;
|
|
2002
|
+
}
|
|
2003
|
+
export const GetPackXdslResiliationFollowUpRequest = /*@__PURE__*/ S.suspend(
|
|
2004
|
+
() =>
|
|
2005
|
+
S.Struct({
|
|
2006
|
+
packName: S.String.pipe(T.Label()),
|
|
2007
|
+
}).pipe(
|
|
2008
|
+
T.Http({
|
|
2009
|
+
method: "GET",
|
|
2010
|
+
uri: "/pack/xdsl/{packName}/resiliationFollowUp",
|
|
2011
|
+
code: 200,
|
|
2012
|
+
}),
|
|
2013
|
+
),
|
|
2014
|
+
).annotate({
|
|
2015
|
+
identifier: "GetPackXdslResiliationFollowUpRequest",
|
|
2016
|
+
}) as any as S.Schema<GetPackXdslResiliationFollowUpRequest>;
|
|
2017
|
+
|
|
2018
|
+
export interface GetPackXdslResiliationTermsRequest {
|
|
2019
|
+
/** The internal name of your pack */
|
|
2020
|
+
packName: string;
|
|
2021
|
+
/** The desired resiliation date */
|
|
2022
|
+
resiliationDate?: string;
|
|
2023
|
+
}
|
|
2024
|
+
export const GetPackXdslResiliationTermsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2025
|
+
S.Struct({
|
|
2026
|
+
packName: S.String.pipe(T.Label()),
|
|
2027
|
+
resiliationDate: S.optional(S.String.pipe(T.Query())),
|
|
2028
|
+
}).pipe(
|
|
2029
|
+
T.Http({
|
|
2030
|
+
method: "GET",
|
|
2031
|
+
uri: "/pack/xdsl/{packName}/resiliationTerms",
|
|
2032
|
+
code: 200,
|
|
2033
|
+
}),
|
|
2034
|
+
),
|
|
2035
|
+
).annotate({
|
|
2036
|
+
identifier: "GetPackXdslResiliationTermsRequest",
|
|
2037
|
+
}) as any as S.Schema<GetPackXdslResiliationTermsRequest>;
|
|
2038
|
+
|
|
2039
|
+
/** List of available resiliation reasons */
|
|
2040
|
+
export type PackXdslResiliationTermsResiliationReasonsList =
|
|
2041
|
+
Array<PackXdslResiliationReasonEnum>;
|
|
2042
|
+
export const PackXdslResiliationTermsResiliationReasonsList =
|
|
2043
|
+
/*@__PURE__*/ S.Array(
|
|
2044
|
+
PackXdslResiliationReasonEnum,
|
|
2045
|
+
) as any as S.Schema<PackXdslResiliationTermsResiliationReasonsList>;
|
|
2046
|
+
|
|
2047
|
+
/** Show the resiliation terms */
|
|
2048
|
+
export interface PackXdslResiliationTerms {
|
|
2049
|
+
/** Price due at resiliationDate */
|
|
2050
|
+
due?: OrderPrice;
|
|
2051
|
+
/** Date until which the customer is engaged */
|
|
2052
|
+
engageDate?: string | null;
|
|
2053
|
+
/** Minimum date at which the pack can be resiliated */
|
|
2054
|
+
minResiliationDate?: string;
|
|
2055
|
+
/** Date at which the pack will be resiliated */
|
|
2056
|
+
resiliationDate?: string;
|
|
2057
|
+
/** List of available resiliation reasons */
|
|
2058
|
+
resiliationReasons?: PackXdslResiliationTermsResiliationReasonsList;
|
|
2059
|
+
}
|
|
2060
|
+
export const PackXdslResiliationTerms = /*@__PURE__*/ S.suspend(() =>
|
|
2061
|
+
S.Struct({
|
|
2062
|
+
due: S.optional(OrderPrice),
|
|
2063
|
+
engageDate: S.optional(S.NullOr(S.String)),
|
|
2064
|
+
minResiliationDate: S.optional(S.String),
|
|
2065
|
+
resiliationDate: S.optional(S.String),
|
|
2066
|
+
resiliationReasons: S.optional(
|
|
2067
|
+
PackXdslResiliationTermsResiliationReasonsList,
|
|
2068
|
+
),
|
|
2069
|
+
}),
|
|
2070
|
+
).annotate({
|
|
2071
|
+
identifier: "PackXdslResiliationTerms",
|
|
2072
|
+
}) as any as S.Schema<PackXdslResiliationTerms>;
|
|
2073
|
+
|
|
2074
|
+
export interface GetPackXdslServiceInfosRequest {
|
|
2075
|
+
/** The internal name of your pack */
|
|
2076
|
+
packName: string;
|
|
2077
|
+
}
|
|
2078
|
+
export const GetPackXdslServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2079
|
+
S.Struct({
|
|
2080
|
+
packName: S.String.pipe(T.Label()),
|
|
2081
|
+
}).pipe(
|
|
2082
|
+
T.Http({
|
|
2083
|
+
method: "GET",
|
|
2084
|
+
uri: "/pack/xdsl/{packName}/serviceInfos",
|
|
2085
|
+
code: 200,
|
|
2086
|
+
}),
|
|
2087
|
+
),
|
|
2088
|
+
).annotate({
|
|
2089
|
+
identifier: "GetPackXdslServiceInfosRequest",
|
|
2090
|
+
}) as any as S.Schema<GetPackXdslServiceInfosRequest>;
|
|
2091
|
+
|
|
2092
|
+
/** All the possible renew period of your service in month */
|
|
2093
|
+
export type ServicesServicePossibleRenewPeriodList = Array<number>;
|
|
2094
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(
|
|
2095
|
+
S.Number,
|
|
2096
|
+
) as any as S.Schema<ServicesServicePossibleRenewPeriodList>;
|
|
2097
|
+
|
|
2098
|
+
/** Map a possible renew for a specific service */
|
|
2099
|
+
export interface ServiceRenewType {
|
|
2100
|
+
/** The service is automatically renewed */
|
|
2101
|
+
automatic?: boolean;
|
|
2102
|
+
/** The service will be deleted at expiration */
|
|
2103
|
+
deleteAtExpiration?: boolean;
|
|
2104
|
+
/** The service forced to be renewed */
|
|
2105
|
+
forced?: boolean;
|
|
2106
|
+
/** The service needs to be manually renewed and paid */
|
|
2107
|
+
manualPayment?: boolean | null;
|
|
2108
|
+
/** period of renew in month */
|
|
2109
|
+
period?: number | null;
|
|
2110
|
+
}
|
|
2111
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() =>
|
|
2112
|
+
S.Struct({
|
|
2113
|
+
automatic: S.optional(S.Boolean),
|
|
2114
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
2115
|
+
forced: S.optional(S.Boolean),
|
|
2116
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
2117
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
2118
|
+
}),
|
|
2119
|
+
).annotate({
|
|
2120
|
+
identifier: "ServiceRenewType",
|
|
2121
|
+
}) as any as S.Schema<ServiceRenewType>;
|
|
2122
|
+
|
|
2123
|
+
/** Detailed renewal type of a service */
|
|
2124
|
+
export type ServiceRenewalTypeEnum =
|
|
2125
|
+
| "automaticForcedProduct"
|
|
2126
|
+
| "automaticV2012"
|
|
2127
|
+
| "automaticV2014"
|
|
2128
|
+
| "automaticV2016"
|
|
2129
|
+
| "automaticV2024"
|
|
2130
|
+
| "manual"
|
|
2131
|
+
| "oneShot"
|
|
2132
|
+
| "option";
|
|
2133
|
+
export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
|
|
2134
|
+
|
|
2135
|
+
export type ServiceStateEnum =
|
|
2136
|
+
| "autorenewInProgress"
|
|
2137
|
+
| "expired"
|
|
2138
|
+
| "inCreation"
|
|
2139
|
+
| "ok"
|
|
2140
|
+
| "pendingDebt"
|
|
2141
|
+
| "unPaid";
|
|
2142
|
+
export const ServiceStateEnum = /*@__PURE__*/ S.String;
|
|
2143
|
+
|
|
2144
|
+
/** Details about a Service */
|
|
2145
|
+
export interface ServicesService {
|
|
2146
|
+
/** Indicates that the service can be set up to be deleted at expiration */
|
|
2147
|
+
canDeleteAtExpiration?: boolean;
|
|
2148
|
+
contactAdmin?: string;
|
|
2149
|
+
contactBilling?: string;
|
|
2150
|
+
contactTech?: string;
|
|
2151
|
+
creation?: string;
|
|
2152
|
+
domain?: string;
|
|
2153
|
+
engagedUpTo?: string | null;
|
|
2154
|
+
expiration?: string;
|
|
2155
|
+
/** All the possible renew period of your service in month */
|
|
2156
|
+
possibleRenewPeriod?: ServicesServicePossibleRenewPeriodList | null;
|
|
2157
|
+
/** Way of handling the renew */
|
|
2158
|
+
renew?: ServiceRenewType | null;
|
|
2159
|
+
renewalType?: ServiceRenewalTypeEnum;
|
|
2160
|
+
serviceId?: number;
|
|
2161
|
+
status?: ServiceStateEnum;
|
|
2162
|
+
}
|
|
2163
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() =>
|
|
2164
|
+
S.Struct({
|
|
2165
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
2166
|
+
contactAdmin: S.optional(S.String),
|
|
2167
|
+
contactBilling: S.optional(S.String),
|
|
2168
|
+
contactTech: S.optional(S.String),
|
|
2169
|
+
creation: S.optional(S.String),
|
|
2170
|
+
domain: S.optional(S.String),
|
|
2171
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
2172
|
+
expiration: S.optional(S.String),
|
|
2173
|
+
possibleRenewPeriod: S.optional(
|
|
2174
|
+
S.NullOr(ServicesServicePossibleRenewPeriodList),
|
|
2175
|
+
),
|
|
2176
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
2177
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
2178
|
+
serviceId: S.optional(S.Number),
|
|
2179
|
+
status: S.optional(ServiceStateEnum),
|
|
2180
|
+
}),
|
|
2181
|
+
).annotate({
|
|
2182
|
+
identifier: "ServicesService",
|
|
2183
|
+
}) as any as S.Schema<ServicesService>;
|
|
2184
|
+
|
|
2185
|
+
export interface GetPackXdslSubServiceRequest {
|
|
2186
|
+
/** The internal name of your pack */
|
|
2187
|
+
packName: string;
|
|
2188
|
+
domain: string;
|
|
2189
|
+
}
|
|
2190
|
+
export const GetPackXdslSubServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2191
|
+
S.Struct({
|
|
2192
|
+
packName: S.String.pipe(T.Label()),
|
|
2193
|
+
domain: S.String.pipe(T.Label()),
|
|
2194
|
+
}).pipe(
|
|
2195
|
+
T.Http({
|
|
2196
|
+
method: "GET",
|
|
2197
|
+
uri: "/pack/xdsl/{packName}/subServices/{domain}",
|
|
2198
|
+
code: 200,
|
|
2199
|
+
}),
|
|
2200
|
+
),
|
|
2201
|
+
).annotate({
|
|
2202
|
+
identifier: "GetPackXdslSubServiceRequest",
|
|
2203
|
+
}) as any as S.Schema<GetPackXdslSubServiceRequest>;
|
|
2204
|
+
|
|
2205
|
+
/** Service link to the pack */
|
|
2206
|
+
export interface PackXdslService {
|
|
2207
|
+
domain?: string;
|
|
2208
|
+
id?: number;
|
|
2209
|
+
type?: PackXdslServiceNameEnum;
|
|
2210
|
+
}
|
|
2211
|
+
export const PackXdslService = /*@__PURE__*/ S.suspend(() =>
|
|
2212
|
+
S.Struct({
|
|
2213
|
+
domain: S.optional(S.String),
|
|
2214
|
+
id: S.optional(S.Number),
|
|
2215
|
+
type: S.optional(PackXdslServiceNameEnum),
|
|
2216
|
+
}),
|
|
2217
|
+
).annotate({
|
|
2218
|
+
identifier: "PackXdslService",
|
|
2219
|
+
}) as any as S.Schema<PackXdslService>;
|
|
2220
|
+
|
|
2221
|
+
export interface GetPackXdslSubServiceKeepServiceTermsRequest {
|
|
2222
|
+
/** The internal name of your pack */
|
|
2223
|
+
packName: string;
|
|
2224
|
+
domain: string;
|
|
2225
|
+
}
|
|
2226
|
+
export const GetPackXdslSubServiceKeepServiceTermsRequest =
|
|
2227
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2228
|
+
S.Struct({
|
|
2229
|
+
packName: S.String.pipe(T.Label()),
|
|
2230
|
+
domain: S.String.pipe(T.Label()),
|
|
2231
|
+
}).pipe(
|
|
2232
|
+
T.Http({
|
|
2233
|
+
method: "GET",
|
|
2234
|
+
uri: "/pack/xdsl/{packName}/subServices/{domain}/keepServiceTerms",
|
|
2235
|
+
code: 200,
|
|
2236
|
+
}),
|
|
2237
|
+
),
|
|
2238
|
+
).annotate({
|
|
2239
|
+
identifier: "GetPackXdslSubServiceKeepServiceTermsRequest",
|
|
2240
|
+
}) as any as S.Schema<GetPackXdslSubServiceKeepServiceTermsRequest>;
|
|
2241
|
+
|
|
2242
|
+
/** Terms to unpack services */
|
|
2243
|
+
export interface PackXdslUnpackTerms {
|
|
2244
|
+
/** Tells whether or not the service can be unpacked */
|
|
2245
|
+
isAllowed?: boolean;
|
|
2246
|
+
/** Price bill on the unpack action */
|
|
2247
|
+
price?: OrderPrice;
|
|
2248
|
+
/** Renew period in month of the service */
|
|
2249
|
+
renewPeriod?: number;
|
|
2250
|
+
/** The price it will cost when it will be renew */
|
|
2251
|
+
renewPrice?: OrderPrice;
|
|
2252
|
+
}
|
|
2253
|
+
export const PackXdslUnpackTerms = /*@__PURE__*/ S.suspend(() =>
|
|
2254
|
+
S.Struct({
|
|
2255
|
+
isAllowed: S.optional(S.Boolean),
|
|
2256
|
+
price: S.optional(OrderPrice),
|
|
2257
|
+
renewPeriod: S.optional(S.Number),
|
|
2258
|
+
renewPrice: S.optional(OrderPrice),
|
|
2259
|
+
}),
|
|
2260
|
+
).annotate({
|
|
2261
|
+
identifier: "PackXdslUnpackTerms",
|
|
2262
|
+
}) as any as S.Schema<PackXdslUnpackTerms>;
|
|
2263
|
+
|
|
2264
|
+
export interface GetPackXdslTaskRequest {
|
|
2265
|
+
/** The internal name of your pack */
|
|
2266
|
+
packName: string;
|
|
2267
|
+
/** Id of the object */
|
|
2268
|
+
id: number;
|
|
2269
|
+
}
|
|
2270
|
+
export const GetPackXdslTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2271
|
+
S.Struct({
|
|
2272
|
+
packName: S.String.pipe(T.Label()),
|
|
2273
|
+
id: S.Number.pipe(T.Label()),
|
|
2274
|
+
}).pipe(
|
|
2275
|
+
T.Http({
|
|
2276
|
+
method: "GET",
|
|
2277
|
+
uri: "/pack/xdsl/{packName}/tasks/{id}",
|
|
2278
|
+
code: 200,
|
|
2279
|
+
}),
|
|
2280
|
+
),
|
|
2281
|
+
).annotate({
|
|
2282
|
+
identifier: "GetPackXdslTaskRequest",
|
|
2283
|
+
}) as any as S.Schema<GetPackXdslTaskRequest>;
|
|
2284
|
+
|
|
2285
|
+
export interface GetPackXdslVoipLineServiceRequest {
|
|
2286
|
+
/** The internal name of your pack */
|
|
2287
|
+
packName: string;
|
|
2288
|
+
domain: string;
|
|
2289
|
+
}
|
|
2290
|
+
export const GetPackXdslVoipLineServiceRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2291
|
+
S.Struct({
|
|
2292
|
+
packName: S.String.pipe(T.Label()),
|
|
2293
|
+
domain: S.String.pipe(T.Label()),
|
|
2294
|
+
}).pipe(
|
|
2295
|
+
T.Http({
|
|
2296
|
+
method: "GET",
|
|
2297
|
+
uri: "/pack/xdsl/{packName}/voipLine/services/{domain}",
|
|
2298
|
+
code: 200,
|
|
2299
|
+
}),
|
|
2300
|
+
),
|
|
2301
|
+
).annotate({
|
|
2302
|
+
identifier: "GetPackXdslVoipLineServiceRequest",
|
|
2303
|
+
}) as any as S.Schema<GetPackXdslVoipLineServiceRequest>;
|
|
2304
|
+
|
|
2305
|
+
/** VOIP line services */
|
|
2306
|
+
export interface PackXdslVoipLineService {
|
|
2307
|
+
billingAccount?: string;
|
|
2308
|
+
domain?: string;
|
|
2309
|
+
}
|
|
2310
|
+
export const PackXdslVoipLineService = /*@__PURE__*/ S.suspend(() =>
|
|
2311
|
+
S.Struct({
|
|
2312
|
+
billingAccount: S.optional(S.String),
|
|
2313
|
+
domain: S.optional(S.String),
|
|
2314
|
+
}),
|
|
2315
|
+
).annotate({
|
|
2316
|
+
identifier: "PackXdslVoipLineService",
|
|
2317
|
+
}) as any as S.Schema<PackXdslVoipLineService>;
|
|
2318
|
+
|
|
2319
|
+
/** Resource tag filter */
|
|
2320
|
+
export interface IamResourceTagFilterInput {}
|
|
2321
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
|
|
2322
|
+
S.Struct({}),
|
|
2323
|
+
).annotate({
|
|
2324
|
+
identifier: "IamResourceTagFilterInput",
|
|
2325
|
+
}) as any as S.Schema<IamResourceTagFilterInput>;
|
|
2326
|
+
|
|
2327
|
+
export type ListPackXdslRequestIamTagsValueList =
|
|
2328
|
+
Array<IamResourceTagFilterInput>;
|
|
2329
|
+
export const ListPackXdslRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
2330
|
+
IamResourceTagFilterInput,
|
|
2331
|
+
) as any as S.Schema<ListPackXdslRequestIamTagsValueList>;
|
|
2332
|
+
|
|
2333
|
+
export type ListPackXdslRequestIamTagsMap = {
|
|
2334
|
+
[key: string]: ListPackXdslRequestIamTagsValueList | undefined;
|
|
2335
|
+
};
|
|
2336
|
+
export const ListPackXdslRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
2337
|
+
S.String,
|
|
2338
|
+
ListPackXdslRequestIamTagsValueList,
|
|
2339
|
+
) as any as S.Schema<ListPackXdslRequestIamTagsMap>;
|
|
2340
|
+
|
|
2341
|
+
export interface ListPackXdslRequest {
|
|
2342
|
+
/** Filter resources on IAM tags */
|
|
2343
|
+
iamTags?: ListPackXdslRequestIamTagsMap;
|
|
2344
|
+
}
|
|
2345
|
+
export const ListPackXdslRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2346
|
+
S.Struct({
|
|
2347
|
+
iamTags: S.optional(ListPackXdslRequestIamTagsMap.pipe(T.Query())),
|
|
2348
|
+
}).pipe(T.Http({ method: "GET", uri: "/pack/xdsl", code: 200 })),
|
|
2349
|
+
).annotate({
|
|
2350
|
+
identifier: "ListPackXdslRequest",
|
|
2351
|
+
}) as any as S.Schema<ListPackXdslRequest>;
|
|
2352
|
+
|
|
2353
|
+
export type ListPackXdslResponseBodyList = Array<string>;
|
|
2354
|
+
export const ListPackXdslResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2355
|
+
S.String,
|
|
2356
|
+
) as any as S.Schema<ListPackXdslResponseBodyList>;
|
|
2357
|
+
|
|
2358
|
+
export type ListPackXdslResponse = ListPackXdslResponseBodyList;
|
|
2359
|
+
export const ListPackXdslResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2360
|
+
ListPackXdslResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2361
|
+
).annotate({
|
|
2362
|
+
identifier: "ListPackXdslResponse",
|
|
2363
|
+
}) as any as S.Schema<ListPackXdslResponse>;
|
|
2364
|
+
|
|
2365
|
+
export interface ListPackXdslDomainOptionTldsRequest {
|
|
2366
|
+
/** The internal name of your pack */
|
|
2367
|
+
packName: string;
|
|
2368
|
+
}
|
|
2369
|
+
export const ListPackXdslDomainOptionTldsRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2370
|
+
S.Struct({
|
|
2371
|
+
packName: S.String.pipe(T.Label()),
|
|
2372
|
+
}).pipe(
|
|
2373
|
+
T.Http({
|
|
2374
|
+
method: "GET",
|
|
2375
|
+
uri: "/pack/xdsl/{packName}/domain/options/tlds",
|
|
2376
|
+
code: 200,
|
|
2377
|
+
}),
|
|
2378
|
+
),
|
|
2379
|
+
).annotate({
|
|
2380
|
+
identifier: "ListPackXdslDomainOptionTldsRequest",
|
|
2381
|
+
}) as any as S.Schema<ListPackXdslDomainOptionTldsRequest>;
|
|
2382
|
+
|
|
2383
|
+
export type ListPackXdslDomainOptionTldsResponseBodyList = Array<string>;
|
|
2384
|
+
export const ListPackXdslDomainOptionTldsResponseBodyList =
|
|
2385
|
+
/*@__PURE__*/ S.Array(
|
|
2386
|
+
S.String,
|
|
2387
|
+
) as any as S.Schema<ListPackXdslDomainOptionTldsResponseBodyList>;
|
|
2388
|
+
|
|
2389
|
+
export type ListPackXdslDomainOptionTldsResponse =
|
|
2390
|
+
ListPackXdslDomainOptionTldsResponseBodyList;
|
|
2391
|
+
export const ListPackXdslDomainOptionTldsResponse = /*@__PURE__*/ S.suspend(
|
|
2392
|
+
() => ListPackXdslDomainOptionTldsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2393
|
+
).annotate({
|
|
2394
|
+
identifier: "ListPackXdslDomainOptionTldsResponse",
|
|
2395
|
+
}) as any as S.Schema<ListPackXdslDomainOptionTldsResponse>;
|
|
2396
|
+
|
|
2397
|
+
export interface ListPackXdslDomainServicesRequest {
|
|
2398
|
+
/** The internal name of your pack */
|
|
2399
|
+
packName: string;
|
|
2400
|
+
}
|
|
2401
|
+
export const ListPackXdslDomainServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2402
|
+
S.Struct({
|
|
2403
|
+
packName: S.String.pipe(T.Label()),
|
|
2404
|
+
}).pipe(
|
|
2405
|
+
T.Http({
|
|
2406
|
+
method: "GET",
|
|
2407
|
+
uri: "/pack/xdsl/{packName}/domain/services",
|
|
2408
|
+
code: 200,
|
|
2409
|
+
}),
|
|
2410
|
+
),
|
|
2411
|
+
).annotate({
|
|
2412
|
+
identifier: "ListPackXdslDomainServicesRequest",
|
|
2413
|
+
}) as any as S.Schema<ListPackXdslDomainServicesRequest>;
|
|
2414
|
+
|
|
2415
|
+
export type ListPackXdslDomainServicesResponseBodyList = Array<string>;
|
|
2416
|
+
export const ListPackXdslDomainServicesResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2417
|
+
S.String,
|
|
2418
|
+
) as any as S.Schema<ListPackXdslDomainServicesResponseBodyList>;
|
|
2419
|
+
|
|
2420
|
+
export type ListPackXdslDomainServicesResponse =
|
|
2421
|
+
ListPackXdslDomainServicesResponseBodyList;
|
|
2422
|
+
export const ListPackXdslDomainServicesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2423
|
+
ListPackXdslDomainServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2424
|
+
).annotate({
|
|
2425
|
+
identifier: "ListPackXdslDomainServicesResponse",
|
|
2426
|
+
}) as any as S.Schema<ListPackXdslDomainServicesResponse>;
|
|
2427
|
+
|
|
2428
|
+
export interface ListPackXdslEmailProOptionDomainsRequest {
|
|
2429
|
+
/** The internal name of your pack */
|
|
2430
|
+
packName: string;
|
|
2431
|
+
}
|
|
2432
|
+
export const ListPackXdslEmailProOptionDomainsRequest = /*@__PURE__*/ S.suspend(
|
|
2433
|
+
() =>
|
|
2434
|
+
S.Struct({
|
|
2435
|
+
packName: S.String.pipe(T.Label()),
|
|
2436
|
+
}).pipe(
|
|
2437
|
+
T.Http({
|
|
2438
|
+
method: "GET",
|
|
2439
|
+
uri: "/pack/xdsl/{packName}/emailPro/options/domains",
|
|
2440
|
+
code: 200,
|
|
2441
|
+
}),
|
|
2442
|
+
),
|
|
2443
|
+
).annotate({
|
|
2444
|
+
identifier: "ListPackXdslEmailProOptionDomainsRequest",
|
|
2445
|
+
}) as any as S.Schema<ListPackXdslEmailProOptionDomainsRequest>;
|
|
2446
|
+
|
|
2447
|
+
export type ListPackXdslEmailProOptionDomainsResponseBodyList = Array<string>;
|
|
2448
|
+
export const ListPackXdslEmailProOptionDomainsResponseBodyList =
|
|
2449
|
+
/*@__PURE__*/ S.Array(
|
|
2450
|
+
S.String,
|
|
2451
|
+
) as any as S.Schema<ListPackXdslEmailProOptionDomainsResponseBodyList>;
|
|
2452
|
+
|
|
2453
|
+
export type ListPackXdslEmailProOptionDomainsResponse =
|
|
2454
|
+
ListPackXdslEmailProOptionDomainsResponseBodyList;
|
|
2455
|
+
export const ListPackXdslEmailProOptionDomainsResponse =
|
|
2456
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2457
|
+
ListPackXdslEmailProOptionDomainsResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2458
|
+
).annotate({
|
|
2459
|
+
identifier: "ListPackXdslEmailProOptionDomainsResponse",
|
|
2460
|
+
}) as any as S.Schema<ListPackXdslEmailProOptionDomainsResponse>;
|
|
2461
|
+
|
|
2462
|
+
export interface ListPackXdslEmailProServicesRequest {
|
|
2463
|
+
/** The internal name of your pack */
|
|
2464
|
+
packName: string;
|
|
2465
|
+
}
|
|
2466
|
+
export const ListPackXdslEmailProServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2467
|
+
S.Struct({
|
|
2468
|
+
packName: S.String.pipe(T.Label()),
|
|
2469
|
+
}).pipe(
|
|
2470
|
+
T.Http({
|
|
2471
|
+
method: "GET",
|
|
2472
|
+
uri: "/pack/xdsl/{packName}/emailPro/services",
|
|
2473
|
+
code: 200,
|
|
2474
|
+
}),
|
|
2475
|
+
),
|
|
2476
|
+
).annotate({
|
|
2477
|
+
identifier: "ListPackXdslEmailProServicesRequest",
|
|
2478
|
+
}) as any as S.Schema<ListPackXdslEmailProServicesRequest>;
|
|
2479
|
+
|
|
2480
|
+
export type ListPackXdslEmailProServicesResponseBodyList = Array<string>;
|
|
2481
|
+
export const ListPackXdslEmailProServicesResponseBodyList =
|
|
2482
|
+
/*@__PURE__*/ S.Array(
|
|
2483
|
+
S.String,
|
|
2484
|
+
) as any as S.Schema<ListPackXdslEmailProServicesResponseBodyList>;
|
|
2485
|
+
|
|
2486
|
+
export type ListPackXdslEmailProServicesResponse =
|
|
2487
|
+
ListPackXdslEmailProServicesResponseBodyList;
|
|
2488
|
+
export const ListPackXdslEmailProServicesResponse = /*@__PURE__*/ S.suspend(
|
|
2489
|
+
() => ListPackXdslEmailProServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2490
|
+
).annotate({
|
|
2491
|
+
identifier: "ListPackXdslEmailProServicesResponse",
|
|
2492
|
+
}) as any as S.Schema<ListPackXdslEmailProServicesResponse>;
|
|
2493
|
+
|
|
2494
|
+
export interface ListPackXdslExchangeAccountServicesRequest {
|
|
2495
|
+
/** The internal name of your pack */
|
|
2496
|
+
packName: string;
|
|
2497
|
+
}
|
|
2498
|
+
export const ListPackXdslExchangeAccountServicesRequest =
|
|
2499
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2500
|
+
S.Struct({
|
|
2501
|
+
packName: S.String.pipe(T.Label()),
|
|
2502
|
+
}).pipe(
|
|
2503
|
+
T.Http({
|
|
2504
|
+
method: "GET",
|
|
2505
|
+
uri: "/pack/xdsl/{packName}/exchangeAccount/services",
|
|
2506
|
+
code: 200,
|
|
2507
|
+
}),
|
|
2508
|
+
),
|
|
2509
|
+
).annotate({
|
|
2510
|
+
identifier: "ListPackXdslExchangeAccountServicesRequest",
|
|
2511
|
+
}) as any as S.Schema<ListPackXdslExchangeAccountServicesRequest>;
|
|
2512
|
+
|
|
2513
|
+
export type ListPackXdslExchangeAccountServicesResponseBodyList = Array<string>;
|
|
2514
|
+
export const ListPackXdslExchangeAccountServicesResponseBodyList =
|
|
2515
|
+
/*@__PURE__*/ S.Array(
|
|
2516
|
+
S.String,
|
|
2517
|
+
) as any as S.Schema<ListPackXdslExchangeAccountServicesResponseBodyList>;
|
|
2518
|
+
|
|
2519
|
+
export type ListPackXdslExchangeAccountServicesResponse =
|
|
2520
|
+
ListPackXdslExchangeAccountServicesResponseBodyList;
|
|
2521
|
+
export const ListPackXdslExchangeAccountServicesResponse =
|
|
2522
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2523
|
+
ListPackXdslExchangeAccountServicesResponseBodyList.pipe(
|
|
2524
|
+
T.RawResponseRoot(),
|
|
2525
|
+
),
|
|
2526
|
+
).annotate({
|
|
2527
|
+
identifier: "ListPackXdslExchangeAccountServicesResponse",
|
|
2528
|
+
}) as any as S.Schema<ListPackXdslExchangeAccountServicesResponse>;
|
|
2529
|
+
|
|
2530
|
+
export interface ListPackXdslExchangeIndividualOptionDomainsRequest {
|
|
2531
|
+
/** The internal name of your pack */
|
|
2532
|
+
packName: string;
|
|
2533
|
+
}
|
|
2534
|
+
export const ListPackXdslExchangeIndividualOptionDomainsRequest =
|
|
2535
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2536
|
+
S.Struct({
|
|
2537
|
+
packName: S.String.pipe(T.Label()),
|
|
2538
|
+
}).pipe(
|
|
2539
|
+
T.Http({
|
|
2540
|
+
method: "GET",
|
|
2541
|
+
uri: "/pack/xdsl/{packName}/exchangeIndividual/options/domains",
|
|
2542
|
+
code: 200,
|
|
2543
|
+
}),
|
|
2544
|
+
),
|
|
2545
|
+
).annotate({
|
|
2546
|
+
identifier: "ListPackXdslExchangeIndividualOptionDomainsRequest",
|
|
2547
|
+
}) as any as S.Schema<ListPackXdslExchangeIndividualOptionDomainsRequest>;
|
|
2548
|
+
|
|
2549
|
+
export type ListPackXdslExchangeIndividualOptionDomainsResponseBodyList =
|
|
2550
|
+
Array<string>;
|
|
2551
|
+
export const ListPackXdslExchangeIndividualOptionDomainsResponseBodyList =
|
|
2552
|
+
/*@__PURE__*/ S.Array(
|
|
2553
|
+
S.String,
|
|
2554
|
+
) as any as S.Schema<ListPackXdslExchangeIndividualOptionDomainsResponseBodyList>;
|
|
2555
|
+
|
|
2556
|
+
export type ListPackXdslExchangeIndividualOptionDomainsResponse =
|
|
2557
|
+
ListPackXdslExchangeIndividualOptionDomainsResponseBodyList;
|
|
2558
|
+
export const ListPackXdslExchangeIndividualOptionDomainsResponse =
|
|
2559
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2560
|
+
ListPackXdslExchangeIndividualOptionDomainsResponseBodyList.pipe(
|
|
2561
|
+
T.RawResponseRoot(),
|
|
2562
|
+
),
|
|
2563
|
+
).annotate({
|
|
2564
|
+
identifier: "ListPackXdslExchangeIndividualOptionDomainsResponse",
|
|
2565
|
+
}) as any as S.Schema<ListPackXdslExchangeIndividualOptionDomainsResponse>;
|
|
2566
|
+
|
|
2567
|
+
export interface ListPackXdslExchangeOrganizationServicesRequest {
|
|
2568
|
+
/** The internal name of your pack */
|
|
2569
|
+
packName: string;
|
|
2570
|
+
}
|
|
2571
|
+
export const ListPackXdslExchangeOrganizationServicesRequest =
|
|
2572
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2573
|
+
S.Struct({
|
|
2574
|
+
packName: S.String.pipe(T.Label()),
|
|
2575
|
+
}).pipe(
|
|
2576
|
+
T.Http({
|
|
2577
|
+
method: "GET",
|
|
2578
|
+
uri: "/pack/xdsl/{packName}/exchangeOrganization/services",
|
|
2579
|
+
code: 200,
|
|
2580
|
+
}),
|
|
2581
|
+
),
|
|
2582
|
+
).annotate({
|
|
2583
|
+
identifier: "ListPackXdslExchangeOrganizationServicesRequest",
|
|
2584
|
+
}) as any as S.Schema<ListPackXdslExchangeOrganizationServicesRequest>;
|
|
2585
|
+
|
|
2586
|
+
export type ListPackXdslExchangeOrganizationServicesResponseBodyList =
|
|
2587
|
+
Array<string>;
|
|
2588
|
+
export const ListPackXdslExchangeOrganizationServicesResponseBodyList =
|
|
2589
|
+
/*@__PURE__*/ S.Array(
|
|
2590
|
+
S.String,
|
|
2591
|
+
) as any as S.Schema<ListPackXdslExchangeOrganizationServicesResponseBodyList>;
|
|
2592
|
+
|
|
2593
|
+
export type ListPackXdslExchangeOrganizationServicesResponse =
|
|
2594
|
+
ListPackXdslExchangeOrganizationServicesResponseBodyList;
|
|
2595
|
+
export const ListPackXdslExchangeOrganizationServicesResponse =
|
|
2596
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2597
|
+
ListPackXdslExchangeOrganizationServicesResponseBodyList.pipe(
|
|
2598
|
+
T.RawResponseRoot(),
|
|
2599
|
+
),
|
|
2600
|
+
).annotate({
|
|
2601
|
+
identifier: "ListPackXdslExchangeOrganizationServicesResponse",
|
|
2602
|
+
}) as any as S.Schema<ListPackXdslExchangeOrganizationServicesResponse>;
|
|
2603
|
+
|
|
2604
|
+
export interface ListPackXdslHostedEmailOptionDomainsRequest {
|
|
2605
|
+
/** The internal name of your pack */
|
|
2606
|
+
packName: string;
|
|
2607
|
+
}
|
|
2608
|
+
export const ListPackXdslHostedEmailOptionDomainsRequest =
|
|
2609
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2610
|
+
S.Struct({
|
|
2611
|
+
packName: S.String.pipe(T.Label()),
|
|
2612
|
+
}).pipe(
|
|
2613
|
+
T.Http({
|
|
2614
|
+
method: "GET",
|
|
2615
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/options/domains",
|
|
2616
|
+
code: 200,
|
|
2617
|
+
}),
|
|
2618
|
+
),
|
|
2619
|
+
).annotate({
|
|
2620
|
+
identifier: "ListPackXdslHostedEmailOptionDomainsRequest",
|
|
2621
|
+
}) as any as S.Schema<ListPackXdslHostedEmailOptionDomainsRequest>;
|
|
2622
|
+
|
|
2623
|
+
export type ListPackXdslHostedEmailOptionDomainsResponseBodyList =
|
|
2624
|
+
Array<string>;
|
|
2625
|
+
export const ListPackXdslHostedEmailOptionDomainsResponseBodyList =
|
|
2626
|
+
/*@__PURE__*/ S.Array(
|
|
2627
|
+
S.String,
|
|
2628
|
+
) as any as S.Schema<ListPackXdslHostedEmailOptionDomainsResponseBodyList>;
|
|
2629
|
+
|
|
2630
|
+
export type ListPackXdslHostedEmailOptionDomainsResponse =
|
|
2631
|
+
ListPackXdslHostedEmailOptionDomainsResponseBodyList;
|
|
2632
|
+
export const ListPackXdslHostedEmailOptionDomainsResponse =
|
|
2633
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2634
|
+
ListPackXdslHostedEmailOptionDomainsResponseBodyList.pipe(
|
|
2635
|
+
T.RawResponseRoot(),
|
|
2636
|
+
),
|
|
2637
|
+
).annotate({
|
|
2638
|
+
identifier: "ListPackXdslHostedEmailOptionDomainsResponse",
|
|
2639
|
+
}) as any as S.Schema<ListPackXdslHostedEmailOptionDomainsResponse>;
|
|
2640
|
+
|
|
2641
|
+
export interface ListPackXdslHostedEmailServiceConfigurationRequest {
|
|
2642
|
+
/** The internal name of your pack */
|
|
2643
|
+
packName: string;
|
|
2644
|
+
domain: string;
|
|
2645
|
+
}
|
|
2646
|
+
export const ListPackXdslHostedEmailServiceConfigurationRequest =
|
|
2647
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2648
|
+
S.Struct({
|
|
2649
|
+
packName: S.String.pipe(T.Label()),
|
|
2650
|
+
domain: S.String.pipe(T.Label()),
|
|
2651
|
+
}).pipe(
|
|
2652
|
+
T.Http({
|
|
2653
|
+
method: "GET",
|
|
2654
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services/{domain}/configuration",
|
|
2655
|
+
code: 200,
|
|
2656
|
+
}),
|
|
2657
|
+
),
|
|
2658
|
+
).annotate({
|
|
2659
|
+
identifier: "ListPackXdslHostedEmailServiceConfigurationRequest",
|
|
2660
|
+
}) as any as S.Schema<ListPackXdslHostedEmailServiceConfigurationRequest>;
|
|
2661
|
+
|
|
2662
|
+
/** Available types of service */
|
|
2663
|
+
export type PackXdslHostedEmailConfigurationServiceEnum =
|
|
2664
|
+
| "imap"
|
|
2665
|
+
| "imaps"
|
|
2666
|
+
| "pop3"
|
|
2667
|
+
| "pop3s"
|
|
2668
|
+
| "smtp"
|
|
2669
|
+
| "smtps"
|
|
2670
|
+
| "submission";
|
|
2671
|
+
export const PackXdslHostedEmailConfigurationServiceEnum =
|
|
2672
|
+
/*@__PURE__*/ S.String;
|
|
2673
|
+
|
|
2674
|
+
/** HostedEmail configuration service */
|
|
2675
|
+
export interface PackXdslHostedEmailConfigurationService {
|
|
2676
|
+
/** Service host */
|
|
2677
|
+
host?: string;
|
|
2678
|
+
/** Service IP */
|
|
2679
|
+
ip?: string;
|
|
2680
|
+
/** Service port */
|
|
2681
|
+
port?: number;
|
|
2682
|
+
/** Service name */
|
|
2683
|
+
service?: PackXdslHostedEmailConfigurationServiceEnum;
|
|
2684
|
+
/** Does the service use SMTP AUTH ? */
|
|
2685
|
+
smtpAuth?: boolean | null;
|
|
2686
|
+
/** Does the service use STARTTLS ? */
|
|
2687
|
+
startTls?: boolean;
|
|
2688
|
+
}
|
|
2689
|
+
export const PackXdslHostedEmailConfigurationService = /*@__PURE__*/ S.suspend(
|
|
2690
|
+
() =>
|
|
2691
|
+
S.Struct({
|
|
2692
|
+
host: S.optional(S.String),
|
|
2693
|
+
ip: S.optional(S.String),
|
|
2694
|
+
port: S.optional(S.Number),
|
|
2695
|
+
service: S.optional(PackXdslHostedEmailConfigurationServiceEnum),
|
|
2696
|
+
smtpAuth: S.optional(S.NullOr(S.Boolean)),
|
|
2697
|
+
startTls: S.optional(S.Boolean),
|
|
2698
|
+
}),
|
|
2699
|
+
).annotate({
|
|
2700
|
+
identifier: "PackXdslHostedEmailConfigurationService",
|
|
2701
|
+
}) as any as S.Schema<PackXdslHostedEmailConfigurationService>;
|
|
2702
|
+
|
|
2703
|
+
/** List of services configurations */
|
|
2704
|
+
export type PackXdslHostedEmailConfigurationServicesList =
|
|
2705
|
+
Array<PackXdslHostedEmailConfigurationService>;
|
|
2706
|
+
export const PackXdslHostedEmailConfigurationServicesList =
|
|
2707
|
+
/*@__PURE__*/ S.Array(
|
|
2708
|
+
PackXdslHostedEmailConfigurationService,
|
|
2709
|
+
) as any as S.Schema<PackXdslHostedEmailConfigurationServicesList>;
|
|
2710
|
+
|
|
2711
|
+
/** Available configuration statuses */
|
|
2712
|
+
export type PackXdslHostedEmailConfigurationStatusEnum = "active" | "suspended";
|
|
2713
|
+
export const PackXdslHostedEmailConfigurationStatusEnum =
|
|
2714
|
+
/*@__PURE__*/ S.String;
|
|
2715
|
+
|
|
2716
|
+
/** HostedEmail configuration */
|
|
2717
|
+
export interface PackXdslHostedEmailConfiguration {
|
|
2718
|
+
/** List of services configurations */
|
|
2719
|
+
services?: PackXdslHostedEmailConfigurationServicesList;
|
|
2720
|
+
/** Status */
|
|
2721
|
+
status?: PackXdslHostedEmailConfigurationStatusEnum;
|
|
2722
|
+
/** Webmail url */
|
|
2723
|
+
webmailUrl?: string;
|
|
2724
|
+
}
|
|
2725
|
+
export const PackXdslHostedEmailConfiguration = /*@__PURE__*/ S.suspend(() =>
|
|
2726
|
+
S.Struct({
|
|
2727
|
+
services: S.optional(PackXdslHostedEmailConfigurationServicesList),
|
|
2728
|
+
status: S.optional(PackXdslHostedEmailConfigurationStatusEnum),
|
|
2729
|
+
webmailUrl: S.optional(S.String),
|
|
2730
|
+
}),
|
|
2731
|
+
).annotate({
|
|
2732
|
+
identifier: "PackXdslHostedEmailConfiguration",
|
|
2733
|
+
}) as any as S.Schema<PackXdslHostedEmailConfiguration>;
|
|
2734
|
+
|
|
2735
|
+
export interface ListPackXdslHostedEmailServicesRequest {
|
|
2736
|
+
/** The internal name of your pack */
|
|
2737
|
+
packName: string;
|
|
2738
|
+
}
|
|
2739
|
+
export const ListPackXdslHostedEmailServicesRequest = /*@__PURE__*/ S.suspend(
|
|
2740
|
+
() =>
|
|
2741
|
+
S.Struct({
|
|
2742
|
+
packName: S.String.pipe(T.Label()),
|
|
2743
|
+
}).pipe(
|
|
2744
|
+
T.Http({
|
|
2745
|
+
method: "GET",
|
|
2746
|
+
uri: "/pack/xdsl/{packName}/hostedEmail/services",
|
|
2747
|
+
code: 200,
|
|
2748
|
+
}),
|
|
2749
|
+
),
|
|
2750
|
+
).annotate({
|
|
2751
|
+
identifier: "ListPackXdslHostedEmailServicesRequest",
|
|
2752
|
+
}) as any as S.Schema<ListPackXdslHostedEmailServicesRequest>;
|
|
2753
|
+
|
|
2754
|
+
export type ListPackXdslHostedEmailServicesResponseBodyList = Array<string>;
|
|
2755
|
+
export const ListPackXdslHostedEmailServicesResponseBodyList =
|
|
2756
|
+
/*@__PURE__*/ S.Array(
|
|
2757
|
+
S.String,
|
|
2758
|
+
) as any as S.Schema<ListPackXdslHostedEmailServicesResponseBodyList>;
|
|
2759
|
+
|
|
2760
|
+
export type ListPackXdslHostedEmailServicesResponse =
|
|
2761
|
+
ListPackXdslHostedEmailServicesResponseBodyList;
|
|
2762
|
+
export const ListPackXdslHostedEmailServicesResponse = /*@__PURE__*/ S.suspend(
|
|
2763
|
+
() =>
|
|
2764
|
+
ListPackXdslHostedEmailServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2765
|
+
).annotate({
|
|
2766
|
+
identifier: "ListPackXdslHostedEmailServicesResponse",
|
|
2767
|
+
}) as any as S.Schema<ListPackXdslHostedEmailServicesResponse>;
|
|
2768
|
+
|
|
2769
|
+
export interface ListPackXdslOrderFollowUpRequest {
|
|
2770
|
+
/** The internal name of your pack */
|
|
2771
|
+
packName: string;
|
|
2772
|
+
}
|
|
2773
|
+
export const ListPackXdslOrderFollowUpRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2774
|
+
S.Struct({
|
|
2775
|
+
packName: S.String.pipe(T.Label()),
|
|
2776
|
+
}).pipe(
|
|
2777
|
+
T.Http({
|
|
2778
|
+
method: "GET",
|
|
2779
|
+
uri: "/pack/xdsl/{packName}/orderFollowUp",
|
|
2780
|
+
code: 200,
|
|
2781
|
+
}),
|
|
2782
|
+
),
|
|
2783
|
+
).annotate({
|
|
2784
|
+
identifier: "ListPackXdslOrderFollowUpRequest",
|
|
2785
|
+
}) as any as S.Schema<ListPackXdslOrderFollowUpRequest>;
|
|
2786
|
+
|
|
2787
|
+
/** Additional information about the step */
|
|
2788
|
+
export type PackXdslOrderFollowUpStepCommentsList = Array<string>;
|
|
2789
|
+
export const PackXdslOrderFollowUpStepCommentsList = /*@__PURE__*/ S.Array(
|
|
2790
|
+
S.String,
|
|
2791
|
+
) as any as S.Schema<PackXdslOrderFollowUpStepCommentsList>;
|
|
2792
|
+
|
|
2793
|
+
/** Information about order follow up step */
|
|
2794
|
+
export interface PackXdslOrderFollowUpStep {
|
|
2795
|
+
/** Additional information about the step */
|
|
2796
|
+
comments?: PackXdslOrderFollowUpStepCommentsList;
|
|
2797
|
+
/** Date when the step has been done */
|
|
2798
|
+
doneDate?: string | null;
|
|
2799
|
+
/** Unit used for the expected duration step */
|
|
2800
|
+
durationUnit?: string;
|
|
2801
|
+
/** Expected duration step */
|
|
2802
|
+
expectedDuration?: number;
|
|
2803
|
+
/** Order follow up step name */
|
|
2804
|
+
name?: string;
|
|
2805
|
+
/** Status of the step */
|
|
2806
|
+
status?: string;
|
|
2807
|
+
}
|
|
2808
|
+
export const PackXdslOrderFollowUpStep = /*@__PURE__*/ S.suspend(() =>
|
|
2809
|
+
S.Struct({
|
|
2810
|
+
comments: S.optional(PackXdslOrderFollowUpStepCommentsList),
|
|
2811
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
2812
|
+
durationUnit: S.optional(S.String),
|
|
2813
|
+
expectedDuration: S.optional(S.Number),
|
|
2814
|
+
name: S.optional(S.String),
|
|
2815
|
+
status: S.optional(S.String),
|
|
2816
|
+
}),
|
|
2817
|
+
).annotate({
|
|
2818
|
+
identifier: "PackXdslOrderFollowUpStep",
|
|
2819
|
+
}) as any as S.Schema<PackXdslOrderFollowUpStep>;
|
|
2820
|
+
|
|
2821
|
+
export type ListPackXdslOrderFollowUpResponseBodyList =
|
|
2822
|
+
Array<PackXdslOrderFollowUpStep>;
|
|
2823
|
+
export const ListPackXdslOrderFollowUpResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2824
|
+
PackXdslOrderFollowUpStep,
|
|
2825
|
+
) as any as S.Schema<ListPackXdslOrderFollowUpResponseBodyList>;
|
|
2826
|
+
|
|
2827
|
+
export type ListPackXdslOrderFollowUpResponse =
|
|
2828
|
+
ListPackXdslOrderFollowUpResponseBodyList;
|
|
2829
|
+
export const ListPackXdslOrderFollowUpResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2830
|
+
ListPackXdslOrderFollowUpResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2831
|
+
).annotate({
|
|
2832
|
+
identifier: "ListPackXdslOrderFollowUpResponse",
|
|
2833
|
+
}) as any as S.Schema<ListPackXdslOrderFollowUpResponse>;
|
|
2834
|
+
|
|
2835
|
+
export interface ListPackXdslPromotionCodeCapabilitiesRequest {
|
|
2836
|
+
/** The internal name of your pack */
|
|
2837
|
+
packName: string;
|
|
2838
|
+
}
|
|
2839
|
+
export const ListPackXdslPromotionCodeCapabilitiesRequest =
|
|
2840
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
2841
|
+
S.Struct({
|
|
2842
|
+
packName: S.String.pipe(T.Label()),
|
|
2843
|
+
}).pipe(
|
|
2844
|
+
T.Http({
|
|
2845
|
+
method: "GET",
|
|
2846
|
+
uri: "/pack/xdsl/{packName}/promotionCode/capabilities",
|
|
2847
|
+
code: 200,
|
|
2848
|
+
}),
|
|
2849
|
+
),
|
|
2850
|
+
).annotate({
|
|
2851
|
+
identifier: "ListPackXdslPromotionCodeCapabilitiesRequest",
|
|
2852
|
+
}) as any as S.Schema<ListPackXdslPromotionCodeCapabilitiesRequest>;
|
|
2853
|
+
|
|
2854
|
+
/** Reasons why the promotion code can not be generated */
|
|
2855
|
+
export type PackXdslPromotionCodeReasonCodes =
|
|
2856
|
+
| "noMoreAvailable"
|
|
2857
|
+
| "offerNotCompatible"
|
|
2858
|
+
| "serviceNotInOkState"
|
|
2859
|
+
| "stillEngaged"
|
|
2860
|
+
| "taskInProgress";
|
|
2861
|
+
export const PackXdslPromotionCodeReasonCodes = /*@__PURE__*/ S.String;
|
|
2862
|
+
|
|
2863
|
+
/** Enum of the possible errors */
|
|
2864
|
+
export type PackXdslPromotionCodeCapabilitiesReasonCodesList =
|
|
2865
|
+
Array<PackXdslPromotionCodeReasonCodes>;
|
|
2866
|
+
export const PackXdslPromotionCodeCapabilitiesReasonCodesList =
|
|
2867
|
+
/*@__PURE__*/ S.Array(
|
|
2868
|
+
PackXdslPromotionCodeReasonCodes,
|
|
2869
|
+
) as any as S.Schema<PackXdslPromotionCodeCapabilitiesReasonCodesList>;
|
|
2870
|
+
|
|
2871
|
+
/** Informations about a promotion code */
|
|
2872
|
+
export interface PackXdslPromotionCodeCapabilities {
|
|
2873
|
+
/** Amount of the promotion code */
|
|
2874
|
+
amount?: OrderPrice;
|
|
2875
|
+
/** True if the promotion code generation is available */
|
|
2876
|
+
canGenerate?: boolean;
|
|
2877
|
+
/** Number of months of engagement */
|
|
2878
|
+
engagement?: number;
|
|
2879
|
+
/** Enum of the possible errors */
|
|
2880
|
+
reasonCodes?: PackXdslPromotionCodeCapabilitiesReasonCodesList;
|
|
2881
|
+
}
|
|
2882
|
+
export const PackXdslPromotionCodeCapabilities = /*@__PURE__*/ S.suspend(() =>
|
|
2883
|
+
S.Struct({
|
|
2884
|
+
amount: S.optional(OrderPrice),
|
|
2885
|
+
canGenerate: S.optional(S.Boolean),
|
|
2886
|
+
engagement: S.optional(S.Number),
|
|
2887
|
+
reasonCodes: S.optional(PackXdslPromotionCodeCapabilitiesReasonCodesList),
|
|
2888
|
+
}),
|
|
2889
|
+
).annotate({
|
|
2890
|
+
identifier: "PackXdslPromotionCodeCapabilities",
|
|
2891
|
+
}) as any as S.Schema<PackXdslPromotionCodeCapabilities>;
|
|
2892
|
+
|
|
2893
|
+
export interface ListPackXdslSearchRequest {
|
|
2894
|
+
/** This parameter could be IP / line number / pack name / access name / order id / mac address */
|
|
2895
|
+
pattern: string;
|
|
2896
|
+
}
|
|
2897
|
+
export const ListPackXdslSearchRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2898
|
+
S.Struct({
|
|
2899
|
+
pattern: S.String.pipe(T.Query()),
|
|
2900
|
+
}).pipe(T.Http({ method: "GET", uri: "/pack/xdsl/search", code: 200 })),
|
|
2901
|
+
).annotate({
|
|
2902
|
+
identifier: "ListPackXdslSearchRequest",
|
|
2903
|
+
}) as any as S.Schema<ListPackXdslSearchRequest>;
|
|
2904
|
+
|
|
2905
|
+
/** Possible DSL technologies */
|
|
2906
|
+
export type XdslDslTypeEnum = "adsl" | "ftte" | "ftth" | "sdsl" | "vdsl";
|
|
2907
|
+
export const XdslDslTypeEnum = /*@__PURE__*/ S.String;
|
|
2908
|
+
|
|
2909
|
+
/** Information about pack xdsl */
|
|
2910
|
+
export interface PackXdslPackDetail {
|
|
2911
|
+
/** Reference of the access */
|
|
2912
|
+
accessname?: string;
|
|
2913
|
+
/** Description of the access */
|
|
2914
|
+
description?: string;
|
|
2915
|
+
/** Number of the line */
|
|
2916
|
+
number?: string;
|
|
2917
|
+
/** Name of the pack */
|
|
2918
|
+
packname?: string;
|
|
2919
|
+
/** Type of the access */
|
|
2920
|
+
type?: XdslDslTypeEnum;
|
|
2921
|
+
}
|
|
2922
|
+
export const PackXdslPackDetail = /*@__PURE__*/ S.suspend(() =>
|
|
2923
|
+
S.Struct({
|
|
2924
|
+
accessname: S.optional(S.String),
|
|
2925
|
+
description: S.optional(S.String),
|
|
2926
|
+
number: S.optional(S.String),
|
|
2927
|
+
packname: S.optional(S.String),
|
|
2928
|
+
type: S.optional(XdslDslTypeEnum),
|
|
2929
|
+
}),
|
|
2930
|
+
).annotate({
|
|
2931
|
+
identifier: "PackXdslPackDetail",
|
|
2932
|
+
}) as any as S.Schema<PackXdslPackDetail>;
|
|
2933
|
+
|
|
2934
|
+
export type ListPackXdslSearchResponseBodyList = Array<PackXdslPackDetail>;
|
|
2935
|
+
export const ListPackXdslSearchResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2936
|
+
PackXdslPackDetail,
|
|
2937
|
+
) as any as S.Schema<ListPackXdslSearchResponseBodyList>;
|
|
2938
|
+
|
|
2939
|
+
export type ListPackXdslSearchResponse = ListPackXdslSearchResponseBodyList;
|
|
2940
|
+
export const ListPackXdslSearchResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2941
|
+
ListPackXdslSearchResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2942
|
+
).annotate({
|
|
2943
|
+
identifier: "ListPackXdslSearchResponse",
|
|
2944
|
+
}) as any as S.Schema<ListPackXdslSearchResponse>;
|
|
2945
|
+
|
|
2946
|
+
export interface ListPackXdslServicesRequest {
|
|
2947
|
+
/** The internal name of your pack */
|
|
2948
|
+
packName: string;
|
|
2949
|
+
}
|
|
2950
|
+
export const ListPackXdslServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
2951
|
+
S.Struct({
|
|
2952
|
+
packName: S.String.pipe(T.Label()),
|
|
2953
|
+
}).pipe(
|
|
2954
|
+
T.Http({ method: "GET", uri: "/pack/xdsl/{packName}/services", code: 200 }),
|
|
2955
|
+
),
|
|
2956
|
+
).annotate({
|
|
2957
|
+
identifier: "ListPackXdslServicesRequest",
|
|
2958
|
+
}) as any as S.Schema<ListPackXdslServicesRequest>;
|
|
2959
|
+
|
|
2960
|
+
/** Informations about a service */
|
|
2961
|
+
export interface PackXdslServiceInformation {
|
|
2962
|
+
inCreation?: number;
|
|
2963
|
+
name?: PackXdslServiceNameEnum;
|
|
2964
|
+
total?: number;
|
|
2965
|
+
used?: number;
|
|
2966
|
+
}
|
|
2967
|
+
export const PackXdslServiceInformation = /*@__PURE__*/ S.suspend(() =>
|
|
2968
|
+
S.Struct({
|
|
2969
|
+
inCreation: S.optional(S.Number),
|
|
2970
|
+
name: S.optional(PackXdslServiceNameEnum),
|
|
2971
|
+
total: S.optional(S.Number),
|
|
2972
|
+
used: S.optional(S.Number),
|
|
2973
|
+
}),
|
|
2974
|
+
).annotate({
|
|
2975
|
+
identifier: "PackXdslServiceInformation",
|
|
2976
|
+
}) as any as S.Schema<PackXdslServiceInformation>;
|
|
2977
|
+
|
|
2978
|
+
export type ListPackXdslServicesResponseBodyList =
|
|
2979
|
+
Array<PackXdslServiceInformation>;
|
|
2980
|
+
export const ListPackXdslServicesResponseBodyList = /*@__PURE__*/ S.Array(
|
|
2981
|
+
PackXdslServiceInformation,
|
|
2982
|
+
) as any as S.Schema<ListPackXdslServicesResponseBodyList>;
|
|
2983
|
+
|
|
2984
|
+
export type ListPackXdslServicesResponse = ListPackXdslServicesResponseBodyList;
|
|
2985
|
+
export const ListPackXdslServicesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
2986
|
+
ListPackXdslServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
2987
|
+
).annotate({
|
|
2988
|
+
identifier: "ListPackXdslServicesResponse",
|
|
2989
|
+
}) as any as S.Schema<ListPackXdslServicesResponse>;
|
|
2990
|
+
|
|
2991
|
+
/** Allowed contexts when looking for shipping addresses */
|
|
2992
|
+
export type PackXdslShippingAddressContextEnum = "migration" | "voipLine";
|
|
2993
|
+
export const PackXdslShippingAddressContextEnum = /*@__PURE__*/ S.String;
|
|
2994
|
+
|
|
2995
|
+
export interface ListPackXdslShippingAddressesRequest {
|
|
2996
|
+
/** The internal name of your pack */
|
|
2997
|
+
packName: string;
|
|
2998
|
+
/** Context */
|
|
2999
|
+
context: PackXdslShippingAddressContextEnum | (string & {});
|
|
3000
|
+
}
|
|
3001
|
+
export const ListPackXdslShippingAddressesRequest = /*@__PURE__*/ S.suspend(
|
|
3002
|
+
() =>
|
|
3003
|
+
S.Struct({
|
|
3004
|
+
packName: S.String.pipe(T.Label()),
|
|
3005
|
+
context: PackXdslShippingAddressContextEnum.pipe(T.Query()),
|
|
3006
|
+
}).pipe(
|
|
3007
|
+
T.Http({
|
|
3008
|
+
method: "GET",
|
|
3009
|
+
uri: "/pack/xdsl/{packName}/shippingAddresses",
|
|
3010
|
+
code: 200,
|
|
3011
|
+
}),
|
|
3012
|
+
),
|
|
3013
|
+
).annotate({
|
|
3014
|
+
identifier: "ListPackXdslShippingAddressesRequest",
|
|
3015
|
+
}) as any as S.Schema<ListPackXdslShippingAddressesRequest>;
|
|
3016
|
+
|
|
3017
|
+
/** Shipping address */
|
|
3018
|
+
export interface PackXdslShippingAddress {
|
|
3019
|
+
address?: string;
|
|
3020
|
+
cityName?: string;
|
|
3021
|
+
countryCode?: string;
|
|
3022
|
+
firstName?: string;
|
|
3023
|
+
lastName?: string;
|
|
3024
|
+
shippingId?: string;
|
|
3025
|
+
zipCode?: string;
|
|
3026
|
+
}
|
|
3027
|
+
export const PackXdslShippingAddress = /*@__PURE__*/ S.suspend(() =>
|
|
3028
|
+
S.Struct({
|
|
3029
|
+
address: S.optional(S.String),
|
|
3030
|
+
cityName: S.optional(S.String),
|
|
3031
|
+
countryCode: S.optional(S.String),
|
|
3032
|
+
firstName: S.optional(S.String),
|
|
3033
|
+
lastName: S.optional(S.String),
|
|
3034
|
+
shippingId: S.optional(S.String),
|
|
3035
|
+
zipCode: S.optional(S.String),
|
|
3036
|
+
}),
|
|
3037
|
+
).annotate({
|
|
3038
|
+
identifier: "PackXdslShippingAddress",
|
|
3039
|
+
}) as any as S.Schema<PackXdslShippingAddress>;
|
|
3040
|
+
|
|
3041
|
+
export type ListPackXdslShippingAddressesResponseBodyList =
|
|
3042
|
+
Array<PackXdslShippingAddress>;
|
|
3043
|
+
export const ListPackXdslShippingAddressesResponseBodyList =
|
|
3044
|
+
/*@__PURE__*/ S.Array(
|
|
3045
|
+
PackXdslShippingAddress,
|
|
3046
|
+
) as any as S.Schema<ListPackXdslShippingAddressesResponseBodyList>;
|
|
3047
|
+
|
|
3048
|
+
export type ListPackXdslShippingAddressesResponse =
|
|
3049
|
+
ListPackXdslShippingAddressesResponseBodyList;
|
|
3050
|
+
export const ListPackXdslShippingAddressesResponse = /*@__PURE__*/ S.suspend(
|
|
3051
|
+
() => ListPackXdslShippingAddressesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3052
|
+
).annotate({
|
|
3053
|
+
identifier: "ListPackXdslShippingAddressesResponse",
|
|
3054
|
+
}) as any as S.Schema<ListPackXdslShippingAddressesResponse>;
|
|
3055
|
+
|
|
3056
|
+
export interface ListPackXdslSubServicesRequest {
|
|
3057
|
+
/** The internal name of your pack */
|
|
3058
|
+
packName: string;
|
|
3059
|
+
}
|
|
3060
|
+
export const ListPackXdslSubServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3061
|
+
S.Struct({
|
|
3062
|
+
packName: S.String.pipe(T.Label()),
|
|
3063
|
+
}).pipe(
|
|
3064
|
+
T.Http({
|
|
3065
|
+
method: "GET",
|
|
3066
|
+
uri: "/pack/xdsl/{packName}/subServices",
|
|
3067
|
+
code: 200,
|
|
3068
|
+
}),
|
|
3069
|
+
),
|
|
3070
|
+
).annotate({
|
|
3071
|
+
identifier: "ListPackXdslSubServicesRequest",
|
|
3072
|
+
}) as any as S.Schema<ListPackXdslSubServicesRequest>;
|
|
3073
|
+
|
|
3074
|
+
export type ListPackXdslSubServicesResponseBodyList = Array<string>;
|
|
3075
|
+
export const ListPackXdslSubServicesResponseBodyList = /*@__PURE__*/ S.Array(
|
|
3076
|
+
S.String,
|
|
3077
|
+
) as any as S.Schema<ListPackXdslSubServicesResponseBodyList>;
|
|
3078
|
+
|
|
3079
|
+
export type ListPackXdslSubServicesResponse =
|
|
3080
|
+
ListPackXdslSubServicesResponseBodyList;
|
|
3081
|
+
export const ListPackXdslSubServicesResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3082
|
+
ListPackXdslSubServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3083
|
+
).annotate({
|
|
3084
|
+
identifier: "ListPackXdslSubServicesResponse",
|
|
3085
|
+
}) as any as S.Schema<ListPackXdslSubServicesResponse>;
|
|
3086
|
+
|
|
3087
|
+
export interface ListPackXdslTasksRequest {
|
|
3088
|
+
/** The internal name of your pack */
|
|
3089
|
+
packName: string;
|
|
3090
|
+
/** Filter the value of function property (=) */
|
|
3091
|
+
function?: string;
|
|
3092
|
+
/** Filter the value of status property (=) */
|
|
3093
|
+
status?: PackXdslTaskStatusEnum | (string & {});
|
|
3094
|
+
}
|
|
3095
|
+
export const ListPackXdslTasksRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3096
|
+
S.Struct({
|
|
3097
|
+
packName: S.String.pipe(T.Label()),
|
|
3098
|
+
function: S.optional(S.String.pipe(T.Query())),
|
|
3099
|
+
status: S.optional(PackXdslTaskStatusEnum.pipe(T.Query())),
|
|
3100
|
+
}).pipe(
|
|
3101
|
+
T.Http({ method: "GET", uri: "/pack/xdsl/{packName}/tasks", code: 200 }),
|
|
3102
|
+
),
|
|
3103
|
+
).annotate({
|
|
3104
|
+
identifier: "ListPackXdslTasksRequest",
|
|
3105
|
+
}) as any as S.Schema<ListPackXdslTasksRequest>;
|
|
3106
|
+
|
|
3107
|
+
export type ListPackXdslTasksResponseBodyList = Array<number>;
|
|
3108
|
+
export const ListPackXdslTasksResponseBodyList = /*@__PURE__*/ S.Array(
|
|
3109
|
+
S.Number,
|
|
3110
|
+
) as any as S.Schema<ListPackXdslTasksResponseBodyList>;
|
|
3111
|
+
|
|
3112
|
+
export type ListPackXdslTasksResponse = ListPackXdslTasksResponseBodyList;
|
|
3113
|
+
export const ListPackXdslTasksResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3114
|
+
ListPackXdslTasksResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3115
|
+
).annotate({
|
|
3116
|
+
identifier: "ListPackXdslTasksResponse",
|
|
3117
|
+
}) as any as S.Schema<ListPackXdslTasksResponse>;
|
|
3118
|
+
|
|
3119
|
+
export interface ListPackXdslVoipBillingAccountServicesRequest {
|
|
3120
|
+
/** The internal name of your pack */
|
|
3121
|
+
packName: string;
|
|
3122
|
+
}
|
|
3123
|
+
export const ListPackXdslVoipBillingAccountServicesRequest =
|
|
3124
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3125
|
+
S.Struct({
|
|
3126
|
+
packName: S.String.pipe(T.Label()),
|
|
3127
|
+
}).pipe(
|
|
3128
|
+
T.Http({
|
|
3129
|
+
method: "GET",
|
|
3130
|
+
uri: "/pack/xdsl/{packName}/voipBillingAccount/services",
|
|
3131
|
+
code: 200,
|
|
3132
|
+
}),
|
|
3133
|
+
),
|
|
3134
|
+
).annotate({
|
|
3135
|
+
identifier: "ListPackXdslVoipBillingAccountServicesRequest",
|
|
3136
|
+
}) as any as S.Schema<ListPackXdslVoipBillingAccountServicesRequest>;
|
|
3137
|
+
|
|
3138
|
+
export type ListPackXdslVoipBillingAccountServicesResponseBodyList =
|
|
3139
|
+
Array<string>;
|
|
3140
|
+
export const ListPackXdslVoipBillingAccountServicesResponseBodyList =
|
|
3141
|
+
/*@__PURE__*/ S.Array(
|
|
3142
|
+
S.String,
|
|
3143
|
+
) as any as S.Schema<ListPackXdslVoipBillingAccountServicesResponseBodyList>;
|
|
3144
|
+
|
|
3145
|
+
export type ListPackXdslVoipBillingAccountServicesResponse =
|
|
3146
|
+
ListPackXdslVoipBillingAccountServicesResponseBodyList;
|
|
3147
|
+
export const ListPackXdslVoipBillingAccountServicesResponse =
|
|
3148
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3149
|
+
ListPackXdslVoipBillingAccountServicesResponseBodyList.pipe(
|
|
3150
|
+
T.RawResponseRoot(),
|
|
3151
|
+
),
|
|
3152
|
+
).annotate({
|
|
3153
|
+
identifier: "ListPackXdslVoipBillingAccountServicesResponse",
|
|
3154
|
+
}) as any as S.Schema<ListPackXdslVoipBillingAccountServicesResponse>;
|
|
3155
|
+
|
|
3156
|
+
export interface ListPackXdslVoipEcofaxServicesRequest {
|
|
3157
|
+
/** The internal name of your pack */
|
|
3158
|
+
packName: string;
|
|
3159
|
+
}
|
|
3160
|
+
export const ListPackXdslVoipEcofaxServicesRequest = /*@__PURE__*/ S.suspend(
|
|
3161
|
+
() =>
|
|
3162
|
+
S.Struct({
|
|
3163
|
+
packName: S.String.pipe(T.Label()),
|
|
3164
|
+
}).pipe(
|
|
3165
|
+
T.Http({
|
|
3166
|
+
method: "GET",
|
|
3167
|
+
uri: "/pack/xdsl/{packName}/voipEcofax/services",
|
|
3168
|
+
code: 200,
|
|
3169
|
+
}),
|
|
3170
|
+
),
|
|
3171
|
+
).annotate({
|
|
3172
|
+
identifier: "ListPackXdslVoipEcofaxServicesRequest",
|
|
3173
|
+
}) as any as S.Schema<ListPackXdslVoipEcofaxServicesRequest>;
|
|
3174
|
+
|
|
3175
|
+
export type ListPackXdslVoipEcofaxServicesResponseBodyList = Array<string>;
|
|
3176
|
+
export const ListPackXdslVoipEcofaxServicesResponseBodyList =
|
|
3177
|
+
/*@__PURE__*/ S.Array(
|
|
3178
|
+
S.String,
|
|
3179
|
+
) as any as S.Schema<ListPackXdslVoipEcofaxServicesResponseBodyList>;
|
|
3180
|
+
|
|
3181
|
+
export type ListPackXdslVoipEcofaxServicesResponse =
|
|
3182
|
+
ListPackXdslVoipEcofaxServicesResponseBodyList;
|
|
3183
|
+
export const ListPackXdslVoipEcofaxServicesResponse = /*@__PURE__*/ S.suspend(
|
|
3184
|
+
() =>
|
|
3185
|
+
ListPackXdslVoipEcofaxServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3186
|
+
).annotate({
|
|
3187
|
+
identifier: "ListPackXdslVoipEcofaxServicesResponse",
|
|
3188
|
+
}) as any as S.Schema<ListPackXdslVoipEcofaxServicesResponse>;
|
|
3189
|
+
|
|
3190
|
+
export interface ListPackXdslVoipLineOptionHardwaresRequest {
|
|
3191
|
+
/** The internal name of your pack */
|
|
3192
|
+
packName: string;
|
|
3193
|
+
}
|
|
3194
|
+
export const ListPackXdslVoipLineOptionHardwaresRequest =
|
|
3195
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3196
|
+
S.Struct({
|
|
3197
|
+
packName: S.String.pipe(T.Label()),
|
|
3198
|
+
}).pipe(
|
|
3199
|
+
T.Http({
|
|
3200
|
+
method: "GET",
|
|
3201
|
+
uri: "/pack/xdsl/{packName}/voipLine/options/hardwares",
|
|
3202
|
+
code: 200,
|
|
3203
|
+
}),
|
|
3204
|
+
),
|
|
3205
|
+
).annotate({
|
|
3206
|
+
identifier: "ListPackXdslVoipLineOptionHardwaresRequest",
|
|
3207
|
+
}) as any as S.Schema<ListPackXdslVoipLineOptionHardwaresRequest>;
|
|
3208
|
+
|
|
3209
|
+
/** Hardware for VoIP line */
|
|
3210
|
+
export interface PackXdslVoIPHardware {
|
|
3211
|
+
deposit?: OrderPrice | null;
|
|
3212
|
+
fees?: OrderPrice | null;
|
|
3213
|
+
image?: string | null;
|
|
3214
|
+
label?: string;
|
|
3215
|
+
max?: number | null;
|
|
3216
|
+
name?: string;
|
|
3217
|
+
needShipping?: boolean;
|
|
3218
|
+
url?: string | null;
|
|
3219
|
+
}
|
|
3220
|
+
export const PackXdslVoIPHardware = /*@__PURE__*/ S.suspend(() =>
|
|
3221
|
+
S.Struct({
|
|
3222
|
+
deposit: S.optional(S.NullOr(OrderPrice)),
|
|
3223
|
+
fees: S.optional(S.NullOr(OrderPrice)),
|
|
3224
|
+
image: S.optional(S.NullOr(S.String)),
|
|
3225
|
+
label: S.optional(S.String),
|
|
3226
|
+
max: S.optional(S.NullOr(S.Number)),
|
|
3227
|
+
name: S.optional(S.String),
|
|
3228
|
+
needShipping: S.optional(S.Boolean),
|
|
3229
|
+
url: S.optional(S.NullOr(S.String)),
|
|
3230
|
+
}),
|
|
3231
|
+
).annotate({
|
|
3232
|
+
identifier: "PackXdslVoIPHardware",
|
|
3233
|
+
}) as any as S.Schema<PackXdslVoIPHardware>;
|
|
3234
|
+
|
|
3235
|
+
export type ListPackXdslVoipLineOptionHardwaresResponseBodyList =
|
|
3236
|
+
Array<PackXdslVoIPHardware>;
|
|
3237
|
+
export const ListPackXdslVoipLineOptionHardwaresResponseBodyList =
|
|
3238
|
+
/*@__PURE__*/ S.Array(
|
|
3239
|
+
PackXdslVoIPHardware,
|
|
3240
|
+
) as any as S.Schema<ListPackXdslVoipLineOptionHardwaresResponseBodyList>;
|
|
3241
|
+
|
|
3242
|
+
export type ListPackXdslVoipLineOptionHardwaresResponse =
|
|
3243
|
+
ListPackXdslVoipLineOptionHardwaresResponseBodyList;
|
|
3244
|
+
export const ListPackXdslVoipLineOptionHardwaresResponse =
|
|
3245
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3246
|
+
ListPackXdslVoipLineOptionHardwaresResponseBodyList.pipe(
|
|
3247
|
+
T.RawResponseRoot(),
|
|
3248
|
+
),
|
|
3249
|
+
).annotate({
|
|
3250
|
+
identifier: "ListPackXdslVoipLineOptionHardwaresResponse",
|
|
3251
|
+
}) as any as S.Schema<ListPackXdslVoipLineOptionHardwaresResponse>;
|
|
3252
|
+
|
|
3253
|
+
export interface ListPackXdslVoipLineOptionShippingAddressesRequest {
|
|
3254
|
+
/** The internal name of your pack */
|
|
3255
|
+
packName: string;
|
|
3256
|
+
}
|
|
3257
|
+
export const ListPackXdslVoipLineOptionShippingAddressesRequest =
|
|
3258
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3259
|
+
S.Struct({
|
|
3260
|
+
packName: S.String.pipe(T.Label()),
|
|
3261
|
+
}).pipe(
|
|
3262
|
+
T.Http({
|
|
3263
|
+
method: "GET",
|
|
3264
|
+
uri: "/pack/xdsl/{packName}/voipLine/options/shippingAddresses",
|
|
3265
|
+
code: 200,
|
|
3266
|
+
}),
|
|
3267
|
+
),
|
|
3268
|
+
).annotate({
|
|
3269
|
+
identifier: "ListPackXdslVoipLineOptionShippingAddressesRequest",
|
|
3270
|
+
}) as any as S.Schema<ListPackXdslVoipLineOptionShippingAddressesRequest>;
|
|
3271
|
+
|
|
3272
|
+
export type ListPackXdslVoipLineOptionShippingAddressesResponseBodyList =
|
|
3273
|
+
Array<PackXdslShippingAddress>;
|
|
3274
|
+
export const ListPackXdslVoipLineOptionShippingAddressesResponseBodyList =
|
|
3275
|
+
/*@__PURE__*/ S.Array(
|
|
3276
|
+
PackXdslShippingAddress,
|
|
3277
|
+
) as any as S.Schema<ListPackXdslVoipLineOptionShippingAddressesResponseBodyList>;
|
|
3278
|
+
|
|
3279
|
+
export type ListPackXdslVoipLineOptionShippingAddressesResponse =
|
|
3280
|
+
ListPackXdslVoipLineOptionShippingAddressesResponseBodyList;
|
|
3281
|
+
export const ListPackXdslVoipLineOptionShippingAddressesResponse =
|
|
3282
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
3283
|
+
ListPackXdslVoipLineOptionShippingAddressesResponseBodyList.pipe(
|
|
3284
|
+
T.RawResponseRoot(),
|
|
3285
|
+
),
|
|
3286
|
+
).annotate({
|
|
3287
|
+
identifier: "ListPackXdslVoipLineOptionShippingAddressesResponse",
|
|
3288
|
+
}) as any as S.Schema<ListPackXdslVoipLineOptionShippingAddressesResponse>;
|
|
3289
|
+
|
|
3290
|
+
export interface ListPackXdslVoipLineServicesRequest {
|
|
3291
|
+
/** The internal name of your pack */
|
|
3292
|
+
packName: string;
|
|
3293
|
+
}
|
|
3294
|
+
export const ListPackXdslVoipLineServicesRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3295
|
+
S.Struct({
|
|
3296
|
+
packName: S.String.pipe(T.Label()),
|
|
3297
|
+
}).pipe(
|
|
3298
|
+
T.Http({
|
|
3299
|
+
method: "GET",
|
|
3300
|
+
uri: "/pack/xdsl/{packName}/voipLine/services",
|
|
3301
|
+
code: 200,
|
|
3302
|
+
}),
|
|
3303
|
+
),
|
|
3304
|
+
).annotate({
|
|
3305
|
+
identifier: "ListPackXdslVoipLineServicesRequest",
|
|
3306
|
+
}) as any as S.Schema<ListPackXdslVoipLineServicesRequest>;
|
|
3307
|
+
|
|
3308
|
+
export type ListPackXdslVoipLineServicesResponseBodyList = Array<string>;
|
|
3309
|
+
export const ListPackXdslVoipLineServicesResponseBodyList =
|
|
3310
|
+
/*@__PURE__*/ S.Array(
|
|
3311
|
+
S.String,
|
|
3312
|
+
) as any as S.Schema<ListPackXdslVoipLineServicesResponseBodyList>;
|
|
3313
|
+
|
|
3314
|
+
export type ListPackXdslVoipLineServicesResponse =
|
|
3315
|
+
ListPackXdslVoipLineServicesResponseBodyList;
|
|
3316
|
+
export const ListPackXdslVoipLineServicesResponse = /*@__PURE__*/ S.suspend(
|
|
3317
|
+
() => ListPackXdslVoipLineServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3318
|
+
).annotate({
|
|
3319
|
+
identifier: "ListPackXdslVoipLineServicesResponse",
|
|
3320
|
+
}) as any as S.Schema<ListPackXdslVoipLineServicesResponse>;
|
|
3321
|
+
|
|
3322
|
+
export interface ListPackXdslXdslAccessServicesRequest {
|
|
3323
|
+
/** The internal name of your pack */
|
|
3324
|
+
packName: string;
|
|
3325
|
+
}
|
|
3326
|
+
export const ListPackXdslXdslAccessServicesRequest = /*@__PURE__*/ S.suspend(
|
|
3327
|
+
() =>
|
|
3328
|
+
S.Struct({
|
|
3329
|
+
packName: S.String.pipe(T.Label()),
|
|
3330
|
+
}).pipe(
|
|
3331
|
+
T.Http({
|
|
3332
|
+
method: "GET",
|
|
3333
|
+
uri: "/pack/xdsl/{packName}/xdslAccess/services",
|
|
3334
|
+
code: 200,
|
|
3335
|
+
}),
|
|
3336
|
+
),
|
|
3337
|
+
).annotate({
|
|
3338
|
+
identifier: "ListPackXdslXdslAccessServicesRequest",
|
|
3339
|
+
}) as any as S.Schema<ListPackXdslXdslAccessServicesRequest>;
|
|
3340
|
+
|
|
3341
|
+
export type ListPackXdslXdslAccessServicesResponseBodyList = Array<string>;
|
|
3342
|
+
export const ListPackXdslXdslAccessServicesResponseBodyList =
|
|
3343
|
+
/*@__PURE__*/ S.Array(
|
|
3344
|
+
S.String,
|
|
3345
|
+
) as any as S.Schema<ListPackXdslXdslAccessServicesResponseBodyList>;
|
|
3346
|
+
|
|
3347
|
+
export type ListPackXdslXdslAccessServicesResponse =
|
|
3348
|
+
ListPackXdslXdslAccessServicesResponseBodyList;
|
|
3349
|
+
export const ListPackXdslXdslAccessServicesResponse = /*@__PURE__*/ S.suspend(
|
|
3350
|
+
() =>
|
|
3351
|
+
ListPackXdslXdslAccessServicesResponseBodyList.pipe(T.RawResponseRoot()),
|
|
3352
|
+
).annotate({
|
|
3353
|
+
identifier: "ListPackXdslXdslAccessServicesResponse",
|
|
3354
|
+
}) as any as S.Schema<ListPackXdslXdslAccessServicesResponse>;
|
|
3355
|
+
|
|
3356
|
+
/** Installation type, for fiber only */
|
|
3357
|
+
export type ConnectivityEligibilityInstallationTypeEnum =
|
|
3358
|
+
| "activate"
|
|
3359
|
+
| "activate_undefined"
|
|
3360
|
+
| "create"
|
|
3361
|
+
| "multiOtp";
|
|
3362
|
+
export const ConnectivityEligibilityInstallationTypeEnum =
|
|
3363
|
+
/*@__PURE__*/ S.String;
|
|
3364
|
+
|
|
3365
|
+
/** Represents a time slot for a meeting */
|
|
3366
|
+
export interface XdslEligibilityMeetingSlot {
|
|
3367
|
+
/** The end of the time slot */
|
|
3368
|
+
endDate?: string;
|
|
3369
|
+
/** Represent a meeting id for a fiber collect operator */
|
|
3370
|
+
slotId?: string | null;
|
|
3371
|
+
/** The beginning of the time slot */
|
|
3372
|
+
startDate?: string;
|
|
3373
|
+
/** An opaque string that represents an intervention unit */
|
|
3374
|
+
uiCode?: string;
|
|
3375
|
+
}
|
|
3376
|
+
export const XdslEligibilityMeetingSlot = /*@__PURE__*/ S.suspend(() =>
|
|
3377
|
+
S.Struct({
|
|
3378
|
+
endDate: S.optional(S.String),
|
|
3379
|
+
slotId: S.optional(S.NullOr(S.String)),
|
|
3380
|
+
startDate: S.optional(S.String),
|
|
3381
|
+
uiCode: S.optional(S.String),
|
|
3382
|
+
}),
|
|
3383
|
+
).annotate({
|
|
3384
|
+
identifier: "XdslEligibilityMeetingSlot",
|
|
3385
|
+
}) as any as S.Schema<XdslEligibilityMeetingSlot>;
|
|
3386
|
+
|
|
3387
|
+
/** Parameters to book a time slot for a meeting */
|
|
3388
|
+
export interface XdslEligibilityBookMeetingSlot {
|
|
3389
|
+
/** Whether or not to book a fake meeting slots (if no slots are available) */
|
|
3390
|
+
fakeMeeting?: boolean;
|
|
3391
|
+
/** The time slot to book, null if fakeMeeting is true */
|
|
3392
|
+
meetingSlot?: XdslEligibilityMeetingSlot | null;
|
|
3393
|
+
/** The name of the customer */
|
|
3394
|
+
name?: string | null;
|
|
3395
|
+
}
|
|
3396
|
+
export const XdslEligibilityBookMeetingSlot = /*@__PURE__*/ S.suspend(() =>
|
|
3397
|
+
S.Struct({
|
|
3398
|
+
fakeMeeting: S.optional(S.Boolean),
|
|
3399
|
+
meetingSlot: S.optional(S.NullOr(XdslEligibilityMeetingSlot)),
|
|
3400
|
+
name: S.optional(S.NullOr(S.String)),
|
|
3401
|
+
}),
|
|
3402
|
+
).annotate({
|
|
3403
|
+
identifier: "XdslEligibilityBookMeetingSlot",
|
|
3404
|
+
}) as any as S.Schema<XdslEligibilityBookMeetingSlot>;
|
|
3405
|
+
|
|
3406
|
+
/** modem type */
|
|
3407
|
+
export type PackXdslModemOptionEnum = "no" | "recycled" | "yes";
|
|
3408
|
+
export const PackXdslModemOptionEnum = /*@__PURE__*/ S.String;
|
|
3409
|
+
|
|
3410
|
+
/** Options wanted in the new offer */
|
|
3411
|
+
export type MigratePackXdslMigrationRequestOptionsList =
|
|
3412
|
+
Array<PackXdslMigrationOfferOption>;
|
|
3413
|
+
export const MigratePackXdslMigrationRequestOptionsList = /*@__PURE__*/ S.Array(
|
|
3414
|
+
PackXdslMigrationOfferOption,
|
|
3415
|
+
) as any as S.Schema<MigratePackXdslMigrationRequestOptionsList>;
|
|
3416
|
+
|
|
3417
|
+
/** Option of Offer */
|
|
3418
|
+
export interface PackXdslMigrationOfferServiceToDelete {
|
|
3419
|
+
/** Type of the service */
|
|
3420
|
+
service?: string;
|
|
3421
|
+
/** Type of the service to delete */
|
|
3422
|
+
type?: PackXdslServiceNameEnum | (string & {});
|
|
3423
|
+
}
|
|
3424
|
+
export const PackXdslMigrationOfferServiceToDelete = /*@__PURE__*/ S.suspend(
|
|
3425
|
+
() =>
|
|
3426
|
+
S.Struct({
|
|
3427
|
+
service: S.optional(S.String),
|
|
3428
|
+
type: S.optional(PackXdslServiceNameEnum),
|
|
3429
|
+
}),
|
|
3430
|
+
).annotate({
|
|
3431
|
+
identifier: "PackXdslMigrationOfferServiceToDelete",
|
|
3432
|
+
}) as any as S.Schema<PackXdslMigrationOfferServiceToDelete>;
|
|
3433
|
+
|
|
3434
|
+
/** List of domains of services to delete if needed */
|
|
3435
|
+
export type MigratePackXdslMigrationRequestSubServicesToDeleteList =
|
|
3436
|
+
Array<PackXdslMigrationOfferServiceToDelete>;
|
|
3437
|
+
export const MigratePackXdslMigrationRequestSubServicesToDeleteList =
|
|
3438
|
+
/*@__PURE__*/ S.Array(
|
|
3439
|
+
PackXdslMigrationOfferServiceToDelete,
|
|
3440
|
+
) as any as S.Schema<MigratePackXdslMigrationRequestSubServicesToDeleteList>;
|
|
3441
|
+
|
|
3442
|
+
/** Option of Offer */
|
|
3443
|
+
export interface PackXdslMigrationOfferServiceToKeep {
|
|
3444
|
+
/** Type of the service */
|
|
3445
|
+
service?: string;
|
|
3446
|
+
/** Type of the service to keep */
|
|
3447
|
+
type?: PackXdslServiceNameEnum | (string & {});
|
|
3448
|
+
}
|
|
3449
|
+
export const PackXdslMigrationOfferServiceToKeep = /*@__PURE__*/ S.suspend(() =>
|
|
3450
|
+
S.Struct({
|
|
3451
|
+
service: S.optional(S.String),
|
|
3452
|
+
type: S.optional(PackXdslServiceNameEnum),
|
|
3453
|
+
}),
|
|
3454
|
+
).annotate({
|
|
3455
|
+
identifier: "PackXdslMigrationOfferServiceToKeep",
|
|
3456
|
+
}) as any as S.Schema<PackXdslMigrationOfferServiceToKeep>;
|
|
3457
|
+
|
|
3458
|
+
/** List of domains of services to keep if needed */
|
|
3459
|
+
export type MigratePackXdslMigrationRequestSubServicesToKeepList =
|
|
3460
|
+
Array<PackXdslMigrationOfferServiceToKeep>;
|
|
3461
|
+
export const MigratePackXdslMigrationRequestSubServicesToKeepList =
|
|
3462
|
+
/*@__PURE__*/ S.Array(
|
|
3463
|
+
PackXdslMigrationOfferServiceToKeep,
|
|
3464
|
+
) as any as S.Schema<MigratePackXdslMigrationRequestSubServicesToKeepList>;
|
|
3465
|
+
|
|
3466
|
+
export interface MigratePackXdslMigrationRequest {
|
|
3467
|
+
/** The internal name of your pack */
|
|
3468
|
+
packName: string;
|
|
3469
|
+
/** You explicitly accept the terms of the contract corresponding to your new offer */
|
|
3470
|
+
acceptContracts: boolean;
|
|
3471
|
+
/** Building reference for FTTH and FTTE offers */
|
|
3472
|
+
buildingReference?: string;
|
|
3473
|
+
/** Customer contact phone number */
|
|
3474
|
+
contactPhone?: string;
|
|
3475
|
+
/** Number of months of re-engagement */
|
|
3476
|
+
engageMonths?: number;
|
|
3477
|
+
/** Floor identifier, "_NA_" if no identifier is available */
|
|
3478
|
+
floor?: string;
|
|
3479
|
+
/** Installation type, only on FTTH technology */
|
|
3480
|
+
installationType?:
|
|
3481
|
+
| ConnectivityEligibilityInstallationTypeEnum
|
|
3482
|
+
| (string & {});
|
|
3483
|
+
/** Data to book a meeting slot */
|
|
3484
|
+
meeting?: XdslEligibilityBookMeetingSlot;
|
|
3485
|
+
/** Modem choose */
|
|
3486
|
+
modem: PackXdslModemOptionEnum | (string & {});
|
|
3487
|
+
/** Mondial relay ID if a shipping is needed */
|
|
3488
|
+
mondialRelayId?: number;
|
|
3489
|
+
/** nicShipping if a shipping is needed */
|
|
3490
|
+
nicShipping?: string;
|
|
3491
|
+
/** Reference of the new offer */
|
|
3492
|
+
offerName: string;
|
|
3493
|
+
/** Allows you to personalize a delivery address for the ONT. If empty, the address will be that of the installation */
|
|
3494
|
+
ontShippingContact?: string;
|
|
3495
|
+
/** Options wanted in the new offer */
|
|
3496
|
+
options?: MigratePackXdslMigrationRequestOptionsList;
|
|
3497
|
+
/** Do you have an Optical Termination Point (Point de Terminaison Optique) at home ? */
|
|
3498
|
+
otp?: boolean;
|
|
3499
|
+
/** Reference of the Optical Termination Point */
|
|
3500
|
+
otpReference?: string;
|
|
3501
|
+
/** Product code, an unique identifier to designate the chosen offer */
|
|
3502
|
+
productCode?: string;
|
|
3503
|
+
/** Stair identifier, "_NA_" if no identifier is available */
|
|
3504
|
+
stair?: string;
|
|
3505
|
+
/** List of domains of services to delete if needed */
|
|
3506
|
+
subServicesToDelete?: MigratePackXdslMigrationRequestSubServicesToDeleteList;
|
|
3507
|
+
/** List of domains of services to keep if needed */
|
|
3508
|
+
subServicesToKeep?: MigratePackXdslMigrationRequestSubServicesToKeepList;
|
|
3509
|
+
}
|
|
3510
|
+
export const MigratePackXdslMigrationRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3511
|
+
S.Struct({
|
|
3512
|
+
packName: S.String.pipe(T.Label()),
|
|
3513
|
+
acceptContracts: S.Boolean,
|
|
3514
|
+
buildingReference: S.optional(S.String),
|
|
3515
|
+
contactPhone: S.optional(S.String),
|
|
3516
|
+
engageMonths: S.optional(S.Number),
|
|
3517
|
+
floor: S.optional(S.String),
|
|
3518
|
+
installationType: S.optional(ConnectivityEligibilityInstallationTypeEnum),
|
|
3519
|
+
meeting: S.optional(XdslEligibilityBookMeetingSlot),
|
|
3520
|
+
modem: PackXdslModemOptionEnum,
|
|
3521
|
+
mondialRelayId: S.optional(S.Number),
|
|
3522
|
+
nicShipping: S.optional(S.String),
|
|
3523
|
+
offerName: S.String,
|
|
3524
|
+
ontShippingContact: S.optional(S.String),
|
|
3525
|
+
options: S.optional(MigratePackXdslMigrationRequestOptionsList),
|
|
3526
|
+
otp: S.optional(S.Boolean),
|
|
3527
|
+
otpReference: S.optional(S.String),
|
|
3528
|
+
productCode: S.optional(S.String),
|
|
3529
|
+
stair: S.optional(S.String),
|
|
3530
|
+
subServicesToDelete: S.optional(
|
|
3531
|
+
MigratePackXdslMigrationRequestSubServicesToDeleteList,
|
|
3532
|
+
),
|
|
3533
|
+
subServicesToKeep: S.optional(
|
|
3534
|
+
MigratePackXdslMigrationRequestSubServicesToKeepList,
|
|
3535
|
+
),
|
|
3536
|
+
}).pipe(
|
|
3537
|
+
T.Http({
|
|
3538
|
+
method: "POST",
|
|
3539
|
+
uri: "/pack/xdsl/{packName}/migration/migrate",
|
|
3540
|
+
code: 200,
|
|
3541
|
+
}),
|
|
3542
|
+
),
|
|
3543
|
+
).annotate({
|
|
3544
|
+
identifier: "MigratePackXdslMigrationRequest",
|
|
3545
|
+
}) as any as S.Schema<MigratePackXdslMigrationRequest>;
|
|
3546
|
+
|
|
3547
|
+
/** Options wanted in the new offer */
|
|
3548
|
+
export type MovePackXdslAddressMoveOfferRequestOptionsList =
|
|
3549
|
+
Array<PackXdslMigrationOfferOption>;
|
|
3550
|
+
export const MovePackXdslAddressMoveOfferRequestOptionsList =
|
|
3551
|
+
/*@__PURE__*/ S.Array(
|
|
3552
|
+
PackXdslMigrationOfferOption,
|
|
3553
|
+
) as any as S.Schema<MovePackXdslAddressMoveOfferRequestOptionsList>;
|
|
3554
|
+
|
|
3555
|
+
/** List of domains of services to delete if needed */
|
|
3556
|
+
export type MovePackXdslAddressMoveOfferRequestSubServicesToDeleteList =
|
|
3557
|
+
Array<PackXdslMigrationOfferServiceToDelete>;
|
|
3558
|
+
export const MovePackXdslAddressMoveOfferRequestSubServicesToDeleteList =
|
|
3559
|
+
/*@__PURE__*/ S.Array(
|
|
3560
|
+
PackXdslMigrationOfferServiceToDelete,
|
|
3561
|
+
) as any as S.Schema<MovePackXdslAddressMoveOfferRequestSubServicesToDeleteList>;
|
|
3562
|
+
|
|
3563
|
+
/** List of domains of services to keep if needed */
|
|
3564
|
+
export type MovePackXdslAddressMoveOfferRequestSubServicesToKeepList =
|
|
3565
|
+
Array<PackXdslMigrationOfferServiceToKeep>;
|
|
3566
|
+
export const MovePackXdslAddressMoveOfferRequestSubServicesToKeepList =
|
|
3567
|
+
/*@__PURE__*/ S.Array(
|
|
3568
|
+
PackXdslMigrationOfferServiceToKeep,
|
|
3569
|
+
) as any as S.Schema<MovePackXdslAddressMoveOfferRequestSubServicesToKeepList>;
|
|
3570
|
+
|
|
3571
|
+
export interface MovePackXdslAddressMoveOfferRequest {
|
|
3572
|
+
/** The internal name of your pack */
|
|
3573
|
+
packName: string;
|
|
3574
|
+
/** You explicitly accept the terms of the contract corresponding to your new offer */
|
|
3575
|
+
acceptContracts: boolean;
|
|
3576
|
+
/** Building identifier, "null" if no identifier is available */
|
|
3577
|
+
building?: string;
|
|
3578
|
+
/** Building reference for FTTH and FTTE offers */
|
|
3579
|
+
buildingReference?: string;
|
|
3580
|
+
/** Customer contact phone number */
|
|
3581
|
+
contactPhone?: string;
|
|
3582
|
+
/** Door identifier, "null" if no identifier is available */
|
|
3583
|
+
door?: string;
|
|
3584
|
+
/** Eligibility reference */
|
|
3585
|
+
eligibilityReference: string;
|
|
3586
|
+
/** Number of months of re-engagement */
|
|
3587
|
+
engageMonths?: number;
|
|
3588
|
+
/** Floor identifier, "null" if no identifier is available */
|
|
3589
|
+
floor?: string;
|
|
3590
|
+
/** Installation type, only on FTTH technology */
|
|
3591
|
+
installationType?:
|
|
3592
|
+
| ConnectivityEligibilityInstallationTypeEnum
|
|
3593
|
+
| (string & {});
|
|
3594
|
+
/** Whether or not the current number should be kept */
|
|
3595
|
+
keepCurrentNumber: boolean;
|
|
3596
|
+
/** Data to book a meeting slot */
|
|
3597
|
+
meeting?: XdslEligibilityBookMeetingSlot;
|
|
3598
|
+
/** Modem choose */
|
|
3599
|
+
modem: PackXdslModemOptionEnum | (string & {});
|
|
3600
|
+
/** Mondial relay ID if a shipping is needed */
|
|
3601
|
+
mondialRelayId?: number;
|
|
3602
|
+
/** The date when the customer is no longer at the current address. Must be between now and +30 days. The default date will be the one in 30 days from now. */
|
|
3603
|
+
moveOutDate?: string;
|
|
3604
|
+
/** nicShipping if a shipping is needed */
|
|
3605
|
+
nicShipping?: string;
|
|
3606
|
+
/** Reference of the new offer */
|
|
3607
|
+
offerName: string;
|
|
3608
|
+
/** Allows you to personalize a delivery address for the ONT. If empty, the address will be that of the installation */
|
|
3609
|
+
ontShippingContact?: string;
|
|
3610
|
+
/** Options wanted in the new offer */
|
|
3611
|
+
options?: MovePackXdslAddressMoveOfferRequestOptionsList;
|
|
3612
|
+
/** Do you have an Optical Termination Point (Point de Terminaison Optique) at home ? */
|
|
3613
|
+
otp: boolean;
|
|
3614
|
+
/** Reference of the Optical Termination Point */
|
|
3615
|
+
otpReference?: string;
|
|
3616
|
+
/** Product code, an unique identifier for the product from addressMove/offer */
|
|
3617
|
+
productCode: string;
|
|
3618
|
+
/** Residence identifier, "null" if no identifier is available */
|
|
3619
|
+
residence?: string;
|
|
3620
|
+
/** Stair identifier, "null" if no identifier is available */
|
|
3621
|
+
stair?: string;
|
|
3622
|
+
/** List of domains of services to delete if needed */
|
|
3623
|
+
subServicesToDelete?: MovePackXdslAddressMoveOfferRequestSubServicesToDeleteList;
|
|
3624
|
+
/** List of domains of services to keep if needed */
|
|
3625
|
+
subServicesToKeep?: MovePackXdslAddressMoveOfferRequestSubServicesToKeepList;
|
|
3626
|
+
}
|
|
3627
|
+
export const MovePackXdslAddressMoveOfferRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3628
|
+
S.Struct({
|
|
3629
|
+
packName: S.String.pipe(T.Label()),
|
|
3630
|
+
acceptContracts: S.Boolean,
|
|
3631
|
+
building: S.optional(S.String),
|
|
3632
|
+
buildingReference: S.optional(S.String),
|
|
3633
|
+
contactPhone: S.optional(S.String),
|
|
3634
|
+
door: S.optional(S.String),
|
|
3635
|
+
eligibilityReference: S.String,
|
|
3636
|
+
engageMonths: S.optional(S.Number),
|
|
3637
|
+
floor: S.optional(S.String),
|
|
3638
|
+
installationType: S.optional(ConnectivityEligibilityInstallationTypeEnum),
|
|
3639
|
+
keepCurrentNumber: S.Boolean,
|
|
3640
|
+
meeting: S.optional(XdslEligibilityBookMeetingSlot),
|
|
3641
|
+
modem: PackXdslModemOptionEnum,
|
|
3642
|
+
mondialRelayId: S.optional(S.Number),
|
|
3643
|
+
moveOutDate: S.optional(S.String),
|
|
3644
|
+
nicShipping: S.optional(S.String),
|
|
3645
|
+
offerName: S.String,
|
|
3646
|
+
ontShippingContact: S.optional(S.String),
|
|
3647
|
+
options: S.optional(MovePackXdslAddressMoveOfferRequestOptionsList),
|
|
3648
|
+
otp: S.Boolean,
|
|
3649
|
+
otpReference: S.optional(S.String),
|
|
3650
|
+
productCode: S.String,
|
|
3651
|
+
residence: S.optional(S.String),
|
|
3652
|
+
stair: S.optional(S.String),
|
|
3653
|
+
subServicesToDelete: S.optional(
|
|
3654
|
+
MovePackXdslAddressMoveOfferRequestSubServicesToDeleteList,
|
|
3655
|
+
),
|
|
3656
|
+
subServicesToKeep: S.optional(
|
|
3657
|
+
MovePackXdslAddressMoveOfferRequestSubServicesToKeepList,
|
|
3658
|
+
),
|
|
3659
|
+
}).pipe(
|
|
3660
|
+
T.Http({
|
|
3661
|
+
method: "POST",
|
|
3662
|
+
uri: "/pack/xdsl/{packName}/addressMove/moveOffer",
|
|
3663
|
+
code: 200,
|
|
3664
|
+
}),
|
|
3665
|
+
),
|
|
3666
|
+
).annotate({
|
|
3667
|
+
identifier: "MovePackXdslAddressMoveOfferRequest",
|
|
3668
|
+
}) as any as S.Schema<MovePackXdslAddressMoveOfferRequest>;
|
|
3669
|
+
|
|
3670
|
+
/** Async task */
|
|
3671
|
+
export interface PackXdslAsyncTaskLong {
|
|
3672
|
+
/** Error */
|
|
3673
|
+
error?: string | null;
|
|
3674
|
+
result?: number;
|
|
3675
|
+
/** Status of the call */
|
|
3676
|
+
status?: PackXdslAsyncTaskStatusEnum;
|
|
3677
|
+
}
|
|
3678
|
+
export const PackXdslAsyncTaskLong = /*@__PURE__*/ S.suspend(() =>
|
|
3679
|
+
S.Struct({
|
|
3680
|
+
error: S.optional(S.NullOr(S.String)),
|
|
3681
|
+
result: S.optional(S.Number),
|
|
3682
|
+
status: S.optional(PackXdslAsyncTaskStatusEnum),
|
|
3683
|
+
}),
|
|
3684
|
+
).annotate({
|
|
3685
|
+
identifier: "PackXdslAsyncTaskLong",
|
|
3686
|
+
}) as any as S.Schema<PackXdslAsyncTaskLong>;
|
|
3687
|
+
|
|
3688
|
+
export interface PutPackXdslRequest {
|
|
3689
|
+
/** The internal name of your pack */
|
|
3690
|
+
packName: string;
|
|
3691
|
+
/** Customer pack description */
|
|
3692
|
+
description?: string | null;
|
|
3693
|
+
}
|
|
3694
|
+
export const PutPackXdslRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3695
|
+
S.Struct({
|
|
3696
|
+
packName: S.String.pipe(T.Label()),
|
|
3697
|
+
description: S.optional(S.NullOr(S.String)),
|
|
3698
|
+
}).pipe(T.Http({ method: "PUT", uri: "/pack/xdsl/{packName}", code: 200 })),
|
|
3699
|
+
).annotate({
|
|
3700
|
+
identifier: "PutPackXdslRequest",
|
|
3701
|
+
}) as any as S.Schema<PutPackXdslRequest>;
|
|
3702
|
+
|
|
3703
|
+
export interface PutPackXdslResponse {}
|
|
3704
|
+
export const PutPackXdslResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3705
|
+
S.Struct({}),
|
|
3706
|
+
).annotate({
|
|
3707
|
+
identifier: "PutPackXdslResponse",
|
|
3708
|
+
}) as any as S.Schema<PutPackXdslResponse>;
|
|
3709
|
+
|
|
3710
|
+
export interface PutPackXdslServiceInfosRequest {
|
|
3711
|
+
/** The internal name of your pack */
|
|
3712
|
+
packName: string;
|
|
3713
|
+
/** Way of handling the renew */
|
|
3714
|
+
renew?: ServiceRenewType | null;
|
|
3715
|
+
}
|
|
3716
|
+
export const PutPackXdslServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
3717
|
+
S.Struct({
|
|
3718
|
+
packName: S.String.pipe(T.Label()),
|
|
3719
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
3720
|
+
}).pipe(
|
|
3721
|
+
T.Http({
|
|
3722
|
+
method: "PUT",
|
|
3723
|
+
uri: "/pack/xdsl/{packName}/serviceInfos",
|
|
3724
|
+
code: 200,
|
|
3725
|
+
}),
|
|
3726
|
+
),
|
|
3727
|
+
).annotate({
|
|
3728
|
+
identifier: "PutPackXdslServiceInfosRequest",
|
|
3729
|
+
}) as any as S.Schema<PutPackXdslServiceInfosRequest>;
|
|
3730
|
+
|
|
3731
|
+
export interface PutPackXdslServiceInfosResponse {}
|
|
3732
|
+
export const PutPackXdslServiceInfosResponse = /*@__PURE__*/ S.suspend(() =>
|
|
3733
|
+
S.Struct({}),
|
|
3734
|
+
).annotate({
|
|
3735
|
+
identifier: "PutPackXdslServiceInfosResponse",
|
|
3736
|
+
}) as any as S.Schema<PutPackXdslServiceInfosResponse>;
|
|
3737
|
+
|
|
3738
|
+
export type CancelPackXdslResiliationError = OvhOpError;
|
|
3739
|
+
/** Cancel the ongoing resiliation */
|
|
3740
|
+
export const cancelPackXdslResiliation: API.OperationMethod<
|
|
3741
|
+
CancelPackXdslResiliationRequest,
|
|
3742
|
+
CancelPackXdslResiliationResponse,
|
|
3743
|
+
CancelPackXdslResiliationError,
|
|
3744
|
+
OvhOpContext
|
|
3745
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3746
|
+
input: CancelPackXdslResiliationRequest,
|
|
3747
|
+
output: CancelPackXdslResiliationResponse,
|
|
3748
|
+
errors: [UnknownOvhError],
|
|
3749
|
+
protocol: OvhProtocol,
|
|
3750
|
+
retry: Retry.Retry,
|
|
3751
|
+
}));
|
|
3752
|
+
|
|
3753
|
+
export type CreatePackXdslAddressMoveOfferError = OvhOpError;
|
|
3754
|
+
/** Get the possibilities of address move offers available */
|
|
3755
|
+
export const createPackXdslAddressMoveOffer: API.OperationMethod<
|
|
3756
|
+
CreatePackXdslAddressMoveOfferRequest,
|
|
3757
|
+
PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse,
|
|
3758
|
+
CreatePackXdslAddressMoveOfferError,
|
|
3759
|
+
OvhOpContext
|
|
3760
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3761
|
+
input: CreatePackXdslAddressMoveOfferRequest,
|
|
3762
|
+
output: PackXdslAsyncTaskPackXdslAddressMoveMoveOfferResponse,
|
|
3763
|
+
errors: [UnknownOvhError],
|
|
3764
|
+
protocol: OvhProtocol,
|
|
3765
|
+
retry: Retry.Retry,
|
|
3766
|
+
}));
|
|
3767
|
+
|
|
3768
|
+
export type CreatePackXdslAddressMoveServicesToDeleteUnpackTermError =
|
|
3769
|
+
OvhOpError;
|
|
3770
|
+
/** Calculate services to delete with unpack terms for new offer and options */
|
|
3771
|
+
export const createPackXdslAddressMoveServicesToDeleteUnpackTerm: API.OperationMethod<
|
|
3772
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest,
|
|
3773
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse,
|
|
3774
|
+
CreatePackXdslAddressMoveServicesToDeleteUnpackTermError,
|
|
3775
|
+
OvhOpContext
|
|
3776
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3777
|
+
input: CreatePackXdslAddressMoveServicesToDeleteUnpackTermRequest,
|
|
3778
|
+
output: CreatePackXdslAddressMoveServicesToDeleteUnpackTermResponse,
|
|
3779
|
+
errors: [UnknownOvhError],
|
|
3780
|
+
protocol: OvhProtocol,
|
|
3781
|
+
retry: Retry.Retry,
|
|
3782
|
+
}));
|
|
3783
|
+
|
|
3784
|
+
export type CreatePackXdslChangeContactError = OvhOpError;
|
|
3785
|
+
/** Launch a contact change procedure */
|
|
3786
|
+
export const createPackXdslChangeContact: API.OperationMethod<
|
|
3787
|
+
CreatePackXdslChangeContactRequest,
|
|
3788
|
+
CreatePackXdslChangeContactResponse,
|
|
3789
|
+
CreatePackXdslChangeContactError,
|
|
3790
|
+
OvhOpContext
|
|
3791
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3792
|
+
input: CreatePackXdslChangeContactRequest,
|
|
3793
|
+
output: CreatePackXdslChangeContactResponse,
|
|
3794
|
+
errors: [UnknownOvhError],
|
|
3795
|
+
protocol: OvhProtocol,
|
|
3796
|
+
retry: Retry.Retry,
|
|
3797
|
+
}));
|
|
3798
|
+
|
|
3799
|
+
export type CreatePackXdslDomainServiceError = OvhOpError;
|
|
3800
|
+
/** Activate a domain service */
|
|
3801
|
+
export const createPackXdslDomainService: API.OperationMethod<
|
|
3802
|
+
CreatePackXdslDomainServiceRequest,
|
|
3803
|
+
PackXdslTask,
|
|
3804
|
+
CreatePackXdslDomainServiceError,
|
|
3805
|
+
OvhOpContext
|
|
3806
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3807
|
+
input: CreatePackXdslDomainServiceRequest,
|
|
3808
|
+
output: PackXdslTask,
|
|
3809
|
+
errors: [UnknownOvhError],
|
|
3810
|
+
protocol: OvhProtocol,
|
|
3811
|
+
retry: Retry.Retry,
|
|
3812
|
+
}));
|
|
3813
|
+
|
|
3814
|
+
export type CreatePackXdslEmailProServiceError = OvhOpError;
|
|
3815
|
+
/** Activate an Email Pro service */
|
|
3816
|
+
export const createPackXdslEmailProService: API.OperationMethod<
|
|
3817
|
+
CreatePackXdslEmailProServiceRequest,
|
|
3818
|
+
PackXdslTask,
|
|
3819
|
+
CreatePackXdslEmailProServiceError,
|
|
3820
|
+
OvhOpContext
|
|
3821
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3822
|
+
input: CreatePackXdslEmailProServiceRequest,
|
|
3823
|
+
output: PackXdslTask,
|
|
3824
|
+
errors: [UnknownOvhError],
|
|
3825
|
+
protocol: OvhProtocol,
|
|
3826
|
+
retry: Retry.Retry,
|
|
3827
|
+
}));
|
|
3828
|
+
|
|
3829
|
+
export type CreatePackXdslHostedEmailServiceError = OvhOpError;
|
|
3830
|
+
/** Activate an hosted email service */
|
|
3831
|
+
export const createPackXdslHostedEmailService: API.OperationMethod<
|
|
3832
|
+
CreatePackXdslHostedEmailServiceRequest,
|
|
3833
|
+
PackXdslTask,
|
|
3834
|
+
CreatePackXdslHostedEmailServiceError,
|
|
3835
|
+
OvhOpContext
|
|
3836
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3837
|
+
input: CreatePackXdslHostedEmailServiceRequest,
|
|
3838
|
+
output: PackXdslTask,
|
|
3839
|
+
errors: [UnknownOvhError],
|
|
3840
|
+
protocol: OvhProtocol,
|
|
3841
|
+
retry: Retry.Retry,
|
|
3842
|
+
}));
|
|
3843
|
+
|
|
3844
|
+
export type CreatePackXdslHostedEmailServiceChangePasswordError = OvhOpError;
|
|
3845
|
+
/** Change hosted email account password */
|
|
3846
|
+
export const createPackXdslHostedEmailServiceChangePassword: API.OperationMethod<
|
|
3847
|
+
CreatePackXdslHostedEmailServiceChangePasswordRequest,
|
|
3848
|
+
CreatePackXdslHostedEmailServiceChangePasswordResponse,
|
|
3849
|
+
CreatePackXdslHostedEmailServiceChangePasswordError,
|
|
3850
|
+
OvhOpContext
|
|
3851
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3852
|
+
input: CreatePackXdslHostedEmailServiceChangePasswordRequest,
|
|
3853
|
+
output: CreatePackXdslHostedEmailServiceChangePasswordResponse,
|
|
3854
|
+
errors: [UnknownOvhError],
|
|
3855
|
+
protocol: OvhProtocol,
|
|
3856
|
+
retry: Retry.Retry,
|
|
3857
|
+
}));
|
|
3858
|
+
|
|
3859
|
+
export type CreatePackXdslMigrationOfferError = OvhOpError;
|
|
3860
|
+
/** Get the possibilities of migration offers available */
|
|
3861
|
+
export const createPackXdslMigrationOffer: API.OperationMethod<
|
|
3862
|
+
CreatePackXdslMigrationOfferRequest,
|
|
3863
|
+
PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse,
|
|
3864
|
+
CreatePackXdslMigrationOfferError,
|
|
3865
|
+
OvhOpContext
|
|
3866
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3867
|
+
input: CreatePackXdslMigrationOfferRequest,
|
|
3868
|
+
output: PackXdslAsyncTaskPackXdslMigrationMigrationOfferResponse,
|
|
3869
|
+
errors: [UnknownOvhError],
|
|
3870
|
+
protocol: OvhProtocol,
|
|
3871
|
+
retry: Retry.Retry,
|
|
3872
|
+
}));
|
|
3873
|
+
|
|
3874
|
+
export type CreatePackXdslMigrationServicesToDeleteUnpackTermError = OvhOpError;
|
|
3875
|
+
/** Calculate services to delete with unpack terms for an offer and options */
|
|
3876
|
+
export const createPackXdslMigrationServicesToDeleteUnpackTerm: API.OperationMethod<
|
|
3877
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermRequest,
|
|
3878
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermResponse,
|
|
3879
|
+
CreatePackXdslMigrationServicesToDeleteUnpackTermError,
|
|
3880
|
+
OvhOpContext
|
|
3881
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3882
|
+
input: CreatePackXdslMigrationServicesToDeleteUnpackTermRequest,
|
|
3883
|
+
output: CreatePackXdslMigrationServicesToDeleteUnpackTermResponse,
|
|
3884
|
+
errors: [UnknownOvhError],
|
|
3885
|
+
protocol: OvhProtocol,
|
|
3886
|
+
retry: Retry.Retry,
|
|
3887
|
+
}));
|
|
3888
|
+
|
|
3889
|
+
export type CreatePackXdslResiliateError = OvhOpError;
|
|
3890
|
+
/** Resiliate the pack */
|
|
3891
|
+
export const createPackXdslResiliate: API.OperationMethod<
|
|
3892
|
+
CreatePackXdslResiliateRequest,
|
|
3893
|
+
PackXdslResiliationFollowUpDetail,
|
|
3894
|
+
CreatePackXdslResiliateError,
|
|
3895
|
+
OvhOpContext
|
|
3896
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3897
|
+
input: CreatePackXdslResiliateRequest,
|
|
3898
|
+
output: PackXdslResiliationFollowUpDetail,
|
|
3899
|
+
errors: [UnknownOvhError],
|
|
3900
|
+
protocol: OvhProtocol,
|
|
3901
|
+
retry: Retry.Retry,
|
|
3902
|
+
}));
|
|
3903
|
+
|
|
3904
|
+
export type CreatePackXdslVoipEcofaxServiceError = OvhOpError;
|
|
3905
|
+
/** Activate a voicefax service */
|
|
3906
|
+
export const createPackXdslVoipEcofaxService: API.OperationMethod<
|
|
3907
|
+
CreatePackXdslVoipEcofaxServiceRequest,
|
|
3908
|
+
PackXdslTask,
|
|
3909
|
+
CreatePackXdslVoipEcofaxServiceError,
|
|
3910
|
+
OvhOpContext
|
|
3911
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3912
|
+
input: CreatePackXdslVoipEcofaxServiceRequest,
|
|
3913
|
+
output: PackXdslTask,
|
|
3914
|
+
errors: [UnknownOvhError],
|
|
3915
|
+
protocol: OvhProtocol,
|
|
3916
|
+
retry: Retry.Retry,
|
|
3917
|
+
}));
|
|
3918
|
+
|
|
3919
|
+
export type CreatePackXdslVoipLineOptionCustomShippingAddressError = OvhOpError;
|
|
3920
|
+
/** Create a new shippingId to be used for voipLine service creation */
|
|
3921
|
+
export const createPackXdslVoipLineOptionCustomShippingAddress: API.OperationMethod<
|
|
3922
|
+
CreatePackXdslVoipLineOptionCustomShippingAddressRequest,
|
|
3923
|
+
CreatePackXdslVoipLineOptionCustomShippingAddressResponse,
|
|
3924
|
+
CreatePackXdslVoipLineOptionCustomShippingAddressError,
|
|
3925
|
+
OvhOpContext
|
|
3926
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3927
|
+
input: CreatePackXdslVoipLineOptionCustomShippingAddressRequest,
|
|
3928
|
+
output: CreatePackXdslVoipLineOptionCustomShippingAddressResponse,
|
|
3929
|
+
errors: [UnknownOvhError],
|
|
3930
|
+
protocol: OvhProtocol,
|
|
3931
|
+
retry: Retry.Retry,
|
|
3932
|
+
}));
|
|
3933
|
+
|
|
3934
|
+
export type CreatePackXdslVoipLineServiceError = OvhOpError;
|
|
3935
|
+
/** Activate a voip line service */
|
|
3936
|
+
export const createPackXdslVoipLineService: API.OperationMethod<
|
|
3937
|
+
CreatePackXdslVoipLineServiceRequest,
|
|
3938
|
+
PackXdslVoIPLineOrder,
|
|
3939
|
+
CreatePackXdslVoipLineServiceError,
|
|
3940
|
+
OvhOpContext
|
|
3941
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3942
|
+
input: CreatePackXdslVoipLineServiceRequest,
|
|
3943
|
+
output: PackXdslVoIPLineOrder,
|
|
3944
|
+
errors: [UnknownOvhError],
|
|
3945
|
+
protocol: OvhProtocol,
|
|
3946
|
+
retry: Retry.Retry,
|
|
3947
|
+
}));
|
|
3948
|
+
|
|
3949
|
+
export type DeletePackXdslHostedEmailServiceError = OvhOpError;
|
|
3950
|
+
/** Delete hosted email account */
|
|
3951
|
+
export const deletePackXdslHostedEmailService: API.OperationMethod<
|
|
3952
|
+
DeletePackXdslHostedEmailServiceRequest,
|
|
3953
|
+
DeletePackXdslHostedEmailServiceResponse,
|
|
3954
|
+
DeletePackXdslHostedEmailServiceError,
|
|
3955
|
+
OvhOpContext
|
|
3956
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3957
|
+
input: DeletePackXdslHostedEmailServiceRequest,
|
|
3958
|
+
output: DeletePackXdslHostedEmailServiceResponse,
|
|
3959
|
+
errors: [UnknownOvhError],
|
|
3960
|
+
protocol: OvhProtocol,
|
|
3961
|
+
retry: Retry.Retry,
|
|
3962
|
+
}));
|
|
3963
|
+
|
|
3964
|
+
export type GeneratePackXdslPromotionCodeError = OvhOpError;
|
|
3965
|
+
/** Creates a task to generate a new promotion code */
|
|
3966
|
+
export const generatePackXdslPromotionCode: API.OperationMethod<
|
|
3967
|
+
GeneratePackXdslPromotionCodeRequest,
|
|
3968
|
+
PackXdslTask,
|
|
3969
|
+
GeneratePackXdslPromotionCodeError,
|
|
3970
|
+
OvhOpContext
|
|
3971
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3972
|
+
input: GeneratePackXdslPromotionCodeRequest,
|
|
3973
|
+
output: PackXdslTask,
|
|
3974
|
+
errors: [UnknownOvhError],
|
|
3975
|
+
protocol: OvhProtocol,
|
|
3976
|
+
retry: Retry.Retry,
|
|
3977
|
+
}));
|
|
3978
|
+
|
|
3979
|
+
export type GetPackXdslError = OvhOpError;
|
|
3980
|
+
/** Get this object properties */
|
|
3981
|
+
export const getPackXdsl: API.OperationMethod<
|
|
3982
|
+
GetPackXdslRequest,
|
|
3983
|
+
PackXdslPackAdslWithIAM,
|
|
3984
|
+
GetPackXdslError,
|
|
3985
|
+
OvhOpContext
|
|
3986
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
3987
|
+
input: GetPackXdslRequest,
|
|
3988
|
+
output: PackXdslPackAdslWithIAM,
|
|
3989
|
+
errors: [UnknownOvhError],
|
|
3990
|
+
protocol: OvhProtocol,
|
|
3991
|
+
retry: Retry.Retry,
|
|
3992
|
+
}));
|
|
3993
|
+
|
|
3994
|
+
export type GetPackXdslCanCancelResiliationError = OvhOpError;
|
|
3995
|
+
/** Check if the resiliation can be cancelled */
|
|
3996
|
+
export const getPackXdslCanCancelResiliation: API.OperationMethod<
|
|
3997
|
+
GetPackXdslCanCancelResiliationRequest,
|
|
3998
|
+
GetPackXdslCanCancelResiliationResponse,
|
|
3999
|
+
GetPackXdslCanCancelResiliationError,
|
|
4000
|
+
OvhOpContext
|
|
4001
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4002
|
+
input: GetPackXdslCanCancelResiliationRequest,
|
|
4003
|
+
output: GetPackXdslCanCancelResiliationResponse,
|
|
4004
|
+
errors: [UnknownOvhError],
|
|
4005
|
+
protocol: OvhProtocol,
|
|
4006
|
+
retry: Retry.Retry,
|
|
4007
|
+
}));
|
|
4008
|
+
|
|
4009
|
+
export type GetPackXdslContactOwnerError = OvhOpError;
|
|
4010
|
+
/** Get contact infos about the owner */
|
|
4011
|
+
export const getPackXdslContactOwner: API.OperationMethod<
|
|
4012
|
+
GetPackXdslContactOwnerRequest,
|
|
4013
|
+
PackXdslContactInfos,
|
|
4014
|
+
GetPackXdslContactOwnerError,
|
|
4015
|
+
OvhOpContext
|
|
4016
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4017
|
+
input: GetPackXdslContactOwnerRequest,
|
|
4018
|
+
output: PackXdslContactInfos,
|
|
4019
|
+
errors: [UnknownOvhError],
|
|
4020
|
+
protocol: OvhProtocol,
|
|
4021
|
+
retry: Retry.Retry,
|
|
4022
|
+
}));
|
|
4023
|
+
|
|
4024
|
+
export type GetPackXdslEmailProOptionIsEmailAvailableError = OvhOpError;
|
|
4025
|
+
/** Check if the given email address is available for an Email Pro activation */
|
|
4026
|
+
export const getPackXdslEmailProOptionIsEmailAvailable: API.OperationMethod<
|
|
4027
|
+
GetPackXdslEmailProOptionIsEmailAvailableRequest,
|
|
4028
|
+
GetPackXdslEmailProOptionIsEmailAvailableResponse,
|
|
4029
|
+
GetPackXdslEmailProOptionIsEmailAvailableError,
|
|
4030
|
+
OvhOpContext
|
|
4031
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4032
|
+
input: GetPackXdslEmailProOptionIsEmailAvailableRequest,
|
|
4033
|
+
output: GetPackXdslEmailProOptionIsEmailAvailableResponse,
|
|
4034
|
+
errors: [UnknownOvhError],
|
|
4035
|
+
protocol: OvhProtocol,
|
|
4036
|
+
retry: Retry.Retry,
|
|
4037
|
+
}));
|
|
4038
|
+
|
|
4039
|
+
export type GetPackXdslExchangeAccountServiceError = OvhOpError;
|
|
4040
|
+
/** Get this object properties */
|
|
4041
|
+
export const getPackXdslExchangeAccountService: API.OperationMethod<
|
|
4042
|
+
GetPackXdslExchangeAccountServiceRequest,
|
|
4043
|
+
PackXdslExchangeAccountService,
|
|
4044
|
+
GetPackXdslExchangeAccountServiceError,
|
|
4045
|
+
OvhOpContext
|
|
4046
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4047
|
+
input: GetPackXdslExchangeAccountServiceRequest,
|
|
4048
|
+
output: PackXdslExchangeAccountService,
|
|
4049
|
+
errors: [UnknownOvhError],
|
|
4050
|
+
protocol: OvhProtocol,
|
|
4051
|
+
retry: Retry.Retry,
|
|
4052
|
+
}));
|
|
4053
|
+
|
|
4054
|
+
export type GetPackXdslExchangeIndividualOptionIsEmailAvailableError =
|
|
4055
|
+
OvhOpError;
|
|
4056
|
+
/** Check if the email address is available for service creation */
|
|
4057
|
+
export const getPackXdslExchangeIndividualOptionIsEmailAvailable: API.OperationMethod<
|
|
4058
|
+
GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest,
|
|
4059
|
+
GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse,
|
|
4060
|
+
GetPackXdslExchangeIndividualOptionIsEmailAvailableError,
|
|
4061
|
+
OvhOpContext
|
|
4062
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4063
|
+
input: GetPackXdslExchangeIndividualOptionIsEmailAvailableRequest,
|
|
4064
|
+
output: GetPackXdslExchangeIndividualOptionIsEmailAvailableResponse,
|
|
4065
|
+
errors: [UnknownOvhError],
|
|
4066
|
+
protocol: OvhProtocol,
|
|
4067
|
+
retry: Retry.Retry,
|
|
4068
|
+
}));
|
|
4069
|
+
|
|
4070
|
+
export type GetPackXdslHostedEmailServiceError = OvhOpError;
|
|
4071
|
+
/** Get this object properties */
|
|
4072
|
+
export const getPackXdslHostedEmailService: API.OperationMethod<
|
|
4073
|
+
GetPackXdslHostedEmailServiceRequest,
|
|
4074
|
+
PackXdslHostedEmailService,
|
|
4075
|
+
GetPackXdslHostedEmailServiceError,
|
|
4076
|
+
OvhOpContext
|
|
4077
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4078
|
+
input: GetPackXdslHostedEmailServiceRequest,
|
|
4079
|
+
output: PackXdslHostedEmailService,
|
|
4080
|
+
errors: [UnknownOvhError],
|
|
4081
|
+
protocol: OvhProtocol,
|
|
4082
|
+
retry: Retry.Retry,
|
|
4083
|
+
}));
|
|
4084
|
+
|
|
4085
|
+
export type GetPackXdslHostedEmailServiceAccountError = OvhOpError;
|
|
4086
|
+
/** Get hosted email account informations */
|
|
4087
|
+
export const getPackXdslHostedEmailServiceAccount: API.OperationMethod<
|
|
4088
|
+
GetPackXdslHostedEmailServiceAccountRequest,
|
|
4089
|
+
PackXdslHostedEmailAccount,
|
|
4090
|
+
GetPackXdslHostedEmailServiceAccountError,
|
|
4091
|
+
OvhOpContext
|
|
4092
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4093
|
+
input: GetPackXdslHostedEmailServiceAccountRequest,
|
|
4094
|
+
output: PackXdslHostedEmailAccount,
|
|
4095
|
+
errors: [UnknownOvhError],
|
|
4096
|
+
protocol: OvhProtocol,
|
|
4097
|
+
retry: Retry.Retry,
|
|
4098
|
+
}));
|
|
4099
|
+
|
|
4100
|
+
export type GetPackXdslResiliationFollowUpError = OvhOpError;
|
|
4101
|
+
/** Get information about the ongoing resiliation */
|
|
4102
|
+
export const getPackXdslResiliationFollowUp: API.OperationMethod<
|
|
4103
|
+
GetPackXdslResiliationFollowUpRequest,
|
|
4104
|
+
PackXdslResiliationFollowUpDetail,
|
|
4105
|
+
GetPackXdslResiliationFollowUpError,
|
|
4106
|
+
OvhOpContext
|
|
4107
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4108
|
+
input: GetPackXdslResiliationFollowUpRequest,
|
|
4109
|
+
output: PackXdslResiliationFollowUpDetail,
|
|
4110
|
+
errors: [UnknownOvhError],
|
|
4111
|
+
protocol: OvhProtocol,
|
|
4112
|
+
retry: Retry.Retry,
|
|
4113
|
+
}));
|
|
4114
|
+
|
|
4115
|
+
export type GetPackXdslResiliationTermsError = OvhOpError;
|
|
4116
|
+
/** Get resiliation terms */
|
|
4117
|
+
export const getPackXdslResiliationTerms: API.OperationMethod<
|
|
4118
|
+
GetPackXdslResiliationTermsRequest,
|
|
4119
|
+
PackXdslResiliationTerms,
|
|
4120
|
+
GetPackXdslResiliationTermsError,
|
|
4121
|
+
OvhOpContext
|
|
4122
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4123
|
+
input: GetPackXdslResiliationTermsRequest,
|
|
4124
|
+
output: PackXdslResiliationTerms,
|
|
4125
|
+
errors: [UnknownOvhError],
|
|
4126
|
+
protocol: OvhProtocol,
|
|
4127
|
+
retry: Retry.Retry,
|
|
4128
|
+
}));
|
|
4129
|
+
|
|
4130
|
+
export type GetPackXdslServiceInfosError = OvhOpError;
|
|
4131
|
+
/** Get service information */
|
|
4132
|
+
export const getPackXdslServiceInfos: API.OperationMethod<
|
|
4133
|
+
GetPackXdslServiceInfosRequest,
|
|
4134
|
+
ServicesService,
|
|
4135
|
+
GetPackXdslServiceInfosError,
|
|
4136
|
+
OvhOpContext
|
|
4137
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4138
|
+
input: GetPackXdslServiceInfosRequest,
|
|
4139
|
+
output: ServicesService,
|
|
4140
|
+
errors: [UnknownOvhError],
|
|
4141
|
+
protocol: OvhProtocol,
|
|
4142
|
+
retry: Retry.Retry,
|
|
4143
|
+
}));
|
|
4144
|
+
|
|
4145
|
+
export type GetPackXdslSubServiceError = OvhOpError;
|
|
4146
|
+
/** Get this object properties */
|
|
4147
|
+
export const getPackXdslSubService: API.OperationMethod<
|
|
4148
|
+
GetPackXdslSubServiceRequest,
|
|
4149
|
+
PackXdslService,
|
|
4150
|
+
GetPackXdslSubServiceError,
|
|
4151
|
+
OvhOpContext
|
|
4152
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4153
|
+
input: GetPackXdslSubServiceRequest,
|
|
4154
|
+
output: PackXdslService,
|
|
4155
|
+
errors: [UnknownOvhError],
|
|
4156
|
+
protocol: OvhProtocol,
|
|
4157
|
+
retry: Retry.Retry,
|
|
4158
|
+
}));
|
|
4159
|
+
|
|
4160
|
+
export type GetPackXdslSubServiceKeepServiceTermsError = OvhOpError;
|
|
4161
|
+
/** Give the condition to unpack service from pack */
|
|
4162
|
+
export const getPackXdslSubServiceKeepServiceTerms: API.OperationMethod<
|
|
4163
|
+
GetPackXdslSubServiceKeepServiceTermsRequest,
|
|
4164
|
+
PackXdslUnpackTerms,
|
|
4165
|
+
GetPackXdslSubServiceKeepServiceTermsError,
|
|
4166
|
+
OvhOpContext
|
|
4167
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4168
|
+
input: GetPackXdslSubServiceKeepServiceTermsRequest,
|
|
4169
|
+
output: PackXdslUnpackTerms,
|
|
4170
|
+
errors: [UnknownOvhError],
|
|
4171
|
+
protocol: OvhProtocol,
|
|
4172
|
+
retry: Retry.Retry,
|
|
4173
|
+
}));
|
|
4174
|
+
|
|
4175
|
+
export type GetPackXdslTaskError = OvhOpError;
|
|
4176
|
+
/** Get this object properties */
|
|
4177
|
+
export const getPackXdslTask: API.OperationMethod<
|
|
4178
|
+
GetPackXdslTaskRequest,
|
|
4179
|
+
PackXdslTask,
|
|
4180
|
+
GetPackXdslTaskError,
|
|
4181
|
+
OvhOpContext
|
|
4182
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4183
|
+
input: GetPackXdslTaskRequest,
|
|
4184
|
+
output: PackXdslTask,
|
|
4185
|
+
errors: [UnknownOvhError],
|
|
4186
|
+
protocol: OvhProtocol,
|
|
4187
|
+
retry: Retry.Retry,
|
|
4188
|
+
}));
|
|
4189
|
+
|
|
4190
|
+
export type GetPackXdslVoipLineServiceError = OvhOpError;
|
|
4191
|
+
/** Get this object properties */
|
|
4192
|
+
export const getPackXdslVoipLineService: API.OperationMethod<
|
|
4193
|
+
GetPackXdslVoipLineServiceRequest,
|
|
4194
|
+
PackXdslVoipLineService,
|
|
4195
|
+
GetPackXdslVoipLineServiceError,
|
|
4196
|
+
OvhOpContext
|
|
4197
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4198
|
+
input: GetPackXdslVoipLineServiceRequest,
|
|
4199
|
+
output: PackXdslVoipLineService,
|
|
4200
|
+
errors: [UnknownOvhError],
|
|
4201
|
+
protocol: OvhProtocol,
|
|
4202
|
+
retry: Retry.Retry,
|
|
4203
|
+
}));
|
|
4204
|
+
|
|
4205
|
+
export type ListPackXdslError = OvhOpError;
|
|
4206
|
+
/** List available services */
|
|
4207
|
+
export const listPackXdsl: API.OperationMethod<
|
|
4208
|
+
ListPackXdslRequest,
|
|
4209
|
+
ListPackXdslResponse,
|
|
4210
|
+
ListPackXdslError,
|
|
4211
|
+
OvhOpContext
|
|
4212
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4213
|
+
input: ListPackXdslRequest,
|
|
4214
|
+
output: ListPackXdslResponse,
|
|
4215
|
+
errors: [UnknownOvhError],
|
|
4216
|
+
protocol: OvhProtocol,
|
|
4217
|
+
retry: Retry.Retry,
|
|
4218
|
+
}));
|
|
4219
|
+
|
|
4220
|
+
export type ListPackXdslDomainOptionTldsError = OvhOpError;
|
|
4221
|
+
/** Get the available tlds for domain order */
|
|
4222
|
+
export const listPackXdslDomainOptionTlds: API.OperationMethod<
|
|
4223
|
+
ListPackXdslDomainOptionTldsRequest,
|
|
4224
|
+
ListPackXdslDomainOptionTldsResponse,
|
|
4225
|
+
ListPackXdslDomainOptionTldsError,
|
|
4226
|
+
OvhOpContext
|
|
4227
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4228
|
+
input: ListPackXdslDomainOptionTldsRequest,
|
|
4229
|
+
output: ListPackXdslDomainOptionTldsResponse,
|
|
4230
|
+
errors: [UnknownOvhError],
|
|
4231
|
+
protocol: OvhProtocol,
|
|
4232
|
+
retry: Retry.Retry,
|
|
4233
|
+
}));
|
|
4234
|
+
|
|
4235
|
+
export type ListPackXdslDomainServicesError = OvhOpError;
|
|
4236
|
+
/** Domain services */
|
|
4237
|
+
export const listPackXdslDomainServices: API.OperationMethod<
|
|
4238
|
+
ListPackXdslDomainServicesRequest,
|
|
4239
|
+
ListPackXdslDomainServicesResponse,
|
|
4240
|
+
ListPackXdslDomainServicesError,
|
|
4241
|
+
OvhOpContext
|
|
4242
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4243
|
+
input: ListPackXdslDomainServicesRequest,
|
|
4244
|
+
output: ListPackXdslDomainServicesResponse,
|
|
4245
|
+
errors: [UnknownOvhError],
|
|
4246
|
+
protocol: OvhProtocol,
|
|
4247
|
+
retry: Retry.Retry,
|
|
4248
|
+
}));
|
|
4249
|
+
|
|
4250
|
+
export type ListPackXdslEmailProOptionDomainsError = OvhOpError;
|
|
4251
|
+
/** List the available domains for the Email Pro service */
|
|
4252
|
+
export const listPackXdslEmailProOptionDomains: API.OperationMethod<
|
|
4253
|
+
ListPackXdslEmailProOptionDomainsRequest,
|
|
4254
|
+
ListPackXdslEmailProOptionDomainsResponse,
|
|
4255
|
+
ListPackXdslEmailProOptionDomainsError,
|
|
4256
|
+
OvhOpContext
|
|
4257
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4258
|
+
input: ListPackXdslEmailProOptionDomainsRequest,
|
|
4259
|
+
output: ListPackXdslEmailProOptionDomainsResponse,
|
|
4260
|
+
errors: [UnknownOvhError],
|
|
4261
|
+
protocol: OvhProtocol,
|
|
4262
|
+
retry: Retry.Retry,
|
|
4263
|
+
}));
|
|
4264
|
+
|
|
4265
|
+
export type ListPackXdslEmailProServicesError = OvhOpError;
|
|
4266
|
+
/** List the Email Pro services */
|
|
4267
|
+
export const listPackXdslEmailProServices: API.OperationMethod<
|
|
4268
|
+
ListPackXdslEmailProServicesRequest,
|
|
4269
|
+
ListPackXdslEmailProServicesResponse,
|
|
4270
|
+
ListPackXdslEmailProServicesError,
|
|
4271
|
+
OvhOpContext
|
|
4272
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4273
|
+
input: ListPackXdslEmailProServicesRequest,
|
|
4274
|
+
output: ListPackXdslEmailProServicesResponse,
|
|
4275
|
+
errors: [UnknownOvhError],
|
|
4276
|
+
protocol: OvhProtocol,
|
|
4277
|
+
retry: Retry.Retry,
|
|
4278
|
+
}));
|
|
4279
|
+
|
|
4280
|
+
export type ListPackXdslExchangeAccountServicesError = OvhOpError;
|
|
4281
|
+
/** Exchange 2013 services */
|
|
4282
|
+
export const listPackXdslExchangeAccountServices: API.OperationMethod<
|
|
4283
|
+
ListPackXdslExchangeAccountServicesRequest,
|
|
4284
|
+
ListPackXdslExchangeAccountServicesResponse,
|
|
4285
|
+
ListPackXdslExchangeAccountServicesError,
|
|
4286
|
+
OvhOpContext
|
|
4287
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4288
|
+
input: ListPackXdslExchangeAccountServicesRequest,
|
|
4289
|
+
output: ListPackXdslExchangeAccountServicesResponse,
|
|
4290
|
+
errors: [UnknownOvhError],
|
|
4291
|
+
protocol: OvhProtocol,
|
|
4292
|
+
retry: Retry.Retry,
|
|
4293
|
+
}));
|
|
4294
|
+
|
|
4295
|
+
export type ListPackXdslExchangeIndividualOptionDomainsError = OvhOpError;
|
|
4296
|
+
/** Get the available domains */
|
|
4297
|
+
export const listPackXdslExchangeIndividualOptionDomains: API.OperationMethod<
|
|
4298
|
+
ListPackXdslExchangeIndividualOptionDomainsRequest,
|
|
4299
|
+
ListPackXdslExchangeIndividualOptionDomainsResponse,
|
|
4300
|
+
ListPackXdslExchangeIndividualOptionDomainsError,
|
|
4301
|
+
OvhOpContext
|
|
4302
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4303
|
+
input: ListPackXdslExchangeIndividualOptionDomainsRequest,
|
|
4304
|
+
output: ListPackXdslExchangeIndividualOptionDomainsResponse,
|
|
4305
|
+
errors: [UnknownOvhError],
|
|
4306
|
+
protocol: OvhProtocol,
|
|
4307
|
+
retry: Retry.Retry,
|
|
4308
|
+
}));
|
|
4309
|
+
|
|
4310
|
+
export type ListPackXdslExchangeOrganizationServicesError = OvhOpError;
|
|
4311
|
+
/** Exchange 2013 organization services */
|
|
4312
|
+
export const listPackXdslExchangeOrganizationServices: API.OperationMethod<
|
|
4313
|
+
ListPackXdslExchangeOrganizationServicesRequest,
|
|
4314
|
+
ListPackXdslExchangeOrganizationServicesResponse,
|
|
4315
|
+
ListPackXdslExchangeOrganizationServicesError,
|
|
4316
|
+
OvhOpContext
|
|
4317
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4318
|
+
input: ListPackXdslExchangeOrganizationServicesRequest,
|
|
4319
|
+
output: ListPackXdslExchangeOrganizationServicesResponse,
|
|
4320
|
+
errors: [UnknownOvhError],
|
|
4321
|
+
protocol: OvhProtocol,
|
|
4322
|
+
retry: Retry.Retry,
|
|
4323
|
+
}));
|
|
4324
|
+
|
|
4325
|
+
export type ListPackXdslHostedEmailOptionDomainsError = OvhOpError;
|
|
4326
|
+
/** Get the hostedemail available domains */
|
|
4327
|
+
export const listPackXdslHostedEmailOptionDomains: API.OperationMethod<
|
|
4328
|
+
ListPackXdslHostedEmailOptionDomainsRequest,
|
|
4329
|
+
ListPackXdslHostedEmailOptionDomainsResponse,
|
|
4330
|
+
ListPackXdslHostedEmailOptionDomainsError,
|
|
4331
|
+
OvhOpContext
|
|
4332
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4333
|
+
input: ListPackXdslHostedEmailOptionDomainsRequest,
|
|
4334
|
+
output: ListPackXdslHostedEmailOptionDomainsResponse,
|
|
4335
|
+
errors: [UnknownOvhError],
|
|
4336
|
+
protocol: OvhProtocol,
|
|
4337
|
+
retry: Retry.Retry,
|
|
4338
|
+
}));
|
|
4339
|
+
|
|
4340
|
+
export type ListPackXdslHostedEmailServiceConfigurationError = OvhOpError;
|
|
4341
|
+
/** Get hosted email configuration informations */
|
|
4342
|
+
export const listPackXdslHostedEmailServiceConfiguration: API.OperationMethod<
|
|
4343
|
+
ListPackXdslHostedEmailServiceConfigurationRequest,
|
|
4344
|
+
PackXdslHostedEmailConfiguration,
|
|
4345
|
+
ListPackXdslHostedEmailServiceConfigurationError,
|
|
4346
|
+
OvhOpContext
|
|
4347
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4348
|
+
input: ListPackXdslHostedEmailServiceConfigurationRequest,
|
|
4349
|
+
output: PackXdslHostedEmailConfiguration,
|
|
4350
|
+
errors: [UnknownOvhError],
|
|
4351
|
+
protocol: OvhProtocol,
|
|
4352
|
+
retry: Retry.Retry,
|
|
4353
|
+
}));
|
|
4354
|
+
|
|
4355
|
+
export type ListPackXdslHostedEmailServicesError = OvhOpError;
|
|
4356
|
+
/** Hosted email services */
|
|
4357
|
+
export const listPackXdslHostedEmailServices: API.OperationMethod<
|
|
4358
|
+
ListPackXdslHostedEmailServicesRequest,
|
|
4359
|
+
ListPackXdslHostedEmailServicesResponse,
|
|
4360
|
+
ListPackXdslHostedEmailServicesError,
|
|
4361
|
+
OvhOpContext
|
|
4362
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4363
|
+
input: ListPackXdslHostedEmailServicesRequest,
|
|
4364
|
+
output: ListPackXdslHostedEmailServicesResponse,
|
|
4365
|
+
errors: [UnknownOvhError],
|
|
4366
|
+
protocol: OvhProtocol,
|
|
4367
|
+
retry: Retry.Retry,
|
|
4368
|
+
}));
|
|
4369
|
+
|
|
4370
|
+
export type ListPackXdslOrderFollowUpError = OvhOpError;
|
|
4371
|
+
/** Returns the list of steps and their status that will be executed to deliver the order */
|
|
4372
|
+
export const listPackXdslOrderFollowUp: API.OperationMethod<
|
|
4373
|
+
ListPackXdslOrderFollowUpRequest,
|
|
4374
|
+
ListPackXdslOrderFollowUpResponse,
|
|
4375
|
+
ListPackXdslOrderFollowUpError,
|
|
4376
|
+
OvhOpContext
|
|
4377
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4378
|
+
input: ListPackXdslOrderFollowUpRequest,
|
|
4379
|
+
output: ListPackXdslOrderFollowUpResponse,
|
|
4380
|
+
errors: [UnknownOvhError],
|
|
4381
|
+
protocol: OvhProtocol,
|
|
4382
|
+
retry: Retry.Retry,
|
|
4383
|
+
}));
|
|
4384
|
+
|
|
4385
|
+
export type ListPackXdslPromotionCodeCapabilitiesError = OvhOpError;
|
|
4386
|
+
/** Get informations about the promotion code generation */
|
|
4387
|
+
export const listPackXdslPromotionCodeCapabilities: API.OperationMethod<
|
|
4388
|
+
ListPackXdslPromotionCodeCapabilitiesRequest,
|
|
4389
|
+
PackXdslPromotionCodeCapabilities,
|
|
4390
|
+
ListPackXdslPromotionCodeCapabilitiesError,
|
|
4391
|
+
OvhOpContext
|
|
4392
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4393
|
+
input: ListPackXdslPromotionCodeCapabilitiesRequest,
|
|
4394
|
+
output: PackXdslPromotionCodeCapabilities,
|
|
4395
|
+
errors: [UnknownOvhError],
|
|
4396
|
+
protocol: OvhProtocol,
|
|
4397
|
+
retry: Retry.Retry,
|
|
4398
|
+
}));
|
|
4399
|
+
|
|
4400
|
+
export type ListPackXdslSearchError = OvhOpError;
|
|
4401
|
+
/** Get the list of pack linked to the pattern */
|
|
4402
|
+
export const listPackXdslSearch: API.OperationMethod<
|
|
4403
|
+
ListPackXdslSearchRequest,
|
|
4404
|
+
ListPackXdslSearchResponse,
|
|
4405
|
+
ListPackXdslSearchError,
|
|
4406
|
+
OvhOpContext
|
|
4407
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4408
|
+
input: ListPackXdslSearchRequest,
|
|
4409
|
+
output: ListPackXdslSearchResponse,
|
|
4410
|
+
errors: [UnknownOvhError],
|
|
4411
|
+
protocol: OvhProtocol,
|
|
4412
|
+
retry: Retry.Retry,
|
|
4413
|
+
}));
|
|
4414
|
+
|
|
4415
|
+
export type ListPackXdslServicesError = OvhOpError;
|
|
4416
|
+
/** Informations about the services included in the pack */
|
|
4417
|
+
export const listPackXdslServices: API.OperationMethod<
|
|
4418
|
+
ListPackXdslServicesRequest,
|
|
4419
|
+
ListPackXdslServicesResponse,
|
|
4420
|
+
ListPackXdslServicesError,
|
|
4421
|
+
OvhOpContext
|
|
4422
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4423
|
+
input: ListPackXdslServicesRequest,
|
|
4424
|
+
output: ListPackXdslServicesResponse,
|
|
4425
|
+
errors: [UnknownOvhError],
|
|
4426
|
+
protocol: OvhProtocol,
|
|
4427
|
+
retry: Retry.Retry,
|
|
4428
|
+
}));
|
|
4429
|
+
|
|
4430
|
+
export type ListPackXdslShippingAddressesError = OvhOpError;
|
|
4431
|
+
/** Allowed shipping addresses given a context */
|
|
4432
|
+
export const listPackXdslShippingAddresses: API.OperationMethod<
|
|
4433
|
+
ListPackXdslShippingAddressesRequest,
|
|
4434
|
+
ListPackXdslShippingAddressesResponse,
|
|
4435
|
+
ListPackXdslShippingAddressesError,
|
|
4436
|
+
OvhOpContext
|
|
4437
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4438
|
+
input: ListPackXdslShippingAddressesRequest,
|
|
4439
|
+
output: ListPackXdslShippingAddressesResponse,
|
|
4440
|
+
errors: [UnknownOvhError],
|
|
4441
|
+
protocol: OvhProtocol,
|
|
4442
|
+
retry: Retry.Retry,
|
|
4443
|
+
}));
|
|
4444
|
+
|
|
4445
|
+
export type ListPackXdslSubServicesError = OvhOpError;
|
|
4446
|
+
/** List services contained in the pack */
|
|
4447
|
+
export const listPackXdslSubServices: API.OperationMethod<
|
|
4448
|
+
ListPackXdslSubServicesRequest,
|
|
4449
|
+
ListPackXdslSubServicesResponse,
|
|
4450
|
+
ListPackXdslSubServicesError,
|
|
4451
|
+
OvhOpContext
|
|
4452
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4453
|
+
input: ListPackXdslSubServicesRequest,
|
|
4454
|
+
output: ListPackXdslSubServicesResponse,
|
|
4455
|
+
errors: [UnknownOvhError],
|
|
4456
|
+
protocol: OvhProtocol,
|
|
4457
|
+
retry: Retry.Retry,
|
|
4458
|
+
}));
|
|
4459
|
+
|
|
4460
|
+
export type ListPackXdslTasksError = OvhOpError;
|
|
4461
|
+
/** Tasks scheduled for this pack */
|
|
4462
|
+
export const listPackXdslTasks: API.OperationMethod<
|
|
4463
|
+
ListPackXdslTasksRequest,
|
|
4464
|
+
ListPackXdslTasksResponse,
|
|
4465
|
+
ListPackXdslTasksError,
|
|
4466
|
+
OvhOpContext
|
|
4467
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4468
|
+
input: ListPackXdslTasksRequest,
|
|
4469
|
+
output: ListPackXdslTasksResponse,
|
|
4470
|
+
errors: [UnknownOvhError],
|
|
4471
|
+
protocol: OvhProtocol,
|
|
4472
|
+
retry: Retry.Retry,
|
|
4473
|
+
}));
|
|
4474
|
+
|
|
4475
|
+
export type ListPackXdslVoipBillingAccountServicesError = OvhOpError;
|
|
4476
|
+
/** VOIP billing accounts */
|
|
4477
|
+
export const listPackXdslVoipBillingAccountServices: API.OperationMethod<
|
|
4478
|
+
ListPackXdslVoipBillingAccountServicesRequest,
|
|
4479
|
+
ListPackXdslVoipBillingAccountServicesResponse,
|
|
4480
|
+
ListPackXdslVoipBillingAccountServicesError,
|
|
4481
|
+
OvhOpContext
|
|
4482
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4483
|
+
input: ListPackXdslVoipBillingAccountServicesRequest,
|
|
4484
|
+
output: ListPackXdslVoipBillingAccountServicesResponse,
|
|
4485
|
+
errors: [UnknownOvhError],
|
|
4486
|
+
protocol: OvhProtocol,
|
|
4487
|
+
retry: Retry.Retry,
|
|
4488
|
+
}));
|
|
4489
|
+
|
|
4490
|
+
export type ListPackXdslVoipEcofaxServicesError = OvhOpError;
|
|
4491
|
+
/** VOIP ecofax service */
|
|
4492
|
+
export const listPackXdslVoipEcofaxServices: API.OperationMethod<
|
|
4493
|
+
ListPackXdslVoipEcofaxServicesRequest,
|
|
4494
|
+
ListPackXdslVoipEcofaxServicesResponse,
|
|
4495
|
+
ListPackXdslVoipEcofaxServicesError,
|
|
4496
|
+
OvhOpContext
|
|
4497
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4498
|
+
input: ListPackXdslVoipEcofaxServicesRequest,
|
|
4499
|
+
output: ListPackXdslVoipEcofaxServicesResponse,
|
|
4500
|
+
errors: [UnknownOvhError],
|
|
4501
|
+
protocol: OvhProtocol,
|
|
4502
|
+
retry: Retry.Retry,
|
|
4503
|
+
}));
|
|
4504
|
+
|
|
4505
|
+
export type ListPackXdslVoipLineOptionHardwaresError = OvhOpError;
|
|
4506
|
+
/** Get available hardwares */
|
|
4507
|
+
export const listPackXdslVoipLineOptionHardwares: API.OperationMethod<
|
|
4508
|
+
ListPackXdslVoipLineOptionHardwaresRequest,
|
|
4509
|
+
ListPackXdslVoipLineOptionHardwaresResponse,
|
|
4510
|
+
ListPackXdslVoipLineOptionHardwaresError,
|
|
4511
|
+
OvhOpContext
|
|
4512
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4513
|
+
input: ListPackXdslVoipLineOptionHardwaresRequest,
|
|
4514
|
+
output: ListPackXdslVoipLineOptionHardwaresResponse,
|
|
4515
|
+
errors: [UnknownOvhError],
|
|
4516
|
+
protocol: OvhProtocol,
|
|
4517
|
+
retry: Retry.Retry,
|
|
4518
|
+
}));
|
|
4519
|
+
|
|
4520
|
+
export type ListPackXdslVoipLineOptionShippingAddressesError = OvhOpError;
|
|
4521
|
+
/** Get available shipping addresses */
|
|
4522
|
+
export const listPackXdslVoipLineOptionShippingAddresses: API.OperationMethod<
|
|
4523
|
+
ListPackXdslVoipLineOptionShippingAddressesRequest,
|
|
4524
|
+
ListPackXdslVoipLineOptionShippingAddressesResponse,
|
|
4525
|
+
ListPackXdslVoipLineOptionShippingAddressesError,
|
|
4526
|
+
OvhOpContext
|
|
4527
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4528
|
+
input: ListPackXdslVoipLineOptionShippingAddressesRequest,
|
|
4529
|
+
output: ListPackXdslVoipLineOptionShippingAddressesResponse,
|
|
4530
|
+
errors: [UnknownOvhError],
|
|
4531
|
+
protocol: OvhProtocol,
|
|
4532
|
+
retry: Retry.Retry,
|
|
4533
|
+
}));
|
|
4534
|
+
|
|
4535
|
+
export type ListPackXdslVoipLineServicesError = OvhOpError;
|
|
4536
|
+
/** VOIP line services */
|
|
4537
|
+
export const listPackXdslVoipLineServices: API.OperationMethod<
|
|
4538
|
+
ListPackXdslVoipLineServicesRequest,
|
|
4539
|
+
ListPackXdslVoipLineServicesResponse,
|
|
4540
|
+
ListPackXdslVoipLineServicesError,
|
|
4541
|
+
OvhOpContext
|
|
4542
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4543
|
+
input: ListPackXdslVoipLineServicesRequest,
|
|
4544
|
+
output: ListPackXdslVoipLineServicesResponse,
|
|
4545
|
+
errors: [UnknownOvhError],
|
|
4546
|
+
protocol: OvhProtocol,
|
|
4547
|
+
retry: Retry.Retry,
|
|
4548
|
+
}));
|
|
4549
|
+
|
|
4550
|
+
export type ListPackXdslXdslAccessServicesError = OvhOpError;
|
|
4551
|
+
/** xDSL access services */
|
|
4552
|
+
export const listPackXdslXdslAccessServices: API.OperationMethod<
|
|
4553
|
+
ListPackXdslXdslAccessServicesRequest,
|
|
4554
|
+
ListPackXdslXdslAccessServicesResponse,
|
|
4555
|
+
ListPackXdslXdslAccessServicesError,
|
|
4556
|
+
OvhOpContext
|
|
4557
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4558
|
+
input: ListPackXdslXdslAccessServicesRequest,
|
|
4559
|
+
output: ListPackXdslXdslAccessServicesResponse,
|
|
4560
|
+
errors: [UnknownOvhError],
|
|
4561
|
+
protocol: OvhProtocol,
|
|
4562
|
+
retry: Retry.Retry,
|
|
4563
|
+
}));
|
|
4564
|
+
|
|
4565
|
+
export type MigratePackXdslMigrationError = OvhOpError;
|
|
4566
|
+
/** Migrate to the selected offer */
|
|
4567
|
+
export const migratePackXdslMigration: API.OperationMethod<
|
|
4568
|
+
MigratePackXdslMigrationRequest,
|
|
4569
|
+
PackXdslTask,
|
|
4570
|
+
MigratePackXdslMigrationError,
|
|
4571
|
+
OvhOpContext
|
|
4572
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4573
|
+
input: MigratePackXdslMigrationRequest,
|
|
4574
|
+
output: PackXdslTask,
|
|
4575
|
+
errors: [UnknownOvhError],
|
|
4576
|
+
protocol: OvhProtocol,
|
|
4577
|
+
retry: Retry.Retry,
|
|
4578
|
+
}));
|
|
4579
|
+
|
|
4580
|
+
export type MovePackXdslAddressMoveOfferError = OvhOpError;
|
|
4581
|
+
/** Move the access to another address */
|
|
4582
|
+
export const movePackXdslAddressMoveOffer: API.OperationMethod<
|
|
4583
|
+
MovePackXdslAddressMoveOfferRequest,
|
|
4584
|
+
PackXdslAsyncTaskLong,
|
|
4585
|
+
MovePackXdslAddressMoveOfferError,
|
|
4586
|
+
OvhOpContext
|
|
4587
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4588
|
+
input: MovePackXdslAddressMoveOfferRequest,
|
|
4589
|
+
output: PackXdslAsyncTaskLong,
|
|
4590
|
+
errors: [UnknownOvhError],
|
|
4591
|
+
protocol: OvhProtocol,
|
|
4592
|
+
retry: Retry.Retry,
|
|
4593
|
+
}));
|
|
4594
|
+
|
|
4595
|
+
export type PutPackXdslError = OvhOpError;
|
|
4596
|
+
/** Alter this object properties */
|
|
4597
|
+
export const putPackXdsl: API.OperationMethod<
|
|
4598
|
+
PutPackXdslRequest,
|
|
4599
|
+
PutPackXdslResponse,
|
|
4600
|
+
PutPackXdslError,
|
|
4601
|
+
OvhOpContext
|
|
4602
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4603
|
+
input: PutPackXdslRequest,
|
|
4604
|
+
output: PutPackXdslResponse,
|
|
4605
|
+
errors: [UnknownOvhError],
|
|
4606
|
+
protocol: OvhProtocol,
|
|
4607
|
+
retry: Retry.Retry,
|
|
4608
|
+
}));
|
|
4609
|
+
|
|
4610
|
+
export type PutPackXdslServiceInfosError = OvhOpError;
|
|
4611
|
+
/** Update service information */
|
|
4612
|
+
export const putPackXdslServiceInfos: API.OperationMethod<
|
|
4613
|
+
PutPackXdslServiceInfosRequest,
|
|
4614
|
+
PutPackXdslServiceInfosResponse,
|
|
4615
|
+
PutPackXdslServiceInfosError,
|
|
4616
|
+
OvhOpContext
|
|
4617
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
4618
|
+
input: PutPackXdslServiceInfosRequest,
|
|
4619
|
+
output: PutPackXdslServiceInfosResponse,
|
|
4620
|
+
errors: [UnknownOvhError],
|
|
4621
|
+
protocol: OvhProtocol,
|
|
4622
|
+
retry: Retry.Retry,
|
|
4623
|
+
}));
|