@wix/domains 1.0.15 → 1.0.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/domains",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/domains_connected-domain-setup-info": "1.0.
|
|
22
|
-
"@wix/domains_connected-domains": "1.0.
|
|
21
|
+
"@wix/domains_connected-domain-setup-info": "1.0.3",
|
|
22
|
+
"@wix/domains_connected-domains": "1.0.6",
|
|
23
23
|
"@wix/domains_domain-availability": "1.0.2",
|
|
24
24
|
"@wix/domains_domain-dns": "1.0.2",
|
|
25
25
|
"@wix/domains_domain-suggestions": "1.0.6",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"fqdn": ""
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"falconPackageHash": "
|
|
50
|
+
"falconPackageHash": "5b53baa48a300cc7649e8098b86e87d85963a325918c2db8e761cc93"
|
|
51
51
|
}
|
|
@@ -48,15 +48,17 @@ declare function createEventModule<T extends EventDefinition<any, string>>(event
|
|
|
48
48
|
|
|
49
49
|
declare const createConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicCreateConnectedDomain>>;
|
|
50
50
|
declare const getConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicGetConnectedDomain>>;
|
|
51
|
+
declare const deleteConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicDeleteConnectedDomain>>;
|
|
51
52
|
declare const listConnectedDomains: ReturnType<typeof createRESTModule$5<typeof publicListConnectedDomains>>;
|
|
52
53
|
declare const onConnectedDomainRemoved: ReturnType<typeof createEventModule<typeof publicOnConnectedDomainRemoved>>;
|
|
53
54
|
|
|
54
55
|
declare const context$5_createConnectedDomain: typeof createConnectedDomain;
|
|
56
|
+
declare const context$5_deleteConnectedDomain: typeof deleteConnectedDomain;
|
|
55
57
|
declare const context$5_getConnectedDomain: typeof getConnectedDomain;
|
|
56
58
|
declare const context$5_listConnectedDomains: typeof listConnectedDomains;
|
|
57
59
|
declare const context$5_onConnectedDomainRemoved: typeof onConnectedDomainRemoved;
|
|
58
60
|
declare namespace context$5 {
|
|
59
|
-
export { context$5_createConnectedDomain as createConnectedDomain, context$5_getConnectedDomain as getConnectedDomain, context$5_listConnectedDomains as listConnectedDomains, context$5_onConnectedDomainRemoved as onConnectedDomainRemoved };
|
|
61
|
+
export { context$5_createConnectedDomain as createConnectedDomain, context$5_deleteConnectedDomain as deleteConnectedDomain, context$5_getConnectedDomain as getConnectedDomain, context$5_listConnectedDomains as listConnectedDomains, context$5_onConnectedDomainRemoved as onConnectedDomainRemoved };
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
@@ -125,7 +125,7 @@ interface GetConnectedDomainResponse {
|
|
|
125
125
|
}
|
|
126
126
|
interface DeleteConnectedDomainRequest {
|
|
127
127
|
/** ID of the connected domain to delete. Identical to the domain name including TLD. */
|
|
128
|
-
connectedDomainId
|
|
128
|
+
connectedDomainId: string;
|
|
129
129
|
}
|
|
130
130
|
interface DeleteConnectedDomainResponse {
|
|
131
131
|
}
|
|
@@ -453,6 +453,7 @@ declare function getConnectedDomain(httpClient: HttpClient): (connectedDomainId:
|
|
|
453
453
|
suppressNotifications: boolean;
|
|
454
454
|
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
455
455
|
}>;
|
|
456
|
+
declare function deleteConnectedDomain(httpClient: HttpClient): (connectedDomainId: string) => Promise<void>;
|
|
456
457
|
declare function listConnectedDomains(httpClient: HttpClient): (options?: ListConnectedDomainsOptions) => Promise<ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields>;
|
|
457
458
|
declare const onConnectedDomainRemoved: EventDefinition<ConnectedDomainRemovedEnvelope, "wix.premium.domains.v1.connected_domain_removed">;
|
|
458
459
|
|
|
@@ -474,11 +475,12 @@ type index_d$5_ListConnectedDomainsResponse = ListConnectedDomainsResponse;
|
|
|
474
475
|
type index_d$5_ListConnectedDomainsResponseNonNullableFields = ListConnectedDomainsResponseNonNullableFields;
|
|
475
476
|
type index_d$5_RestoreInfo = RestoreInfo;
|
|
476
477
|
declare const index_d$5_createConnectedDomain: typeof createConnectedDomain;
|
|
478
|
+
declare const index_d$5_deleteConnectedDomain: typeof deleteConnectedDomain;
|
|
477
479
|
declare const index_d$5_getConnectedDomain: typeof getConnectedDomain;
|
|
478
480
|
declare const index_d$5_listConnectedDomains: typeof listConnectedDomains;
|
|
479
481
|
declare const index_d$5_onConnectedDomainRemoved: typeof onConnectedDomainRemoved;
|
|
480
482
|
declare namespace index_d$5 {
|
|
481
|
-
export { type ActionEvent$2 as ActionEvent, AssignmentType$1 as AssignmentType, type index_d$5_BaseEventMetadata as BaseEventMetadata, type index_d$5_ConnectedDomain as ConnectedDomain, type index_d$5_ConnectedDomainRemovedEnvelope as ConnectedDomainRemovedEnvelope, ConnectionType$1 as ConnectionType, type index_d$5_CreateConnectedDomainRequest as CreateConnectedDomainRequest, type index_d$5_CreateConnectedDomainResponse as CreateConnectedDomainResponse, type index_d$5_CreateConnectedDomainResponseNonNullableFields as CreateConnectedDomainResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type Cursors$2 as Cursors, type index_d$5_DeleteConnectedDomainRequest as DeleteConnectedDomainRequest, type index_d$5_DeleteConnectedDomainResponse as DeleteConnectedDomainResponse, DnsPropagationStatus$1 as DnsPropagationStatus, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type DomainRemovedEvent$1 as DomainRemovedEvent, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$5_EventMetadata as EventMetadata, type index_d$5_GetConnectedDomainRequest as GetConnectedDomainRequest, type index_d$5_GetConnectedDomainResponse as GetConnectedDomainResponse, type index_d$5_GetConnectedDomainResponseNonNullableFields as GetConnectedDomainResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$5_ListConnectedDomainsOptions as ListConnectedDomainsOptions, type index_d$5_ListConnectedDomainsRequest as ListConnectedDomainsRequest, type index_d$5_ListConnectedDomainsResponse as ListConnectedDomainsResponse, type index_d$5_ListConnectedDomainsResponseNonNullableFields as ListConnectedDomainsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type RedirectAssignmentInfo$1 as RedirectAssignmentInfo, type index_d$5_RestoreInfo as RestoreInfo, type SiteInfo$1 as SiteInfo, type SiteInfoAssignmentInfoOneOf$1 as SiteInfoAssignmentInfoOneOf, WebhookIdentityType$2 as WebhookIdentityType, __metadata$5 as __metadata, index_d$5_createConnectedDomain as createConnectedDomain, index_d$5_getConnectedDomain as getConnectedDomain, index_d$5_listConnectedDomains as listConnectedDomains, index_d$5_onConnectedDomainRemoved as onConnectedDomainRemoved };
|
|
483
|
+
export { type ActionEvent$2 as ActionEvent, AssignmentType$1 as AssignmentType, type index_d$5_BaseEventMetadata as BaseEventMetadata, type index_d$5_ConnectedDomain as ConnectedDomain, type index_d$5_ConnectedDomainRemovedEnvelope as ConnectedDomainRemovedEnvelope, ConnectionType$1 as ConnectionType, type index_d$5_CreateConnectedDomainRequest as CreateConnectedDomainRequest, type index_d$5_CreateConnectedDomainResponse as CreateConnectedDomainResponse, type index_d$5_CreateConnectedDomainResponseNonNullableFields as CreateConnectedDomainResponseNonNullableFields, type CursorPaging$2 as CursorPaging, type CursorPagingMetadata$2 as CursorPagingMetadata, type Cursors$2 as Cursors, type index_d$5_DeleteConnectedDomainRequest as DeleteConnectedDomainRequest, type index_d$5_DeleteConnectedDomainResponse as DeleteConnectedDomainResponse, DnsPropagationStatus$1 as DnsPropagationStatus, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type DomainRemovedEvent$1 as DomainRemovedEvent, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type index_d$5_EventMetadata as EventMetadata, type index_d$5_GetConnectedDomainRequest as GetConnectedDomainRequest, type index_d$5_GetConnectedDomainResponse as GetConnectedDomainResponse, type index_d$5_GetConnectedDomainResponseNonNullableFields as GetConnectedDomainResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$5_ListConnectedDomainsOptions as ListConnectedDomainsOptions, type index_d$5_ListConnectedDomainsRequest as ListConnectedDomainsRequest, type index_d$5_ListConnectedDomainsResponse as ListConnectedDomainsResponse, type index_d$5_ListConnectedDomainsResponseNonNullableFields as ListConnectedDomainsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type RedirectAssignmentInfo$1 as RedirectAssignmentInfo, type index_d$5_RestoreInfo as RestoreInfo, type SiteInfo$1 as SiteInfo, type SiteInfoAssignmentInfoOneOf$1 as SiteInfoAssignmentInfoOneOf, WebhookIdentityType$2 as WebhookIdentityType, __metadata$5 as __metadata, index_d$5_createConnectedDomain as createConnectedDomain, index_d$5_deleteConnectedDomain as deleteConnectedDomain, index_d$5_getConnectedDomain as getConnectedDomain, index_d$5_listConnectedDomains as listConnectedDomains, index_d$5_onConnectedDomainRemoved as onConnectedDomainRemoved };
|
|
482
484
|
}
|
|
483
485
|
|
|
484
486
|
/**
|
|
@@ -643,25 +645,6 @@ interface GetConnectedDomainSetupInfoResponse {
|
|
|
643
645
|
/** Retrieved setup information. */
|
|
644
646
|
connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
|
|
645
647
|
}
|
|
646
|
-
interface GetDomainSetupInfoRequest {
|
|
647
|
-
/** Domain name including TLD */
|
|
648
|
-
domain?: string;
|
|
649
|
-
/**
|
|
650
|
-
* How the domain should be to connected the Wix site.
|
|
651
|
-
*
|
|
652
|
-
* + `"UNKNOWN_CONNECTION_TYPE"`: supported only for subdomain.
|
|
653
|
-
* + `"POINTING"`: Get domain or subdomain setup by pointing
|
|
654
|
-
* + `"NAMESERVERS"`: Get domain setup by nameservers
|
|
655
|
-
* + `"HIDDEN"`: supported only for subdomain.
|
|
656
|
-
*/
|
|
657
|
-
connectionType?: ConnectionType;
|
|
658
|
-
/** Whether to return registrar information or not. Default is false. */
|
|
659
|
-
includeRegistrar?: boolean;
|
|
660
|
-
}
|
|
661
|
-
interface GetDomainSetupInfoResponse {
|
|
662
|
-
/** Retrieved setup information. */
|
|
663
|
-
domainSetupInfo?: ConnectedDomainSetupInfo;
|
|
664
|
-
}
|
|
665
648
|
interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
666
649
|
connectedDomainSetupInfo?: {
|
|
667
650
|
nameserverRecord?: {
|
|
@@ -711,8 +694,6 @@ declare const index_d$4_ConnectionType: typeof ConnectionType;
|
|
|
711
694
|
type index_d$4_GetConnectedDomainSetupInfoRequest = GetConnectedDomainSetupInfoRequest;
|
|
712
695
|
type index_d$4_GetConnectedDomainSetupInfoResponse = GetConnectedDomainSetupInfoResponse;
|
|
713
696
|
type index_d$4_GetConnectedDomainSetupInfoResponseNonNullableFields = GetConnectedDomainSetupInfoResponseNonNullableFields;
|
|
714
|
-
type index_d$4_GetDomainSetupInfoRequest = GetDomainSetupInfoRequest;
|
|
715
|
-
type index_d$4_GetDomainSetupInfoResponse = GetDomainSetupInfoResponse;
|
|
716
697
|
type index_d$4_GetSetupInfoRequest = GetSetupInfoRequest;
|
|
717
698
|
type index_d$4_GetSetupInfoResponse = GetSetupInfoResponse;
|
|
718
699
|
type index_d$4_NameserverRecord = NameserverRecord;
|
|
@@ -722,7 +703,7 @@ type index_d$4_Registrar = Registrar;
|
|
|
722
703
|
type index_d$4_SubdomainRecords = SubdomainRecords;
|
|
723
704
|
declare const index_d$4_getConnectedDomainSetupInfo: typeof getConnectedDomainSetupInfo;
|
|
724
705
|
declare namespace index_d$4 {
|
|
725
|
-
export { type index_d$4_ARecord as ARecord, type index_d$4_CnameRecord as CnameRecord, type index_d$4_ConnectedDomainSetupInfo as ConnectedDomainSetupInfo, type index_d$4_ConnectedDomainSetupInfoDnsRecordsOneOf as ConnectedDomainSetupInfoDnsRecordsOneOf, index_d$4_ConnectionType as ConnectionType, type index_d$4_GetConnectedDomainSetupInfoRequest as GetConnectedDomainSetupInfoRequest, type index_d$4_GetConnectedDomainSetupInfoResponse as GetConnectedDomainSetupInfoResponse, type index_d$4_GetConnectedDomainSetupInfoResponseNonNullableFields as GetConnectedDomainSetupInfoResponseNonNullableFields, type index_d$
|
|
706
|
+
export { type index_d$4_ARecord as ARecord, type index_d$4_CnameRecord as CnameRecord, type index_d$4_ConnectedDomainSetupInfo as ConnectedDomainSetupInfo, type index_d$4_ConnectedDomainSetupInfoDnsRecordsOneOf as ConnectedDomainSetupInfoDnsRecordsOneOf, index_d$4_ConnectionType as ConnectionType, type index_d$4_GetConnectedDomainSetupInfoRequest as GetConnectedDomainSetupInfoRequest, type index_d$4_GetConnectedDomainSetupInfoResponse as GetConnectedDomainSetupInfoResponse, type index_d$4_GetConnectedDomainSetupInfoResponseNonNullableFields as GetConnectedDomainSetupInfoResponseNonNullableFields, type index_d$4_GetSetupInfoRequest as GetSetupInfoRequest, type index_d$4_GetSetupInfoResponse as GetSetupInfoResponse, type index_d$4_NameserverRecord as NameserverRecord, type index_d$4_NsRecord as NsRecord, type index_d$4_PointingRecords as PointingRecords, type index_d$4_Registrar as Registrar, type index_d$4_SubdomainRecords as SubdomainRecords, __metadata$4 as __metadata, index_d$4_getConnectedDomainSetupInfo as getConnectedDomainSetupInfo };
|
|
726
707
|
}
|
|
727
708
|
|
|
728
709
|
/** DNS zones hold information about the records that map a domain's URL to an IP address. */
|
|
@@ -116,6 +116,12 @@ interface GetConnectedDomainResponse$1 {
|
|
|
116
116
|
/** Retrieved connected domain. */
|
|
117
117
|
connectedDomain?: ConnectedDomain$1;
|
|
118
118
|
}
|
|
119
|
+
interface DeleteConnectedDomainRequest$1 {
|
|
120
|
+
/** ID of the connected domain to delete. Identical to the domain name including TLD. */
|
|
121
|
+
connectedDomainId: string;
|
|
122
|
+
}
|
|
123
|
+
interface DeleteConnectedDomainResponse$1 {
|
|
124
|
+
}
|
|
119
125
|
interface ListConnectedDomainsRequest$1 {
|
|
120
126
|
/** Cursor paging options. */
|
|
121
127
|
paging?: CursorPaging$5;
|
|
@@ -325,6 +331,12 @@ interface GetConnectedDomainResponse {
|
|
|
325
331
|
/** Retrieved connected domain. */
|
|
326
332
|
connectedDomain?: ConnectedDomain;
|
|
327
333
|
}
|
|
334
|
+
interface DeleteConnectedDomainRequest {
|
|
335
|
+
/** ID of the connected domain to delete. Identical to the domain name including TLD. */
|
|
336
|
+
connectedDomainId: string;
|
|
337
|
+
}
|
|
338
|
+
interface DeleteConnectedDomainResponse {
|
|
339
|
+
}
|
|
328
340
|
interface ListConnectedDomainsRequest {
|
|
329
341
|
/** Cursor paging options. */
|
|
330
342
|
paging?: CursorPaging$4;
|
|
@@ -430,13 +442,17 @@ declare function createConnectedDomain(): __PublicMethodMetaInfo$5<'POST', {}, C
|
|
|
430
442
|
declare function getConnectedDomain(): __PublicMethodMetaInfo$5<'GET', {
|
|
431
443
|
connectedDomainId: string;
|
|
432
444
|
}, GetConnectedDomainRequest, GetConnectedDomainRequest$1, GetConnectedDomainResponse & GetConnectedDomainResponseNonNullableFields, GetConnectedDomainResponse$1 & GetConnectedDomainResponseNonNullableFields$1>;
|
|
445
|
+
declare function deleteConnectedDomain(): __PublicMethodMetaInfo$5<'DELETE', {
|
|
446
|
+
connectedDomainId: string;
|
|
447
|
+
}, DeleteConnectedDomainRequest, DeleteConnectedDomainRequest$1, DeleteConnectedDomainResponse, DeleteConnectedDomainResponse$1>;
|
|
433
448
|
declare function listConnectedDomains(): __PublicMethodMetaInfo$5<'GET', {}, ListConnectedDomainsRequest, ListConnectedDomainsRequest$1, ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields, ListConnectedDomainsResponse$1 & ListConnectedDomainsResponseNonNullableFields$1>;
|
|
434
449
|
|
|
435
450
|
declare const meta$5_createConnectedDomain: typeof createConnectedDomain;
|
|
451
|
+
declare const meta$5_deleteConnectedDomain: typeof deleteConnectedDomain;
|
|
436
452
|
declare const meta$5_getConnectedDomain: typeof getConnectedDomain;
|
|
437
453
|
declare const meta$5_listConnectedDomains: typeof listConnectedDomains;
|
|
438
454
|
declare namespace meta$5 {
|
|
439
|
-
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createConnectedDomain as createConnectedDomain, meta$5_getConnectedDomain as getConnectedDomain, meta$5_listConnectedDomains as listConnectedDomains };
|
|
455
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createConnectedDomain as createConnectedDomain, meta$5_deleteConnectedDomain as deleteConnectedDomain, meta$5_getConnectedDomain as getConnectedDomain, meta$5_listConnectedDomains as listConnectedDomains };
|
|
440
456
|
}
|
|
441
457
|
|
|
442
458
|
/**
|