@wix/auto_sdk_seo_redirects 1.0.0
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/index.d.ts +159 -0
- package/build/cjs/index.js +524 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +787 -0
- package/build/cjs/index.typings.js +443 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +573 -0
- package/build/cjs/meta.js +394 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +140 -0
- package/build/cjs/schemas.js +322 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +159 -0
- package/build/es/index.mjs +492 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +787 -0
- package/build/es/index.typings.mjs +412 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +573 -0
- package/build/es/meta.mjs +360 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +140 -0
- package/build/es/schemas.mjs +274 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +159 -0
- package/build/internal/cjs/index.js +524 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +807 -0
- package/build/internal/cjs/index.typings.js +443 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +635 -0
- package/build/internal/cjs/meta.js +394 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +140 -0
- package/build/internal/cjs/schemas.js +322 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +159 -0
- package/build/internal/es/index.mjs +492 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +807 -0
- package/build/internal/es/index.typings.mjs +412 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +635 -0
- package/build/internal/es/meta.mjs +360 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +140 -0
- package/build/internal/es/schemas.mjs +274 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
// src/promote-seo-v1-redirect-redirects.schemas.ts
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
var BulkDeleteRedirectsRequest = /* @__PURE__ */ z.object({
|
|
4
|
+
redirectIds: z.array(z.string()).min(1).max(500)
|
|
5
|
+
});
|
|
6
|
+
var BulkDeleteRedirectsResponse = /* @__PURE__ */ z.object({
|
|
7
|
+
results: z.array(
|
|
8
|
+
z.object({
|
|
9
|
+
itemMetadata: z.object({
|
|
10
|
+
_id: z.string().describe(
|
|
11
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
12
|
+
).max(100).optional().nullable(),
|
|
13
|
+
originalIndex: z.number().int().describe(
|
|
14
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
15
|
+
).optional(),
|
|
16
|
+
success: z.boolean().describe(
|
|
17
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
18
|
+
).optional(),
|
|
19
|
+
error: z.object({
|
|
20
|
+
code: z.string().describe("Error code.").optional(),
|
|
21
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
22
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
23
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
24
|
+
}).describe("Index, id and success/error details for this item").optional(),
|
|
25
|
+
item: z.object({
|
|
26
|
+
from: z.string().describe(
|
|
27
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
28
|
+
).max(950).optional(),
|
|
29
|
+
to: z.string().describe(
|
|
30
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
31
|
+
).max(4096).optional(),
|
|
32
|
+
options: z.object({
|
|
33
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
34
|
+
}).describe("additional options for the redirect").optional(),
|
|
35
|
+
language: z.string().describe(
|
|
36
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
37
|
+
).min(2).max(5).optional().nullable(),
|
|
38
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
39
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
40
|
+
"Must be a valid GUID"
|
|
41
|
+
).optional().nullable(),
|
|
42
|
+
_createdDate: z.date().describe(
|
|
43
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
44
|
+
).optional().nullable()
|
|
45
|
+
}).describe(
|
|
46
|
+
"The created redirect. Only populated when return_full_entity is true"
|
|
47
|
+
).optional()
|
|
48
|
+
})
|
|
49
|
+
).max(500).optional(),
|
|
50
|
+
bulkActionMetadata: z.object({
|
|
51
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
52
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
53
|
+
undetailedFailures: z.number().int().describe(
|
|
54
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
55
|
+
).optional()
|
|
56
|
+
}).describe(
|
|
57
|
+
"Totals for the bulk action: successes, failures and undetailed failures"
|
|
58
|
+
).optional()
|
|
59
|
+
});
|
|
60
|
+
var ListRedirectsRequest = /* @__PURE__ */ z.object({});
|
|
61
|
+
var ListRedirectsResponse = /* @__PURE__ */ z.object({
|
|
62
|
+
redirects: z.array(
|
|
63
|
+
z.object({
|
|
64
|
+
from: z.string().describe(
|
|
65
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
66
|
+
).max(950).optional(),
|
|
67
|
+
to: z.string().describe(
|
|
68
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
69
|
+
).max(4096).optional(),
|
|
70
|
+
options: z.object({
|
|
71
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
72
|
+
}).describe("additional options for the redirect").optional(),
|
|
73
|
+
language: z.string().describe(
|
|
74
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
75
|
+
).min(2).max(5).optional().nullable(),
|
|
76
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
77
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
78
|
+
"Must be a valid GUID"
|
|
79
|
+
).optional().nullable(),
|
|
80
|
+
_createdDate: z.date().describe(
|
|
81
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
82
|
+
).optional().nullable()
|
|
83
|
+
})
|
|
84
|
+
).optional()
|
|
85
|
+
});
|
|
86
|
+
var GetRedirectRequest = /* @__PURE__ */ z.object({
|
|
87
|
+
redirectId: z.string().describe("Unique identifier of the redirect to retrieve").regex(
|
|
88
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
89
|
+
"Must be a valid GUID"
|
|
90
|
+
)
|
|
91
|
+
});
|
|
92
|
+
var GetRedirectResponse = /* @__PURE__ */ z.object({
|
|
93
|
+
from: z.string().describe(
|
|
94
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
95
|
+
).max(950).optional(),
|
|
96
|
+
to: z.string().describe(
|
|
97
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
98
|
+
).max(4096).optional(),
|
|
99
|
+
options: z.object({
|
|
100
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
101
|
+
}).describe("additional options for the redirect").optional(),
|
|
102
|
+
language: z.string().describe(
|
|
103
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
104
|
+
).min(2).max(5).optional().nullable(),
|
|
105
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
106
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
107
|
+
"Must be a valid GUID"
|
|
108
|
+
).optional().nullable(),
|
|
109
|
+
_createdDate: z.date().describe(
|
|
110
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
111
|
+
).optional().nullable()
|
|
112
|
+
});
|
|
113
|
+
var BulkCreateRedirectsRequest = /* @__PURE__ */ z.object({
|
|
114
|
+
redirects: z.array(
|
|
115
|
+
z.object({
|
|
116
|
+
from: z.string().describe(
|
|
117
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
118
|
+
).max(950).optional(),
|
|
119
|
+
to: z.string().describe(
|
|
120
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
121
|
+
).max(4096).optional(),
|
|
122
|
+
options: z.object({
|
|
123
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
124
|
+
}).describe("additional options for the redirect").optional(),
|
|
125
|
+
language: z.string().describe(
|
|
126
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
127
|
+
).min(2).max(5).optional().nullable(),
|
|
128
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
129
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
130
|
+
"Must be a valid GUID"
|
|
131
|
+
).optional().nullable(),
|
|
132
|
+
_createdDate: z.date().describe(
|
|
133
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
134
|
+
).optional().nullable()
|
|
135
|
+
})
|
|
136
|
+
).min(1).max(500),
|
|
137
|
+
options: z.object({
|
|
138
|
+
returnFullEntity: z.boolean().describe(
|
|
139
|
+
"Set to true to return the created redirects, not just their metadata"
|
|
140
|
+
).optional(),
|
|
141
|
+
options: z.object({
|
|
142
|
+
forceReplace: z.boolean().describe(
|
|
143
|
+
"set to true to replace a conflicting redirect's from-url instead of failing that item"
|
|
144
|
+
).optional()
|
|
145
|
+
}).describe("Extra options for creating redirects in bulk").optional()
|
|
146
|
+
}).optional()
|
|
147
|
+
});
|
|
148
|
+
var BulkCreateRedirectsResponse = /* @__PURE__ */ z.object({
|
|
149
|
+
results: z.array(
|
|
150
|
+
z.object({
|
|
151
|
+
itemMetadata: z.object({
|
|
152
|
+
_id: z.string().describe(
|
|
153
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
154
|
+
).max(100).optional().nullable(),
|
|
155
|
+
originalIndex: z.number().int().describe(
|
|
156
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
157
|
+
).optional(),
|
|
158
|
+
success: z.boolean().describe(
|
|
159
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
160
|
+
).optional(),
|
|
161
|
+
error: z.object({
|
|
162
|
+
code: z.string().describe("Error code.").optional(),
|
|
163
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
164
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
165
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
166
|
+
}).describe("Index, id and success/error details for this item").optional(),
|
|
167
|
+
item: z.object({
|
|
168
|
+
from: z.string().describe(
|
|
169
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
170
|
+
).max(950).optional(),
|
|
171
|
+
to: z.string().describe(
|
|
172
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
173
|
+
).max(4096).optional(),
|
|
174
|
+
options: z.object({
|
|
175
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
176
|
+
}).describe("additional options for the redirect").optional(),
|
|
177
|
+
language: z.string().describe(
|
|
178
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
179
|
+
).min(2).max(5).optional().nullable(),
|
|
180
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
181
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
182
|
+
"Must be a valid GUID"
|
|
183
|
+
).optional().nullable(),
|
|
184
|
+
_createdDate: z.date().describe(
|
|
185
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
186
|
+
).optional().nullable()
|
|
187
|
+
}).describe(
|
|
188
|
+
"The created redirect. Only populated when return_full_entity is true"
|
|
189
|
+
).optional()
|
|
190
|
+
})
|
|
191
|
+
).max(500).optional(),
|
|
192
|
+
bulkActionMetadata: z.object({
|
|
193
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
194
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
195
|
+
undetailedFailures: z.number().int().describe(
|
|
196
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
197
|
+
).optional()
|
|
198
|
+
}).describe(
|
|
199
|
+
"Totals for the bulk action: successes, failures and undetailed failures"
|
|
200
|
+
).optional()
|
|
201
|
+
});
|
|
202
|
+
var CreateRedirectRequest = /* @__PURE__ */ z.object({
|
|
203
|
+
redirect: z.object({
|
|
204
|
+
from: z.string().describe(
|
|
205
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
206
|
+
).max(950).optional(),
|
|
207
|
+
to: z.string().describe(
|
|
208
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
209
|
+
).max(4096).optional(),
|
|
210
|
+
options: z.object({
|
|
211
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
212
|
+
}).describe("additional options for the redirect").optional(),
|
|
213
|
+
language: z.string().describe(
|
|
214
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
215
|
+
).min(2).max(5).optional().nullable(),
|
|
216
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
217
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
218
|
+
"Must be a valid GUID"
|
|
219
|
+
).optional().nullable(),
|
|
220
|
+
_createdDate: z.date().describe(
|
|
221
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
222
|
+
).optional().nullable()
|
|
223
|
+
}).describe("The redirect to create"),
|
|
224
|
+
options: z.object({
|
|
225
|
+
options: z.object({
|
|
226
|
+
forceReplace: z.boolean().describe(
|
|
227
|
+
"set to true when need to replace a conflicting redirect's from-url (if it exists)"
|
|
228
|
+
).optional()
|
|
229
|
+
}).describe("Extra options for creating a redirect").optional()
|
|
230
|
+
}).optional()
|
|
231
|
+
});
|
|
232
|
+
var CreateRedirectResponse = /* @__PURE__ */ z.object({
|
|
233
|
+
from: z.string().describe(
|
|
234
|
+
"The path that is intercepted from. Accepts only an encoded string.\n\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\nalready begun writing.\n\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\nrejection into the gateway and change the error payload of the deprecated Add* endpoints."
|
|
235
|
+
).max(950).optional(),
|
|
236
|
+
to: z.string().describe(
|
|
237
|
+
"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\n\nCapped at 4096 to match the Redirector's own `target`."
|
|
238
|
+
).max(4096).optional(),
|
|
239
|
+
options: z.object({
|
|
240
|
+
groupRedirect: z.boolean().describe("set to true for group redirects").optional()
|
|
241
|
+
}).describe("additional options for the redirect").optional(),
|
|
242
|
+
language: z.string().describe(
|
|
243
|
+
"When provided, defines a language specific redirect. Otherwise, defines a general redirect."
|
|
244
|
+
).min(2).max(5).optional().nullable(),
|
|
245
|
+
_id: z.string().describe("Unique identifier for the redirect").regex(
|
|
246
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
247
|
+
"Must be a valid GUID"
|
|
248
|
+
).optional().nullable(),
|
|
249
|
+
_createdDate: z.date().describe(
|
|
250
|
+
"Date the redirect was created. Sourced from the Redirector's `date_created`."
|
|
251
|
+
).optional().nullable()
|
|
252
|
+
});
|
|
253
|
+
var DeleteRedirectRequest = /* @__PURE__ */ z.object({
|
|
254
|
+
redirectId: z.string().describe("Unique identifier of the redirect to delete").regex(
|
|
255
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
256
|
+
"Must be a valid GUID"
|
|
257
|
+
)
|
|
258
|
+
});
|
|
259
|
+
var DeleteRedirectResponse = /* @__PURE__ */ z.object({});
|
|
260
|
+
export {
|
|
261
|
+
BulkCreateRedirectsRequest,
|
|
262
|
+
BulkCreateRedirectsResponse,
|
|
263
|
+
BulkDeleteRedirectsRequest,
|
|
264
|
+
BulkDeleteRedirectsResponse,
|
|
265
|
+
CreateRedirectRequest,
|
|
266
|
+
CreateRedirectResponse,
|
|
267
|
+
DeleteRedirectRequest,
|
|
268
|
+
DeleteRedirectResponse,
|
|
269
|
+
GetRedirectRequest,
|
|
270
|
+
GetRedirectResponse,
|
|
271
|
+
ListRedirectsRequest,
|
|
272
|
+
ListRedirectsResponse
|
|
273
|
+
};
|
|
274
|
+
//# sourceMappingURL=schemas.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/promote-seo-v1-redirect-redirects.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const BulkDeleteRedirectsRequest = /*#__PURE__*/ z.object({\n redirectIds: z.array(z.string()).min(1).max(500),\n});\nexport const BulkDeleteRedirectsResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .max(100)\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Index, id and success/error details for this item')\n .optional(),\n item: z\n .object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'The created redirect. Only populated when return_full_entity is true'\n )\n .optional(),\n })\n )\n .max(500)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Totals for the bulk action: successes, failures and undetailed failures'\n )\n .optional(),\n});\nexport const ListRedirectsRequest = /*#__PURE__*/ z.object({});\nexport const ListRedirectsResponse = /*#__PURE__*/ z.object({\n redirects: z\n .array(\n z.object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n })\n )\n .optional(),\n});\nexport const GetRedirectRequest = /*#__PURE__*/ z.object({\n redirectId: z\n .string()\n .describe('Unique identifier of the redirect to retrieve')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const GetRedirectResponse = /*#__PURE__*/ z.object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n});\nexport const BulkCreateRedirectsRequest = /*#__PURE__*/ z.object({\n redirects: z\n .array(\n z.object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n })\n )\n .min(1)\n .max(500),\n options: z\n .object({\n returnFullEntity: z\n .boolean()\n .describe(\n 'Set to true to return the created redirects, not just their metadata'\n )\n .optional(),\n options: z\n .object({\n forceReplace: z\n .boolean()\n .describe(\n \"set to true to replace a conflicting redirect's from-url instead of failing that item\"\n )\n .optional(),\n })\n .describe('Extra options for creating redirects in bulk')\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateRedirectsResponse = /*#__PURE__*/ z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .max(100)\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Index, id and success/error details for this item')\n .optional(),\n item: z\n .object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n })\n .describe(\n 'The created redirect. Only populated when return_full_entity is true'\n )\n .optional(),\n })\n )\n .max(500)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe(\n 'Totals for the bulk action: successes, failures and undetailed failures'\n )\n .optional(),\n});\nexport const CreateRedirectRequest = /*#__PURE__*/ z.object({\n redirect: z\n .object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n })\n .describe('The redirect to create'),\n options: z\n .object({\n options: z\n .object({\n forceReplace: z\n .boolean()\n .describe(\n \"set to true when need to replace a conflicting redirect's from-url (if it exists)\"\n )\n .optional(),\n })\n .describe('Extra options for creating a redirect')\n .optional(),\n })\n .optional(),\n});\nexport const CreateRedirectResponse = /*#__PURE__*/ z.object({\n from: z\n .string()\n .describe(\n \"The path that is intercepted from. Accepts only an encoded string.\\n\\nCapped at 950 to match the Redirector's own `from_path`, which is where this ends up. Without\\nthe cap an over-long path is accepted here and only rejected downstream, after this service has\\nalready begun writing.\\n\\nNo `minLength`: the service rejects an empty path itself, and adding one here would move that\\nrejection into the gateway and change the error payload of the deprecated Add* endpoints.\"\n )\n .max(950)\n .optional(),\n to: z\n .string()\n .describe(\n \"The path that is going to be resolved to. Either a path on the site or a full URL, encoded.\\n\\nCapped at 4096 to match the Redirector's own `target`.\"\n )\n .max(4096)\n .optional(),\n options: z\n .object({\n groupRedirect: z\n .boolean()\n .describe('set to true for group redirects')\n .optional(),\n })\n .describe('additional options for the redirect')\n .optional(),\n language: z\n .string()\n .describe(\n 'When provided, defines a language specific redirect. Otherwise, defines a general redirect.'\n )\n .min(2)\n .max(5)\n .optional()\n .nullable(),\n _id: z\n .string()\n .describe('Unique identifier for the redirect')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe(\n \"Date the redirect was created. Sourced from the Redirector's `date_created`.\"\n )\n .optional()\n .nullable(),\n});\nexport const DeleteRedirectRequest = /*#__PURE__*/ z.object({\n redirectId: z\n .string()\n .describe('Unique identifier of the redirect to delete')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteRedirectResponse = /*#__PURE__*/ z.object({});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,6BAA2C,gBAAE,SAAO;AAAA,EAC/D,aAAe,QAAQ,SAAO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C,EAC7C;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,wBAAwB;AAAA,EACpC,SACG,SAAO;AAAA,IACN,SACG,SAAO;AAAA,MACN,cACG,UAAQ,EACR;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,IACd,CAAC,EACA,SAAS,uCAAuC,EAChD,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,yBAAuC,gBAAE,SAAO;AAAA,EAC3D,MACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,GAAG,EACP,SAAS;AAAA,EACZ,IACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,IAAI,EACR,SAAS;AAAA,EACZ,SACG,SAAO;AAAA,IACN,eACG,UAAQ,EACR,SAAS,iCAAiC,EAC1C,SAAS;AAAA,EACd,CAAC,EACA,SAAS,qCAAqC,EAC9C,SAAS;AAAA,EACZ,UACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,CAAC,EACL,IAAI,CAAC,EACL,SAAS,EACT,SAAS;AAAA,EACZ,KACG,SAAO,EACP,SAAS,oCAAoC,EAC7C;AAAA,IACC;AAAA,IACA;AAAA,EACF,EACC,SAAS,EACT,SAAS;AAAA,EACZ,cACG,OAAK,EACL;AAAA,IACC;AAAA,EACF,EACC,SAAS,EACT,SAAS;AACd,CAAC;AACM,IAAM,wBAAsC,gBAAE,SAAO;AAAA,EAC1D,YACG,SAAO,EACP,SAAS,6CAA6C,EACtD;AAAA,IACC;AAAA,IACA;AAAA,EACF;AACJ,CAAC;AACM,IAAM,yBAAuC,gBAAE,SAAO,CAAC,CAAC;","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/auto_sdk_seo_redirects",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"main": "./build/cjs/index.js",
|
|
12
|
+
"types": "./build/cjs/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./build/es/index.mjs",
|
|
16
|
+
"require": "./build/cjs/index.js",
|
|
17
|
+
"types": "./build/es/index.d.mts"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json",
|
|
20
|
+
"./meta": {
|
|
21
|
+
"import": "./build/es/meta.mjs",
|
|
22
|
+
"require": "./build/cjs/meta.js",
|
|
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
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"build",
|
|
33
|
+
"meta",
|
|
34
|
+
"service-plugins",
|
|
35
|
+
"schemas"
|
|
36
|
+
],
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@wix/sdk-runtime": "^1.0.19",
|
|
39
|
+
"@wix/sdk-types": "^1.17.11",
|
|
40
|
+
"zod": "^4.3.6"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"tsup": "^8.4.0",
|
|
44
|
+
"typescript": "^5.3.2"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsup",
|
|
48
|
+
"test": ":"
|
|
49
|
+
},
|
|
50
|
+
"wix": {
|
|
51
|
+
"artifact": {
|
|
52
|
+
"artifactId": "auto-sdk-seo-redirects",
|
|
53
|
+
"groupId": "com.wixpress.public-sdk-dependencies"
|
|
54
|
+
},
|
|
55
|
+
"sdkDependency": {
|
|
56
|
+
"fqdnNamespace": "redirects",
|
|
57
|
+
"fqdn": "wix.promote.seo.v1.redirect"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"falconPackageHash": "7f9b0b9aab6900f8afcbf9946ccc245525b4f0fddf90979268dc8d16"
|
|
61
|
+
}
|