@wix/domains 1.0.19 → 1.0.21

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.
@@ -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. */
@@ -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> = {
@@ -825,11 +791,18 @@ interface DnsZone$1 {
825
791
  */
826
792
  id?: string;
827
793
  /**
828
- * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions) are enabled.
794
+ * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions)
795
+ * are enabled.
829
796
  *
830
797
  * Default: `false`
831
798
  */
832
799
  dnssecEnabled?: boolean;
800
+ /**
801
+ * Information about [DNSSEC](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions).
802
+ * Available only if `{"dnssecEnabled": true}`.
803
+ * @readonly
804
+ */
805
+ dnssecInfo?: DnssecInfo$1;
833
806
  }
834
807
  interface DnsRecord$1 {
835
808
  /**
@@ -880,6 +853,19 @@ declare enum RecordType$1 {
880
853
  PTR = "PTR",
881
854
  NAPTR = "NAPTR"
882
855
  }
856
+ interface DnssecInfo$1 {
857
+ /**
858
+ * Unique 16-bit identifier for a [DNSKEY](https://cloud.google.com/dns/docs/reference/rest/v1/dnsKeys)
859
+ * record that allows efficient DNSSEC validation in zones with multiple keys.
860
+ */
861
+ keyTag?: number;
862
+ /**
863
+ * Cryptographic hash of the [DNSKEY](https://cloud.google.com/dns/docs/reference/rest/v1/dnsKeys)
864
+ * record that's included in the delegation signer (DS) record and ensures secure
865
+ * DNSSEC validation.
866
+ */
867
+ digest?: string;
868
+ }
883
869
  interface CreateDnsZoneRequest$1 {
884
870
  /** DNS zone to create. */
885
871
  dnsZone: DnsZone$1;
@@ -936,57 +922,34 @@ interface PreviewDnsZoneResponse$1 {
936
922
  */
937
923
  dnsZone?: DnsZone$1;
938
924
  }
925
+ interface DnsRecordNonNullableFields$1 {
926
+ type: RecordType$1;
927
+ hostName: string;
928
+ ttl: number;
929
+ values: string[];
930
+ }
931
+ interface DnssecInfoNonNullableFields$1 {
932
+ keyTag: number;
933
+ digest: string;
934
+ }
935
+ interface DnsZoneNonNullableFields$1 {
936
+ domainName: string;
937
+ records: DnsRecordNonNullableFields$1[];
938
+ id: string;
939
+ dnssecEnabled: boolean;
940
+ dnssecInfo?: DnssecInfoNonNullableFields$1;
941
+ }
939
942
  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
- };
943
+ dnsZone?: DnsZoneNonNullableFields$1;
951
944
  }
952
945
  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
- };
946
+ dnsZone?: DnsZoneNonNullableFields$1;
964
947
  }
965
948
  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
- };
949
+ dnsZone?: DnsZoneNonNullableFields$1;
977
950
  }
978
951
  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
- };
952
+ dnsZone?: DnsZoneNonNullableFields$1;
990
953
  }
991
954
 
992
955
  /** DNS zones hold information about the records that map a domain's URL to an IP address. */
@@ -1008,11 +971,18 @@ interface DnsZone {
1008
971
  */
1009
972
  _id?: string;
1010
973
  /**
1011
- * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions) are enabled.
974
+ * Whether [DNS Security Extensions (DNSSEC)](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions)
975
+ * are enabled.
1012
976
  *
1013
977
  * Default: `false`
1014
978
  */
1015
979
  dnssecEnabled?: boolean;
980
+ /**
981
+ * Information about [DNSSEC](https://en.wikipedia.org/wiki/Domain_Name_System_Security_Extensions).
982
+ * Available only if `{"dnssecEnabled": true}`.
983
+ * @readonly
984
+ */
985
+ dnssecInfo?: DnssecInfo;
1016
986
  }
1017
987
  interface DnsRecord {
1018
988
  /**
@@ -1063,6 +1033,19 @@ declare enum RecordType {
1063
1033
  PTR = "PTR",
1064
1034
  NAPTR = "NAPTR"
1065
1035
  }
1036
+ interface DnssecInfo {
1037
+ /**
1038
+ * Unique 16-bit identifier for a [DNSKEY](https://cloud.google.com/dns/docs/reference/rest/v1/dnsKeys)
1039
+ * record that allows efficient DNSSEC validation in zones with multiple keys.
1040
+ */
1041
+ keyTag?: number;
1042
+ /**
1043
+ * Cryptographic hash of the [DNSKEY](https://cloud.google.com/dns/docs/reference/rest/v1/dnsKeys)
1044
+ * record that's included in the delegation signer (DS) record and ensures secure
1045
+ * DNSSEC validation.
1046
+ */
1047
+ digest?: string;
1048
+ }
1066
1049
  interface CreateDnsZoneRequest {
1067
1050
  /** DNS zone to create. */
1068
1051
  dnsZone: DnsZone;
@@ -1119,57 +1102,34 @@ interface PreviewDnsZoneResponse {
1119
1102
  */
1120
1103
  dnsZone?: DnsZone;
1121
1104
  }
1105
+ interface DnsRecordNonNullableFields {
1106
+ type: RecordType;
1107
+ hostName: string;
1108
+ ttl: number;
1109
+ values: string[];
1110
+ }
1111
+ interface DnssecInfoNonNullableFields {
1112
+ keyTag: number;
1113
+ digest: string;
1114
+ }
1115
+ interface DnsZoneNonNullableFields {
1116
+ domainName: string;
1117
+ records: DnsRecordNonNullableFields[];
1118
+ _id: string;
1119
+ dnssecEnabled: boolean;
1120
+ dnssecInfo?: DnssecInfoNonNullableFields;
1121
+ }
1122
1122
  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
- };
1123
+ dnsZone?: DnsZoneNonNullableFields;
1134
1124
  }
1135
1125
  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
- };
1126
+ dnsZone?: DnsZoneNonNullableFields;
1147
1127
  }
1148
1128
  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
- };
1129
+ dnsZone?: DnsZoneNonNullableFields;
1160
1130
  }
1161
1131
  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
- };
1132
+ dnsZone?: DnsZoneNonNullableFields;
1173
1133
  }
1174
1134
 
1175
1135
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1668,253 +1628,71 @@ interface RedeemRegisteredDomainResponse$1 {
1668
1628
  /** Registered domain to redeem. */
1669
1629
  registeredDomain?: RegisteredDomain$1;
1670
1630
  }
1631
+ interface LatestAttemptNonNullableFields$1 {
1632
+ number: number;
1633
+ }
1634
+ interface PendingRegistrationInfoNonNullableFields$1 {
1635
+ latestAttempt?: LatestAttemptNonNullableFields$1;
1636
+ }
1637
+ interface FailedRegistrationInfoNonNullableFields$1 {
1638
+ code: FailureCode$1;
1639
+ message: string;
1640
+ }
1641
+ interface RedirectAssignmentInfoNonNullableFields$1 {
1642
+ primaryDomain: string;
1643
+ }
1644
+ interface SiteInfoNonNullableFields$1 {
1645
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields$1;
1646
+ assignmentType: AssignmentType$1;
1647
+ }
1648
+ interface ContactDataNonNullableFields$1 {
1649
+ firstName: string;
1650
+ lastName: string;
1651
+ email: string;
1652
+ address: string;
1653
+ city: string;
1654
+ countryCode: string;
1655
+ phone: string;
1656
+ }
1657
+ interface ContactsNonNullableFields$1 {
1658
+ registrant?: ContactDataNonNullableFields$1;
1659
+ admin?: ContactDataNonNullableFields$1;
1660
+ tech?: ContactDataNonNullableFields$1;
1661
+ }
1662
+ interface PendingNonNullableFields$1 {
1663
+ notConfirmedBy: string[];
1664
+ }
1665
+ interface ExpiredNonNullableFields$1 {
1666
+ notConfirmedBy: string[];
1667
+ }
1668
+ interface ICANNConfirmationStatusInfoNonNullableFields$1 {
1669
+ pending?: PendingNonNullableFields$1;
1670
+ expired?: ExpiredNonNullableFields$1;
1671
+ }
1672
+ interface RegisteredDomainNonNullableFields$1 {
1673
+ pendingRegistrationInfo?: PendingRegistrationInfoNonNullableFields$1;
1674
+ failedRegistrationInfo?: FailedRegistrationInfoNonNullableFields$1;
1675
+ id: string;
1676
+ domain: string;
1677
+ productInstanceId: string;
1678
+ siteInfo?: SiteInfoNonNullableFields$1;
1679
+ contacts?: ContactsNonNullableFields$1;
1680
+ status: Status$1;
1681
+ icannConfirmationStatus: ICANNConfirmationStatus$1;
1682
+ icannConfirmationStatusInfo?: ICANNConfirmationStatusInfoNonNullableFields$1;
1683
+ dnsPropagationStatus: DnsPropagationStatus$1;
1684
+ }
1671
1685
  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
- };
1686
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1732
1687
  }
1733
1688
  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
- };
1689
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1794
1690
  }
1795
1691
  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
- }[];
1692
+ registeredDomains: RegisteredDomainNonNullableFields$1[];
1856
1693
  }
1857
1694
  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
- };
1695
+ registeredDomain?: RegisteredDomainNonNullableFields$1;
1918
1696
  }
1919
1697
 
1920
1698
  /**
@@ -2380,253 +2158,71 @@ interface RedeemRegisteredDomainResponse {
2380
2158
  /** Registered domain to redeem. */
2381
2159
  registeredDomain?: RegisteredDomain;
2382
2160
  }
2161
+ interface LatestAttemptNonNullableFields {
2162
+ number: number;
2163
+ }
2164
+ interface PendingRegistrationInfoNonNullableFields {
2165
+ latestAttempt?: LatestAttemptNonNullableFields;
2166
+ }
2167
+ interface FailedRegistrationInfoNonNullableFields {
2168
+ code: FailureCode;
2169
+ message: string;
2170
+ }
2171
+ interface RedirectAssignmentInfoNonNullableFields {
2172
+ primaryDomain: string;
2173
+ }
2174
+ interface SiteInfoNonNullableFields {
2175
+ redirectInfo?: RedirectAssignmentInfoNonNullableFields;
2176
+ assignmentType: AssignmentType;
2177
+ }
2178
+ interface ContactDataNonNullableFields {
2179
+ firstName: string;
2180
+ lastName: string;
2181
+ email: string;
2182
+ address: string;
2183
+ city: string;
2184
+ countryCode: string;
2185
+ phone: string;
2186
+ }
2187
+ interface ContactsNonNullableFields {
2188
+ registrant?: ContactDataNonNullableFields;
2189
+ admin?: ContactDataNonNullableFields;
2190
+ tech?: ContactDataNonNullableFields;
2191
+ }
2192
+ interface PendingNonNullableFields {
2193
+ notConfirmedBy: string[];
2194
+ }
2195
+ interface ExpiredNonNullableFields {
2196
+ notConfirmedBy: string[];
2197
+ }
2198
+ interface ICANNConfirmationStatusInfoNonNullableFields {
2199
+ pending?: PendingNonNullableFields;
2200
+ expired?: ExpiredNonNullableFields;
2201
+ }
2202
+ interface RegisteredDomainNonNullableFields {
2203
+ pendingRegistrationInfo?: PendingRegistrationInfoNonNullableFields;
2204
+ failedRegistrationInfo?: FailedRegistrationInfoNonNullableFields;
2205
+ _id: string;
2206
+ domain: string;
2207
+ productInstanceId: string;
2208
+ siteInfo?: SiteInfoNonNullableFields;
2209
+ contacts?: ContactsNonNullableFields;
2210
+ status: Status;
2211
+ icannConfirmationStatus: ICANNConfirmationStatus;
2212
+ icannConfirmationStatusInfo?: ICANNConfirmationStatusInfoNonNullableFields;
2213
+ dnsPropagationStatus: DnsPropagationStatus;
2214
+ }
2383
2215
  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
- };
2216
+ registeredDomain?: RegisteredDomainNonNullableFields;
2444
2217
  }
2445
2218
  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
- };
2219
+ registeredDomain?: RegisteredDomainNonNullableFields;
2506
2220
  }
2507
2221
  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
- }[];
2222
+ registeredDomains: RegisteredDomainNonNullableFields[];
2568
2223
  }
2569
2224
  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
- };
2225
+ registeredDomain?: RegisteredDomainNonNullableFields;
2630
2226
  }
2631
2227
 
2632
2228
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2680,11 +2276,12 @@ interface CheckDomainAvailabilityResponse$1 {
2680
2276
  /** Information about the domain's availability. */
2681
2277
  availability?: DomainAvailability$1;
2682
2278
  }
2279
+ interface DomainAvailabilityNonNullableFields$1 {
2280
+ domain: string;
2281
+ available: boolean;
2282
+ }
2683
2283
  interface CheckDomainAvailabilityResponseNonNullableFields$1 {
2684
- availability?: {
2685
- domain: string;
2686
- available: boolean;
2687
- };
2284
+ availability?: DomainAvailabilityNonNullableFields$1;
2688
2285
  }
2689
2286
 
2690
2287
  interface DomainAvailability {
@@ -2711,11 +2308,12 @@ interface CheckDomainAvailabilityResponse {
2711
2308
  /** Information about the domain's availability. */
2712
2309
  availability?: DomainAvailability;
2713
2310
  }
2311
+ interface DomainAvailabilityNonNullableFields {
2312
+ domain: string;
2313
+ available: boolean;
2314
+ }
2714
2315
  interface CheckDomainAvailabilityResponseNonNullableFields {
2715
- availability?: {
2716
- domain: string;
2717
- available: boolean;
2718
- };
2316
+ availability?: DomainAvailabilityNonNullableFields;
2719
2317
  }
2720
2318
 
2721
2319
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -2819,10 +2417,11 @@ interface Cursors$1 {
2819
2417
  /** Cursor pointing to previous page in the list of results. */
2820
2418
  prev?: string | null;
2821
2419
  }
2420
+ interface DomainSuggestionNonNullableFields$1 {
2421
+ domain: string;
2422
+ }
2822
2423
  interface SuggestDomainsResponseNonNullableFields$1 {
2823
- suggestions: {
2824
- domain: string;
2825
- }[];
2424
+ suggestions: DomainSuggestionNonNullableFields$1[];
2826
2425
  }
2827
2426
 
2828
2427
  interface DomainSuggestion {
@@ -2909,10 +2508,11 @@ interface Cursors {
2909
2508
  /** Cursor pointing to previous page in the list of results. */
2910
2509
  prev?: string | null;
2911
2510
  }
2511
+ interface DomainSuggestionNonNullableFields {
2512
+ domain: string;
2513
+ }
2912
2514
  interface SuggestDomainsResponseNonNullableFields {
2913
- suggestions: {
2914
- domain: string;
2915
- }[];
2515
+ suggestions: DomainSuggestionNonNullableFields[];
2916
2516
  }
2917
2517
 
2918
2518
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {