@wix/auto_sdk_domains_connected-domain-setup-info 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.d.ts +5 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js +9 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.d.ts +10 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js +95 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.d.ts +15 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js +47 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.d.ts +21 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js +14 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +207 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +17 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +223 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +83 -0
- package/build/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.d.ts +5 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js +5 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js.map +1 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.d.ts +10 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js +91 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js.map +1 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.d.ts +15 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js +20 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js.map +1 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.d.ts +21 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js +9 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js.map +1 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +207 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +14 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +223 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +56 -0
- package/build/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.d.ts +5 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js +9 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.d.ts +10 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js +95 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.d.ts +15 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js +47 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.d.ts +21 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js +14 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +207 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +17 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +223 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +83 -0
- package/build/internal/cjs/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.d.ts +5 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js +5 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.d.ts +10 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js +91 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.d.ts +15 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js +20 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.d.ts +21 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js +9 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.d.ts +207 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js +14 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map +1 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.d.ts +223 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js +56 -0
- package/build/internal/es/src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +52 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A `connectedDomainSetupInfo` object holds information the connected domain's
|
|
3
|
+
* external registrar and some DNS records. You can use this information to guide
|
|
4
|
+
* the site owner through the domain's setup process.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRecordsOneOf {
|
|
7
|
+
/**
|
|
8
|
+
* Information about domains connected using nameservers. Available only for
|
|
9
|
+
* `{"connectionType": "NAMESERVERS"}`.
|
|
10
|
+
*/
|
|
11
|
+
nameserverRecord?: NameserverRecord;
|
|
12
|
+
/**
|
|
13
|
+
* Information about domains connected by pointing. Available only for
|
|
14
|
+
* `{"connectionType": "POINTING"}`.
|
|
15
|
+
* @readonly
|
|
16
|
+
*/
|
|
17
|
+
pointingRecords?: PointingRecords;
|
|
18
|
+
/**
|
|
19
|
+
* Information about subdomains. Available only for subdomains.
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
subdomainRecords?: SubdomainRecords;
|
|
23
|
+
/** ID of the connected domain. Identical to the domain name including TLD. */
|
|
24
|
+
connectedDomainId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Information about the external domain registrar including current name
|
|
27
|
+
* servers.
|
|
28
|
+
*/
|
|
29
|
+
registrar?: Registrar;
|
|
30
|
+
}
|
|
31
|
+
/** @oneof */
|
|
32
|
+
export interface ConnectedDomainSetupInfoDnsRecordsOneOf {
|
|
33
|
+
/**
|
|
34
|
+
* Information about domains connected using nameservers. Available only for
|
|
35
|
+
* `{"connectionType": "NAMESERVERS"}`.
|
|
36
|
+
*/
|
|
37
|
+
nameserverRecord?: NameserverRecord;
|
|
38
|
+
/**
|
|
39
|
+
* Information about domains connected by pointing. Available only for
|
|
40
|
+
* `{"connectionType": "POINTING"}`.
|
|
41
|
+
* @readonly
|
|
42
|
+
*/
|
|
43
|
+
pointingRecords?: PointingRecords;
|
|
44
|
+
/**
|
|
45
|
+
* Information about subdomains. Available only for subdomains.
|
|
46
|
+
* @readonly
|
|
47
|
+
*/
|
|
48
|
+
subdomainRecords?: SubdomainRecords;
|
|
49
|
+
}
|
|
50
|
+
export interface Registrar {
|
|
51
|
+
/**
|
|
52
|
+
* Name of the external domain registrar. For subdomains it's the registrar of the root domain.
|
|
53
|
+
* @readonly
|
|
54
|
+
*/
|
|
55
|
+
name?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Values of the current name server records. In case you connect an external
|
|
58
|
+
* domain using name servers, site owners must replace these current name servers
|
|
59
|
+
* with the new name servers found in `connectedDomainSetupInfo.nameserverRecord.nsRecord.values`
|
|
60
|
+
* during the initial domain setup.
|
|
61
|
+
* The replacement can't be performed through Wix APIs, you must use the
|
|
62
|
+
* infrastructure of the external domain registrar. Read more about
|
|
63
|
+
* [connecting domains using nameservers](https://dev.wix.com/api/rest/account-level-apis/connected-domains/sample-flows#account-level-apis_connected-domains_sample-flows_connect-an-external-domain-using-nameservers).
|
|
64
|
+
* @readonly
|
|
65
|
+
*/
|
|
66
|
+
nameServers?: string[];
|
|
67
|
+
}
|
|
68
|
+
/** Information about domains connected by nameservers. */
|
|
69
|
+
export interface NameserverRecord {
|
|
70
|
+
/**
|
|
71
|
+
* Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).
|
|
72
|
+
* @readonly
|
|
73
|
+
*/
|
|
74
|
+
nsRecord?: NsRecord;
|
|
75
|
+
}
|
|
76
|
+
export interface NsRecord {
|
|
77
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
78
|
+
hostName?: string;
|
|
79
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
|
+
ttl?: number;
|
|
81
|
+
/** DNS record values. */
|
|
82
|
+
values?: string[];
|
|
83
|
+
}
|
|
84
|
+
/** Information about domains connected by pointing. */
|
|
85
|
+
export interface PointingRecords {
|
|
86
|
+
/**
|
|
87
|
+
* [Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).
|
|
88
|
+
* @readonly
|
|
89
|
+
*/
|
|
90
|
+
aRecord?: ARecord;
|
|
91
|
+
/**
|
|
92
|
+
* [Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).
|
|
93
|
+
* @readonly
|
|
94
|
+
*/
|
|
95
|
+
cnameRecord?: CnameRecord;
|
|
96
|
+
}
|
|
97
|
+
export interface ARecord {
|
|
98
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
99
|
+
hostName?: string;
|
|
100
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
|
+
ttl?: number;
|
|
102
|
+
/** DNS record values. */
|
|
103
|
+
values?: string[];
|
|
104
|
+
}
|
|
105
|
+
export interface CnameRecord {
|
|
106
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
107
|
+
hostName?: string;
|
|
108
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
|
+
ttl?: number;
|
|
110
|
+
/** DNS record value. */
|
|
111
|
+
value?: string;
|
|
112
|
+
}
|
|
113
|
+
/** Information about subdomains. */
|
|
114
|
+
export interface SubdomainRecords {
|
|
115
|
+
/**
|
|
116
|
+
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
|
+
* @readonly
|
|
118
|
+
*/
|
|
119
|
+
cnameRecords?: CnameRecord[];
|
|
120
|
+
}
|
|
121
|
+
export interface GetSetupInfoRequest {
|
|
122
|
+
/** Domain name including TLD */
|
|
123
|
+
domain?: string;
|
|
124
|
+
/**
|
|
125
|
+
* How the domain should be to connected the Wix site.
|
|
126
|
+
*
|
|
127
|
+
* + `"UNKNOWN_CONNECTION_TYPE"`: supported only for subdomain.
|
|
128
|
+
* + `"POINTING"`: Get domain or subdomain setup by pointing
|
|
129
|
+
* + `"NAMESERVERS"`: Get domain setup by nameservers
|
|
130
|
+
* + `"HIDDEN"`: supported only for subdomain.
|
|
131
|
+
*/
|
|
132
|
+
connectionType?: ConnectionType;
|
|
133
|
+
/** Whether to return registrar information or not. Default is false. */
|
|
134
|
+
includeRegistrar?: boolean;
|
|
135
|
+
}
|
|
136
|
+
export declare enum ConnectionType {
|
|
137
|
+
/** Used by sub domain */
|
|
138
|
+
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
139
|
+
POINTING = "POINTING",
|
|
140
|
+
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
|
+
*/
|
|
146
|
+
HIDDEN = "HIDDEN"
|
|
147
|
+
}
|
|
148
|
+
export interface GetSetupInfoResponse {
|
|
149
|
+
/** Retrieved setup information. */
|
|
150
|
+
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
|
+
}
|
|
152
|
+
export interface PreCreateConnectedDomainRequest {
|
|
153
|
+
/** Domain name including TLD */
|
|
154
|
+
domain?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface PreCreateConnectedDomainResponse {
|
|
157
|
+
}
|
|
158
|
+
export interface GetConnectedDomainSetupInfoRequest {
|
|
159
|
+
/**
|
|
160
|
+
* ID of the connected domain to retrieve setup information for.
|
|
161
|
+
* Identical to the domain name including TLD.
|
|
162
|
+
*/
|
|
163
|
+
connectedDomainId: string;
|
|
164
|
+
}
|
|
165
|
+
export interface GetConnectedDomainSetupInfoResponse {
|
|
166
|
+
/** Retrieved setup information. */
|
|
167
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
|
|
168
|
+
}
|
|
169
|
+
interface NsRecordNonNullableFields {
|
|
170
|
+
hostName: string;
|
|
171
|
+
ttl: number;
|
|
172
|
+
values: string[];
|
|
173
|
+
}
|
|
174
|
+
interface NameserverRecordNonNullableFields {
|
|
175
|
+
nsRecord?: NsRecordNonNullableFields;
|
|
176
|
+
}
|
|
177
|
+
interface ARecordNonNullableFields {
|
|
178
|
+
hostName: string;
|
|
179
|
+
ttl: number;
|
|
180
|
+
values: string[];
|
|
181
|
+
}
|
|
182
|
+
interface CnameRecordNonNullableFields {
|
|
183
|
+
hostName: string;
|
|
184
|
+
ttl: number;
|
|
185
|
+
value: string;
|
|
186
|
+
}
|
|
187
|
+
interface PointingRecordsNonNullableFields {
|
|
188
|
+
aRecord?: ARecordNonNullableFields;
|
|
189
|
+
cnameRecord?: CnameRecordNonNullableFields;
|
|
190
|
+
}
|
|
191
|
+
interface SubdomainRecordsNonNullableFields {
|
|
192
|
+
cnameRecords: CnameRecordNonNullableFields[];
|
|
193
|
+
}
|
|
194
|
+
interface RegistrarNonNullableFields {
|
|
195
|
+
nameServers: string[];
|
|
196
|
+
}
|
|
197
|
+
interface ConnectedDomainSetupInfoNonNullableFields {
|
|
198
|
+
nameserverRecord?: NameserverRecordNonNullableFields;
|
|
199
|
+
pointingRecords?: PointingRecordsNonNullableFields;
|
|
200
|
+
subdomainRecords?: SubdomainRecordsNonNullableFields;
|
|
201
|
+
connectedDomainId: string;
|
|
202
|
+
registrar?: RegistrarNonNullableFields;
|
|
203
|
+
}
|
|
204
|
+
export interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
205
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields;
|
|
206
|
+
}
|
|
207
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export var ConnectionType;
|
|
2
|
+
(function (ConnectionType) {
|
|
3
|
+
/** Used by sub domain */
|
|
4
|
+
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
5
|
+
ConnectionType["POINTING"] = "POINTING";
|
|
6
|
+
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
|
+
*/
|
|
12
|
+
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
13
|
+
})(ConnectionType || (ConnectionType = {}));
|
|
14
|
+
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.types.js.map
|
|
@@ -0,0 +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":"AAkJA,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,yBAAyB;IACzB,qEAAmD,CAAA;IACnD,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B;;;;OAIG;IACH,mCAAiB,CAAA;AACnB,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A `connectedDomainSetupInfo` object holds information the connected domain's
|
|
3
|
+
* external registrar and some DNS records. You can use this information to guide
|
|
4
|
+
* the site owner through the domain's setup process.
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectedDomainSetupInfo extends ConnectedDomainSetupInfoDnsRecordsOneOf {
|
|
7
|
+
/**
|
|
8
|
+
* Information about domains connected using nameservers. Available only for
|
|
9
|
+
* `{"connectionType": "NAMESERVERS"}`.
|
|
10
|
+
*/
|
|
11
|
+
nameserverRecord?: NameserverRecord;
|
|
12
|
+
/**
|
|
13
|
+
* Information about domains connected by pointing. Available only for
|
|
14
|
+
* `{"connectionType": "POINTING"}`.
|
|
15
|
+
* @readonly
|
|
16
|
+
*/
|
|
17
|
+
pointingRecords?: PointingRecords;
|
|
18
|
+
/**
|
|
19
|
+
* Information about subdomains. Available only for subdomains.
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
subdomainRecords?: SubdomainRecords;
|
|
23
|
+
/** ID of the connected domain. Identical to the domain name including TLD. */
|
|
24
|
+
connectedDomainId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Information about the external domain registrar including current name
|
|
27
|
+
* servers.
|
|
28
|
+
*/
|
|
29
|
+
registrar?: Registrar;
|
|
30
|
+
}
|
|
31
|
+
/** @oneof */
|
|
32
|
+
export interface ConnectedDomainSetupInfoDnsRecordsOneOf {
|
|
33
|
+
/**
|
|
34
|
+
* Information about domains connected using nameservers. Available only for
|
|
35
|
+
* `{"connectionType": "NAMESERVERS"}`.
|
|
36
|
+
*/
|
|
37
|
+
nameserverRecord?: NameserverRecord;
|
|
38
|
+
/**
|
|
39
|
+
* Information about domains connected by pointing. Available only for
|
|
40
|
+
* `{"connectionType": "POINTING"}`.
|
|
41
|
+
* @readonly
|
|
42
|
+
*/
|
|
43
|
+
pointingRecords?: PointingRecords;
|
|
44
|
+
/**
|
|
45
|
+
* Information about subdomains. Available only for subdomains.
|
|
46
|
+
* @readonly
|
|
47
|
+
*/
|
|
48
|
+
subdomainRecords?: SubdomainRecords;
|
|
49
|
+
}
|
|
50
|
+
export interface Registrar {
|
|
51
|
+
/**
|
|
52
|
+
* Name of the external domain registrar. For subdomains it's the registrar of the root domain.
|
|
53
|
+
* @readonly
|
|
54
|
+
*/
|
|
55
|
+
name?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Values of the current name server records. In case you connect an external
|
|
58
|
+
* domain using name servers, site owners must replace these current name servers
|
|
59
|
+
* with the new name servers found in `connectedDomainSetupInfo.nameserverRecord.nsRecord.values`
|
|
60
|
+
* during the initial domain setup.
|
|
61
|
+
* The replacement can't be performed through Wix APIs, you must use the
|
|
62
|
+
* infrastructure of the external domain registrar. Read more about
|
|
63
|
+
* [connecting domains using nameservers](https://dev.wix.com/api/rest/account-level-apis/connected-domains/sample-flows#account-level-apis_connected-domains_sample-flows_connect-an-external-domain-using-nameservers).
|
|
64
|
+
* @readonly
|
|
65
|
+
*/
|
|
66
|
+
nameServers?: string[];
|
|
67
|
+
}
|
|
68
|
+
/** Information about domains connected by nameservers. */
|
|
69
|
+
export interface NameserverRecord {
|
|
70
|
+
/**
|
|
71
|
+
* Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).
|
|
72
|
+
* @readonly
|
|
73
|
+
*/
|
|
74
|
+
nsRecord?: NsRecord;
|
|
75
|
+
}
|
|
76
|
+
export interface NsRecord {
|
|
77
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
78
|
+
hostName?: string;
|
|
79
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
80
|
+
ttl?: number;
|
|
81
|
+
/** DNS record values. */
|
|
82
|
+
values?: string[];
|
|
83
|
+
}
|
|
84
|
+
/** Information about domains connected by pointing. */
|
|
85
|
+
export interface PointingRecords {
|
|
86
|
+
/**
|
|
87
|
+
* [Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).
|
|
88
|
+
* @readonly
|
|
89
|
+
*/
|
|
90
|
+
aRecord?: ARecord;
|
|
91
|
+
/**
|
|
92
|
+
* [Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).
|
|
93
|
+
* @readonly
|
|
94
|
+
*/
|
|
95
|
+
cnameRecord?: CnameRecord;
|
|
96
|
+
}
|
|
97
|
+
export interface ARecord {
|
|
98
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
99
|
+
hostName?: string;
|
|
100
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
101
|
+
ttl?: number;
|
|
102
|
+
/** DNS record values. */
|
|
103
|
+
values?: string[];
|
|
104
|
+
}
|
|
105
|
+
export interface CnameRecord {
|
|
106
|
+
/** Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain. */
|
|
107
|
+
hostName?: string;
|
|
108
|
+
/** [Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds. */
|
|
109
|
+
ttl?: number;
|
|
110
|
+
/** DNS record value. */
|
|
111
|
+
value?: string;
|
|
112
|
+
}
|
|
113
|
+
/** Information about subdomains. */
|
|
114
|
+
export interface SubdomainRecords {
|
|
115
|
+
/**
|
|
116
|
+
* [Canonical Name records](https://en.wikipedia.org/wiki/CNAME_record).
|
|
117
|
+
* @readonly
|
|
118
|
+
*/
|
|
119
|
+
cnameRecords?: CnameRecord[];
|
|
120
|
+
}
|
|
121
|
+
export interface GetSetupInfoRequest {
|
|
122
|
+
/** Domain name including TLD */
|
|
123
|
+
domain?: string;
|
|
124
|
+
/**
|
|
125
|
+
* How the domain should be to connected the Wix site.
|
|
126
|
+
*
|
|
127
|
+
* + `"UNKNOWN_CONNECTION_TYPE"`: supported only for subdomain.
|
|
128
|
+
* + `"POINTING"`: Get domain or subdomain setup by pointing
|
|
129
|
+
* + `"NAMESERVERS"`: Get domain setup by nameservers
|
|
130
|
+
* + `"HIDDEN"`: supported only for subdomain.
|
|
131
|
+
*/
|
|
132
|
+
connectionType?: ConnectionType;
|
|
133
|
+
/** Whether to return registrar information or not. Default is false. */
|
|
134
|
+
includeRegistrar?: boolean;
|
|
135
|
+
}
|
|
136
|
+
export declare enum ConnectionType {
|
|
137
|
+
/** Used by sub domain */
|
|
138
|
+
UNKNOWN_CONNECTION_TYPE = "UNKNOWN_CONNECTION_TYPE",
|
|
139
|
+
POINTING = "POINTING",
|
|
140
|
+
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
|
+
*/
|
|
146
|
+
HIDDEN = "HIDDEN"
|
|
147
|
+
}
|
|
148
|
+
export interface GetSetupInfoResponse {
|
|
149
|
+
/** Retrieved setup information. */
|
|
150
|
+
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
151
|
+
}
|
|
152
|
+
export interface PreCreateConnectedDomainRequest {
|
|
153
|
+
/** Domain name including TLD */
|
|
154
|
+
domain?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface PreCreateConnectedDomainResponse {
|
|
157
|
+
}
|
|
158
|
+
export interface GetConnectedDomainSetupInfoRequest {
|
|
159
|
+
/**
|
|
160
|
+
* ID of the connected domain to retrieve setup information for.
|
|
161
|
+
* Identical to the domain name including TLD.
|
|
162
|
+
*/
|
|
163
|
+
connectedDomainId: string;
|
|
164
|
+
}
|
|
165
|
+
export interface GetConnectedDomainSetupInfoResponse {
|
|
166
|
+
/** Retrieved setup information. */
|
|
167
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
|
|
168
|
+
}
|
|
169
|
+
interface NsRecordNonNullableFields {
|
|
170
|
+
hostName: string;
|
|
171
|
+
ttl: number;
|
|
172
|
+
values: string[];
|
|
173
|
+
}
|
|
174
|
+
interface NameserverRecordNonNullableFields {
|
|
175
|
+
nsRecord?: NsRecordNonNullableFields;
|
|
176
|
+
}
|
|
177
|
+
interface ARecordNonNullableFields {
|
|
178
|
+
hostName: string;
|
|
179
|
+
ttl: number;
|
|
180
|
+
values: string[];
|
|
181
|
+
}
|
|
182
|
+
interface CnameRecordNonNullableFields {
|
|
183
|
+
hostName: string;
|
|
184
|
+
ttl: number;
|
|
185
|
+
value: string;
|
|
186
|
+
}
|
|
187
|
+
interface PointingRecordsNonNullableFields {
|
|
188
|
+
aRecord?: ARecordNonNullableFields;
|
|
189
|
+
cnameRecord?: CnameRecordNonNullableFields;
|
|
190
|
+
}
|
|
191
|
+
interface SubdomainRecordsNonNullableFields {
|
|
192
|
+
cnameRecords: CnameRecordNonNullableFields[];
|
|
193
|
+
}
|
|
194
|
+
interface RegistrarNonNullableFields {
|
|
195
|
+
nameServers: string[];
|
|
196
|
+
}
|
|
197
|
+
export interface ConnectedDomainSetupInfoNonNullableFields {
|
|
198
|
+
nameserverRecord?: NameserverRecordNonNullableFields;
|
|
199
|
+
pointingRecords?: PointingRecordsNonNullableFields;
|
|
200
|
+
subdomainRecords?: SubdomainRecordsNonNullableFields;
|
|
201
|
+
connectedDomainId: string;
|
|
202
|
+
registrar?: RegistrarNonNullableFields;
|
|
203
|
+
}
|
|
204
|
+
export interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
205
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Retrieves information for the initial setup of a connected domain.
|
|
209
|
+
*
|
|
210
|
+
*
|
|
211
|
+
* You must pass the relevant Wix account ID in the header of the call.
|
|
212
|
+
*
|
|
213
|
+
* > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header.
|
|
214
|
+
* @param connectedDomainId - ID of the connected domain to retrieve setup information for.
|
|
215
|
+
* Identical to the domain name including TLD.
|
|
216
|
+
* @public
|
|
217
|
+
* @requiredField connectedDomainId
|
|
218
|
+
* @permissionId DOMAINS.READ_CONNECTED_DOMAINS
|
|
219
|
+
* @returns Retrieved setup information.
|
|
220
|
+
* @fqn com.wixpress.premium.domain.connected.ConnectedDomainSetupInfoService.GetConnectedDomainSetupInfo
|
|
221
|
+
*/
|
|
222
|
+
export declare function getConnectedDomainSetupInfo(connectedDomainId: string): Promise<ConnectedDomainSetupInfo & ConnectedDomainSetupInfoNonNullableFields>;
|
|
223
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
2
|
+
import { renameKeysFromSDKRequestToRESTRequest, renameKeysFromRESTResponseToSDKResponse, } from '@wix/sdk-runtime/rename-all-nested-keys';
|
|
3
|
+
import * as ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.js';
|
|
4
|
+
export var ConnectionType;
|
|
5
|
+
(function (ConnectionType) {
|
|
6
|
+
/** Used by sub domain */
|
|
7
|
+
ConnectionType["UNKNOWN_CONNECTION_TYPE"] = "UNKNOWN_CONNECTION_TYPE";
|
|
8
|
+
ConnectionType["POINTING"] = "POINTING";
|
|
9
|
+
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
|
+
*/
|
|
15
|
+
ConnectionType["HIDDEN"] = "HIDDEN";
|
|
16
|
+
})(ConnectionType || (ConnectionType = {}));
|
|
17
|
+
/**
|
|
18
|
+
* Retrieves information for the initial setup of a connected domain.
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* You must pass the relevant Wix account ID in the header of the call.
|
|
22
|
+
*
|
|
23
|
+
* > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header.
|
|
24
|
+
* @param connectedDomainId - ID of the connected domain to retrieve setup information for.
|
|
25
|
+
* Identical to the domain name including TLD.
|
|
26
|
+
* @public
|
|
27
|
+
* @requiredField connectedDomainId
|
|
28
|
+
* @permissionId DOMAINS.READ_CONNECTED_DOMAINS
|
|
29
|
+
* @returns Retrieved setup information.
|
|
30
|
+
* @fqn com.wixpress.premium.domain.connected.ConnectedDomainSetupInfoService.GetConnectedDomainSetupInfo
|
|
31
|
+
*/
|
|
32
|
+
export async function getConnectedDomainSetupInfo(connectedDomainId) {
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
35
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
36
|
+
connectedDomainId: connectedDomainId,
|
|
37
|
+
});
|
|
38
|
+
const reqOpts = ambassadorWixPremiumDomainsV1ConnectedDomainSetupInfo.getConnectedDomainSetupInfo(payload);
|
|
39
|
+
sideEffects?.onSiteCall?.();
|
|
40
|
+
try {
|
|
41
|
+
const result = await httpClient.request(reqOpts);
|
|
42
|
+
sideEffects?.onSuccess?.(result);
|
|
43
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data)
|
|
44
|
+
?.connectedDomainSetupInfo;
|
|
45
|
+
}
|
|
46
|
+
catch (err) {
|
|
47
|
+
const transformedError = sdkTransformError(err, {
|
|
48
|
+
spreadPathsToArguments: {},
|
|
49
|
+
explicitPathsToArguments: { connectedDomainId: '$[0]' },
|
|
50
|
+
singleArgumentUnchanged: false,
|
|
51
|
+
}, ['connectedDomainId']);
|
|
52
|
+
sideEffects?.onError?.(err);
|
|
53
|
+
throw transformedError;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js.map
|
|
@@ -0,0 +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;AAoJ9J,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACxB,yBAAyB;IACzB,qEAAmD,CAAA;IACnD,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B;;;;OAIG;IACH,mCAAiB,CAAA;AACnB,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB;AA0ED;;;;;;;;;;;;;;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8HAA4G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.typings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gIAA8G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.meta.js"), exports);
|
|
18
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2HAAyG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { getConnectedDomainSetupInfo as publicGetConnectedDomainSetupInfo } from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js';
|
|
2
|
+
import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
3
|
+
export declare const getConnectedDomainSetupInfo: MaybeContext<BuildRESTFunction<typeof publicGetConnectedDomainSetupInfo> & typeof publicGetConnectedDomainSetupInfo>;
|
|
4
|
+
export { ConnectionType } from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js';
|
|
5
|
+
export { ConnectedDomainSetupInfo, ConnectedDomainSetupInfoDnsRecordsOneOf, Registrar, NameserverRecord, NsRecord, PointingRecords, ARecord, CnameRecord, SubdomainRecords, GetSetupInfoRequest, GetSetupInfoResponse, PreCreateConnectedDomainRequest, PreCreateConnectedDomainResponse, GetConnectedDomainSetupInfoRequest, GetConnectedDomainSetupInfoResponse, ConnectedDomainSetupInfoNonNullableFields, GetConnectedDomainSetupInfoResponseNonNullableFields, } from './premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConnectionType = exports.getConnectedDomainSetupInfo = void 0;
|
|
4
|
+
const premium_domains_v1_connected_domain_setup_info_connected_domain_setup_info_public_js_1 = require("./premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.js");
|
|
5
|
+
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
|
+
exports.getConnectedDomainSetupInfo = (0, rest_modules_1.createRESTModule)(premium_domains_v1_connected_domain_setup_info_connected_domain_setup_info_public_js_1.getConnectedDomainSetupInfo);
|
|
7
|
+
var premium_domains_v1_connected_domain_setup_info_connected_domain_setup_info_universal_js_1 = require("./premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.js");
|
|
8
|
+
Object.defineProperty(exports, "ConnectionType", { enumerable: true, get: function () { return premium_domains_v1_connected_domain_setup_info_connected_domain_setup_info_universal_js_1.ConnectionType; } });
|
|
9
|
+
//# sourceMappingURL=premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.js","sourceRoot":"","sources":["../../../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.ts"],"names":[],"mappings":";;;AAAA,iMAA0K;AAC1K,gEAAiE;AAGpD,QAAA,2BAA2B,GAGtB,IAAA,+BAAgB,EAAC,kHAAiC,CAAC,CAAC;AAEtE,qMAA2H;AAAlH,yLAAA,cAAc,OAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
+
/**
|
|
3
|
+
* Retrieves information for the initial setup of a connected domain.
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* You must pass the relevant Wix account ID in the header of the call.
|
|
7
|
+
*
|
|
8
|
+
* > __Important:__ This call requires an account level API key and cannot be authenticated with the standard authorization header.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getConnectedDomainSetupInfo(payload: object): RequestOptionsFactory<any>;
|