@wix/domains 1.0.0
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/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +28 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +28 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +28 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/context/package.json +7 -0
- package/meta/package.json +7 -0
- package/package.json +47 -0
- package/type-bundles/context.bundle.d.ts +727 -0
- package/type-bundles/index.bundle.d.ts +1041 -0
- package/type-bundles/meta.bundle.d.ts +1453 -0
|
@@ -0,0 +1,1041 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A registered domain is a domain that Wix has registered on behalf of a customer
|
|
3
|
+
* with an external registar.
|
|
4
|
+
*/
|
|
5
|
+
interface RegisteredDomain extends RegisteredDomainStatusInfoOneOf {
|
|
6
|
+
/**
|
|
7
|
+
* Information about a domain that hasn't been successfully registered
|
|
8
|
+
* yet. Includes the timestamp of the latest registration attempt.
|
|
9
|
+
* @readonly
|
|
10
|
+
*/
|
|
11
|
+
pendingRegistrationInfo?: PendingRegistrationInfo;
|
|
12
|
+
/**
|
|
13
|
+
* Information about a domain that couldn't be registered. Includes
|
|
14
|
+
* failure code and message.
|
|
15
|
+
* @readonly
|
|
16
|
+
*/
|
|
17
|
+
failedRegistrationInfo?: FailedRegistrationInfo;
|
|
18
|
+
/**
|
|
19
|
+
* Domain ID. Identical to `domain`.
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Name of the domain including TLD.
|
|
25
|
+
* Subdomains aren't supported. You can only register a root domain.
|
|
26
|
+
* Domain name and TLD must be separated by a dot. For example,
|
|
27
|
+
* `my-new-domain.com`. Only alphanumeric characters, hyphens, and dots are
|
|
28
|
+
* supported.
|
|
29
|
+
*
|
|
30
|
+
* Min: 3 characters
|
|
31
|
+
* Max: 63 characters
|
|
32
|
+
*/
|
|
33
|
+
domain?: string;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the product instance from the
|
|
36
|
+
* [Resellers API](https://dev.wix.com/docs/rest/api-reference/account-level-apis/resellers/packages-and-product-instances/packages-object)
|
|
37
|
+
* that belongs to the `registeredDomain` object.
|
|
38
|
+
* Your account must own a product that supports the chosen TLD, regardless of
|
|
39
|
+
* whether you want to assign the domain to a site or keep it floating. If
|
|
40
|
+
* you want to assign the domain to a site, the relevant site must also
|
|
41
|
+
* own a Premium plan. Contact the [Wix B2B team](mailto:bizdev@wix.com)
|
|
42
|
+
* for more information about how to become a reseller and a list of available
|
|
43
|
+
* product IDs.
|
|
44
|
+
*/
|
|
45
|
+
productInstanceId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Date and time the `registeredDomain` object was created in
|
|
48
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
49
|
+
* @readonly
|
|
50
|
+
*/
|
|
51
|
+
_createdDate?: Date;
|
|
52
|
+
/**
|
|
53
|
+
* Date and time the `registeredDomain` object was last updated in
|
|
54
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
55
|
+
* @readonly
|
|
56
|
+
*/
|
|
57
|
+
_updatedDate?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Revision number, which increments by 1 each time the registered domain
|
|
60
|
+
* is updated. To prevent conflicting changes, the current revision must be
|
|
61
|
+
* passed when updating the registered domain.
|
|
62
|
+
*
|
|
63
|
+
* Ignored when creating a registered domain.
|
|
64
|
+
*/
|
|
65
|
+
revision?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Information about the Wix site the domain is connected to and whether the
|
|
68
|
+
* domain is assigned as the primary domain or a redirect.
|
|
69
|
+
*/
|
|
70
|
+
siteInfo?: SiteInfo;
|
|
71
|
+
/**
|
|
72
|
+
* Contact details for the registrant, admin, and tech support of the registered domain.
|
|
73
|
+
* You can read more about which
|
|
74
|
+
* [Contact Field Validations](https://https://dev.wix.com/api/rest/account-level-apis/registered-domains/contact-field-validations)
|
|
75
|
+
* are implemented.
|
|
76
|
+
*/
|
|
77
|
+
contacts?: Contacts;
|
|
78
|
+
/**
|
|
79
|
+
* Status of the registered domain.
|
|
80
|
+
*
|
|
81
|
+
* + `"UNKNOWN_STATUS"`: There's no information about the status of the registered domain.
|
|
82
|
+
* + `"PENDING_REGISTRATION"`: Wix has started the domain registration process, but the domain hasn't been successfully registered yet.
|
|
83
|
+
* + `"ACTIVE"`: The domain has been registered successfully and is active.
|
|
84
|
+
* + `"FAILED_REGISTRATION"`: Wix has tried to register the domain, but has stopped the process due to too many failed attempts. Contact the [Wix B2B team](mailto:bizdev@wix.com) for more information.
|
|
85
|
+
* + `"CANCELED"`: The domain has been canceled and isn't active any longer.
|
|
86
|
+
* @readonly
|
|
87
|
+
*/
|
|
88
|
+
status?: Status;
|
|
89
|
+
/**
|
|
90
|
+
* ICANN confirmation status.
|
|
91
|
+
*
|
|
92
|
+
* + `"UNKNOWN_ICANN_CONFIRMATION_STATUS"`: There's no information about the status of the ICANN confirmation process.
|
|
93
|
+
* + `"PENDING"`: Wix has started the ICANN confirmation process, but not all contacts have confirmed the domain yet.
|
|
94
|
+
* + `"CONFIRMED_BY_ALL"`: The domain has been successfully confirmed by all contacts.
|
|
95
|
+
* + `"EXPIRED"`: The domain hasn't been confirmed by all contacts before the ICANN confirmation process expired. The domain isn't active and a new confirmation process must be started. Contact the [Wix B2B team](mailto:bizdev@wix.com) for more information.
|
|
96
|
+
* @readonly
|
|
97
|
+
*/
|
|
98
|
+
icannConfirmationStatus?: ICANNConfirmationStatus;
|
|
99
|
+
/**
|
|
100
|
+
* Details about the ICANN confirmation status.
|
|
101
|
+
* @readonly
|
|
102
|
+
*/
|
|
103
|
+
icannConfirmationStatusInfo?: ICANNConfirmationStatusInfo;
|
|
104
|
+
/**
|
|
105
|
+
* DNS propagation status.
|
|
106
|
+
*
|
|
107
|
+
* + `"UNKNOWN_DNS_PROPAGATION_STATUS"`: There's no information about the domain's DNS propagation status.
|
|
108
|
+
* + `"IN_PROGRESS"`: The domain's DNS propagation process has started but hasn't successfully completed yet.
|
|
109
|
+
* + `"COMPLETED"`: The domain's DNS propagation process has successfully finished.
|
|
110
|
+
* + `"FAILED"`: The domain's DNS propagation process has failed.
|
|
111
|
+
* @readonly
|
|
112
|
+
*/
|
|
113
|
+
dnsPropagationStatus?: DnsPropagationStatus;
|
|
114
|
+
/**
|
|
115
|
+
* Expiration date of the registered domain in `YYYY-MM-DDThh:mm:ss.sssZ`
|
|
116
|
+
* format.
|
|
117
|
+
* @readonly
|
|
118
|
+
*/
|
|
119
|
+
expirationDate?: Date;
|
|
120
|
+
}
|
|
121
|
+
/** @oneof */
|
|
122
|
+
interface RegisteredDomainStatusInfoOneOf {
|
|
123
|
+
/**
|
|
124
|
+
* Information about a domain that hasn't been successfully registered
|
|
125
|
+
* yet. Includes the timestamp of the latest registration attempt.
|
|
126
|
+
* @readonly
|
|
127
|
+
*/
|
|
128
|
+
pendingRegistrationInfo?: PendingRegistrationInfo;
|
|
129
|
+
/**
|
|
130
|
+
* Information about a domain that couldn't be registered. Includes
|
|
131
|
+
* failure code and message.
|
|
132
|
+
* @readonly
|
|
133
|
+
*/
|
|
134
|
+
failedRegistrationInfo?: FailedRegistrationInfo;
|
|
135
|
+
}
|
|
136
|
+
interface SiteInfo extends SiteInfoAssignmentInfoOneOf {
|
|
137
|
+
/**
|
|
138
|
+
* Extra details if `{"assignmentType": `"REDIRECT"}`.
|
|
139
|
+
* @readonly
|
|
140
|
+
*/
|
|
141
|
+
redirectInfo?: RedirectAssignmentInfo;
|
|
142
|
+
/**
|
|
143
|
+
* ID of the site to which the domain is assigned.
|
|
144
|
+
* @readonly
|
|
145
|
+
*/
|
|
146
|
+
_id?: string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Whether the domain is assigned as the primary domain or a redirect.
|
|
149
|
+
* Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
|
|
150
|
+
* __Note:__ When you connect a domain or subdomain, you can't pass `"UNKNOWN_ASSIGNMENT_TYPE"`
|
|
151
|
+
* in the request of the Create Registered Domain call.
|
|
152
|
+
*
|
|
153
|
+
* + `"UNKNOWN_ASSIGNMENT_TYPE"`: There's no information about the assignment type.
|
|
154
|
+
* + `"PRIMARY"`: The domain is assigned as the primary domain to the Wix site.
|
|
155
|
+
* + `"REDIRECT"`: The domain is assigned as a redirect to the Wix site.
|
|
156
|
+
*/
|
|
157
|
+
assignmentType?: AssignmentType;
|
|
158
|
+
}
|
|
159
|
+
/** @oneof */
|
|
160
|
+
interface SiteInfoAssignmentInfoOneOf {
|
|
161
|
+
/**
|
|
162
|
+
* Extra details if `{"assignmentType": `"REDIRECT"}`.
|
|
163
|
+
* @readonly
|
|
164
|
+
*/
|
|
165
|
+
redirectInfo?: RedirectAssignmentInfo;
|
|
166
|
+
}
|
|
167
|
+
declare enum AssignmentType {
|
|
168
|
+
UNKNOWN_ASSIGNMENT_TYPE = "UNKNOWN_ASSIGNMENT_TYPE",
|
|
169
|
+
PRIMARY = "PRIMARY",
|
|
170
|
+
REDIRECT = "REDIRECT"
|
|
171
|
+
}
|
|
172
|
+
interface RedirectAssignmentInfo {
|
|
173
|
+
/**
|
|
174
|
+
* Primary domain the redirect points to.
|
|
175
|
+
* @readonly
|
|
176
|
+
*/
|
|
177
|
+
primaryDomain?: string;
|
|
178
|
+
}
|
|
179
|
+
interface Contacts {
|
|
180
|
+
/** Contact information for the domain registrant. */
|
|
181
|
+
registrant?: ContactData;
|
|
182
|
+
/** Contact information for the domain admin. */
|
|
183
|
+
admin?: ContactData;
|
|
184
|
+
/** Contact information for the tech support of the domain. */
|
|
185
|
+
tech?: ContactData;
|
|
186
|
+
}
|
|
187
|
+
interface ContactData {
|
|
188
|
+
/**
|
|
189
|
+
* First name. Only
|
|
190
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
191
|
+
* are supported.
|
|
192
|
+
*
|
|
193
|
+
* Min: 2 characters
|
|
194
|
+
* Max: 64 characters
|
|
195
|
+
*/
|
|
196
|
+
firstName?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Last name. Only
|
|
199
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
200
|
+
* are supported.
|
|
201
|
+
*
|
|
202
|
+
* Min: 2 characters
|
|
203
|
+
* Max: 64 characters
|
|
204
|
+
*/
|
|
205
|
+
lastName?: string;
|
|
206
|
+
/**
|
|
207
|
+
* Email address. Only
|
|
208
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
209
|
+
* and a single `@` are supported. Wix doesn't validate that the email address
|
|
210
|
+
* exists.
|
|
211
|
+
*
|
|
212
|
+
* Min: 3 characters
|
|
213
|
+
* Max: 64 characters before the `@` and 63 after
|
|
214
|
+
*/
|
|
215
|
+
email?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Address details, including street name and house number. Only
|
|
218
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
219
|
+
* are supported.
|
|
220
|
+
*
|
|
221
|
+
* Min: 2 characters
|
|
222
|
+
* Max: 64 characters
|
|
223
|
+
*/
|
|
224
|
+
address?: string;
|
|
225
|
+
/**
|
|
226
|
+
* City. Only
|
|
227
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
228
|
+
* are supported.
|
|
229
|
+
*
|
|
230
|
+
* Min: 2 characters
|
|
231
|
+
* Max: 64 characters
|
|
232
|
+
*/
|
|
233
|
+
city?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Subdivision code in
|
|
236
|
+
* [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
|
|
237
|
+
* format. Only
|
|
238
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
239
|
+
* are supported.
|
|
240
|
+
* __Required__ for these countries:
|
|
241
|
+
* `”AE"`, `"AR"`, `"AT"`, `"AU"`, `"BE"`, `"BR"`, `"CA"`, `"CH"`, `"CL"`,
|
|
242
|
+
* `"CO"`, `"CR"`, `"CZ"`, `"DE"`, `"DK"`, `"ES"`, `"FI"`, `"FR"`, `"GR"`,
|
|
243
|
+
* `"IE"`, `"IN"`, `"IT"`, `"JP"`, `"KR"`, `"MX"`, `"MY"`, `"NL"`, `"NO"`,
|
|
244
|
+
* `"NZ"`, `"PE"`, `"PL"`, `"PT"`, `"RU"`, `"SE"`, `"SG"`, `"TH"`, `"TR"`,
|
|
245
|
+
* `"TW"`, `"UA"`, `"US"`, `”ZA”`.
|
|
246
|
+
*
|
|
247
|
+
* Min: 2 characters
|
|
248
|
+
* Max: 2 characters
|
|
249
|
+
*/
|
|
250
|
+
subdivisionCode?: string | null;
|
|
251
|
+
/**
|
|
252
|
+
* Postal code. Only
|
|
253
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
254
|
+
* are supported.
|
|
255
|
+
*
|
|
256
|
+
* Min: 2 characters
|
|
257
|
+
* Max: 16 characters
|
|
258
|
+
*/
|
|
259
|
+
postalCode?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Country code in
|
|
262
|
+
* [ISO-3166 alpha-1](https://en.wikipedia.org/wiki/ISO_3166-2#Subdivisions_included_in_ISO_3166-1)
|
|
263
|
+
* format. Only
|
|
264
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
265
|
+
* are supported. Wix doesn't validate that the postal code is valid for the
|
|
266
|
+
* given country.
|
|
267
|
+
*
|
|
268
|
+
* Min: 2 characters
|
|
269
|
+
* Max: 2 characters
|
|
270
|
+
*/
|
|
271
|
+
countryCode?: string;
|
|
272
|
+
/**
|
|
273
|
+
* Phone number. Only
|
|
274
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
275
|
+
* are supported. For example, `+15551234567`. Wix doesn't validate that the
|
|
276
|
+
* phone number belongs to the specified country.
|
|
277
|
+
*
|
|
278
|
+
* Min: 2 characters
|
|
279
|
+
* Max: 20 characters
|
|
280
|
+
*/
|
|
281
|
+
phone?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Company name. Only
|
|
284
|
+
* [alphanumerical characters](https://en.wikipedia.org/wiki/Alphanumericals)
|
|
285
|
+
* are supported.
|
|
286
|
+
*
|
|
287
|
+
* Max: 2 characters
|
|
288
|
+
* Max: 64 characters
|
|
289
|
+
*/
|
|
290
|
+
company?: string | null;
|
|
291
|
+
}
|
|
292
|
+
declare enum Status {
|
|
293
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
294
|
+
PENDING_REGISTRATION = "PENDING_REGISTRATION",
|
|
295
|
+
ACTIVE = "ACTIVE",
|
|
296
|
+
FAILED_REGISTRATION = "FAILED_REGISTRATION",
|
|
297
|
+
CANCELED = "CANCELED"
|
|
298
|
+
}
|
|
299
|
+
interface PendingRegistrationInfo {
|
|
300
|
+
/**
|
|
301
|
+
* Information about the latest attempt to register
|
|
302
|
+
* the domain. Wix tries to register the domain several times if the
|
|
303
|
+
* first attempt is unsuccessful. You can contact the
|
|
304
|
+
* [Wix B2B team](mailto:bizdev@wix.com)
|
|
305
|
+
* for more information about the number of attempts and their timing.
|
|
306
|
+
* @readonly
|
|
307
|
+
*/
|
|
308
|
+
latestAttempt?: LatestAttempt;
|
|
309
|
+
}
|
|
310
|
+
interface LatestAttempt {
|
|
311
|
+
/**
|
|
312
|
+
* Number of the latest attempt to register the domain.
|
|
313
|
+
* @readonly
|
|
314
|
+
*/
|
|
315
|
+
number?: number;
|
|
316
|
+
/**
|
|
317
|
+
* Date and time of the latest domain registration attempt in
|
|
318
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
319
|
+
* @readonly
|
|
320
|
+
*/
|
|
321
|
+
timestamp?: Date;
|
|
322
|
+
}
|
|
323
|
+
interface FailedRegistrationInfo {
|
|
324
|
+
/**
|
|
325
|
+
* Failure code.
|
|
326
|
+
*
|
|
327
|
+
* + `"UNKNOWN_FAILURE_CODE"`: There's no information about the failure code.
|
|
328
|
+
* + `"OTHER"`: There was a failure, but none of the listed failure codes applies.
|
|
329
|
+
* @readonly
|
|
330
|
+
*/
|
|
331
|
+
code?: FailureCode;
|
|
332
|
+
/**
|
|
333
|
+
* Failure message.
|
|
334
|
+
* @readonly
|
|
335
|
+
*/
|
|
336
|
+
message?: string;
|
|
337
|
+
}
|
|
338
|
+
declare enum FailureCode {
|
|
339
|
+
UNKNOWN_FAILURE_CODE = "UNKNOWN_FAILURE_CODE",
|
|
340
|
+
OTHER = "OTHER"
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* he confirmation status types, a record:
|
|
344
|
+
* starts at pending
|
|
345
|
+
* ends either at confirmed_by_all or expired
|
|
346
|
+
*/
|
|
347
|
+
declare enum ICANNConfirmationStatus {
|
|
348
|
+
UNKNOWN_ICANN_CONFIRMATION_STATUS = "UNKNOWN_ICANN_CONFIRMATION_STATUS",
|
|
349
|
+
PENDING = "PENDING",
|
|
350
|
+
CONFIRMED_BY_ALL = "CONFIRMED_BY_ALL",
|
|
351
|
+
EXPIRED = "EXPIRED"
|
|
352
|
+
}
|
|
353
|
+
interface ICANNConfirmationStatusInfo extends ICANNConfirmationStatusInfoStatusOneOf {
|
|
354
|
+
/** Details about domains with `"PENDING"` ICANN confirmation status. */
|
|
355
|
+
pending?: Pending;
|
|
356
|
+
/** Details about domains with `"EXPIRED"` ICANN confirmation status. */
|
|
357
|
+
expired?: Expired;
|
|
358
|
+
}
|
|
359
|
+
/** @oneof */
|
|
360
|
+
interface ICANNConfirmationStatusInfoStatusOneOf {
|
|
361
|
+
/** Details about domains with `"PENDING"` ICANN confirmation status. */
|
|
362
|
+
pending?: Pending;
|
|
363
|
+
/** Details about domains with `"EXPIRED"` ICANN confirmation status. */
|
|
364
|
+
expired?: Expired;
|
|
365
|
+
}
|
|
366
|
+
interface Pending {
|
|
367
|
+
/**
|
|
368
|
+
* Expiration date of the ICANN confirmation process in
|
|
369
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format. All contacts must confirm the domain
|
|
370
|
+
* before this date or the domain won't be active.
|
|
371
|
+
*/
|
|
372
|
+
expirationDate?: Date;
|
|
373
|
+
/**
|
|
374
|
+
* Email addresses of the contacts who haven't confirmed the domain with ICANN
|
|
375
|
+
* yet.
|
|
376
|
+
*/
|
|
377
|
+
notConfirmedBy?: string[];
|
|
378
|
+
}
|
|
379
|
+
interface Expired {
|
|
380
|
+
/**
|
|
381
|
+
* Email addresses of the contacts who haven't confirmed the domain with ICANN
|
|
382
|
+
* in time.
|
|
383
|
+
*/
|
|
384
|
+
notConfirmedBy?: string[];
|
|
385
|
+
}
|
|
386
|
+
declare enum DnsPropagationStatus {
|
|
387
|
+
UNKNOWN_DNS_PROPAGATION_STATUS = "UNKNOWN_DNS_PROPAGATION_STATUS",
|
|
388
|
+
COMPLETED = "COMPLETED",
|
|
389
|
+
FAILED = "FAILED",
|
|
390
|
+
IN_PROGRESS = "IN_PROGRESS"
|
|
391
|
+
}
|
|
392
|
+
interface CreateRegisteredDomainRequest {
|
|
393
|
+
/** Information about the domain to register including contact details. */
|
|
394
|
+
registeredDomain: RegisteredDomain;
|
|
395
|
+
}
|
|
396
|
+
interface CreateRegisteredDomainResponse {
|
|
397
|
+
/** Created registered domain. */
|
|
398
|
+
registeredDomain?: RegisteredDomain;
|
|
399
|
+
}
|
|
400
|
+
interface GetRegisteredDomainRequest {
|
|
401
|
+
/** ID of the registered domain to retrieve. */
|
|
402
|
+
registeredDomainId: string;
|
|
403
|
+
}
|
|
404
|
+
interface GetRegisteredDomainResponse {
|
|
405
|
+
/** Retrieved registered domain. */
|
|
406
|
+
registeredDomain?: RegisteredDomain;
|
|
407
|
+
}
|
|
408
|
+
interface ListRegisteredDomainsRequest {
|
|
409
|
+
/** Cursor paging options. */
|
|
410
|
+
paging?: CursorPaging;
|
|
411
|
+
}
|
|
412
|
+
interface CursorPaging {
|
|
413
|
+
/**
|
|
414
|
+
* Number of domains to load.
|
|
415
|
+
*
|
|
416
|
+
* Min: `0`
|
|
417
|
+
* Max: `100`
|
|
418
|
+
*/
|
|
419
|
+
limit?: number | null;
|
|
420
|
+
/**
|
|
421
|
+
* Pointer to the next or previous page in the list of results.
|
|
422
|
+
*
|
|
423
|
+
* You can get the relevant cursor token
|
|
424
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
425
|
+
* Not relevant for the first request.
|
|
426
|
+
*/
|
|
427
|
+
cursor?: string | null;
|
|
428
|
+
}
|
|
429
|
+
interface ListRegisteredDomainsResponse {
|
|
430
|
+
/** Metadata about the returned list of registered domains. */
|
|
431
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
432
|
+
/** Retrieved registered domains. */
|
|
433
|
+
registeredDomains?: RegisteredDomain[];
|
|
434
|
+
}
|
|
435
|
+
interface CursorPagingMetadata {
|
|
436
|
+
/** Number of domains returned in the response. */
|
|
437
|
+
count?: number | null;
|
|
438
|
+
/** Offset that was requested. */
|
|
439
|
+
cursors?: Cursors;
|
|
440
|
+
/**
|
|
441
|
+
* Indicates if there are more results after the current page.
|
|
442
|
+
* If `true`, another page of results can be retrieved.
|
|
443
|
+
* If `false`, this is the last page.
|
|
444
|
+
*/
|
|
445
|
+
hasNext?: boolean | null;
|
|
446
|
+
}
|
|
447
|
+
interface Cursors {
|
|
448
|
+
/** Cursor pointing to next page in the list of results. */
|
|
449
|
+
next?: string | null;
|
|
450
|
+
/** Cursor pointing to previous page in the list of results. */
|
|
451
|
+
prev?: string | null;
|
|
452
|
+
}
|
|
453
|
+
interface DeleteRegisteredDomainByIdRequest {
|
|
454
|
+
/** ID of the registered domain to delete. */
|
|
455
|
+
registeredDomainId?: string;
|
|
456
|
+
}
|
|
457
|
+
interface DeleteRegisteredDomainByIdResponse {
|
|
458
|
+
}
|
|
459
|
+
interface RedeemRegisteredDomainRequest {
|
|
460
|
+
/**
|
|
461
|
+
* ID of the registered domain to redeem. Identical to the domain name
|
|
462
|
+
* including TLD.
|
|
463
|
+
*/
|
|
464
|
+
registeredDomainId: string;
|
|
465
|
+
}
|
|
466
|
+
interface RedeemRegisteredDomainResponse {
|
|
467
|
+
/** Registered domain to redeem. */
|
|
468
|
+
registeredDomain?: RegisteredDomain;
|
|
469
|
+
}
|
|
470
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
471
|
+
createdEvent?: EntityCreatedEvent;
|
|
472
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
473
|
+
deletedEvent?: EntityDeletedEvent;
|
|
474
|
+
actionEvent?: ActionEvent;
|
|
475
|
+
/**
|
|
476
|
+
* Unique event ID.
|
|
477
|
+
* Allows clients to ignore duplicate webhooks.
|
|
478
|
+
*/
|
|
479
|
+
_id?: string;
|
|
480
|
+
/**
|
|
481
|
+
* Assumes actions are also always typed to an entity_type
|
|
482
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
483
|
+
*/
|
|
484
|
+
entityFqdn?: string;
|
|
485
|
+
/**
|
|
486
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
487
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
488
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
489
|
+
*/
|
|
490
|
+
slug?: string;
|
|
491
|
+
/** ID of the entity associated with the event. */
|
|
492
|
+
entityId?: string;
|
|
493
|
+
/** Event timestamp. */
|
|
494
|
+
eventTime?: Date;
|
|
495
|
+
/**
|
|
496
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
497
|
+
* (for example, GDPR).
|
|
498
|
+
*/
|
|
499
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
500
|
+
/** If present, indicates the action that triggered the event. */
|
|
501
|
+
originatedFrom?: string | null;
|
|
502
|
+
/**
|
|
503
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
504
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
505
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
506
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
507
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
508
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
509
|
+
*/
|
|
510
|
+
entityEventSequence?: string | null;
|
|
511
|
+
}
|
|
512
|
+
/** @oneof */
|
|
513
|
+
interface DomainEventBodyOneOf {
|
|
514
|
+
createdEvent?: EntityCreatedEvent;
|
|
515
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
516
|
+
deletedEvent?: EntityDeletedEvent;
|
|
517
|
+
actionEvent?: ActionEvent;
|
|
518
|
+
}
|
|
519
|
+
interface EntityCreatedEvent {
|
|
520
|
+
entity?: string;
|
|
521
|
+
}
|
|
522
|
+
interface EntityUpdatedEvent {
|
|
523
|
+
/**
|
|
524
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
525
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
526
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
527
|
+
*/
|
|
528
|
+
currentEntity?: string;
|
|
529
|
+
}
|
|
530
|
+
interface EntityDeletedEvent {
|
|
531
|
+
/** Entity that was deleted */
|
|
532
|
+
deletedEntity?: string | null;
|
|
533
|
+
}
|
|
534
|
+
interface ActionEvent {
|
|
535
|
+
body?: string;
|
|
536
|
+
}
|
|
537
|
+
interface MessageEnvelope {
|
|
538
|
+
/** App instance ID. */
|
|
539
|
+
instanceId?: string | null;
|
|
540
|
+
/** Event type. */
|
|
541
|
+
eventType?: string;
|
|
542
|
+
/** The identification type and identity data. */
|
|
543
|
+
identity?: IdentificationData;
|
|
544
|
+
/** Stringify payload. */
|
|
545
|
+
data?: string;
|
|
546
|
+
}
|
|
547
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
548
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
549
|
+
anonymousVisitorId?: string;
|
|
550
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
551
|
+
memberId?: string;
|
|
552
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
553
|
+
wixUserId?: string;
|
|
554
|
+
/** ID of an app. */
|
|
555
|
+
appId?: string;
|
|
556
|
+
/** @readonly */
|
|
557
|
+
identityType?: WebhookIdentityType;
|
|
558
|
+
}
|
|
559
|
+
/** @oneof */
|
|
560
|
+
interface IdentificationDataIdOneOf {
|
|
561
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
562
|
+
anonymousVisitorId?: string;
|
|
563
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
564
|
+
memberId?: string;
|
|
565
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
566
|
+
wixUserId?: string;
|
|
567
|
+
/** ID of an app. */
|
|
568
|
+
appId?: string;
|
|
569
|
+
}
|
|
570
|
+
declare enum WebhookIdentityType {
|
|
571
|
+
UNKNOWN = "UNKNOWN",
|
|
572
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
573
|
+
MEMBER = "MEMBER",
|
|
574
|
+
WIX_USER = "WIX_USER",
|
|
575
|
+
APP = "APP"
|
|
576
|
+
}
|
|
577
|
+
interface CreateRegisteredDomainResponseNonNullableFields {
|
|
578
|
+
registeredDomain?: {
|
|
579
|
+
pendingRegistrationInfo?: {
|
|
580
|
+
latestAttempt?: {
|
|
581
|
+
number: number;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
failedRegistrationInfo?: {
|
|
585
|
+
code: FailureCode;
|
|
586
|
+
message: string;
|
|
587
|
+
};
|
|
588
|
+
_id: string;
|
|
589
|
+
domain: string;
|
|
590
|
+
productInstanceId: string;
|
|
591
|
+
siteInfo?: {
|
|
592
|
+
redirectInfo?: {
|
|
593
|
+
primaryDomain: string;
|
|
594
|
+
};
|
|
595
|
+
assignmentType: AssignmentType;
|
|
596
|
+
};
|
|
597
|
+
contacts?: {
|
|
598
|
+
registrant?: {
|
|
599
|
+
firstName: string;
|
|
600
|
+
lastName: string;
|
|
601
|
+
email: string;
|
|
602
|
+
address: string;
|
|
603
|
+
city: string;
|
|
604
|
+
countryCode: string;
|
|
605
|
+
phone: string;
|
|
606
|
+
};
|
|
607
|
+
admin?: {
|
|
608
|
+
firstName: string;
|
|
609
|
+
lastName: string;
|
|
610
|
+
email: string;
|
|
611
|
+
address: string;
|
|
612
|
+
city: string;
|
|
613
|
+
countryCode: string;
|
|
614
|
+
phone: string;
|
|
615
|
+
};
|
|
616
|
+
tech?: {
|
|
617
|
+
firstName: string;
|
|
618
|
+
lastName: string;
|
|
619
|
+
email: string;
|
|
620
|
+
address: string;
|
|
621
|
+
city: string;
|
|
622
|
+
countryCode: string;
|
|
623
|
+
phone: string;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
status: Status;
|
|
627
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
628
|
+
icannConfirmationStatusInfo?: {
|
|
629
|
+
pending?: {
|
|
630
|
+
notConfirmedBy: string[];
|
|
631
|
+
};
|
|
632
|
+
expired?: {
|
|
633
|
+
notConfirmedBy: string[];
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
interface GetRegisteredDomainResponseNonNullableFields {
|
|
640
|
+
registeredDomain?: {
|
|
641
|
+
pendingRegistrationInfo?: {
|
|
642
|
+
latestAttempt?: {
|
|
643
|
+
number: number;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
failedRegistrationInfo?: {
|
|
647
|
+
code: FailureCode;
|
|
648
|
+
message: string;
|
|
649
|
+
};
|
|
650
|
+
_id: string;
|
|
651
|
+
domain: string;
|
|
652
|
+
productInstanceId: string;
|
|
653
|
+
siteInfo?: {
|
|
654
|
+
redirectInfo?: {
|
|
655
|
+
primaryDomain: string;
|
|
656
|
+
};
|
|
657
|
+
assignmentType: AssignmentType;
|
|
658
|
+
};
|
|
659
|
+
contacts?: {
|
|
660
|
+
registrant?: {
|
|
661
|
+
firstName: string;
|
|
662
|
+
lastName: string;
|
|
663
|
+
email: string;
|
|
664
|
+
address: string;
|
|
665
|
+
city: string;
|
|
666
|
+
countryCode: string;
|
|
667
|
+
phone: string;
|
|
668
|
+
};
|
|
669
|
+
admin?: {
|
|
670
|
+
firstName: string;
|
|
671
|
+
lastName: string;
|
|
672
|
+
email: string;
|
|
673
|
+
address: string;
|
|
674
|
+
city: string;
|
|
675
|
+
countryCode: string;
|
|
676
|
+
phone: string;
|
|
677
|
+
};
|
|
678
|
+
tech?: {
|
|
679
|
+
firstName: string;
|
|
680
|
+
lastName: string;
|
|
681
|
+
email: string;
|
|
682
|
+
address: string;
|
|
683
|
+
city: string;
|
|
684
|
+
countryCode: string;
|
|
685
|
+
phone: string;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
status: Status;
|
|
689
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
690
|
+
icannConfirmationStatusInfo?: {
|
|
691
|
+
pending?: {
|
|
692
|
+
notConfirmedBy: string[];
|
|
693
|
+
};
|
|
694
|
+
expired?: {
|
|
695
|
+
notConfirmedBy: string[];
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
interface ListRegisteredDomainsResponseNonNullableFields {
|
|
702
|
+
registeredDomains: {
|
|
703
|
+
pendingRegistrationInfo?: {
|
|
704
|
+
latestAttempt?: {
|
|
705
|
+
number: number;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
failedRegistrationInfo?: {
|
|
709
|
+
code: FailureCode;
|
|
710
|
+
message: string;
|
|
711
|
+
};
|
|
712
|
+
_id: string;
|
|
713
|
+
domain: string;
|
|
714
|
+
productInstanceId: string;
|
|
715
|
+
siteInfo?: {
|
|
716
|
+
redirectInfo?: {
|
|
717
|
+
primaryDomain: string;
|
|
718
|
+
};
|
|
719
|
+
assignmentType: AssignmentType;
|
|
720
|
+
};
|
|
721
|
+
contacts?: {
|
|
722
|
+
registrant?: {
|
|
723
|
+
firstName: string;
|
|
724
|
+
lastName: string;
|
|
725
|
+
email: string;
|
|
726
|
+
address: string;
|
|
727
|
+
city: string;
|
|
728
|
+
countryCode: string;
|
|
729
|
+
phone: string;
|
|
730
|
+
};
|
|
731
|
+
admin?: {
|
|
732
|
+
firstName: string;
|
|
733
|
+
lastName: string;
|
|
734
|
+
email: string;
|
|
735
|
+
address: string;
|
|
736
|
+
city: string;
|
|
737
|
+
countryCode: string;
|
|
738
|
+
phone: string;
|
|
739
|
+
};
|
|
740
|
+
tech?: {
|
|
741
|
+
firstName: string;
|
|
742
|
+
lastName: string;
|
|
743
|
+
email: string;
|
|
744
|
+
address: string;
|
|
745
|
+
city: string;
|
|
746
|
+
countryCode: string;
|
|
747
|
+
phone: string;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
status: Status;
|
|
751
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
752
|
+
icannConfirmationStatusInfo?: {
|
|
753
|
+
pending?: {
|
|
754
|
+
notConfirmedBy: string[];
|
|
755
|
+
};
|
|
756
|
+
expired?: {
|
|
757
|
+
notConfirmedBy: string[];
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
761
|
+
}[];
|
|
762
|
+
}
|
|
763
|
+
interface RedeemRegisteredDomainResponseNonNullableFields {
|
|
764
|
+
registeredDomain?: {
|
|
765
|
+
pendingRegistrationInfo?: {
|
|
766
|
+
latestAttempt?: {
|
|
767
|
+
number: number;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
failedRegistrationInfo?: {
|
|
771
|
+
code: FailureCode;
|
|
772
|
+
message: string;
|
|
773
|
+
};
|
|
774
|
+
_id: string;
|
|
775
|
+
domain: string;
|
|
776
|
+
productInstanceId: string;
|
|
777
|
+
siteInfo?: {
|
|
778
|
+
redirectInfo?: {
|
|
779
|
+
primaryDomain: string;
|
|
780
|
+
};
|
|
781
|
+
assignmentType: AssignmentType;
|
|
782
|
+
};
|
|
783
|
+
contacts?: {
|
|
784
|
+
registrant?: {
|
|
785
|
+
firstName: string;
|
|
786
|
+
lastName: string;
|
|
787
|
+
email: string;
|
|
788
|
+
address: string;
|
|
789
|
+
city: string;
|
|
790
|
+
countryCode: string;
|
|
791
|
+
phone: string;
|
|
792
|
+
};
|
|
793
|
+
admin?: {
|
|
794
|
+
firstName: string;
|
|
795
|
+
lastName: string;
|
|
796
|
+
email: string;
|
|
797
|
+
address: string;
|
|
798
|
+
city: string;
|
|
799
|
+
countryCode: string;
|
|
800
|
+
phone: string;
|
|
801
|
+
};
|
|
802
|
+
tech?: {
|
|
803
|
+
firstName: string;
|
|
804
|
+
lastName: string;
|
|
805
|
+
email: string;
|
|
806
|
+
address: string;
|
|
807
|
+
city: string;
|
|
808
|
+
countryCode: string;
|
|
809
|
+
phone: string;
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
status: Status;
|
|
813
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
814
|
+
icannConfirmationStatusInfo?: {
|
|
815
|
+
pending?: {
|
|
816
|
+
notConfirmedBy: string[];
|
|
817
|
+
};
|
|
818
|
+
expired?: {
|
|
819
|
+
notConfirmedBy: string[];
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
823
|
+
};
|
|
824
|
+
}
|
|
825
|
+
interface ListRegisteredDomainsOptions {
|
|
826
|
+
/** Cursor paging options. */
|
|
827
|
+
paging?: CursorPaging;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
interface HttpClient {
|
|
831
|
+
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
832
|
+
}
|
|
833
|
+
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
|
|
834
|
+
type HttpResponse<T = any> = {
|
|
835
|
+
data: T;
|
|
836
|
+
status: number;
|
|
837
|
+
statusText: string;
|
|
838
|
+
headers: any;
|
|
839
|
+
request?: any;
|
|
840
|
+
};
|
|
841
|
+
type RequestOptions<_TResponse = any, Data = any> = {
|
|
842
|
+
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
|
|
843
|
+
url: string;
|
|
844
|
+
data?: Data;
|
|
845
|
+
params?: URLSearchParams;
|
|
846
|
+
} & APIMetadata;
|
|
847
|
+
type APIMetadata = {
|
|
848
|
+
methodFqn?: string;
|
|
849
|
+
entityFqdn?: string;
|
|
850
|
+
packageName?: string;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
declare const __metadata: {
|
|
854
|
+
PACKAGE_NAME: string;
|
|
855
|
+
};
|
|
856
|
+
declare function createRegisteredDomain(httpClient: HttpClient): (registeredDomain: RegisteredDomain) => Promise<RegisteredDomain & {
|
|
857
|
+
pendingRegistrationInfo?: {
|
|
858
|
+
latestAttempt?: {
|
|
859
|
+
number: number;
|
|
860
|
+
} | undefined;
|
|
861
|
+
} | undefined;
|
|
862
|
+
failedRegistrationInfo?: {
|
|
863
|
+
code: FailureCode;
|
|
864
|
+
message: string;
|
|
865
|
+
} | undefined;
|
|
866
|
+
_id: string;
|
|
867
|
+
domain: string;
|
|
868
|
+
productInstanceId: string;
|
|
869
|
+
siteInfo?: {
|
|
870
|
+
redirectInfo?: {
|
|
871
|
+
primaryDomain: string;
|
|
872
|
+
} | undefined;
|
|
873
|
+
assignmentType: AssignmentType;
|
|
874
|
+
} | undefined;
|
|
875
|
+
contacts?: {
|
|
876
|
+
registrant?: {
|
|
877
|
+
firstName: string;
|
|
878
|
+
lastName: string;
|
|
879
|
+
email: string;
|
|
880
|
+
address: string;
|
|
881
|
+
city: string;
|
|
882
|
+
countryCode: string;
|
|
883
|
+
phone: string;
|
|
884
|
+
} | undefined;
|
|
885
|
+
admin?: {
|
|
886
|
+
firstName: string;
|
|
887
|
+
lastName: string;
|
|
888
|
+
email: string;
|
|
889
|
+
address: string;
|
|
890
|
+
city: string;
|
|
891
|
+
countryCode: string;
|
|
892
|
+
phone: string;
|
|
893
|
+
} | undefined;
|
|
894
|
+
tech?: {
|
|
895
|
+
firstName: string;
|
|
896
|
+
lastName: string;
|
|
897
|
+
email: string;
|
|
898
|
+
address: string;
|
|
899
|
+
city: string;
|
|
900
|
+
countryCode: string;
|
|
901
|
+
phone: string;
|
|
902
|
+
} | undefined;
|
|
903
|
+
} | undefined;
|
|
904
|
+
status: Status;
|
|
905
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
906
|
+
icannConfirmationStatusInfo?: {
|
|
907
|
+
pending?: {
|
|
908
|
+
notConfirmedBy: string[];
|
|
909
|
+
} | undefined;
|
|
910
|
+
expired?: {
|
|
911
|
+
notConfirmedBy: string[];
|
|
912
|
+
} | undefined;
|
|
913
|
+
} | undefined;
|
|
914
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
915
|
+
}>;
|
|
916
|
+
declare function getRegisteredDomain(httpClient: HttpClient): (registeredDomainId: string) => Promise<RegisteredDomain & {
|
|
917
|
+
pendingRegistrationInfo?: {
|
|
918
|
+
latestAttempt?: {
|
|
919
|
+
number: number;
|
|
920
|
+
} | undefined;
|
|
921
|
+
} | undefined;
|
|
922
|
+
failedRegistrationInfo?: {
|
|
923
|
+
code: FailureCode;
|
|
924
|
+
message: string;
|
|
925
|
+
} | undefined;
|
|
926
|
+
_id: string;
|
|
927
|
+
domain: string;
|
|
928
|
+
productInstanceId: string;
|
|
929
|
+
siteInfo?: {
|
|
930
|
+
redirectInfo?: {
|
|
931
|
+
primaryDomain: string;
|
|
932
|
+
} | undefined;
|
|
933
|
+
assignmentType: AssignmentType;
|
|
934
|
+
} | undefined;
|
|
935
|
+
contacts?: {
|
|
936
|
+
registrant?: {
|
|
937
|
+
firstName: string;
|
|
938
|
+
lastName: string;
|
|
939
|
+
email: string;
|
|
940
|
+
address: string;
|
|
941
|
+
city: string;
|
|
942
|
+
countryCode: string;
|
|
943
|
+
phone: string;
|
|
944
|
+
} | undefined;
|
|
945
|
+
admin?: {
|
|
946
|
+
firstName: string;
|
|
947
|
+
lastName: string;
|
|
948
|
+
email: string;
|
|
949
|
+
address: string;
|
|
950
|
+
city: string;
|
|
951
|
+
countryCode: string;
|
|
952
|
+
phone: string;
|
|
953
|
+
} | undefined;
|
|
954
|
+
tech?: {
|
|
955
|
+
firstName: string;
|
|
956
|
+
lastName: string;
|
|
957
|
+
email: string;
|
|
958
|
+
address: string;
|
|
959
|
+
city: string;
|
|
960
|
+
countryCode: string;
|
|
961
|
+
phone: string;
|
|
962
|
+
} | undefined;
|
|
963
|
+
} | undefined;
|
|
964
|
+
status: Status;
|
|
965
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
966
|
+
icannConfirmationStatusInfo?: {
|
|
967
|
+
pending?: {
|
|
968
|
+
notConfirmedBy: string[];
|
|
969
|
+
} | undefined;
|
|
970
|
+
expired?: {
|
|
971
|
+
notConfirmedBy: string[];
|
|
972
|
+
} | undefined;
|
|
973
|
+
} | undefined;
|
|
974
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
975
|
+
}>;
|
|
976
|
+
declare function listRegisteredDomains(httpClient: HttpClient): (options?: ListRegisteredDomainsOptions) => Promise<ListRegisteredDomainsResponse & ListRegisteredDomainsResponseNonNullableFields>;
|
|
977
|
+
declare function redeemRegisteredDomain(httpClient: HttpClient): (registeredDomainId: string) => Promise<RedeemRegisteredDomainResponse & RedeemRegisteredDomainResponseNonNullableFields>;
|
|
978
|
+
|
|
979
|
+
type index_d_ActionEvent = ActionEvent;
|
|
980
|
+
type index_d_AssignmentType = AssignmentType;
|
|
981
|
+
declare const index_d_AssignmentType: typeof AssignmentType;
|
|
982
|
+
type index_d_ContactData = ContactData;
|
|
983
|
+
type index_d_Contacts = Contacts;
|
|
984
|
+
type index_d_CreateRegisteredDomainRequest = CreateRegisteredDomainRequest;
|
|
985
|
+
type index_d_CreateRegisteredDomainResponse = CreateRegisteredDomainResponse;
|
|
986
|
+
type index_d_CreateRegisteredDomainResponseNonNullableFields = CreateRegisteredDomainResponseNonNullableFields;
|
|
987
|
+
type index_d_CursorPaging = CursorPaging;
|
|
988
|
+
type index_d_CursorPagingMetadata = CursorPagingMetadata;
|
|
989
|
+
type index_d_Cursors = Cursors;
|
|
990
|
+
type index_d_DeleteRegisteredDomainByIdRequest = DeleteRegisteredDomainByIdRequest;
|
|
991
|
+
type index_d_DeleteRegisteredDomainByIdResponse = DeleteRegisteredDomainByIdResponse;
|
|
992
|
+
type index_d_DnsPropagationStatus = DnsPropagationStatus;
|
|
993
|
+
declare const index_d_DnsPropagationStatus: typeof DnsPropagationStatus;
|
|
994
|
+
type index_d_DomainEvent = DomainEvent;
|
|
995
|
+
type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
996
|
+
type index_d_EntityCreatedEvent = EntityCreatedEvent;
|
|
997
|
+
type index_d_EntityDeletedEvent = EntityDeletedEvent;
|
|
998
|
+
type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
999
|
+
type index_d_Expired = Expired;
|
|
1000
|
+
type index_d_FailedRegistrationInfo = FailedRegistrationInfo;
|
|
1001
|
+
type index_d_FailureCode = FailureCode;
|
|
1002
|
+
declare const index_d_FailureCode: typeof FailureCode;
|
|
1003
|
+
type index_d_GetRegisteredDomainRequest = GetRegisteredDomainRequest;
|
|
1004
|
+
type index_d_GetRegisteredDomainResponse = GetRegisteredDomainResponse;
|
|
1005
|
+
type index_d_GetRegisteredDomainResponseNonNullableFields = GetRegisteredDomainResponseNonNullableFields;
|
|
1006
|
+
type index_d_ICANNConfirmationStatus = ICANNConfirmationStatus;
|
|
1007
|
+
declare const index_d_ICANNConfirmationStatus: typeof ICANNConfirmationStatus;
|
|
1008
|
+
type index_d_ICANNConfirmationStatusInfo = ICANNConfirmationStatusInfo;
|
|
1009
|
+
type index_d_ICANNConfirmationStatusInfoStatusOneOf = ICANNConfirmationStatusInfoStatusOneOf;
|
|
1010
|
+
type index_d_IdentificationData = IdentificationData;
|
|
1011
|
+
type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
1012
|
+
type index_d_LatestAttempt = LatestAttempt;
|
|
1013
|
+
type index_d_ListRegisteredDomainsOptions = ListRegisteredDomainsOptions;
|
|
1014
|
+
type index_d_ListRegisteredDomainsRequest = ListRegisteredDomainsRequest;
|
|
1015
|
+
type index_d_ListRegisteredDomainsResponse = ListRegisteredDomainsResponse;
|
|
1016
|
+
type index_d_ListRegisteredDomainsResponseNonNullableFields = ListRegisteredDomainsResponseNonNullableFields;
|
|
1017
|
+
type index_d_MessageEnvelope = MessageEnvelope;
|
|
1018
|
+
type index_d_Pending = Pending;
|
|
1019
|
+
type index_d_PendingRegistrationInfo = PendingRegistrationInfo;
|
|
1020
|
+
type index_d_RedeemRegisteredDomainRequest = RedeemRegisteredDomainRequest;
|
|
1021
|
+
type index_d_RedeemRegisteredDomainResponse = RedeemRegisteredDomainResponse;
|
|
1022
|
+
type index_d_RedeemRegisteredDomainResponseNonNullableFields = RedeemRegisteredDomainResponseNonNullableFields;
|
|
1023
|
+
type index_d_RedirectAssignmentInfo = RedirectAssignmentInfo;
|
|
1024
|
+
type index_d_RegisteredDomain = RegisteredDomain;
|
|
1025
|
+
type index_d_RegisteredDomainStatusInfoOneOf = RegisteredDomainStatusInfoOneOf;
|
|
1026
|
+
type index_d_SiteInfo = SiteInfo;
|
|
1027
|
+
type index_d_SiteInfoAssignmentInfoOneOf = SiteInfoAssignmentInfoOneOf;
|
|
1028
|
+
type index_d_Status = Status;
|
|
1029
|
+
declare const index_d_Status: typeof Status;
|
|
1030
|
+
type index_d_WebhookIdentityType = WebhookIdentityType;
|
|
1031
|
+
declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
|
|
1032
|
+
declare const index_d___metadata: typeof __metadata;
|
|
1033
|
+
declare const index_d_createRegisteredDomain: typeof createRegisteredDomain;
|
|
1034
|
+
declare const index_d_getRegisteredDomain: typeof getRegisteredDomain;
|
|
1035
|
+
declare const index_d_listRegisteredDomains: typeof listRegisteredDomains;
|
|
1036
|
+
declare const index_d_redeemRegisteredDomain: typeof redeemRegisteredDomain;
|
|
1037
|
+
declare namespace index_d {
|
|
1038
|
+
export { type index_d_ActionEvent as ActionEvent, index_d_AssignmentType as AssignmentType, type index_d_ContactData as ContactData, type index_d_Contacts as Contacts, type index_d_CreateRegisteredDomainRequest as CreateRegisteredDomainRequest, type index_d_CreateRegisteredDomainResponse as CreateRegisteredDomainResponse, type index_d_CreateRegisteredDomainResponseNonNullableFields as CreateRegisteredDomainResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_Cursors as Cursors, type index_d_DeleteRegisteredDomainByIdRequest as DeleteRegisteredDomainByIdRequest, type index_d_DeleteRegisteredDomainByIdResponse as DeleteRegisteredDomainByIdResponse, index_d_DnsPropagationStatus as DnsPropagationStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_Expired as Expired, type index_d_FailedRegistrationInfo as FailedRegistrationInfo, index_d_FailureCode as FailureCode, type index_d_GetRegisteredDomainRequest as GetRegisteredDomainRequest, type index_d_GetRegisteredDomainResponse as GetRegisteredDomainResponse, type index_d_GetRegisteredDomainResponseNonNullableFields as GetRegisteredDomainResponseNonNullableFields, index_d_ICANNConfirmationStatus as ICANNConfirmationStatus, type index_d_ICANNConfirmationStatusInfo as ICANNConfirmationStatusInfo, type index_d_ICANNConfirmationStatusInfoStatusOneOf as ICANNConfirmationStatusInfoStatusOneOf, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_LatestAttempt as LatestAttempt, type index_d_ListRegisteredDomainsOptions as ListRegisteredDomainsOptions, type index_d_ListRegisteredDomainsRequest as ListRegisteredDomainsRequest, type index_d_ListRegisteredDomainsResponse as ListRegisteredDomainsResponse, type index_d_ListRegisteredDomainsResponseNonNullableFields as ListRegisteredDomainsResponseNonNullableFields, type index_d_MessageEnvelope as MessageEnvelope, type index_d_Pending as Pending, type index_d_PendingRegistrationInfo as PendingRegistrationInfo, type index_d_RedeemRegisteredDomainRequest as RedeemRegisteredDomainRequest, type index_d_RedeemRegisteredDomainResponse as RedeemRegisteredDomainResponse, type index_d_RedeemRegisteredDomainResponseNonNullableFields as RedeemRegisteredDomainResponseNonNullableFields, type index_d_RedirectAssignmentInfo as RedirectAssignmentInfo, type index_d_RegisteredDomain as RegisteredDomain, type index_d_RegisteredDomainStatusInfoOneOf as RegisteredDomainStatusInfoOneOf, type index_d_SiteInfo as SiteInfo, type index_d_SiteInfoAssignmentInfoOneOf as SiteInfoAssignmentInfoOneOf, index_d_Status as Status, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_createRegisteredDomain as createRegisteredDomain, index_d_getRegisteredDomain as getRegisteredDomain, index_d_listRegisteredDomains as listRegisteredDomains, index_d_redeemRegisteredDomain as redeemRegisteredDomain };
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export { index_d as registeredDomains };
|