@wix/auto_sdk_dynamic-page-router_pages 1.0.2 → 1.0.3

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.
Files changed (38) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +7 -0
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +7 -0
  5. package/build/es/index.mjs.map +1 -1
  6. package/build/es/index.typings.d.mts +7 -0
  7. package/build/es/index.typings.mjs.map +1 -1
  8. package/build/es/meta.d.mts +7 -0
  9. package/build/internal/cjs/index.typings.d.ts +7 -0
  10. package/build/internal/cjs/meta.d.ts +7 -0
  11. package/build/internal/es/index.typings.d.mts +7 -0
  12. package/build/internal/es/meta.d.mts +7 -0
  13. package/package.json +4 -11
  14. package/build/cjs/schemas.d.ts +0 -219
  15. package/build/cjs/schemas.js +0 -493
  16. package/build/cjs/schemas.js.map +0 -1
  17. package/build/es/schemas.d.mts +0 -219
  18. package/build/es/schemas.mjs +0 -447
  19. package/build/es/schemas.mjs.map +0 -1
  20. package/build/internal/cjs/index.js +0 -517
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -472
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -387
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.d.ts +0 -219
  27. package/build/internal/cjs/schemas.js +0 -493
  28. package/build/internal/cjs/schemas.js.map +0 -1
  29. package/build/internal/es/index.mjs +0 -489
  30. package/build/internal/es/index.mjs.map +0 -1
  31. package/build/internal/es/index.typings.mjs +0 -444
  32. package/build/internal/es/index.typings.mjs.map +0 -1
  33. package/build/internal/es/meta.mjs +0 -356
  34. package/build/internal/es/meta.mjs.map +0 -1
  35. package/build/internal/es/schemas.d.mts +0 -219
  36. package/build/internal/es/schemas.mjs +0 -447
  37. package/build/internal/es/schemas.mjs.map +0 -1
  38. package/schemas/package.json +0 -3
@@ -1,356 +0,0 @@
1
- // src/dynamic-page-router-v1-page-pages.http.ts
2
- import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
- import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
4
- import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
5
- import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
6
- function resolveWixDynamicPageRouterV1DynamicPageRouterUrl(opts) {
7
- const domainToMappings = {
8
- "editor._base_domain_": [
9
- {
10
- srcPath: "/_api/dynamic-pages-router",
11
- destPath: ""
12
- },
13
- {
14
- srcPath: "/_api/dynamic-page-router",
15
- destPath: ""
16
- }
17
- ],
18
- "blocks._base_domain_": [
19
- {
20
- srcPath: "/_api/dynamic-pages-router",
21
- destPath: ""
22
- },
23
- {
24
- srcPath: "/_api/dynamic-page-router",
25
- destPath: ""
26
- }
27
- ],
28
- "create.editorx": [
29
- {
30
- srcPath: "/_api/dynamic-pages-router",
31
- destPath: ""
32
- },
33
- {
34
- srcPath: "/_api/dynamic-page-router",
35
- destPath: ""
36
- }
37
- ],
38
- _: [
39
- {
40
- srcPath: "/_api/dynamic-pages-router",
41
- destPath: ""
42
- },
43
- {
44
- srcPath: "/_api/dynamic-page-router",
45
- destPath: ""
46
- }
47
- ],
48
- "dev._base_domain_": [
49
- {
50
- srcPath: "/_api/dynamic-pages-router",
51
- destPath: ""
52
- },
53
- {
54
- srcPath: "/_api/dynamic-page-router",
55
- destPath: ""
56
- }
57
- ],
58
- "api._api_base_domain_": [
59
- {
60
- srcPath: "/dynamic-pages-router",
61
- destPath: ""
62
- },
63
- {
64
- srcPath: "/dynamic-page-router",
65
- destPath: ""
66
- }
67
- ],
68
- "www._base_domain_": [
69
- {
70
- srcPath: "/_api/dynamic-pages-router",
71
- destPath: ""
72
- },
73
- {
74
- srcPath: "/_api/dynamic-page-router",
75
- destPath: ""
76
- }
77
- ],
78
- "bo._base_domain_": [
79
- {
80
- srcPath: "/_api/dynamic-pages-router",
81
- destPath: ""
82
- },
83
- {
84
- srcPath: "/_api/dynamic-page-router",
85
- destPath: ""
86
- }
87
- ],
88
- "wixbo.ai": [
89
- {
90
- srcPath: "/_api/dynamic-pages-router",
91
- destPath: ""
92
- },
93
- {
94
- srcPath: "/_api/dynamic-page-router",
95
- destPath: ""
96
- }
97
- ],
98
- "wix-bo.com": [
99
- {
100
- srcPath: "/_api/dynamic-pages-router",
101
- destPath: ""
102
- },
103
- {
104
- srcPath: "/_api/dynamic-page-router",
105
- destPath: ""
106
- }
107
- ],
108
- "manage._base_domain_": [
109
- {
110
- srcPath: "/_api/dynamic-page-router",
111
- destPath: ""
112
- }
113
- ],
114
- "www.wixapis.com": [
115
- {
116
- srcPath: "/dynamic-page-router/v1/pages",
117
- destPath: "/v1/pages"
118
- },
119
- {
120
- srcPath: "/dynamic-page-router/v1/sitemap",
121
- destPath: "/v1/sitemap"
122
- },
123
- {
124
- srcPath: "/dynamic-page-router/v1/draft-preview-token",
125
- destPath: "/v1/draft-preview-token"
126
- }
127
- ],
128
- "*.dev.wix-code.com": [
129
- {
130
- srcPath: "/dynamic-page-router/v1/pages",
131
- destPath: "/v1/pages"
132
- },
133
- {
134
- srcPath: "/dynamic-page-router/v1/sitemap",
135
- destPath: "/v1/sitemap"
136
- },
137
- {
138
- srcPath: "/dynamic-page-router/v1/draft-preview-token",
139
- destPath: "/v1/draft-preview-token"
140
- }
141
- ]
142
- };
143
- return resolveUrl(Object.assign(opts, { domainToMappings }));
144
- }
145
- var PACKAGE_NAME = "@wix/auto_sdk_dynamic-page-router_pages";
146
- function getRouterSitemapCount(payload) {
147
- function __getRouterSitemapCount({ host }) {
148
- const metadata = {
149
- entityFqdn: "wix.dynamic_page_router.v1.page",
150
- method: "POST",
151
- methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemapCount",
152
- packageName: PACKAGE_NAME,
153
- migrationOptions: {
154
- optInTransformResponse: true
155
- },
156
- url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
157
- protoPath: "/v1/sitemapCount",
158
- data: payload,
159
- host
160
- }),
161
- data: payload
162
- };
163
- return metadata;
164
- }
165
- return __getRouterSitemapCount;
166
- }
167
- function getRouterSitemap(payload) {
168
- function __getRouterSitemap({ host }) {
169
- const metadata = {
170
- entityFqdn: "wix.dynamic_page_router.v1.page",
171
- method: "POST",
172
- methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemap",
173
- packageName: PACKAGE_NAME,
174
- migrationOptions: {
175
- optInTransformResponse: true
176
- },
177
- url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
178
- protoPath: "/v1/sitemap",
179
- data: payload,
180
- host
181
- }),
182
- data: payload,
183
- transformResponse: (payload2) => transformPaths(payload2, [
184
- {
185
- transformFn: transformRESTFloatToSDKFloat,
186
- paths: [{ path: "result.priority" }]
187
- }
188
- ])
189
- };
190
- return metadata;
191
- }
192
- return __getRouterSitemap;
193
- }
194
- function getRouterPages(payload) {
195
- function __getRouterPages({ host }) {
196
- const metadata = {
197
- entityFqdn: "wix.dynamic_page_router.v1.page",
198
- method: "POST",
199
- methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPages",
200
- packageName: PACKAGE_NAME,
201
- migrationOptions: {
202
- optInTransformResponse: true
203
- },
204
- url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
205
- protoPath: "/v1/pages",
206
- data: payload,
207
- host
208
- }),
209
- data: payload
210
- };
211
- return metadata;
212
- }
213
- return __getRouterPages;
214
- }
215
- function getRouterPagesCached(payload) {
216
- function __getRouterPagesCached({ host }) {
217
- const metadata = {
218
- entityFqdn: "wix.dynamic_page_router.v1.page",
219
- method: "GET",
220
- methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPagesCached",
221
- packageName: PACKAGE_NAME,
222
- migrationOptions: {
223
- optInTransformResponse: true
224
- },
225
- url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
226
- protoPath: "/v1/pages",
227
- data: payload,
228
- host
229
- }),
230
- params: toURLSearchParams(payload, true)
231
- };
232
- return metadata;
233
- }
234
- return __getRouterPagesCached;
235
- }
236
- function getDraftPreviewToken(payload) {
237
- function __getDraftPreviewToken({ host }) {
238
- const metadata = {
239
- entityFqdn: "wix.dynamic_page_router.v1.page",
240
- method: "POST",
241
- methodFqn: "wix.dynamic_page_router.v1.DynamicPageRouter.GetDraftPreviewToken",
242
- packageName: PACKAGE_NAME,
243
- migrationOptions: {
244
- optInTransformResponse: true
245
- },
246
- url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({
247
- protoPath: "/v1/draft-preview-token",
248
- data: payload,
249
- host
250
- }),
251
- data: payload
252
- };
253
- return metadata;
254
- }
255
- return __getDraftPreviewToken;
256
- }
257
-
258
- // src/dynamic-page-router-v1-page-pages.meta.ts
259
- function getRouterSitemapCount2() {
260
- const payload = {};
261
- const getRequestOptions = getRouterSitemapCount(payload);
262
- const getUrl = (context) => {
263
- const { url } = getRequestOptions(context);
264
- return url;
265
- };
266
- return {
267
- getUrl,
268
- httpMethod: "POST",
269
- path: "/v1/sitemapCount",
270
- pathParams: {},
271
- __requestType: null,
272
- __originalRequestType: null,
273
- __responseType: null,
274
- __originalResponseType: null
275
- };
276
- }
277
- function getRouterSitemap2() {
278
- const payload = {};
279
- const getRequestOptions = getRouterSitemap(payload);
280
- const getUrl = (context) => {
281
- const { url } = getRequestOptions(context);
282
- return url;
283
- };
284
- return {
285
- getUrl,
286
- httpMethod: "POST",
287
- path: "/v1/sitemap",
288
- pathParams: {},
289
- __requestType: null,
290
- __originalRequestType: null,
291
- __responseType: null,
292
- __originalResponseType: null
293
- };
294
- }
295
- function getRouterPages2() {
296
- const payload = {};
297
- const getRequestOptions = getRouterPages(payload);
298
- const getUrl = (context) => {
299
- const { url } = getRequestOptions(context);
300
- return url;
301
- };
302
- return {
303
- getUrl,
304
- httpMethod: "POST",
305
- path: "/v1/pages",
306
- pathParams: {},
307
- __requestType: null,
308
- __originalRequestType: null,
309
- __responseType: null,
310
- __originalResponseType: null
311
- };
312
- }
313
- function getRouterPagesCached2() {
314
- const payload = {};
315
- const getRequestOptions = getRouterPagesCached(payload);
316
- const getUrl = (context) => {
317
- const { url } = getRequestOptions(context);
318
- return url;
319
- };
320
- return {
321
- getUrl,
322
- httpMethod: "GET",
323
- path: "/v1/pages",
324
- pathParams: {},
325
- __requestType: null,
326
- __originalRequestType: null,
327
- __responseType: null,
328
- __originalResponseType: null
329
- };
330
- }
331
- function getDraftPreviewToken2() {
332
- const payload = {};
333
- const getRequestOptions = getDraftPreviewToken(payload);
334
- const getUrl = (context) => {
335
- const { url } = getRequestOptions(context);
336
- return url;
337
- };
338
- return {
339
- getUrl,
340
- httpMethod: "POST",
341
- path: "/v1/draft-preview-token",
342
- pathParams: {},
343
- __requestType: null,
344
- __originalRequestType: null,
345
- __responseType: null,
346
- __originalResponseType: null
347
- };
348
- }
349
- export {
350
- getDraftPreviewToken2 as getDraftPreviewToken,
351
- getRouterPages2 as getRouterPages,
352
- getRouterPagesCached2 as getRouterPagesCached,
353
- getRouterSitemap2 as getRouterSitemap,
354
- getRouterSitemapCount2 as getRouterSitemapCount
355
- };
356
- //# sourceMappingURL=meta.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/dynamic-page-router-v1-page-pages.http.ts","../../../src/dynamic-page-router-v1-page-pages.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixDynamicPageRouterV1DynamicPageRouterUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'editor._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/dynamic-page-router',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/dynamic-pages-router',\n destPath: '',\n },\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/dynamic-page-router',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/dynamic-page-router/v1/pages',\n destPath: '/v1/pages',\n },\n {\n srcPath: '/dynamic-page-router/v1/sitemap',\n destPath: '/v1/sitemap',\n },\n {\n srcPath: '/dynamic-page-router/v1/draft-preview-token',\n destPath: '/v1/draft-preview-token',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/dynamic-page-router/v1/pages',\n destPath: '/v1/pages',\n },\n {\n srcPath: '/dynamic-page-router/v1/sitemap',\n destPath: '/v1/sitemap',\n },\n {\n srcPath: '/dynamic-page-router/v1/draft-preview-token',\n destPath: '/v1/draft-preview-token',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_dynamic-page-router_pages';\n\n/**\n * Returns the count of sitemap entries grouped by page name.\n *\n * Use this endpoint for analytics dashboards, capacity planning, and understanding\n * the scale of dynamic content without retrieving actual URLs. Results are capped\n * at 1,000 items per pattern for performance.\n */\nexport function getRouterSitemapCount(\n payload: object\n): RequestOptionsFactory<any> {\n function __getRouterSitemapCount({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemapCount',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/sitemapCount',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getRouterSitemapCount;\n}\n\n/**\n * Returns sitemap entries containing URLs, page names, and page titles.\n *\n * Use this endpoint to generate XML sitemaps for search engines, build navigation\n * menus, or provide URL listings to external systems. The `fullUrl` parameter\n * provides context for scoping sitemap generation to specific domains or URL hierarchies.\n */\nexport function getRouterSitemap(payload: object): RequestOptionsFactory<any> {\n function __getRouterSitemap({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterSitemap',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/sitemap',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'result.priority' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getRouterSitemap;\n}\n\n/**\n * Returns comprehensive page information for a specific route.\n * Called by the editor via POST with flat body + query params.\n */\nexport function getRouterPages(payload: object): RequestOptionsFactory<any> {\n function __getRouterPages({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn: 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPages',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/pages',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getRouterPages;\n}\n\n/**\n * Returns comprehensive page information for a specific route (cacheable).\n * Called by the viewer via GET with .r parameter containing {urlParams, body} envelope.\n */\nexport function getRouterPagesCached(\n payload: object\n): RequestOptionsFactory<any> {\n function __getRouterPagesCached({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'GET' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetRouterPagesCached',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/pages',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __getRouterPagesCached;\n}\n\n/** Returns the preview token used for draft collection previews. */\nexport function getDraftPreviewToken(\n payload: object\n): RequestOptionsFactory<any> {\n function __getDraftPreviewToken({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.dynamic_page_router.v1.page',\n method: 'POST' as any,\n methodFqn:\n 'wix.dynamic_page_router.v1.DynamicPageRouter.GetDraftPreviewToken',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixDynamicPageRouterV1DynamicPageRouterUrl({\n protoPath: '/v1/draft-preview-token',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __getDraftPreviewToken;\n}\n","import * as ambassadorWixDynamicPageRouterV1Page from './dynamic-page-router-v1-page-pages.http.js';\nimport * as ambassadorWixDynamicPageRouterV1PageTypes from './dynamic-page-router-v1-page-pages.types.js';\nimport * as ambassadorWixDynamicPageRouterV1PageUniversalTypes from './dynamic-page-router-v1-page-pages.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getRouterSitemapCount(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapCountRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapCountRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapCountResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapCountResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterSitemapCount(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/sitemapCount',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterSitemap(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterSitemapResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterSitemapResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterSitemap(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/sitemap',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterPages(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterPages(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/pages',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getRouterPagesCached(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesCachedRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesCachedRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetRouterPagesResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetRouterPagesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getRouterPagesCached(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pages',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getDraftPreviewToken(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetDraftPreviewTokenRequest,\n ambassadorWixDynamicPageRouterV1PageTypes.GetDraftPreviewTokenRequest,\n ambassadorWixDynamicPageRouterV1PageUniversalTypes.GetDraftPreviewTokenResponse,\n ambassadorWixDynamicPageRouterV1PageTypes.GetDraftPreviewTokenResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDynamicPageRouterV1Page.getDraftPreviewToken(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/draft-preview-token',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Page as PageOriginal,\n GetRouterSitemapCountRequest as GetRouterSitemapCountRequestOriginal,\n Config as ConfigOriginal,\n Pattern as PatternOriginal,\n PatternConfig as PatternConfigOriginal,\n PageRule as PageRuleOriginal,\n PageRole as PageRoleOriginal,\n GetRouterSitemapCountResponse as GetRouterSitemapCountResponseOriginal,\n RouterCountItem as RouterCountItemOriginal,\n GetRouterSitemapRequest as GetRouterSitemapRequestOriginal,\n GetRouterSitemapResponse as GetRouterSitemapResponseOriginal,\n RouterRouteItem as RouterRouteItemOriginal,\n GetRouterPagesRequest as GetRouterPagesRequestOriginal,\n RequestInfo as RequestInfoOriginal,\n GetRouterPagesResponse as GetRouterPagesResponseOriginal,\n RouterPagesResult as RouterPagesResultOriginal,\n RouterPageHead as RouterPageHeadOriginal,\n GetRouterPagesCachedRequest as GetRouterPagesCachedRequestOriginal,\n GetRouterPagesCachedUrlParams as GetRouterPagesCachedUrlParamsOriginal,\n GetDraftPreviewTokenRequest as GetDraftPreviewTokenRequestOriginal,\n GetDraftPreviewTokenResponse as GetDraftPreviewTokenResponseOriginal,\n} from './dynamic-page-router-v1-page-pages.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,kDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAA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Pages","getRouterPagesCached","getDraftPreviewToken"]}
@@ -1,219 +0,0 @@
1
- import * as z from 'zod';
2
-
3
- declare const GetRouterSitemapCountRequest: z.ZodObject<{
4
- options: z.ZodOptional<z.ZodObject<{
5
- routerPrefix: z.ZodOptional<z.ZodString>;
6
- config: z.ZodOptional<z.ZodObject<{
7
- patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
8
- pageRole: z.ZodOptional<z.ZodString>;
9
- title: z.ZodOptional<z.ZodString>;
10
- config: z.ZodOptional<z.ZodObject<{
11
- collection: z.ZodOptional<z.ZodString>;
12
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
13
- lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
14
- pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
- sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
16
- pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
17
- seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
18
- cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
19
- includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
22
- }, z.core.$strip>>>;
23
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
24
- pageRole: z.ZodOptional<z.ZodString>;
25
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
26
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
- }, z.core.$strip>>>;
28
- roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
29
- }, z.core.$strip>>;
30
- pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
31
- _id: z.ZodOptional<z.ZodString>;
32
- title: z.ZodOptional<z.ZodString>;
33
- }, z.core.$strip>>>;
34
- pageName: z.ZodOptional<z.ZodString>;
35
- viewMode: z.ZodOptional<z.ZodString>;
36
- gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
39
- declare const GetRouterSitemapCountResponse: z.ZodObject<{
40
- result: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
- pageName: z.ZodOptional<z.ZodString>;
42
- count: z.ZodOptional<z.ZodNumber>;
43
- }, z.core.$strip>>>;
44
- }, z.core.$strip>;
45
- declare const GetRouterSitemapRequest: z.ZodObject<{
46
- options: z.ZodOptional<z.ZodObject<{
47
- fullUrl: z.ZodOptional<z.ZodString>;
48
- routerPrefix: z.ZodOptional<z.ZodString>;
49
- pageName: z.ZodOptional<z.ZodString>;
50
- config: z.ZodOptional<z.ZodObject<{
51
- patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
52
- pageRole: z.ZodOptional<z.ZodString>;
53
- title: z.ZodOptional<z.ZodString>;
54
- config: z.ZodOptional<z.ZodObject<{
55
- collection: z.ZodOptional<z.ZodString>;
56
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
57
- lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
58
- pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
- sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
60
- pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
61
- seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
62
- cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
63
- includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
- }, z.core.$strip>>;
65
- seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
66
- }, z.core.$strip>>>;
67
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
68
- pageRole: z.ZodOptional<z.ZodString>;
69
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
70
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
- }, z.core.$strip>>>;
72
- roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
73
- }, z.core.$strip>>;
74
- pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
75
- _id: z.ZodOptional<z.ZodString>;
76
- title: z.ZodOptional<z.ZodString>;
77
- }, z.core.$strip>>>;
78
- viewMode: z.ZodOptional<z.ZodString>;
79
- gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
80
- }, z.core.$strip>>;
81
- }, z.core.$strip>;
82
- declare const GetRouterSitemapResponse: z.ZodObject<{
83
- result: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- url: z.ZodOptional<z.ZodString>;
85
- pageName: z.ZodOptional<z.ZodString>;
86
- title: z.ZodOptional<z.ZodString>;
87
- changeFrequency: z.ZodOptional<z.ZodString>;
88
- lastModified: z.ZodNullable<z.ZodOptional<z.ZodString>>;
89
- priority: z.ZodOptional<z.ZodNumber>;
90
- }, z.core.$strip>>>;
91
- }, z.core.$strip>;
92
- declare const GetRouterPagesRequest: z.ZodObject<{
93
- options: z.ZodOptional<z.ZodObject<{
94
- fullUrl: z.ZodOptional<z.ZodString>;
95
- routerPrefix: z.ZodOptional<z.ZodString>;
96
- routerSuffix: z.ZodOptional<z.ZodString>;
97
- requestInfo: z.ZodOptional<z.ZodObject<{
98
- formFactor: z.ZodOptional<z.ZodString>;
99
- }, z.core.$strip>>;
100
- config: z.ZodOptional<z.ZodObject<{
101
- patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
102
- pageRole: z.ZodOptional<z.ZodString>;
103
- title: z.ZodOptional<z.ZodString>;
104
- config: z.ZodOptional<z.ZodObject<{
105
- collection: z.ZodOptional<z.ZodString>;
106
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
107
- lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
108
- pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
109
- sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
110
- pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
111
- seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
112
- cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
113
- includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
- }, z.core.$strip>>;
115
- seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116
- }, z.core.$strip>>>;
117
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
118
- pageRole: z.ZodOptional<z.ZodString>;
119
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
120
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
121
- }, z.core.$strip>>>;
122
- roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
123
- }, z.core.$strip>>;
124
- pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
125
- _id: z.ZodOptional<z.ZodString>;
126
- title: z.ZodOptional<z.ZodString>;
127
- }, z.core.$strip>>>;
128
- viewMode: z.ZodOptional<z.ZodString>;
129
- gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
130
- }, z.core.$strip>>;
131
- }, z.core.$strip>;
132
- declare const GetRouterPagesResponse: z.ZodObject<{
133
- result: z.ZodOptional<z.ZodObject<{
134
- status: z.ZodOptional<z.ZodNumber>;
135
- page: z.ZodOptional<z.ZodString>;
136
- data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
137
- head: z.ZodOptional<z.ZodObject<{
138
- title: z.ZodOptional<z.ZodString>;
139
- metaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
140
- description: z.ZodOptional<z.ZodString>;
141
- keywords: z.ZodOptional<z.ZodString>;
142
- noIndex: z.ZodOptional<z.ZodString>;
143
- }, z.core.$strip>>;
144
- message: z.ZodOptional<z.ZodString>;
145
- redirectUrl: z.ZodOptional<z.ZodString>;
146
- }, z.core.$strip>>;
147
- }, z.core.$strip>;
148
- declare const GetRouterPagesCachedRequest: z.ZodObject<{
149
- options: z.ZodOptional<z.ZodObject<{
150
- urlParams: z.ZodOptional<z.ZodObject<{
151
- gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
- viewMode: z.ZodOptional<z.ZodString>;
153
- }, z.core.$strip>>;
154
- body: z.ZodOptional<z.ZodObject<{
155
- fullUrl: z.ZodOptional<z.ZodString>;
156
- routerPrefix: z.ZodOptional<z.ZodString>;
157
- routerSuffix: z.ZodOptional<z.ZodString>;
158
- requestInfo: z.ZodOptional<z.ZodObject<{
159
- formFactor: z.ZodOptional<z.ZodString>;
160
- }, z.core.$strip>>;
161
- config: z.ZodOptional<z.ZodObject<{
162
- patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
163
- pageRole: z.ZodOptional<z.ZodString>;
164
- title: z.ZodOptional<z.ZodString>;
165
- config: z.ZodOptional<z.ZodObject<{
166
- collection: z.ZodOptional<z.ZodString>;
167
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
168
- lowercase: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
169
- pageLinkId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
170
- sort: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
171
- pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
172
- seoV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
173
- cursor: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
174
- includes: z.ZodOptional<z.ZodArray<z.ZodString>>;
175
- }, z.core.$strip>>;
176
- seoMetaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
177
- }, z.core.$strip>>>;
178
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
179
- pageRole: z.ZodOptional<z.ZodString>;
180
- filter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
181
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
182
- }, z.core.$strip>>>;
183
- roleVariations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodAny>>>;
184
- }, z.core.$strip>>;
185
- pageRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
186
- _id: z.ZodOptional<z.ZodString>;
187
- title: z.ZodOptional<z.ZodString>;
188
- }, z.core.$strip>>>;
189
- viewMode: z.ZodOptional<z.ZodString>;
190
- gridAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
191
- }, z.core.$strip>>;
192
- }, z.core.$strip>>;
193
- }, z.core.$strip>;
194
- declare const GetRouterPagesCachedResponse: z.ZodObject<{
195
- result: z.ZodOptional<z.ZodObject<{
196
- status: z.ZodOptional<z.ZodNumber>;
197
- page: z.ZodOptional<z.ZodString>;
198
- data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
199
- head: z.ZodOptional<z.ZodObject<{
200
- title: z.ZodOptional<z.ZodString>;
201
- metaTags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
202
- description: z.ZodOptional<z.ZodString>;
203
- keywords: z.ZodOptional<z.ZodString>;
204
- noIndex: z.ZodOptional<z.ZodString>;
205
- }, z.core.$strip>>;
206
- message: z.ZodOptional<z.ZodString>;
207
- redirectUrl: z.ZodOptional<z.ZodString>;
208
- }, z.core.$strip>>;
209
- }, z.core.$strip>;
210
- declare const GetDraftPreviewTokenRequest: z.ZodObject<{
211
- options: z.ZodOptional<z.ZodObject<{
212
- collectionId: z.ZodOptional<z.ZodString>;
213
- }, z.core.$strip>>;
214
- }, z.core.$strip>;
215
- declare const GetDraftPreviewTokenResponse: z.ZodObject<{
216
- token: z.ZodOptional<z.ZodString>;
217
- }, z.core.$strip>;
218
-
219
- export { GetDraftPreviewTokenRequest, GetDraftPreviewTokenResponse, GetRouterPagesCachedRequest, GetRouterPagesCachedResponse, GetRouterPagesRequest, GetRouterPagesResponse, GetRouterSitemapCountRequest, GetRouterSitemapCountResponse, GetRouterSitemapRequest, GetRouterSitemapResponse };