@wix/domains 1.0.18 → 1.0.20

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.
@@ -20,7 +20,7 @@ interface ConnectedDomain$1 {
20
20
  */
21
21
  connectionType?: ConnectionType$1;
22
22
  /**
23
- * Information about the site to which the domain is assigned to and whether
23
+ * Information about the site to which the domain is assigned, and whether
24
24
  * it's the primary domain or a redirect.
25
25
  */
26
26
  siteInfo?: SiteInfo$3;
@@ -56,20 +56,20 @@ declare enum ConnectionType$1 {
56
56
  }
57
57
  interface SiteInfo$3 extends SiteInfoAssignmentInfoOneOf$3 {
58
58
  /**
59
- * Extra details in case assignment type is redirect.
59
+ * Redirect information, relevant when `assignmentType` = `REDIRECT`.
60
60
  * @readonly
61
61
  */
62
62
  redirectInfo?: RedirectAssignmentInfo$3;
63
63
  /**
64
- * ID of the site the domain is assigned to, will be taken from context.
64
+ * ID of the site to which the domain is assigned.
65
65
  * @readonly
66
66
  */
67
67
  id?: string | null;
68
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
69
+ * The relationship assigned for this domain to the site:
70
+ * + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type.
71
+ * + `"PRIMARY"`: The singular primary domain for a site. When this type is assigned, this domain will lead directly to the site.
72
+ * + `"REDIRECT"`: A redirect domain for a site. Each site can have multiple redirect domains. When this type is assigned, this domain will redirect to the primary domain.
73
73
  * Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
74
74
  */
75
75
  assignmentType?: AssignmentType$3;
@@ -77,7 +77,7 @@ interface SiteInfo$3 extends SiteInfoAssignmentInfoOneOf$3 {
77
77
  /** @oneof */
78
78
  interface SiteInfoAssignmentInfoOneOf$3 {
79
79
  /**
80
- * Extra details in case assignment type is redirect.
80
+ * Redirect information, relevant when `assignmentType` = `REDIRECT`.
81
81
  * @readonly
82
82
  */
83
83
  redirectInfo?: RedirectAssignmentInfo$3;
@@ -89,7 +89,7 @@ declare enum AssignmentType$3 {
89
89
  }
90
90
  interface RedirectAssignmentInfo$3 {
91
91
  /**
92
- * Primary domain the redirect points to.
92
+ * Primary domain to which this domain will redirect.
93
93
  * @readonly
94
94
  */
95
95
  primaryDomain?: string;
@@ -167,50 +167,29 @@ interface Cursors$5 {
167
167
  /** Cursor pointing to previous page in the list of results. */
168
168
  prev?: string | null;
169
169
  }
170
+ interface RedirectAssignmentInfoNonNullableFields$3 {
171
+ primaryDomain: string;
172
+ }
173
+ interface SiteInfoNonNullableFields$3 {
174
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields$3;
175
+ assignmentType: AssignmentType$3;
176
+ }
177
+ interface ConnectedDomainNonNullableFields$1 {
178
+ id: string;
179
+ domain: string;
180
+ connectionType: ConnectionType$1;
181
+ siteInfo?: SiteInfoNonNullableFields$3;
182
+ suppressNotifications: boolean;
183
+ dnsPropagationStatus: DnsPropagationStatus$3;
184
+ }
170
185
  interface CreateConnectedDomainResponseNonNullableFields$1 {
171
- connectedDomain?: {
172
- id: string;
173
- domain: string;
174
- connectionType: ConnectionType$1;
175
- siteInfo?: {
176
- redirectInfo?: {
177
- primaryDomain: string;
178
- };
179
- assignmentType: AssignmentType$3;
180
- };
181
- suppressNotifications: boolean;
182
- dnsPropagationStatus: DnsPropagationStatus$3;
183
- };
186
+ connectedDomain?: ConnectedDomainNonNullableFields$1;
184
187
  }
185
188
  interface GetConnectedDomainResponseNonNullableFields$1 {
186
- connectedDomain?: {
187
- id: string;
188
- domain: string;
189
- connectionType: ConnectionType$1;
190
- siteInfo?: {
191
- redirectInfo?: {
192
- primaryDomain: string;
193
- };
194
- assignmentType: AssignmentType$3;
195
- };
196
- suppressNotifications: boolean;
197
- dnsPropagationStatus: DnsPropagationStatus$3;
198
- };
189
+ connectedDomain?: ConnectedDomainNonNullableFields$1;
199
190
  }
200
191
  interface ListConnectedDomainsResponseNonNullableFields$1 {
201
- connectedDomains: {
202
- id: string;
203
- domain: string;
204
- connectionType: ConnectionType$1;
205
- siteInfo?: {
206
- redirectInfo?: {
207
- primaryDomain: string;
208
- };
209
- assignmentType: AssignmentType$3;
210
- };
211
- suppressNotifications: boolean;
212
- dnsPropagationStatus: DnsPropagationStatus$3;
213
- }[];
192
+ connectedDomains: ConnectedDomainNonNullableFields$1[];
214
193
  }
215
194
 
216
195
  /** A `connectedDomain` object holds information about an external domain and its connection to a Wix site. */
@@ -235,7 +214,7 @@ interface ConnectedDomain {
235
214
  */
236
215
  connectionType?: ConnectionType;
237
216
  /**
238
- * Information about the site to which the domain is assigned to and whether
217
+ * Information about the site to which the domain is assigned, and whether
239
218
  * it's the primary domain or a redirect.
240
219
  */
241
220
  siteInfo?: SiteInfo$2;
@@ -271,20 +250,20 @@ declare enum ConnectionType {
271
250
  }
272
251
  interface SiteInfo$2 extends SiteInfoAssignmentInfoOneOf$2 {
273
252
  /**
274
- * Extra details in case assignment type is redirect.
253
+ * Redirect information, relevant when `assignmentType` = `REDIRECT`.
275
254
  * @readonly
276
255
  */
277
256
  redirectInfo?: RedirectAssignmentInfo$2;
278
257
  /**
279
- * ID of the site the domain is assigned to, will be taken from context.
258
+ * ID of the site to which the domain is assigned.
280
259
  * @readonly
281
260
  */
282
261
  _id?: string | null;
283
262
  /**
284
- * The assignment type the relationship will be based on:
285
- * + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type
286
- * + `"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.
287
- * + `"REDIRECT"`: There can be multiple redirect domains. the result of this assignment type is that the redirects will lead to the primary domain
263
+ * The relationship assigned for this domain to the site:
264
+ * + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type.
265
+ * + `"PRIMARY"`: The singular primary domain for a site. When this type is assigned, this domain will lead directly to the site.
266
+ * + `"REDIRECT"`: A redirect domain for a site. Each site can have multiple redirect domains. When this type is assigned, this domain will redirect to the primary domain.
288
267
  * Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
289
268
  */
290
269
  assignmentType?: AssignmentType$2;
@@ -292,7 +271,7 @@ interface SiteInfo$2 extends SiteInfoAssignmentInfoOneOf$2 {
292
271
  /** @oneof */
293
272
  interface SiteInfoAssignmentInfoOneOf$2 {
294
273
  /**
295
- * Extra details in case assignment type is redirect.
274
+ * Redirect information, relevant when `assignmentType` = `REDIRECT`.
296
275
  * @readonly
297
276
  */
298
277
  redirectInfo?: RedirectAssignmentInfo$2;
@@ -304,7 +283,7 @@ declare enum AssignmentType$2 {
304
283
  }
305
284
  interface RedirectAssignmentInfo$2 {
306
285
  /**
307
- * Primary domain the redirect points to.
286
+ * Primary domain to which this domain will redirect.
308
287
  * @readonly
309
288
  */
310
289
  primaryDomain?: string;
@@ -382,50 +361,29 @@ interface Cursors$4 {
382
361
  /** Cursor pointing to previous page in the list of results. */
383
362
  prev?: string | null;
384
363
  }
364
+ interface RedirectAssignmentInfoNonNullableFields$2 {
365
+ primaryDomain: string;
366
+ }
367
+ interface SiteInfoNonNullableFields$2 {
368
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields$2;
369
+ assignmentType: AssignmentType$2;
370
+ }
371
+ interface ConnectedDomainNonNullableFields {
372
+ _id: string;
373
+ domain: string;
374
+ connectionType: ConnectionType;
375
+ siteInfo?: SiteInfoNonNullableFields$2;
376
+ suppressNotifications: boolean;
377
+ dnsPropagationStatus: DnsPropagationStatus$2;
378
+ }
385
379
  interface CreateConnectedDomainResponseNonNullableFields {
386
- connectedDomain?: {
387
- _id: string;
388
- domain: string;
389
- connectionType: ConnectionType;
390
- siteInfo?: {
391
- redirectInfo?: {
392
- primaryDomain: string;
393
- };
394
- assignmentType: AssignmentType$2;
395
- };
396
- suppressNotifications: boolean;
397
- dnsPropagationStatus: DnsPropagationStatus$2;
398
- };
380
+ connectedDomain?: ConnectedDomainNonNullableFields;
399
381
  }
400
382
  interface GetConnectedDomainResponseNonNullableFields {
401
- connectedDomain?: {
402
- _id: string;
403
- domain: string;
404
- connectionType: ConnectionType;
405
- siteInfo?: {
406
- redirectInfo?: {
407
- primaryDomain: string;
408
- };
409
- assignmentType: AssignmentType$2;
410
- };
411
- suppressNotifications: boolean;
412
- dnsPropagationStatus: DnsPropagationStatus$2;
413
- };
383
+ connectedDomain?: ConnectedDomainNonNullableFields;
414
384
  }
415
385
  interface ListConnectedDomainsResponseNonNullableFields {
416
- connectedDomains: {
417
- _id: string;
418
- domain: string;
419
- connectionType: ConnectionType;
420
- siteInfo?: {
421
- redirectInfo?: {
422
- primaryDomain: string;
423
- };
424
- assignmentType: AssignmentType$2;
425
- };
426
- suppressNotifications: boolean;
427
- dnsPropagationStatus: DnsPropagationStatus$2;
428
- }[];
386
+ connectedDomains: ConnectedDomainNonNullableFields[];
429
387
  }
430
388
 
431
389
  type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -586,39 +544,43 @@ interface GetConnectedDomainSetupInfoResponse$1 {
586
544
  /** Retrieved setup information. */
587
545
  connectedDomainSetupInfo?: ConnectedDomainSetupInfo$1;
588
546
  }
547
+ interface NsRecordNonNullableFields$1 {
548
+ hostName: string;
549
+ ttl: number;
550
+ values: string[];
551
+ }
552
+ interface NameserverRecordNonNullableFields$1 {
553
+ nsRecord?: NsRecordNonNullableFields$1;
554
+ }
555
+ interface ARecordNonNullableFields$1 {
556
+ hostName: string;
557
+ ttl: number;
558
+ values: string[];
559
+ }
560
+ interface CnameRecordNonNullableFields$1 {
561
+ hostName: string;
562
+ ttl: number;
563
+ value: string;
564
+ }
565
+ interface PointingRecordsNonNullableFields$1 {
566
+ aRecord?: ARecordNonNullableFields$1;
567
+ cnameRecord?: CnameRecordNonNullableFields$1;
568
+ }
569
+ interface SubdomainRecordsNonNullableFields$1 {
570
+ cnameRecords: CnameRecordNonNullableFields$1[];
571
+ }
572
+ interface RegistrarNonNullableFields$1 {
573
+ nameServers: string[];
574
+ }
575
+ interface ConnectedDomainSetupInfoNonNullableFields$1 {
576
+ nameserverRecord?: NameserverRecordNonNullableFields$1;
577
+ pointingRecords?: PointingRecordsNonNullableFields$1;
578
+ subdomainRecords?: SubdomainRecordsNonNullableFields$1;
579
+ connectedDomainId: string;
580
+ registrar?: RegistrarNonNullableFields$1;
581
+ }
589
582
  interface GetConnectedDomainSetupInfoResponseNonNullableFields$1 {
590
- connectedDomainSetupInfo?: {
591
- nameserverRecord?: {
592
- nsRecord?: {
593
- hostName: string;
594
- ttl: number;
595
- values: string[];
596
- };
597
- };
598
- pointingRecords?: {
599
- aRecord?: {
600
- hostName: string;
601
- ttl: number;
602
- values: string[];
603
- };
604
- cnameRecord?: {
605
- hostName: string;
606
- ttl: number;
607
- value: string;
608
- };
609
- };
610
- subdomainRecords?: {
611
- cnameRecords: {
612
- hostName: string;
613
- ttl: number;
614
- value: string;
615
- }[];
616
- };
617
- connectedDomainId: string;
618
- registrar?: {
619
- nameServers: string[];
620
- };
621
- };
583
+ connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields$1;
622
584
  }
623
585
 
624
586
  /**
@@ -752,39 +714,43 @@ interface GetConnectedDomainSetupInfoResponse {
752
714
  /** Retrieved setup information. */
753
715
  connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
754
716
  }
717
+ interface NsRecordNonNullableFields {
718
+ hostName: string;
719
+ ttl: number;
720
+ values: string[];
721
+ }
722
+ interface NameserverRecordNonNullableFields {
723
+ nsRecord?: NsRecordNonNullableFields;
724
+ }
725
+ interface ARecordNonNullableFields {
726
+ hostName: string;
727
+ ttl: number;
728
+ values: string[];
729
+ }
730
+ interface CnameRecordNonNullableFields {
731
+ hostName: string;
732
+ ttl: number;
733
+ value: string;
734
+ }
735
+ interface PointingRecordsNonNullableFields {
736
+ aRecord?: ARecordNonNullableFields;
737
+ cnameRecord?: CnameRecordNonNullableFields;
738
+ }
739
+ interface SubdomainRecordsNonNullableFields {
740
+ cnameRecords: CnameRecordNonNullableFields[];
741
+ }
742
+ interface RegistrarNonNullableFields {
743
+ nameServers: string[];
744
+ }
745
+ interface ConnectedDomainSetupInfoNonNullableFields {
746
+ nameserverRecord?: NameserverRecordNonNullableFields;
747
+ pointingRecords?: PointingRecordsNonNullableFields;
748
+ subdomainRecords?: SubdomainRecordsNonNullableFields;
749
+ connectedDomainId: string;
750
+ registrar?: RegistrarNonNullableFields;
751
+ }
755
752
  interface GetConnectedDomainSetupInfoResponseNonNullableFields {
756
- connectedDomainSetupInfo?: {
757
- nameserverRecord?: {
758
- nsRecord?: {
759
- hostName: string;
760
- ttl: number;
761
- values: string[];
762
- };
763
- };
764
- pointingRecords?: {
765
- aRecord?: {
766
- hostName: string;
767
- ttl: number;
768
- values: string[];
769
- };
770
- cnameRecord?: {
771
- hostName: string;
772
- ttl: number;
773
- value: string;
774
- };
775
- };
776
- subdomainRecords?: {
777
- cnameRecords: {
778
- hostName: string;
779
- ttl: number;
780
- value: string;
781
- }[];
782
- };
783
- connectedDomainId: string;
784
- registrar?: {
785
- nameServers: string[];
786
- };
787
- };
753
+ connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields;
788
754
  }
789
755
 
790
756
  type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -936,57 +902,29 @@ interface PreviewDnsZoneResponse$1 {
936
902
  */
937
903
  dnsZone?: DnsZone$1;
938
904
  }
905
+ interface DnsRecordNonNullableFields$1 {
906
+ type: RecordType$1;
907
+ hostName: string;
908
+ ttl: number;
909
+ values: string[];
910
+ }
911
+ interface DnsZoneNonNullableFields$1 {
912
+ domainName: string;
913
+ records: DnsRecordNonNullableFields$1[];
914
+ id: string;
915
+ dnssecEnabled: boolean;
916
+ }
939
917
  interface CreateDnsZoneResponseNonNullableFields$1 {
940
- dnsZone?: {
941
- domainName: string;
942
- records: {
943
- type: RecordType$1;
944
- hostName: string;
945
- ttl: number;
946
- values: string[];
947
- }[];
948
- id: string;
949
- dnssecEnabled: boolean;
950
- };
918
+ dnsZone?: DnsZoneNonNullableFields$1;
951
919
  }
952
920
  interface GetDnsZoneResponseNonNullableFields$1 {
953
- dnsZone?: {
954
- domainName: string;
955
- records: {
956
- type: RecordType$1;
957
- hostName: string;
958
- ttl: number;
959
- values: string[];
960
- }[];
961
- id: string;
962
- dnssecEnabled: boolean;
963
- };
921
+ dnsZone?: DnsZoneNonNullableFields$1;
964
922
  }
965
923
  interface UpdateDnsZoneResponseNonNullableFields$1 {
966
- dnsZone?: {
967
- domainName: string;
968
- records: {
969
- type: RecordType$1;
970
- hostName: string;
971
- ttl: number;
972
- values: string[];
973
- }[];
974
- id: string;
975
- dnssecEnabled: boolean;
976
- };
924
+ dnsZone?: DnsZoneNonNullableFields$1;
977
925
  }
978
926
  interface PreviewDnsZoneResponseNonNullableFields$1 {
979
- dnsZone?: {
980
- domainName: string;
981
- records: {
982
- type: RecordType$1;
983
- hostName: string;
984
- ttl: number;
985
- values: string[];
986
- }[];
987
- id: string;
988
- dnssecEnabled: boolean;
989
- };
927
+ dnsZone?: DnsZoneNonNullableFields$1;
990
928
  }
991
929
 
992
930
  /** DNS zones hold information about the records that map a domain's URL to an IP address. */
@@ -1119,57 +1057,29 @@ interface PreviewDnsZoneResponse {
1119
1057
  */
1120
1058
  dnsZone?: DnsZone;
1121
1059
  }
1060
+ interface DnsRecordNonNullableFields {
1061
+ type: RecordType;
1062
+ hostName: string;
1063
+ ttl: number;
1064
+ values: string[];
1065
+ }
1066
+ interface DnsZoneNonNullableFields {
1067
+ domainName: string;
1068
+ records: DnsRecordNonNullableFields[];
1069
+ _id: string;
1070
+ dnssecEnabled: boolean;
1071
+ }
1122
1072
  interface CreateDnsZoneResponseNonNullableFields {
1123
- dnsZone?: {
1124
- domainName: string;
1125
- records: {
1126
- type: RecordType;
1127
- hostName: string;
1128
- ttl: number;
1129
- values: string[];
1130
- }[];
1131
- _id: string;
1132
- dnssecEnabled: boolean;
1133
- };
1073
+ dnsZone?: DnsZoneNonNullableFields;
1134
1074
  }
1135
1075
  interface GetDnsZoneResponseNonNullableFields {
1136
- dnsZone?: {
1137
- domainName: string;
1138
- records: {
1139
- type: RecordType;
1140
- hostName: string;
1141
- ttl: number;
1142
- values: string[];
1143
- }[];
1144
- _id: string;
1145
- dnssecEnabled: boolean;
1146
- };
1076
+ dnsZone?: DnsZoneNonNullableFields;
1147
1077
  }
1148
1078
  interface UpdateDnsZoneResponseNonNullableFields {
1149
- dnsZone?: {
1150
- domainName: string;
1151
- records: {
1152
- type: RecordType;
1153
- hostName: string;
1154
- ttl: number;
1155
- values: string[];
1156
- }[];
1157
- _id: string;
1158
- dnssecEnabled: boolean;
1159
- };
1079
+ dnsZone?: DnsZoneNonNullableFields;
1160
1080
  }
1161
1081
  interface PreviewDnsZoneResponseNonNullableFields {
1162
- dnsZone?: {
1163
- domainName: string;
1164
- records: {
1165
- type: RecordType;
1166
- hostName: string;
1167
- ttl: number;
1168
- values: string[];
1169
- }[];
1170
- _id: string;
1171
- dnssecEnabled: boolean;
1172
- };
1082
+ dnsZone?: DnsZoneNonNullableFields;
1173
1083
  }
1174
1084
 
1175
1085
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1668,253 +1578,71 @@ interface RedeemRegisteredDomainResponse$1 {
1668
1578
  /** Registered domain to redeem. */
1669
1579
  registeredDomain?: RegisteredDomain$1;
1670
1580
  }
1581
+ interface LatestAttemptNonNullableFields$1 {
1582
+ number: number;
1583
+ }
1584
+ interface PendingRegistrationInfoNonNullableFields$1 {
1585
+ latestAttempt?: LatestAttemptNonNullableFields$1;
1586
+ }
1587
+ interface FailedRegistrationInfoNonNullableFields$1 {
1588
+ code: FailureCode$1;
1589
+ message: string;
1590
+ }
1591
+ interface RedirectAssignmentInfoNonNullableFields$1 {
1592
+ primaryDomain: string;
1593
+ }
1594
+ interface SiteInfoNonNullableFields$1 {
1595
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields$1;
1596
+ assignmentType: AssignmentType$1;
1597
+ }
1598
+ interface ContactDataNonNullableFields$1 {
1599
+ firstName: string;
1600
+ lastName: string;
1601
+ email: string;
1602
+ address: string;
1603
+ city: string;
1604
+ countryCode: string;
1605
+ phone: string;
1606
+ }
1607
+ interface ContactsNonNullableFields$1 {
1608
+ registrant?: ContactDataNonNullableFields$1;
1609
+ admin?: ContactDataNonNullableFields$1;
1610
+ tech?: ContactDataNonNullableFields$1;
1611
+ }
1612
+ interface PendingNonNullableFields$1 {
1613
+ notConfirmedBy: string[];
1614
+ }
1615
+ interface ExpiredNonNullableFields$1 {
1616
+ notConfirmedBy: string[];
1617
+ }
1618
+ interface ICANNConfirmationStatusInfoNonNullableFields$1 {
1619
+ pending?: PendingNonNullableFields$1;
1620
+ expired?: ExpiredNonNullableFields$1;
1621
+ }
1622
+ interface RegisteredDomainNonNullableFields$1 {
1623
+ pendingRegistrationInfo?: PendingRegistrationInfoNonNullableFields$1;
1624
+ failedRegistrationInfo?: FailedRegistrationInfoNonNullableFields$1;
1625
+ id: string;
1626
+ domain: string;
1627
+ productInstanceId: string;
1628
+ siteInfo?: SiteInfoNonNullableFields$1;
1629
+ contacts?: ContactsNonNullableFields$1;
1630
+ status: Status$1;
1631
+ icannConfirmationStatus: ICANNConfirmationStatus$1;
1632
+ icannConfirmationStatusInfo?: ICANNConfirmationStatusInfoNonNullableFields$1;
1633
+ dnsPropagationStatus: DnsPropagationStatus$1;
1634
+ }
1671
1635
  interface CreateRegisteredDomainResponseNonNullableFields$1 {
1672
- registeredDomain?: {
1673
- pendingRegistrationInfo?: {
1674
- latestAttempt?: {
1675
- number: number;
1676
- };
1677
- };
1678
- failedRegistrationInfo?: {
1679
- code: FailureCode$1;
1680
- message: string;
1681
- };
1682
- id: string;
1683
- domain: string;
1684
- productInstanceId: string;
1685
- siteInfo?: {
1686
- redirectInfo?: {
1687
- primaryDomain: string;
1688
- };
1689
- assignmentType: AssignmentType$1;
1690
- };
1691
- contacts?: {
1692
- registrant?: {
1693
- firstName: string;
1694
- lastName: string;
1695
- email: string;
1696
- address: string;
1697
- city: string;
1698
- countryCode: string;
1699
- phone: string;
1700
- };
1701
- admin?: {
1702
- firstName: string;
1703
- lastName: string;
1704
- email: string;
1705
- address: string;
1706
- city: string;
1707
- countryCode: string;
1708
- phone: string;
1709
- };
1710
- tech?: {
1711
- firstName: string;
1712
- lastName: string;
1713
- email: string;
1714
- address: string;
1715
- city: string;
1716
- countryCode: string;
1717
- phone: string;
1718
- };
1719
- };
1720
- status: Status$1;
1721
- icannConfirmationStatus: ICANNConfirmationStatus$1;
1722
- icannConfirmationStatusInfo?: {
1723
- pending?: {
1724
- notConfirmedBy: string[];
1725
- };
1726
- expired?: {
1727
- notConfirmedBy: string[];
1728
- };
1729
- };
1730
- dnsPropagationStatus: DnsPropagationStatus$1;
1731
- };
1636
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1732
1637
  }
1733
1638
  interface GetRegisteredDomainResponseNonNullableFields$1 {
1734
- registeredDomain?: {
1735
- pendingRegistrationInfo?: {
1736
- latestAttempt?: {
1737
- number: number;
1738
- };
1739
- };
1740
- failedRegistrationInfo?: {
1741
- code: FailureCode$1;
1742
- message: string;
1743
- };
1744
- id: string;
1745
- domain: string;
1746
- productInstanceId: string;
1747
- siteInfo?: {
1748
- redirectInfo?: {
1749
- primaryDomain: string;
1750
- };
1751
- assignmentType: AssignmentType$1;
1752
- };
1753
- contacts?: {
1754
- registrant?: {
1755
- firstName: string;
1756
- lastName: string;
1757
- email: string;
1758
- address: string;
1759
- city: string;
1760
- countryCode: string;
1761
- phone: string;
1762
- };
1763
- admin?: {
1764
- firstName: string;
1765
- lastName: string;
1766
- email: string;
1767
- address: string;
1768
- city: string;
1769
- countryCode: string;
1770
- phone: string;
1771
- };
1772
- tech?: {
1773
- firstName: string;
1774
- lastName: string;
1775
- email: string;
1776
- address: string;
1777
- city: string;
1778
- countryCode: string;
1779
- phone: string;
1780
- };
1781
- };
1782
- status: Status$1;
1783
- icannConfirmationStatus: ICANNConfirmationStatus$1;
1784
- icannConfirmationStatusInfo?: {
1785
- pending?: {
1786
- notConfirmedBy: string[];
1787
- };
1788
- expired?: {
1789
- notConfirmedBy: string[];
1790
- };
1791
- };
1792
- dnsPropagationStatus: DnsPropagationStatus$1;
1793
- };
1639
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1794
1640
  }
1795
1641
  interface ListRegisteredDomainsResponseNonNullableFields$1 {
1796
- registeredDomains: {
1797
- pendingRegistrationInfo?: {
1798
- latestAttempt?: {
1799
- number: number;
1800
- };
1801
- };
1802
- failedRegistrationInfo?: {
1803
- code: FailureCode$1;
1804
- message: string;
1805
- };
1806
- id: string;
1807
- domain: string;
1808
- productInstanceId: string;
1809
- siteInfo?: {
1810
- redirectInfo?: {
1811
- primaryDomain: string;
1812
- };
1813
- assignmentType: AssignmentType$1;
1814
- };
1815
- contacts?: {
1816
- registrant?: {
1817
- firstName: string;
1818
- lastName: string;
1819
- email: string;
1820
- address: string;
1821
- city: string;
1822
- countryCode: string;
1823
- phone: string;
1824
- };
1825
- admin?: {
1826
- firstName: string;
1827
- lastName: string;
1828
- email: string;
1829
- address: string;
1830
- city: string;
1831
- countryCode: string;
1832
- phone: string;
1833
- };
1834
- tech?: {
1835
- firstName: string;
1836
- lastName: string;
1837
- email: string;
1838
- address: string;
1839
- city: string;
1840
- countryCode: string;
1841
- phone: string;
1842
- };
1843
- };
1844
- status: Status$1;
1845
- icannConfirmationStatus: ICANNConfirmationStatus$1;
1846
- icannConfirmationStatusInfo?: {
1847
- pending?: {
1848
- notConfirmedBy: string[];
1849
- };
1850
- expired?: {
1851
- notConfirmedBy: string[];
1852
- };
1853
- };
1854
- dnsPropagationStatus: DnsPropagationStatus$1;
1855
- }[];
1642
+ registeredDomains: RegisteredDomainNonNullableFields$1[];
1856
1643
  }
1857
1644
  interface RedeemRegisteredDomainResponseNonNullableFields$1 {
1858
- registeredDomain?: {
1859
- pendingRegistrationInfo?: {
1860
- latestAttempt?: {
1861
- number: number;
1862
- };
1863
- };
1864
- failedRegistrationInfo?: {
1865
- code: FailureCode$1;
1866
- message: string;
1867
- };
1868
- id: string;
1869
- domain: string;
1870
- productInstanceId: string;
1871
- siteInfo?: {
1872
- redirectInfo?: {
1873
- primaryDomain: string;
1874
- };
1875
- assignmentType: AssignmentType$1;
1876
- };
1877
- contacts?: {
1878
- registrant?: {
1879
- firstName: string;
1880
- lastName: string;
1881
- email: string;
1882
- address: string;
1883
- city: string;
1884
- countryCode: string;
1885
- phone: string;
1886
- };
1887
- admin?: {
1888
- firstName: string;
1889
- lastName: string;
1890
- email: string;
1891
- address: string;
1892
- city: string;
1893
- countryCode: string;
1894
- phone: string;
1895
- };
1896
- tech?: {
1897
- firstName: string;
1898
- lastName: string;
1899
- email: string;
1900
- address: string;
1901
- city: string;
1902
- countryCode: string;
1903
- phone: string;
1904
- };
1905
- };
1906
- status: Status$1;
1907
- icannConfirmationStatus: ICANNConfirmationStatus$1;
1908
- icannConfirmationStatusInfo?: {
1909
- pending?: {
1910
- notConfirmedBy: string[];
1911
- };
1912
- expired?: {
1913
- notConfirmedBy: string[];
1914
- };
1915
- };
1916
- dnsPropagationStatus: DnsPropagationStatus$1;
1917
- };
1645
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1918
1646
  }
1919
1647
 
1920
1648
  /**
@@ -2380,253 +2108,71 @@ interface RedeemRegisteredDomainResponse {
2380
2108
  /** Registered domain to redeem. */
2381
2109
  registeredDomain?: RegisteredDomain;
2382
2110
  }
2111
+ interface LatestAttemptNonNullableFields {
2112
+ number: number;
2113
+ }
2114
+ interface PendingRegistrationInfoNonNullableFields {
2115
+ latestAttempt?: LatestAttemptNonNullableFields;
2116
+ }
2117
+ interface FailedRegistrationInfoNonNullableFields {
2118
+ code: FailureCode;
2119
+ message: string;
2120
+ }
2121
+ interface RedirectAssignmentInfoNonNullableFields {
2122
+ primaryDomain: string;
2123
+ }
2124
+ interface SiteInfoNonNullableFields {
2125
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields;
2126
+ assignmentType: AssignmentType;
2127
+ }
2128
+ interface ContactDataNonNullableFields {
2129
+ firstName: string;
2130
+ lastName: string;
2131
+ email: string;
2132
+ address: string;
2133
+ city: string;
2134
+ countryCode: string;
2135
+ phone: string;
2136
+ }
2137
+ interface ContactsNonNullableFields {
2138
+ registrant?: ContactDataNonNullableFields;
2139
+ admin?: ContactDataNonNullableFields;
2140
+ tech?: ContactDataNonNullableFields;
2141
+ }
2142
+ interface PendingNonNullableFields {
2143
+ notConfirmedBy: string[];
2144
+ }
2145
+ interface ExpiredNonNullableFields {
2146
+ notConfirmedBy: string[];
2147
+ }
2148
+ interface ICANNConfirmationStatusInfoNonNullableFields {
2149
+ pending?: PendingNonNullableFields;
2150
+ expired?: ExpiredNonNullableFields;
2151
+ }
2152
+ interface RegisteredDomainNonNullableFields {
2153
+ pendingRegistrationInfo?: PendingRegistrationInfoNonNullableFields;
2154
+ failedRegistrationInfo?: FailedRegistrationInfoNonNullableFields;
2155
+ _id: string;
2156
+ domain: string;
2157
+ productInstanceId: string;
2158
+ siteInfo?: SiteInfoNonNullableFields;
2159
+ contacts?: ContactsNonNullableFields;
2160
+ status: Status;
2161
+ icannConfirmationStatus: ICANNConfirmationStatus;
2162
+ icannConfirmationStatusInfo?: ICANNConfirmationStatusInfoNonNullableFields;
2163
+ dnsPropagationStatus: DnsPropagationStatus;
2164
+ }
2383
2165
  interface CreateRegisteredDomainResponseNonNullableFields {
2384
- registeredDomain?: {
2385
- pendingRegistrationInfo?: {
2386
- latestAttempt?: {
2387
- number: number;
2388
- };
2389
- };
2390
- failedRegistrationInfo?: {
2391
- code: FailureCode;
2392
- message: string;
2393
- };
2394
- _id: string;
2395
- domain: string;
2396
- productInstanceId: string;
2397
- siteInfo?: {
2398
- redirectInfo?: {
2399
- primaryDomain: string;
2400
- };
2401
- assignmentType: AssignmentType;
2402
- };
2403
- contacts?: {
2404
- registrant?: {
2405
- firstName: string;
2406
- lastName: string;
2407
- email: string;
2408
- address: string;
2409
- city: string;
2410
- countryCode: string;
2411
- phone: string;
2412
- };
2413
- admin?: {
2414
- firstName: string;
2415
- lastName: string;
2416
- email: string;
2417
- address: string;
2418
- city: string;
2419
- countryCode: string;
2420
- phone: string;
2421
- };
2422
- tech?: {
2423
- firstName: string;
2424
- lastName: string;
2425
- email: string;
2426
- address: string;
2427
- city: string;
2428
- countryCode: string;
2429
- phone: string;
2430
- };
2431
- };
2432
- status: Status;
2433
- icannConfirmationStatus: ICANNConfirmationStatus;
2434
- icannConfirmationStatusInfo?: {
2435
- pending?: {
2436
- notConfirmedBy: string[];
2437
- };
2438
- expired?: {
2439
- notConfirmedBy: string[];
2440
- };
2441
- };
2442
- dnsPropagationStatus: DnsPropagationStatus;
2443
- };
2166
+ registeredDomain?: RegisteredDomainNonNullableFields;
2444
2167
  }
2445
2168
  interface GetRegisteredDomainResponseNonNullableFields {
2446
- registeredDomain?: {
2447
- pendingRegistrationInfo?: {
2448
- latestAttempt?: {
2449
- number: number;
2450
- };
2451
- };
2452
- failedRegistrationInfo?: {
2453
- code: FailureCode;
2454
- message: string;
2455
- };
2456
- _id: string;
2457
- domain: string;
2458
- productInstanceId: string;
2459
- siteInfo?: {
2460
- redirectInfo?: {
2461
- primaryDomain: string;
2462
- };
2463
- assignmentType: AssignmentType;
2464
- };
2465
- contacts?: {
2466
- registrant?: {
2467
- firstName: string;
2468
- lastName: string;
2469
- email: string;
2470
- address: string;
2471
- city: string;
2472
- countryCode: string;
2473
- phone: string;
2474
- };
2475
- admin?: {
2476
- firstName: string;
2477
- lastName: string;
2478
- email: string;
2479
- address: string;
2480
- city: string;
2481
- countryCode: string;
2482
- phone: string;
2483
- };
2484
- tech?: {
2485
- firstName: string;
2486
- lastName: string;
2487
- email: string;
2488
- address: string;
2489
- city: string;
2490
- countryCode: string;
2491
- phone: string;
2492
- };
2493
- };
2494
- status: Status;
2495
- icannConfirmationStatus: ICANNConfirmationStatus;
2496
- icannConfirmationStatusInfo?: {
2497
- pending?: {
2498
- notConfirmedBy: string[];
2499
- };
2500
- expired?: {
2501
- notConfirmedBy: string[];
2502
- };
2503
- };
2504
- dnsPropagationStatus: DnsPropagationStatus;
2505
- };
2169
+ registeredDomain?: RegisteredDomainNonNullableFields;
2506
2170
  }
2507
2171
  interface ListRegisteredDomainsResponseNonNullableFields {
2508
- registeredDomains: {
2509
- pendingRegistrationInfo?: {
2510
- latestAttempt?: {
2511
- number: number;
2512
- };
2513
- };
2514
- failedRegistrationInfo?: {
2515
- code: FailureCode;
2516
- message: string;
2517
- };
2518
- _id: string;
2519
- domain: string;
2520
- productInstanceId: string;
2521
- siteInfo?: {
2522
- redirectInfo?: {
2523
- primaryDomain: string;
2524
- };
2525
- assignmentType: AssignmentType;
2526
- };
2527
- contacts?: {
2528
- registrant?: {
2529
- firstName: string;
2530
- lastName: string;
2531
- email: string;
2532
- address: string;
2533
- city: string;
2534
- countryCode: string;
2535
- phone: string;
2536
- };
2537
- admin?: {
2538
- firstName: string;
2539
- lastName: string;
2540
- email: string;
2541
- address: string;
2542
- city: string;
2543
- countryCode: string;
2544
- phone: string;
2545
- };
2546
- tech?: {
2547
- firstName: string;
2548
- lastName: string;
2549
- email: string;
2550
- address: string;
2551
- city: string;
2552
- countryCode: string;
2553
- phone: string;
2554
- };
2555
- };
2556
- status: Status;
2557
- icannConfirmationStatus: ICANNConfirmationStatus;
2558
- icannConfirmationStatusInfo?: {
2559
- pending?: {
2560
- notConfirmedBy: string[];
2561
- };
2562
- expired?: {
2563
- notConfirmedBy: string[];
2564
- };
2565
- };
2566
- dnsPropagationStatus: DnsPropagationStatus;
2567
- }[];
2172
+ registeredDomains: RegisteredDomainNonNullableFields[];
2568
2173
  }
2569
2174
  interface RedeemRegisteredDomainResponseNonNullableFields {
2570
- registeredDomain?: {
2571
- pendingRegistrationInfo?: {
2572
- latestAttempt?: {
2573
- number: number;
2574
- };
2575
- };
2576
- failedRegistrationInfo?: {
2577
- code: FailureCode;
2578
- message: string;
2579
- };
2580
- _id: string;
2581
- domain: string;
2582
- productInstanceId: string;
2583
- siteInfo?: {
2584
- redirectInfo?: {
2585
- primaryDomain: string;
2586
- };
2587
- assignmentType: AssignmentType;
2588
- };
2589
- contacts?: {
2590
- registrant?: {
2591
- firstName: string;
2592
- lastName: string;
2593
- email: string;
2594
- address: string;
2595
- city: string;
2596
- countryCode: string;
2597
- phone: string;
2598
- };
2599
- admin?: {
2600
- firstName: string;
2601
- lastName: string;
2602
- email: string;
2603
- address: string;
2604
- city: string;
2605
- countryCode: string;
2606
- phone: string;
2607
- };
2608
- tech?: {
2609
- firstName: string;
2610
- lastName: string;
2611
- email: string;
2612
- address: string;
2613
- city: string;
2614
- countryCode: string;
2615
- phone: string;
2616
- };
2617
- };
2618
- status: Status;
2619
- icannConfirmationStatus: ICANNConfirmationStatus;
2620
- icannConfirmationStatusInfo?: {
2621
- pending?: {
2622
- notConfirmedBy: string[];
2623
- };
2624
- expired?: {
2625
- notConfirmedBy: string[];
2626
- };
2627
- };
2628
- dnsPropagationStatus: DnsPropagationStatus;
2629
- };
2175
+ registeredDomain?: RegisteredDomainNonNullableFields;
2630
2176
  }
2631
2177
 
2632
2178
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2680,11 +2226,12 @@ interface CheckDomainAvailabilityResponse$1 {
2680
2226
  /** Information about the domain's availability. */
2681
2227
  availability?: DomainAvailability$1;
2682
2228
  }
2229
+ interface DomainAvailabilityNonNullableFields$1 {
2230
+ domain: string;
2231
+ available: boolean;
2232
+ }
2683
2233
  interface CheckDomainAvailabilityResponseNonNullableFields$1 {
2684
- availability?: {
2685
- domain: string;
2686
- available: boolean;
2687
- };
2234
+ availability?: DomainAvailabilityNonNullableFields$1;
2688
2235
  }
2689
2236
 
2690
2237
  interface DomainAvailability {
@@ -2711,11 +2258,12 @@ interface CheckDomainAvailabilityResponse {
2711
2258
  /** Information about the domain's availability. */
2712
2259
  availability?: DomainAvailability;
2713
2260
  }
2261
+ interface DomainAvailabilityNonNullableFields {
2262
+ domain: string;
2263
+ available: boolean;
2264
+ }
2714
2265
  interface CheckDomainAvailabilityResponseNonNullableFields {
2715
- availability?: {
2716
- domain: string;
2717
- available: boolean;
2718
- };
2266
+ availability?: DomainAvailabilityNonNullableFields;
2719
2267
  }
2720
2268
 
2721
2269
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2819,10 +2367,11 @@ interface Cursors$1 {
2819
2367
  /** Cursor pointing to previous page in the list of results. */
2820
2368
  prev?: string | null;
2821
2369
  }
2370
+ interface DomainSuggestionNonNullableFields$1 {
2371
+ domain: string;
2372
+ }
2822
2373
  interface SuggestDomainsResponseNonNullableFields$1 {
2823
- suggestions: {
2824
- domain: string;
2825
- }[];
2374
+ suggestions: DomainSuggestionNonNullableFields$1[];
2826
2375
  }
2827
2376
 
2828
2377
  interface DomainSuggestion {
@@ -2909,10 +2458,11 @@ interface Cursors {
2909
2458
  /** Cursor pointing to previous page in the list of results. */
2910
2459
  prev?: string | null;
2911
2460
  }
2461
+ interface DomainSuggestionNonNullableFields {
2462
+ domain: string;
2463
+ }
2912
2464
  interface SuggestDomainsResponseNonNullableFields {
2913
- suggestions: {
2914
- domain: string;
2915
- }[];
2465
+ suggestions: DomainSuggestionNonNullableFields[];
2916
2466
  }
2917
2467
 
2918
2468
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {