@wix/domains 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +8 -8
- package/type-bundles/context.bundle.d.ts +262 -59
- package/type-bundles/index.bundle.d.ts +363 -155
- package/type-bundles/meta.bundle.d.ts +117 -38
|
@@ -416,7 +416,7 @@ interface ListConnectedDomainsResponseNonNullableFields {
|
|
|
416
416
|
}[];
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
type __PublicMethodMetaInfo$
|
|
419
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
420
420
|
getUrl: (context: any) => string;
|
|
421
421
|
httpMethod: K;
|
|
422
422
|
path: string;
|
|
@@ -426,17 +426,17 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
426
426
|
__responseType: Q;
|
|
427
427
|
__originalResponseType: R;
|
|
428
428
|
};
|
|
429
|
-
declare function createConnectedDomain(): __PublicMethodMetaInfo$
|
|
430
|
-
declare function getConnectedDomain(): __PublicMethodMetaInfo$
|
|
429
|
+
declare function createConnectedDomain(): __PublicMethodMetaInfo$5<'POST', {}, CreateConnectedDomainRequest, CreateConnectedDomainRequest$1, CreateConnectedDomainResponse & CreateConnectedDomainResponseNonNullableFields, CreateConnectedDomainResponse$1 & CreateConnectedDomainResponseNonNullableFields$1>;
|
|
430
|
+
declare function getConnectedDomain(): __PublicMethodMetaInfo$5<'GET', {
|
|
431
431
|
connectedDomainId: string;
|
|
432
432
|
}, GetConnectedDomainRequest, GetConnectedDomainRequest$1, GetConnectedDomainResponse & GetConnectedDomainResponseNonNullableFields, GetConnectedDomainResponse$1 & GetConnectedDomainResponseNonNullableFields$1>;
|
|
433
|
-
declare function listConnectedDomains(): __PublicMethodMetaInfo$
|
|
433
|
+
declare function listConnectedDomains(): __PublicMethodMetaInfo$5<'GET', {}, ListConnectedDomainsRequest, ListConnectedDomainsRequest$1, ListConnectedDomainsResponse & ListConnectedDomainsResponseNonNullableFields, ListConnectedDomainsResponse$1 & ListConnectedDomainsResponseNonNullableFields$1>;
|
|
434
434
|
|
|
435
|
-
declare const meta$
|
|
436
|
-
declare const meta$
|
|
437
|
-
declare const meta$
|
|
438
|
-
declare namespace meta$
|
|
439
|
-
export { type __PublicMethodMetaInfo$
|
|
435
|
+
declare const meta$5_createConnectedDomain: typeof createConnectedDomain;
|
|
436
|
+
declare const meta$5_getConnectedDomain: typeof getConnectedDomain;
|
|
437
|
+
declare const meta$5_listConnectedDomains: typeof listConnectedDomains;
|
|
438
|
+
declare namespace meta$5 {
|
|
439
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createConnectedDomain as createConnectedDomain, meta$5_getConnectedDomain as getConnectedDomain, meta$5_listConnectedDomains as listConnectedDomains };
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -771,7 +771,7 @@ interface GetConnectedDomainSetupInfoResponseNonNullableFields {
|
|
|
771
771
|
};
|
|
772
772
|
}
|
|
773
773
|
|
|
774
|
-
type __PublicMethodMetaInfo$
|
|
774
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
775
775
|
getUrl: (context: any) => string;
|
|
776
776
|
httpMethod: K;
|
|
777
777
|
path: string;
|
|
@@ -781,13 +781,13 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
781
781
|
__responseType: Q;
|
|
782
782
|
__originalResponseType: R;
|
|
783
783
|
};
|
|
784
|
-
declare function getConnectedDomainSetupInfo(): __PublicMethodMetaInfo$
|
|
784
|
+
declare function getConnectedDomainSetupInfo(): __PublicMethodMetaInfo$4<'GET', {
|
|
785
785
|
connectedDomainId: string;
|
|
786
786
|
}, GetConnectedDomainSetupInfoRequest, GetConnectedDomainSetupInfoRequest$1, GetConnectedDomainSetupInfoResponse & GetConnectedDomainSetupInfoResponseNonNullableFields, GetConnectedDomainSetupInfoResponse$1 & GetConnectedDomainSetupInfoResponseNonNullableFields$1>;
|
|
787
787
|
|
|
788
|
-
declare const meta$
|
|
789
|
-
declare namespace meta$
|
|
790
|
-
export { type __PublicMethodMetaInfo$
|
|
788
|
+
declare const meta$4_getConnectedDomainSetupInfo: typeof getConnectedDomainSetupInfo;
|
|
789
|
+
declare namespace meta$4 {
|
|
790
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_getConnectedDomainSetupInfo as getConnectedDomainSetupInfo };
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
/** DNS zones hold information about the records that map a domain's URL to an IP address. */
|
|
@@ -1156,7 +1156,7 @@ interface PreviewDnsZoneResponseNonNullableFields {
|
|
|
1156
1156
|
};
|
|
1157
1157
|
}
|
|
1158
1158
|
|
|
1159
|
-
type __PublicMethodMetaInfo$
|
|
1159
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1160
1160
|
getUrl: (context: any) => string;
|
|
1161
1161
|
httpMethod: K;
|
|
1162
1162
|
path: string;
|
|
@@ -1166,27 +1166,27 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1166
1166
|
__responseType: Q;
|
|
1167
1167
|
__originalResponseType: R;
|
|
1168
1168
|
};
|
|
1169
|
-
declare function createDnsZone(): __PublicMethodMetaInfo$
|
|
1170
|
-
declare function getDnsZone(): __PublicMethodMetaInfo$
|
|
1169
|
+
declare function createDnsZone(): __PublicMethodMetaInfo$3<'POST', {}, CreateDnsZoneRequest, CreateDnsZoneRequest$1, CreateDnsZoneResponse & CreateDnsZoneResponseNonNullableFields, CreateDnsZoneResponse$1 & CreateDnsZoneResponseNonNullableFields$1>;
|
|
1170
|
+
declare function getDnsZone(): __PublicMethodMetaInfo$3<'GET', {
|
|
1171
1171
|
domainName: string;
|
|
1172
1172
|
}, GetDnsZoneRequest, GetDnsZoneRequest$1, GetDnsZoneResponse & GetDnsZoneResponseNonNullableFields, GetDnsZoneResponse$1 & GetDnsZoneResponseNonNullableFields$1>;
|
|
1173
|
-
declare function updateDnsZone(): __PublicMethodMetaInfo$
|
|
1173
|
+
declare function updateDnsZone(): __PublicMethodMetaInfo$3<'PATCH', {
|
|
1174
1174
|
domainName: string;
|
|
1175
1175
|
}, UpdateDnsZoneRequest, UpdateDnsZoneRequest$1, UpdateDnsZoneResponse & UpdateDnsZoneResponseNonNullableFields, UpdateDnsZoneResponse$1 & UpdateDnsZoneResponseNonNullableFields$1>;
|
|
1176
|
-
declare function deleteDnsZone(): __PublicMethodMetaInfo$
|
|
1176
|
+
declare function deleteDnsZone(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
1177
1177
|
domainName: string;
|
|
1178
1178
|
}, DeleteDnsZoneRequest, DeleteDnsZoneRequest$1, DeleteDnsZoneResponse, DeleteDnsZoneResponse$1>;
|
|
1179
|
-
declare function previewDnsZone(): __PublicMethodMetaInfo$
|
|
1179
|
+
declare function previewDnsZone(): __PublicMethodMetaInfo$3<'GET', {
|
|
1180
1180
|
domainName: string;
|
|
1181
1181
|
}, PreviewDnsZoneRequest, PreviewDnsZoneRequest$1, PreviewDnsZoneResponse & PreviewDnsZoneResponseNonNullableFields, PreviewDnsZoneResponse$1 & PreviewDnsZoneResponseNonNullableFields$1>;
|
|
1182
1182
|
|
|
1183
|
-
declare const meta$
|
|
1184
|
-
declare const meta$
|
|
1185
|
-
declare const meta$
|
|
1186
|
-
declare const meta$
|
|
1187
|
-
declare const meta$
|
|
1188
|
-
declare namespace meta$
|
|
1189
|
-
export { type __PublicMethodMetaInfo$
|
|
1183
|
+
declare const meta$3_createDnsZone: typeof createDnsZone;
|
|
1184
|
+
declare const meta$3_deleteDnsZone: typeof deleteDnsZone;
|
|
1185
|
+
declare const meta$3_getDnsZone: typeof getDnsZone;
|
|
1186
|
+
declare const meta$3_previewDnsZone: typeof previewDnsZone;
|
|
1187
|
+
declare const meta$3_updateDnsZone: typeof updateDnsZone;
|
|
1188
|
+
declare namespace meta$3 {
|
|
1189
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_createDnsZone as createDnsZone, meta$3_deleteDnsZone as deleteDnsZone, meta$3_getDnsZone as getDnsZone, meta$3_previewDnsZone as previewDnsZone, meta$3_updateDnsZone as updateDnsZone };
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
1192
|
/**
|
|
@@ -2613,7 +2613,7 @@ interface RedeemRegisteredDomainResponseNonNullableFields {
|
|
|
2613
2613
|
};
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
2616
|
-
type __PublicMethodMetaInfo$
|
|
2616
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2617
2617
|
getUrl: (context: any) => string;
|
|
2618
2618
|
httpMethod: K;
|
|
2619
2619
|
path: string;
|
|
@@ -2623,21 +2623,100 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2623
2623
|
__responseType: Q;
|
|
2624
2624
|
__originalResponseType: R;
|
|
2625
2625
|
};
|
|
2626
|
-
declare function createRegisteredDomain(): __PublicMethodMetaInfo$
|
|
2627
|
-
declare function getRegisteredDomain(): __PublicMethodMetaInfo$
|
|
2626
|
+
declare function createRegisteredDomain(): __PublicMethodMetaInfo$2<'POST', {}, CreateRegisteredDomainRequest, CreateRegisteredDomainRequest$1, CreateRegisteredDomainResponse & CreateRegisteredDomainResponseNonNullableFields, CreateRegisteredDomainResponse$1 & CreateRegisteredDomainResponseNonNullableFields$1>;
|
|
2627
|
+
declare function getRegisteredDomain(): __PublicMethodMetaInfo$2<'GET', {
|
|
2628
2628
|
registeredDomainId: string;
|
|
2629
2629
|
}, GetRegisteredDomainRequest, GetRegisteredDomainRequest$1, GetRegisteredDomainResponse & GetRegisteredDomainResponseNonNullableFields, GetRegisteredDomainResponse$1 & GetRegisteredDomainResponseNonNullableFields$1>;
|
|
2630
|
-
declare function listRegisteredDomains(): __PublicMethodMetaInfo$
|
|
2631
|
-
declare function redeemRegisteredDomain(): __PublicMethodMetaInfo$
|
|
2630
|
+
declare function listRegisteredDomains(): __PublicMethodMetaInfo$2<'GET', {}, ListRegisteredDomainsRequest, ListRegisteredDomainsRequest$1, ListRegisteredDomainsResponse & ListRegisteredDomainsResponseNonNullableFields, ListRegisteredDomainsResponse$1 & ListRegisteredDomainsResponseNonNullableFields$1>;
|
|
2631
|
+
declare function redeemRegisteredDomain(): __PublicMethodMetaInfo$2<'POST', {
|
|
2632
2632
|
registeredDomainId: string;
|
|
2633
2633
|
}, RedeemRegisteredDomainRequest, RedeemRegisteredDomainRequest$1, RedeemRegisteredDomainResponse & RedeemRegisteredDomainResponseNonNullableFields, RedeemRegisteredDomainResponse$1 & RedeemRegisteredDomainResponseNonNullableFields$1>;
|
|
2634
2634
|
|
|
2635
|
-
declare const meta$
|
|
2636
|
-
declare const meta$
|
|
2637
|
-
declare const meta$
|
|
2638
|
-
declare const meta$
|
|
2635
|
+
declare const meta$2_createRegisteredDomain: typeof createRegisteredDomain;
|
|
2636
|
+
declare const meta$2_getRegisteredDomain: typeof getRegisteredDomain;
|
|
2637
|
+
declare const meta$2_listRegisteredDomains: typeof listRegisteredDomains;
|
|
2638
|
+
declare const meta$2_redeemRegisteredDomain: typeof redeemRegisteredDomain;
|
|
2639
|
+
declare namespace meta$2 {
|
|
2640
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_createRegisteredDomain as createRegisteredDomain, meta$2_getRegisteredDomain as getRegisteredDomain, meta$2_listRegisteredDomains as listRegisteredDomains, meta$2_redeemRegisteredDomain as redeemRegisteredDomain };
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
interface DomainAvailability$1 {
|
|
2644
|
+
/** Domain name including TLD. For example, `my-new-domain.com`. */
|
|
2645
|
+
domain?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* Whether the domain is available for purchase. You can purchase the
|
|
2648
|
+
* domain in case the boolean is `true`. The domain is already taken
|
|
2649
|
+
* when `false` is returned.
|
|
2650
|
+
*/
|
|
2651
|
+
available?: boolean;
|
|
2652
|
+
}
|
|
2653
|
+
interface CheckDomainAvailabilityRequest$1 {
|
|
2654
|
+
/**
|
|
2655
|
+
* Domain name. Must include the TLD. For example, `my-new-domain.com`. Only
|
|
2656
|
+
* alphanumeric characters, hyphens, and dots are supported.
|
|
2657
|
+
*
|
|
2658
|
+
* Min: 3 characters
|
|
2659
|
+
* Max: 63 characters
|
|
2660
|
+
*/
|
|
2661
|
+
domain: string;
|
|
2662
|
+
}
|
|
2663
|
+
interface CheckDomainAvailabilityResponse$1 {
|
|
2664
|
+
/** Information about the domain's availability. */
|
|
2665
|
+
availability?: DomainAvailability$1;
|
|
2666
|
+
}
|
|
2667
|
+
interface CheckDomainAvailabilityResponseNonNullableFields$1 {
|
|
2668
|
+
availability?: {
|
|
2669
|
+
domain: string;
|
|
2670
|
+
available: boolean;
|
|
2671
|
+
};
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
interface DomainAvailability {
|
|
2675
|
+
/** Domain name including TLD. For example, `my-new-domain.com`. */
|
|
2676
|
+
domain?: string;
|
|
2677
|
+
/**
|
|
2678
|
+
* Whether the domain is available for purchase. You can purchase the
|
|
2679
|
+
* domain in case the boolean is `true`. The domain is already taken
|
|
2680
|
+
* when `false` is returned.
|
|
2681
|
+
*/
|
|
2682
|
+
available?: boolean;
|
|
2683
|
+
}
|
|
2684
|
+
interface CheckDomainAvailabilityRequest {
|
|
2685
|
+
/**
|
|
2686
|
+
* Domain name. Must include the TLD. For example, `my-new-domain.com`. Only
|
|
2687
|
+
* alphanumeric characters, hyphens, and dots are supported.
|
|
2688
|
+
*
|
|
2689
|
+
* Min: 3 characters
|
|
2690
|
+
* Max: 63 characters
|
|
2691
|
+
*/
|
|
2692
|
+
domain: string;
|
|
2693
|
+
}
|
|
2694
|
+
interface CheckDomainAvailabilityResponse {
|
|
2695
|
+
/** Information about the domain's availability. */
|
|
2696
|
+
availability?: DomainAvailability;
|
|
2697
|
+
}
|
|
2698
|
+
interface CheckDomainAvailabilityResponseNonNullableFields {
|
|
2699
|
+
availability?: {
|
|
2700
|
+
domain: string;
|
|
2701
|
+
available: boolean;
|
|
2702
|
+
};
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2706
|
+
getUrl: (context: any) => string;
|
|
2707
|
+
httpMethod: K;
|
|
2708
|
+
path: string;
|
|
2709
|
+
pathParams: M;
|
|
2710
|
+
__requestType: T;
|
|
2711
|
+
__originalRequestType: S;
|
|
2712
|
+
__responseType: Q;
|
|
2713
|
+
__originalResponseType: R;
|
|
2714
|
+
};
|
|
2715
|
+
declare function checkDomainAvailability(): __PublicMethodMetaInfo$1<'GET', {}, CheckDomainAvailabilityRequest, CheckDomainAvailabilityRequest$1, CheckDomainAvailabilityResponse & CheckDomainAvailabilityResponseNonNullableFields, CheckDomainAvailabilityResponse$1 & CheckDomainAvailabilityResponseNonNullableFields$1>;
|
|
2716
|
+
|
|
2717
|
+
declare const meta$1_checkDomainAvailability: typeof checkDomainAvailability;
|
|
2639
2718
|
declare namespace meta$1 {
|
|
2640
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$
|
|
2719
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_checkDomainAvailability as checkDomainAvailability };
|
|
2641
2720
|
}
|
|
2642
2721
|
|
|
2643
2722
|
interface DomainSuggestion$1 {
|
|
@@ -2742,4 +2821,4 @@ declare namespace meta {
|
|
|
2742
2821
|
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_suggestDomains as suggestDomains };
|
|
2743
2822
|
}
|
|
2744
2823
|
|
|
2745
|
-
export { meta$
|
|
2824
|
+
export { meta$4 as connectedDomainSetupInfo, meta$5 as connectedDomains, meta$1 as domainAvailability, meta$3 as domainDns, meta as domainSuggestions, meta$2 as registeredDomains };
|