@wix/domains 1.0.0 → 1.0.1

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.
@@ -1,3 +1,1194 @@
1
+ /** A `connectedDomain` object holds information about an external domain and its connection to a Wix site. */
2
+ interface ConnectedDomain$1 {
3
+ /**
4
+ * ID of the connected domain. Identical to the domain name including TLD.
5
+ * @readonly
6
+ */
7
+ id?: string;
8
+ /**
9
+ * Domain name including TLD.
10
+ * Both root domains and subdomains are supported.
11
+ */
12
+ domain?: string;
13
+ /**
14
+ * How the domain is connected to the Wix site.
15
+ *
16
+ * + `"UNKNOWN_CONNECTION_TYPE"`: There is no information about the connection type.
17
+ * + `"POINTING"`: The domain is connected by pointing. Wix doesn't manage DNS information.
18
+ * + `"NAMESERVERS"`: The domain is connected by nameservers. Wix manages DNS information.
19
+ * + `"HIDDEN"`: The domain isn't visible to site visitors.
20
+ */
21
+ connectionType?: ConnectionType$1;
22
+ /**
23
+ * Information about the site to which the domain is assigned to and whether
24
+ * it's the primary domain or a redirect.
25
+ */
26
+ siteInfo?: SiteInfo$3;
27
+ /**
28
+ * Whether the site owner receives standard email notifications from Wix about
29
+ * the connected domain.
30
+ *
31
+ * Default: `false`
32
+ */
33
+ suppressNotifications?: boolean;
34
+ /**
35
+ * DNS propagation status.
36
+ *
37
+ * + `"UNKNOWN_DNS_PROPAGATION_STATUS"`: There's no information about the domain's DNS propagation status.
38
+ * + `"IN_PROGRESS"`: The domain's DNS propagation process has started but hasn't successfully completed yet.
39
+ * + `"COMPLETED"`: The domain's DNS propagation process has successfully finished.
40
+ * + `"FAILED"`: The domain's DNS propagation process has failed.
41
+ * @readonly
42
+ */
43
+ dnsPropagationStatus?: DnsPropagationStatus$3;
44
+ }
45
+ declare enum ConnectionType$1 {
46
+ /** Used by sub domain */
47
+ UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
48
+ POINTING = "POINTING",
49
+ NAMESERVERS = "NAMESERVERS",
50
+ /**
51
+ * internal used by photography company.
52
+ * when a customer creates a photo album, each album has its sub domain and this sub domain
53
+ * is not visible in my domains page.
54
+ */
55
+ HIDDEN = "HIDDEN"
56
+ }
57
+ interface SiteInfo$3 extends SiteInfoAssignmentInfoOneOf$3 {
58
+ /**
59
+ * Extra details in case assignment type is redirect.
60
+ * @readonly
61
+ */
62
+ redirectInfo?: RedirectAssignmentInfo$3;
63
+ /**
64
+ * ID of the site the domain is assigned to, will be taken from context.
65
+ * @readonly
66
+ */
67
+ id?: string | null;
68
+ /**
69
+ * The assignment type the relationship will be based on:
70
+ * + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type
71
+ * + `"PRIMARY"`: There can only be one primary domain per site, the result of this assignment type is that the domain will lead directly to a site.
72
+ * + `"REDIRECT"`: There can be multiple redirect domains. the result of this assignment type is that the redirects will lead to the primary domain
73
+ * Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
74
+ */
75
+ assignmentType?: AssignmentType$3;
76
+ }
77
+ /** @oneof */
78
+ interface SiteInfoAssignmentInfoOneOf$3 {
79
+ /**
80
+ * Extra details in case assignment type is redirect.
81
+ * @readonly
82
+ */
83
+ redirectInfo?: RedirectAssignmentInfo$3;
84
+ }
85
+ declare enum AssignmentType$3 {
86
+ UNKNOWN_ASSIGNMENT_TYPE = "UNKNOWN_ASSIGNMENT_TYPE",
87
+ PRIMARY = "PRIMARY",
88
+ REDIRECT = "REDIRECT"
89
+ }
90
+ interface RedirectAssignmentInfo$3 {
91
+ /**
92
+ * Primary domain the redirect points to.
93
+ * @readonly
94
+ */
95
+ primaryDomain?: string;
96
+ }
97
+ declare enum DnsPropagationStatus$3 {
98
+ UNKNOWN_DNS_PROPAGATION_STATUS = "UNKNOWN_DNS_PROPAGATION_STATUS",
99
+ COMPLETED = "COMPLETED",
100
+ FAILED = "FAILED",
101
+ IN_PROGRESS = "IN_PROGRESS"
102
+ }
103
+ interface CreateConnectedDomainRequest$1 {
104
+ /** Domain to connect. */
105
+ connectedDomain: ConnectedDomain$1;
106
+ }
107
+ interface CreateConnectedDomainResponse$1 {
108
+ /** Connected domain. */
109
+ connectedDomain?: ConnectedDomain$1;
110
+ }
111
+ interface GetConnectedDomainRequest$1 {
112
+ /** ID of the connected domain. Identical to the domain name including TLD. */
113
+ connectedDomainId: string;
114
+ }
115
+ interface GetConnectedDomainResponse$1 {
116
+ /** Retrieved connected domain. */
117
+ connectedDomain?: ConnectedDomain$1;
118
+ }
119
+ interface ListConnectedDomainsRequest$1 {
120
+ /** Cursor paging options. */
121
+ paging?: CursorPaging$3;
122
+ }
123
+ interface CursorPaging$3 {
124
+ /**
125
+ * Number of domains to load.
126
+ *
127
+ * Min: `0`
128
+ * Max: `100`
129
+ */
130
+ limit?: number | null;
131
+ /**
132
+ * Pointer to the next or previous page in the list of results.
133
+ *
134
+ * You can get the relevant cursor token
135
+ * from the `pagingMetadata` object in the previous call's response.
136
+ * Not relevant for the first request.
137
+ */
138
+ cursor?: string | null;
139
+ }
140
+ interface ListConnectedDomainsResponse$1 {
141
+ /** Metadata about the returned list of connected domains. */
142
+ pagingMetadata?: CursorPagingMetadata$3;
143
+ /** Retrieved connected domains. */
144
+ connectedDomains?: ConnectedDomain$1[];
145
+ }
146
+ interface CursorPagingMetadata$3 {
147
+ /** Number of domains returned in the response. */
148
+ count?: number | null;
149
+ /** Offset that was requested. */
150
+ cursors?: Cursors$3;
151
+ /**
152
+ * Indicates if there are more results after the current page.
153
+ * If `true`, another page of results can be retrieved.
154
+ * If `false`, this is the last page.
155
+ */
156
+ hasNext?: boolean | null;
157
+ }
158
+ interface Cursors$3 {
159
+ /** Cursor pointing to next page in the list of results. */
160
+ next?: string | null;
161
+ /** Cursor pointing to previous page in the list of results. */
162
+ prev?: string | null;
163
+ }
164
+ interface CreateConnectedDomainResponseNonNullableFields$1 {
165
+ connectedDomain?: {
166
+ id: string;
167
+ domain: string;
168
+ connectionType: ConnectionType$1;
169
+ siteInfo?: {
170
+ redirectInfo?: {
171
+ primaryDomain: string;
172
+ };
173
+ assignmentType: AssignmentType$3;
174
+ };
175
+ suppressNotifications: boolean;
176
+ dnsPropagationStatus: DnsPropagationStatus$3;
177
+ };
178
+ }
179
+ interface GetConnectedDomainResponseNonNullableFields$1 {
180
+ connectedDomain?: {
181
+ id: string;
182
+ domain: string;
183
+ connectionType: ConnectionType$1;
184
+ siteInfo?: {
185
+ redirectInfo?: {
186
+ primaryDomain: string;
187
+ };
188
+ assignmentType: AssignmentType$3;
189
+ };
190
+ suppressNotifications: boolean;
191
+ dnsPropagationStatus: DnsPropagationStatus$3;
192
+ };
193
+ }
194
+ interface ListConnectedDomainsResponseNonNullableFields$1 {
195
+ connectedDomains: {
196
+ id: string;
197
+ domain: string;
198
+ connectionType: ConnectionType$1;
199
+ siteInfo?: {
200
+ redirectInfo?: {
201
+ primaryDomain: string;
202
+ };
203
+ assignmentType: AssignmentType$3;
204
+ };
205
+ suppressNotifications: boolean;
206
+ dnsPropagationStatus: DnsPropagationStatus$3;
207
+ }[];
208
+ }
209
+
210
+ /** A `connectedDomain` object holds information about an external domain and its connection to a Wix site. */
211
+ interface ConnectedDomain {
212
+ /**
213
+ * ID of the connected domain. Identical to the domain name including TLD.
214
+ * @readonly
215
+ */
216
+ _id?: string;
217
+ /**
218
+ * Domain name including TLD.
219
+ * Both root domains and subdomains are supported.
220
+ */
221
+ domain?: string;
222
+ /**
223
+ * How the domain is connected to the Wix site.
224
+ *
225
+ * + `"UNKNOWN_CONNECTION_TYPE"`: There is no information about the connection type.
226
+ * + `"POINTING"`: The domain is connected by pointing. Wix doesn't manage DNS information.
227
+ * + `"NAMESERVERS"`: The domain is connected by nameservers. Wix manages DNS information.
228
+ * + `"HIDDEN"`: The domain isn't visible to site visitors.
229
+ */
230
+ connectionType?: ConnectionType;
231
+ /**
232
+ * Information about the site to which the domain is assigned to and whether
233
+ * it's the primary domain or a redirect.
234
+ */
235
+ siteInfo?: SiteInfo$2;
236
+ /**
237
+ * Whether the site owner receives standard email notifications from Wix about
238
+ * the connected domain.
239
+ *
240
+ * Default: `false`
241
+ */
242
+ suppressNotifications?: boolean;
243
+ /**
244
+ * DNS propagation status.
245
+ *
246
+ * + `"UNKNOWN_DNS_PROPAGATION_STATUS"`: There's no information about the domain's DNS propagation status.
247
+ * + `"IN_PROGRESS"`: The domain's DNS propagation process has started but hasn't successfully completed yet.
248
+ * + `"COMPLETED"`: The domain's DNS propagation process has successfully finished.
249
+ * + `"FAILED"`: The domain's DNS propagation process has failed.
250
+ * @readonly
251
+ */
252
+ dnsPropagationStatus?: DnsPropagationStatus$2;
253
+ }
254
+ declare enum ConnectionType {
255
+ /** Used by sub domain */
256
+ UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
257
+ POINTING = "POINTING",
258
+ NAMESERVERS = "NAMESERVERS",
259
+ /**
260
+ * internal used by photography company.
261
+ * when a customer creates a photo album, each album has its sub domain and this sub domain
262
+ * is not visible in my domains page.
263
+ */
264
+ HIDDEN = "HIDDEN"
265
+ }
266
+ interface SiteInfo$2 extends SiteInfoAssignmentInfoOneOf$2 {
267
+ /**
268
+ * Extra details in case assignment type is redirect.
269
+ * @readonly
270
+ */
271
+ redirectInfo?: RedirectAssignmentInfo$2;
272
+ /**
273
+ * ID of the site the domain is assigned to, will be taken from context.
274
+ * @readonly
275
+ */
276
+ _id?: string | null;
277
+ /**
278
+ * The assignment type the relationship will be based on:
279
+ * + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type
280
+ * + `"PRIMARY"`: There can only be one primary domain per site, the result of this assignment type is that the domain will lead directly to a site.
281
+ * + `"REDIRECT"`: There can be multiple redirect domains. the result of this assignment type is that the redirects will lead to the primary domain
282
+ * Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
283
+ */
284
+ assignmentType?: AssignmentType$2;
285
+ }
286
+ /** @oneof */
287
+ interface SiteInfoAssignmentInfoOneOf$2 {
288
+ /**
289
+ * Extra details in case assignment type is redirect.
290
+ * @readonly
291
+ */
292
+ redirectInfo?: RedirectAssignmentInfo$2;
293
+ }
294
+ declare enum AssignmentType$2 {
295
+ UNKNOWN_ASSIGNMENT_TYPE = "UNKNOWN_ASSIGNMENT_TYPE",
296
+ PRIMARY = "PRIMARY",
297
+ REDIRECT = "REDIRECT"
298
+ }
299
+ interface RedirectAssignmentInfo$2 {
300
+ /**
301
+ * Primary domain the redirect points to.
302
+ * @readonly
303
+ */
304
+ primaryDomain?: string;
305
+ }
306
+ declare enum DnsPropagationStatus$2 {
307
+ UNKNOWN_DNS_PROPAGATION_STATUS = "UNKNOWN_DNS_PROPAGATION_STATUS",
308
+ COMPLETED = "COMPLETED",
309
+ FAILED = "FAILED",
310
+ IN_PROGRESS = "IN_PROGRESS"
311
+ }
312
+ interface CreateConnectedDomainRequest {
313
+ /** Domain to connect. */
314
+ connectedDomain: ConnectedDomain;
315
+ }
316
+ interface CreateConnectedDomainResponse {
317
+ /** Connected domain. */
318
+ connectedDomain?: ConnectedDomain;
319
+ }
320
+ interface GetConnectedDomainRequest {
321
+ /** ID of the connected domain. Identical to the domain name including TLD. */
322
+ connectedDomainId: string;
323
+ }
324
+ interface GetConnectedDomainResponse {
325
+ /** Retrieved connected domain. */
326
+ connectedDomain?: ConnectedDomain;
327
+ }
328
+ interface ListConnectedDomainsRequest {
329
+ /** Cursor paging options. */
330
+ paging?: CursorPaging$2;
331
+ }
332
+ interface CursorPaging$2 {
333
+ /**
334
+ * Number of domains to load.
335
+ *
336
+ * Min: `0`
337
+ * Max: `100`
338
+ */
339
+ limit?: number | null;
340
+ /**
341
+ * Pointer to the next or previous page in the list of results.
342
+ *
343
+ * You can get the relevant cursor token
344
+ * from the `pagingMetadata` object in the previous call's response.
345
+ * Not relevant for the first request.
346
+ */
347
+ cursor?: string | null;
348
+ }
349
+ interface ListConnectedDomainsResponse {
350
+ /** Metadata about the returned list of connected domains. */
351
+ pagingMetadata?: CursorPagingMetadata$2;
352
+ /** Retrieved connected domains. */
353
+ connectedDomains?: ConnectedDomain[];
354
+ }
355
+ interface CursorPagingMetadata$2 {
356
+ /** Number of domains returned in the response. */
357
+ count?: number | null;
358
+ /** Offset that was requested. */
359
+ cursors?: Cursors$2;
360
+ /**
361
+ * Indicates if there are more results after the current page.
362
+ * If `true`, another page of results can be retrieved.
363
+ * If `false`, this is the last page.
364
+ */
365
+ hasNext?: boolean | null;
366
+ }
367
+ interface Cursors$2 {
368
+ /** Cursor pointing to next page in the list of results. */
369
+ next?: string | null;
370
+ /** Cursor pointing to previous page in the list of results. */
371
+ prev?: string | null;
372
+ }
373
+ interface CreateConnectedDomainResponseNonNullableFields {
374
+ connectedDomain?: {
375
+ _id: string;
376
+ domain: string;
377
+ connectionType: ConnectionType;
378
+ siteInfo?: {
379
+ redirectInfo?: {
380
+ primaryDomain: string;
381
+ };
382
+ assignmentType: AssignmentType$2;
383
+ };
384
+ suppressNotifications: boolean;
385
+ dnsPropagationStatus: DnsPropagationStatus$2;
386
+ };
387
+ }
388
+ interface GetConnectedDomainResponseNonNullableFields {
389
+ connectedDomain?: {
390
+ _id: string;
391
+ domain: string;
392
+ connectionType: ConnectionType;
393
+ siteInfo?: {
394
+ redirectInfo?: {
395
+ primaryDomain: string;
396
+ };
397
+ assignmentType: AssignmentType$2;
398
+ };
399
+ suppressNotifications: boolean;
400
+ dnsPropagationStatus: DnsPropagationStatus$2;
401
+ };
402
+ }
403
+ interface ListConnectedDomainsResponseNonNullableFields {
404
+ connectedDomains: {
405
+ _id: string;
406
+ domain: string;
407
+ connectionType: ConnectionType;
408
+ siteInfo?: {
409
+ redirectInfo?: {
410
+ primaryDomain: string;
411
+ };
412
+ assignmentType: AssignmentType$2;
413
+ };
414
+ suppressNotifications: boolean;
415
+ dnsPropagationStatus: DnsPropagationStatus$2;
416
+ }[];
417
+ }
418
+
419
+ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
420
+ getUrl: (context: any) => string;
421
+ httpMethod: K;
422
+ path: string;
423
+ pathParams: M;
424
+ __requestType: T;
425
+ __originalRequestType: S;
426
+ __responseType: Q;
427
+ __originalResponseType: R;
428
+ };
429
+ declare function createConnectedDomain(): __PublicMethodMetaInfo$3<'POST', {}, CreateConnectedDomainRequest, CreateConnectedDomainRequest$1, CreateConnectedDomainResponse & CreateConnectedDomainResponseNonNullableFields, CreateConnectedDomainResponse$1 & CreateConnectedDomainResponseNonNullableFields$1>;
430
+ declare function getConnectedDomain(): __PublicMethodMetaInfo$3<'GET', {
431
+ connectedDomainId: string;
432
+ }, GetConnectedDomainRequest, GetConnectedDomainRequest$1, GetConnectedDomainResponse & GetConnectedDomainResponseNonNullableFields, GetConnectedDomainResponse$1 & GetConnectedDomainResponseNonNullableFields$1>;
433
+ declare function listConnectedDomains(): __PublicMethodMetaInfo$3<'GET', {}, ListConnectedDomainsRequest, ListConnectedDomainsRequest$1, ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields, ListConnectedDomainsResponse$1 & ListConnectedDomainsResponseNonNullableFields$1>;
434
+
435
+ declare const meta$3_createConnectedDomain: typeof createConnectedDomain;
436
+ declare const meta$3_getConnectedDomain: typeof getConnectedDomain;
437
+ declare const meta$3_listConnectedDomains: typeof listConnectedDomains;
438
+ declare namespace meta$3 {
439
+ export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_createConnectedDomain as createConnectedDomain, meta$3_getConnectedDomain as getConnectedDomain, meta$3_listConnectedDomains as listConnectedDomains };
440
+ }
441
+
442
+ /**
443
+ * A `connectedDomainSetupInfo` object holds information the connected domain's
444
+ * external registrar and some DNS records. You can use this information to guide
445
+ * the site owner through the domain's setup process.
446
+ */
447
+ interface ConnectedDomainSetupInfo$1 extends ConnectedDomainSetupInfoDnsRecordsOneOf$1 {
448
+ /**
449
+ * Information about domains connected using nameservers. Available only for
450
+ * `{"connectionType": "NAMESERVERS"}`.
451
+ */
452
+ nameserverRecord?: NameserverRecord$1;
453
+ /**
454
+ * Information about domains connected by pointing. Available only for
455
+ * `{"connectionType": "POINTING"}`.
456
+ * @readonly
457
+ */
458
+ pointingRecords?: PointingRecords$1;
459
+ /**
460
+ * Information about subdomains. Available only for subdomains.
461
+ * @readonly
462
+ */
463
+ subdomainRecords?: SubdomainRecords$1;
464
+ /** ID of the connected domain. Identical to the domain name including TLD. */
465
+ connectedDomainId?: string;
466
+ /**
467
+ * Information about the external domain registrar including current name
468
+ * servers.
469
+ */
470
+ registrar?: Registrar$1;
471
+ }
472
+ /** @oneof */
473
+ interface ConnectedDomainSetupInfoDnsRecordsOneOf$1 {
474
+ /**
475
+ * Information about domains connected using nameservers. Available only for
476
+ * `{"connectionType": "NAMESERVERS"}`.
477
+ */
478
+ nameserverRecord?: NameserverRecord$1;
479
+ /**
480
+ * Information about domains connected by pointing. Available only for
481
+ * `{"connectionType": "POINTING"}`.
482
+ * @readonly
483
+ */
484
+ pointingRecords?: PointingRecords$1;
485
+ /**
486
+ * Information about subdomains. Available only for subdomains.
487
+ * @readonly
488
+ */
489
+ subdomainRecords?: SubdomainRecords$1;
490
+ }
491
+ interface Registrar$1 {
492
+ /**
493
+ * Name of the external domain registrar. For subdomains it's the registrar of the root domain.
494
+ * @readonly
495
+ */
496
+ name?: string | null;
497
+ /**
498
+ * Values of the current name server records. In case you connect an external
499
+ * domain using name servers, site owners must replace these current name servers
500
+ * with the new name servers found in `connectedDomainSetupInfo.nameserverRecord.nsRecord.values`
501
+ * during the initial domain setup.
502
+ * The replacement can't be performed through Wix APIs, you must use the
503
+ * infrastructure of the external domain registrar. Read more about
504
+ * [connecting domains using nameservers](https://dev.wix.com/api/rest/account-level-apis/connected-domains/sample-flows#account-level-apis_connected-domains_sample-flows_connect-an-external-domain-using-nameservers).
505
+ * @readonly
506
+ */
507
+ nameServers?: string[];
508
+ }
509
+ /** Information about domains connected by nameservers. */
510
+ interface NameserverRecord$1 {
511
+ /**
512
+ * Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).
513
+ * @readonly
514
+ */
515
+ nsRecord?: NsRecord$1;
516
+ }
517
+ interface NsRecord$1 {
518
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
519
+ hostName?: string;
520
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
521
+ ttl?: number;
522
+ /** DNS record values. */
523
+ values?: string[];
524
+ }
525
+ /** Information about domains connected by pointing. */
526
+ interface PointingRecords$1 {
527
+ /**
528
+ * [Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).
529
+ * @readonly
530
+ */
531
+ aRecord?: ARecord$1;
532
+ /**
533
+ * [Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).
534
+ * @readonly
535
+ */
536
+ cnameRecord?: CnameRecord$1;
537
+ }
538
+ interface ARecord$1 {
539
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
540
+ hostName?: string;
541
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
542
+ ttl?: number;
543
+ /** DNS record values. */
544
+ values?: string[];
545
+ }
546
+ interface CnameRecord$1 {
547
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
548
+ hostName?: string;
549
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
550
+ ttl?: number;
551
+ /** DNS record value. */
552
+ value?: string;
553
+ }
554
+ /** Information about subdomains. */
555
+ interface SubdomainRecords$1 {
556
+ /**
557
+ * [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
558
+ * @readonly
559
+ */
560
+ cnameRecords?: CnameRecord$1[];
561
+ }
562
+ interface GetConnectedDomainSetupInfoRequest$1 {
563
+ /**
564
+ * ID of the connected domain to retrieve setup information for.
565
+ * Identical to the domain name including TLD.
566
+ */
567
+ connectedDomainId: string;
568
+ }
569
+ interface GetConnectedDomainSetupInfoResponse$1 {
570
+ /** Retrieved setup information. */
571
+ connectedDomainSetupInfo?: ConnectedDomainSetupInfo$1;
572
+ }
573
+ interface GetConnectedDomainSetupInfoResponseNonNullableFields$1 {
574
+ connectedDomainSetupInfo?: {
575
+ nameserverRecord?: {
576
+ nsRecord?: {
577
+ hostName: string;
578
+ ttl: number;
579
+ values: string[];
580
+ };
581
+ };
582
+ pointingRecords?: {
583
+ aRecord?: {
584
+ hostName: string;
585
+ ttl: number;
586
+ values: string[];
587
+ };
588
+ cnameRecord?: {
589
+ hostName: string;
590
+ ttl: number;
591
+ value: string;
592
+ };
593
+ };
594
+ subdomainRecords?: {
595
+ cnameRecords: {
596
+ hostName: string;
597
+ ttl: number;
598
+ value: string;
599
+ }[];
600
+ };
601
+ connectedDomainId: string;
602
+ registrar?: {
603
+ nameServers: string[];
604
+ };
605
+ };
606
+ }
607
+
608
+ /**
609
+ * A `connectedDomainSetupInfo` object holds information the connected domain's
610
+ * external registrar and some DNS records. You can use this information to guide
611
+ * the site owner through the domain's setup process.
612
+ */
613
+ interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRecordsOneOf {
614
+ /**
615
+ * Information about domains connected using nameservers. Available only for
616
+ * `{"connectionType": "NAMESERVERS"}`.
617
+ */
618
+ nameserverRecord?: NameserverRecord;
619
+ /**
620
+ * Information about domains connected by pointing. Available only for
621
+ * `{"connectionType": "POINTING"}`.
622
+ * @readonly
623
+ */
624
+ pointingRecords?: PointingRecords;
625
+ /**
626
+ * Information about subdomains. Available only for subdomains.
627
+ * @readonly
628
+ */
629
+ subdomainRecords?: SubdomainRecords;
630
+ /** ID of the connected domain. Identical to the domain name including TLD. */
631
+ connectedDomainId?: string;
632
+ /**
633
+ * Information about the external domain registrar including current name
634
+ * servers.
635
+ */
636
+ registrar?: Registrar;
637
+ }
638
+ /** @oneof */
639
+ interface ConnectedDomainSetupInfoDnsRecordsOneOf {
640
+ /**
641
+ * Information about domains connected using nameservers. Available only for
642
+ * `{"connectionType": "NAMESERVERS"}`.
643
+ */
644
+ nameserverRecord?: NameserverRecord;
645
+ /**
646
+ * Information about domains connected by pointing. Available only for
647
+ * `{"connectionType": "POINTING"}`.
648
+ * @readonly
649
+ */
650
+ pointingRecords?: PointingRecords;
651
+ /**
652
+ * Information about subdomains. Available only for subdomains.
653
+ * @readonly
654
+ */
655
+ subdomainRecords?: SubdomainRecords;
656
+ }
657
+ interface Registrar {
658
+ /**
659
+ * Name of the external domain registrar. For subdomains it's the registrar of the root domain.
660
+ * @readonly
661
+ */
662
+ name?: string | null;
663
+ /**
664
+ * Values of the current name server records. In case you connect an external
665
+ * domain using name servers, site owners must replace these current name servers
666
+ * with the new name servers found in `connectedDomainSetupInfo.nameserverRecord.nsRecord.values`
667
+ * during the initial domain setup.
668
+ * The replacement can't be performed through Wix APIs, you must use the
669
+ * infrastructure of the external domain registrar. Read more about
670
+ * [connecting domains using nameservers](https://dev.wix.com/api/rest/account-level-apis/connected-domains/sample-flows#account-level-apis_connected-domains_sample-flows_connect-an-external-domain-using-nameservers).
671
+ * @readonly
672
+ */
673
+ nameServers?: string[];
674
+ }
675
+ /** Information about domains connected by nameservers. */
676
+ interface NameserverRecord {
677
+ /**
678
+ * Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).
679
+ * @readonly
680
+ */
681
+ nsRecord?: NsRecord;
682
+ }
683
+ interface NsRecord {
684
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
685
+ hostName?: string;
686
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
687
+ ttl?: number;
688
+ /** DNS record values. */
689
+ values?: string[];
690
+ }
691
+ /** Information about domains connected by pointing. */
692
+ interface PointingRecords {
693
+ /**
694
+ * [Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).
695
+ * @readonly
696
+ */
697
+ aRecord?: ARecord;
698
+ /**
699
+ * [Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).
700
+ * @readonly
701
+ */
702
+ cnameRecord?: CnameRecord;
703
+ }
704
+ interface ARecord {
705
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
706
+ hostName?: string;
707
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
708
+ ttl?: number;
709
+ /** DNS record values. */
710
+ values?: string[];
711
+ }
712
+ interface CnameRecord {
713
+ /** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
714
+ hostName?: string;
715
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
716
+ ttl?: number;
717
+ /** DNS record value. */
718
+ value?: string;
719
+ }
720
+ /** Information about subdomains. */
721
+ interface SubdomainRecords {
722
+ /**
723
+ * [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
724
+ * @readonly
725
+ */
726
+ cnameRecords?: CnameRecord[];
727
+ }
728
+ interface GetConnectedDomainSetupInfoRequest {
729
+ /**
730
+ * ID of the connected domain to retrieve setup information for.
731
+ * Identical to the domain name including TLD.
732
+ */
733
+ connectedDomainId: string;
734
+ }
735
+ interface GetConnectedDomainSetupInfoResponse {
736
+ /** Retrieved setup information. */
737
+ connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
738
+ }
739
+ interface GetConnectedDomainSetupInfoResponseNonNullableFields {
740
+ connectedDomainSetupInfo?: {
741
+ nameserverRecord?: {
742
+ nsRecord?: {
743
+ hostName: string;
744
+ ttl: number;
745
+ values: string[];
746
+ };
747
+ };
748
+ pointingRecords?: {
749
+ aRecord?: {
750
+ hostName: string;
751
+ ttl: number;
752
+ values: string[];
753
+ };
754
+ cnameRecord?: {
755
+ hostName: string;
756
+ ttl: number;
757
+ value: string;
758
+ };
759
+ };
760
+ subdomainRecords?: {
761
+ cnameRecords: {
762
+ hostName: string;
763
+ ttl: number;
764
+ value: string;
765
+ }[];
766
+ };
767
+ connectedDomainId: string;
768
+ registrar?: {
769
+ nameServers: string[];
770
+ };
771
+ };
772
+ }
773
+
774
+ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
775
+ getUrl: (context: any) => string;
776
+ httpMethod: K;
777
+ path: string;
778
+ pathParams: M;
779
+ __requestType: T;
780
+ __originalRequestType: S;
781
+ __responseType: Q;
782
+ __originalResponseType: R;
783
+ };
784
+ declare function getConnectedDomainSetupInfo(): __PublicMethodMetaInfo$2<'GET', {
785
+ connectedDomainId: string;
786
+ }, GetConnectedDomainSetupInfoRequest, GetConnectedDomainSetupInfoRequest$1, GetConnectedDomainSetupInfoResponse & GetConnectedDomainSetupInfoResponseNonNullableFields, GetConnectedDomainSetupInfoResponse$1 & GetConnectedDomainSetupInfoResponseNonNullableFields$1>;
787
+
788
+ declare const meta$2_getConnectedDomainSetupInfo: typeof getConnectedDomainSetupInfo;
789
+ declare namespace meta$2 {
790
+ export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_getConnectedDomainSetupInfo as getConnectedDomainSetupInfo };
791
+ }
792
+
793
+ /** DNS zones hold information about the records that map a domain's URL to an IP address. */
794
+ interface DnsZone$1 {
795
+ /** Domain name including the TLD. Both root domains and subdomains are supported. */
796
+ domainName?: string;
797
+ /**
798
+ * DNS records. You can only set up a single `record` object per DNS record
799
+ * type. If you want to specify multiple values for the same record type, you
800
+ * must save them in the `values` for the relevant type.
801
+ *
802
+ * Min: 2 DNS record - a DNS zone file has to have at least two required DNS records: NS and SOA records
803
+ * Max: 5000 DNS records
804
+ */
805
+ records?: DnsRecord$1[];
806
+ /**
807
+ * ID of the Dns Zone. Identical to the domain name including TLD.
808
+ * @readonly
809
+ */
810
+ id?: string;
811
+ /**
812
+ * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions) are enabled.
813
+ *
814
+ * Default: `false`
815
+ */
816
+ dnssecEnabled?: boolean;
817
+ }
818
+ interface DnsRecord$1 {
819
+ /**
820
+ * [DNS record type](https://en.wikipedia.org/wiki/List_of_DNS_record_types).
821
+ *
822
+ * + `UNKNOWN`: Default value. Used in case the record type isn't known. You can't set a record type to `UNKNOWN`.
823
+ * + `A`: Address record. Most fundamental type of DNS record that indicates the IP address of a given domain.
824
+ * + `AAAA`: Address record in [IPv6 format](https://en.wikipedia.org/wiki/IPv6).
825
+ * + `NS`: Name server record. Describes which server contains the actual DNS record.
826
+ * + `SOA`: [Start of authority record](https://en.wikipedia.org/wiki/SOA_record). Holds adminstrative information about the zone.
827
+ * + `CNAME`: [CNAME record](https://en.wikipedia.org/wiki/CNAME_record). Maps an alias name to the canonical domain name.
828
+ * + `MX`: MX record. Directs emails to mail servers.
829
+ * + `TXT`: [TXT record](https://en.wikipedia.org/wiki/TXT_record). Used by domain admins to add human readable descriptions.
830
+ * + `SPF`: SPF record. Used for email authentication.
831
+ * + `SRV`: [Service record](https://en.wikipedia.org/wiki/SRV_record). Defines the server location.
832
+ * + `PTR`: Pointer record. Specifies which host is supported for a given IP address.
833
+ * + `NAPTR`: [Name Authority Pointer record](https://en.wikipedia.org/wiki/NAPTR_record). Used by Internet telephony applications.
834
+ */
835
+ type?: RecordType$1;
836
+ /**
837
+ * Host name. Can be a subdomain. For example, `domain.com` or
838
+ * `mail.domain.com`. Equal to the domain name, except for `CNAME` records.
839
+ */
840
+ hostName?: string;
841
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
842
+ ttl?: number;
843
+ /**
844
+ * DNS record values. Wix limits DNS records to 50 values per type. External
845
+ * providers may support a different maximum number of DNS records for a
846
+ * specific type, Wix doesn't validate that you don't exceed these external
847
+ * limits.
848
+ *
849
+ * Max: 50 records
850
+ */
851
+ values?: string[];
852
+ }
853
+ declare enum RecordType$1 {
854
+ UNKNOWN = "UNKNOWN",
855
+ A = "A",
856
+ AAAA = "AAAA",
857
+ NS = "NS",
858
+ SOA = "SOA",
859
+ CNAME = "CNAME",
860
+ MX = "MX",
861
+ TXT = "TXT",
862
+ SPF = "SPF",
863
+ SRV = "SRV",
864
+ PTR = "PTR",
865
+ NAPTR = "NAPTR"
866
+ }
867
+ interface CreateDnsZoneRequest$1 {
868
+ /** DNS zone to create. */
869
+ dnsZone: DnsZone$1;
870
+ }
871
+ interface CreateDnsZoneResponse$1 {
872
+ /** Created DNS zone. */
873
+ dnsZone?: DnsZone$1;
874
+ }
875
+ interface GetDnsZoneRequest$1 {
876
+ /** Domain to retrieve the DNS zone for. */
877
+ domainName: string;
878
+ }
879
+ interface GetDnsZoneResponse$1 {
880
+ /** Retrieved DNS zone. */
881
+ dnsZone?: DnsZone$1;
882
+ }
883
+ interface UpdateDnsZoneRequest$1 {
884
+ /** Domain to update the DNS zone for. Must include the TLD. */
885
+ domainName: string;
886
+ /**
887
+ * DNS records to add to the DNS zone.
888
+ *
889
+ * Max: 10 additions
890
+ */
891
+ additions?: DnsRecord$1[];
892
+ /**
893
+ * DNS records to remove from the DNS zone.
894
+ *
895
+ * Max: 10 deletions
896
+ */
897
+ deletions?: DnsRecord$1[];
898
+ /** Whether you want to enable or disable [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions). */
899
+ dnssecEnabled?: boolean | null;
900
+ }
901
+ interface UpdateDnsZoneResponse$1 {
902
+ /** Updated DNS zone. */
903
+ dnsZone?: DnsZone$1;
904
+ }
905
+ interface DeleteDnsZoneRequest$1 {
906
+ /** Domain name to delete the DNS zone for. */
907
+ domainName: string;
908
+ }
909
+ interface DeleteDnsZoneResponse$1 {
910
+ }
911
+ interface PreviewDnsZoneRequest$1 {
912
+ /** Domain name to generate a DNS zone preview for. */
913
+ domainName: string;
914
+ }
915
+ interface PreviewDnsZoneResponse$1 {
916
+ /**
917
+ * DNS zone preview.
918
+ *
919
+ * Includes calculated `A`, `CNAME`, `NS` and `SOA` records.
920
+ */
921
+ dnsZone?: DnsZone$1;
922
+ }
923
+ interface CreateDnsZoneResponseNonNullableFields$1 {
924
+ dnsZone?: {
925
+ domainName: string;
926
+ records: {
927
+ type: RecordType$1;
928
+ hostName: string;
929
+ ttl: number;
930
+ values: string[];
931
+ }[];
932
+ id: string;
933
+ dnssecEnabled: boolean;
934
+ };
935
+ }
936
+ interface GetDnsZoneResponseNonNullableFields$1 {
937
+ dnsZone?: {
938
+ domainName: string;
939
+ records: {
940
+ type: RecordType$1;
941
+ hostName: string;
942
+ ttl: number;
943
+ values: string[];
944
+ }[];
945
+ id: string;
946
+ dnssecEnabled: boolean;
947
+ };
948
+ }
949
+ interface UpdateDnsZoneResponseNonNullableFields$1 {
950
+ dnsZone?: {
951
+ domainName: string;
952
+ records: {
953
+ type: RecordType$1;
954
+ hostName: string;
955
+ ttl: number;
956
+ values: string[];
957
+ }[];
958
+ id: string;
959
+ dnssecEnabled: boolean;
960
+ };
961
+ }
962
+ interface PreviewDnsZoneResponseNonNullableFields$1 {
963
+ dnsZone?: {
964
+ domainName: string;
965
+ records: {
966
+ type: RecordType$1;
967
+ hostName: string;
968
+ ttl: number;
969
+ values: string[];
970
+ }[];
971
+ id: string;
972
+ dnssecEnabled: boolean;
973
+ };
974
+ }
975
+
976
+ /** DNS zones hold information about the records that map a domain's URL to an IP address. */
977
+ interface DnsZone {
978
+ /** Domain name including the TLD. Both root domains and subdomains are supported. */
979
+ domainName?: string;
980
+ /**
981
+ * DNS records. You can only set up a single `record` object per DNS record
982
+ * type. If you want to specify multiple values for the same record type, you
983
+ * must save them in the `values` for the relevant type.
984
+ *
985
+ * Min: 2 DNS record - a DNS zone file has to have at least two required DNS records: NS and SOA records
986
+ * Max: 5000 DNS records
987
+ */
988
+ records?: DnsRecord[];
989
+ /**
990
+ * ID of the Dns Zone. Identical to the domain name including TLD.
991
+ * @readonly
992
+ */
993
+ _id?: string;
994
+ /**
995
+ * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions) are enabled.
996
+ *
997
+ * Default: `false`
998
+ */
999
+ dnssecEnabled?: boolean;
1000
+ }
1001
+ interface DnsRecord {
1002
+ /**
1003
+ * [DNS record type](https://en.wikipedia.org/wiki/List_of_DNS_record_types).
1004
+ *
1005
+ * + `UNKNOWN`: Default value. Used in case the record type isn't known. You can't set a record type to `UNKNOWN`.
1006
+ * + `A`: Address record. Most fundamental type of DNS record that indicates the IP address of a given domain.
1007
+ * + `AAAA`: Address record in [IPv6 format](https://en.wikipedia.org/wiki/IPv6).
1008
+ * + `NS`: Name server record. Describes which server contains the actual DNS record.
1009
+ * + `SOA`: [Start of authority record](https://en.wikipedia.org/wiki/SOA_record). Holds adminstrative information about the zone.
1010
+ * + `CNAME`: [CNAME record](https://en.wikipedia.org/wiki/CNAME_record). Maps an alias name to the canonical domain name.
1011
+ * + `MX`: MX record. Directs emails to mail servers.
1012
+ * + `TXT`: [TXT record](https://en.wikipedia.org/wiki/TXT_record). Used by domain admins to add human readable descriptions.
1013
+ * + `SPF`: SPF record. Used for email authentication.
1014
+ * + `SRV`: [Service record](https://en.wikipedia.org/wiki/SRV_record). Defines the server location.
1015
+ * + `PTR`: Pointer record. Specifies which host is supported for a given IP address.
1016
+ * + `NAPTR`: [Name Authority Pointer record](https://en.wikipedia.org/wiki/NAPTR_record). Used by Internet telephony applications.
1017
+ */
1018
+ type?: RecordType;
1019
+ /**
1020
+ * Host name. Can be a subdomain. For example, `domain.com` or
1021
+ * `mail.domain.com`. Equal to the domain name, except for `CNAME` records.
1022
+ */
1023
+ hostName?: string;
1024
+ /** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
1025
+ ttl?: number;
1026
+ /**
1027
+ * DNS record values. Wix limits DNS records to 50 values per type. External
1028
+ * providers may support a different maximum number of DNS records for a
1029
+ * specific type, Wix doesn't validate that you don't exceed these external
1030
+ * limits.
1031
+ *
1032
+ * Max: 50 records
1033
+ */
1034
+ values?: string[];
1035
+ }
1036
+ declare enum RecordType {
1037
+ UNKNOWN = "UNKNOWN",
1038
+ A = "A",
1039
+ AAAA = "AAAA",
1040
+ NS = "NS",
1041
+ SOA = "SOA",
1042
+ CNAME = "CNAME",
1043
+ MX = "MX",
1044
+ TXT = "TXT",
1045
+ SPF = "SPF",
1046
+ SRV = "SRV",
1047
+ PTR = "PTR",
1048
+ NAPTR = "NAPTR"
1049
+ }
1050
+ interface CreateDnsZoneRequest {
1051
+ /** DNS zone to create. */
1052
+ dnsZone: DnsZone;
1053
+ }
1054
+ interface CreateDnsZoneResponse {
1055
+ /** Created DNS zone. */
1056
+ dnsZone?: DnsZone;
1057
+ }
1058
+ interface GetDnsZoneRequest {
1059
+ /** Domain to retrieve the DNS zone for. */
1060
+ domainName: string;
1061
+ }
1062
+ interface GetDnsZoneResponse {
1063
+ /** Retrieved DNS zone. */
1064
+ dnsZone?: DnsZone;
1065
+ }
1066
+ interface UpdateDnsZoneRequest {
1067
+ /** Domain to update the DNS zone for. Must include the TLD. */
1068
+ domainName: string;
1069
+ /**
1070
+ * DNS records to add to the DNS zone.
1071
+ *
1072
+ * Max: 10 additions
1073
+ */
1074
+ additions?: DnsRecord[];
1075
+ /**
1076
+ * DNS records to remove from the DNS zone.
1077
+ *
1078
+ * Max: 10 deletions
1079
+ */
1080
+ deletions?: DnsRecord[];
1081
+ /** Whether you want to enable or disable [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions). */
1082
+ dnssecEnabled?: boolean | null;
1083
+ }
1084
+ interface UpdateDnsZoneResponse {
1085
+ /** Updated DNS zone. */
1086
+ dnsZone?: DnsZone;
1087
+ }
1088
+ interface DeleteDnsZoneRequest {
1089
+ /** Domain name to delete the DNS zone for. */
1090
+ domainName: string;
1091
+ }
1092
+ interface DeleteDnsZoneResponse {
1093
+ }
1094
+ interface PreviewDnsZoneRequest {
1095
+ /** Domain name to generate a DNS zone preview for. */
1096
+ domainName: string;
1097
+ }
1098
+ interface PreviewDnsZoneResponse {
1099
+ /**
1100
+ * DNS zone preview.
1101
+ *
1102
+ * Includes calculated `A`, `CNAME`, `NS` and `SOA` records.
1103
+ */
1104
+ dnsZone?: DnsZone;
1105
+ }
1106
+ interface CreateDnsZoneResponseNonNullableFields {
1107
+ dnsZone?: {
1108
+ domainName: string;
1109
+ records: {
1110
+ type: RecordType;
1111
+ hostName: string;
1112
+ ttl: number;
1113
+ values: string[];
1114
+ }[];
1115
+ _id: string;
1116
+ dnssecEnabled: boolean;
1117
+ };
1118
+ }
1119
+ interface GetDnsZoneResponseNonNullableFields {
1120
+ dnsZone?: {
1121
+ domainName: string;
1122
+ records: {
1123
+ type: RecordType;
1124
+ hostName: string;
1125
+ ttl: number;
1126
+ values: string[];
1127
+ }[];
1128
+ _id: string;
1129
+ dnssecEnabled: boolean;
1130
+ };
1131
+ }
1132
+ interface UpdateDnsZoneResponseNonNullableFields {
1133
+ dnsZone?: {
1134
+ domainName: string;
1135
+ records: {
1136
+ type: RecordType;
1137
+ hostName: string;
1138
+ ttl: number;
1139
+ values: string[];
1140
+ }[];
1141
+ _id: string;
1142
+ dnssecEnabled: boolean;
1143
+ };
1144
+ }
1145
+ interface PreviewDnsZoneResponseNonNullableFields {
1146
+ dnsZone?: {
1147
+ domainName: string;
1148
+ records: {
1149
+ type: RecordType;
1150
+ hostName: string;
1151
+ ttl: number;
1152
+ values: string[];
1153
+ }[];
1154
+ _id: string;
1155
+ dnssecEnabled: boolean;
1156
+ };
1157
+ }
1158
+
1159
+ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1160
+ getUrl: (context: any) => string;
1161
+ httpMethod: K;
1162
+ path: string;
1163
+ pathParams: M;
1164
+ __requestType: T;
1165
+ __originalRequestType: S;
1166
+ __responseType: Q;
1167
+ __originalResponseType: R;
1168
+ };
1169
+ declare function createDnsZone(): __PublicMethodMetaInfo$1<'POST', {}, CreateDnsZoneRequest, CreateDnsZoneRequest$1, CreateDnsZoneResponse & CreateDnsZoneResponseNonNullableFields, CreateDnsZoneResponse$1 & CreateDnsZoneResponseNonNullableFields$1>;
1170
+ declare function getDnsZone(): __PublicMethodMetaInfo$1<'GET', {
1171
+ domainName: string;
1172
+ }, GetDnsZoneRequest, GetDnsZoneRequest$1, GetDnsZoneResponse & GetDnsZoneResponseNonNullableFields, GetDnsZoneResponse$1 & GetDnsZoneResponseNonNullableFields$1>;
1173
+ declare function updateDnsZone(): __PublicMethodMetaInfo$1<'PATCH', {
1174
+ domainName: string;
1175
+ }, UpdateDnsZoneRequest, UpdateDnsZoneRequest$1, UpdateDnsZoneResponse & UpdateDnsZoneResponseNonNullableFields, UpdateDnsZoneResponse$1 & UpdateDnsZoneResponseNonNullableFields$1>;
1176
+ declare function deleteDnsZone(): __PublicMethodMetaInfo$1<'DELETE', {
1177
+ domainName: string;
1178
+ }, DeleteDnsZoneRequest, DeleteDnsZoneRequest$1, DeleteDnsZoneResponse, DeleteDnsZoneResponse$1>;
1179
+ declare function previewDnsZone(): __PublicMethodMetaInfo$1<'GET', {
1180
+ domainName: string;
1181
+ }, PreviewDnsZoneRequest, PreviewDnsZoneRequest$1, PreviewDnsZoneResponse & PreviewDnsZoneResponseNonNullableFields, PreviewDnsZoneResponse$1 & PreviewDnsZoneResponseNonNullableFields$1>;
1182
+
1183
+ declare const meta$1_createDnsZone: typeof createDnsZone;
1184
+ declare const meta$1_deleteDnsZone: typeof deleteDnsZone;
1185
+ declare const meta$1_getDnsZone: typeof getDnsZone;
1186
+ declare const meta$1_previewDnsZone: typeof previewDnsZone;
1187
+ declare const meta$1_updateDnsZone: typeof updateDnsZone;
1188
+ declare namespace meta$1 {
1189
+ export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_createDnsZone as createDnsZone, meta$1_deleteDnsZone as deleteDnsZone, meta$1_getDnsZone as getDnsZone, meta$1_previewDnsZone as previewDnsZone, meta$1_updateDnsZone as updateDnsZone };
1190
+ }
1191
+
1
1192
  /**
2
1193
  * A registered domain is a domain that Wix has registered on behalf of a customer
3
1194
  * with an external registar.
@@ -1450,4 +2641,4 @@ declare namespace meta {
1450
2641
  export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createRegisteredDomain as createRegisteredDomain, meta_getRegisteredDomain as getRegisteredDomain, meta_listRegisteredDomains as listRegisteredDomains, meta_redeemRegisteredDomain as redeemRegisteredDomain };
1451
2642
  }
1452
2643
 
1453
- export { meta as registeredDomains };
2644
+ export { meta$2 as connectedDomainSetupInfo, meta$3 as connectedDomains, meta$1 as domainDns, meta as registeredDomains };