@wix/domains 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/type-bundles/context.bundle.d.ts +144 -366
- package/type-bundles/index.bundle.d.ts +177 -566
- package/type-bundles/meta.bundle.d.ts +274 -724
|
@@ -197,7 +197,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
|
|
|
197
197
|
slug?: string;
|
|
198
198
|
/** ID of the entity associated with the event. */
|
|
199
199
|
entityId?: string;
|
|
200
|
-
/** Event timestamp. */
|
|
200
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
201
201
|
eventTime?: Date;
|
|
202
202
|
/**
|
|
203
203
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -284,56 +284,36 @@ declare enum WebhookIdentityType$2 {
|
|
|
284
284
|
WIX_USER = "WIX_USER",
|
|
285
285
|
APP = "APP"
|
|
286
286
|
}
|
|
287
|
+
interface RedirectAssignmentInfoNonNullableFields$1 {
|
|
288
|
+
primaryDomain: string;
|
|
289
|
+
}
|
|
290
|
+
interface SiteInfoNonNullableFields$1 {
|
|
291
|
+
redirectInfo?: RedirectAssignmentInfoNonNullableFields$1;
|
|
292
|
+
assignmentType: AssignmentType$1;
|
|
293
|
+
}
|
|
294
|
+
interface ConnectedDomainNonNullableFields {
|
|
295
|
+
_id: string;
|
|
296
|
+
domain: string;
|
|
297
|
+
connectionType: ConnectionType$1;
|
|
298
|
+
siteInfo?: SiteInfoNonNullableFields$1;
|
|
299
|
+
suppressNotifications: boolean;
|
|
300
|
+
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
301
|
+
}
|
|
287
302
|
interface CreateConnectedDomainResponseNonNullableFields {
|
|
288
|
-
connectedDomain?:
|
|
289
|
-
_id: string;
|
|
290
|
-
domain: string;
|
|
291
|
-
connectionType: ConnectionType$1;
|
|
292
|
-
siteInfo?: {
|
|
293
|
-
redirectInfo?: {
|
|
294
|
-
primaryDomain: string;
|
|
295
|
-
};
|
|
296
|
-
assignmentType: AssignmentType$1;
|
|
297
|
-
};
|
|
298
|
-
suppressNotifications: boolean;
|
|
299
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
300
|
-
};
|
|
303
|
+
connectedDomain?: ConnectedDomainNonNullableFields;
|
|
301
304
|
}
|
|
302
305
|
interface GetConnectedDomainResponseNonNullableFields {
|
|
303
|
-
connectedDomain?:
|
|
304
|
-
_id: string;
|
|
305
|
-
domain: string;
|
|
306
|
-
connectionType: ConnectionType$1;
|
|
307
|
-
siteInfo?: {
|
|
308
|
-
redirectInfo?: {
|
|
309
|
-
primaryDomain: string;
|
|
310
|
-
};
|
|
311
|
-
assignmentType: AssignmentType$1;
|
|
312
|
-
};
|
|
313
|
-
suppressNotifications: boolean;
|
|
314
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
315
|
-
};
|
|
306
|
+
connectedDomain?: ConnectedDomainNonNullableFields;
|
|
316
307
|
}
|
|
317
308
|
interface ListConnectedDomainsResponseNonNullableFields {
|
|
318
|
-
connectedDomains:
|
|
319
|
-
_id: string;
|
|
320
|
-
domain: string;
|
|
321
|
-
connectionType: ConnectionType$1;
|
|
322
|
-
siteInfo?: {
|
|
323
|
-
redirectInfo?: {
|
|
324
|
-
primaryDomain: string;
|
|
325
|
-
};
|
|
326
|
-
assignmentType: AssignmentType$1;
|
|
327
|
-
};
|
|
328
|
-
suppressNotifications: boolean;
|
|
329
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
330
|
-
}[];
|
|
309
|
+
connectedDomains: ConnectedDomainNonNullableFields[];
|
|
331
310
|
}
|
|
332
311
|
interface ListConnectedDomainsOptions {
|
|
333
312
|
/** Cursor paging options. */
|
|
334
313
|
paging?: CursorPaging$2;
|
|
335
314
|
}
|
|
336
315
|
|
|
316
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
337
317
|
interface HttpClient {
|
|
338
318
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
339
319
|
fetchWithAuth: typeof fetch;
|
|
@@ -358,6 +338,7 @@ type APIMetadata = {
|
|
|
358
338
|
entityFqdn?: string;
|
|
359
339
|
packageName?: string;
|
|
360
340
|
};
|
|
341
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
361
342
|
|
|
362
343
|
declare global {
|
|
363
344
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -366,39 +347,15 @@ declare global {
|
|
|
366
347
|
}
|
|
367
348
|
}
|
|
368
349
|
|
|
369
|
-
declare
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
declare
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
connectionType: ConnectionType$1;
|
|
376
|
-
siteInfo?: {
|
|
377
|
-
redirectInfo?: {
|
|
378
|
-
primaryDomain: string;
|
|
379
|
-
} | undefined;
|
|
380
|
-
assignmentType: AssignmentType$1;
|
|
381
|
-
} | undefined;
|
|
382
|
-
suppressNotifications: boolean;
|
|
383
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
384
|
-
}>;
|
|
385
|
-
declare function getConnectedDomain(httpClient: HttpClient): (connectedDomainId: string) => Promise<ConnectedDomain & {
|
|
386
|
-
_id: string;
|
|
387
|
-
domain: string;
|
|
388
|
-
connectionType: ConnectionType$1;
|
|
389
|
-
siteInfo?: {
|
|
390
|
-
redirectInfo?: {
|
|
391
|
-
primaryDomain: string;
|
|
392
|
-
} | undefined;
|
|
393
|
-
assignmentType: AssignmentType$1;
|
|
394
|
-
} | undefined;
|
|
395
|
-
suppressNotifications: boolean;
|
|
396
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
397
|
-
}>;
|
|
398
|
-
declare function deleteConnectedDomain(httpClient: HttpClient): (connectedDomainId: string) => Promise<void>;
|
|
399
|
-
declare function listConnectedDomains(httpClient: HttpClient): (options?: ListConnectedDomainsOptions) => Promise<ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields>;
|
|
350
|
+
declare function createRESTModule$5<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
351
|
+
|
|
352
|
+
declare const createConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicCreateConnectedDomain>>;
|
|
353
|
+
declare const getConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicGetConnectedDomain>>;
|
|
354
|
+
declare const deleteConnectedDomain: ReturnType<typeof createRESTModule$5<typeof publicDeleteConnectedDomain>>;
|
|
355
|
+
declare const listConnectedDomains: ReturnType<typeof createRESTModule$5<typeof publicListConnectedDomains>>;
|
|
400
356
|
|
|
401
357
|
type index_d$5_ConnectedDomain = ConnectedDomain;
|
|
358
|
+
type index_d$5_ConnectedDomainNonNullableFields = ConnectedDomainNonNullableFields;
|
|
402
359
|
type index_d$5_CreateConnectedDomainRequest = CreateConnectedDomainRequest;
|
|
403
360
|
type index_d$5_CreateConnectedDomainResponse = CreateConnectedDomainResponse;
|
|
404
361
|
type index_d$5_CreateConnectedDomainResponseNonNullableFields = CreateConnectedDomainResponseNonNullableFields;
|
|
@@ -416,7 +373,7 @@ declare const index_d$5_deleteConnectedDomain: typeof deleteConnectedDomain;
|
|
|
416
373
|
declare const index_d$5_getConnectedDomain: typeof getConnectedDomain;
|
|
417
374
|
declare const index_d$5_listConnectedDomains: typeof listConnectedDomains;
|
|
418
375
|
declare namespace index_d$5 {
|
|
419
|
-
export { type ActionEvent$2 as ActionEvent, AssignmentType$1 as AssignmentType, type index_d$5_ConnectedDomain as ConnectedDomain, 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_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 RestoreInfo$1 as RestoreInfo, type SiteInfo$1 as SiteInfo, type SiteInfoAssignmentInfoOneOf$1 as SiteInfoAssignmentInfoOneOf, WebhookIdentityType$2 as WebhookIdentityType,
|
|
376
|
+
export { type ActionEvent$2 as ActionEvent, AssignmentType$1 as AssignmentType, type index_d$5_ConnectedDomain as ConnectedDomain, type index_d$5_ConnectedDomainNonNullableFields as ConnectedDomainNonNullableFields, 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_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 RestoreInfo$1 as RestoreInfo, type SiteInfo$1 as SiteInfo, type SiteInfoAssignmentInfoOneOf$1 as SiteInfoAssignmentInfoOneOf, WebhookIdentityType$2 as WebhookIdentityType, index_d$5_createConnectedDomain as createConnectedDomain, index_d$5_deleteConnectedDomain as deleteConnectedDomain, index_d$5_getConnectedDomain as getConnectedDomain, index_d$5_listConnectedDomains as listConnectedDomains };
|
|
420
377
|
}
|
|
421
378
|
|
|
422
379
|
/**
|
|
@@ -581,45 +538,48 @@ interface GetConnectedDomainSetupInfoResponse {
|
|
|
581
538
|
/** Retrieved setup information. */
|
|
582
539
|
connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
|
|
583
540
|
}
|
|
541
|
+
interface NsRecordNonNullableFields {
|
|
542
|
+
hostName: string;
|
|
543
|
+
ttl: number;
|
|
544
|
+
values: string[];
|
|
545
|
+
}
|
|
546
|
+
interface NameserverRecordNonNullableFields {
|
|
547
|
+
nsRecord?: NsRecordNonNullableFields;
|
|
548
|
+
}
|
|
549
|
+
interface ARecordNonNullableFields {
|
|
550
|
+
hostName: string;
|
|
551
|
+
ttl: number;
|
|
552
|
+
values: string[];
|
|
553
|
+
}
|
|
554
|
+
interface CnameRecordNonNullableFields {
|
|
555
|
+
hostName: string;
|
|
556
|
+
ttl: number;
|
|
557
|
+
value: string;
|
|
558
|
+
}
|
|
559
|
+
interface PointingRecordsNonNullableFields {
|
|
560
|
+
aRecord?: ARecordNonNullableFields;
|
|
561
|
+
cnameRecord?: CnameRecordNonNullableFields;
|
|
562
|
+
}
|
|
563
|
+
interface SubdomainRecordsNonNullableFields {
|
|
564
|
+
cnameRecords: CnameRecordNonNullableFields[];
|
|
565
|
+
}
|
|
566
|
+
interface RegistrarNonNullableFields {
|
|
567
|
+
nameServers: string[];
|
|
568
|
+
}
|
|
569
|
+
interface ConnectedDomainSetupInfoNonNullableFields {
|
|
570
|
+
nameserverRecord?: NameserverRecordNonNullableFields;
|
|
571
|
+
pointingRecords?: PointingRecordsNonNullableFields;
|
|
572
|
+
subdomainRecords?: SubdomainRecordsNonNullableFields;
|
|
573
|
+
connectedDomainId: string;
|
|
574
|
+
registrar?: RegistrarNonNullableFields;
|
|
575
|
+
}
|
|
584
576
|
interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
585
|
-
connectedDomainSetupInfo?:
|
|
586
|
-
nameserverRecord?: {
|
|
587
|
-
nsRecord?: {
|
|
588
|
-
hostName: string;
|
|
589
|
-
ttl: number;
|
|
590
|
-
values: string[];
|
|
591
|
-
};
|
|
592
|
-
};
|
|
593
|
-
pointingRecords?: {
|
|
594
|
-
aRecord?: {
|
|
595
|
-
hostName: string;
|
|
596
|
-
ttl: number;
|
|
597
|
-
values: string[];
|
|
598
|
-
};
|
|
599
|
-
cnameRecord?: {
|
|
600
|
-
hostName: string;
|
|
601
|
-
ttl: number;
|
|
602
|
-
value: string;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
subdomainRecords?: {
|
|
606
|
-
cnameRecords: {
|
|
607
|
-
hostName: string;
|
|
608
|
-
ttl: number;
|
|
609
|
-
value: string;
|
|
610
|
-
}[];
|
|
611
|
-
};
|
|
612
|
-
connectedDomainId: string;
|
|
613
|
-
registrar?: {
|
|
614
|
-
nameServers: string[];
|
|
615
|
-
};
|
|
616
|
-
};
|
|
577
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields;
|
|
617
578
|
}
|
|
618
579
|
|
|
619
|
-
declare
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
declare function getConnectedDomainSetupInfo(httpClient: HttpClient): (connectedDomainId: string) => Promise<GetConnectedDomainSetupInfoResponse & GetConnectedDomainSetupInfoResponseNonNullableFields>;
|
|
580
|
+
declare function createRESTModule$4<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
581
|
+
|
|
582
|
+
declare const getConnectedDomainSetupInfo: ReturnType<typeof createRESTModule$4<typeof publicGetConnectedDomainSetupInfo>>;
|
|
623
583
|
|
|
624
584
|
type index_d$4_ARecord = ARecord;
|
|
625
585
|
type index_d$4_CnameRecord = CnameRecord;
|
|
@@ -639,7 +599,7 @@ type index_d$4_Registrar = Registrar;
|
|
|
639
599
|
type index_d$4_SubdomainRecords = SubdomainRecords;
|
|
640
600
|
declare const index_d$4_getConnectedDomainSetupInfo: typeof getConnectedDomainSetupInfo;
|
|
641
601
|
declare namespace index_d$4 {
|
|
642
|
-
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,
|
|
602
|
+
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, index_d$4_getConnectedDomainSetupInfo as getConnectedDomainSetupInfo };
|
|
643
603
|
}
|
|
644
604
|
|
|
645
605
|
/** DNS zones hold information about the records that map a domain's URL to an IP address. */
|
|
@@ -886,57 +846,29 @@ declare enum WebhookIdentityType$1 {
|
|
|
886
846
|
WIX_USER = "WIX_USER",
|
|
887
847
|
APP = "APP"
|
|
888
848
|
}
|
|
849
|
+
interface DnsRecordNonNullableFields {
|
|
850
|
+
type: RecordType;
|
|
851
|
+
hostName: string;
|
|
852
|
+
ttl: number;
|
|
853
|
+
values: string[];
|
|
854
|
+
}
|
|
855
|
+
interface DnsZoneNonNullableFields {
|
|
856
|
+
domainName: string;
|
|
857
|
+
records: DnsRecordNonNullableFields[];
|
|
858
|
+
_id: string;
|
|
859
|
+
dnssecEnabled: boolean;
|
|
860
|
+
}
|
|
889
861
|
interface CreateDnsZoneResponseNonNullableFields {
|
|
890
|
-
dnsZone?:
|
|
891
|
-
domainName: string;
|
|
892
|
-
records: {
|
|
893
|
-
type: RecordType;
|
|
894
|
-
hostName: string;
|
|
895
|
-
ttl: number;
|
|
896
|
-
values: string[];
|
|
897
|
-
}[];
|
|
898
|
-
_id: string;
|
|
899
|
-
dnssecEnabled: boolean;
|
|
900
|
-
};
|
|
862
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
901
863
|
}
|
|
902
864
|
interface GetDnsZoneResponseNonNullableFields {
|
|
903
|
-
dnsZone?:
|
|
904
|
-
domainName: string;
|
|
905
|
-
records: {
|
|
906
|
-
type: RecordType;
|
|
907
|
-
hostName: string;
|
|
908
|
-
ttl: number;
|
|
909
|
-
values: string[];
|
|
910
|
-
}[];
|
|
911
|
-
_id: string;
|
|
912
|
-
dnssecEnabled: boolean;
|
|
913
|
-
};
|
|
865
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
914
866
|
}
|
|
915
867
|
interface UpdateDnsZoneResponseNonNullableFields {
|
|
916
|
-
dnsZone?:
|
|
917
|
-
domainName: string;
|
|
918
|
-
records: {
|
|
919
|
-
type: RecordType;
|
|
920
|
-
hostName: string;
|
|
921
|
-
ttl: number;
|
|
922
|
-
values: string[];
|
|
923
|
-
}[];
|
|
924
|
-
_id: string;
|
|
925
|
-
dnssecEnabled: boolean;
|
|
926
|
-
};
|
|
868
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
927
869
|
}
|
|
928
870
|
interface PreviewDnsZoneResponseNonNullableFields {
|
|
929
|
-
dnsZone?:
|
|
930
|
-
domainName: string;
|
|
931
|
-
records: {
|
|
932
|
-
type: RecordType;
|
|
933
|
-
hostName: string;
|
|
934
|
-
ttl: number;
|
|
935
|
-
values: string[];
|
|
936
|
-
}[];
|
|
937
|
-
_id: string;
|
|
938
|
-
dnssecEnabled: boolean;
|
|
939
|
-
};
|
|
871
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
940
872
|
}
|
|
941
873
|
interface UpdateDnsZoneOptions {
|
|
942
874
|
/**
|
|
@@ -955,34 +887,13 @@ interface UpdateDnsZoneOptions {
|
|
|
955
887
|
dnssecEnabled?: boolean | null;
|
|
956
888
|
}
|
|
957
889
|
|
|
958
|
-
declare
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
declare
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
hostName: string;
|
|
966
|
-
ttl: number;
|
|
967
|
-
values: string[];
|
|
968
|
-
}[];
|
|
969
|
-
_id: string;
|
|
970
|
-
dnssecEnabled: boolean;
|
|
971
|
-
}>;
|
|
972
|
-
declare function getDnsZone(httpClient: HttpClient): (domainName: string) => Promise<DnsZone & {
|
|
973
|
-
domainName: string;
|
|
974
|
-
records: {
|
|
975
|
-
type: RecordType;
|
|
976
|
-
hostName: string;
|
|
977
|
-
ttl: number;
|
|
978
|
-
values: string[];
|
|
979
|
-
}[];
|
|
980
|
-
_id: string;
|
|
981
|
-
dnssecEnabled: boolean;
|
|
982
|
-
}>;
|
|
983
|
-
declare function updateDnsZone(httpClient: HttpClient): (domainName: string, options?: UpdateDnsZoneOptions) => Promise<UpdateDnsZoneResponse & UpdateDnsZoneResponseNonNullableFields>;
|
|
984
|
-
declare function deleteDnsZone(httpClient: HttpClient): (domainName: string) => Promise<void>;
|
|
985
|
-
declare function previewDnsZone(httpClient: HttpClient): (domainName: string) => Promise<PreviewDnsZoneResponse & PreviewDnsZoneResponseNonNullableFields>;
|
|
890
|
+
declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
891
|
+
|
|
892
|
+
declare const createDnsZone: ReturnType<typeof createRESTModule$3<typeof publicCreateDnsZone>>;
|
|
893
|
+
declare const getDnsZone: ReturnType<typeof createRESTModule$3<typeof publicGetDnsZone>>;
|
|
894
|
+
declare const updateDnsZone: ReturnType<typeof createRESTModule$3<typeof publicUpdateDnsZone>>;
|
|
895
|
+
declare const deleteDnsZone: ReturnType<typeof createRESTModule$3<typeof publicDeleteDnsZone>>;
|
|
896
|
+
declare const previewDnsZone: ReturnType<typeof createRESTModule$3<typeof publicPreviewDnsZone>>;
|
|
986
897
|
|
|
987
898
|
type index_d$3_CreateDnsZoneRequest = CreateDnsZoneRequest;
|
|
988
899
|
type index_d$3_CreateDnsZoneResponse = CreateDnsZoneResponse;
|
|
@@ -991,6 +902,7 @@ type index_d$3_DeleteDnsZoneRequest = DeleteDnsZoneRequest;
|
|
|
991
902
|
type index_d$3_DeleteDnsZoneResponse = DeleteDnsZoneResponse;
|
|
992
903
|
type index_d$3_DnsRecord = DnsRecord;
|
|
993
904
|
type index_d$3_DnsZone = DnsZone;
|
|
905
|
+
type index_d$3_DnsZoneNonNullableFields = DnsZoneNonNullableFields;
|
|
994
906
|
type index_d$3_DomainRemovedEvent = DomainRemovedEvent;
|
|
995
907
|
type index_d$3_GetDnsZoneRequest = GetDnsZoneRequest;
|
|
996
908
|
type index_d$3_GetDnsZoneResponse = GetDnsZoneResponse;
|
|
@@ -1010,7 +922,7 @@ declare const index_d$3_getDnsZone: typeof getDnsZone;
|
|
|
1010
922
|
declare const index_d$3_previewDnsZone: typeof previewDnsZone;
|
|
1011
923
|
declare const index_d$3_updateDnsZone: typeof updateDnsZone;
|
|
1012
924
|
declare namespace index_d$3 {
|
|
1013
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$3_CreateDnsZoneRequest as CreateDnsZoneRequest, type index_d$3_CreateDnsZoneResponse as CreateDnsZoneResponse, type index_d$3_CreateDnsZoneResponseNonNullableFields as CreateDnsZoneResponseNonNullableFields, type index_d$3_DeleteDnsZoneRequest as DeleteDnsZoneRequest, type index_d$3_DeleteDnsZoneResponse as DeleteDnsZoneResponse, type index_d$3_DnsRecord as DnsRecord, type index_d$3_DnsZone as DnsZone, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$3_DomainRemovedEvent as DomainRemovedEvent, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$3_GetDnsZoneRequest as GetDnsZoneRequest, type index_d$3_GetDnsZoneResponse as GetDnsZoneResponse, type index_d$3_GetDnsZoneResponseNonNullableFields as GetDnsZoneResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type index_d$3_PreviewDnsZoneRequest as PreviewDnsZoneRequest, type index_d$3_PreviewDnsZoneResponse as PreviewDnsZoneResponse, type index_d$3_PreviewDnsZoneResponseNonNullableFields as PreviewDnsZoneResponseNonNullableFields, index_d$3_RecordType as RecordType, type index_d$3_UpdateDnsZoneOptions as UpdateDnsZoneOptions, type index_d$3_UpdateDnsZoneRequest as UpdateDnsZoneRequest, type index_d$3_UpdateDnsZoneResponse as UpdateDnsZoneResponse, type index_d$3_UpdateDnsZoneResponseNonNullableFields as UpdateDnsZoneResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType,
|
|
925
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$3_CreateDnsZoneRequest as CreateDnsZoneRequest, type index_d$3_CreateDnsZoneResponse as CreateDnsZoneResponse, type index_d$3_CreateDnsZoneResponseNonNullableFields as CreateDnsZoneResponseNonNullableFields, type index_d$3_DeleteDnsZoneRequest as DeleteDnsZoneRequest, type index_d$3_DeleteDnsZoneResponse as DeleteDnsZoneResponse, type index_d$3_DnsRecord as DnsRecord, type index_d$3_DnsZone as DnsZone, type index_d$3_DnsZoneNonNullableFields as DnsZoneNonNullableFields, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type index_d$3_DomainRemovedEvent as DomainRemovedEvent, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$3_GetDnsZoneRequest as GetDnsZoneRequest, type index_d$3_GetDnsZoneResponse as GetDnsZoneResponse, type index_d$3_GetDnsZoneResponseNonNullableFields as GetDnsZoneResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type MessageEnvelope$1 as MessageEnvelope, type index_d$3_PreviewDnsZoneRequest as PreviewDnsZoneRequest, type index_d$3_PreviewDnsZoneResponse as PreviewDnsZoneResponse, type index_d$3_PreviewDnsZoneResponseNonNullableFields as PreviewDnsZoneResponseNonNullableFields, index_d$3_RecordType as RecordType, type index_d$3_UpdateDnsZoneOptions as UpdateDnsZoneOptions, type index_d$3_UpdateDnsZoneRequest as UpdateDnsZoneRequest, type index_d$3_UpdateDnsZoneResponse as UpdateDnsZoneResponse, type index_d$3_UpdateDnsZoneResponseNonNullableFields as UpdateDnsZoneResponseNonNullableFields, WebhookIdentityType$1 as WebhookIdentityType, index_d$3_createDnsZone as createDnsZone, index_d$3_deleteDnsZone as deleteDnsZone, index_d$3_getDnsZone as getDnsZone, index_d$3_previewDnsZone as previewDnsZone, index_d$3_updateDnsZone as updateDnsZone };
|
|
1014
926
|
}
|
|
1015
927
|
|
|
1016
928
|
/**
|
|
@@ -1592,384 +1504,83 @@ declare enum WebhookIdentityType {
|
|
|
1592
1504
|
WIX_USER = "WIX_USER",
|
|
1593
1505
|
APP = "APP"
|
|
1594
1506
|
}
|
|
1507
|
+
interface LatestAttemptNonNullableFields {
|
|
1508
|
+
number: number;
|
|
1509
|
+
}
|
|
1510
|
+
interface PendingRegistrationInfoNonNullableFields {
|
|
1511
|
+
latestAttempt?: LatestAttemptNonNullableFields;
|
|
1512
|
+
}
|
|
1513
|
+
interface FailedRegistrationInfoNonNullableFields {
|
|
1514
|
+
code: FailureCode;
|
|
1515
|
+
message: string;
|
|
1516
|
+
}
|
|
1517
|
+
interface RedirectAssignmentInfoNonNullableFields {
|
|
1518
|
+
primaryDomain: string;
|
|
1519
|
+
}
|
|
1520
|
+
interface SiteInfoNonNullableFields {
|
|
1521
|
+
redirectInfo?: RedirectAssignmentInfoNonNullableFields;
|
|
1522
|
+
assignmentType: AssignmentType;
|
|
1523
|
+
}
|
|
1524
|
+
interface ContactDataNonNullableFields {
|
|
1525
|
+
firstName: string;
|
|
1526
|
+
lastName: string;
|
|
1527
|
+
email: string;
|
|
1528
|
+
address: string;
|
|
1529
|
+
city: string;
|
|
1530
|
+
countryCode: string;
|
|
1531
|
+
phone: string;
|
|
1532
|
+
}
|
|
1533
|
+
interface ContactsNonNullableFields {
|
|
1534
|
+
registrant?: ContactDataNonNullableFields;
|
|
1535
|
+
admin?: ContactDataNonNullableFields;
|
|
1536
|
+
tech?: ContactDataNonNullableFields;
|
|
1537
|
+
}
|
|
1538
|
+
interface PendingNonNullableFields {
|
|
1539
|
+
notConfirmedBy: string[];
|
|
1540
|
+
}
|
|
1541
|
+
interface ExpiredNonNullableFields {
|
|
1542
|
+
notConfirmedBy: string[];
|
|
1543
|
+
}
|
|
1544
|
+
interface ICANNConfirmationStatusInfoNonNullableFields {
|
|
1545
|
+
pending?: PendingNonNullableFields;
|
|
1546
|
+
expired?: ExpiredNonNullableFields;
|
|
1547
|
+
}
|
|
1548
|
+
interface RegisteredDomainNonNullableFields {
|
|
1549
|
+
pendingRegistrationInfo?: PendingRegistrationInfoNonNullableFields;
|
|
1550
|
+
failedRegistrationInfo?: FailedRegistrationInfoNonNullableFields;
|
|
1551
|
+
_id: string;
|
|
1552
|
+
domain: string;
|
|
1553
|
+
productInstanceId: string;
|
|
1554
|
+
siteInfo?: SiteInfoNonNullableFields;
|
|
1555
|
+
contacts?: ContactsNonNullableFields;
|
|
1556
|
+
status: Status;
|
|
1557
|
+
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1558
|
+
icannConfirmationStatusInfo?: ICANNConfirmationStatusInfoNonNullableFields;
|
|
1559
|
+
dnsPropagationStatus: DnsPropagationStatus;
|
|
1560
|
+
}
|
|
1595
1561
|
interface CreateRegisteredDomainResponseNonNullableFields {
|
|
1596
|
-
registeredDomain?:
|
|
1597
|
-
pendingRegistrationInfo?: {
|
|
1598
|
-
latestAttempt?: {
|
|
1599
|
-
number: number;
|
|
1600
|
-
};
|
|
1601
|
-
};
|
|
1602
|
-
failedRegistrationInfo?: {
|
|
1603
|
-
code: FailureCode;
|
|
1604
|
-
message: string;
|
|
1605
|
-
};
|
|
1606
|
-
_id: string;
|
|
1607
|
-
domain: string;
|
|
1608
|
-
productInstanceId: string;
|
|
1609
|
-
siteInfo?: {
|
|
1610
|
-
redirectInfo?: {
|
|
1611
|
-
primaryDomain: string;
|
|
1612
|
-
};
|
|
1613
|
-
assignmentType: AssignmentType;
|
|
1614
|
-
};
|
|
1615
|
-
contacts?: {
|
|
1616
|
-
registrant?: {
|
|
1617
|
-
firstName: string;
|
|
1618
|
-
lastName: string;
|
|
1619
|
-
email: string;
|
|
1620
|
-
address: string;
|
|
1621
|
-
city: string;
|
|
1622
|
-
countryCode: string;
|
|
1623
|
-
phone: string;
|
|
1624
|
-
};
|
|
1625
|
-
admin?: {
|
|
1626
|
-
firstName: string;
|
|
1627
|
-
lastName: string;
|
|
1628
|
-
email: string;
|
|
1629
|
-
address: string;
|
|
1630
|
-
city: string;
|
|
1631
|
-
countryCode: string;
|
|
1632
|
-
phone: string;
|
|
1633
|
-
};
|
|
1634
|
-
tech?: {
|
|
1635
|
-
firstName: string;
|
|
1636
|
-
lastName: string;
|
|
1637
|
-
email: string;
|
|
1638
|
-
address: string;
|
|
1639
|
-
city: string;
|
|
1640
|
-
countryCode: string;
|
|
1641
|
-
phone: string;
|
|
1642
|
-
};
|
|
1643
|
-
};
|
|
1644
|
-
status: Status;
|
|
1645
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1646
|
-
icannConfirmationStatusInfo?: {
|
|
1647
|
-
pending?: {
|
|
1648
|
-
notConfirmedBy: string[];
|
|
1649
|
-
};
|
|
1650
|
-
expired?: {
|
|
1651
|
-
notConfirmedBy: string[];
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1655
|
-
};
|
|
1562
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1656
1563
|
}
|
|
1657
1564
|
interface GetRegisteredDomainResponseNonNullableFields {
|
|
1658
|
-
registeredDomain?:
|
|
1659
|
-
pendingRegistrationInfo?: {
|
|
1660
|
-
latestAttempt?: {
|
|
1661
|
-
number: number;
|
|
1662
|
-
};
|
|
1663
|
-
};
|
|
1664
|
-
failedRegistrationInfo?: {
|
|
1665
|
-
code: FailureCode;
|
|
1666
|
-
message: string;
|
|
1667
|
-
};
|
|
1668
|
-
_id: string;
|
|
1669
|
-
domain: string;
|
|
1670
|
-
productInstanceId: string;
|
|
1671
|
-
siteInfo?: {
|
|
1672
|
-
redirectInfo?: {
|
|
1673
|
-
primaryDomain: string;
|
|
1674
|
-
};
|
|
1675
|
-
assignmentType: AssignmentType;
|
|
1676
|
-
};
|
|
1677
|
-
contacts?: {
|
|
1678
|
-
registrant?: {
|
|
1679
|
-
firstName: string;
|
|
1680
|
-
lastName: string;
|
|
1681
|
-
email: string;
|
|
1682
|
-
address: string;
|
|
1683
|
-
city: string;
|
|
1684
|
-
countryCode: string;
|
|
1685
|
-
phone: string;
|
|
1686
|
-
};
|
|
1687
|
-
admin?: {
|
|
1688
|
-
firstName: string;
|
|
1689
|
-
lastName: string;
|
|
1690
|
-
email: string;
|
|
1691
|
-
address: string;
|
|
1692
|
-
city: string;
|
|
1693
|
-
countryCode: string;
|
|
1694
|
-
phone: string;
|
|
1695
|
-
};
|
|
1696
|
-
tech?: {
|
|
1697
|
-
firstName: string;
|
|
1698
|
-
lastName: string;
|
|
1699
|
-
email: string;
|
|
1700
|
-
address: string;
|
|
1701
|
-
city: string;
|
|
1702
|
-
countryCode: string;
|
|
1703
|
-
phone: string;
|
|
1704
|
-
};
|
|
1705
|
-
};
|
|
1706
|
-
status: Status;
|
|
1707
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1708
|
-
icannConfirmationStatusInfo?: {
|
|
1709
|
-
pending?: {
|
|
1710
|
-
notConfirmedBy: string[];
|
|
1711
|
-
};
|
|
1712
|
-
expired?: {
|
|
1713
|
-
notConfirmedBy: string[];
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1717
|
-
};
|
|
1565
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1718
1566
|
}
|
|
1719
1567
|
interface ListRegisteredDomainsResponseNonNullableFields {
|
|
1720
|
-
registeredDomains:
|
|
1721
|
-
pendingRegistrationInfo?: {
|
|
1722
|
-
latestAttempt?: {
|
|
1723
|
-
number: number;
|
|
1724
|
-
};
|
|
1725
|
-
};
|
|
1726
|
-
failedRegistrationInfo?: {
|
|
1727
|
-
code: FailureCode;
|
|
1728
|
-
message: string;
|
|
1729
|
-
};
|
|
1730
|
-
_id: string;
|
|
1731
|
-
domain: string;
|
|
1732
|
-
productInstanceId: string;
|
|
1733
|
-
siteInfo?: {
|
|
1734
|
-
redirectInfo?: {
|
|
1735
|
-
primaryDomain: string;
|
|
1736
|
-
};
|
|
1737
|
-
assignmentType: AssignmentType;
|
|
1738
|
-
};
|
|
1739
|
-
contacts?: {
|
|
1740
|
-
registrant?: {
|
|
1741
|
-
firstName: string;
|
|
1742
|
-
lastName: string;
|
|
1743
|
-
email: string;
|
|
1744
|
-
address: string;
|
|
1745
|
-
city: string;
|
|
1746
|
-
countryCode: string;
|
|
1747
|
-
phone: string;
|
|
1748
|
-
};
|
|
1749
|
-
admin?: {
|
|
1750
|
-
firstName: string;
|
|
1751
|
-
lastName: string;
|
|
1752
|
-
email: string;
|
|
1753
|
-
address: string;
|
|
1754
|
-
city: string;
|
|
1755
|
-
countryCode: string;
|
|
1756
|
-
phone: string;
|
|
1757
|
-
};
|
|
1758
|
-
tech?: {
|
|
1759
|
-
firstName: string;
|
|
1760
|
-
lastName: string;
|
|
1761
|
-
email: string;
|
|
1762
|
-
address: string;
|
|
1763
|
-
city: string;
|
|
1764
|
-
countryCode: string;
|
|
1765
|
-
phone: string;
|
|
1766
|
-
};
|
|
1767
|
-
};
|
|
1768
|
-
status: Status;
|
|
1769
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1770
|
-
icannConfirmationStatusInfo?: {
|
|
1771
|
-
pending?: {
|
|
1772
|
-
notConfirmedBy: string[];
|
|
1773
|
-
};
|
|
1774
|
-
expired?: {
|
|
1775
|
-
notConfirmedBy: string[];
|
|
1776
|
-
};
|
|
1777
|
-
};
|
|
1778
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1779
|
-
}[];
|
|
1568
|
+
registeredDomains: RegisteredDomainNonNullableFields[];
|
|
1780
1569
|
}
|
|
1781
1570
|
interface RedeemRegisteredDomainResponseNonNullableFields {
|
|
1782
|
-
registeredDomain?:
|
|
1783
|
-
pendingRegistrationInfo?: {
|
|
1784
|
-
latestAttempt?: {
|
|
1785
|
-
number: number;
|
|
1786
|
-
};
|
|
1787
|
-
};
|
|
1788
|
-
failedRegistrationInfo?: {
|
|
1789
|
-
code: FailureCode;
|
|
1790
|
-
message: string;
|
|
1791
|
-
};
|
|
1792
|
-
_id: string;
|
|
1793
|
-
domain: string;
|
|
1794
|
-
productInstanceId: string;
|
|
1795
|
-
siteInfo?: {
|
|
1796
|
-
redirectInfo?: {
|
|
1797
|
-
primaryDomain: string;
|
|
1798
|
-
};
|
|
1799
|
-
assignmentType: AssignmentType;
|
|
1800
|
-
};
|
|
1801
|
-
contacts?: {
|
|
1802
|
-
registrant?: {
|
|
1803
|
-
firstName: string;
|
|
1804
|
-
lastName: string;
|
|
1805
|
-
email: string;
|
|
1806
|
-
address: string;
|
|
1807
|
-
city: string;
|
|
1808
|
-
countryCode: string;
|
|
1809
|
-
phone: string;
|
|
1810
|
-
};
|
|
1811
|
-
admin?: {
|
|
1812
|
-
firstName: string;
|
|
1813
|
-
lastName: string;
|
|
1814
|
-
email: string;
|
|
1815
|
-
address: string;
|
|
1816
|
-
city: string;
|
|
1817
|
-
countryCode: string;
|
|
1818
|
-
phone: string;
|
|
1819
|
-
};
|
|
1820
|
-
tech?: {
|
|
1821
|
-
firstName: string;
|
|
1822
|
-
lastName: string;
|
|
1823
|
-
email: string;
|
|
1824
|
-
address: string;
|
|
1825
|
-
city: string;
|
|
1826
|
-
countryCode: string;
|
|
1827
|
-
phone: string;
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
status: Status;
|
|
1831
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1832
|
-
icannConfirmationStatusInfo?: {
|
|
1833
|
-
pending?: {
|
|
1834
|
-
notConfirmedBy: string[];
|
|
1835
|
-
};
|
|
1836
|
-
expired?: {
|
|
1837
|
-
notConfirmedBy: string[];
|
|
1838
|
-
};
|
|
1839
|
-
};
|
|
1840
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1841
|
-
};
|
|
1571
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1842
1572
|
}
|
|
1843
1573
|
interface ListRegisteredDomainsOptions {
|
|
1844
1574
|
/** Cursor paging options. */
|
|
1845
1575
|
paging?: CursorPaging$1;
|
|
1846
1576
|
}
|
|
1847
1577
|
|
|
1848
|
-
declare
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
declare
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
number: number;
|
|
1855
|
-
} | undefined;
|
|
1856
|
-
} | undefined;
|
|
1857
|
-
failedRegistrationInfo?: {
|
|
1858
|
-
code: FailureCode;
|
|
1859
|
-
message: string;
|
|
1860
|
-
} | undefined;
|
|
1861
|
-
_id: string;
|
|
1862
|
-
domain: string;
|
|
1863
|
-
productInstanceId: string;
|
|
1864
|
-
siteInfo?: {
|
|
1865
|
-
redirectInfo?: {
|
|
1866
|
-
primaryDomain: string;
|
|
1867
|
-
} | undefined;
|
|
1868
|
-
assignmentType: AssignmentType;
|
|
1869
|
-
} | undefined;
|
|
1870
|
-
contacts?: {
|
|
1871
|
-
registrant?: {
|
|
1872
|
-
firstName: string;
|
|
1873
|
-
lastName: string;
|
|
1874
|
-
email: string;
|
|
1875
|
-
address: string;
|
|
1876
|
-
city: string;
|
|
1877
|
-
countryCode: string;
|
|
1878
|
-
phone: string;
|
|
1879
|
-
} | undefined;
|
|
1880
|
-
admin?: {
|
|
1881
|
-
firstName: string;
|
|
1882
|
-
lastName: string;
|
|
1883
|
-
email: string;
|
|
1884
|
-
address: string;
|
|
1885
|
-
city: string;
|
|
1886
|
-
countryCode: string;
|
|
1887
|
-
phone: string;
|
|
1888
|
-
} | undefined;
|
|
1889
|
-
tech?: {
|
|
1890
|
-
firstName: string;
|
|
1891
|
-
lastName: string;
|
|
1892
|
-
email: string;
|
|
1893
|
-
address: string;
|
|
1894
|
-
city: string;
|
|
1895
|
-
countryCode: string;
|
|
1896
|
-
phone: string;
|
|
1897
|
-
} | undefined;
|
|
1898
|
-
} | undefined;
|
|
1899
|
-
status: Status;
|
|
1900
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1901
|
-
icannConfirmationStatusInfo?: {
|
|
1902
|
-
pending?: {
|
|
1903
|
-
notConfirmedBy: string[];
|
|
1904
|
-
} | undefined;
|
|
1905
|
-
expired?: {
|
|
1906
|
-
notConfirmedBy: string[];
|
|
1907
|
-
} | undefined;
|
|
1908
|
-
} | undefined;
|
|
1909
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1910
|
-
}>;
|
|
1911
|
-
declare function getRegisteredDomain(httpClient: HttpClient): (registeredDomainId: string) => Promise<RegisteredDomain & {
|
|
1912
|
-
pendingRegistrationInfo?: {
|
|
1913
|
-
latestAttempt?: {
|
|
1914
|
-
number: number;
|
|
1915
|
-
} | undefined;
|
|
1916
|
-
} | undefined;
|
|
1917
|
-
failedRegistrationInfo?: {
|
|
1918
|
-
code: FailureCode;
|
|
1919
|
-
message: string;
|
|
1920
|
-
} | undefined;
|
|
1921
|
-
_id: string;
|
|
1922
|
-
domain: string;
|
|
1923
|
-
productInstanceId: string;
|
|
1924
|
-
siteInfo?: {
|
|
1925
|
-
redirectInfo?: {
|
|
1926
|
-
primaryDomain: string;
|
|
1927
|
-
} | undefined;
|
|
1928
|
-
assignmentType: AssignmentType;
|
|
1929
|
-
} | undefined;
|
|
1930
|
-
contacts?: {
|
|
1931
|
-
registrant?: {
|
|
1932
|
-
firstName: string;
|
|
1933
|
-
lastName: string;
|
|
1934
|
-
email: string;
|
|
1935
|
-
address: string;
|
|
1936
|
-
city: string;
|
|
1937
|
-
countryCode: string;
|
|
1938
|
-
phone: string;
|
|
1939
|
-
} | undefined;
|
|
1940
|
-
admin?: {
|
|
1941
|
-
firstName: string;
|
|
1942
|
-
lastName: string;
|
|
1943
|
-
email: string;
|
|
1944
|
-
address: string;
|
|
1945
|
-
city: string;
|
|
1946
|
-
countryCode: string;
|
|
1947
|
-
phone: string;
|
|
1948
|
-
} | undefined;
|
|
1949
|
-
tech?: {
|
|
1950
|
-
firstName: string;
|
|
1951
|
-
lastName: string;
|
|
1952
|
-
email: string;
|
|
1953
|
-
address: string;
|
|
1954
|
-
city: string;
|
|
1955
|
-
countryCode: string;
|
|
1956
|
-
phone: string;
|
|
1957
|
-
} | undefined;
|
|
1958
|
-
} | undefined;
|
|
1959
|
-
status: Status;
|
|
1960
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1961
|
-
icannConfirmationStatusInfo?: {
|
|
1962
|
-
pending?: {
|
|
1963
|
-
notConfirmedBy: string[];
|
|
1964
|
-
} | undefined;
|
|
1965
|
-
expired?: {
|
|
1966
|
-
notConfirmedBy: string[];
|
|
1967
|
-
} | undefined;
|
|
1968
|
-
} | undefined;
|
|
1969
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1970
|
-
}>;
|
|
1971
|
-
declare function listRegisteredDomains(httpClient: HttpClient): (options?: ListRegisteredDomainsOptions) => Promise<ListRegisteredDomainsResponse & ListRegisteredDomainsResponseNonNullableFields>;
|
|
1972
|
-
declare function redeemRegisteredDomain(httpClient: HttpClient): (registeredDomainId: string) => Promise<RedeemRegisteredDomainResponse & RedeemRegisteredDomainResponseNonNullableFields>;
|
|
1578
|
+
declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1579
|
+
|
|
1580
|
+
declare const createRegisteredDomain: ReturnType<typeof createRESTModule$2<typeof publicCreateRegisteredDomain>>;
|
|
1581
|
+
declare const getRegisteredDomain: ReturnType<typeof createRESTModule$2<typeof publicGetRegisteredDomain>>;
|
|
1582
|
+
declare const listRegisteredDomains: ReturnType<typeof createRESTModule$2<typeof publicListRegisteredDomains>>;
|
|
1583
|
+
declare const redeemRegisteredDomain: ReturnType<typeof createRESTModule$2<typeof publicRedeemRegisteredDomain>>;
|
|
1973
1584
|
|
|
1974
1585
|
type index_d$2_ActionEvent = ActionEvent;
|
|
1975
1586
|
type index_d$2_AssignmentType = AssignmentType;
|
|
@@ -2014,6 +1625,7 @@ type index_d$2_RedeemRegisteredDomainResponse = RedeemRegisteredDomainResponse;
|
|
|
2014
1625
|
type index_d$2_RedeemRegisteredDomainResponseNonNullableFields = RedeemRegisteredDomainResponseNonNullableFields;
|
|
2015
1626
|
type index_d$2_RedirectAssignmentInfo = RedirectAssignmentInfo;
|
|
2016
1627
|
type index_d$2_RegisteredDomain = RegisteredDomain;
|
|
1628
|
+
type index_d$2_RegisteredDomainNonNullableFields = RegisteredDomainNonNullableFields;
|
|
2017
1629
|
type index_d$2_RegisteredDomainStatusInfoOneOf = RegisteredDomainStatusInfoOneOf;
|
|
2018
1630
|
type index_d$2_RestoreInfo = RestoreInfo;
|
|
2019
1631
|
type index_d$2_SiteInfo = SiteInfo;
|
|
@@ -2027,7 +1639,7 @@ declare const index_d$2_getRegisteredDomain: typeof getRegisteredDomain;
|
|
|
2027
1639
|
declare const index_d$2_listRegisteredDomains: typeof listRegisteredDomains;
|
|
2028
1640
|
declare const index_d$2_redeemRegisteredDomain: typeof redeemRegisteredDomain;
|
|
2029
1641
|
declare namespace index_d$2 {
|
|
2030
|
-
export { type index_d$2_ActionEvent as ActionEvent, index_d$2_AssignmentType as AssignmentType, type index_d$2_ContactData as ContactData, type index_d$2_Contacts as Contacts, type index_d$2_CreateRegisteredDomainRequest as CreateRegisteredDomainRequest, type index_d$2_CreateRegisteredDomainResponse as CreateRegisteredDomainResponse, type index_d$2_CreateRegisteredDomainResponseNonNullableFields as CreateRegisteredDomainResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$2_DeleteRegisteredDomainByIdRequest as DeleteRegisteredDomainByIdRequest, type index_d$2_DeleteRegisteredDomainByIdResponse as DeleteRegisteredDomainByIdResponse, index_d$2_DnsPropagationStatus as DnsPropagationStatus, type index_d$2_DomainEvent as DomainEvent, type index_d$2_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$2_EntityCreatedEvent as EntityCreatedEvent, type index_d$2_EntityDeletedEvent as EntityDeletedEvent, type index_d$2_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$2_Expired as Expired, type index_d$2_FailedRegistrationInfo as FailedRegistrationInfo, index_d$2_FailureCode as FailureCode, type index_d$2_GetRegisteredDomainRequest as GetRegisteredDomainRequest, type index_d$2_GetRegisteredDomainResponse as GetRegisteredDomainResponse, type index_d$2_GetRegisteredDomainResponseNonNullableFields as GetRegisteredDomainResponseNonNullableFields, index_d$2_ICANNConfirmationStatus as ICANNConfirmationStatus, type index_d$2_ICANNConfirmationStatusInfo as ICANNConfirmationStatusInfo, type index_d$2_ICANNConfirmationStatusInfoStatusOneOf as ICANNConfirmationStatusInfoStatusOneOf, type index_d$2_IdentificationData as IdentificationData, type index_d$2_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$2_LatestAttempt as LatestAttempt, type index_d$2_ListRegisteredDomainsOptions as ListRegisteredDomainsOptions, type index_d$2_ListRegisteredDomainsRequest as ListRegisteredDomainsRequest, type index_d$2_ListRegisteredDomainsResponse as ListRegisteredDomainsResponse, type index_d$2_ListRegisteredDomainsResponseNonNullableFields as ListRegisteredDomainsResponseNonNullableFields, type index_d$2_MessageEnvelope as MessageEnvelope, type index_d$2_Pending as Pending, type index_d$2_PendingRegistrationInfo as PendingRegistrationInfo, type index_d$2_RedeemRegisteredDomainRequest as RedeemRegisteredDomainRequest, type index_d$2_RedeemRegisteredDomainResponse as RedeemRegisteredDomainResponse, type index_d$2_RedeemRegisteredDomainResponseNonNullableFields as RedeemRegisteredDomainResponseNonNullableFields, type index_d$2_RedirectAssignmentInfo as RedirectAssignmentInfo, type index_d$2_RegisteredDomain as RegisteredDomain, type index_d$2_RegisteredDomainStatusInfoOneOf as RegisteredDomainStatusInfoOneOf, type index_d$2_RestoreInfo as RestoreInfo, type index_d$2_SiteInfo as SiteInfo, type index_d$2_SiteInfoAssignmentInfoOneOf as SiteInfoAssignmentInfoOneOf, index_d$2_Status as Status, index_d$2_WebhookIdentityType as WebhookIdentityType,
|
|
1642
|
+
export { type index_d$2_ActionEvent as ActionEvent, index_d$2_AssignmentType as AssignmentType, type index_d$2_ContactData as ContactData, type index_d$2_Contacts as Contacts, type index_d$2_CreateRegisteredDomainRequest as CreateRegisteredDomainRequest, type index_d$2_CreateRegisteredDomainResponse as CreateRegisteredDomainResponse, type index_d$2_CreateRegisteredDomainResponseNonNullableFields as CreateRegisteredDomainResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type CursorPagingMetadata$1 as CursorPagingMetadata, type Cursors$1 as Cursors, type index_d$2_DeleteRegisteredDomainByIdRequest as DeleteRegisteredDomainByIdRequest, type index_d$2_DeleteRegisteredDomainByIdResponse as DeleteRegisteredDomainByIdResponse, index_d$2_DnsPropagationStatus as DnsPropagationStatus, type index_d$2_DomainEvent as DomainEvent, type index_d$2_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$2_EntityCreatedEvent as EntityCreatedEvent, type index_d$2_EntityDeletedEvent as EntityDeletedEvent, type index_d$2_EntityUpdatedEvent as EntityUpdatedEvent, type index_d$2_Expired as Expired, type index_d$2_FailedRegistrationInfo as FailedRegistrationInfo, index_d$2_FailureCode as FailureCode, type index_d$2_GetRegisteredDomainRequest as GetRegisteredDomainRequest, type index_d$2_GetRegisteredDomainResponse as GetRegisteredDomainResponse, type index_d$2_GetRegisteredDomainResponseNonNullableFields as GetRegisteredDomainResponseNonNullableFields, index_d$2_ICANNConfirmationStatus as ICANNConfirmationStatus, type index_d$2_ICANNConfirmationStatusInfo as ICANNConfirmationStatusInfo, type index_d$2_ICANNConfirmationStatusInfoStatusOneOf as ICANNConfirmationStatusInfoStatusOneOf, type index_d$2_IdentificationData as IdentificationData, type index_d$2_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$2_LatestAttempt as LatestAttempt, type index_d$2_ListRegisteredDomainsOptions as ListRegisteredDomainsOptions, type index_d$2_ListRegisteredDomainsRequest as ListRegisteredDomainsRequest, type index_d$2_ListRegisteredDomainsResponse as ListRegisteredDomainsResponse, type index_d$2_ListRegisteredDomainsResponseNonNullableFields as ListRegisteredDomainsResponseNonNullableFields, type index_d$2_MessageEnvelope as MessageEnvelope, type index_d$2_Pending as Pending, type index_d$2_PendingRegistrationInfo as PendingRegistrationInfo, type index_d$2_RedeemRegisteredDomainRequest as RedeemRegisteredDomainRequest, type index_d$2_RedeemRegisteredDomainResponse as RedeemRegisteredDomainResponse, type index_d$2_RedeemRegisteredDomainResponseNonNullableFields as RedeemRegisteredDomainResponseNonNullableFields, type index_d$2_RedirectAssignmentInfo as RedirectAssignmentInfo, type index_d$2_RegisteredDomain as RegisteredDomain, type index_d$2_RegisteredDomainNonNullableFields as RegisteredDomainNonNullableFields, type index_d$2_RegisteredDomainStatusInfoOneOf as RegisteredDomainStatusInfoOneOf, type index_d$2_RestoreInfo as RestoreInfo, type index_d$2_SiteInfo as SiteInfo, type index_d$2_SiteInfoAssignmentInfoOneOf as SiteInfoAssignmentInfoOneOf, index_d$2_Status as Status, index_d$2_WebhookIdentityType as WebhookIdentityType, index_d$2_createRegisteredDomain as createRegisteredDomain, index_d$2_getRegisteredDomain as getRegisteredDomain, index_d$2_listRegisteredDomains as listRegisteredDomains, index_d$2_redeemRegisteredDomain as redeemRegisteredDomain };
|
|
2031
1643
|
}
|
|
2032
1644
|
|
|
2033
1645
|
interface DomainAvailability {
|
|
@@ -2054,17 +1666,17 @@ interface CheckDomainAvailabilityResponse {
|
|
|
2054
1666
|
/** Information about the domain's availability. */
|
|
2055
1667
|
availability?: DomainAvailability;
|
|
2056
1668
|
}
|
|
1669
|
+
interface DomainAvailabilityNonNullableFields {
|
|
1670
|
+
domain: string;
|
|
1671
|
+
available: boolean;
|
|
1672
|
+
}
|
|
2057
1673
|
interface CheckDomainAvailabilityResponseNonNullableFields {
|
|
2058
|
-
availability?:
|
|
2059
|
-
domain: string;
|
|
2060
|
-
available: boolean;
|
|
2061
|
-
};
|
|
1674
|
+
availability?: DomainAvailabilityNonNullableFields;
|
|
2062
1675
|
}
|
|
2063
1676
|
|
|
2064
|
-
declare
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
declare function checkDomainAvailability(httpClient: HttpClient): (domain: string) => Promise<CheckDomainAvailabilityResponse & CheckDomainAvailabilityResponseNonNullableFields>;
|
|
1677
|
+
declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1678
|
+
|
|
1679
|
+
declare const checkDomainAvailability: ReturnType<typeof createRESTModule$1<typeof publicCheckDomainAvailability>>;
|
|
2068
1680
|
|
|
2069
1681
|
type index_d$1_CheckDomainAvailabilityRequest = CheckDomainAvailabilityRequest;
|
|
2070
1682
|
type index_d$1_CheckDomainAvailabilityResponse = CheckDomainAvailabilityResponse;
|
|
@@ -2072,7 +1684,7 @@ type index_d$1_CheckDomainAvailabilityResponseNonNullableFields = CheckDomainAva
|
|
|
2072
1684
|
type index_d$1_DomainAvailability = DomainAvailability;
|
|
2073
1685
|
declare const index_d$1_checkDomainAvailability: typeof checkDomainAvailability;
|
|
2074
1686
|
declare namespace index_d$1 {
|
|
2075
|
-
export { type index_d$1_CheckDomainAvailabilityRequest as CheckDomainAvailabilityRequest, type index_d$1_CheckDomainAvailabilityResponse as CheckDomainAvailabilityResponse, type index_d$1_CheckDomainAvailabilityResponseNonNullableFields as CheckDomainAvailabilityResponseNonNullableFields, type index_d$1_DomainAvailability as DomainAvailability,
|
|
1687
|
+
export { type index_d$1_CheckDomainAvailabilityRequest as CheckDomainAvailabilityRequest, type index_d$1_CheckDomainAvailabilityResponse as CheckDomainAvailabilityResponse, type index_d$1_CheckDomainAvailabilityResponseNonNullableFields as CheckDomainAvailabilityResponseNonNullableFields, type index_d$1_DomainAvailability as DomainAvailability, index_d$1_checkDomainAvailability as checkDomainAvailability };
|
|
2076
1688
|
}
|
|
2077
1689
|
|
|
2078
1690
|
interface DomainSuggestion {
|
|
@@ -2159,10 +1771,11 @@ interface Cursors {
|
|
|
2159
1771
|
/** Cursor pointing to previous page in the list of results. */
|
|
2160
1772
|
prev?: string | null;
|
|
2161
1773
|
}
|
|
1774
|
+
interface DomainSuggestionNonNullableFields {
|
|
1775
|
+
domain: string;
|
|
1776
|
+
}
|
|
2162
1777
|
interface SuggestDomainsResponseNonNullableFields {
|
|
2163
|
-
suggestions:
|
|
2164
|
-
domain: string;
|
|
2165
|
-
}[];
|
|
1778
|
+
suggestions: DomainSuggestionNonNullableFields[];
|
|
2166
1779
|
}
|
|
2167
1780
|
interface SuggestDomainsOptions {
|
|
2168
1781
|
/**
|
|
@@ -2196,10 +1809,9 @@ interface SuggestDomainsOptions {
|
|
|
2196
1809
|
paging?: CursorPaging;
|
|
2197
1810
|
}
|
|
2198
1811
|
|
|
2199
|
-
declare
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
declare function suggestDomains(httpClient: HttpClient): (query: string, options?: SuggestDomainsOptions) => Promise<SuggestDomainsResponse & SuggestDomainsResponseNonNullableFields>;
|
|
1812
|
+
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
1813
|
+
|
|
1814
|
+
declare const suggestDomains: ReturnType<typeof createRESTModule<typeof publicSuggestDomains>>;
|
|
2203
1815
|
|
|
2204
1816
|
type index_d_CursorPaging = CursorPaging;
|
|
2205
1817
|
type index_d_CursorPagingMetadata = CursorPagingMetadata;
|
|
@@ -2209,10 +1821,9 @@ type index_d_SuggestDomainsOptions = SuggestDomainsOptions;
|
|
|
2209
1821
|
type index_d_SuggestDomainsRequest = SuggestDomainsRequest;
|
|
2210
1822
|
type index_d_SuggestDomainsResponse = SuggestDomainsResponse;
|
|
2211
1823
|
type index_d_SuggestDomainsResponseNonNullableFields = SuggestDomainsResponseNonNullableFields;
|
|
2212
|
-
declare const index_d___metadata: typeof __metadata;
|
|
2213
1824
|
declare const index_d_suggestDomains: typeof suggestDomains;
|
|
2214
1825
|
declare namespace index_d {
|
|
2215
|
-
export { type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_Cursors as Cursors, type index_d_DomainSuggestion as DomainSuggestion, type index_d_SuggestDomainsOptions as SuggestDomainsOptions, type index_d_SuggestDomainsRequest as SuggestDomainsRequest, type index_d_SuggestDomainsResponse as SuggestDomainsResponse, type index_d_SuggestDomainsResponseNonNullableFields as SuggestDomainsResponseNonNullableFields,
|
|
1826
|
+
export { type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_Cursors as Cursors, type index_d_DomainSuggestion as DomainSuggestion, type index_d_SuggestDomainsOptions as SuggestDomainsOptions, type index_d_SuggestDomainsRequest as SuggestDomainsRequest, type index_d_SuggestDomainsResponse as SuggestDomainsResponse, type index_d_SuggestDomainsResponseNonNullableFields as SuggestDomainsResponseNonNullableFields, index_d_suggestDomains as suggestDomains };
|
|
2216
1827
|
}
|
|
2217
1828
|
|
|
2218
1829
|
export { index_d$4 as connectedDomainSetupInfo, index_d$5 as connectedDomains, index_d$1 as domainAvailability, index_d$3 as domainDns, index_d as domainSuggestions, index_d$2 as registeredDomains };
|