@wix/domains 1.0.18 → 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 +1726 -20
- package/type-bundles/index.bundle.d.ts +186 -638
- package/type-bundles/meta.bundle.d.ts +292 -742
|
@@ -20,7 +20,7 @@ interface ConnectedDomain {
|
|
|
20
20
|
*/
|
|
21
21
|
connectionType?: ConnectionType$1;
|
|
22
22
|
/**
|
|
23
|
-
* Information about the site to which the domain is assigned
|
|
23
|
+
* Information about the site to which the domain is assigned, and whether
|
|
24
24
|
* it's the primary domain or a redirect.
|
|
25
25
|
*/
|
|
26
26
|
siteInfo?: SiteInfo$1;
|
|
@@ -56,20 +56,20 @@ declare enum ConnectionType$1 {
|
|
|
56
56
|
}
|
|
57
57
|
interface SiteInfo$1 extends SiteInfoAssignmentInfoOneOf$1 {
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Redirect information, relevant when `assignmentType` = `REDIRECT`.
|
|
60
60
|
* @readonly
|
|
61
61
|
*/
|
|
62
62
|
redirectInfo?: RedirectAssignmentInfo$1;
|
|
63
63
|
/**
|
|
64
|
-
* ID of the site the domain is assigned
|
|
64
|
+
* ID of the site to which the domain is assigned.
|
|
65
65
|
* @readonly
|
|
66
66
|
*/
|
|
67
67
|
_id?: string | null;
|
|
68
68
|
/**
|
|
69
|
-
* The
|
|
70
|
-
* + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type
|
|
71
|
-
* + `"PRIMARY"`:
|
|
72
|
-
* + `"REDIRECT"`:
|
|
69
|
+
* The relationship assigned for this domain to the site:
|
|
70
|
+
* + `"UNKNOWN_ASSIGNMENT_TYPE"`: There is no information about the domain assignment type.
|
|
71
|
+
* + `"PRIMARY"`: The singular primary domain for a site. When this type is assigned, this domain will lead directly to the site.
|
|
72
|
+
* + `"REDIRECT"`: A redirect domain for a site. Each site can have multiple redirect domains. When this type is assigned, this domain will redirect to the primary domain.
|
|
73
73
|
* Read more about [primary and redirected domains](https://support.wix.com/en/article/switching-your-primary-and-redirected-domains).
|
|
74
74
|
*/
|
|
75
75
|
assignmentType?: AssignmentType$1;
|
|
@@ -77,7 +77,7 @@ interface SiteInfo$1 extends SiteInfoAssignmentInfoOneOf$1 {
|
|
|
77
77
|
/** @oneof */
|
|
78
78
|
interface SiteInfoAssignmentInfoOneOf$1 {
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Redirect information, relevant when `assignmentType` = `REDIRECT`.
|
|
81
81
|
* @readonly
|
|
82
82
|
*/
|
|
83
83
|
redirectInfo?: RedirectAssignmentInfo$1;
|
|
@@ -89,7 +89,7 @@ declare enum AssignmentType$1 {
|
|
|
89
89
|
}
|
|
90
90
|
interface RedirectAssignmentInfo$1 {
|
|
91
91
|
/**
|
|
92
|
-
* Primary domain
|
|
92
|
+
* Primary domain to which this domain will redirect.
|
|
93
93
|
* @readonly
|
|
94
94
|
*/
|
|
95
95
|
primaryDomain?: string;
|
|
@@ -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,106 +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
|
-
}[];
|
|
331
|
-
}
|
|
332
|
-
interface BaseEventMetadata {
|
|
333
|
-
/** App instance ID. */
|
|
334
|
-
instanceId?: string | null;
|
|
335
|
-
/** Event type. */
|
|
336
|
-
eventType?: string;
|
|
337
|
-
/** The identification type and identity data. */
|
|
338
|
-
identity?: IdentificationData$2;
|
|
339
|
-
}
|
|
340
|
-
interface EventMetadata extends BaseEventMetadata {
|
|
341
|
-
/**
|
|
342
|
-
* Unique event ID.
|
|
343
|
-
* Allows clients to ignore duplicate webhooks.
|
|
344
|
-
*/
|
|
345
|
-
_id?: string;
|
|
346
|
-
/**
|
|
347
|
-
* Assumes actions are also always typed to an entity_type
|
|
348
|
-
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
349
|
-
*/
|
|
350
|
-
entityFqdn?: string;
|
|
351
|
-
/**
|
|
352
|
-
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
353
|
-
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
354
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
355
|
-
*/
|
|
356
|
-
slug?: string;
|
|
357
|
-
/** ID of the entity associated with the event. */
|
|
358
|
-
entityId?: string;
|
|
359
|
-
/** Event timestamp. */
|
|
360
|
-
eventTime?: Date;
|
|
361
|
-
/**
|
|
362
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
363
|
-
* (for example, GDPR).
|
|
364
|
-
*/
|
|
365
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
366
|
-
/** If present, indicates the action that triggered the event. */
|
|
367
|
-
originatedFrom?: string | null;
|
|
368
|
-
/**
|
|
369
|
-
* A sequence number defining the order of updates to the underlying entity.
|
|
370
|
-
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
371
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
372
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
373
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
374
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
375
|
-
*/
|
|
376
|
-
entityEventSequence?: string | null;
|
|
377
|
-
}
|
|
378
|
-
interface ConnectedDomainRemovedEnvelope {
|
|
379
|
-
data: DomainRemovedEvent$1;
|
|
380
|
-
metadata: EventMetadata;
|
|
309
|
+
connectedDomains: ConnectedDomainNonNullableFields[];
|
|
381
310
|
}
|
|
382
311
|
interface ListConnectedDomainsOptions {
|
|
383
312
|
/** Cursor paging options. */
|
|
384
313
|
paging?: CursorPaging$2;
|
|
385
314
|
}
|
|
386
315
|
|
|
316
|
+
type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;
|
|
387
317
|
interface HttpClient {
|
|
388
318
|
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
|
|
389
319
|
fetchWithAuth: typeof fetch;
|
|
@@ -408,14 +338,7 @@ type APIMetadata = {
|
|
|
408
338
|
entityFqdn?: string;
|
|
409
339
|
packageName?: string;
|
|
410
340
|
};
|
|
411
|
-
type
|
|
412
|
-
__type: 'event-definition';
|
|
413
|
-
type: Type;
|
|
414
|
-
isDomainEvent?: boolean;
|
|
415
|
-
transformations?: (envelope: unknown) => Payload;
|
|
416
|
-
__payload: Payload;
|
|
417
|
-
};
|
|
418
|
-
declare function EventDefinition<Type extends string>(type: Type, isDomainEvent?: boolean, transformations?: (envelope: any) => unknown): <Payload = unknown>() => EventDefinition<Payload, Type>;
|
|
341
|
+
type BuildRESTFunction<T extends RESTFunctionDescriptor> = T extends RESTFunctionDescriptor<infer U> ? U : never;
|
|
419
342
|
|
|
420
343
|
declare global {
|
|
421
344
|
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
|
|
@@ -424,48 +347,20 @@ declare global {
|
|
|
424
347
|
}
|
|
425
348
|
}
|
|
426
349
|
|
|
427
|
-
declare
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
declare
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
connectionType: ConnectionType$1;
|
|
434
|
-
siteInfo?: {
|
|
435
|
-
redirectInfo?: {
|
|
436
|
-
primaryDomain: string;
|
|
437
|
-
} | undefined;
|
|
438
|
-
assignmentType: AssignmentType$1;
|
|
439
|
-
} | undefined;
|
|
440
|
-
suppressNotifications: boolean;
|
|
441
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
442
|
-
}>;
|
|
443
|
-
declare function getConnectedDomain(httpClient: HttpClient): (connectedDomainId: string) => Promise<ConnectedDomain & {
|
|
444
|
-
_id: string;
|
|
445
|
-
domain: string;
|
|
446
|
-
connectionType: ConnectionType$1;
|
|
447
|
-
siteInfo?: {
|
|
448
|
-
redirectInfo?: {
|
|
449
|
-
primaryDomain: string;
|
|
450
|
-
} | undefined;
|
|
451
|
-
assignmentType: AssignmentType$1;
|
|
452
|
-
} | undefined;
|
|
453
|
-
suppressNotifications: boolean;
|
|
454
|
-
dnsPropagationStatus: DnsPropagationStatus$1;
|
|
455
|
-
}>;
|
|
456
|
-
declare function deleteConnectedDomain(httpClient: HttpClient): (connectedDomainId: string) => Promise<void>;
|
|
457
|
-
declare function listConnectedDomains(httpClient: HttpClient): (options?: ListConnectedDomainsOptions) => Promise<ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields>;
|
|
458
|
-
declare const onConnectedDomainRemoved: EventDefinition<ConnectedDomainRemovedEnvelope, "wix.premium.domains.v1.connected_domain_removed">;
|
|
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>>;
|
|
459
356
|
|
|
460
|
-
type index_d$5_BaseEventMetadata = BaseEventMetadata;
|
|
461
357
|
type index_d$5_ConnectedDomain = ConnectedDomain;
|
|
462
|
-
type index_d$
|
|
358
|
+
type index_d$5_ConnectedDomainNonNullableFields = ConnectedDomainNonNullableFields;
|
|
463
359
|
type index_d$5_CreateConnectedDomainRequest = CreateConnectedDomainRequest;
|
|
464
360
|
type index_d$5_CreateConnectedDomainResponse = CreateConnectedDomainResponse;
|
|
465
361
|
type index_d$5_CreateConnectedDomainResponseNonNullableFields = CreateConnectedDomainResponseNonNullableFields;
|
|
466
362
|
type index_d$5_DeleteConnectedDomainRequest = DeleteConnectedDomainRequest;
|
|
467
363
|
type index_d$5_DeleteConnectedDomainResponse = DeleteConnectedDomainResponse;
|
|
468
|
-
type index_d$5_EventMetadata = EventMetadata;
|
|
469
364
|
type index_d$5_GetConnectedDomainRequest = GetConnectedDomainRequest;
|
|
470
365
|
type index_d$5_GetConnectedDomainResponse = GetConnectedDomainResponse;
|
|
471
366
|
type index_d$5_GetConnectedDomainResponseNonNullableFields = GetConnectedDomainResponseNonNullableFields;
|
|
@@ -477,9 +372,8 @@ declare const index_d$5_createConnectedDomain: typeof createConnectedDomain;
|
|
|
477
372
|
declare const index_d$5_deleteConnectedDomain: typeof deleteConnectedDomain;
|
|
478
373
|
declare const index_d$5_getConnectedDomain: typeof getConnectedDomain;
|
|
479
374
|
declare const index_d$5_listConnectedDomains: typeof listConnectedDomains;
|
|
480
|
-
declare const index_d$5_onConnectedDomainRemoved: typeof onConnectedDomainRemoved;
|
|
481
375
|
declare namespace index_d$5 {
|
|
482
|
-
export { type ActionEvent$2 as ActionEvent, AssignmentType$1 as AssignmentType, type index_d$
|
|
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 };
|
|
483
377
|
}
|
|
484
378
|
|
|
485
379
|
/**
|
|
@@ -644,45 +538,48 @@ interface GetConnectedDomainSetupInfoResponse {
|
|
|
644
538
|
/** Retrieved setup information. */
|
|
645
539
|
connectedDomainSetupInfo?: ConnectedDomainSetupInfo;
|
|
646
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
|
+
}
|
|
647
576
|
interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
648
|
-
connectedDomainSetupInfo?:
|
|
649
|
-
nameserverRecord?: {
|
|
650
|
-
nsRecord?: {
|
|
651
|
-
hostName: string;
|
|
652
|
-
ttl: number;
|
|
653
|
-
values: string[];
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
pointingRecords?: {
|
|
657
|
-
aRecord?: {
|
|
658
|
-
hostName: string;
|
|
659
|
-
ttl: number;
|
|
660
|
-
values: string[];
|
|
661
|
-
};
|
|
662
|
-
cnameRecord?: {
|
|
663
|
-
hostName: string;
|
|
664
|
-
ttl: number;
|
|
665
|
-
value: string;
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
|
-
subdomainRecords?: {
|
|
669
|
-
cnameRecords: {
|
|
670
|
-
hostName: string;
|
|
671
|
-
ttl: number;
|
|
672
|
-
value: string;
|
|
673
|
-
}[];
|
|
674
|
-
};
|
|
675
|
-
connectedDomainId: string;
|
|
676
|
-
registrar?: {
|
|
677
|
-
nameServers: string[];
|
|
678
|
-
};
|
|
679
|
-
};
|
|
577
|
+
connectedDomainSetupInfo?: ConnectedDomainSetupInfoNonNullableFields;
|
|
680
578
|
}
|
|
681
579
|
|
|
682
|
-
declare
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
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>>;
|
|
686
583
|
|
|
687
584
|
type index_d$4_ARecord = ARecord;
|
|
688
585
|
type index_d$4_CnameRecord = CnameRecord;
|
|
@@ -702,7 +599,7 @@ type index_d$4_Registrar = Registrar;
|
|
|
702
599
|
type index_d$4_SubdomainRecords = SubdomainRecords;
|
|
703
600
|
declare const index_d$4_getConnectedDomainSetupInfo: typeof getConnectedDomainSetupInfo;
|
|
704
601
|
declare namespace index_d$4 {
|
|
705
|
-
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 };
|
|
706
603
|
}
|
|
707
604
|
|
|
708
605
|
/** DNS zones hold information about the records that map a domain's URL to an IP address. */
|
|
@@ -949,57 +846,29 @@ declare enum WebhookIdentityType$1 {
|
|
|
949
846
|
WIX_USER = "WIX_USER",
|
|
950
847
|
APP = "APP"
|
|
951
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
|
+
}
|
|
952
861
|
interface CreateDnsZoneResponseNonNullableFields {
|
|
953
|
-
dnsZone?:
|
|
954
|
-
domainName: string;
|
|
955
|
-
records: {
|
|
956
|
-
type: RecordType;
|
|
957
|
-
hostName: string;
|
|
958
|
-
ttl: number;
|
|
959
|
-
values: string[];
|
|
960
|
-
}[];
|
|
961
|
-
_id: string;
|
|
962
|
-
dnssecEnabled: boolean;
|
|
963
|
-
};
|
|
862
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
964
863
|
}
|
|
965
864
|
interface GetDnsZoneResponseNonNullableFields {
|
|
966
|
-
dnsZone?:
|
|
967
|
-
domainName: string;
|
|
968
|
-
records: {
|
|
969
|
-
type: RecordType;
|
|
970
|
-
hostName: string;
|
|
971
|
-
ttl: number;
|
|
972
|
-
values: string[];
|
|
973
|
-
}[];
|
|
974
|
-
_id: string;
|
|
975
|
-
dnssecEnabled: boolean;
|
|
976
|
-
};
|
|
865
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
977
866
|
}
|
|
978
867
|
interface UpdateDnsZoneResponseNonNullableFields {
|
|
979
|
-
dnsZone?:
|
|
980
|
-
domainName: string;
|
|
981
|
-
records: {
|
|
982
|
-
type: RecordType;
|
|
983
|
-
hostName: string;
|
|
984
|
-
ttl: number;
|
|
985
|
-
values: string[];
|
|
986
|
-
}[];
|
|
987
|
-
_id: string;
|
|
988
|
-
dnssecEnabled: boolean;
|
|
989
|
-
};
|
|
868
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
990
869
|
}
|
|
991
870
|
interface PreviewDnsZoneResponseNonNullableFields {
|
|
992
|
-
dnsZone?:
|
|
993
|
-
domainName: string;
|
|
994
|
-
records: {
|
|
995
|
-
type: RecordType;
|
|
996
|
-
hostName: string;
|
|
997
|
-
ttl: number;
|
|
998
|
-
values: string[];
|
|
999
|
-
}[];
|
|
1000
|
-
_id: string;
|
|
1001
|
-
dnssecEnabled: boolean;
|
|
1002
|
-
};
|
|
871
|
+
dnsZone?: DnsZoneNonNullableFields;
|
|
1003
872
|
}
|
|
1004
873
|
interface UpdateDnsZoneOptions {
|
|
1005
874
|
/**
|
|
@@ -1018,34 +887,13 @@ interface UpdateDnsZoneOptions {
|
|
|
1018
887
|
dnssecEnabled?: boolean | null;
|
|
1019
888
|
}
|
|
1020
889
|
|
|
1021
|
-
declare
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
declare
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
hostName: string;
|
|
1029
|
-
ttl: number;
|
|
1030
|
-
values: string[];
|
|
1031
|
-
}[];
|
|
1032
|
-
_id: string;
|
|
1033
|
-
dnssecEnabled: boolean;
|
|
1034
|
-
}>;
|
|
1035
|
-
declare function getDnsZone(httpClient: HttpClient): (domainName: string) => Promise<DnsZone & {
|
|
1036
|
-
domainName: string;
|
|
1037
|
-
records: {
|
|
1038
|
-
type: RecordType;
|
|
1039
|
-
hostName: string;
|
|
1040
|
-
ttl: number;
|
|
1041
|
-
values: string[];
|
|
1042
|
-
}[];
|
|
1043
|
-
_id: string;
|
|
1044
|
-
dnssecEnabled: boolean;
|
|
1045
|
-
}>;
|
|
1046
|
-
declare function updateDnsZone(httpClient: HttpClient): (domainName: string, options?: UpdateDnsZoneOptions) => Promise<UpdateDnsZoneResponse & UpdateDnsZoneResponseNonNullableFields>;
|
|
1047
|
-
declare function deleteDnsZone(httpClient: HttpClient): (domainName: string) => Promise<void>;
|
|
1048
|
-
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>>;
|
|
1049
897
|
|
|
1050
898
|
type index_d$3_CreateDnsZoneRequest = CreateDnsZoneRequest;
|
|
1051
899
|
type index_d$3_CreateDnsZoneResponse = CreateDnsZoneResponse;
|
|
@@ -1054,6 +902,7 @@ type index_d$3_DeleteDnsZoneRequest = DeleteDnsZoneRequest;
|
|
|
1054
902
|
type index_d$3_DeleteDnsZoneResponse = DeleteDnsZoneResponse;
|
|
1055
903
|
type index_d$3_DnsRecord = DnsRecord;
|
|
1056
904
|
type index_d$3_DnsZone = DnsZone;
|
|
905
|
+
type index_d$3_DnsZoneNonNullableFields = DnsZoneNonNullableFields;
|
|
1057
906
|
type index_d$3_DomainRemovedEvent = DomainRemovedEvent;
|
|
1058
907
|
type index_d$3_GetDnsZoneRequest = GetDnsZoneRequest;
|
|
1059
908
|
type index_d$3_GetDnsZoneResponse = GetDnsZoneResponse;
|
|
@@ -1073,7 +922,7 @@ declare const index_d$3_getDnsZone: typeof getDnsZone;
|
|
|
1073
922
|
declare const index_d$3_previewDnsZone: typeof previewDnsZone;
|
|
1074
923
|
declare const index_d$3_updateDnsZone: typeof updateDnsZone;
|
|
1075
924
|
declare namespace index_d$3 {
|
|
1076
|
-
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 };
|
|
1077
926
|
}
|
|
1078
927
|
|
|
1079
928
|
/**
|
|
@@ -1655,384 +1504,83 @@ declare enum WebhookIdentityType {
|
|
|
1655
1504
|
WIX_USER = "WIX_USER",
|
|
1656
1505
|
APP = "APP"
|
|
1657
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
|
+
}
|
|
1658
1561
|
interface CreateRegisteredDomainResponseNonNullableFields {
|
|
1659
|
-
registeredDomain?:
|
|
1660
|
-
pendingRegistrationInfo?: {
|
|
1661
|
-
latestAttempt?: {
|
|
1662
|
-
number: number;
|
|
1663
|
-
};
|
|
1664
|
-
};
|
|
1665
|
-
failedRegistrationInfo?: {
|
|
1666
|
-
code: FailureCode;
|
|
1667
|
-
message: string;
|
|
1668
|
-
};
|
|
1669
|
-
_id: string;
|
|
1670
|
-
domain: string;
|
|
1671
|
-
productInstanceId: string;
|
|
1672
|
-
siteInfo?: {
|
|
1673
|
-
redirectInfo?: {
|
|
1674
|
-
primaryDomain: string;
|
|
1675
|
-
};
|
|
1676
|
-
assignmentType: AssignmentType;
|
|
1677
|
-
};
|
|
1678
|
-
contacts?: {
|
|
1679
|
-
registrant?: {
|
|
1680
|
-
firstName: string;
|
|
1681
|
-
lastName: string;
|
|
1682
|
-
email: string;
|
|
1683
|
-
address: string;
|
|
1684
|
-
city: string;
|
|
1685
|
-
countryCode: string;
|
|
1686
|
-
phone: string;
|
|
1687
|
-
};
|
|
1688
|
-
admin?: {
|
|
1689
|
-
firstName: string;
|
|
1690
|
-
lastName: string;
|
|
1691
|
-
email: string;
|
|
1692
|
-
address: string;
|
|
1693
|
-
city: string;
|
|
1694
|
-
countryCode: string;
|
|
1695
|
-
phone: string;
|
|
1696
|
-
};
|
|
1697
|
-
tech?: {
|
|
1698
|
-
firstName: string;
|
|
1699
|
-
lastName: string;
|
|
1700
|
-
email: string;
|
|
1701
|
-
address: string;
|
|
1702
|
-
city: string;
|
|
1703
|
-
countryCode: string;
|
|
1704
|
-
phone: string;
|
|
1705
|
-
};
|
|
1706
|
-
};
|
|
1707
|
-
status: Status;
|
|
1708
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1709
|
-
icannConfirmationStatusInfo?: {
|
|
1710
|
-
pending?: {
|
|
1711
|
-
notConfirmedBy: string[];
|
|
1712
|
-
};
|
|
1713
|
-
expired?: {
|
|
1714
|
-
notConfirmedBy: string[];
|
|
1715
|
-
};
|
|
1716
|
-
};
|
|
1717
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1718
|
-
};
|
|
1562
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1719
1563
|
}
|
|
1720
1564
|
interface GetRegisteredDomainResponseNonNullableFields {
|
|
1721
|
-
registeredDomain?:
|
|
1722
|
-
pendingRegistrationInfo?: {
|
|
1723
|
-
latestAttempt?: {
|
|
1724
|
-
number: number;
|
|
1725
|
-
};
|
|
1726
|
-
};
|
|
1727
|
-
failedRegistrationInfo?: {
|
|
1728
|
-
code: FailureCode;
|
|
1729
|
-
message: string;
|
|
1730
|
-
};
|
|
1731
|
-
_id: string;
|
|
1732
|
-
domain: string;
|
|
1733
|
-
productInstanceId: string;
|
|
1734
|
-
siteInfo?: {
|
|
1735
|
-
redirectInfo?: {
|
|
1736
|
-
primaryDomain: string;
|
|
1737
|
-
};
|
|
1738
|
-
assignmentType: AssignmentType;
|
|
1739
|
-
};
|
|
1740
|
-
contacts?: {
|
|
1741
|
-
registrant?: {
|
|
1742
|
-
firstName: string;
|
|
1743
|
-
lastName: string;
|
|
1744
|
-
email: string;
|
|
1745
|
-
address: string;
|
|
1746
|
-
city: string;
|
|
1747
|
-
countryCode: string;
|
|
1748
|
-
phone: string;
|
|
1749
|
-
};
|
|
1750
|
-
admin?: {
|
|
1751
|
-
firstName: string;
|
|
1752
|
-
lastName: string;
|
|
1753
|
-
email: string;
|
|
1754
|
-
address: string;
|
|
1755
|
-
city: string;
|
|
1756
|
-
countryCode: string;
|
|
1757
|
-
phone: string;
|
|
1758
|
-
};
|
|
1759
|
-
tech?: {
|
|
1760
|
-
firstName: string;
|
|
1761
|
-
lastName: string;
|
|
1762
|
-
email: string;
|
|
1763
|
-
address: string;
|
|
1764
|
-
city: string;
|
|
1765
|
-
countryCode: string;
|
|
1766
|
-
phone: string;
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
status: Status;
|
|
1770
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1771
|
-
icannConfirmationStatusInfo?: {
|
|
1772
|
-
pending?: {
|
|
1773
|
-
notConfirmedBy: string[];
|
|
1774
|
-
};
|
|
1775
|
-
expired?: {
|
|
1776
|
-
notConfirmedBy: string[];
|
|
1777
|
-
};
|
|
1778
|
-
};
|
|
1779
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1780
|
-
};
|
|
1565
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1781
1566
|
}
|
|
1782
1567
|
interface ListRegisteredDomainsResponseNonNullableFields {
|
|
1783
|
-
registeredDomains:
|
|
1784
|
-
pendingRegistrationInfo?: {
|
|
1785
|
-
latestAttempt?: {
|
|
1786
|
-
number: number;
|
|
1787
|
-
};
|
|
1788
|
-
};
|
|
1789
|
-
failedRegistrationInfo?: {
|
|
1790
|
-
code: FailureCode;
|
|
1791
|
-
message: string;
|
|
1792
|
-
};
|
|
1793
|
-
_id: string;
|
|
1794
|
-
domain: string;
|
|
1795
|
-
productInstanceId: string;
|
|
1796
|
-
siteInfo?: {
|
|
1797
|
-
redirectInfo?: {
|
|
1798
|
-
primaryDomain: string;
|
|
1799
|
-
};
|
|
1800
|
-
assignmentType: AssignmentType;
|
|
1801
|
-
};
|
|
1802
|
-
contacts?: {
|
|
1803
|
-
registrant?: {
|
|
1804
|
-
firstName: string;
|
|
1805
|
-
lastName: string;
|
|
1806
|
-
email: string;
|
|
1807
|
-
address: string;
|
|
1808
|
-
city: string;
|
|
1809
|
-
countryCode: string;
|
|
1810
|
-
phone: string;
|
|
1811
|
-
};
|
|
1812
|
-
admin?: {
|
|
1813
|
-
firstName: string;
|
|
1814
|
-
lastName: string;
|
|
1815
|
-
email: string;
|
|
1816
|
-
address: string;
|
|
1817
|
-
city: string;
|
|
1818
|
-
countryCode: string;
|
|
1819
|
-
phone: string;
|
|
1820
|
-
};
|
|
1821
|
-
tech?: {
|
|
1822
|
-
firstName: string;
|
|
1823
|
-
lastName: string;
|
|
1824
|
-
email: string;
|
|
1825
|
-
address: string;
|
|
1826
|
-
city: string;
|
|
1827
|
-
countryCode: string;
|
|
1828
|
-
phone: string;
|
|
1829
|
-
};
|
|
1830
|
-
};
|
|
1831
|
-
status: Status;
|
|
1832
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1833
|
-
icannConfirmationStatusInfo?: {
|
|
1834
|
-
pending?: {
|
|
1835
|
-
notConfirmedBy: string[];
|
|
1836
|
-
};
|
|
1837
|
-
expired?: {
|
|
1838
|
-
notConfirmedBy: string[];
|
|
1839
|
-
};
|
|
1840
|
-
};
|
|
1841
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1842
|
-
}[];
|
|
1568
|
+
registeredDomains: RegisteredDomainNonNullableFields[];
|
|
1843
1569
|
}
|
|
1844
1570
|
interface RedeemRegisteredDomainResponseNonNullableFields {
|
|
1845
|
-
registeredDomain?:
|
|
1846
|
-
pendingRegistrationInfo?: {
|
|
1847
|
-
latestAttempt?: {
|
|
1848
|
-
number: number;
|
|
1849
|
-
};
|
|
1850
|
-
};
|
|
1851
|
-
failedRegistrationInfo?: {
|
|
1852
|
-
code: FailureCode;
|
|
1853
|
-
message: string;
|
|
1854
|
-
};
|
|
1855
|
-
_id: string;
|
|
1856
|
-
domain: string;
|
|
1857
|
-
productInstanceId: string;
|
|
1858
|
-
siteInfo?: {
|
|
1859
|
-
redirectInfo?: {
|
|
1860
|
-
primaryDomain: string;
|
|
1861
|
-
};
|
|
1862
|
-
assignmentType: AssignmentType;
|
|
1863
|
-
};
|
|
1864
|
-
contacts?: {
|
|
1865
|
-
registrant?: {
|
|
1866
|
-
firstName: string;
|
|
1867
|
-
lastName: string;
|
|
1868
|
-
email: string;
|
|
1869
|
-
address: string;
|
|
1870
|
-
city: string;
|
|
1871
|
-
countryCode: string;
|
|
1872
|
-
phone: string;
|
|
1873
|
-
};
|
|
1874
|
-
admin?: {
|
|
1875
|
-
firstName: string;
|
|
1876
|
-
lastName: string;
|
|
1877
|
-
email: string;
|
|
1878
|
-
address: string;
|
|
1879
|
-
city: string;
|
|
1880
|
-
countryCode: string;
|
|
1881
|
-
phone: string;
|
|
1882
|
-
};
|
|
1883
|
-
tech?: {
|
|
1884
|
-
firstName: string;
|
|
1885
|
-
lastName: string;
|
|
1886
|
-
email: string;
|
|
1887
|
-
address: string;
|
|
1888
|
-
city: string;
|
|
1889
|
-
countryCode: string;
|
|
1890
|
-
phone: string;
|
|
1891
|
-
};
|
|
1892
|
-
};
|
|
1893
|
-
status: Status;
|
|
1894
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1895
|
-
icannConfirmationStatusInfo?: {
|
|
1896
|
-
pending?: {
|
|
1897
|
-
notConfirmedBy: string[];
|
|
1898
|
-
};
|
|
1899
|
-
expired?: {
|
|
1900
|
-
notConfirmedBy: string[];
|
|
1901
|
-
};
|
|
1902
|
-
};
|
|
1903
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1904
|
-
};
|
|
1571
|
+
registeredDomain?: RegisteredDomainNonNullableFields;
|
|
1905
1572
|
}
|
|
1906
1573
|
interface ListRegisteredDomainsOptions {
|
|
1907
1574
|
/** Cursor paging options. */
|
|
1908
1575
|
paging?: CursorPaging$1;
|
|
1909
1576
|
}
|
|
1910
1577
|
|
|
1911
|
-
declare
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
declare
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
number: number;
|
|
1918
|
-
} | undefined;
|
|
1919
|
-
} | undefined;
|
|
1920
|
-
failedRegistrationInfo?: {
|
|
1921
|
-
code: FailureCode;
|
|
1922
|
-
message: string;
|
|
1923
|
-
} | undefined;
|
|
1924
|
-
_id: string;
|
|
1925
|
-
domain: string;
|
|
1926
|
-
productInstanceId: string;
|
|
1927
|
-
siteInfo?: {
|
|
1928
|
-
redirectInfo?: {
|
|
1929
|
-
primaryDomain: string;
|
|
1930
|
-
} | undefined;
|
|
1931
|
-
assignmentType: AssignmentType;
|
|
1932
|
-
} | undefined;
|
|
1933
|
-
contacts?: {
|
|
1934
|
-
registrant?: {
|
|
1935
|
-
firstName: string;
|
|
1936
|
-
lastName: string;
|
|
1937
|
-
email: string;
|
|
1938
|
-
address: string;
|
|
1939
|
-
city: string;
|
|
1940
|
-
countryCode: string;
|
|
1941
|
-
phone: string;
|
|
1942
|
-
} | undefined;
|
|
1943
|
-
admin?: {
|
|
1944
|
-
firstName: string;
|
|
1945
|
-
lastName: string;
|
|
1946
|
-
email: string;
|
|
1947
|
-
address: string;
|
|
1948
|
-
city: string;
|
|
1949
|
-
countryCode: string;
|
|
1950
|
-
phone: string;
|
|
1951
|
-
} | undefined;
|
|
1952
|
-
tech?: {
|
|
1953
|
-
firstName: string;
|
|
1954
|
-
lastName: string;
|
|
1955
|
-
email: string;
|
|
1956
|
-
address: string;
|
|
1957
|
-
city: string;
|
|
1958
|
-
countryCode: string;
|
|
1959
|
-
phone: string;
|
|
1960
|
-
} | undefined;
|
|
1961
|
-
} | undefined;
|
|
1962
|
-
status: Status;
|
|
1963
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
1964
|
-
icannConfirmationStatusInfo?: {
|
|
1965
|
-
pending?: {
|
|
1966
|
-
notConfirmedBy: string[];
|
|
1967
|
-
} | undefined;
|
|
1968
|
-
expired?: {
|
|
1969
|
-
notConfirmedBy: string[];
|
|
1970
|
-
} | undefined;
|
|
1971
|
-
} | undefined;
|
|
1972
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
1973
|
-
}>;
|
|
1974
|
-
declare function getRegisteredDomain(httpClient: HttpClient): (registeredDomainId: string) => Promise<RegisteredDomain & {
|
|
1975
|
-
pendingRegistrationInfo?: {
|
|
1976
|
-
latestAttempt?: {
|
|
1977
|
-
number: number;
|
|
1978
|
-
} | undefined;
|
|
1979
|
-
} | undefined;
|
|
1980
|
-
failedRegistrationInfo?: {
|
|
1981
|
-
code: FailureCode;
|
|
1982
|
-
message: string;
|
|
1983
|
-
} | undefined;
|
|
1984
|
-
_id: string;
|
|
1985
|
-
domain: string;
|
|
1986
|
-
productInstanceId: string;
|
|
1987
|
-
siteInfo?: {
|
|
1988
|
-
redirectInfo?: {
|
|
1989
|
-
primaryDomain: string;
|
|
1990
|
-
} | undefined;
|
|
1991
|
-
assignmentType: AssignmentType;
|
|
1992
|
-
} | undefined;
|
|
1993
|
-
contacts?: {
|
|
1994
|
-
registrant?: {
|
|
1995
|
-
firstName: string;
|
|
1996
|
-
lastName: string;
|
|
1997
|
-
email: string;
|
|
1998
|
-
address: string;
|
|
1999
|
-
city: string;
|
|
2000
|
-
countryCode: string;
|
|
2001
|
-
phone: string;
|
|
2002
|
-
} | undefined;
|
|
2003
|
-
admin?: {
|
|
2004
|
-
firstName: string;
|
|
2005
|
-
lastName: string;
|
|
2006
|
-
email: string;
|
|
2007
|
-
address: string;
|
|
2008
|
-
city: string;
|
|
2009
|
-
countryCode: string;
|
|
2010
|
-
phone: string;
|
|
2011
|
-
} | undefined;
|
|
2012
|
-
tech?: {
|
|
2013
|
-
firstName: string;
|
|
2014
|
-
lastName: string;
|
|
2015
|
-
email: string;
|
|
2016
|
-
address: string;
|
|
2017
|
-
city: string;
|
|
2018
|
-
countryCode: string;
|
|
2019
|
-
phone: string;
|
|
2020
|
-
} | undefined;
|
|
2021
|
-
} | undefined;
|
|
2022
|
-
status: Status;
|
|
2023
|
-
icannConfirmationStatus: ICANNConfirmationStatus;
|
|
2024
|
-
icannConfirmationStatusInfo?: {
|
|
2025
|
-
pending?: {
|
|
2026
|
-
notConfirmedBy: string[];
|
|
2027
|
-
} | undefined;
|
|
2028
|
-
expired?: {
|
|
2029
|
-
notConfirmedBy: string[];
|
|
2030
|
-
} | undefined;
|
|
2031
|
-
} | undefined;
|
|
2032
|
-
dnsPropagationStatus: DnsPropagationStatus;
|
|
2033
|
-
}>;
|
|
2034
|
-
declare function listRegisteredDomains(httpClient: HttpClient): (options?: ListRegisteredDomainsOptions) => Promise<ListRegisteredDomainsResponse & ListRegisteredDomainsResponseNonNullableFields>;
|
|
2035
|
-
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>>;
|
|
2036
1584
|
|
|
2037
1585
|
type index_d$2_ActionEvent = ActionEvent;
|
|
2038
1586
|
type index_d$2_AssignmentType = AssignmentType;
|
|
@@ -2077,6 +1625,7 @@ type index_d$2_RedeemRegisteredDomainResponse = RedeemRegisteredDomainResponse;
|
|
|
2077
1625
|
type index_d$2_RedeemRegisteredDomainResponseNonNullableFields = RedeemRegisteredDomainResponseNonNullableFields;
|
|
2078
1626
|
type index_d$2_RedirectAssignmentInfo = RedirectAssignmentInfo;
|
|
2079
1627
|
type index_d$2_RegisteredDomain = RegisteredDomain;
|
|
1628
|
+
type index_d$2_RegisteredDomainNonNullableFields = RegisteredDomainNonNullableFields;
|
|
2080
1629
|
type index_d$2_RegisteredDomainStatusInfoOneOf = RegisteredDomainStatusInfoOneOf;
|
|
2081
1630
|
type index_d$2_RestoreInfo = RestoreInfo;
|
|
2082
1631
|
type index_d$2_SiteInfo = SiteInfo;
|
|
@@ -2090,7 +1639,7 @@ declare const index_d$2_getRegisteredDomain: typeof getRegisteredDomain;
|
|
|
2090
1639
|
declare const index_d$2_listRegisteredDomains: typeof listRegisteredDomains;
|
|
2091
1640
|
declare const index_d$2_redeemRegisteredDomain: typeof redeemRegisteredDomain;
|
|
2092
1641
|
declare namespace index_d$2 {
|
|
2093
|
-
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 };
|
|
2094
1643
|
}
|
|
2095
1644
|
|
|
2096
1645
|
interface DomainAvailability {
|
|
@@ -2117,17 +1666,17 @@ interface CheckDomainAvailabilityResponse {
|
|
|
2117
1666
|
/** Information about the domain's availability. */
|
|
2118
1667
|
availability?: DomainAvailability;
|
|
2119
1668
|
}
|
|
1669
|
+
interface DomainAvailabilityNonNullableFields {
|
|
1670
|
+
domain: string;
|
|
1671
|
+
available: boolean;
|
|
1672
|
+
}
|
|
2120
1673
|
interface CheckDomainAvailabilityResponseNonNullableFields {
|
|
2121
|
-
availability?:
|
|
2122
|
-
domain: string;
|
|
2123
|
-
available: boolean;
|
|
2124
|
-
};
|
|
1674
|
+
availability?: DomainAvailabilityNonNullableFields;
|
|
2125
1675
|
}
|
|
2126
1676
|
|
|
2127
|
-
declare
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
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>>;
|
|
2131
1680
|
|
|
2132
1681
|
type index_d$1_CheckDomainAvailabilityRequest = CheckDomainAvailabilityRequest;
|
|
2133
1682
|
type index_d$1_CheckDomainAvailabilityResponse = CheckDomainAvailabilityResponse;
|
|
@@ -2135,7 +1684,7 @@ type index_d$1_CheckDomainAvailabilityResponseNonNullableFields = CheckDomainAva
|
|
|
2135
1684
|
type index_d$1_DomainAvailability = DomainAvailability;
|
|
2136
1685
|
declare const index_d$1_checkDomainAvailability: typeof checkDomainAvailability;
|
|
2137
1686
|
declare namespace index_d$1 {
|
|
2138
|
-
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 };
|
|
2139
1688
|
}
|
|
2140
1689
|
|
|
2141
1690
|
interface DomainSuggestion {
|
|
@@ -2222,10 +1771,11 @@ interface Cursors {
|
|
|
2222
1771
|
/** Cursor pointing to previous page in the list of results. */
|
|
2223
1772
|
prev?: string | null;
|
|
2224
1773
|
}
|
|
1774
|
+
interface DomainSuggestionNonNullableFields {
|
|
1775
|
+
domain: string;
|
|
1776
|
+
}
|
|
2225
1777
|
interface SuggestDomainsResponseNonNullableFields {
|
|
2226
|
-
suggestions:
|
|
2227
|
-
domain: string;
|
|
2228
|
-
}[];
|
|
1778
|
+
suggestions: DomainSuggestionNonNullableFields[];
|
|
2229
1779
|
}
|
|
2230
1780
|
interface SuggestDomainsOptions {
|
|
2231
1781
|
/**
|
|
@@ -2259,10 +1809,9 @@ interface SuggestDomainsOptions {
|
|
|
2259
1809
|
paging?: CursorPaging;
|
|
2260
1810
|
}
|
|
2261
1811
|
|
|
2262
|
-
declare
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
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>>;
|
|
2266
1815
|
|
|
2267
1816
|
type index_d_CursorPaging = CursorPaging;
|
|
2268
1817
|
type index_d_CursorPagingMetadata = CursorPagingMetadata;
|
|
@@ -2272,10 +1821,9 @@ type index_d_SuggestDomainsOptions = SuggestDomainsOptions;
|
|
|
2272
1821
|
type index_d_SuggestDomainsRequest = SuggestDomainsRequest;
|
|
2273
1822
|
type index_d_SuggestDomainsResponse = SuggestDomainsResponse;
|
|
2274
1823
|
type index_d_SuggestDomainsResponseNonNullableFields = SuggestDomainsResponseNonNullableFields;
|
|
2275
|
-
declare const index_d___metadata: typeof __metadata;
|
|
2276
1824
|
declare const index_d_suggestDomains: typeof suggestDomains;
|
|
2277
1825
|
declare namespace index_d {
|
|
2278
|
-
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 };
|
|
2279
1827
|
}
|
|
2280
1828
|
|
|
2281
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 };
|