@wix/auto_sdk_domains_connected-domain-setup-info 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +40 -14
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +4 -6
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -1
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +40 -14
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +4 -6
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -1
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +40 -14
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +4 -6
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -1
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +40 -14
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +4 -6
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -1
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +40 -14
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +4 -6
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -1
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +40 -14
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +4 -6
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -1
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +40 -14
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +4 -6
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -1
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +40 -14
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +4 -6
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -3,15 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ConnectionType = void 0;
|
|
4
4
|
var ConnectionType;
|
|
5
5
|
(function (ConnectionType) {
|
|
6
|
-
/**
|
|
6
|
+
/** There is no information about the connection type. */
|
|
7
7
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
8
9
|
ConnectionType["POINTING"] = "POINTING";
|
|
10
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
9
11
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
10
|
-
/**
|
|
11
|
-
* internal used by photography company.
|
|
12
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
13
|
-
* is not visible in my domains page.
|
|
14
|
-
*/
|
|
12
|
+
/** The domain isn't visible to site visitors. */
|
|
15
13
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
16
14
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
17
15
|
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -29,15 +29,13 @@ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-key
|
|
|
29
29
|
const ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo = __importStar(require("./premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js"));
|
|
30
30
|
var ConnectionType;
|
|
31
31
|
(function (ConnectionType) {
|
|
32
|
-
/**
|
|
32
|
+
/** There is no information about the connection type. */
|
|
33
33
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
34
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
34
35
|
ConnectionType["POINTING"] = "POINTING";
|
|
36
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
35
37
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
36
|
-
/**
|
|
37
|
-
* internal used by photography company.
|
|
38
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
39
|
-
* is not visible in my domains page.
|
|
40
|
-
*/
|
|
38
|
+
/** The domain isn't visible to site visitors. */
|
|
41
39
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
42
40
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
43
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4KAA8J;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4KAA8J;AA4K9J,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB;AA8ED;;;;;;;;;;;;;;GAcG;AACI,KAAK,UAAU,2BAA2B,CAC/C,iBAAyB;IAIzB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,iBAAiB,EAAE,iBAAiB;KACrC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,qDAAqD,CAAC,2BAA2B,CAC/E,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAC;YACzD,EAAE,wBAAyB,CAAC;IAChC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,iBAAiB,EAAE,MAAM,EAAE;YACvD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAzCD,kEAyCC"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export var ConnectionType;
|
|
2
2
|
(function (ConnectionType) {
|
|
3
|
-
/**
|
|
3
|
+
/** There is no information about the connection type. */
|
|
4
4
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
5
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
5
6
|
ConnectionType["POINTING"] = "POINTING";
|
|
7
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
6
8
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
7
|
-
/**
|
|
8
|
-
* internal used by photography company.
|
|
9
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
10
|
-
* is not visible in my domains page.
|
|
11
|
-
*/
|
|
9
|
+
/** The domain isn't visible to site visitors. */
|
|
12
10
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
13
11
|
})(ConnectionType || (ConnectionType = {}));
|
|
14
12
|
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -3,15 +3,13 @@ import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKR
|
|
|
3
3
|
import * as ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js';
|
|
4
4
|
export var ConnectionType;
|
|
5
5
|
(function (ConnectionType) {
|
|
6
|
-
/**
|
|
6
|
+
/** There is no information about the connection type. */
|
|
7
7
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
8
9
|
ConnectionType["POINTING"] = "POINTING";
|
|
10
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
9
11
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
10
|
-
/**
|
|
11
|
-
* internal used by photography company.
|
|
12
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
13
|
-
* is not visible in my domains page.
|
|
14
|
-
*/
|
|
12
|
+
/** The domain isn't visible to site visitors. */
|
|
15
13
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
16
14
|
})(ConnectionType || (ConnectionType = {}));
|
|
17
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,qDAAqD,MAAM,sFAAsF,CAAC;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,qDAAqD,MAAM,sFAAsF,CAAC;AA4K9J,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB;AA8ED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,iBAAyB;IAIzB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,iBAAiB,EAAE,iBAAiB;KACrC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,qDAAqD,CAAC,2BAA2B,CAC/E,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAC;YACzD,EAAE,wBAAyB,CAAC;IAChC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,iBAAiB,EAAE,MAAM,EAAE;YACvD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -3,15 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ConnectionType = void 0;
|
|
4
4
|
var ConnectionType;
|
|
5
5
|
(function (ConnectionType) {
|
|
6
|
-
/**
|
|
6
|
+
/** There is no information about the connection type. */
|
|
7
7
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
8
9
|
ConnectionType["POINTING"] = "POINTING";
|
|
10
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
9
11
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
10
|
-
/**
|
|
11
|
-
* internal used by photography company.
|
|
12
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
13
|
-
* is not visible in my domains page.
|
|
14
|
-
*/
|
|
12
|
+
/** The domain isn't visible to site visitors. */
|
|
15
13
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
16
14
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
17
15
|
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":";;;AA0KA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -29,15 +29,13 @@ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-key
|
|
|
29
29
|
const ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo = __importStar(require("./premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js"));
|
|
30
30
|
var ConnectionType;
|
|
31
31
|
(function (ConnectionType) {
|
|
32
|
-
/**
|
|
32
|
+
/** There is no information about the connection type. */
|
|
33
33
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
34
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
34
35
|
ConnectionType["POINTING"] = "POINTING";
|
|
36
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
35
37
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
36
|
-
/**
|
|
37
|
-
* internal used by photography company.
|
|
38
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
39
|
-
* is not visible in my domains page.
|
|
40
|
-
*/
|
|
38
|
+
/** The domain isn't visible to site visitors. */
|
|
41
39
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
42
40
|
})(ConnectionType || (exports.ConnectionType = ConnectionType = {}));
|
|
43
41
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4KAA8J;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,4KAA8J;AA4K9J,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB;AA8ED;;;;;;;;;;;;;;GAcG;AACI,KAAK,UAAU,2BAA2B,CAC/C,iBAAyB;IAIzB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,iBAAiB,EAAE,iBAAiB;KACrC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,qDAAqD,CAAC,2BAA2B,CAC/E,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAC;YACzD,EAAE,wBAAyB,CAAC;IAChC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,iBAAiB,EAAE,MAAM,EAAE;YACvD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAzCD,kEAyCC"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export var ConnectionType;
|
|
2
2
|
(function (ConnectionType) {
|
|
3
|
-
/**
|
|
3
|
+
/** There is no information about the connection type. */
|
|
4
4
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
5
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
5
6
|
ConnectionType["POINTING"] = "POINTING";
|
|
7
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
6
8
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
7
|
-
/**
|
|
8
|
-
* internal used by photography company.
|
|
9
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
10
|
-
* is not visible in my domains page.
|
|
11
|
-
*/
|
|
9
|
+
/** The domain isn't visible to site visitors. */
|
|
12
10
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
13
11
|
})(ConnectionType || (ConnectionType = {}));
|
|
14
12
|
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.ts"],"names":[],"mappings":"AA0KA,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB"}
|
|
@@ -20,7 +20,10 @@ export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRec
|
|
|
20
20
|
* @readonly
|
|
21
21
|
*/
|
|
22
22
|
subdomainRecords?: SubdomainRecords;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* ID of the connected domain. Identical to the domain name including TLD.
|
|
25
|
+
* @format HOSTNAME
|
|
26
|
+
*/
|
|
24
27
|
connectedDomainId?: string;
|
|
25
28
|
/**
|
|
26
29
|
* Information about the external domain registrar including current name
|
|
@@ -74,11 +77,18 @@ export interface NameserverRecord {
|
|
|
74
77
|
nsRecord?: NsRecord;
|
|
75
78
|
}
|
|
76
79
|
export interface NsRecord {
|
|
77
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
82
|
+
* @format HOSTNAME
|
|
83
|
+
*/
|
|
78
84
|
hostName?: string;
|
|
79
85
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
86
|
ttl?: number;
|
|
81
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* DNS record values.
|
|
89
|
+
* @minSize 1
|
|
90
|
+
* @maxSize 10
|
|
91
|
+
*/
|
|
82
92
|
values?: string[];
|
|
83
93
|
}
|
|
84
94
|
/** Information about domains connected by pointing. */
|
|
@@ -95,15 +105,25 @@ export interface PointingRecords {
|
|
|
95
105
|
cnameRecord?: CnameRecord;
|
|
96
106
|
}
|
|
97
107
|
export interface ARecord {
|
|
98
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
110
|
+
* @format HOSTNAME
|
|
111
|
+
*/
|
|
99
112
|
hostName?: string;
|
|
100
113
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
114
|
ttl?: number;
|
|
102
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* DNS record values.
|
|
117
|
+
* @minSize 1
|
|
118
|
+
* @maxSize 10
|
|
119
|
+
*/
|
|
103
120
|
values?: string[];
|
|
104
121
|
}
|
|
105
122
|
export interface CnameRecord {
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.
|
|
125
|
+
* @format HOSTNAME
|
|
126
|
+
*/
|
|
107
127
|
hostName?: string;
|
|
108
128
|
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
129
|
ttl?: number;
|
|
@@ -115,11 +135,15 @@ export interface SubdomainRecords {
|
|
|
115
135
|
/**
|
|
116
136
|
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
137
|
* @readonly
|
|
138
|
+
* @maxSize 2
|
|
118
139
|
*/
|
|
119
140
|
cnameRecords?: CnameRecord[];
|
|
120
141
|
}
|
|
121
142
|
export interface GetSetupInfoRequest {
|
|
122
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Domain name including TLD
|
|
145
|
+
* @format HOSTNAME
|
|
146
|
+
*/
|
|
123
147
|
domain?: string;
|
|
124
148
|
/**
|
|
125
149
|
* How the domain should be to connected the Wix site.
|
|
@@ -134,15 +158,13 @@ export interface GetSetupInfoRequest {
|
|
|
134
158
|
includeRegistrar?: boolean;
|
|
135
159
|
}
|
|
136
160
|
export declare enum ConnectionType {
|
|
137
|
-
/**
|
|
161
|
+
/** There is no information about the connection type. */
|
|
138
162
|
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
163
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
139
164
|
POINTING = "POINTING",
|
|
165
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
140
166
|
NAMESERVERS = "NAMESERVERS",
|
|
141
|
-
/**
|
|
142
|
-
* internal used by photography company.
|
|
143
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
144
|
-
* is not visible in my domains page.
|
|
145
|
-
*/
|
|
167
|
+
/** The domain isn't visible to site visitors. */
|
|
146
168
|
HIDDEN = "HIDDEN"
|
|
147
169
|
}
|
|
148
170
|
export interface GetSetupInfoResponse {
|
|
@@ -150,7 +172,10 @@ export interface GetSetupInfoResponse {
|
|
|
150
172
|
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
173
|
}
|
|
152
174
|
export interface PreCreateConnectedDomainRequest {
|
|
153
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Domain name including TLD
|
|
177
|
+
* @format HOSTNAME
|
|
178
|
+
*/
|
|
154
179
|
domain?: string;
|
|
155
180
|
}
|
|
156
181
|
export interface PreCreateConnectedDomainResponse {
|
|
@@ -159,6 +184,7 @@ export interface GetConnectedDomainSetupInfoRequest {
|
|
|
159
184
|
/**
|
|
160
185
|
* ID of the connected domain to retrieve setup information for.
|
|
161
186
|
* Identical to the domain name including TLD.
|
|
187
|
+
* @format HOSTNAME
|
|
162
188
|
*/
|
|
163
189
|
connectedDomainId: string;
|
|
164
190
|
}
|
|
@@ -3,15 +3,13 @@ import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKR
|
|
|
3
3
|
import * as ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js';
|
|
4
4
|
export var ConnectionType;
|
|
5
5
|
(function (ConnectionType) {
|
|
6
|
-
/**
|
|
6
|
+
/** There is no information about the connection type. */
|
|
7
7
|
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
/** The domain is connected by pointing. Wix doesn't manage DNS information. */
|
|
8
9
|
ConnectionType["POINTING"] = "POINTING";
|
|
10
|
+
/** The domain is connected by nameservers. Wix manages DNS information. */
|
|
9
11
|
ConnectionType["NAMESERVERS"] = "NAMESERVERS";
|
|
10
|
-
/**
|
|
11
|
-
* internal used by photography company.
|
|
12
|
-
* when a customer creates a photo album, each album has its sub domain and this sub domain
|
|
13
|
-
* is not visible in my domains page.
|
|
14
|
-
*/
|
|
12
|
+
/** The domain isn't visible to site visitors. */
|
|
15
13
|
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
16
14
|
})(ConnectionType || (ConnectionType = {}));
|
|
17
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,qDAAqD,MAAM,sFAAsF,CAAC;
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,qDAAqD,MAAM,sFAAsF,CAAC;AA4K9J,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yDAAyD;IACzD,qEAAmD,CAAA;IACnD,+EAA+E;IAC/E,uCAAqB,CAAA;IACrB,2EAA2E;IAC3E,6CAA2B,CAAA;IAC3B,iDAAiD;IACjD,mCAAiB,CAAA;AACnB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB;AA8ED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,iBAAyB;IAIzB,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC;QACpD,iBAAiB,EAAE,iBAAiB;KACrC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,qDAAqD,CAAC,2BAA2B,CAC/E,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAC;YACzD,EAAE,wBAAyB,CAAC;IAChC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,iBAAiB,EAAE,MAAM,EAAE;YACvD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_domains_connected-domain-setup-info",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.premium.domains.v1.connected_domain_setup_info"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "e14c49118d9fe64b7d515acdc8190610af5fb83c7692eeac5b329364"
|
|
52
52
|
}
|