@wix/auto_sdk_domains_connected-domain-setup-info 1.0.31 → 1.0.33
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 +4 -11
- package/build/cjs/schemas.d.ts +0 -53
- package/build/cjs/schemas.js +0 -140
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -53
- package/build/es/schemas.mjs +0 -102
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/index.js +0 -213
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -200
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -191
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -53
- package/build/internal/cjs/schemas.js +0 -140
- package/build/internal/cjs/schemas.js.map +0 -1
- package/build/internal/es/index.mjs +0 -188
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -175
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -163
- package/build/internal/es/meta.mjs.map +0 -1
- package/build/internal/es/schemas.d.mts +0 -53
- package/build/internal/es/schemas.mjs +0 -102
- package/build/internal/es/schemas.mjs.map +0 -1
- package/schemas/package.json +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_domains_connected-domain-setup-info",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.premium.domains.v1.connected_domain_setup_info"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "9ae12e4ec719e929b5bb5e408ef5d26d456f0d10c87ab5757276ae0c"
|
|
61
54
|
}
|
package/build/cjs/schemas.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetConnectedDomainSetupInfoRequest: z.ZodObject<{
|
|
4
|
-
connectedDomainId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
declare const GetConnectedDomainSetupInfoResponse: z.ZodIntersection<z.ZodObject<{
|
|
7
|
-
connectedDomainId: z.ZodOptional<z.ZodString>;
|
|
8
|
-
registrar: z.ZodOptional<z.ZodObject<{
|
|
9
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10
|
-
nameServers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
-
}, z.core.$strip>>;
|
|
12
|
-
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
13
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
14
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
15
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
18
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
19
|
-
nameserverRecord: z.ZodObject<{
|
|
20
|
-
nsRecord: z.ZodOptional<z.ZodObject<{
|
|
21
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
22
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
23
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
28
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
29
|
-
pointingRecords: z.ZodObject<{
|
|
30
|
-
aRecord: z.ZodOptional<z.ZodObject<{
|
|
31
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
32
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
cnameRecord: z.ZodOptional<z.ZodObject<{
|
|
36
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
37
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
value: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
43
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
44
|
-
subdomainRecords: z.ZodObject<{
|
|
45
|
-
cnameRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
47
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
value: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>>>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
}, z.core.$strip>]>>;
|
|
52
|
-
|
|
53
|
-
export { GetConnectedDomainSetupInfoRequest, GetConnectedDomainSetupInfoResponse };
|
package/build/cjs/schemas.js
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// schemas.ts
|
|
31
|
-
var schemas_exports = {};
|
|
32
|
-
__export(schemas_exports, {
|
|
33
|
-
GetConnectedDomainSetupInfoRequest: () => GetConnectedDomainSetupInfoRequest,
|
|
34
|
-
GetConnectedDomainSetupInfoResponse: () => GetConnectedDomainSetupInfoResponse
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(schemas_exports);
|
|
37
|
-
|
|
38
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.schemas.ts
|
|
39
|
-
var z = __toESM(require("zod"));
|
|
40
|
-
var GetConnectedDomainSetupInfoRequest = /* @__PURE__ */ z.object({
|
|
41
|
-
connectedDomainId: z.string().describe(
|
|
42
|
-
"ID of the connected domain to retrieve setup information for.\nIdentical to the domain name including TLD."
|
|
43
|
-
)
|
|
44
|
-
});
|
|
45
|
-
var GetConnectedDomainSetupInfoResponse = /* @__PURE__ */ z.intersection(
|
|
46
|
-
z.object({
|
|
47
|
-
connectedDomainId: z.string().describe(
|
|
48
|
-
"ID of the connected domain. Identical to the domain name including TLD."
|
|
49
|
-
).optional(),
|
|
50
|
-
registrar: z.object({
|
|
51
|
-
name: z.string().describe(
|
|
52
|
-
"Name of the external domain registrar. For subdomains it's the registrar of the root domain."
|
|
53
|
-
).optional().nullable(),
|
|
54
|
-
nameServers: z.array(z.string()).optional()
|
|
55
|
-
}).describe(
|
|
56
|
-
"Information about the external domain registrar including current name\nservers."
|
|
57
|
-
).optional()
|
|
58
|
-
}),
|
|
59
|
-
z.xor([
|
|
60
|
-
z.object({
|
|
61
|
-
nameserverRecord: z.never().optional(),
|
|
62
|
-
pointingRecords: z.never().optional(),
|
|
63
|
-
subdomainRecords: z.never().optional()
|
|
64
|
-
}),
|
|
65
|
-
z.object({
|
|
66
|
-
pointingRecords: z.never().optional(),
|
|
67
|
-
subdomainRecords: z.never().optional(),
|
|
68
|
-
nameserverRecord: z.object({
|
|
69
|
-
nsRecord: z.object({
|
|
70
|
-
hostName: z.string().describe(
|
|
71
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
72
|
-
).optional(),
|
|
73
|
-
ttl: z.number().int().describe(
|
|
74
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
75
|
-
).optional(),
|
|
76
|
-
values: z.array(z.string()).min(1).max(10).optional()
|
|
77
|
-
}).describe(
|
|
78
|
-
"Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS)."
|
|
79
|
-
).optional()
|
|
80
|
-
}).describe(
|
|
81
|
-
'Information about domains connected using nameservers. Available only for\n`{"connectionType": "NAMESERVERS"}`.'
|
|
82
|
-
)
|
|
83
|
-
}),
|
|
84
|
-
z.object({
|
|
85
|
-
nameserverRecord: z.never().optional(),
|
|
86
|
-
subdomainRecords: z.never().optional(),
|
|
87
|
-
pointingRecords: z.object({
|
|
88
|
-
aRecord: z.object({
|
|
89
|
-
hostName: z.string().describe(
|
|
90
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
91
|
-
).optional(),
|
|
92
|
-
ttl: z.number().int().describe(
|
|
93
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
94
|
-
).optional(),
|
|
95
|
-
values: z.array(z.string()).min(1).max(10).optional()
|
|
96
|
-
}).describe(
|
|
97
|
-
"[Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A)."
|
|
98
|
-
).optional(),
|
|
99
|
-
cnameRecord: z.object({
|
|
100
|
-
hostName: z.string().describe(
|
|
101
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
102
|
-
).optional(),
|
|
103
|
-
ttl: z.number().int().describe(
|
|
104
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
105
|
-
).optional(),
|
|
106
|
-
value: z.string().describe("DNS record value.").optional()
|
|
107
|
-
}).describe(
|
|
108
|
-
"[Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record)."
|
|
109
|
-
).optional()
|
|
110
|
-
}).describe(
|
|
111
|
-
'Information about domains connected by pointing. Available only for\n`{"connectionType": "POINTING"}`.'
|
|
112
|
-
)
|
|
113
|
-
}),
|
|
114
|
-
z.object({
|
|
115
|
-
nameserverRecord: z.never().optional(),
|
|
116
|
-
pointingRecords: z.never().optional(),
|
|
117
|
-
subdomainRecords: z.object({
|
|
118
|
-
cnameRecords: z.array(
|
|
119
|
-
z.object({
|
|
120
|
-
hostName: z.string().describe(
|
|
121
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
122
|
-
).optional(),
|
|
123
|
-
ttl: z.number().int().describe(
|
|
124
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
125
|
-
).optional(),
|
|
126
|
-
value: z.string().describe("DNS record value.").optional()
|
|
127
|
-
})
|
|
128
|
-
).max(2).optional()
|
|
129
|
-
}).describe(
|
|
130
|
-
"Information about subdomains. Available only for subdomains."
|
|
131
|
-
)
|
|
132
|
-
})
|
|
133
|
-
])
|
|
134
|
-
);
|
|
135
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
136
|
-
0 && (module.exports = {
|
|
137
|
-
GetConnectedDomainSetupInfoRequest,
|
|
138
|
-
GetConnectedDomainSetupInfoResponse
|
|
139
|
-
});
|
|
140
|
-
//# sourceMappingURL=schemas.js.map
|
package/build/cjs/schemas.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../schemas.ts","../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.schemas.ts"],"sourcesContent":["export * from './src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.schemas.js';\n","import * as z from 'zod';\n\nexport const GetConnectedDomainSetupInfoRequest = /*#__PURE__*/ z.object({\n connectedDomainId: z\n .string()\n .describe(\n 'ID of the connected domain to retrieve setup information for.\\nIdentical to the domain name including TLD.'\n ),\n});\nexport const GetConnectedDomainSetupInfoResponse = /*#__PURE__*/ z.intersection(\n z.object({\n connectedDomainId: z\n .string()\n .describe(\n 'ID of the connected domain. Identical to the domain name including TLD.'\n )\n .optional(),\n registrar: z\n .object({\n name: z\n .string()\n .describe(\n \"Name of the external domain registrar. For subdomains it's the registrar of the root domain.\"\n )\n .optional()\n .nullable(),\n nameServers: z.array(z.string()).optional(),\n })\n .describe(\n 'Information about the external domain registrar including current name\\nservers.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n nameserverRecord: z.never().optional(),\n pointingRecords: z.never().optional(),\n subdomainRecords: z.never().optional(),\n }),\n z.object({\n pointingRecords: z.never().optional(),\n subdomainRecords: z.never().optional(),\n nameserverRecord: z\n .object({\n nsRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n values: z.array(z.string()).min(1).max(10).optional(),\n })\n .describe(\n 'Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).'\n )\n .optional(),\n })\n .describe(\n 'Information about domains connected using nameservers. Available only for\\n`{\"connectionType\": \"NAMESERVERS\"}`.'\n ),\n }),\n z.object({\n nameserverRecord: z.never().optional(),\n subdomainRecords: z.never().optional(),\n pointingRecords: z\n .object({\n aRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n values: z.array(z.string()).min(1).max(10).optional(),\n })\n .describe(\n '[Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).'\n )\n .optional(),\n cnameRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n value: z.string().describe('DNS record value.').optional(),\n })\n .describe(\n '[Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).'\n )\n .optional(),\n })\n .describe(\n 'Information about domains connected by pointing. Available only for\\n`{\"connectionType\": \"POINTING\"}`.'\n ),\n }),\n z.object({\n nameserverRecord: z.never().optional(),\n pointingRecords: z.never().optional(),\n subdomainRecords: z\n .object({\n cnameRecords: z\n .array(\n z.object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n value: z.string().describe('DNS record value.').optional(),\n })\n )\n .max(2)\n .optional(),\n })\n .describe(\n 'Information about subdomains. Available only for subdomains.'\n ),\n }),\n ])\n);\n"],"mappings":"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","names":[]}
|
package/build/es/schemas.d.mts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetConnectedDomainSetupInfoRequest: z.ZodObject<{
|
|
4
|
-
connectedDomainId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
declare const GetConnectedDomainSetupInfoResponse: z.ZodIntersection<z.ZodObject<{
|
|
7
|
-
connectedDomainId: z.ZodOptional<z.ZodString>;
|
|
8
|
-
registrar: z.ZodOptional<z.ZodObject<{
|
|
9
|
-
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10
|
-
nameServers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
-
}, z.core.$strip>>;
|
|
12
|
-
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
13
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
14
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
15
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
18
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
19
|
-
nameserverRecord: z.ZodObject<{
|
|
20
|
-
nsRecord: z.ZodOptional<z.ZodObject<{
|
|
21
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
22
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
23
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
28
|
-
subdomainRecords: z.ZodOptional<z.ZodNever>;
|
|
29
|
-
pointingRecords: z.ZodObject<{
|
|
30
|
-
aRecord: z.ZodOptional<z.ZodObject<{
|
|
31
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
32
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
cnameRecord: z.ZodOptional<z.ZodObject<{
|
|
36
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
37
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
value: z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
nameserverRecord: z.ZodOptional<z.ZodNever>;
|
|
43
|
-
pointingRecords: z.ZodOptional<z.ZodNever>;
|
|
44
|
-
subdomainRecords: z.ZodObject<{
|
|
45
|
-
cnameRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
-
hostName: z.ZodOptional<z.ZodString>;
|
|
47
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
value: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>>>;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
}, z.core.$strip>]>>;
|
|
52
|
-
|
|
53
|
-
export { GetConnectedDomainSetupInfoRequest, GetConnectedDomainSetupInfoResponse };
|
package/build/es/schemas.mjs
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.schemas.ts
|
|
2
|
-
import * as z from "zod";
|
|
3
|
-
var GetConnectedDomainSetupInfoRequest = /* @__PURE__ */ z.object({
|
|
4
|
-
connectedDomainId: z.string().describe(
|
|
5
|
-
"ID of the connected domain to retrieve setup information for.\nIdentical to the domain name including TLD."
|
|
6
|
-
)
|
|
7
|
-
});
|
|
8
|
-
var GetConnectedDomainSetupInfoResponse = /* @__PURE__ */ z.intersection(
|
|
9
|
-
z.object({
|
|
10
|
-
connectedDomainId: z.string().describe(
|
|
11
|
-
"ID of the connected domain. Identical to the domain name including TLD."
|
|
12
|
-
).optional(),
|
|
13
|
-
registrar: z.object({
|
|
14
|
-
name: z.string().describe(
|
|
15
|
-
"Name of the external domain registrar. For subdomains it's the registrar of the root domain."
|
|
16
|
-
).optional().nullable(),
|
|
17
|
-
nameServers: z.array(z.string()).optional()
|
|
18
|
-
}).describe(
|
|
19
|
-
"Information about the external domain registrar including current name\nservers."
|
|
20
|
-
).optional()
|
|
21
|
-
}),
|
|
22
|
-
z.xor([
|
|
23
|
-
z.object({
|
|
24
|
-
nameserverRecord: z.never().optional(),
|
|
25
|
-
pointingRecords: z.never().optional(),
|
|
26
|
-
subdomainRecords: z.never().optional()
|
|
27
|
-
}),
|
|
28
|
-
z.object({
|
|
29
|
-
pointingRecords: z.never().optional(),
|
|
30
|
-
subdomainRecords: z.never().optional(),
|
|
31
|
-
nameserverRecord: z.object({
|
|
32
|
-
nsRecord: z.object({
|
|
33
|
-
hostName: z.string().describe(
|
|
34
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
35
|
-
).optional(),
|
|
36
|
-
ttl: z.number().int().describe(
|
|
37
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
38
|
-
).optional(),
|
|
39
|
-
values: z.array(z.string()).min(1).max(10).optional()
|
|
40
|
-
}).describe(
|
|
41
|
-
"Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS)."
|
|
42
|
-
).optional()
|
|
43
|
-
}).describe(
|
|
44
|
-
'Information about domains connected using nameservers. Available only for\n`{"connectionType": "NAMESERVERS"}`.'
|
|
45
|
-
)
|
|
46
|
-
}),
|
|
47
|
-
z.object({
|
|
48
|
-
nameserverRecord: z.never().optional(),
|
|
49
|
-
subdomainRecords: z.never().optional(),
|
|
50
|
-
pointingRecords: z.object({
|
|
51
|
-
aRecord: z.object({
|
|
52
|
-
hostName: z.string().describe(
|
|
53
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
54
|
-
).optional(),
|
|
55
|
-
ttl: z.number().int().describe(
|
|
56
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
57
|
-
).optional(),
|
|
58
|
-
values: z.array(z.string()).min(1).max(10).optional()
|
|
59
|
-
}).describe(
|
|
60
|
-
"[Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A)."
|
|
61
|
-
).optional(),
|
|
62
|
-
cnameRecord: z.object({
|
|
63
|
-
hostName: z.string().describe(
|
|
64
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
65
|
-
).optional(),
|
|
66
|
-
ttl: z.number().int().describe(
|
|
67
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
68
|
-
).optional(),
|
|
69
|
-
value: z.string().describe("DNS record value.").optional()
|
|
70
|
-
}).describe(
|
|
71
|
-
"[Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record)."
|
|
72
|
-
).optional()
|
|
73
|
-
}).describe(
|
|
74
|
-
'Information about domains connected by pointing. Available only for\n`{"connectionType": "POINTING"}`.'
|
|
75
|
-
)
|
|
76
|
-
}),
|
|
77
|
-
z.object({
|
|
78
|
-
nameserverRecord: z.never().optional(),
|
|
79
|
-
pointingRecords: z.never().optional(),
|
|
80
|
-
subdomainRecords: z.object({
|
|
81
|
-
cnameRecords: z.array(
|
|
82
|
-
z.object({
|
|
83
|
-
hostName: z.string().describe(
|
|
84
|
-
"Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain."
|
|
85
|
-
).optional(),
|
|
86
|
-
ttl: z.number().int().describe(
|
|
87
|
-
"[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds."
|
|
88
|
-
).optional(),
|
|
89
|
-
value: z.string().describe("DNS record value.").optional()
|
|
90
|
-
})
|
|
91
|
-
).max(2).optional()
|
|
92
|
-
}).describe(
|
|
93
|
-
"Information about subdomains. Available only for subdomains."
|
|
94
|
-
)
|
|
95
|
-
})
|
|
96
|
-
])
|
|
97
|
-
);
|
|
98
|
-
export {
|
|
99
|
-
GetConnectedDomainSetupInfoRequest,
|
|
100
|
-
GetConnectedDomainSetupInfoResponse
|
|
101
|
-
};
|
|
102
|
-
//# sourceMappingURL=schemas.mjs.map
|
package/build/es/schemas.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetConnectedDomainSetupInfoRequest = /*#__PURE__*/ z.object({\n connectedDomainId: z\n .string()\n .describe(\n 'ID of the connected domain to retrieve setup information for.\\nIdentical to the domain name including TLD.'\n ),\n});\nexport const GetConnectedDomainSetupInfoResponse = /*#__PURE__*/ z.intersection(\n z.object({\n connectedDomainId: z\n .string()\n .describe(\n 'ID of the connected domain. Identical to the domain name including TLD.'\n )\n .optional(),\n registrar: z\n .object({\n name: z\n .string()\n .describe(\n \"Name of the external domain registrar. For subdomains it's the registrar of the root domain.\"\n )\n .optional()\n .nullable(),\n nameServers: z.array(z.string()).optional(),\n })\n .describe(\n 'Information about the external domain registrar including current name\\nservers.'\n )\n .optional(),\n }),\n z.xor([\n z.object({\n nameserverRecord: z.never().optional(),\n pointingRecords: z.never().optional(),\n subdomainRecords: z.never().optional(),\n }),\n z.object({\n pointingRecords: z.never().optional(),\n subdomainRecords: z.never().optional(),\n nameserverRecord: z\n .object({\n nsRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n values: z.array(z.string()).min(1).max(10).optional(),\n })\n .describe(\n 'Default [nameserver record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#NS).'\n )\n .optional(),\n })\n .describe(\n 'Information about domains connected using nameservers. Available only for\\n`{\"connectionType\": \"NAMESERVERS\"}`.'\n ),\n }),\n z.object({\n nameserverRecord: z.never().optional(),\n subdomainRecords: z.never().optional(),\n pointingRecords: z\n .object({\n aRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n values: z.array(z.string()).min(1).max(10).optional(),\n })\n .describe(\n '[Address record](https://en.wikipedia.org/wiki/List_of_DNS_record_types#A).'\n )\n .optional(),\n cnameRecord: z\n .object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n value: z.string().describe('DNS record value.').optional(),\n })\n .describe(\n '[Canonical Name record](https://en.wikipedia.org/wiki/CNAME_record).'\n )\n .optional(),\n })\n .describe(\n 'Information about domains connected by pointing. Available only for\\n`{\"connectionType\": \"POINTING\"}`.'\n ),\n }),\n z.object({\n nameserverRecord: z.never().optional(),\n pointingRecords: z.never().optional(),\n subdomainRecords: z\n .object({\n cnameRecords: z\n .array(\n z.object({\n hostName: z\n .string()\n .describe(\n 'Domain host name. For example `domain.com` or `mail.domain.com`. Can be a subdomain.'\n )\n .optional(),\n ttl: z\n .number()\n .int()\n .describe(\n '[Time to live](https://en.wikipedia.org/wiki/Time_to_live) in seconds.'\n )\n .optional(),\n value: z.string().describe('DNS record value.').optional(),\n })\n )\n .max(2)\n .optional(),\n })\n .describe(\n 'Information about subdomains. Available only for subdomains.'\n ),\n }),\n ])\n);\n"],"mappings":"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","names":[]}
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// index.ts
|
|
21
|
-
var index_exports = {};
|
|
22
|
-
__export(index_exports, {
|
|
23
|
-
ConnectionType: () => ConnectionType,
|
|
24
|
-
getConnectedDomainSetupInfo: () => getConnectedDomainSetupInfo4
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(index_exports);
|
|
27
|
-
|
|
28
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts
|
|
29
|
-
var import_transform_error = require("@wix/sdk-runtime/transform-error");
|
|
30
|
-
var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
31
|
-
|
|
32
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.http.ts
|
|
33
|
-
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
34
|
-
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
35
|
-
function resolveComWixpressPremiumDomainConnectedConnectedDomainSetupInfoServiceUrl(opts) {
|
|
36
|
-
const domainToMappings = {
|
|
37
|
-
"www.wixapis.com": [
|
|
38
|
-
{
|
|
39
|
-
srcPath: "/domains/v1/connected-domains",
|
|
40
|
-
destPath: "/v1/connected-domains"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
srcPath: "/domains/v1/connected-domain-setup-info",
|
|
44
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
srcPath: "/v1/domain-setup-info",
|
|
48
|
-
destPath: "/v1/domain-setup-info"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
srcPath: "/premium/domains/v1/connected-domains",
|
|
52
|
-
destPath: "/v1/connected-domains"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
srcPath: "/premium/domains/v1/connected-domain-setup-info",
|
|
56
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"manage._base_domain_": [
|
|
60
|
-
{
|
|
61
|
-
srcPath: "/v1/connected-domains",
|
|
62
|
-
destPath: "/v1/connected-domains"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
srcPath: "/v1/connected-domain-setup-info",
|
|
66
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
srcPath: "/v1/domain-setup-info",
|
|
70
|
-
destPath: "/v1/domain-setup-info"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
srcPath: "/v1/mx-records",
|
|
74
|
-
destPath: "/v1/mx-records"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"www._base_domain_": [
|
|
78
|
-
{
|
|
79
|
-
srcPath: "/v1/connected-domains",
|
|
80
|
-
destPath: "/v1/connected-domains"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
srcPath: "/v1/connected-domain-setup-info",
|
|
84
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
srcPath: "/v1/domain-setup-info",
|
|
88
|
-
destPath: "/v1/domain-setup-info"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"premium._base_domain_": [
|
|
92
|
-
{
|
|
93
|
-
srcPath: "/v1/connected-domains",
|
|
94
|
-
destPath: "/v1/connected-domains"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
srcPath: "/v1/connected-domain-setup-info",
|
|
98
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
srcPath: "/v1/domain-setup-info",
|
|
102
|
-
destPath: "/v1/domain-setup-info"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"*.dev.wix-code.com": [
|
|
106
|
-
{
|
|
107
|
-
srcPath: "/premium/domains/v1/connected-domains",
|
|
108
|
-
destPath: "/v1/connected-domains"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
srcPath: "/premium/domains/v1/connected-domain-setup-info",
|
|
112
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
srcPath: "/domains/v1/connected-domain-setup-info",
|
|
116
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
srcPath: "/domains/v1/connected-domains",
|
|
120
|
-
destPath: "/v1/connected-domains"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
_: [
|
|
124
|
-
{
|
|
125
|
-
srcPath: "/premium/domains/v1/connected-domains",
|
|
126
|
-
destPath: "/v1/connected-domains"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
srcPath: "/premium/domains/v1/connected-domain-setup-info",
|
|
130
|
-
destPath: "/v1/connected-domain-setup-info"
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
};
|
|
134
|
-
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
135
|
-
}
|
|
136
|
-
var PACKAGE_NAME = "@wix/auto_sdk_domains_connected-domain-setup-info";
|
|
137
|
-
function getConnectedDomainSetupInfo(payload) {
|
|
138
|
-
function __getConnectedDomainSetupInfo({ host }) {
|
|
139
|
-
const metadata = {
|
|
140
|
-
entityFqdn: "wix.premium.domains.v1.connected_domain_setup_info",
|
|
141
|
-
method: "GET",
|
|
142
|
-
methodFqn: "com.wixpress.premium.domain.connected.ConnectedDomainSetupInfoService.GetConnectedDomainSetupInfo",
|
|
143
|
-
packageName: PACKAGE_NAME,
|
|
144
|
-
migrationOptions: {
|
|
145
|
-
optInTransformResponse: true
|
|
146
|
-
},
|
|
147
|
-
url: resolveComWixpressPremiumDomainConnectedConnectedDomainSetupInfoServiceUrl(
|
|
148
|
-
{
|
|
149
|
-
protoPath: "/v1/connected-domain-setup-info/{connectedDomainId}",
|
|
150
|
-
data: payload,
|
|
151
|
-
host
|
|
152
|
-
}
|
|
153
|
-
),
|
|
154
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
155
|
-
};
|
|
156
|
-
return metadata;
|
|
157
|
-
}
|
|
158
|
-
return __getConnectedDomainSetupInfo;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.universal.ts
|
|
162
|
-
var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
|
|
163
|
-
ConnectionType2["POINTING"] = "POINTING";
|
|
164
|
-
ConnectionType2["NAMESERVERS"] = "NAMESERVERS";
|
|
165
|
-
ConnectionType2["HIDDEN"] = "HIDDEN";
|
|
166
|
-
return ConnectionType2;
|
|
167
|
-
})(ConnectionType || {});
|
|
168
|
-
async function getConnectedDomainSetupInfo2(connectedDomainId) {
|
|
169
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
170
|
-
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
171
|
-
connectedDomainId
|
|
172
|
-
});
|
|
173
|
-
const reqOpts = getConnectedDomainSetupInfo(
|
|
174
|
-
payload
|
|
175
|
-
);
|
|
176
|
-
sideEffects?.onSiteCall?.();
|
|
177
|
-
try {
|
|
178
|
-
const result = await httpClient.request(reqOpts);
|
|
179
|
-
sideEffects?.onSuccess?.(result);
|
|
180
|
-
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.connectedDomainSetupInfo;
|
|
181
|
-
} catch (err) {
|
|
182
|
-
const transformedError = (0, import_transform_error.transformError)(
|
|
183
|
-
err,
|
|
184
|
-
{
|
|
185
|
-
spreadPathsToArguments: {},
|
|
186
|
-
explicitPathsToArguments: { connectedDomainId: "$[0]" },
|
|
187
|
-
singleArgumentUnchanged: false
|
|
188
|
-
},
|
|
189
|
-
["connectedDomainId"]
|
|
190
|
-
);
|
|
191
|
-
sideEffects?.onError?.(err);
|
|
192
|
-
throw transformedError;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.public.ts
|
|
197
|
-
function getConnectedDomainSetupInfo3(httpClient) {
|
|
198
|
-
return (connectedDomainId) => getConnectedDomainSetupInfo2(
|
|
199
|
-
connectedDomainId,
|
|
200
|
-
// @ts-ignore
|
|
201
|
-
{ httpClient }
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// src/premium-domains-v1-connected-domain-setup-info-connected-domain-setup-info.context.ts
|
|
206
|
-
var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
207
|
-
var getConnectedDomainSetupInfo4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getConnectedDomainSetupInfo3);
|
|
208
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
209
|
-
0 && (module.exports = {
|
|
210
|
-
ConnectionType,
|
|
211
|
-
getConnectedDomainSetupInfo
|
|
212
|
-
});
|
|
213
|
-
//# sourceMappingURL=index.js.map
|