@atomic-solutions/wordpress-api-client 0.1.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.
Files changed (45) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +295 -0
  3. package/dist/calculatePagination-WUlN3OdM.d.cts +19 -0
  4. package/dist/calculatePagination-WUlN3OdM.d.ts +19 -0
  5. package/dist/client/index.cjs +1143 -0
  6. package/dist/client/index.cjs.map +1 -0
  7. package/dist/client/index.d.cts +10 -0
  8. package/dist/client/index.d.ts +10 -0
  9. package/dist/client/index.js +1137 -0
  10. package/dist/client/index.js.map +1 -0
  11. package/dist/http/index.cjs +674 -0
  12. package/dist/http/index.cjs.map +1 -0
  13. package/dist/http/index.d.cts +12 -0
  14. package/dist/http/index.d.ts +12 -0
  15. package/dist/http/index.js +667 -0
  16. package/dist/http/index.js.map +1 -0
  17. package/dist/index.cjs +1251 -0
  18. package/dist/index.cjs.map +1 -0
  19. package/dist/index.d.cts +51 -0
  20. package/dist/index.d.ts +51 -0
  21. package/dist/index.js +1205 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/schemas/index.cjs +414 -0
  24. package/dist/schemas/index.cjs.map +1 -0
  25. package/dist/schemas/index.d.cts +1339 -0
  26. package/dist/schemas/index.d.ts +1339 -0
  27. package/dist/schemas/index.js +376 -0
  28. package/dist/schemas/index.js.map +1 -0
  29. package/dist/testing/index.cjs +1435 -0
  30. package/dist/testing/index.cjs.map +1 -0
  31. package/dist/testing/index.d.cts +50 -0
  32. package/dist/testing/index.d.ts +50 -0
  33. package/dist/testing/index.js +1426 -0
  34. package/dist/testing/index.js.map +1 -0
  35. package/dist/types-8pbwmNdu.d.ts +154 -0
  36. package/dist/types-BTo088EY.d.cts +154 -0
  37. package/dist/user.schema-eeUHQ4sI.d.cts +10614 -0
  38. package/dist/user.schema-eeUHQ4sI.d.ts +10614 -0
  39. package/dist/utils/index.cjs +47 -0
  40. package/dist/utils/index.cjs.map +1 -0
  41. package/dist/utils/index.d.cts +10 -0
  42. package/dist/utils/index.d.ts +10 -0
  43. package/dist/utils/index.js +44 -0
  44. package/dist/utils/index.js.map +1 -0
  45. package/package.json +103 -0
@@ -0,0 +1,1339 @@
1
+ import { z } from 'zod';
2
+ export { A as AvatarUrls, a as AvatarUrlsSchema, C as CategoriesList, b as CategoriesListSchema, c as Category, d as CategoryParams, e as CategoryParamsSchema, f as CategorySchema, g as CurrentUser, h as CurrentUserSchema, E as EmbeddedPost, i as EmbeddedPostSchema, j as EmbeddedPostsList, k as EmbeddedPostsListSchema, I as ImageMeta, l as ImageMetaSchema, J as JwtErrorResponse, m as JwtErrorResponseSchema, n as JwtLoginInput, o as JwtLoginInputSchema, p as JwtTokenResponse, q as JwtTokenResponseSchema, r as JwtValidateResponse, s as JwtValidateResponseSchema, M as Media, t as MediaDetails, u as MediaDetailsSchema, v as MediaList, w as MediaListSchema, x as MediaSchema, y as MediaSize, z as MediaSizeSchema, B as MediaSizes, D as MediaSizesSchema, P as Post, F as PostParams, G as PostParamsSchema, H as PostSchema, K as PostsList, L as PostsListSchema, T as Tag, N as TagSchema, O as TagsList, Q as TagsListSchema, U as User, R as UserSchema, S as UsersList, V as UsersListSchema } from '../user.schema-eeUHQ4sI.js';
3
+
4
+ declare const addressSchema: z.ZodObject<{
5
+ first_name: z.ZodString;
6
+ last_name: z.ZodString;
7
+ company: z.ZodString;
8
+ address_1: z.ZodString;
9
+ address_2: z.ZodString;
10
+ city: z.ZodString;
11
+ state: z.ZodString;
12
+ postcode: z.ZodString;
13
+ country: z.ZodString;
14
+ phone: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ first_name: string;
17
+ last_name: string;
18
+ company: string;
19
+ address_1: string;
20
+ address_2: string;
21
+ city: string;
22
+ state: string;
23
+ postcode: string;
24
+ country: string;
25
+ phone: string;
26
+ }, {
27
+ first_name: string;
28
+ last_name: string;
29
+ company: string;
30
+ address_1: string;
31
+ address_2: string;
32
+ city: string;
33
+ state: string;
34
+ postcode: string;
35
+ country: string;
36
+ phone: string;
37
+ }>;
38
+ declare const addressSchemaNonMandatory: z.ZodObject<{
39
+ first_name: z.ZodString;
40
+ last_name: z.ZodString;
41
+ company: z.ZodString;
42
+ address_1: z.ZodString;
43
+ address_2: z.ZodString;
44
+ city: z.ZodString;
45
+ state: z.ZodString;
46
+ postcode: z.ZodString;
47
+ country: z.ZodString;
48
+ phone: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ first_name: string;
51
+ last_name: string;
52
+ company: string;
53
+ address_1: string;
54
+ address_2: string;
55
+ city: string;
56
+ state: string;
57
+ postcode: string;
58
+ country: string;
59
+ phone: string;
60
+ }, {
61
+ first_name: string;
62
+ last_name: string;
63
+ company: string;
64
+ address_1: string;
65
+ address_2: string;
66
+ city: string;
67
+ state: string;
68
+ postcode: string;
69
+ country: string;
70
+ phone: string;
71
+ }>;
72
+ declare const billingAddressSchemaMandatory: z.ZodObject<{
73
+ first_name: z.ZodString;
74
+ last_name: z.ZodString;
75
+ company: z.ZodString;
76
+ address_1: z.ZodString;
77
+ address_2: z.ZodString;
78
+ city: z.ZodString;
79
+ state: z.ZodString;
80
+ postcode: z.ZodString;
81
+ country: z.ZodString;
82
+ phone: z.ZodString;
83
+ } & {
84
+ email: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ first_name: string;
87
+ last_name: string;
88
+ company: string;
89
+ address_1: string;
90
+ address_2: string;
91
+ city: string;
92
+ state: string;
93
+ postcode: string;
94
+ country: string;
95
+ phone: string;
96
+ email: string;
97
+ }, {
98
+ first_name: string;
99
+ last_name: string;
100
+ company: string;
101
+ address_1: string;
102
+ address_2: string;
103
+ city: string;
104
+ state: string;
105
+ postcode: string;
106
+ country: string;
107
+ phone: string;
108
+ email: string;
109
+ }>;
110
+ declare const billingAddressSchemaNonMandatory: z.ZodObject<{
111
+ first_name: z.ZodString;
112
+ last_name: z.ZodString;
113
+ company: z.ZodString;
114
+ address_1: z.ZodString;
115
+ address_2: z.ZodString;
116
+ city: z.ZodString;
117
+ state: z.ZodString;
118
+ postcode: z.ZodString;
119
+ country: z.ZodString;
120
+ phone: z.ZodString;
121
+ } & {
122
+ email: z.ZodNullable<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ first_name: string;
125
+ last_name: string;
126
+ company: string;
127
+ address_1: string;
128
+ address_2: string;
129
+ city: string;
130
+ state: string;
131
+ postcode: string;
132
+ country: string;
133
+ phone: string;
134
+ email: string | null;
135
+ }, {
136
+ first_name: string;
137
+ last_name: string;
138
+ company: string;
139
+ address_1: string;
140
+ address_2: string;
141
+ city: string;
142
+ state: string;
143
+ postcode: string;
144
+ country: string;
145
+ phone: string;
146
+ email: string | null;
147
+ }>;
148
+ type Address = z.infer<typeof addressSchema>;
149
+ type BillingAddress = z.infer<typeof billingAddressSchemaMandatory>;
150
+ type AddressNonOptional = z.infer<typeof addressSchemaNonMandatory>;
151
+ type BillingAddressNonOptional = z.infer<typeof billingAddressSchemaNonMandatory>;
152
+
153
+ declare const moneySchema: z.ZodObject<{
154
+ currency_code: z.ZodString;
155
+ currency_symbol: z.ZodString;
156
+ currency_minor_unit: z.ZodNumber;
157
+ currency_decimal_separator: z.ZodString;
158
+ currency_thousand_separator: z.ZodString;
159
+ currency_prefix: z.ZodString;
160
+ currency_suffix: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ currency_code: string;
163
+ currency_symbol: string;
164
+ currency_minor_unit: number;
165
+ currency_decimal_separator: string;
166
+ currency_thousand_separator: string;
167
+ currency_prefix: string;
168
+ currency_suffix: string;
169
+ }, {
170
+ currency_code: string;
171
+ currency_symbol: string;
172
+ currency_minor_unit: number;
173
+ currency_decimal_separator: string;
174
+ currency_thousand_separator: string;
175
+ currency_prefix: string;
176
+ currency_suffix: string;
177
+ }>;
178
+ type Money = z.infer<typeof moneySchema>;
179
+
180
+ declare const paginationParamsSchema: z.ZodObject<{
181
+ page: z.ZodOptional<z.ZodNumber>;
182
+ per_page: z.ZodOptional<z.ZodNumber>;
183
+ offset: z.ZodOptional<z.ZodNumber>;
184
+ order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
185
+ orderby: z.ZodOptional<z.ZodString>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ page?: number | undefined;
188
+ per_page?: number | undefined;
189
+ offset?: number | undefined;
190
+ order?: "asc" | "desc" | undefined;
191
+ orderby?: string | undefined;
192
+ }, {
193
+ page?: number | undefined;
194
+ per_page?: number | undefined;
195
+ offset?: number | undefined;
196
+ order?: "asc" | "desc" | undefined;
197
+ orderby?: string | undefined;
198
+ }>;
199
+ declare const paginationMetaSchema: z.ZodObject<{
200
+ total: z.ZodNumber;
201
+ totalPages: z.ZodNumber;
202
+ currentPage: z.ZodNumber;
203
+ perPage: z.ZodNumber;
204
+ }, "strip", z.ZodTypeAny, {
205
+ perPage: number;
206
+ total: number;
207
+ totalPages: number;
208
+ currentPage: number;
209
+ }, {
210
+ perPage: number;
211
+ total: number;
212
+ totalPages: number;
213
+ currentPage: number;
214
+ }>;
215
+ type PaginationParams = z.infer<typeof paginationParamsSchema>;
216
+ type PaginationMeta = z.infer<typeof paginationMetaSchema>;
217
+
218
+ declare const RenderedContentSchema: z.ZodObject<{
219
+ rendered: z.ZodString;
220
+ protected: z.ZodOptional<z.ZodBoolean>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ rendered: string;
223
+ protected?: boolean | undefined;
224
+ }, {
225
+ rendered: string;
226
+ protected?: boolean | undefined;
227
+ }>;
228
+ type RenderedContent = z.infer<typeof RenderedContentSchema>;
229
+ declare const GuidSchema: z.ZodObject<{
230
+ rendered: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
232
+ rendered: string;
233
+ }, {
234
+ rendered: string;
235
+ }>;
236
+ type Guid = z.infer<typeof GuidSchema>;
237
+ declare const PostStatusSchema: z.ZodEnum<["publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit"]>;
238
+ type PostStatus = z.infer<typeof PostStatusSchema>;
239
+ declare const HalLinkItemSchema: z.ZodObject<{
240
+ href: z.ZodString;
241
+ embeddable: z.ZodOptional<z.ZodBoolean>;
242
+ templated: z.ZodOptional<z.ZodBoolean>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ href: string;
245
+ embeddable?: boolean | undefined;
246
+ templated?: boolean | undefined;
247
+ }, {
248
+ href: string;
249
+ embeddable?: boolean | undefined;
250
+ templated?: boolean | undefined;
251
+ }>;
252
+ type HalLinkItem = z.infer<typeof HalLinkItemSchema>;
253
+ declare const HalLinksSchema: z.ZodObject<{
254
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
+ href: z.ZodString;
256
+ embeddable: z.ZodOptional<z.ZodBoolean>;
257
+ templated: z.ZodOptional<z.ZodBoolean>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ href: string;
260
+ embeddable?: boolean | undefined;
261
+ templated?: boolean | undefined;
262
+ }, {
263
+ href: string;
264
+ embeddable?: boolean | undefined;
265
+ templated?: boolean | undefined;
266
+ }>, "many">>;
267
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ href: z.ZodString;
269
+ embeddable: z.ZodOptional<z.ZodBoolean>;
270
+ templated: z.ZodOptional<z.ZodBoolean>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ href: string;
273
+ embeddable?: boolean | undefined;
274
+ templated?: boolean | undefined;
275
+ }, {
276
+ href: string;
277
+ embeddable?: boolean | undefined;
278
+ templated?: boolean | undefined;
279
+ }>, "many">>;
280
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
281
+ href: z.ZodString;
282
+ embeddable: z.ZodOptional<z.ZodBoolean>;
283
+ templated: z.ZodOptional<z.ZodBoolean>;
284
+ }, "strip", z.ZodTypeAny, {
285
+ href: string;
286
+ embeddable?: boolean | undefined;
287
+ templated?: boolean | undefined;
288
+ }, {
289
+ href: string;
290
+ embeddable?: boolean | undefined;
291
+ templated?: boolean | undefined;
292
+ }>, "many">>;
293
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
+ href: z.ZodString;
295
+ embeddable: z.ZodOptional<z.ZodBoolean>;
296
+ templated: z.ZodOptional<z.ZodBoolean>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ href: string;
299
+ embeddable?: boolean | undefined;
300
+ templated?: boolean | undefined;
301
+ }, {
302
+ href: string;
303
+ embeddable?: boolean | undefined;
304
+ templated?: boolean | undefined;
305
+ }>, "many">>;
306
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
307
+ href: z.ZodString;
308
+ embeddable: z.ZodOptional<z.ZodBoolean>;
309
+ templated: z.ZodOptional<z.ZodBoolean>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ href: string;
312
+ embeddable?: boolean | undefined;
313
+ templated?: boolean | undefined;
314
+ }, {
315
+ href: string;
316
+ embeddable?: boolean | undefined;
317
+ templated?: boolean | undefined;
318
+ }>, "many">>;
319
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
320
+ href: z.ZodString;
321
+ embeddable: z.ZodOptional<z.ZodBoolean>;
322
+ templated: z.ZodOptional<z.ZodBoolean>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ href: string;
325
+ embeddable?: boolean | undefined;
326
+ templated?: boolean | undefined;
327
+ }, {
328
+ href: string;
329
+ embeddable?: boolean | undefined;
330
+ templated?: boolean | undefined;
331
+ }>, "many">>;
332
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
333
+ href: z.ZodString;
334
+ embeddable: z.ZodOptional<z.ZodBoolean>;
335
+ templated: z.ZodOptional<z.ZodBoolean>;
336
+ }, "strip", z.ZodTypeAny, {
337
+ href: string;
338
+ embeddable?: boolean | undefined;
339
+ templated?: boolean | undefined;
340
+ }, {
341
+ href: string;
342
+ embeddable?: boolean | undefined;
343
+ templated?: boolean | undefined;
344
+ }>, "many">>;
345
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ href: z.ZodString;
347
+ embeddable: z.ZodOptional<z.ZodBoolean>;
348
+ templated: z.ZodOptional<z.ZodBoolean>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ href: string;
351
+ embeddable?: boolean | undefined;
352
+ templated?: boolean | undefined;
353
+ }, {
354
+ href: string;
355
+ embeddable?: boolean | undefined;
356
+ templated?: boolean | undefined;
357
+ }>, "many">>;
358
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
359
+ href: z.ZodString;
360
+ embeddable: z.ZodOptional<z.ZodBoolean>;
361
+ templated: z.ZodOptional<z.ZodBoolean>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ href: string;
364
+ embeddable?: boolean | undefined;
365
+ templated?: boolean | undefined;
366
+ }, {
367
+ href: string;
368
+ embeddable?: boolean | undefined;
369
+ templated?: boolean | undefined;
370
+ }>, "many">>;
371
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ name: z.ZodString;
373
+ href: z.ZodString;
374
+ templated: z.ZodBoolean;
375
+ }, "strip", z.ZodTypeAny, {
376
+ href: string;
377
+ templated: boolean;
378
+ name: string;
379
+ }, {
380
+ href: string;
381
+ templated: boolean;
382
+ name: string;
383
+ }>, "many">>;
384
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
385
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
+ href: z.ZodString;
387
+ embeddable: z.ZodOptional<z.ZodBoolean>;
388
+ templated: z.ZodOptional<z.ZodBoolean>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ href: string;
391
+ embeddable?: boolean | undefined;
392
+ templated?: boolean | undefined;
393
+ }, {
394
+ href: string;
395
+ embeddable?: boolean | undefined;
396
+ templated?: boolean | undefined;
397
+ }>, "many">>;
398
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
399
+ href: z.ZodString;
400
+ embeddable: z.ZodOptional<z.ZodBoolean>;
401
+ templated: z.ZodOptional<z.ZodBoolean>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ href: string;
404
+ embeddable?: boolean | undefined;
405
+ templated?: boolean | undefined;
406
+ }, {
407
+ href: string;
408
+ embeddable?: boolean | undefined;
409
+ templated?: boolean | undefined;
410
+ }>, "many">>;
411
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
412
+ href: z.ZodString;
413
+ embeddable: z.ZodOptional<z.ZodBoolean>;
414
+ templated: z.ZodOptional<z.ZodBoolean>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ href: string;
417
+ embeddable?: boolean | undefined;
418
+ templated?: boolean | undefined;
419
+ }, {
420
+ href: string;
421
+ embeddable?: boolean | undefined;
422
+ templated?: boolean | undefined;
423
+ }>, "many">>;
424
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
425
+ href: z.ZodString;
426
+ embeddable: z.ZodOptional<z.ZodBoolean>;
427
+ templated: z.ZodOptional<z.ZodBoolean>;
428
+ }, "strip", z.ZodTypeAny, {
429
+ href: string;
430
+ embeddable?: boolean | undefined;
431
+ templated?: boolean | undefined;
432
+ }, {
433
+ href: string;
434
+ embeddable?: boolean | undefined;
435
+ templated?: boolean | undefined;
436
+ }>, "many">>;
437
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
438
+ href: z.ZodString;
439
+ embeddable: z.ZodOptional<z.ZodBoolean>;
440
+ templated: z.ZodOptional<z.ZodBoolean>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ href: string;
443
+ embeddable?: boolean | undefined;
444
+ templated?: boolean | undefined;
445
+ }, {
446
+ href: string;
447
+ embeddable?: boolean | undefined;
448
+ templated?: boolean | undefined;
449
+ }>, "many">>;
450
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
451
+ href: z.ZodString;
452
+ embeddable: z.ZodOptional<z.ZodBoolean>;
453
+ templated: z.ZodOptional<z.ZodBoolean>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ href: string;
456
+ embeddable?: boolean | undefined;
457
+ templated?: boolean | undefined;
458
+ }, {
459
+ href: string;
460
+ embeddable?: boolean | undefined;
461
+ templated?: boolean | undefined;
462
+ }>, "many">>;
463
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
464
+ href: z.ZodString;
465
+ embeddable: z.ZodOptional<z.ZodBoolean>;
466
+ templated: z.ZodOptional<z.ZodBoolean>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ href: string;
469
+ embeddable?: boolean | undefined;
470
+ templated?: boolean | undefined;
471
+ }, {
472
+ href: string;
473
+ embeddable?: boolean | undefined;
474
+ templated?: boolean | undefined;
475
+ }>, "many">>;
476
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
477
+ href: z.ZodString;
478
+ embeddable: z.ZodOptional<z.ZodBoolean>;
479
+ templated: z.ZodOptional<z.ZodBoolean>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ href: string;
482
+ embeddable?: boolean | undefined;
483
+ templated?: boolean | undefined;
484
+ }, {
485
+ href: string;
486
+ embeddable?: boolean | undefined;
487
+ templated?: boolean | undefined;
488
+ }>, "many">>;
489
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
490
+ href: z.ZodString;
491
+ embeddable: z.ZodOptional<z.ZodBoolean>;
492
+ templated: z.ZodOptional<z.ZodBoolean>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ href: string;
495
+ embeddable?: boolean | undefined;
496
+ templated?: boolean | undefined;
497
+ }, {
498
+ href: string;
499
+ embeddable?: boolean | undefined;
500
+ templated?: boolean | undefined;
501
+ }>, "many">>;
502
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
503
+ name: z.ZodString;
504
+ href: z.ZodString;
505
+ templated: z.ZodBoolean;
506
+ }, "strip", z.ZodTypeAny, {
507
+ href: string;
508
+ templated: boolean;
509
+ name: string;
510
+ }, {
511
+ href: string;
512
+ templated: boolean;
513
+ name: string;
514
+ }>, "many">>;
515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
516
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ href: z.ZodString;
518
+ embeddable: z.ZodOptional<z.ZodBoolean>;
519
+ templated: z.ZodOptional<z.ZodBoolean>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ href: string;
522
+ embeddable?: boolean | undefined;
523
+ templated?: boolean | undefined;
524
+ }, {
525
+ href: string;
526
+ embeddable?: boolean | undefined;
527
+ templated?: boolean | undefined;
528
+ }>, "many">>;
529
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
530
+ href: z.ZodString;
531
+ embeddable: z.ZodOptional<z.ZodBoolean>;
532
+ templated: z.ZodOptional<z.ZodBoolean>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ href: string;
535
+ embeddable?: boolean | undefined;
536
+ templated?: boolean | undefined;
537
+ }, {
538
+ href: string;
539
+ embeddable?: boolean | undefined;
540
+ templated?: boolean | undefined;
541
+ }>, "many">>;
542
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
543
+ href: z.ZodString;
544
+ embeddable: z.ZodOptional<z.ZodBoolean>;
545
+ templated: z.ZodOptional<z.ZodBoolean>;
546
+ }, "strip", z.ZodTypeAny, {
547
+ href: string;
548
+ embeddable?: boolean | undefined;
549
+ templated?: boolean | undefined;
550
+ }, {
551
+ href: string;
552
+ embeddable?: boolean | undefined;
553
+ templated?: boolean | undefined;
554
+ }>, "many">>;
555
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
556
+ href: z.ZodString;
557
+ embeddable: z.ZodOptional<z.ZodBoolean>;
558
+ templated: z.ZodOptional<z.ZodBoolean>;
559
+ }, "strip", z.ZodTypeAny, {
560
+ href: string;
561
+ embeddable?: boolean | undefined;
562
+ templated?: boolean | undefined;
563
+ }, {
564
+ href: string;
565
+ embeddable?: boolean | undefined;
566
+ templated?: boolean | undefined;
567
+ }>, "many">>;
568
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
569
+ href: z.ZodString;
570
+ embeddable: z.ZodOptional<z.ZodBoolean>;
571
+ templated: z.ZodOptional<z.ZodBoolean>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ href: string;
574
+ embeddable?: boolean | undefined;
575
+ templated?: boolean | undefined;
576
+ }, {
577
+ href: string;
578
+ embeddable?: boolean | undefined;
579
+ templated?: boolean | undefined;
580
+ }>, "many">>;
581
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
582
+ href: z.ZodString;
583
+ embeddable: z.ZodOptional<z.ZodBoolean>;
584
+ templated: z.ZodOptional<z.ZodBoolean>;
585
+ }, "strip", z.ZodTypeAny, {
586
+ href: string;
587
+ embeddable?: boolean | undefined;
588
+ templated?: boolean | undefined;
589
+ }, {
590
+ href: string;
591
+ embeddable?: boolean | undefined;
592
+ templated?: boolean | undefined;
593
+ }>, "many">>;
594
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
595
+ href: z.ZodString;
596
+ embeddable: z.ZodOptional<z.ZodBoolean>;
597
+ templated: z.ZodOptional<z.ZodBoolean>;
598
+ }, "strip", z.ZodTypeAny, {
599
+ href: string;
600
+ embeddable?: boolean | undefined;
601
+ templated?: boolean | undefined;
602
+ }, {
603
+ href: string;
604
+ embeddable?: boolean | undefined;
605
+ templated?: boolean | undefined;
606
+ }>, "many">>;
607
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
608
+ href: z.ZodString;
609
+ embeddable: z.ZodOptional<z.ZodBoolean>;
610
+ templated: z.ZodOptional<z.ZodBoolean>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ href: string;
613
+ embeddable?: boolean | undefined;
614
+ templated?: boolean | undefined;
615
+ }, {
616
+ href: string;
617
+ embeddable?: boolean | undefined;
618
+ templated?: boolean | undefined;
619
+ }>, "many">>;
620
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
621
+ href: z.ZodString;
622
+ embeddable: z.ZodOptional<z.ZodBoolean>;
623
+ templated: z.ZodOptional<z.ZodBoolean>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ href: string;
626
+ embeddable?: boolean | undefined;
627
+ templated?: boolean | undefined;
628
+ }, {
629
+ href: string;
630
+ embeddable?: boolean | undefined;
631
+ templated?: boolean | undefined;
632
+ }>, "many">>;
633
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
634
+ name: z.ZodString;
635
+ href: z.ZodString;
636
+ templated: z.ZodBoolean;
637
+ }, "strip", z.ZodTypeAny, {
638
+ href: string;
639
+ templated: boolean;
640
+ name: string;
641
+ }, {
642
+ href: string;
643
+ templated: boolean;
644
+ name: string;
645
+ }>, "many">>;
646
+ }, z.ZodTypeAny, "passthrough">>;
647
+ type HalLinks = z.infer<typeof HalLinksSchema>;
648
+ declare const WordPressBaseSchema: z.ZodObject<{
649
+ id: z.ZodNumber;
650
+ date: z.ZodString;
651
+ date_gmt: z.ZodString;
652
+ modified: z.ZodString;
653
+ modified_gmt: z.ZodString;
654
+ slug: z.ZodString;
655
+ status: z.ZodString;
656
+ type: z.ZodString;
657
+ link: z.ZodString;
658
+ _links: z.ZodOptional<z.ZodObject<{
659
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
660
+ href: z.ZodString;
661
+ embeddable: z.ZodOptional<z.ZodBoolean>;
662
+ templated: z.ZodOptional<z.ZodBoolean>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ href: string;
665
+ embeddable?: boolean | undefined;
666
+ templated?: boolean | undefined;
667
+ }, {
668
+ href: string;
669
+ embeddable?: boolean | undefined;
670
+ templated?: boolean | undefined;
671
+ }>, "many">>;
672
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
+ href: z.ZodString;
674
+ embeddable: z.ZodOptional<z.ZodBoolean>;
675
+ templated: z.ZodOptional<z.ZodBoolean>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ href: string;
678
+ embeddable?: boolean | undefined;
679
+ templated?: boolean | undefined;
680
+ }, {
681
+ href: string;
682
+ embeddable?: boolean | undefined;
683
+ templated?: boolean | undefined;
684
+ }>, "many">>;
685
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
+ href: z.ZodString;
687
+ embeddable: z.ZodOptional<z.ZodBoolean>;
688
+ templated: z.ZodOptional<z.ZodBoolean>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ href: string;
691
+ embeddable?: boolean | undefined;
692
+ templated?: boolean | undefined;
693
+ }, {
694
+ href: string;
695
+ embeddable?: boolean | undefined;
696
+ templated?: boolean | undefined;
697
+ }>, "many">>;
698
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
699
+ href: z.ZodString;
700
+ embeddable: z.ZodOptional<z.ZodBoolean>;
701
+ templated: z.ZodOptional<z.ZodBoolean>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ href: string;
704
+ embeddable?: boolean | undefined;
705
+ templated?: boolean | undefined;
706
+ }, {
707
+ href: string;
708
+ embeddable?: boolean | undefined;
709
+ templated?: boolean | undefined;
710
+ }>, "many">>;
711
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
712
+ href: z.ZodString;
713
+ embeddable: z.ZodOptional<z.ZodBoolean>;
714
+ templated: z.ZodOptional<z.ZodBoolean>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ href: string;
717
+ embeddable?: boolean | undefined;
718
+ templated?: boolean | undefined;
719
+ }, {
720
+ href: string;
721
+ embeddable?: boolean | undefined;
722
+ templated?: boolean | undefined;
723
+ }>, "many">>;
724
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
725
+ href: z.ZodString;
726
+ embeddable: z.ZodOptional<z.ZodBoolean>;
727
+ templated: z.ZodOptional<z.ZodBoolean>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ href: string;
730
+ embeddable?: boolean | undefined;
731
+ templated?: boolean | undefined;
732
+ }, {
733
+ href: string;
734
+ embeddable?: boolean | undefined;
735
+ templated?: boolean | undefined;
736
+ }>, "many">>;
737
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
738
+ href: z.ZodString;
739
+ embeddable: z.ZodOptional<z.ZodBoolean>;
740
+ templated: z.ZodOptional<z.ZodBoolean>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ href: string;
743
+ embeddable?: boolean | undefined;
744
+ templated?: boolean | undefined;
745
+ }, {
746
+ href: string;
747
+ embeddable?: boolean | undefined;
748
+ templated?: boolean | undefined;
749
+ }>, "many">>;
750
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
751
+ href: z.ZodString;
752
+ embeddable: z.ZodOptional<z.ZodBoolean>;
753
+ templated: z.ZodOptional<z.ZodBoolean>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ href: string;
756
+ embeddable?: boolean | undefined;
757
+ templated?: boolean | undefined;
758
+ }, {
759
+ href: string;
760
+ embeddable?: boolean | undefined;
761
+ templated?: boolean | undefined;
762
+ }>, "many">>;
763
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
764
+ href: z.ZodString;
765
+ embeddable: z.ZodOptional<z.ZodBoolean>;
766
+ templated: z.ZodOptional<z.ZodBoolean>;
767
+ }, "strip", z.ZodTypeAny, {
768
+ href: string;
769
+ embeddable?: boolean | undefined;
770
+ templated?: boolean | undefined;
771
+ }, {
772
+ href: string;
773
+ embeddable?: boolean | undefined;
774
+ templated?: boolean | undefined;
775
+ }>, "many">>;
776
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
+ name: z.ZodString;
778
+ href: z.ZodString;
779
+ templated: z.ZodBoolean;
780
+ }, "strip", z.ZodTypeAny, {
781
+ href: string;
782
+ templated: boolean;
783
+ name: string;
784
+ }, {
785
+ href: string;
786
+ templated: boolean;
787
+ name: string;
788
+ }>, "many">>;
789
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
790
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
+ href: z.ZodString;
792
+ embeddable: z.ZodOptional<z.ZodBoolean>;
793
+ templated: z.ZodOptional<z.ZodBoolean>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ href: string;
796
+ embeddable?: boolean | undefined;
797
+ templated?: boolean | undefined;
798
+ }, {
799
+ href: string;
800
+ embeddable?: boolean | undefined;
801
+ templated?: boolean | undefined;
802
+ }>, "many">>;
803
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
804
+ href: z.ZodString;
805
+ embeddable: z.ZodOptional<z.ZodBoolean>;
806
+ templated: z.ZodOptional<z.ZodBoolean>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ href: string;
809
+ embeddable?: boolean | undefined;
810
+ templated?: boolean | undefined;
811
+ }, {
812
+ href: string;
813
+ embeddable?: boolean | undefined;
814
+ templated?: boolean | undefined;
815
+ }>, "many">>;
816
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
817
+ href: z.ZodString;
818
+ embeddable: z.ZodOptional<z.ZodBoolean>;
819
+ templated: z.ZodOptional<z.ZodBoolean>;
820
+ }, "strip", z.ZodTypeAny, {
821
+ href: string;
822
+ embeddable?: boolean | undefined;
823
+ templated?: boolean | undefined;
824
+ }, {
825
+ href: string;
826
+ embeddable?: boolean | undefined;
827
+ templated?: boolean | undefined;
828
+ }>, "many">>;
829
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
830
+ href: z.ZodString;
831
+ embeddable: z.ZodOptional<z.ZodBoolean>;
832
+ templated: z.ZodOptional<z.ZodBoolean>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ href: string;
835
+ embeddable?: boolean | undefined;
836
+ templated?: boolean | undefined;
837
+ }, {
838
+ href: string;
839
+ embeddable?: boolean | undefined;
840
+ templated?: boolean | undefined;
841
+ }>, "many">>;
842
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
843
+ href: z.ZodString;
844
+ embeddable: z.ZodOptional<z.ZodBoolean>;
845
+ templated: z.ZodOptional<z.ZodBoolean>;
846
+ }, "strip", z.ZodTypeAny, {
847
+ href: string;
848
+ embeddable?: boolean | undefined;
849
+ templated?: boolean | undefined;
850
+ }, {
851
+ href: string;
852
+ embeddable?: boolean | undefined;
853
+ templated?: boolean | undefined;
854
+ }>, "many">>;
855
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
856
+ href: z.ZodString;
857
+ embeddable: z.ZodOptional<z.ZodBoolean>;
858
+ templated: z.ZodOptional<z.ZodBoolean>;
859
+ }, "strip", z.ZodTypeAny, {
860
+ href: string;
861
+ embeddable?: boolean | undefined;
862
+ templated?: boolean | undefined;
863
+ }, {
864
+ href: string;
865
+ embeddable?: boolean | undefined;
866
+ templated?: boolean | undefined;
867
+ }>, "many">>;
868
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
869
+ href: z.ZodString;
870
+ embeddable: z.ZodOptional<z.ZodBoolean>;
871
+ templated: z.ZodOptional<z.ZodBoolean>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ href: string;
874
+ embeddable?: boolean | undefined;
875
+ templated?: boolean | undefined;
876
+ }, {
877
+ href: string;
878
+ embeddable?: boolean | undefined;
879
+ templated?: boolean | undefined;
880
+ }>, "many">>;
881
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
882
+ href: z.ZodString;
883
+ embeddable: z.ZodOptional<z.ZodBoolean>;
884
+ templated: z.ZodOptional<z.ZodBoolean>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ href: string;
887
+ embeddable?: boolean | undefined;
888
+ templated?: boolean | undefined;
889
+ }, {
890
+ href: string;
891
+ embeddable?: boolean | undefined;
892
+ templated?: boolean | undefined;
893
+ }>, "many">>;
894
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
895
+ href: z.ZodString;
896
+ embeddable: z.ZodOptional<z.ZodBoolean>;
897
+ templated: z.ZodOptional<z.ZodBoolean>;
898
+ }, "strip", z.ZodTypeAny, {
899
+ href: string;
900
+ embeddable?: boolean | undefined;
901
+ templated?: boolean | undefined;
902
+ }, {
903
+ href: string;
904
+ embeddable?: boolean | undefined;
905
+ templated?: boolean | undefined;
906
+ }>, "many">>;
907
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
908
+ name: z.ZodString;
909
+ href: z.ZodString;
910
+ templated: z.ZodBoolean;
911
+ }, "strip", z.ZodTypeAny, {
912
+ href: string;
913
+ templated: boolean;
914
+ name: string;
915
+ }, {
916
+ href: string;
917
+ templated: boolean;
918
+ name: string;
919
+ }>, "many">>;
920
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
921
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
922
+ href: z.ZodString;
923
+ embeddable: z.ZodOptional<z.ZodBoolean>;
924
+ templated: z.ZodOptional<z.ZodBoolean>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ href: string;
927
+ embeddable?: boolean | undefined;
928
+ templated?: boolean | undefined;
929
+ }, {
930
+ href: string;
931
+ embeddable?: boolean | undefined;
932
+ templated?: boolean | undefined;
933
+ }>, "many">>;
934
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
935
+ href: z.ZodString;
936
+ embeddable: z.ZodOptional<z.ZodBoolean>;
937
+ templated: z.ZodOptional<z.ZodBoolean>;
938
+ }, "strip", z.ZodTypeAny, {
939
+ href: string;
940
+ embeddable?: boolean | undefined;
941
+ templated?: boolean | undefined;
942
+ }, {
943
+ href: string;
944
+ embeddable?: boolean | undefined;
945
+ templated?: boolean | undefined;
946
+ }>, "many">>;
947
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
948
+ href: z.ZodString;
949
+ embeddable: z.ZodOptional<z.ZodBoolean>;
950
+ templated: z.ZodOptional<z.ZodBoolean>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ href: string;
953
+ embeddable?: boolean | undefined;
954
+ templated?: boolean | undefined;
955
+ }, {
956
+ href: string;
957
+ embeddable?: boolean | undefined;
958
+ templated?: boolean | undefined;
959
+ }>, "many">>;
960
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
961
+ href: z.ZodString;
962
+ embeddable: z.ZodOptional<z.ZodBoolean>;
963
+ templated: z.ZodOptional<z.ZodBoolean>;
964
+ }, "strip", z.ZodTypeAny, {
965
+ href: string;
966
+ embeddable?: boolean | undefined;
967
+ templated?: boolean | undefined;
968
+ }, {
969
+ href: string;
970
+ embeddable?: boolean | undefined;
971
+ templated?: boolean | undefined;
972
+ }>, "many">>;
973
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
974
+ href: z.ZodString;
975
+ embeddable: z.ZodOptional<z.ZodBoolean>;
976
+ templated: z.ZodOptional<z.ZodBoolean>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ href: string;
979
+ embeddable?: boolean | undefined;
980
+ templated?: boolean | undefined;
981
+ }, {
982
+ href: string;
983
+ embeddable?: boolean | undefined;
984
+ templated?: boolean | undefined;
985
+ }>, "many">>;
986
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
987
+ href: z.ZodString;
988
+ embeddable: z.ZodOptional<z.ZodBoolean>;
989
+ templated: z.ZodOptional<z.ZodBoolean>;
990
+ }, "strip", z.ZodTypeAny, {
991
+ href: string;
992
+ embeddable?: boolean | undefined;
993
+ templated?: boolean | undefined;
994
+ }, {
995
+ href: string;
996
+ embeddable?: boolean | undefined;
997
+ templated?: boolean | undefined;
998
+ }>, "many">>;
999
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
1000
+ href: z.ZodString;
1001
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1002
+ templated: z.ZodOptional<z.ZodBoolean>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ href: string;
1005
+ embeddable?: boolean | undefined;
1006
+ templated?: boolean | undefined;
1007
+ }, {
1008
+ href: string;
1009
+ embeddable?: boolean | undefined;
1010
+ templated?: boolean | undefined;
1011
+ }>, "many">>;
1012
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
1013
+ href: z.ZodString;
1014
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1015
+ templated: z.ZodOptional<z.ZodBoolean>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ href: string;
1018
+ embeddable?: boolean | undefined;
1019
+ templated?: boolean | undefined;
1020
+ }, {
1021
+ href: string;
1022
+ embeddable?: boolean | undefined;
1023
+ templated?: boolean | undefined;
1024
+ }>, "many">>;
1025
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
1026
+ href: z.ZodString;
1027
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1028
+ templated: z.ZodOptional<z.ZodBoolean>;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ href: string;
1031
+ embeddable?: boolean | undefined;
1032
+ templated?: boolean | undefined;
1033
+ }, {
1034
+ href: string;
1035
+ embeddable?: boolean | undefined;
1036
+ templated?: boolean | undefined;
1037
+ }>, "many">>;
1038
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1039
+ name: z.ZodString;
1040
+ href: z.ZodString;
1041
+ templated: z.ZodBoolean;
1042
+ }, "strip", z.ZodTypeAny, {
1043
+ href: string;
1044
+ templated: boolean;
1045
+ name: string;
1046
+ }, {
1047
+ href: string;
1048
+ templated: boolean;
1049
+ name: string;
1050
+ }>, "many">>;
1051
+ }, z.ZodTypeAny, "passthrough">>>;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ type: string;
1054
+ status: string;
1055
+ date: string;
1056
+ id: number;
1057
+ date_gmt: string;
1058
+ modified: string;
1059
+ modified_gmt: string;
1060
+ slug: string;
1061
+ link: string;
1062
+ _links?: z.objectOutputType<{
1063
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
1064
+ href: z.ZodString;
1065
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1066
+ templated: z.ZodOptional<z.ZodBoolean>;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ href: string;
1069
+ embeddable?: boolean | undefined;
1070
+ templated?: boolean | undefined;
1071
+ }, {
1072
+ href: string;
1073
+ embeddable?: boolean | undefined;
1074
+ templated?: boolean | undefined;
1075
+ }>, "many">>;
1076
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
1077
+ href: z.ZodString;
1078
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1079
+ templated: z.ZodOptional<z.ZodBoolean>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ href: string;
1082
+ embeddable?: boolean | undefined;
1083
+ templated?: boolean | undefined;
1084
+ }, {
1085
+ href: string;
1086
+ embeddable?: boolean | undefined;
1087
+ templated?: boolean | undefined;
1088
+ }>, "many">>;
1089
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
1090
+ href: z.ZodString;
1091
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1092
+ templated: z.ZodOptional<z.ZodBoolean>;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ href: string;
1095
+ embeddable?: boolean | undefined;
1096
+ templated?: boolean | undefined;
1097
+ }, {
1098
+ href: string;
1099
+ embeddable?: boolean | undefined;
1100
+ templated?: boolean | undefined;
1101
+ }>, "many">>;
1102
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
1103
+ href: z.ZodString;
1104
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1105
+ templated: z.ZodOptional<z.ZodBoolean>;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ href: string;
1108
+ embeddable?: boolean | undefined;
1109
+ templated?: boolean | undefined;
1110
+ }, {
1111
+ href: string;
1112
+ embeddable?: boolean | undefined;
1113
+ templated?: boolean | undefined;
1114
+ }>, "many">>;
1115
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1116
+ href: z.ZodString;
1117
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1118
+ templated: z.ZodOptional<z.ZodBoolean>;
1119
+ }, "strip", z.ZodTypeAny, {
1120
+ href: string;
1121
+ embeddable?: boolean | undefined;
1122
+ templated?: boolean | undefined;
1123
+ }, {
1124
+ href: string;
1125
+ embeddable?: boolean | undefined;
1126
+ templated?: boolean | undefined;
1127
+ }>, "many">>;
1128
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
1129
+ href: z.ZodString;
1130
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1131
+ templated: z.ZodOptional<z.ZodBoolean>;
1132
+ }, "strip", z.ZodTypeAny, {
1133
+ href: string;
1134
+ embeddable?: boolean | undefined;
1135
+ templated?: boolean | undefined;
1136
+ }, {
1137
+ href: string;
1138
+ embeddable?: boolean | undefined;
1139
+ templated?: boolean | undefined;
1140
+ }>, "many">>;
1141
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
1142
+ href: z.ZodString;
1143
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1144
+ templated: z.ZodOptional<z.ZodBoolean>;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ href: string;
1147
+ embeddable?: boolean | undefined;
1148
+ templated?: boolean | undefined;
1149
+ }, {
1150
+ href: string;
1151
+ embeddable?: boolean | undefined;
1152
+ templated?: boolean | undefined;
1153
+ }>, "many">>;
1154
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
1155
+ href: z.ZodString;
1156
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1157
+ templated: z.ZodOptional<z.ZodBoolean>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ href: string;
1160
+ embeddable?: boolean | undefined;
1161
+ templated?: boolean | undefined;
1162
+ }, {
1163
+ href: string;
1164
+ embeddable?: boolean | undefined;
1165
+ templated?: boolean | undefined;
1166
+ }>, "many">>;
1167
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
1168
+ href: z.ZodString;
1169
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1170
+ templated: z.ZodOptional<z.ZodBoolean>;
1171
+ }, "strip", z.ZodTypeAny, {
1172
+ href: string;
1173
+ embeddable?: boolean | undefined;
1174
+ templated?: boolean | undefined;
1175
+ }, {
1176
+ href: string;
1177
+ embeddable?: boolean | undefined;
1178
+ templated?: boolean | undefined;
1179
+ }>, "many">>;
1180
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1181
+ name: z.ZodString;
1182
+ href: z.ZodString;
1183
+ templated: z.ZodBoolean;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ href: string;
1186
+ templated: boolean;
1187
+ name: string;
1188
+ }, {
1189
+ href: string;
1190
+ templated: boolean;
1191
+ name: string;
1192
+ }>, "many">>;
1193
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1194
+ }, {
1195
+ type: string;
1196
+ status: string;
1197
+ date: string;
1198
+ id: number;
1199
+ date_gmt: string;
1200
+ modified: string;
1201
+ modified_gmt: string;
1202
+ slug: string;
1203
+ link: string;
1204
+ _links?: z.objectInputType<{
1205
+ self: z.ZodOptional<z.ZodArray<z.ZodObject<{
1206
+ href: z.ZodString;
1207
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1208
+ templated: z.ZodOptional<z.ZodBoolean>;
1209
+ }, "strip", z.ZodTypeAny, {
1210
+ href: string;
1211
+ embeddable?: boolean | undefined;
1212
+ templated?: boolean | undefined;
1213
+ }, {
1214
+ href: string;
1215
+ embeddable?: boolean | undefined;
1216
+ templated?: boolean | undefined;
1217
+ }>, "many">>;
1218
+ collection: z.ZodOptional<z.ZodArray<z.ZodObject<{
1219
+ href: z.ZodString;
1220
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1221
+ templated: z.ZodOptional<z.ZodBoolean>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ href: string;
1224
+ embeddable?: boolean | undefined;
1225
+ templated?: boolean | undefined;
1226
+ }, {
1227
+ href: string;
1228
+ embeddable?: boolean | undefined;
1229
+ templated?: boolean | undefined;
1230
+ }>, "many">>;
1231
+ about: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
+ href: z.ZodString;
1233
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1234
+ templated: z.ZodOptional<z.ZodBoolean>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ href: string;
1237
+ embeddable?: boolean | undefined;
1238
+ templated?: boolean | undefined;
1239
+ }, {
1240
+ href: string;
1241
+ embeddable?: boolean | undefined;
1242
+ templated?: boolean | undefined;
1243
+ }>, "many">>;
1244
+ author: z.ZodOptional<z.ZodArray<z.ZodObject<{
1245
+ href: z.ZodString;
1246
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1247
+ templated: z.ZodOptional<z.ZodBoolean>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ href: string;
1250
+ embeddable?: boolean | undefined;
1251
+ templated?: boolean | undefined;
1252
+ }, {
1253
+ href: string;
1254
+ embeddable?: boolean | undefined;
1255
+ templated?: boolean | undefined;
1256
+ }>, "many">>;
1257
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1258
+ href: z.ZodString;
1259
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1260
+ templated: z.ZodOptional<z.ZodBoolean>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ href: string;
1263
+ embeddable?: boolean | undefined;
1264
+ templated?: boolean | undefined;
1265
+ }, {
1266
+ href: string;
1267
+ embeddable?: boolean | undefined;
1268
+ templated?: boolean | undefined;
1269
+ }>, "many">>;
1270
+ 'wp:featuredmedia': z.ZodOptional<z.ZodArray<z.ZodObject<{
1271
+ href: z.ZodString;
1272
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1273
+ templated: z.ZodOptional<z.ZodBoolean>;
1274
+ }, "strip", z.ZodTypeAny, {
1275
+ href: string;
1276
+ embeddable?: boolean | undefined;
1277
+ templated?: boolean | undefined;
1278
+ }, {
1279
+ href: string;
1280
+ embeddable?: boolean | undefined;
1281
+ templated?: boolean | undefined;
1282
+ }>, "many">>;
1283
+ 'wp:attachment': z.ZodOptional<z.ZodArray<z.ZodObject<{
1284
+ href: z.ZodString;
1285
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1286
+ templated: z.ZodOptional<z.ZodBoolean>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ href: string;
1289
+ embeddable?: boolean | undefined;
1290
+ templated?: boolean | undefined;
1291
+ }, {
1292
+ href: string;
1293
+ embeddable?: boolean | undefined;
1294
+ templated?: boolean | undefined;
1295
+ }>, "many">>;
1296
+ 'wp:term': z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
+ href: z.ZodString;
1298
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1299
+ templated: z.ZodOptional<z.ZodBoolean>;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ href: string;
1302
+ embeddable?: boolean | undefined;
1303
+ templated?: boolean | undefined;
1304
+ }, {
1305
+ href: string;
1306
+ embeddable?: boolean | undefined;
1307
+ templated?: boolean | undefined;
1308
+ }>, "many">>;
1309
+ 'wp:post_type': z.ZodOptional<z.ZodArray<z.ZodObject<{
1310
+ href: z.ZodString;
1311
+ embeddable: z.ZodOptional<z.ZodBoolean>;
1312
+ templated: z.ZodOptional<z.ZodBoolean>;
1313
+ }, "strip", z.ZodTypeAny, {
1314
+ href: string;
1315
+ embeddable?: boolean | undefined;
1316
+ templated?: boolean | undefined;
1317
+ }, {
1318
+ href: string;
1319
+ embeddable?: boolean | undefined;
1320
+ templated?: boolean | undefined;
1321
+ }>, "many">>;
1322
+ curies: z.ZodOptional<z.ZodArray<z.ZodObject<{
1323
+ name: z.ZodString;
1324
+ href: z.ZodString;
1325
+ templated: z.ZodBoolean;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ href: string;
1328
+ templated: boolean;
1329
+ name: string;
1330
+ }, {
1331
+ href: string;
1332
+ templated: boolean;
1333
+ name: string;
1334
+ }>, "many">>;
1335
+ }, z.ZodTypeAny, "passthrough"> | undefined;
1336
+ }>;
1337
+ type WordPressBase = z.infer<typeof WordPressBaseSchema>;
1338
+
1339
+ export { type Address, type AddressNonOptional, type BillingAddress, type BillingAddressNonOptional, type Guid, GuidSchema, type HalLinkItem, HalLinkItemSchema, type HalLinks, HalLinksSchema, type Money, type PaginationMeta, type PaginationParams, type PostStatus, PostStatusSchema, type RenderedContent, RenderedContentSchema, type WordPressBase, WordPressBaseSchema, addressSchema, addressSchemaNonMandatory, billingAddressSchemaMandatory, billingAddressSchemaNonMandatory, moneySchema, paginationMetaSchema, paginationParamsSchema };