@atomic-solutions/schemas 0.2.0 → 0.2.2

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.
@@ -15,22 +15,22 @@ declare const paymentMethodFilterSchema: z.ZodObject<{
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  page: number;
17
17
  per_page: number;
18
- exclude: number[];
19
- include: number[];
20
18
  order: "asc" | "desc";
19
+ include: number[];
20
+ exclude: number[];
21
21
  offset?: number | undefined;
22
- search?: string | undefined;
23
22
  orderby?: string | undefined;
23
+ search?: string | undefined;
24
24
  enabled?: boolean | undefined;
25
25
  }, {
26
26
  page?: number | undefined;
27
27
  per_page?: number | undefined;
28
28
  offset?: number | undefined;
29
- search?: string | undefined;
30
- exclude?: number[] | undefined;
31
- include?: number[] | undefined;
32
29
  order?: "asc" | "desc" | undefined;
33
30
  orderby?: string | undefined;
31
+ include?: number[] | undefined;
32
+ search?: string | undefined;
33
+ exclude?: number[] | undefined;
34
34
  enabled?: boolean | undefined;
35
35
  }>;
36
36
  type PaymentMethodFilterParams = z.infer<typeof paymentMethodFilterSchema>;
@@ -49,23 +49,23 @@ declare const couponFilterSchema: z.ZodObject<{
49
49
  }, "strip", z.ZodTypeAny, {
50
50
  page: number;
51
51
  per_page: number;
52
- exclude: number[];
53
- include: number[];
54
52
  order: "asc" | "desc";
55
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified";
56
- offset?: number | undefined;
53
+ orderby: "id" | "date" | "slug" | "include" | "title" | "modified";
54
+ include: number[];
55
+ exclude: number[];
57
56
  code?: string | undefined;
57
+ offset?: number | undefined;
58
58
  search?: string | undefined;
59
59
  }, {
60
+ code?: string | undefined;
60
61
  page?: number | undefined;
61
62
  per_page?: number | undefined;
62
63
  offset?: number | undefined;
63
- code?: string | undefined;
64
+ order?: "asc" | "desc" | undefined;
65
+ orderby?: "id" | "date" | "slug" | "include" | "title" | "modified" | undefined;
66
+ include?: number[] | undefined;
64
67
  search?: string | undefined;
65
68
  exclude?: number[] | undefined;
66
- include?: number[] | undefined;
67
- order?: "asc" | "desc" | undefined;
68
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | undefined;
69
69
  }>;
70
70
  type CouponFilterParams = z.infer<typeof couponFilterSchema>;
71
71
 
@@ -109,12 +109,12 @@ declare const couponSchema: z.ZodObject<{
109
109
  collection: {
110
110
  href: string;
111
111
  }[];
112
- author?: {
112
+ about?: {
113
113
  href: string;
114
- embeddable?: boolean | undefined;
115
114
  }[] | undefined;
116
- about?: {
115
+ author?: {
117
116
  href: string;
117
+ embeddable?: boolean | undefined;
118
118
  }[] | undefined;
119
119
  }, {
120
120
  self: {
@@ -123,12 +123,12 @@ declare const couponSchema: z.ZodObject<{
123
123
  collection: {
124
124
  href: string;
125
125
  }[];
126
- author?: {
126
+ about?: {
127
127
  href: string;
128
- embeddable?: boolean | undefined;
129
128
  }[] | undefined;
130
- about?: {
129
+ author?: {
131
130
  href: string;
131
+ embeddable?: boolean | undefined;
132
132
  }[] | undefined;
133
133
  }>;
134
134
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -136,12 +136,12 @@ declare const couponSchema: z.ZodObject<{
136
136
  key: z.ZodString;
137
137
  value: z.ZodAny;
138
138
  }, "strip", z.ZodTypeAny, {
139
- id: number;
140
139
  key: string;
140
+ id: number;
141
141
  value?: any;
142
142
  }, {
143
- id: number;
144
143
  key: string;
144
+ id: number;
145
145
  value?: any;
146
146
  }>, "many">>;
147
147
  } & {
@@ -178,12 +178,12 @@ declare const couponSchema: z.ZodObject<{
178
178
  collection: {
179
179
  href: string;
180
180
  }[];
181
- author?: {
181
+ about?: {
182
182
  href: string;
183
- embeddable?: boolean | undefined;
184
183
  }[] | undefined;
185
- about?: {
184
+ author?: {
186
185
  href: string;
186
+ embeddable?: boolean | undefined;
187
187
  }[] | undefined;
188
188
  };
189
189
  amount: string;
@@ -204,8 +204,8 @@ declare const couponSchema: z.ZodObject<{
204
204
  maximum_amount: string;
205
205
  email_restrictions: string[];
206
206
  meta_data?: {
207
- id: number;
208
207
  key: string;
208
+ id: number;
209
209
  value?: any;
210
210
  }[] | undefined;
211
211
  }, {
@@ -220,12 +220,12 @@ declare const couponSchema: z.ZodObject<{
220
220
  collection: {
221
221
  href: string;
222
222
  }[];
223
- author?: {
223
+ about?: {
224
224
  href: string;
225
- embeddable?: boolean | undefined;
226
225
  }[] | undefined;
227
- about?: {
226
+ author?: {
228
227
  href: string;
228
+ embeddable?: boolean | undefined;
229
229
  }[] | undefined;
230
230
  };
231
231
  amount: string;
@@ -246,8 +246,8 @@ declare const couponSchema: z.ZodObject<{
246
246
  maximum_amount: string;
247
247
  email_restrictions: string[];
248
248
  meta_data?: {
249
- id: number;
250
249
  key: string;
250
+ id: number;
251
251
  value?: any;
252
252
  }[] | undefined;
253
253
  }>;
@@ -268,25 +268,25 @@ declare const customerFilterSchema: z.ZodObject<{
268
268
  }, "strip", z.ZodTypeAny, {
269
269
  page: number;
270
270
  per_page: number;
271
- exclude: number[];
272
- include: number[];
273
271
  order: "asc" | "desc";
274
- orderby: "include" | "id" | "name" | "registered_date";
275
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
272
+ orderby: "id" | "name" | "include" | "registered_date";
273
+ include: number[];
274
+ exclude: number[];
275
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
276
+ email?: string | undefined;
276
277
  offset?: number | undefined;
277
278
  search?: string | undefined;
278
- email?: string | undefined;
279
279
  }, {
280
+ email?: string | undefined;
280
281
  page?: number | undefined;
281
282
  per_page?: number | undefined;
282
283
  offset?: number | undefined;
284
+ order?: "asc" | "desc" | undefined;
285
+ orderby?: "id" | "name" | "include" | "registered_date" | undefined;
286
+ include?: number[] | undefined;
283
287
  search?: string | undefined;
284
288
  exclude?: number[] | undefined;
285
- include?: number[] | undefined;
286
- order?: "asc" | "desc" | undefined;
287
- orderby?: "include" | "id" | "name" | "registered_date" | undefined;
288
- email?: string | undefined;
289
- role?: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager" | undefined;
289
+ role?: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager" | undefined;
290
290
  }>;
291
291
  type CustomerFilterParams = z.infer<typeof customerFilterSchema>;
292
292
 
@@ -330,12 +330,12 @@ declare const customerSchema: z.ZodObject<{
330
330
  collection: {
331
331
  href: string;
332
332
  }[];
333
- author?: {
333
+ about?: {
334
334
  href: string;
335
- embeddable?: boolean | undefined;
336
335
  }[] | undefined;
337
- about?: {
336
+ author?: {
338
337
  href: string;
338
+ embeddable?: boolean | undefined;
339
339
  }[] | undefined;
340
340
  }, {
341
341
  self: {
@@ -344,12 +344,12 @@ declare const customerSchema: z.ZodObject<{
344
344
  collection: {
345
345
  href: string;
346
346
  }[];
347
- author?: {
347
+ about?: {
348
348
  href: string;
349
- embeddable?: boolean | undefined;
350
349
  }[] | undefined;
351
- about?: {
350
+ author?: {
352
351
  href: string;
352
+ embeddable?: boolean | undefined;
353
353
  }[] | undefined;
354
354
  }>;
355
355
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -357,12 +357,12 @@ declare const customerSchema: z.ZodObject<{
357
357
  key: z.ZodString;
358
358
  value: z.ZodAny;
359
359
  }, "strip", z.ZodTypeAny, {
360
- id: number;
361
360
  key: string;
361
+ id: number;
362
362
  value?: any;
363
363
  }, {
364
- id: number;
365
364
  key: string;
365
+ id: number;
366
366
  value?: any;
367
367
  }>, "many">>;
368
368
  } & {
@@ -452,27 +452,11 @@ declare const customerSchema: z.ZodObject<{
452
452
  email?: string | undefined;
453
453
  }>;
454
454
  }, "strip", z.ZodTypeAny, {
455
- id: number;
456
- _links: {
457
- self: {
458
- href: string;
459
- }[];
460
- collection: {
461
- href: string;
462
- }[];
463
- author?: {
464
- href: string;
465
- embeddable?: boolean | undefined;
466
- }[] | undefined;
467
- about?: {
468
- href: string;
469
- }[] | undefined;
470
- };
471
- date_created: string;
472
- date_modified: string;
473
455
  first_name: string;
474
456
  last_name: string;
475
457
  email: string;
458
+ id: number;
459
+ date_created: string;
476
460
  billing: {
477
461
  first_name: string;
478
462
  last_name: string;
@@ -499,17 +483,7 @@ declare const customerSchema: z.ZodObject<{
499
483
  phone: string;
500
484
  email?: string | undefined;
501
485
  };
502
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
503
- username: string;
504
- is_paying_customer: boolean;
505
- avatar_url: string;
506
- meta_data?: {
507
- id: number;
508
- key: string;
509
- value?: any;
510
- }[] | undefined;
511
- }, {
512
- id: number;
486
+ date_modified: string;
513
487
  _links: {
514
488
  self: {
515
489
  href: string;
@@ -517,19 +491,29 @@ declare const customerSchema: z.ZodObject<{
517
491
  collection: {
518
492
  href: string;
519
493
  }[];
520
- author?: {
494
+ about?: {
521
495
  href: string;
522
- embeddable?: boolean | undefined;
523
496
  }[] | undefined;
524
- about?: {
497
+ author?: {
525
498
  href: string;
499
+ embeddable?: boolean | undefined;
526
500
  }[] | undefined;
527
501
  };
528
- date_created: string;
529
- date_modified: string;
502
+ username: string;
503
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
504
+ is_paying_customer: boolean;
505
+ avatar_url: string;
506
+ meta_data?: {
507
+ key: string;
508
+ id: number;
509
+ value?: any;
510
+ }[] | undefined;
511
+ }, {
530
512
  first_name: string;
531
513
  last_name: string;
532
514
  email: string;
515
+ id: number;
516
+ date_created: string;
533
517
  billing: {
534
518
  email: string;
535
519
  first_name?: string | undefined;
@@ -556,13 +540,29 @@ declare const customerSchema: z.ZodObject<{
556
540
  phone?: string | undefined;
557
541
  email?: string | undefined;
558
542
  };
559
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
543
+ date_modified: string;
544
+ _links: {
545
+ self: {
546
+ href: string;
547
+ }[];
548
+ collection: {
549
+ href: string;
550
+ }[];
551
+ about?: {
552
+ href: string;
553
+ }[] | undefined;
554
+ author?: {
555
+ href: string;
556
+ embeddable?: boolean | undefined;
557
+ }[] | undefined;
558
+ };
560
559
  username: string;
560
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
561
561
  is_paying_customer: boolean;
562
562
  avatar_url: string;
563
563
  meta_data?: {
564
- id: number;
565
564
  key: string;
565
+ id: number;
566
566
  value?: any;
567
567
  }[] | undefined;
568
568
  }>;
@@ -606,12 +606,12 @@ declare const createCustomerSchema: z.ZodObject<Pick<{
606
606
  collection: {
607
607
  href: string;
608
608
  }[];
609
- author?: {
609
+ about?: {
610
610
  href: string;
611
- embeddable?: boolean | undefined;
612
611
  }[] | undefined;
613
- about?: {
612
+ author?: {
614
613
  href: string;
614
+ embeddable?: boolean | undefined;
615
615
  }[] | undefined;
616
616
  }, {
617
617
  self: {
@@ -620,12 +620,12 @@ declare const createCustomerSchema: z.ZodObject<Pick<{
620
620
  collection: {
621
621
  href: string;
622
622
  }[];
623
- author?: {
623
+ about?: {
624
624
  href: string;
625
- embeddable?: boolean | undefined;
626
625
  }[] | undefined;
627
- about?: {
626
+ author?: {
628
627
  href: string;
628
+ embeddable?: boolean | undefined;
629
629
  }[] | undefined;
630
630
  }>;
631
631
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -633,12 +633,12 @@ declare const createCustomerSchema: z.ZodObject<Pick<{
633
633
  key: z.ZodString;
634
634
  value: z.ZodAny;
635
635
  }, "strip", z.ZodTypeAny, {
636
- id: number;
637
636
  key: string;
637
+ id: number;
638
638
  value?: any;
639
639
  }, {
640
- id: number;
641
640
  key: string;
641
+ id: number;
642
642
  value?: any;
643
643
  }>, "many">>;
644
644
  } & {
@@ -934,37 +934,37 @@ declare const orderFilterSchema: z.ZodObject<{
934
934
  }, "strip", z.ZodTypeAny, {
935
935
  page: number;
936
936
  per_page: number;
937
- exclude: number[];
938
- include: number[];
939
937
  order: "asc" | "desc";
940
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified";
938
+ orderby: "id" | "date" | "slug" | "include" | "title" | "modified";
939
+ include: number[];
940
+ exclude: number[];
941
941
  dates_are_gmt: boolean;
942
+ status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft")[] | undefined;
942
943
  offset?: number | undefined;
943
- status?: ("cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft")[] | undefined;
944
944
  search?: string | undefined;
945
- customer?: number | undefined;
946
- product?: number | undefined;
947
945
  after?: string | undefined;
948
946
  before?: string | undefined;
949
947
  modified_after?: string | undefined;
950
948
  modified_before?: string | undefined;
949
+ customer?: number | undefined;
950
+ product?: number | undefined;
951
951
  dp?: number | undefined;
952
952
  }, {
953
+ status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft")[] | undefined;
953
954
  page?: number | undefined;
954
955
  per_page?: number | undefined;
955
956
  offset?: number | undefined;
956
- status?: ("cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft")[] | undefined;
957
- search?: string | undefined;
958
- exclude?: number[] | undefined;
959
- include?: number[] | undefined;
960
- customer?: number | undefined;
961
- product?: number | undefined;
962
957
  order?: "asc" | "desc" | undefined;
963
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | undefined;
958
+ orderby?: "id" | "date" | "slug" | "include" | "title" | "modified" | undefined;
959
+ include?: number[] | undefined;
960
+ search?: string | undefined;
964
961
  after?: string | undefined;
965
962
  before?: string | undefined;
966
963
  modified_after?: string | undefined;
967
964
  modified_before?: string | undefined;
965
+ exclude?: number[] | undefined;
966
+ customer?: number | undefined;
967
+ product?: number | undefined;
968
968
  dates_are_gmt?: boolean | undefined;
969
969
  dp?: number | undefined;
970
970
  }>;
@@ -984,31 +984,31 @@ declare const orderLineItemSchema: z.ZodObject<{
984
984
  sku: z.ZodString;
985
985
  price: z.ZodNumber;
986
986
  }, "strip", z.ZodTypeAny, {
987
- id: number;
987
+ total: string;
988
988
  price: number;
989
+ id: number;
990
+ quantity: number;
989
991
  name: string;
990
992
  sku: string;
991
- total: string;
993
+ total_tax: string;
994
+ subtotal: string;
992
995
  product_id: number;
993
996
  variation_id: number;
994
- quantity: number;
995
997
  tax_class: string;
996
- subtotal: string;
997
998
  subtotal_tax: string;
998
- total_tax: string;
999
999
  }, {
1000
- id: number;
1000
+ total: string;
1001
1001
  price: number;
1002
+ id: number;
1003
+ quantity: number;
1002
1004
  name: string;
1003
1005
  sku: string;
1004
- total: string;
1006
+ total_tax: string;
1007
+ subtotal: string;
1005
1008
  product_id: number;
1006
1009
  variation_id: number;
1007
- quantity: number;
1008
1010
  tax_class: string;
1009
- subtotal: string;
1010
1011
  subtotal_tax: string;
1011
- total_tax: string;
1012
1012
  }>;
1013
1013
  declare const orderSchema: z.ZodObject<{
1014
1014
  _links: z.ZodObject<{
@@ -1050,12 +1050,12 @@ declare const orderSchema: z.ZodObject<{
1050
1050
  collection: {
1051
1051
  href: string;
1052
1052
  }[];
1053
- author?: {
1053
+ about?: {
1054
1054
  href: string;
1055
- embeddable?: boolean | undefined;
1056
1055
  }[] | undefined;
1057
- about?: {
1056
+ author?: {
1058
1057
  href: string;
1058
+ embeddable?: boolean | undefined;
1059
1059
  }[] | undefined;
1060
1060
  }, {
1061
1061
  self: {
@@ -1064,12 +1064,12 @@ declare const orderSchema: z.ZodObject<{
1064
1064
  collection: {
1065
1065
  href: string;
1066
1066
  }[];
1067
- author?: {
1067
+ about?: {
1068
1068
  href: string;
1069
- embeddable?: boolean | undefined;
1070
1069
  }[] | undefined;
1071
- about?: {
1070
+ author?: {
1072
1071
  href: string;
1072
+ embeddable?: boolean | undefined;
1073
1073
  }[] | undefined;
1074
1074
  }>;
1075
1075
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1077,12 +1077,12 @@ declare const orderSchema: z.ZodObject<{
1077
1077
  key: z.ZodString;
1078
1078
  value: z.ZodAny;
1079
1079
  }, "strip", z.ZodTypeAny, {
1080
- id: number;
1081
1080
  key: string;
1081
+ id: number;
1082
1082
  value?: any;
1083
1083
  }, {
1084
- id: number;
1085
1084
  key: string;
1085
+ id: number;
1086
1086
  value?: any;
1087
1087
  }>, "many">>;
1088
1088
  } & {
@@ -1191,31 +1191,31 @@ declare const orderSchema: z.ZodObject<{
1191
1191
  sku: z.ZodString;
1192
1192
  price: z.ZodNumber;
1193
1193
  }, "strip", z.ZodTypeAny, {
1194
- id: number;
1194
+ total: string;
1195
1195
  price: number;
1196
+ id: number;
1197
+ quantity: number;
1196
1198
  name: string;
1197
1199
  sku: string;
1198
- total: string;
1200
+ total_tax: string;
1201
+ subtotal: string;
1199
1202
  product_id: number;
1200
1203
  variation_id: number;
1201
- quantity: number;
1202
1204
  tax_class: string;
1203
- subtotal: string;
1204
1205
  subtotal_tax: string;
1205
- total_tax: string;
1206
1206
  }, {
1207
- id: number;
1207
+ total: string;
1208
1208
  price: number;
1209
+ id: number;
1210
+ quantity: number;
1209
1211
  name: string;
1210
1212
  sku: string;
1211
- total: string;
1213
+ total_tax: string;
1214
+ subtotal: string;
1212
1215
  product_id: number;
1213
1216
  variation_id: number;
1214
- quantity: number;
1215
1217
  tax_class: string;
1216
- subtotal: string;
1217
1218
  subtotal_tax: string;
1218
- total_tax: string;
1219
1219
  }>, "many">;
1220
1220
  payment_url: z.ZodOptional<z.ZodString>;
1221
1221
  pikpay_transaction_id: z.ZodOptional<z.ZodString>;
@@ -1223,35 +1223,14 @@ declare const orderSchema: z.ZodObject<{
1223
1223
  monri_transaction_id: z.ZodOptional<z.ZodString>;
1224
1224
  monri_status: z.ZodOptional<z.ZodString>;
1225
1225
  }, "strip", z.ZodTypeAny, {
1226
- status: "cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft";
1226
+ status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft";
1227
+ total: string;
1227
1228
  id: number;
1228
- _links: {
1229
- self: {
1230
- href: string;
1231
- }[];
1232
- collection: {
1233
- href: string;
1234
- }[];
1235
- author?: {
1236
- href: string;
1237
- embeddable?: boolean | undefined;
1238
- }[] | undefined;
1239
- about?: {
1240
- href: string;
1241
- }[] | undefined;
1242
- };
1243
- date_created: string;
1244
- date_modified: string;
1245
- parent_id: number;
1246
- currency: string;
1247
- version: string;
1248
- prices_include_tax: boolean;
1249
- discount_total: string;
1250
- shipping_total: string;
1251
- cart_tax: string;
1252
- total: string;
1253
- customer_id: number;
1229
+ payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1230
+ payment_method_title: string;
1254
1231
  order_key: string;
1232
+ currency: string;
1233
+ date_created: string;
1255
1234
  billing: {
1256
1235
  first_name: string;
1257
1236
  last_name: string;
@@ -1278,35 +1257,22 @@ declare const orderSchema: z.ZodObject<{
1278
1257
  phone: string;
1279
1258
  email?: string | undefined;
1280
1259
  };
1281
- payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1282
- payment_method_title: string;
1283
1260
  line_items: {
1284
- id: number;
1261
+ total: string;
1285
1262
  price: number;
1263
+ id: number;
1264
+ quantity: number;
1286
1265
  name: string;
1287
1266
  sku: string;
1288
- total: string;
1267
+ total_tax: string;
1268
+ subtotal: string;
1289
1269
  product_id: number;
1290
1270
  variation_id: number;
1291
- quantity: number;
1292
1271
  tax_class: string;
1293
- subtotal: string;
1294
1272
  subtotal_tax: string;
1295
- total_tax: string;
1296
1273
  }[];
1297
- meta_data?: {
1298
- id: number;
1299
- key: string;
1300
- value?: any;
1301
- }[] | undefined;
1302
- payment_url?: string | undefined;
1303
- pikpay_transaction_id?: string | undefined;
1304
- pikpay_status?: string | undefined;
1305
- monri_transaction_id?: string | undefined;
1306
- monri_status?: string | undefined;
1307
- }, {
1308
- status: "cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft";
1309
- id: number;
1274
+ customer_id: number;
1275
+ date_modified: string;
1310
1276
  _links: {
1311
1277
  self: {
1312
1278
  href: string;
@@ -1314,26 +1280,39 @@ declare const orderSchema: z.ZodObject<{
1314
1280
  collection: {
1315
1281
  href: string;
1316
1282
  }[];
1317
- author?: {
1283
+ about?: {
1318
1284
  href: string;
1319
- embeddable?: boolean | undefined;
1320
1285
  }[] | undefined;
1321
- about?: {
1286
+ author?: {
1322
1287
  href: string;
1288
+ embeddable?: boolean | undefined;
1323
1289
  }[] | undefined;
1324
1290
  };
1325
- date_created: string;
1326
- date_modified: string;
1327
1291
  parent_id: number;
1328
- currency: string;
1329
1292
  version: string;
1330
1293
  prices_include_tax: boolean;
1331
1294
  discount_total: string;
1332
1295
  shipping_total: string;
1333
1296
  cart_tax: string;
1297
+ meta_data?: {
1298
+ key: string;
1299
+ id: number;
1300
+ value?: any;
1301
+ }[] | undefined;
1302
+ payment_url?: string | undefined;
1303
+ pikpay_transaction_id?: string | undefined;
1304
+ pikpay_status?: string | undefined;
1305
+ monri_transaction_id?: string | undefined;
1306
+ monri_status?: string | undefined;
1307
+ }, {
1308
+ status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft";
1334
1309
  total: string;
1335
- customer_id: number;
1310
+ id: number;
1311
+ payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1312
+ payment_method_title: string;
1336
1313
  order_key: string;
1314
+ currency: string;
1315
+ date_created: string;
1337
1316
  billing: {
1338
1317
  email: string;
1339
1318
  first_name?: string | undefined;
@@ -1360,25 +1339,46 @@ declare const orderSchema: z.ZodObject<{
1360
1339
  phone?: string | undefined;
1361
1340
  email?: string | undefined;
1362
1341
  };
1363
- payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1364
- payment_method_title: string;
1365
1342
  line_items: {
1366
- id: number;
1343
+ total: string;
1367
1344
  price: number;
1345
+ id: number;
1346
+ quantity: number;
1368
1347
  name: string;
1369
1348
  sku: string;
1370
- total: string;
1349
+ total_tax: string;
1350
+ subtotal: string;
1371
1351
  product_id: number;
1372
1352
  variation_id: number;
1373
- quantity: number;
1374
1353
  tax_class: string;
1375
- subtotal: string;
1376
1354
  subtotal_tax: string;
1377
- total_tax: string;
1378
1355
  }[];
1356
+ customer_id: number;
1357
+ date_modified: string;
1358
+ _links: {
1359
+ self: {
1360
+ href: string;
1361
+ }[];
1362
+ collection: {
1363
+ href: string;
1364
+ }[];
1365
+ about?: {
1366
+ href: string;
1367
+ }[] | undefined;
1368
+ author?: {
1369
+ href: string;
1370
+ embeddable?: boolean | undefined;
1371
+ }[] | undefined;
1372
+ };
1373
+ parent_id: number;
1374
+ version: string;
1375
+ prices_include_tax: boolean;
1376
+ discount_total: string;
1377
+ shipping_total: string;
1378
+ cart_tax: string;
1379
1379
  meta_data?: {
1380
- id: number;
1381
1380
  key: string;
1381
+ id: number;
1382
1382
  value?: any;
1383
1383
  }[] | undefined;
1384
1384
  payment_url?: string | undefined;
@@ -1429,12 +1429,12 @@ declare const paymentMethodSchema: z.ZodObject<{
1429
1429
  collection: {
1430
1430
  href: string;
1431
1431
  }[];
1432
- author?: {
1432
+ about?: {
1433
1433
  href: string;
1434
- embeddable?: boolean | undefined;
1435
1434
  }[] | undefined;
1436
- about?: {
1435
+ author?: {
1437
1436
  href: string;
1437
+ embeddable?: boolean | undefined;
1438
1438
  }[] | undefined;
1439
1439
  }, {
1440
1440
  self: {
@@ -1443,12 +1443,12 @@ declare const paymentMethodSchema: z.ZodObject<{
1443
1443
  collection: {
1444
1444
  href: string;
1445
1445
  }[];
1446
- author?: {
1446
+ about?: {
1447
1447
  href: string;
1448
- embeddable?: boolean | undefined;
1449
1448
  }[] | undefined;
1450
- about?: {
1449
+ author?: {
1451
1450
  href: string;
1451
+ embeddable?: boolean | undefined;
1452
1452
  }[] | undefined;
1453
1453
  }>;
1454
1454
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1456,12 +1456,12 @@ declare const paymentMethodSchema: z.ZodObject<{
1456
1456
  key: z.ZodString;
1457
1457
  value: z.ZodAny;
1458
1458
  }, "strip", z.ZodTypeAny, {
1459
- id: number;
1460
1459
  key: string;
1460
+ id: number;
1461
1461
  value?: any;
1462
1462
  }, {
1463
- id: number;
1464
1463
  key: string;
1464
+ id: number;
1465
1465
  value?: any;
1466
1466
  }>, "many">>;
1467
1467
  } & {
@@ -1473,8 +1473,8 @@ declare const paymentMethodSchema: z.ZodObject<{
1473
1473
  method_description: z.ZodString;
1474
1474
  }, "strip", z.ZodTypeAny, {
1475
1475
  id: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1476
- title: string;
1477
1476
  description: string;
1477
+ title: string;
1478
1478
  _links: {
1479
1479
  self: {
1480
1480
  href: string;
@@ -1482,26 +1482,26 @@ declare const paymentMethodSchema: z.ZodObject<{
1482
1482
  collection: {
1483
1483
  href: string;
1484
1484
  }[];
1485
- author?: {
1485
+ about?: {
1486
1486
  href: string;
1487
- embeddable?: boolean | undefined;
1488
1487
  }[] | undefined;
1489
- about?: {
1488
+ author?: {
1490
1489
  href: string;
1490
+ embeddable?: boolean | undefined;
1491
1491
  }[] | undefined;
1492
1492
  };
1493
1493
  enabled: boolean;
1494
1494
  method_title: string;
1495
1495
  method_description: string;
1496
1496
  meta_data?: {
1497
- id: number;
1498
1497
  key: string;
1498
+ id: number;
1499
1499
  value?: any;
1500
1500
  }[] | undefined;
1501
1501
  }, {
1502
1502
  id: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
1503
- title: string;
1504
1503
  description: string;
1504
+ title: string;
1505
1505
  _links: {
1506
1506
  self: {
1507
1507
  href: string;
@@ -1509,20 +1509,20 @@ declare const paymentMethodSchema: z.ZodObject<{
1509
1509
  collection: {
1510
1510
  href: string;
1511
1511
  }[];
1512
- author?: {
1512
+ about?: {
1513
1513
  href: string;
1514
- embeddable?: boolean | undefined;
1515
1514
  }[] | undefined;
1516
- about?: {
1515
+ author?: {
1517
1516
  href: string;
1517
+ embeddable?: boolean | undefined;
1518
1518
  }[] | undefined;
1519
1519
  };
1520
1520
  enabled: boolean;
1521
1521
  method_title: string;
1522
1522
  method_description: string;
1523
1523
  meta_data?: {
1524
- id: number;
1525
1524
  key: string;
1525
+ id: number;
1526
1526
  value?: any;
1527
1527
  }[] | undefined;
1528
1528
  }>;
@@ -1545,29 +1545,29 @@ declare const categoryFilterSchema: z.ZodObject<{
1545
1545
  }, "strip", z.ZodTypeAny, {
1546
1546
  page: number;
1547
1547
  per_page: number;
1548
- exclude: number[];
1549
- include: number[];
1550
- product: number | null;
1551
1548
  order: "asc" | "desc";
1552
- orderby: "include" | "id" | "slug" | "name" | "term_group" | "description" | "count";
1549
+ orderby: "id" | "name" | "description" | "slug" | "count" | "include" | "term_group";
1550
+ include: number[];
1551
+ exclude: number[];
1553
1552
  hide_empty: boolean;
1553
+ product: number | null;
1554
1554
  offset?: number | undefined;
1555
- search?: string | undefined;
1556
1555
  slug?: string | undefined;
1557
1556
  parent?: number | undefined;
1557
+ search?: string | undefined;
1558
1558
  }, {
1559
1559
  page?: number | undefined;
1560
1560
  per_page?: number | undefined;
1561
1561
  offset?: number | undefined;
1562
+ order?: "asc" | "desc" | undefined;
1563
+ orderby?: "id" | "name" | "description" | "slug" | "count" | "include" | "term_group" | undefined;
1564
+ slug?: string | undefined;
1565
+ parent?: number | undefined;
1566
+ include?: number[] | undefined;
1562
1567
  search?: string | undefined;
1563
1568
  exclude?: number[] | undefined;
1564
- include?: number[] | undefined;
1565
- slug?: string | undefined;
1566
- product?: number | null | undefined;
1567
- order?: "asc" | "desc" | undefined;
1568
- orderby?: "include" | "id" | "slug" | "name" | "term_group" | "description" | "count" | undefined;
1569
1569
  hide_empty?: boolean | undefined;
1570
- parent?: number | undefined;
1570
+ product?: number | null | undefined;
1571
1571
  }>;
1572
1572
  type CategoryFilterParams = z.infer<typeof categoryFilterSchema>;
1573
1573
 
@@ -1611,12 +1611,12 @@ declare const productCategorySchema: z.ZodObject<{
1611
1611
  collection: {
1612
1612
  href: string;
1613
1613
  }[];
1614
- author?: {
1614
+ about?: {
1615
1615
  href: string;
1616
- embeddable?: boolean | undefined;
1617
1616
  }[] | undefined;
1618
- about?: {
1617
+ author?: {
1619
1618
  href: string;
1619
+ embeddable?: boolean | undefined;
1620
1620
  }[] | undefined;
1621
1621
  }, {
1622
1622
  self: {
@@ -1625,12 +1625,12 @@ declare const productCategorySchema: z.ZodObject<{
1625
1625
  collection: {
1626
1626
  href: string;
1627
1627
  }[];
1628
- author?: {
1628
+ about?: {
1629
1629
  href: string;
1630
- embeddable?: boolean | undefined;
1631
1630
  }[] | undefined;
1632
- about?: {
1631
+ author?: {
1633
1632
  href: string;
1633
+ embeddable?: boolean | undefined;
1634
1634
  }[] | undefined;
1635
1635
  }>;
1636
1636
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1638,12 +1638,12 @@ declare const productCategorySchema: z.ZodObject<{
1638
1638
  key: z.ZodString;
1639
1639
  value: z.ZodAny;
1640
1640
  }, "strip", z.ZodTypeAny, {
1641
- id: number;
1642
1641
  key: string;
1642
+ id: number;
1643
1643
  value?: any;
1644
1644
  }, {
1645
- id: number;
1646
1645
  key: string;
1646
+ id: number;
1647
1647
  value?: any;
1648
1648
  }>, "many">>;
1649
1649
  } & {
@@ -1663,26 +1663,36 @@ declare const productCategorySchema: z.ZodObject<{
1663
1663
  }, "strip", z.ZodTypeAny, {
1664
1664
  id: number;
1665
1665
  name: string;
1666
- date_created: string;
1667
- date_modified: string;
1668
1666
  src: string;
1669
1667
  alt: string;
1668
+ date_created: string;
1669
+ date_modified: string;
1670
1670
  }, {
1671
1671
  id: number;
1672
1672
  name: string;
1673
- date_created: string;
1674
- date_modified: string;
1675
1673
  src: string;
1676
1674
  alt: string;
1675
+ date_created: string;
1676
+ date_modified: string;
1677
1677
  }>>;
1678
1678
  menu_order: z.ZodNumber;
1679
1679
  count: z.ZodNumber;
1680
1680
  }, "strip", z.ZodTypeAny, {
1681
1681
  id: number;
1682
- slug: string;
1683
- menu_order: number;
1684
1682
  name: string;
1685
1683
  description: string;
1684
+ slug: string;
1685
+ parent: number;
1686
+ display: string;
1687
+ image: {
1688
+ id: number;
1689
+ name: string;
1690
+ src: string;
1691
+ alt: string;
1692
+ date_created: string;
1693
+ date_modified: string;
1694
+ } | null;
1695
+ menu_order: number;
1686
1696
  count: number;
1687
1697
  _links: {
1688
1698
  self: {
@@ -1691,35 +1701,35 @@ declare const productCategorySchema: z.ZodObject<{
1691
1701
  collection: {
1692
1702
  href: string;
1693
1703
  }[];
1694
- author?: {
1704
+ about?: {
1695
1705
  href: string;
1696
- embeddable?: boolean | undefined;
1697
1706
  }[] | undefined;
1698
- about?: {
1707
+ author?: {
1699
1708
  href: string;
1709
+ embeddable?: boolean | undefined;
1700
1710
  }[] | undefined;
1701
1711
  };
1712
+ meta_data?: {
1713
+ key: string;
1714
+ id: number;
1715
+ value?: any;
1716
+ }[] | undefined;
1717
+ }, {
1718
+ id: number;
1719
+ name: string;
1720
+ description: string;
1721
+ slug: string;
1702
1722
  parent: number;
1703
1723
  display: string;
1704
1724
  image: {
1705
1725
  id: number;
1706
1726
  name: string;
1707
- date_created: string;
1708
- date_modified: string;
1709
1727
  src: string;
1710
1728
  alt: string;
1729
+ date_created: string;
1730
+ date_modified: string;
1711
1731
  } | null;
1712
- meta_data?: {
1713
- id: number;
1714
- key: string;
1715
- value?: any;
1716
- }[] | undefined;
1717
- }, {
1718
- id: number;
1719
- slug: string;
1720
1732
  menu_order: number;
1721
- name: string;
1722
- description: string;
1723
1733
  count: number;
1724
1734
  _links: {
1725
1735
  self: {
@@ -1728,27 +1738,17 @@ declare const productCategorySchema: z.ZodObject<{
1728
1738
  collection: {
1729
1739
  href: string;
1730
1740
  }[];
1731
- author?: {
1741
+ about?: {
1732
1742
  href: string;
1733
- embeddable?: boolean | undefined;
1734
1743
  }[] | undefined;
1735
- about?: {
1744
+ author?: {
1736
1745
  href: string;
1746
+ embeddable?: boolean | undefined;
1737
1747
  }[] | undefined;
1738
1748
  };
1739
- parent: number;
1740
- display: string;
1741
- image: {
1742
- id: number;
1743
- name: string;
1744
- date_created: string;
1745
- date_modified: string;
1746
- src: string;
1747
- alt: string;
1748
- } | null;
1749
1749
  meta_data?: {
1750
- id: number;
1751
1750
  key: string;
1751
+ id: number;
1752
1752
  value?: any;
1753
1753
  }[] | undefined;
1754
1754
  }>;
@@ -1784,59 +1784,59 @@ declare const productFilterSchema: z.ZodObject<{
1784
1784
  modified_before: z.ZodOptional<z.ZodString>;
1785
1785
  dates_are_gmt: z.ZodDefault<z.ZodBoolean>;
1786
1786
  }, "strip", z.ZodTypeAny, {
1787
+ status: "pending" | "any" | "draft" | "private" | "publish" | "future" | "trash";
1787
1788
  page: number;
1788
1789
  per_page: number;
1789
- status: "pending" | "trash" | "any" | "future" | "draft" | "private" | "publish";
1790
- exclude: number[];
1791
- include: number[];
1792
1790
  order: "asc" | "desc";
1793
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified" | "popularity" | "rating" | "menu_order" | "price";
1791
+ orderby: "price" | "id" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
1792
+ include: number[];
1793
+ exclude: number[];
1794
1794
  dates_are_gmt: boolean;
1795
+ type?: "simple" | "variable" | "grouped" | "external" | undefined;
1795
1796
  offset?: number | undefined;
1796
- type?: "simple" | "grouped" | "external" | "variable" | undefined;
1797
- search?: string | undefined;
1798
1797
  sku?: string | undefined;
1799
- featured?: boolean | undefined;
1800
- category?: string | undefined;
1801
- tag?: string | undefined;
1802
- shipping_class?: string | undefined;
1803
1798
  attribute?: string | undefined;
1804
- attribute_term?: string | undefined;
1805
- stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
1806
- on_sale?: boolean | undefined;
1807
- min_price?: string | undefined;
1808
- max_price?: string | undefined;
1799
+ search?: string | undefined;
1809
1800
  after?: string | undefined;
1810
1801
  before?: string | undefined;
1811
1802
  modified_after?: string | undefined;
1812
1803
  modified_before?: string | undefined;
1804
+ featured?: boolean | undefined;
1805
+ stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
1806
+ category?: string | undefined;
1807
+ tag?: string | undefined;
1808
+ min_price?: string | undefined;
1809
+ max_price?: string | undefined;
1810
+ on_sale?: boolean | undefined;
1811
+ shipping_class?: string | undefined;
1812
+ attribute_term?: string | undefined;
1813
1813
  }, {
1814
+ type?: "simple" | "variable" | "grouped" | "external" | undefined;
1815
+ status?: "pending" | "any" | "draft" | "private" | "publish" | "future" | "trash" | undefined;
1814
1816
  page?: number | undefined;
1815
1817
  per_page?: number | undefined;
1816
1818
  offset?: number | undefined;
1817
- type?: "simple" | "grouped" | "external" | "variable" | undefined;
1818
- status?: "pending" | "trash" | "any" | "future" | "draft" | "private" | "publish" | undefined;
1819
- search?: string | undefined;
1820
- exclude?: number[] | undefined;
1821
- include?: number[] | undefined;
1822
1819
  order?: "asc" | "desc" | undefined;
1823
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | "popularity" | "rating" | "menu_order" | "price" | undefined;
1820
+ orderby?: "price" | "id" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified" | undefined;
1824
1821
  sku?: string | undefined;
1825
- featured?: boolean | undefined;
1826
- category?: string | undefined;
1827
- tag?: string | undefined;
1828
- shipping_class?: string | undefined;
1829
1822
  attribute?: string | undefined;
1830
- attribute_term?: string | undefined;
1831
- stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
1832
- on_sale?: boolean | undefined;
1833
- min_price?: string | undefined;
1834
- max_price?: string | undefined;
1823
+ include?: number[] | undefined;
1824
+ search?: string | undefined;
1835
1825
  after?: string | undefined;
1836
1826
  before?: string | undefined;
1837
1827
  modified_after?: string | undefined;
1838
1828
  modified_before?: string | undefined;
1829
+ exclude?: number[] | undefined;
1830
+ featured?: boolean | undefined;
1831
+ stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
1832
+ category?: string | undefined;
1833
+ tag?: string | undefined;
1834
+ min_price?: string | undefined;
1835
+ max_price?: string | undefined;
1836
+ on_sale?: boolean | undefined;
1839
1837
  dates_are_gmt?: boolean | undefined;
1838
+ shipping_class?: string | undefined;
1839
+ attribute_term?: string | undefined;
1840
1840
  }>;
1841
1841
  type ProductFilterParams = z.infer<typeof productFilterSchema>;
1842
1842
 
@@ -1850,17 +1850,17 @@ declare const productImageSchema: z.ZodObject<{
1850
1850
  }, "strip", z.ZodTypeAny, {
1851
1851
  id: number;
1852
1852
  name: string;
1853
- date_created: string;
1854
- date_modified: string;
1855
1853
  src: string;
1856
1854
  alt: string;
1855
+ date_created: string;
1856
+ date_modified: string;
1857
1857
  }, {
1858
1858
  id: number;
1859
1859
  name: string;
1860
- date_created: string;
1861
- date_modified: string;
1862
1860
  src: string;
1863
1861
  alt: string;
1862
+ date_created: string;
1863
+ date_modified: string;
1864
1864
  }>;
1865
1865
  declare const productSchema: z.ZodObject<{
1866
1866
  _links: z.ZodObject<{
@@ -1902,12 +1902,12 @@ declare const productSchema: z.ZodObject<{
1902
1902
  collection: {
1903
1903
  href: string;
1904
1904
  }[];
1905
- author?: {
1905
+ about?: {
1906
1906
  href: string;
1907
- embeddable?: boolean | undefined;
1908
1907
  }[] | undefined;
1909
- about?: {
1908
+ author?: {
1910
1909
  href: string;
1910
+ embeddable?: boolean | undefined;
1911
1911
  }[] | undefined;
1912
1912
  }, {
1913
1913
  self: {
@@ -1916,12 +1916,12 @@ declare const productSchema: z.ZodObject<{
1916
1916
  collection: {
1917
1917
  href: string;
1918
1918
  }[];
1919
- author?: {
1919
+ about?: {
1920
1920
  href: string;
1921
- embeddable?: boolean | undefined;
1922
1921
  }[] | undefined;
1923
- about?: {
1922
+ author?: {
1924
1923
  href: string;
1924
+ embeddable?: boolean | undefined;
1925
1925
  }[] | undefined;
1926
1926
  }>;
1927
1927
  } & {
@@ -1948,12 +1948,12 @@ declare const productSchema: z.ZodObject<{
1948
1948
  slug: z.ZodString;
1949
1949
  }, "strip", z.ZodTypeAny, {
1950
1950
  id: number;
1951
- slug: string;
1952
1951
  name: string;
1952
+ slug: string;
1953
1953
  }, {
1954
1954
  id: number;
1955
- slug: string;
1956
1955
  name: string;
1956
+ slug: string;
1957
1957
  }>, "many">;
1958
1958
  images: z.ZodArray<z.ZodObject<{
1959
1959
  id: z.ZodNumber;
@@ -1965,17 +1965,17 @@ declare const productSchema: z.ZodObject<{
1965
1965
  }, "strip", z.ZodTypeAny, {
1966
1966
  id: number;
1967
1967
  name: string;
1968
- date_created: string;
1969
- date_modified: string;
1970
1968
  src: string;
1971
1969
  alt: string;
1970
+ date_created: string;
1971
+ date_modified: string;
1972
1972
  }, {
1973
1973
  id: number;
1974
1974
  name: string;
1975
- date_created: string;
1976
- date_modified: string;
1977
1975
  src: string;
1978
1976
  alt: string;
1977
+ date_created: string;
1978
+ date_modified: string;
1979
1979
  }>, "many">;
1980
1980
  attributes: z.ZodArray<z.ZodObject<{
1981
1981
  id: z.ZodNumber;
@@ -1987,29 +1987,29 @@ declare const productSchema: z.ZodObject<{
1987
1987
  }, "strip", z.ZodTypeAny, {
1988
1988
  options: string[];
1989
1989
  id: number;
1990
- visible: boolean;
1991
1990
  name: string;
1992
- position: number;
1993
1991
  variation: boolean;
1992
+ visible: boolean;
1993
+ position: number;
1994
1994
  }, {
1995
1995
  options: string[];
1996
1996
  id: number;
1997
- visible: boolean;
1998
1997
  name: string;
1999
- position: number;
2000
1998
  variation: boolean;
1999
+ visible: boolean;
2000
+ position: number;
2001
2001
  }>, "many">;
2002
2002
  meta_data: z.ZodArray<z.ZodObject<{
2003
2003
  id: z.ZodNumber;
2004
2004
  key: z.ZodString;
2005
2005
  value: z.ZodAny;
2006
2006
  }, "strip", z.ZodTypeAny, {
2007
- id: number;
2008
2007
  key: string;
2008
+ id: number;
2009
2009
  value?: any;
2010
2010
  }, {
2011
- id: number;
2012
2011
  key: string;
2012
+ id: number;
2013
2013
  value?: any;
2014
2014
  }>, "many">;
2015
2015
  on_sale: z.ZodBoolean;
@@ -2017,15 +2017,47 @@ declare const productSchema: z.ZodObject<{
2017
2017
  }, "strip", z.ZodTypeAny, {
2018
2018
  type: string;
2019
2019
  status: string;
2020
- id: number;
2021
- slug: string;
2022
2020
  price: string;
2021
+ regular_price: string;
2022
+ sale_price: string;
2023
+ id: number;
2023
2024
  name: string;
2025
+ short_description: string;
2024
2026
  description: string;
2025
2027
  sku: string;
2028
+ images: {
2029
+ id: number;
2030
+ name: string;
2031
+ src: string;
2032
+ alt: string;
2033
+ date_created: string;
2034
+ date_modified: string;
2035
+ }[];
2036
+ catalog_visibility: string;
2037
+ meta_data: {
2038
+ key: string;
2039
+ id: number;
2040
+ value?: any;
2041
+ }[];
2042
+ date_created: string;
2043
+ slug: string;
2044
+ date_modified: string;
2026
2045
  featured: boolean;
2027
2046
  stock_status: "instock" | "outofstock" | "onbackorder";
2047
+ attributes: {
2048
+ options: string[];
2049
+ id: number;
2050
+ name: string;
2051
+ variation: boolean;
2052
+ visible: boolean;
2053
+ position: number;
2054
+ }[];
2028
2055
  on_sale: boolean;
2056
+ categories: {
2057
+ id: number;
2058
+ name: string;
2059
+ slug: string;
2060
+ }[];
2029
2061
  _links: {
2030
2062
  self: {
2031
2063
  href: string;
@@ -2033,60 +2065,60 @@ declare const productSchema: z.ZodObject<{
2033
2065
  collection: {
2034
2066
  href: string;
2035
2067
  }[];
2036
- author?: {
2068
+ about?: {
2037
2069
  href: string;
2038
- embeddable?: boolean | undefined;
2039
2070
  }[] | undefined;
2040
- about?: {
2071
+ author?: {
2041
2072
  href: string;
2073
+ embeddable?: boolean | undefined;
2042
2074
  }[] | undefined;
2043
2075
  };
2044
- meta_data: {
2045
- id: number;
2046
- key: string;
2047
- value?: any;
2048
- }[];
2049
- date_created: string;
2050
- date_modified: string;
2051
- catalog_visibility: string;
2052
- short_description: string;
2076
+ stock_quantity: number | null;
2077
+ manufacturer?: string | undefined;
2078
+ }, {
2079
+ type: string;
2080
+ status: string;
2081
+ price: string;
2053
2082
  regular_price: string;
2054
2083
  sale_price: string;
2055
- stock_quantity: number | null;
2056
- categories: {
2057
- id: number;
2058
- slug: string;
2059
- name: string;
2060
- }[];
2084
+ id: number;
2085
+ name: string;
2086
+ short_description: string;
2087
+ description: string;
2088
+ sku: string;
2061
2089
  images: {
2062
2090
  id: number;
2063
2091
  name: string;
2064
- date_created: string;
2065
- date_modified: string;
2066
2092
  src: string;
2067
2093
  alt: string;
2094
+ date_created: string;
2095
+ date_modified: string;
2068
2096
  }[];
2097
+ catalog_visibility: string;
2098
+ meta_data: {
2099
+ key: string;
2100
+ id: number;
2101
+ value?: any;
2102
+ }[];
2103
+ date_created: string;
2104
+ slug: string;
2105
+ date_modified: string;
2106
+ featured: boolean;
2107
+ stock_status: "instock" | "outofstock" | "onbackorder";
2069
2108
  attributes: {
2070
2109
  options: string[];
2071
2110
  id: number;
2072
- visible: boolean;
2073
2111
  name: string;
2074
- position: number;
2075
2112
  variation: boolean;
2113
+ visible: boolean;
2114
+ position: number;
2076
2115
  }[];
2077
- manufacturer?: string | undefined;
2078
- }, {
2079
- type: string;
2080
- status: string;
2081
- id: number;
2082
- slug: string;
2083
- price: string;
2084
- name: string;
2085
- description: string;
2086
- sku: string;
2087
- featured: boolean;
2088
- stock_status: "instock" | "outofstock" | "onbackorder";
2089
2116
  on_sale: boolean;
2117
+ categories: {
2118
+ id: number;
2119
+ name: string;
2120
+ slug: string;
2121
+ }[];
2090
2122
  _links: {
2091
2123
  self: {
2092
2124
  href: string;
@@ -2094,47 +2126,15 @@ declare const productSchema: z.ZodObject<{
2094
2126
  collection: {
2095
2127
  href: string;
2096
2128
  }[];
2097
- author?: {
2129
+ about?: {
2098
2130
  href: string;
2099
- embeddable?: boolean | undefined;
2100
2131
  }[] | undefined;
2101
- about?: {
2132
+ author?: {
2102
2133
  href: string;
2134
+ embeddable?: boolean | undefined;
2103
2135
  }[] | undefined;
2104
2136
  };
2105
- meta_data: {
2106
- id: number;
2107
- key: string;
2108
- value?: any;
2109
- }[];
2110
- date_created: string;
2111
- date_modified: string;
2112
- catalog_visibility: string;
2113
- short_description: string;
2114
- regular_price: string;
2115
- sale_price: string;
2116
2137
  stock_quantity: number | null;
2117
- categories: {
2118
- id: number;
2119
- slug: string;
2120
- name: string;
2121
- }[];
2122
- images: {
2123
- id: number;
2124
- name: string;
2125
- date_created: string;
2126
- date_modified: string;
2127
- src: string;
2128
- alt: string;
2129
- }[];
2130
- attributes: {
2131
- options: string[];
2132
- id: number;
2133
- visible: boolean;
2134
- name: string;
2135
- position: number;
2136
- variation: boolean;
2137
- }[];
2138
2138
  manufacturer?: string | undefined;
2139
2139
  }>;
2140
2140
  type Product = z.infer<typeof productSchema>;
@@ -2145,6 +2145,19 @@ type Product = z.infer<typeof productSchema>;
2145
2145
  declare const createCouponSchema: z.ZodObject<{
2146
2146
  status: z.ZodString;
2147
2147
  description: z.ZodString;
2148
+ meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2149
+ id: z.ZodNumber;
2150
+ key: z.ZodString;
2151
+ value: z.ZodAny;
2152
+ }, "strip", z.ZodTypeAny, {
2153
+ key: string;
2154
+ id: number;
2155
+ value?: any;
2156
+ }, {
2157
+ key: string;
2158
+ id: number;
2159
+ value?: any;
2160
+ }>, "many">>;
2148
2161
  _links: z.ZodObject<{
2149
2162
  self: z.ZodArray<z.ZodObject<{
2150
2163
  href: z.ZodString;
@@ -2184,12 +2197,12 @@ declare const createCouponSchema: z.ZodObject<{
2184
2197
  collection: {
2185
2198
  href: string;
2186
2199
  }[];
2187
- author?: {
2200
+ about?: {
2188
2201
  href: string;
2189
- embeddable?: boolean | undefined;
2190
2202
  }[] | undefined;
2191
- about?: {
2203
+ author?: {
2192
2204
  href: string;
2205
+ embeddable?: boolean | undefined;
2193
2206
  }[] | undefined;
2194
2207
  }, {
2195
2208
  self: {
@@ -2198,27 +2211,14 @@ declare const createCouponSchema: z.ZodObject<{
2198
2211
  collection: {
2199
2212
  href: string;
2200
2213
  }[];
2201
- author?: {
2214
+ about?: {
2202
2215
  href: string;
2203
- embeddable?: boolean | undefined;
2204
2216
  }[] | undefined;
2205
- about?: {
2217
+ author?: {
2206
2218
  href: string;
2219
+ embeddable?: boolean | undefined;
2207
2220
  }[] | undefined;
2208
2221
  }>;
2209
- meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2210
- id: z.ZodNumber;
2211
- key: z.ZodString;
2212
- value: z.ZodAny;
2213
- }, "strip", z.ZodTypeAny, {
2214
- id: number;
2215
- key: string;
2216
- value?: any;
2217
- }, {
2218
- id: number;
2219
- key: string;
2220
- value?: any;
2221
- }>, "many">>;
2222
2222
  discount_type: z.ZodEnum<["percent", "fixed_cart", "fixed_product"]>;
2223
2223
  date_expires: z.ZodNullable<z.ZodString>;
2224
2224
  individual_use: z.ZodBoolean;
@@ -2248,12 +2248,12 @@ declare const createCouponSchema: z.ZodObject<{
2248
2248
  collection: {
2249
2249
  href: string;
2250
2250
  }[];
2251
- author?: {
2251
+ about?: {
2252
2252
  href: string;
2253
- embeddable?: boolean | undefined;
2254
2253
  }[] | undefined;
2255
- about?: {
2254
+ author?: {
2256
2255
  href: string;
2256
+ embeddable?: boolean | undefined;
2257
2257
  }[] | undefined;
2258
2258
  };
2259
2259
  amount: string;
@@ -2273,8 +2273,8 @@ declare const createCouponSchema: z.ZodObject<{
2273
2273
  maximum_amount: string;
2274
2274
  email_restrictions: string[];
2275
2275
  meta_data?: {
2276
- id: number;
2277
2276
  key: string;
2277
+ id: number;
2278
2278
  value?: any;
2279
2279
  }[] | undefined;
2280
2280
  }, {
@@ -2288,12 +2288,12 @@ declare const createCouponSchema: z.ZodObject<{
2288
2288
  collection: {
2289
2289
  href: string;
2290
2290
  }[];
2291
- author?: {
2291
+ about?: {
2292
2292
  href: string;
2293
- embeddable?: boolean | undefined;
2294
2293
  }[] | undefined;
2295
- about?: {
2294
+ author?: {
2296
2295
  href: string;
2296
+ embeddable?: boolean | undefined;
2297
2297
  }[] | undefined;
2298
2298
  };
2299
2299
  amount: string;
@@ -2313,8 +2313,8 @@ declare const createCouponSchema: z.ZodObject<{
2313
2313
  maximum_amount: string;
2314
2314
  email_restrictions: string[];
2315
2315
  meta_data?: {
2316
- id: number;
2317
2316
  key: string;
2317
+ id: number;
2318
2318
  value?: any;
2319
2319
  }[] | undefined;
2320
2320
  }>;
@@ -2324,9 +2324,46 @@ type CreateCouponInput = z.infer<typeof createCouponSchema>;
2324
2324
  * Schema for creating a product category - omits server-generated fields
2325
2325
  */
2326
2326
  declare const createCategorySchema: z.ZodObject<{
2327
+ description: z.ZodString;
2328
+ meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2329
+ id: z.ZodNumber;
2330
+ key: z.ZodString;
2331
+ value: z.ZodAny;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ key: string;
2334
+ id: number;
2335
+ value?: any;
2336
+ }, {
2337
+ key: string;
2338
+ id: number;
2339
+ value?: any;
2340
+ }>, "many">>;
2327
2341
  slug: z.ZodString;
2342
+ parent: z.ZodNumber;
2343
+ display: z.ZodString;
2344
+ image: z.ZodNullable<z.ZodObject<{
2345
+ id: z.ZodNumber;
2346
+ date_created: z.ZodString;
2347
+ date_modified: z.ZodString;
2348
+ src: z.ZodString;
2349
+ name: z.ZodString;
2350
+ alt: z.ZodString;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ id: number;
2353
+ name: string;
2354
+ src: string;
2355
+ alt: string;
2356
+ date_created: string;
2357
+ date_modified: string;
2358
+ }, {
2359
+ id: number;
2360
+ name: string;
2361
+ src: string;
2362
+ alt: string;
2363
+ date_created: string;
2364
+ date_modified: string;
2365
+ }>>;
2328
2366
  menu_order: z.ZodNumber;
2329
- description: z.ZodString;
2330
2367
  _links: z.ZodObject<{
2331
2368
  self: z.ZodArray<z.ZodObject<{
2332
2369
  href: z.ZodString;
@@ -2366,12 +2403,12 @@ declare const createCategorySchema: z.ZodObject<{
2366
2403
  collection: {
2367
2404
  href: string;
2368
2405
  }[];
2369
- author?: {
2406
+ about?: {
2370
2407
  href: string;
2371
- embeddable?: boolean | undefined;
2372
2408
  }[] | undefined;
2373
- about?: {
2409
+ author?: {
2374
2410
  href: string;
2411
+ embeddable?: boolean | undefined;
2375
2412
  }[] | undefined;
2376
2413
  }, {
2377
2414
  self: {
@@ -2380,58 +2417,31 @@ declare const createCategorySchema: z.ZodObject<{
2380
2417
  collection: {
2381
2418
  href: string;
2382
2419
  }[];
2383
- author?: {
2420
+ about?: {
2384
2421
  href: string;
2385
- embeddable?: boolean | undefined;
2386
2422
  }[] | undefined;
2387
- about?: {
2423
+ author?: {
2388
2424
  href: string;
2425
+ embeddable?: boolean | undefined;
2389
2426
  }[] | undefined;
2390
2427
  }>;
2391
- meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
2392
- id: z.ZodNumber;
2393
- key: z.ZodString;
2394
- value: z.ZodAny;
2395
- }, "strip", z.ZodTypeAny, {
2396
- id: number;
2397
- key: string;
2398
- value?: any;
2399
- }, {
2400
- id: number;
2401
- key: string;
2402
- value?: any;
2403
- }>, "many">>;
2404
- parent: z.ZodNumber;
2405
- display: z.ZodString;
2406
- image: z.ZodNullable<z.ZodObject<{
2407
- id: z.ZodNumber;
2408
- date_created: z.ZodString;
2409
- date_modified: z.ZodString;
2410
- src: z.ZodString;
2411
- name: z.ZodString;
2412
- alt: z.ZodString;
2413
- }, "strip", z.ZodTypeAny, {
2428
+ } & {
2429
+ name: z.ZodString;
2430
+ }, "strip", z.ZodTypeAny, {
2431
+ name: string;
2432
+ description: string;
2433
+ slug: string;
2434
+ parent: number;
2435
+ display: string;
2436
+ image: {
2414
2437
  id: number;
2415
2438
  name: string;
2416
- date_created: string;
2417
- date_modified: string;
2418
2439
  src: string;
2419
2440
  alt: string;
2420
- }, {
2421
- id: number;
2422
- name: string;
2423
2441
  date_created: string;
2424
2442
  date_modified: string;
2425
- src: string;
2426
- alt: string;
2427
- }>>;
2428
- } & {
2429
- name: z.ZodString;
2430
- }, "strip", z.ZodTypeAny, {
2431
- slug: string;
2443
+ } | null;
2432
2444
  menu_order: number;
2433
- name: string;
2434
- description: string;
2435
2445
  _links: {
2436
2446
  self: {
2437
2447
  href: string;
@@ -2439,34 +2449,34 @@ declare const createCategorySchema: z.ZodObject<{
2439
2449
  collection: {
2440
2450
  href: string;
2441
2451
  }[];
2442
- author?: {
2452
+ about?: {
2443
2453
  href: string;
2444
- embeddable?: boolean | undefined;
2445
2454
  }[] | undefined;
2446
- about?: {
2455
+ author?: {
2447
2456
  href: string;
2457
+ embeddable?: boolean | undefined;
2448
2458
  }[] | undefined;
2449
2459
  };
2460
+ meta_data?: {
2461
+ key: string;
2462
+ id: number;
2463
+ value?: any;
2464
+ }[] | undefined;
2465
+ }, {
2466
+ name: string;
2467
+ description: string;
2468
+ slug: string;
2450
2469
  parent: number;
2451
2470
  display: string;
2452
2471
  image: {
2453
2472
  id: number;
2454
2473
  name: string;
2455
- date_created: string;
2456
- date_modified: string;
2457
2474
  src: string;
2458
2475
  alt: string;
2476
+ date_created: string;
2477
+ date_modified: string;
2459
2478
  } | null;
2460
- meta_data?: {
2461
- id: number;
2462
- key: string;
2463
- value?: any;
2464
- }[] | undefined;
2465
- }, {
2466
- slug: string;
2467
2479
  menu_order: number;
2468
- name: string;
2469
- description: string;
2470
2480
  _links: {
2471
2481
  self: {
2472
2482
  href: string;
@@ -2474,27 +2484,17 @@ declare const createCategorySchema: z.ZodObject<{
2474
2484
  collection: {
2475
2485
  href: string;
2476
2486
  }[];
2477
- author?: {
2487
+ about?: {
2478
2488
  href: string;
2479
- embeddable?: boolean | undefined;
2480
2489
  }[] | undefined;
2481
- about?: {
2490
+ author?: {
2482
2491
  href: string;
2492
+ embeddable?: boolean | undefined;
2483
2493
  }[] | undefined;
2484
2494
  };
2485
- parent: number;
2486
- display: string;
2487
- image: {
2488
- id: number;
2489
- name: string;
2490
- date_created: string;
2491
- date_modified: string;
2492
- src: string;
2493
- alt: string;
2494
- } | null;
2495
2495
  meta_data?: {
2496
- id: number;
2497
2496
  key: string;
2497
+ id: number;
2498
2498
  value?: any;
2499
2499
  }[] | undefined;
2500
2500
  }>;
@@ -2518,13 +2518,13 @@ declare const baseFilteringSchema: z.ZodObject<{
2518
2518
  exclude: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
2519
2519
  include: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
2520
2520
  }, "strip", z.ZodTypeAny, {
2521
- exclude: number[];
2522
2521
  include: number[];
2522
+ exclude: number[];
2523
2523
  search?: string | undefined;
2524
2524
  }, {
2525
+ include?: number[] | undefined;
2525
2526
  search?: string | undefined;
2526
2527
  exclude?: number[] | undefined;
2527
- include?: number[] | undefined;
2528
2528
  }>;
2529
2529
 
2530
2530
  declare const wcSortingSchema: z.ZodObject<{
@@ -2561,12 +2561,12 @@ declare const wcMetaDataSchema: z.ZodObject<{
2561
2561
  key: z.ZodString;
2562
2562
  value: z.ZodAny;
2563
2563
  }, "strip", z.ZodTypeAny, {
2564
- id: number;
2565
2564
  key: string;
2565
+ id: number;
2566
2566
  value?: any;
2567
2567
  }, {
2568
- id: number;
2569
2568
  key: string;
2569
+ id: number;
2570
2570
  value?: any;
2571
2571
  }>;
2572
2572
  declare const wcAddressSchema: z.ZodObject<{
@@ -2618,21 +2618,21 @@ declare const wcBaseParamsSchema: z.ZodObject<{
2618
2618
  }, "strip", z.ZodTypeAny, {
2619
2619
  page: number;
2620
2620
  per_page: number;
2621
- exclude: number[];
2622
- include: number[];
2623
2621
  order: "asc" | "desc";
2622
+ include: number[];
2623
+ exclude: number[];
2624
2624
  offset?: number | undefined;
2625
- search?: string | undefined;
2626
2625
  orderby?: string | undefined;
2626
+ search?: string | undefined;
2627
2627
  }, {
2628
2628
  page?: number | undefined;
2629
2629
  per_page?: number | undefined;
2630
2630
  offset?: number | undefined;
2631
- search?: string | undefined;
2632
- exclude?: number[] | undefined;
2633
- include?: number[] | undefined;
2634
2631
  order?: "asc" | "desc" | undefined;
2635
2632
  orderby?: string | undefined;
2633
+ include?: number[] | undefined;
2634
+ search?: string | undefined;
2635
+ exclude?: number[] | undefined;
2636
2636
  }>;
2637
2637
  declare const wcBaseResponseSchema: z.ZodObject<{
2638
2638
  _links: z.ZodObject<{
@@ -2674,12 +2674,12 @@ declare const wcBaseResponseSchema: z.ZodObject<{
2674
2674
  collection: {
2675
2675
  href: string;
2676
2676
  }[];
2677
- author?: {
2677
+ about?: {
2678
2678
  href: string;
2679
- embeddable?: boolean | undefined;
2680
2679
  }[] | undefined;
2681
- about?: {
2680
+ author?: {
2682
2681
  href: string;
2682
+ embeddable?: boolean | undefined;
2683
2683
  }[] | undefined;
2684
2684
  }, {
2685
2685
  self: {
@@ -2688,12 +2688,12 @@ declare const wcBaseResponseSchema: z.ZodObject<{
2688
2688
  collection: {
2689
2689
  href: string;
2690
2690
  }[];
2691
- author?: {
2691
+ about?: {
2692
2692
  href: string;
2693
- embeddable?: boolean | undefined;
2694
2693
  }[] | undefined;
2695
- about?: {
2694
+ author?: {
2696
2695
  href: string;
2696
+ embeddable?: boolean | undefined;
2697
2697
  }[] | undefined;
2698
2698
  }>;
2699
2699
  meta_data: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2701,12 +2701,12 @@ declare const wcBaseResponseSchema: z.ZodObject<{
2701
2701
  key: z.ZodString;
2702
2702
  value: z.ZodAny;
2703
2703
  }, "strip", z.ZodTypeAny, {
2704
- id: number;
2705
2704
  key: string;
2705
+ id: number;
2706
2706
  value?: any;
2707
2707
  }, {
2708
- id: number;
2709
2708
  key: string;
2709
+ id: number;
2710
2710
  value?: any;
2711
2711
  }>, "many">>;
2712
2712
  }, "strip", z.ZodTypeAny, {
@@ -2717,17 +2717,17 @@ declare const wcBaseResponseSchema: z.ZodObject<{
2717
2717
  collection: {
2718
2718
  href: string;
2719
2719
  }[];
2720
- author?: {
2720
+ about?: {
2721
2721
  href: string;
2722
- embeddable?: boolean | undefined;
2723
2722
  }[] | undefined;
2724
- about?: {
2723
+ author?: {
2725
2724
  href: string;
2725
+ embeddable?: boolean | undefined;
2726
2726
  }[] | undefined;
2727
2727
  };
2728
2728
  meta_data?: {
2729
- id: number;
2730
2729
  key: string;
2730
+ id: number;
2731
2731
  value?: any;
2732
2732
  }[] | undefined;
2733
2733
  }, {
@@ -2738,17 +2738,17 @@ declare const wcBaseResponseSchema: z.ZodObject<{
2738
2738
  collection: {
2739
2739
  href: string;
2740
2740
  }[];
2741
- author?: {
2741
+ about?: {
2742
2742
  href: string;
2743
- embeddable?: boolean | undefined;
2744
2743
  }[] | undefined;
2745
- about?: {
2744
+ author?: {
2746
2745
  href: string;
2746
+ embeddable?: boolean | undefined;
2747
2747
  }[] | undefined;
2748
2748
  };
2749
2749
  meta_data?: {
2750
- id: number;
2751
2750
  key: string;
2751
+ id: number;
2752
2752
  value?: any;
2753
2753
  }[] | undefined;
2754
2754
  }>;
@@ -2825,29 +2825,29 @@ declare const createPaginatedSchema: <T extends z.ZodType<any>>(schema: T) => z.
2825
2825
  perPage: number;
2826
2826
  }>;
2827
2827
  }, "strip", z.ZodTypeAny, {
2828
- data: T["_output"][];
2829
2828
  meta: {
2830
2829
  total: number;
2831
2830
  totalPages: number;
2832
2831
  currentPage: number;
2833
2832
  perPage: number;
2834
2833
  };
2834
+ data: T["_output"][];
2835
2835
  }, {
2836
- data: T["_input"][];
2837
2836
  meta: {
2838
2837
  total: number;
2839
2838
  totalPages: number;
2840
2839
  currentPage: number;
2841
2840
  perPage: number;
2842
2841
  };
2842
+ data: T["_input"][];
2843
2843
  }>;
2844
2844
 
2845
2845
  declare const wpStatusSchema: z.ZodObject<{
2846
2846
  status: z.ZodOptional<z.ZodEnum<["publish", "future", "draft", "pending", "private"]>>;
2847
2847
  }, "strip", z.ZodTypeAny, {
2848
- status?: "pending" | "future" | "draft" | "private" | "publish" | undefined;
2848
+ status?: "pending" | "draft" | "private" | "publish" | "future" | undefined;
2849
2849
  }, {
2850
- status?: "pending" | "future" | "draft" | "private" | "publish" | undefined;
2850
+ status?: "pending" | "draft" | "private" | "publish" | "future" | undefined;
2851
2851
  }>;
2852
2852
  declare const wpPaginationHeadersSchema: z.ZodObject<{
2853
2853
  'x-wp-total': z.ZodEffects<z.ZodString, number, string>;
@@ -2870,8 +2870,8 @@ declare const wpBaseParamsSchema: z.ZodObject<{
2870
2870
  }, "strip", z.ZodTypeAny, {
2871
2871
  page: number;
2872
2872
  per_page: number;
2873
- exclude: number[];
2874
2873
  include: number[];
2874
+ exclude: number[];
2875
2875
  context: "view" | "edit";
2876
2876
  offset?: number | undefined;
2877
2877
  search?: string | undefined;
@@ -2879,9 +2879,9 @@ declare const wpBaseParamsSchema: z.ZodObject<{
2879
2879
  page?: number | undefined;
2880
2880
  per_page?: number | undefined;
2881
2881
  offset?: number | undefined;
2882
+ include?: number[] | undefined;
2882
2883
  search?: string | undefined;
2883
2884
  exclude?: number[] | undefined;
2884
- include?: number[] | undefined;
2885
2885
  context?: "view" | "edit" | undefined;
2886
2886
  }>;
2887
2887
  declare const wpLinksSchema: z.ZodObject<{
@@ -2923,12 +2923,12 @@ declare const wpLinksSchema: z.ZodObject<{
2923
2923
  collection: {
2924
2924
  href: string;
2925
2925
  }[];
2926
- author?: {
2926
+ about?: {
2927
2927
  href: string;
2928
- embeddable?: boolean | undefined;
2929
2928
  }[] | undefined;
2930
- about?: {
2929
+ author?: {
2931
2930
  href: string;
2931
+ embeddable?: boolean | undefined;
2932
2932
  }[] | undefined;
2933
2933
  }, {
2934
2934
  self: {
@@ -2937,12 +2937,12 @@ declare const wpLinksSchema: z.ZodObject<{
2937
2937
  collection: {
2938
2938
  href: string;
2939
2939
  }[];
2940
- author?: {
2940
+ about?: {
2941
2941
  href: string;
2942
- embeddable?: boolean | undefined;
2943
2942
  }[] | undefined;
2944
- about?: {
2943
+ author?: {
2945
2944
  href: string;
2945
+ embeddable?: boolean | undefined;
2946
2946
  }[] | undefined;
2947
2947
  }>;
2948
2948
  type WPPaginationHeaders = z.infer<typeof wpPaginationHeadersSchema>;
@@ -3062,6 +3062,67 @@ declare const ENUM_RAW: {
3062
3062
  };
3063
3063
  };
3064
3064
 
3065
+ declare const loyaltySchemaFull: z.ZodObject<{
3066
+ brojkartice: z.ZodNumber;
3067
+ ime: z.ZodString;
3068
+ prezime: z.ZodString;
3069
+ datumrodjenja: z.ZodString;
3070
+ pol: z.ZodString;
3071
+ adresastanovanja: z.ZodString;
3072
+ adresazadostavu: z.ZodString;
3073
+ telefon: z.ZodString;
3074
+ mobilni: z.ZodString;
3075
+ email: z.ZodString;
3076
+ namaillisti: z.ZodString;
3077
+ ukupnobodova: z.ZodNumber;
3078
+ }, "strip", z.ZodTypeAny, {
3079
+ email: string;
3080
+ brojkartice: number;
3081
+ ime: string;
3082
+ prezime: string;
3083
+ datumrodjenja: string;
3084
+ pol: string;
3085
+ adresastanovanja: string;
3086
+ adresazadostavu: string;
3087
+ telefon: string;
3088
+ mobilni: string;
3089
+ namaillisti: string;
3090
+ ukupnobodova: number;
3091
+ }, {
3092
+ email: string;
3093
+ brojkartice: number;
3094
+ ime: string;
3095
+ prezime: string;
3096
+ datumrodjenja: string;
3097
+ pol: string;
3098
+ adresastanovanja: string;
3099
+ adresazadostavu: string;
3100
+ telefon: string;
3101
+ mobilni: string;
3102
+ namaillisti: string;
3103
+ ukupnobodova: number;
3104
+ }>;
3105
+ declare const loyaltySchemaRedacted: z.ZodObject<Pick<{
3106
+ brojkartice: z.ZodNumber;
3107
+ ime: z.ZodString;
3108
+ prezime: z.ZodString;
3109
+ datumrodjenja: z.ZodString;
3110
+ pol: z.ZodString;
3111
+ adresastanovanja: z.ZodString;
3112
+ adresazadostavu: z.ZodString;
3113
+ telefon: z.ZodString;
3114
+ mobilni: z.ZodString;
3115
+ email: z.ZodString;
3116
+ namaillisti: z.ZodString;
3117
+ ukupnobodova: z.ZodNumber;
3118
+ }, "brojkartice" | "ukupnobodova">, "strip", z.ZodTypeAny, {
3119
+ brojkartice: number;
3120
+ ukupnobodova: number;
3121
+ }, {
3122
+ brojkartice: number;
3123
+ ukupnobodova: number;
3124
+ }>;
3125
+
3065
3126
  declare const schemas: {
3066
3127
  readonly resources: {
3067
3128
  readonly product: {
@@ -3095,59 +3156,59 @@ declare const schemas: {
3095
3156
  modified_before: zod.ZodOptional<zod.ZodString>;
3096
3157
  dates_are_gmt: zod.ZodDefault<zod.ZodBoolean>;
3097
3158
  }, "strip", zod.ZodTypeAny, {
3159
+ status: "pending" | "any" | "draft" | "private" | "publish" | "future" | "trash";
3098
3160
  page: number;
3099
3161
  per_page: number;
3100
- status: "pending" | "trash" | "any" | "future" | "draft" | "private" | "publish";
3101
- exclude: number[];
3102
- include: number[];
3103
3162
  order: "asc" | "desc";
3104
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified" | "popularity" | "rating" | "menu_order" | "price";
3163
+ orderby: "price" | "id" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified";
3164
+ include: number[];
3165
+ exclude: number[];
3105
3166
  dates_are_gmt: boolean;
3167
+ type?: "simple" | "variable" | "grouped" | "external" | undefined;
3106
3168
  offset?: number | undefined;
3107
- type?: "simple" | "grouped" | "external" | "variable" | undefined;
3108
- search?: string | undefined;
3109
3169
  sku?: string | undefined;
3110
- featured?: boolean | undefined;
3111
- category?: string | undefined;
3112
- tag?: string | undefined;
3113
- shipping_class?: string | undefined;
3114
3170
  attribute?: string | undefined;
3115
- attribute_term?: string | undefined;
3116
- stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
3117
- on_sale?: boolean | undefined;
3118
- min_price?: string | undefined;
3119
- max_price?: string | undefined;
3171
+ search?: string | undefined;
3120
3172
  after?: string | undefined;
3121
3173
  before?: string | undefined;
3122
3174
  modified_after?: string | undefined;
3123
3175
  modified_before?: string | undefined;
3176
+ featured?: boolean | undefined;
3177
+ stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
3178
+ category?: string | undefined;
3179
+ tag?: string | undefined;
3180
+ min_price?: string | undefined;
3181
+ max_price?: string | undefined;
3182
+ on_sale?: boolean | undefined;
3183
+ shipping_class?: string | undefined;
3184
+ attribute_term?: string | undefined;
3124
3185
  }, {
3186
+ type?: "simple" | "variable" | "grouped" | "external" | undefined;
3187
+ status?: "pending" | "any" | "draft" | "private" | "publish" | "future" | "trash" | undefined;
3125
3188
  page?: number | undefined;
3126
3189
  per_page?: number | undefined;
3127
3190
  offset?: number | undefined;
3128
- type?: "simple" | "grouped" | "external" | "variable" | undefined;
3129
- status?: "pending" | "trash" | "any" | "future" | "draft" | "private" | "publish" | undefined;
3130
- search?: string | undefined;
3131
- exclude?: number[] | undefined;
3132
- include?: number[] | undefined;
3133
3191
  order?: "asc" | "desc" | undefined;
3134
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | "popularity" | "rating" | "menu_order" | "price" | undefined;
3192
+ orderby?: "price" | "id" | "date" | "slug" | "menu_order" | "include" | "title" | "popularity" | "rating" | "modified" | undefined;
3135
3193
  sku?: string | undefined;
3136
- featured?: boolean | undefined;
3137
- category?: string | undefined;
3138
- tag?: string | undefined;
3139
- shipping_class?: string | undefined;
3140
3194
  attribute?: string | undefined;
3141
- attribute_term?: string | undefined;
3142
- stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
3143
- on_sale?: boolean | undefined;
3144
- min_price?: string | undefined;
3145
- max_price?: string | undefined;
3195
+ include?: number[] | undefined;
3196
+ search?: string | undefined;
3146
3197
  after?: string | undefined;
3147
3198
  before?: string | undefined;
3148
3199
  modified_after?: string | undefined;
3149
3200
  modified_before?: string | undefined;
3201
+ exclude?: number[] | undefined;
3202
+ featured?: boolean | undefined;
3203
+ stock_status?: "instock" | "outofstock" | "onbackorder" | undefined;
3204
+ category?: string | undefined;
3205
+ tag?: string | undefined;
3206
+ min_price?: string | undefined;
3207
+ max_price?: string | undefined;
3208
+ on_sale?: boolean | undefined;
3150
3209
  dates_are_gmt?: boolean | undefined;
3210
+ shipping_class?: string | undefined;
3211
+ attribute_term?: string | undefined;
3151
3212
  }>;
3152
3213
  readonly entity: zod.ZodObject<{
3153
3214
  _links: zod.ZodObject<{
@@ -3189,12 +3250,12 @@ declare const schemas: {
3189
3250
  collection: {
3190
3251
  href: string;
3191
3252
  }[];
3192
- author?: {
3253
+ about?: {
3193
3254
  href: string;
3194
- embeddable?: boolean | undefined;
3195
3255
  }[] | undefined;
3196
- about?: {
3256
+ author?: {
3197
3257
  href: string;
3258
+ embeddable?: boolean | undefined;
3198
3259
  }[] | undefined;
3199
3260
  }, {
3200
3261
  self: {
@@ -3203,12 +3264,12 @@ declare const schemas: {
3203
3264
  collection: {
3204
3265
  href: string;
3205
3266
  }[];
3206
- author?: {
3267
+ about?: {
3207
3268
  href: string;
3208
- embeddable?: boolean | undefined;
3209
3269
  }[] | undefined;
3210
- about?: {
3270
+ author?: {
3211
3271
  href: string;
3272
+ embeddable?: boolean | undefined;
3212
3273
  }[] | undefined;
3213
3274
  }>;
3214
3275
  } & {
@@ -3235,12 +3296,12 @@ declare const schemas: {
3235
3296
  slug: zod.ZodString;
3236
3297
  }, "strip", zod.ZodTypeAny, {
3237
3298
  id: number;
3238
- slug: string;
3239
3299
  name: string;
3300
+ slug: string;
3240
3301
  }, {
3241
3302
  id: number;
3242
- slug: string;
3243
3303
  name: string;
3304
+ slug: string;
3244
3305
  }>, "many">;
3245
3306
  images: zod.ZodArray<zod.ZodObject<{
3246
3307
  id: zod.ZodNumber;
@@ -3252,17 +3313,17 @@ declare const schemas: {
3252
3313
  }, "strip", zod.ZodTypeAny, {
3253
3314
  id: number;
3254
3315
  name: string;
3255
- date_created: string;
3256
- date_modified: string;
3257
3316
  src: string;
3258
3317
  alt: string;
3318
+ date_created: string;
3319
+ date_modified: string;
3259
3320
  }, {
3260
3321
  id: number;
3261
3322
  name: string;
3262
- date_created: string;
3263
- date_modified: string;
3264
3323
  src: string;
3265
3324
  alt: string;
3325
+ date_created: string;
3326
+ date_modified: string;
3266
3327
  }>, "many">;
3267
3328
  attributes: zod.ZodArray<zod.ZodObject<{
3268
3329
  id: zod.ZodNumber;
@@ -3274,29 +3335,29 @@ declare const schemas: {
3274
3335
  }, "strip", zod.ZodTypeAny, {
3275
3336
  options: string[];
3276
3337
  id: number;
3277
- visible: boolean;
3278
3338
  name: string;
3279
- position: number;
3280
3339
  variation: boolean;
3340
+ visible: boolean;
3341
+ position: number;
3281
3342
  }, {
3282
3343
  options: string[];
3283
3344
  id: number;
3284
- visible: boolean;
3285
3345
  name: string;
3286
- position: number;
3287
3346
  variation: boolean;
3347
+ visible: boolean;
3348
+ position: number;
3288
3349
  }>, "many">;
3289
3350
  meta_data: zod.ZodArray<zod.ZodObject<{
3290
3351
  id: zod.ZodNumber;
3291
3352
  key: zod.ZodString;
3292
3353
  value: zod.ZodAny;
3293
3354
  }, "strip", zod.ZodTypeAny, {
3294
- id: number;
3295
3355
  key: string;
3356
+ id: number;
3296
3357
  value?: any;
3297
3358
  }, {
3298
- id: number;
3299
3359
  key: string;
3360
+ id: number;
3300
3361
  value?: any;
3301
3362
  }>, "many">;
3302
3363
  on_sale: zod.ZodBoolean;
@@ -3304,15 +3365,47 @@ declare const schemas: {
3304
3365
  }, "strip", zod.ZodTypeAny, {
3305
3366
  type: string;
3306
3367
  status: string;
3307
- id: number;
3308
- slug: string;
3309
3368
  price: string;
3369
+ regular_price: string;
3370
+ sale_price: string;
3371
+ id: number;
3310
3372
  name: string;
3373
+ short_description: string;
3311
3374
  description: string;
3312
3375
  sku: string;
3376
+ images: {
3377
+ id: number;
3378
+ name: string;
3379
+ src: string;
3380
+ alt: string;
3381
+ date_created: string;
3382
+ date_modified: string;
3383
+ }[];
3384
+ catalog_visibility: string;
3385
+ meta_data: {
3386
+ key: string;
3387
+ id: number;
3388
+ value?: any;
3389
+ }[];
3390
+ date_created: string;
3391
+ slug: string;
3392
+ date_modified: string;
3313
3393
  featured: boolean;
3314
3394
  stock_status: "instock" | "outofstock" | "onbackorder";
3395
+ attributes: {
3396
+ options: string[];
3397
+ id: number;
3398
+ name: string;
3399
+ variation: boolean;
3400
+ visible: boolean;
3401
+ position: number;
3402
+ }[];
3315
3403
  on_sale: boolean;
3404
+ categories: {
3405
+ id: number;
3406
+ name: string;
3407
+ slug: string;
3408
+ }[];
3316
3409
  _links: {
3317
3410
  self: {
3318
3411
  href: string;
@@ -3320,60 +3413,60 @@ declare const schemas: {
3320
3413
  collection: {
3321
3414
  href: string;
3322
3415
  }[];
3323
- author?: {
3416
+ about?: {
3324
3417
  href: string;
3325
- embeddable?: boolean | undefined;
3326
3418
  }[] | undefined;
3327
- about?: {
3419
+ author?: {
3328
3420
  href: string;
3421
+ embeddable?: boolean | undefined;
3329
3422
  }[] | undefined;
3330
3423
  };
3331
- meta_data: {
3332
- id: number;
3333
- key: string;
3334
- value?: any;
3335
- }[];
3336
- date_created: string;
3337
- date_modified: string;
3338
- catalog_visibility: string;
3339
- short_description: string;
3424
+ stock_quantity: number | null;
3425
+ manufacturer?: string | undefined;
3426
+ }, {
3427
+ type: string;
3428
+ status: string;
3429
+ price: string;
3340
3430
  regular_price: string;
3341
3431
  sale_price: string;
3342
- stock_quantity: number | null;
3343
- categories: {
3344
- id: number;
3345
- slug: string;
3346
- name: string;
3347
- }[];
3432
+ id: number;
3433
+ name: string;
3434
+ short_description: string;
3435
+ description: string;
3436
+ sku: string;
3348
3437
  images: {
3349
3438
  id: number;
3350
3439
  name: string;
3351
- date_created: string;
3352
- date_modified: string;
3353
3440
  src: string;
3354
3441
  alt: string;
3442
+ date_created: string;
3443
+ date_modified: string;
3444
+ }[];
3445
+ catalog_visibility: string;
3446
+ meta_data: {
3447
+ key: string;
3448
+ id: number;
3449
+ value?: any;
3355
3450
  }[];
3451
+ date_created: string;
3452
+ slug: string;
3453
+ date_modified: string;
3454
+ featured: boolean;
3455
+ stock_status: "instock" | "outofstock" | "onbackorder";
3356
3456
  attributes: {
3357
3457
  options: string[];
3358
3458
  id: number;
3359
- visible: boolean;
3360
3459
  name: string;
3361
- position: number;
3362
3460
  variation: boolean;
3461
+ visible: boolean;
3462
+ position: number;
3363
3463
  }[];
3364
- manufacturer?: string | undefined;
3365
- }, {
3366
- type: string;
3367
- status: string;
3368
- id: number;
3369
- slug: string;
3370
- price: string;
3371
- name: string;
3372
- description: string;
3373
- sku: string;
3374
- featured: boolean;
3375
- stock_status: "instock" | "outofstock" | "onbackorder";
3376
3464
  on_sale: boolean;
3465
+ categories: {
3466
+ id: number;
3467
+ name: string;
3468
+ slug: string;
3469
+ }[];
3377
3470
  _links: {
3378
3471
  self: {
3379
3472
  href: string;
@@ -3381,47 +3474,15 @@ declare const schemas: {
3381
3474
  collection: {
3382
3475
  href: string;
3383
3476
  }[];
3384
- author?: {
3477
+ about?: {
3385
3478
  href: string;
3386
- embeddable?: boolean | undefined;
3387
3479
  }[] | undefined;
3388
- about?: {
3480
+ author?: {
3389
3481
  href: string;
3482
+ embeddable?: boolean | undefined;
3390
3483
  }[] | undefined;
3391
3484
  };
3392
- meta_data: {
3393
- id: number;
3394
- key: string;
3395
- value?: any;
3396
- }[];
3397
- date_created: string;
3398
- date_modified: string;
3399
- catalog_visibility: string;
3400
- short_description: string;
3401
- regular_price: string;
3402
- sale_price: string;
3403
3485
  stock_quantity: number | null;
3404
- categories: {
3405
- id: number;
3406
- slug: string;
3407
- name: string;
3408
- }[];
3409
- images: {
3410
- id: number;
3411
- name: string;
3412
- date_created: string;
3413
- date_modified: string;
3414
- src: string;
3415
- alt: string;
3416
- }[];
3417
- attributes: {
3418
- options: string[];
3419
- id: number;
3420
- visible: boolean;
3421
- name: string;
3422
- position: number;
3423
- variation: boolean;
3424
- }[];
3425
3486
  manufacturer?: string | undefined;
3426
3487
  }>;
3427
3488
  readonly category: {
@@ -3442,29 +3503,29 @@ declare const schemas: {
3442
3503
  }, "strip", zod.ZodTypeAny, {
3443
3504
  page: number;
3444
3505
  per_page: number;
3445
- exclude: number[];
3446
- include: number[];
3447
- product: number | null;
3448
3506
  order: "asc" | "desc";
3449
- orderby: "include" | "id" | "slug" | "name" | "term_group" | "description" | "count";
3507
+ orderby: "id" | "name" | "description" | "slug" | "count" | "include" | "term_group";
3508
+ include: number[];
3509
+ exclude: number[];
3450
3510
  hide_empty: boolean;
3511
+ product: number | null;
3451
3512
  offset?: number | undefined;
3452
- search?: string | undefined;
3453
3513
  slug?: string | undefined;
3454
3514
  parent?: number | undefined;
3515
+ search?: string | undefined;
3455
3516
  }, {
3456
3517
  page?: number | undefined;
3457
3518
  per_page?: number | undefined;
3458
3519
  offset?: number | undefined;
3520
+ order?: "asc" | "desc" | undefined;
3521
+ orderby?: "id" | "name" | "description" | "slug" | "count" | "include" | "term_group" | undefined;
3522
+ slug?: string | undefined;
3523
+ parent?: number | undefined;
3524
+ include?: number[] | undefined;
3459
3525
  search?: string | undefined;
3460
3526
  exclude?: number[] | undefined;
3461
- include?: number[] | undefined;
3462
- slug?: string | undefined;
3463
- product?: number | null | undefined;
3464
- order?: "asc" | "desc" | undefined;
3465
- orderby?: "include" | "id" | "slug" | "name" | "term_group" | "description" | "count" | undefined;
3466
3527
  hide_empty?: boolean | undefined;
3467
- parent?: number | undefined;
3528
+ product?: number | null | undefined;
3468
3529
  }>;
3469
3530
  readonly entity: zod.ZodObject<{
3470
3531
  _links: zod.ZodObject<{
@@ -3506,12 +3567,12 @@ declare const schemas: {
3506
3567
  collection: {
3507
3568
  href: string;
3508
3569
  }[];
3509
- author?: {
3570
+ about?: {
3510
3571
  href: string;
3511
- embeddable?: boolean | undefined;
3512
3572
  }[] | undefined;
3513
- about?: {
3573
+ author?: {
3514
3574
  href: string;
3575
+ embeddable?: boolean | undefined;
3515
3576
  }[] | undefined;
3516
3577
  }, {
3517
3578
  self: {
@@ -3520,12 +3581,12 @@ declare const schemas: {
3520
3581
  collection: {
3521
3582
  href: string;
3522
3583
  }[];
3523
- author?: {
3584
+ about?: {
3524
3585
  href: string;
3525
- embeddable?: boolean | undefined;
3526
3586
  }[] | undefined;
3527
- about?: {
3587
+ author?: {
3528
3588
  href: string;
3589
+ embeddable?: boolean | undefined;
3529
3590
  }[] | undefined;
3530
3591
  }>;
3531
3592
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -3533,12 +3594,12 @@ declare const schemas: {
3533
3594
  key: zod.ZodString;
3534
3595
  value: zod.ZodAny;
3535
3596
  }, "strip", zod.ZodTypeAny, {
3536
- id: number;
3537
3597
  key: string;
3598
+ id: number;
3538
3599
  value?: any;
3539
3600
  }, {
3540
- id: number;
3541
3601
  key: string;
3602
+ id: number;
3542
3603
  value?: any;
3543
3604
  }>, "many">>;
3544
3605
  } & {
@@ -3558,26 +3619,36 @@ declare const schemas: {
3558
3619
  }, "strip", zod.ZodTypeAny, {
3559
3620
  id: number;
3560
3621
  name: string;
3561
- date_created: string;
3562
- date_modified: string;
3563
3622
  src: string;
3564
3623
  alt: string;
3624
+ date_created: string;
3625
+ date_modified: string;
3565
3626
  }, {
3566
3627
  id: number;
3567
3628
  name: string;
3629
+ src: string;
3630
+ alt: string;
3568
3631
  date_created: string;
3569
3632
  date_modified: string;
3633
+ }>>;
3634
+ menu_order: zod.ZodNumber;
3635
+ count: zod.ZodNumber;
3636
+ }, "strip", zod.ZodTypeAny, {
3637
+ id: number;
3638
+ name: string;
3639
+ description: string;
3640
+ slug: string;
3641
+ parent: number;
3642
+ display: string;
3643
+ image: {
3644
+ id: number;
3645
+ name: string;
3570
3646
  src: string;
3571
3647
  alt: string;
3572
- }>>;
3573
- menu_order: zod.ZodNumber;
3574
- count: zod.ZodNumber;
3575
- }, "strip", zod.ZodTypeAny, {
3576
- id: number;
3577
- slug: string;
3648
+ date_created: string;
3649
+ date_modified: string;
3650
+ } | null;
3578
3651
  menu_order: number;
3579
- name: string;
3580
- description: string;
3581
3652
  count: number;
3582
3653
  _links: {
3583
3654
  self: {
@@ -3586,35 +3657,35 @@ declare const schemas: {
3586
3657
  collection: {
3587
3658
  href: string;
3588
3659
  }[];
3589
- author?: {
3660
+ about?: {
3590
3661
  href: string;
3591
- embeddable?: boolean | undefined;
3592
3662
  }[] | undefined;
3593
- about?: {
3663
+ author?: {
3594
3664
  href: string;
3665
+ embeddable?: boolean | undefined;
3595
3666
  }[] | undefined;
3596
3667
  };
3668
+ meta_data?: {
3669
+ key: string;
3670
+ id: number;
3671
+ value?: any;
3672
+ }[] | undefined;
3673
+ }, {
3674
+ id: number;
3675
+ name: string;
3676
+ description: string;
3677
+ slug: string;
3597
3678
  parent: number;
3598
3679
  display: string;
3599
3680
  image: {
3600
3681
  id: number;
3601
3682
  name: string;
3602
- date_created: string;
3603
- date_modified: string;
3604
3683
  src: string;
3605
3684
  alt: string;
3685
+ date_created: string;
3686
+ date_modified: string;
3606
3687
  } | null;
3607
- meta_data?: {
3608
- id: number;
3609
- key: string;
3610
- value?: any;
3611
- }[] | undefined;
3612
- }, {
3613
- id: number;
3614
- slug: string;
3615
3688
  menu_order: number;
3616
- name: string;
3617
- description: string;
3618
3689
  count: number;
3619
3690
  _links: {
3620
3691
  self: {
@@ -3623,27 +3694,17 @@ declare const schemas: {
3623
3694
  collection: {
3624
3695
  href: string;
3625
3696
  }[];
3626
- author?: {
3697
+ about?: {
3627
3698
  href: string;
3628
- embeddable?: boolean | undefined;
3629
3699
  }[] | undefined;
3630
- about?: {
3700
+ author?: {
3631
3701
  href: string;
3702
+ embeddable?: boolean | undefined;
3632
3703
  }[] | undefined;
3633
3704
  };
3634
- parent: number;
3635
- display: string;
3636
- image: {
3637
- id: number;
3638
- name: string;
3639
- date_created: string;
3640
- date_modified: string;
3641
- src: string;
3642
- alt: string;
3643
- } | null;
3644
3705
  meta_data?: {
3645
- id: number;
3646
3706
  key: string;
3707
+ id: number;
3647
3708
  value?: any;
3648
3709
  }[] | undefined;
3649
3710
  }>;
@@ -3673,37 +3734,37 @@ declare const schemas: {
3673
3734
  }, "strip", zod.ZodTypeAny, {
3674
3735
  page: number;
3675
3736
  per_page: number;
3676
- exclude: number[];
3677
- include: number[];
3678
3737
  order: "asc" | "desc";
3679
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified";
3738
+ orderby: "id" | "date" | "slug" | "include" | "title" | "modified";
3739
+ include: number[];
3740
+ exclude: number[];
3680
3741
  dates_are_gmt: boolean;
3742
+ status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft")[] | undefined;
3681
3743
  offset?: number | undefined;
3682
- status?: ("cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft")[] | undefined;
3683
3744
  search?: string | undefined;
3684
- customer?: number | undefined;
3685
- product?: number | undefined;
3686
3745
  after?: string | undefined;
3687
3746
  before?: string | undefined;
3688
3747
  modified_after?: string | undefined;
3689
3748
  modified_before?: string | undefined;
3749
+ customer?: number | undefined;
3750
+ product?: number | undefined;
3690
3751
  dp?: number | undefined;
3691
3752
  }, {
3753
+ status?: ("pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft")[] | undefined;
3692
3754
  page?: number | undefined;
3693
3755
  per_page?: number | undefined;
3694
3756
  offset?: number | undefined;
3695
- status?: ("cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft")[] | undefined;
3696
- search?: string | undefined;
3697
- exclude?: number[] | undefined;
3698
- include?: number[] | undefined;
3699
- customer?: number | undefined;
3700
- product?: number | undefined;
3701
3757
  order?: "asc" | "desc" | undefined;
3702
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | undefined;
3758
+ orderby?: "id" | "date" | "slug" | "include" | "title" | "modified" | undefined;
3759
+ include?: number[] | undefined;
3760
+ search?: string | undefined;
3703
3761
  after?: string | undefined;
3704
3762
  before?: string | undefined;
3705
3763
  modified_after?: string | undefined;
3706
3764
  modified_before?: string | undefined;
3765
+ exclude?: number[] | undefined;
3766
+ customer?: number | undefined;
3767
+ product?: number | undefined;
3707
3768
  dates_are_gmt?: boolean | undefined;
3708
3769
  dp?: number | undefined;
3709
3770
  }>;
@@ -3747,12 +3808,12 @@ declare const schemas: {
3747
3808
  collection: {
3748
3809
  href: string;
3749
3810
  }[];
3750
- author?: {
3811
+ about?: {
3751
3812
  href: string;
3752
- embeddable?: boolean | undefined;
3753
3813
  }[] | undefined;
3754
- about?: {
3814
+ author?: {
3755
3815
  href: string;
3816
+ embeddable?: boolean | undefined;
3756
3817
  }[] | undefined;
3757
3818
  }, {
3758
3819
  self: {
@@ -3761,12 +3822,12 @@ declare const schemas: {
3761
3822
  collection: {
3762
3823
  href: string;
3763
3824
  }[];
3764
- author?: {
3825
+ about?: {
3765
3826
  href: string;
3766
- embeddable?: boolean | undefined;
3767
3827
  }[] | undefined;
3768
- about?: {
3828
+ author?: {
3769
3829
  href: string;
3830
+ embeddable?: boolean | undefined;
3770
3831
  }[] | undefined;
3771
3832
  }>;
3772
3833
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -3774,12 +3835,12 @@ declare const schemas: {
3774
3835
  key: zod.ZodString;
3775
3836
  value: zod.ZodAny;
3776
3837
  }, "strip", zod.ZodTypeAny, {
3777
- id: number;
3778
3838
  key: string;
3839
+ id: number;
3779
3840
  value?: any;
3780
3841
  }, {
3781
- id: number;
3782
3842
  key: string;
3843
+ id: number;
3783
3844
  value?: any;
3784
3845
  }>, "many">>;
3785
3846
  } & {
@@ -3888,31 +3949,31 @@ declare const schemas: {
3888
3949
  sku: zod.ZodString;
3889
3950
  price: zod.ZodNumber;
3890
3951
  }, "strip", zod.ZodTypeAny, {
3891
- id: number;
3952
+ total: string;
3892
3953
  price: number;
3954
+ id: number;
3955
+ quantity: number;
3893
3956
  name: string;
3894
3957
  sku: string;
3895
- total: string;
3958
+ total_tax: string;
3959
+ subtotal: string;
3896
3960
  product_id: number;
3897
3961
  variation_id: number;
3898
- quantity: number;
3899
3962
  tax_class: string;
3900
- subtotal: string;
3901
3963
  subtotal_tax: string;
3902
- total_tax: string;
3903
3964
  }, {
3904
- id: number;
3965
+ total: string;
3905
3966
  price: number;
3967
+ id: number;
3968
+ quantity: number;
3906
3969
  name: string;
3907
3970
  sku: string;
3908
- total: string;
3971
+ total_tax: string;
3972
+ subtotal: string;
3909
3973
  product_id: number;
3910
3974
  variation_id: number;
3911
- quantity: number;
3912
3975
  tax_class: string;
3913
- subtotal: string;
3914
3976
  subtotal_tax: string;
3915
- total_tax: string;
3916
3977
  }>, "many">;
3917
3978
  payment_url: zod.ZodOptional<zod.ZodString>;
3918
3979
  pikpay_transaction_id: zod.ZodOptional<zod.ZodString>;
@@ -3920,35 +3981,14 @@ declare const schemas: {
3920
3981
  monri_transaction_id: zod.ZodOptional<zod.ZodString>;
3921
3982
  monri_status: zod.ZodOptional<zod.ZodString>;
3922
3983
  }, "strip", zod.ZodTypeAny, {
3923
- status: "cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft";
3924
- id: number;
3925
- _links: {
3926
- self: {
3927
- href: string;
3928
- }[];
3929
- collection: {
3930
- href: string;
3931
- }[];
3932
- author?: {
3933
- href: string;
3934
- embeddable?: boolean | undefined;
3935
- }[] | undefined;
3936
- about?: {
3937
- href: string;
3938
- }[] | undefined;
3939
- };
3940
- date_created: string;
3941
- date_modified: string;
3942
- parent_id: number;
3943
- currency: string;
3944
- version: string;
3945
- prices_include_tax: boolean;
3946
- discount_total: string;
3947
- shipping_total: string;
3948
- cart_tax: string;
3984
+ status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft";
3949
3985
  total: string;
3950
- customer_id: number;
3986
+ id: number;
3987
+ payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3988
+ payment_method_title: string;
3951
3989
  order_key: string;
3990
+ currency: string;
3991
+ date_created: string;
3952
3992
  billing: {
3953
3993
  first_name: string;
3954
3994
  last_name: string;
@@ -3975,35 +4015,22 @@ declare const schemas: {
3975
4015
  phone: string;
3976
4016
  email?: string | undefined;
3977
4017
  };
3978
- payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
3979
- payment_method_title: string;
3980
4018
  line_items: {
3981
- id: number;
4019
+ total: string;
3982
4020
  price: number;
4021
+ id: number;
4022
+ quantity: number;
3983
4023
  name: string;
3984
4024
  sku: string;
3985
- total: string;
4025
+ total_tax: string;
4026
+ subtotal: string;
3986
4027
  product_id: number;
3987
4028
  variation_id: number;
3988
- quantity: number;
3989
4029
  tax_class: string;
3990
- subtotal: string;
3991
4030
  subtotal_tax: string;
3992
- total_tax: string;
3993
4031
  }[];
3994
- meta_data?: {
3995
- id: number;
3996
- key: string;
3997
- value?: any;
3998
- }[] | undefined;
3999
- payment_url?: string | undefined;
4000
- pikpay_transaction_id?: string | undefined;
4001
- pikpay_status?: string | undefined;
4002
- monri_transaction_id?: string | undefined;
4003
- monri_status?: string | undefined;
4004
- }, {
4005
- status: "cancelled" | "completed" | "pending" | "processing" | "on-hold" | "auto-draft" | "trash" | "refunded" | "failed" | "checkout-draft";
4006
- id: number;
4032
+ customer_id: number;
4033
+ date_modified: string;
4007
4034
  _links: {
4008
4035
  self: {
4009
4036
  href: string;
@@ -4011,26 +4038,39 @@ declare const schemas: {
4011
4038
  collection: {
4012
4039
  href: string;
4013
4040
  }[];
4014
- author?: {
4041
+ about?: {
4015
4042
  href: string;
4016
- embeddable?: boolean | undefined;
4017
4043
  }[] | undefined;
4018
- about?: {
4044
+ author?: {
4019
4045
  href: string;
4046
+ embeddable?: boolean | undefined;
4020
4047
  }[] | undefined;
4021
4048
  };
4022
- date_created: string;
4023
- date_modified: string;
4024
4049
  parent_id: number;
4025
- currency: string;
4026
4050
  version: string;
4027
4051
  prices_include_tax: boolean;
4028
4052
  discount_total: string;
4029
4053
  shipping_total: string;
4030
4054
  cart_tax: string;
4055
+ meta_data?: {
4056
+ key: string;
4057
+ id: number;
4058
+ value?: any;
4059
+ }[] | undefined;
4060
+ payment_url?: string | undefined;
4061
+ pikpay_transaction_id?: string | undefined;
4062
+ pikpay_status?: string | undefined;
4063
+ monri_transaction_id?: string | undefined;
4064
+ monri_status?: string | undefined;
4065
+ }, {
4066
+ status: "pending" | "processing" | "on-hold" | "completed" | "cancelled" | "refunded" | "failed" | "trash" | "auto-draft" | "checkout-draft";
4031
4067
  total: string;
4032
- customer_id: number;
4068
+ id: number;
4069
+ payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
4070
+ payment_method_title: string;
4033
4071
  order_key: string;
4072
+ currency: string;
4073
+ date_created: string;
4034
4074
  billing: {
4035
4075
  email: string;
4036
4076
  first_name?: string | undefined;
@@ -4057,25 +4097,46 @@ declare const schemas: {
4057
4097
  phone?: string | undefined;
4058
4098
  email?: string | undefined;
4059
4099
  };
4060
- payment_method: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
4061
- payment_method_title: string;
4062
4100
  line_items: {
4063
- id: number;
4101
+ total: string;
4064
4102
  price: number;
4103
+ id: number;
4104
+ quantity: number;
4065
4105
  name: string;
4066
4106
  sku: string;
4067
- total: string;
4107
+ total_tax: string;
4108
+ subtotal: string;
4068
4109
  product_id: number;
4069
4110
  variation_id: number;
4070
- quantity: number;
4071
4111
  tax_class: string;
4072
- subtotal: string;
4073
4112
  subtotal_tax: string;
4074
- total_tax: string;
4075
4113
  }[];
4114
+ customer_id: number;
4115
+ date_modified: string;
4116
+ _links: {
4117
+ self: {
4118
+ href: string;
4119
+ }[];
4120
+ collection: {
4121
+ href: string;
4122
+ }[];
4123
+ about?: {
4124
+ href: string;
4125
+ }[] | undefined;
4126
+ author?: {
4127
+ href: string;
4128
+ embeddable?: boolean | undefined;
4129
+ }[] | undefined;
4130
+ };
4131
+ parent_id: number;
4132
+ version: string;
4133
+ prices_include_tax: boolean;
4134
+ discount_total: string;
4135
+ shipping_total: string;
4136
+ cart_tax: string;
4076
4137
  meta_data?: {
4077
- id: number;
4078
4138
  key: string;
4139
+ id: number;
4079
4140
  value?: any;
4080
4141
  }[] | undefined;
4081
4142
  payment_url?: string | undefined;
@@ -4098,31 +4159,31 @@ declare const schemas: {
4098
4159
  sku: zod.ZodString;
4099
4160
  price: zod.ZodNumber;
4100
4161
  }, "strip", zod.ZodTypeAny, {
4101
- id: number;
4162
+ total: string;
4102
4163
  price: number;
4164
+ id: number;
4165
+ quantity: number;
4103
4166
  name: string;
4104
4167
  sku: string;
4105
- total: string;
4168
+ total_tax: string;
4169
+ subtotal: string;
4106
4170
  product_id: number;
4107
4171
  variation_id: number;
4108
- quantity: number;
4109
4172
  tax_class: string;
4110
- subtotal: string;
4111
4173
  subtotal_tax: string;
4112
- total_tax: string;
4113
4174
  }, {
4114
- id: number;
4175
+ total: string;
4115
4176
  price: number;
4177
+ id: number;
4178
+ quantity: number;
4116
4179
  name: string;
4117
4180
  sku: string;
4118
- total: string;
4181
+ total_tax: string;
4182
+ subtotal: string;
4119
4183
  product_id: number;
4120
4184
  variation_id: number;
4121
- quantity: number;
4122
4185
  tax_class: string;
4123
- subtotal: string;
4124
4186
  subtotal_tax: string;
4125
- total_tax: string;
4126
4187
  }>;
4127
4188
  };
4128
4189
  readonly customer: {
@@ -4141,25 +4202,25 @@ declare const schemas: {
4141
4202
  }, "strip", zod.ZodTypeAny, {
4142
4203
  page: number;
4143
4204
  per_page: number;
4144
- exclude: number[];
4145
- include: number[];
4146
4205
  order: "asc" | "desc";
4147
- orderby: "include" | "id" | "name" | "registered_date";
4148
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
4206
+ orderby: "id" | "name" | "include" | "registered_date";
4207
+ include: number[];
4208
+ exclude: number[];
4209
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
4210
+ email?: string | undefined;
4149
4211
  offset?: number | undefined;
4150
4212
  search?: string | undefined;
4151
- email?: string | undefined;
4152
4213
  }, {
4214
+ email?: string | undefined;
4153
4215
  page?: number | undefined;
4154
4216
  per_page?: number | undefined;
4155
4217
  offset?: number | undefined;
4218
+ order?: "asc" | "desc" | undefined;
4219
+ orderby?: "id" | "name" | "include" | "registered_date" | undefined;
4220
+ include?: number[] | undefined;
4156
4221
  search?: string | undefined;
4157
4222
  exclude?: number[] | undefined;
4158
- include?: number[] | undefined;
4159
- order?: "asc" | "desc" | undefined;
4160
- orderby?: "include" | "id" | "name" | "registered_date" | undefined;
4161
- email?: string | undefined;
4162
- role?: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager" | undefined;
4223
+ role?: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager" | undefined;
4163
4224
  }>;
4164
4225
  readonly entity: zod.ZodObject<{
4165
4226
  _links: zod.ZodObject<{
@@ -4201,12 +4262,12 @@ declare const schemas: {
4201
4262
  collection: {
4202
4263
  href: string;
4203
4264
  }[];
4204
- author?: {
4265
+ about?: {
4205
4266
  href: string;
4206
- embeddable?: boolean | undefined;
4207
4267
  }[] | undefined;
4208
- about?: {
4268
+ author?: {
4209
4269
  href: string;
4270
+ embeddable?: boolean | undefined;
4210
4271
  }[] | undefined;
4211
4272
  }, {
4212
4273
  self: {
@@ -4215,12 +4276,12 @@ declare const schemas: {
4215
4276
  collection: {
4216
4277
  href: string;
4217
4278
  }[];
4218
- author?: {
4279
+ about?: {
4219
4280
  href: string;
4220
- embeddable?: boolean | undefined;
4221
4281
  }[] | undefined;
4222
- about?: {
4282
+ author?: {
4223
4283
  href: string;
4284
+ embeddable?: boolean | undefined;
4224
4285
  }[] | undefined;
4225
4286
  }>;
4226
4287
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -4228,12 +4289,12 @@ declare const schemas: {
4228
4289
  key: zod.ZodString;
4229
4290
  value: zod.ZodAny;
4230
4291
  }, "strip", zod.ZodTypeAny, {
4231
- id: number;
4232
4292
  key: string;
4293
+ id: number;
4233
4294
  value?: any;
4234
4295
  }, {
4235
- id: number;
4236
4296
  key: string;
4297
+ id: number;
4237
4298
  value?: any;
4238
4299
  }>, "many">>;
4239
4300
  } & {
@@ -4323,27 +4384,11 @@ declare const schemas: {
4323
4384
  email?: string | undefined;
4324
4385
  }>;
4325
4386
  }, "strip", zod.ZodTypeAny, {
4326
- id: number;
4327
- _links: {
4328
- self: {
4329
- href: string;
4330
- }[];
4331
- collection: {
4332
- href: string;
4333
- }[];
4334
- author?: {
4335
- href: string;
4336
- embeddable?: boolean | undefined;
4337
- }[] | undefined;
4338
- about?: {
4339
- href: string;
4340
- }[] | undefined;
4341
- };
4342
- date_created: string;
4343
- date_modified: string;
4344
4387
  first_name: string;
4345
4388
  last_name: string;
4346
4389
  email: string;
4390
+ id: number;
4391
+ date_created: string;
4347
4392
  billing: {
4348
4393
  first_name: string;
4349
4394
  last_name: string;
@@ -4370,17 +4415,7 @@ declare const schemas: {
4370
4415
  phone: string;
4371
4416
  email?: string | undefined;
4372
4417
  };
4373
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
4374
- username: string;
4375
- is_paying_customer: boolean;
4376
- avatar_url: string;
4377
- meta_data?: {
4378
- id: number;
4379
- key: string;
4380
- value?: any;
4381
- }[] | undefined;
4382
- }, {
4383
- id: number;
4418
+ date_modified: string;
4384
4419
  _links: {
4385
4420
  self: {
4386
4421
  href: string;
@@ -4388,19 +4423,29 @@ declare const schemas: {
4388
4423
  collection: {
4389
4424
  href: string;
4390
4425
  }[];
4391
- author?: {
4426
+ about?: {
4392
4427
  href: string;
4393
- embeddable?: boolean | undefined;
4394
4428
  }[] | undefined;
4395
- about?: {
4429
+ author?: {
4396
4430
  href: string;
4431
+ embeddable?: boolean | undefined;
4397
4432
  }[] | undefined;
4398
4433
  };
4399
- date_created: string;
4400
- date_modified: string;
4434
+ username: string;
4435
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
4436
+ is_paying_customer: boolean;
4437
+ avatar_url: string;
4438
+ meta_data?: {
4439
+ key: string;
4440
+ id: number;
4441
+ value?: any;
4442
+ }[] | undefined;
4443
+ }, {
4401
4444
  first_name: string;
4402
4445
  last_name: string;
4403
4446
  email: string;
4447
+ id: number;
4448
+ date_created: string;
4404
4449
  billing: {
4405
4450
  email: string;
4406
4451
  first_name?: string | undefined;
@@ -4427,13 +4472,29 @@ declare const schemas: {
4427
4472
  phone?: string | undefined;
4428
4473
  email?: string | undefined;
4429
4474
  };
4430
- role: "all" | "administrator" | "editor" | "author" | "contributor" | "subscriber" | "customer" | "shop_manager";
4475
+ date_modified: string;
4476
+ _links: {
4477
+ self: {
4478
+ href: string;
4479
+ }[];
4480
+ collection: {
4481
+ href: string;
4482
+ }[];
4483
+ about?: {
4484
+ href: string;
4485
+ }[] | undefined;
4486
+ author?: {
4487
+ href: string;
4488
+ embeddable?: boolean | undefined;
4489
+ }[] | undefined;
4490
+ };
4431
4491
  username: string;
4492
+ role: "author" | "all" | "administrator" | "editor" | "contributor" | "subscriber" | "customer" | "shop_manager";
4432
4493
  is_paying_customer: boolean;
4433
4494
  avatar_url: string;
4434
4495
  meta_data?: {
4435
- id: number;
4436
4496
  key: string;
4497
+ id: number;
4437
4498
  value?: any;
4438
4499
  }[] | undefined;
4439
4500
  }>;
@@ -4477,12 +4538,12 @@ declare const schemas: {
4477
4538
  collection: {
4478
4539
  href: string;
4479
4540
  }[];
4480
- author?: {
4541
+ about?: {
4481
4542
  href: string;
4482
- embeddable?: boolean | undefined;
4483
4543
  }[] | undefined;
4484
- about?: {
4544
+ author?: {
4485
4545
  href: string;
4546
+ embeddable?: boolean | undefined;
4486
4547
  }[] | undefined;
4487
4548
  }, {
4488
4549
  self: {
@@ -4491,12 +4552,12 @@ declare const schemas: {
4491
4552
  collection: {
4492
4553
  href: string;
4493
4554
  }[];
4494
- author?: {
4555
+ about?: {
4495
4556
  href: string;
4496
- embeddable?: boolean | undefined;
4497
4557
  }[] | undefined;
4498
- about?: {
4558
+ author?: {
4499
4559
  href: string;
4560
+ embeddable?: boolean | undefined;
4500
4561
  }[] | undefined;
4501
4562
  }>;
4502
4563
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -4504,12 +4565,12 @@ declare const schemas: {
4504
4565
  key: zod.ZodString;
4505
4566
  value: zod.ZodAny;
4506
4567
  }, "strip", zod.ZodTypeAny, {
4507
- id: number;
4508
4568
  key: string;
4569
+ id: number;
4509
4570
  value?: any;
4510
4571
  }, {
4511
- id: number;
4512
4572
  key: string;
4573
+ id: number;
4513
4574
  value?: any;
4514
4575
  }>, "many">>;
4515
4576
  } & {
@@ -4796,23 +4857,23 @@ declare const schemas: {
4796
4857
  }, "strip", zod.ZodTypeAny, {
4797
4858
  page: number;
4798
4859
  per_page: number;
4799
- exclude: number[];
4800
- include: number[];
4801
4860
  order: "asc" | "desc";
4802
- orderby: "include" | "date" | "id" | "title" | "slug" | "modified";
4803
- offset?: number | undefined;
4861
+ orderby: "id" | "date" | "slug" | "include" | "title" | "modified";
4862
+ include: number[];
4863
+ exclude: number[];
4804
4864
  code?: string | undefined;
4865
+ offset?: number | undefined;
4805
4866
  search?: string | undefined;
4806
4867
  }, {
4868
+ code?: string | undefined;
4807
4869
  page?: number | undefined;
4808
4870
  per_page?: number | undefined;
4809
4871
  offset?: number | undefined;
4810
- code?: string | undefined;
4872
+ order?: "asc" | "desc" | undefined;
4873
+ orderby?: "id" | "date" | "slug" | "include" | "title" | "modified" | undefined;
4874
+ include?: number[] | undefined;
4811
4875
  search?: string | undefined;
4812
4876
  exclude?: number[] | undefined;
4813
- include?: number[] | undefined;
4814
- order?: "asc" | "desc" | undefined;
4815
- orderby?: "include" | "date" | "id" | "title" | "slug" | "modified" | undefined;
4816
4877
  }>;
4817
4878
  readonly entity: zod.ZodObject<{
4818
4879
  _links: zod.ZodObject<{
@@ -4854,12 +4915,12 @@ declare const schemas: {
4854
4915
  collection: {
4855
4916
  href: string;
4856
4917
  }[];
4857
- author?: {
4918
+ about?: {
4858
4919
  href: string;
4859
- embeddable?: boolean | undefined;
4860
4920
  }[] | undefined;
4861
- about?: {
4921
+ author?: {
4862
4922
  href: string;
4923
+ embeddable?: boolean | undefined;
4863
4924
  }[] | undefined;
4864
4925
  }, {
4865
4926
  self: {
@@ -4868,12 +4929,12 @@ declare const schemas: {
4868
4929
  collection: {
4869
4930
  href: string;
4870
4931
  }[];
4871
- author?: {
4932
+ about?: {
4872
4933
  href: string;
4873
- embeddable?: boolean | undefined;
4874
4934
  }[] | undefined;
4875
- about?: {
4935
+ author?: {
4876
4936
  href: string;
4937
+ embeddable?: boolean | undefined;
4877
4938
  }[] | undefined;
4878
4939
  }>;
4879
4940
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -4881,12 +4942,12 @@ declare const schemas: {
4881
4942
  key: zod.ZodString;
4882
4943
  value: zod.ZodAny;
4883
4944
  }, "strip", zod.ZodTypeAny, {
4884
- id: number;
4885
4945
  key: string;
4946
+ id: number;
4886
4947
  value?: any;
4887
4948
  }, {
4888
- id: number;
4889
4949
  key: string;
4950
+ id: number;
4890
4951
  value?: any;
4891
4952
  }>, "many">>;
4892
4953
  } & {
@@ -4923,12 +4984,12 @@ declare const schemas: {
4923
4984
  collection: {
4924
4985
  href: string;
4925
4986
  }[];
4926
- author?: {
4987
+ about?: {
4927
4988
  href: string;
4928
- embeddable?: boolean | undefined;
4929
4989
  }[] | undefined;
4930
- about?: {
4990
+ author?: {
4931
4991
  href: string;
4992
+ embeddable?: boolean | undefined;
4932
4993
  }[] | undefined;
4933
4994
  };
4934
4995
  amount: string;
@@ -4949,8 +5010,8 @@ declare const schemas: {
4949
5010
  maximum_amount: string;
4950
5011
  email_restrictions: string[];
4951
5012
  meta_data?: {
4952
- id: number;
4953
5013
  key: string;
5014
+ id: number;
4954
5015
  value?: any;
4955
5016
  }[] | undefined;
4956
5017
  }, {
@@ -4965,12 +5026,12 @@ declare const schemas: {
4965
5026
  collection: {
4966
5027
  href: string;
4967
5028
  }[];
4968
- author?: {
5029
+ about?: {
4969
5030
  href: string;
4970
- embeddable?: boolean | undefined;
4971
5031
  }[] | undefined;
4972
- about?: {
5032
+ author?: {
4973
5033
  href: string;
5034
+ embeddable?: boolean | undefined;
4974
5035
  }[] | undefined;
4975
5036
  };
4976
5037
  amount: string;
@@ -4991,14 +5052,27 @@ declare const schemas: {
4991
5052
  maximum_amount: string;
4992
5053
  email_restrictions: string[];
4993
5054
  meta_data?: {
4994
- id: number;
4995
5055
  key: string;
5056
+ id: number;
4996
5057
  value?: any;
4997
5058
  }[] | undefined;
4998
5059
  }>;
4999
5060
  readonly create: zod.ZodObject<{
5000
5061
  status: zod.ZodString;
5001
5062
  description: zod.ZodString;
5063
+ meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5064
+ id: zod.ZodNumber;
5065
+ key: zod.ZodString;
5066
+ value: zod.ZodAny;
5067
+ }, "strip", zod.ZodTypeAny, {
5068
+ key: string;
5069
+ id: number;
5070
+ value?: any;
5071
+ }, {
5072
+ key: string;
5073
+ id: number;
5074
+ value?: any;
5075
+ }>, "many">>;
5002
5076
  _links: zod.ZodObject<{
5003
5077
  self: zod.ZodArray<zod.ZodObject<{
5004
5078
  href: zod.ZodString;
@@ -5038,12 +5112,12 @@ declare const schemas: {
5038
5112
  collection: {
5039
5113
  href: string;
5040
5114
  }[];
5041
- author?: {
5115
+ about?: {
5042
5116
  href: string;
5043
- embeddable?: boolean | undefined;
5044
5117
  }[] | undefined;
5045
- about?: {
5118
+ author?: {
5046
5119
  href: string;
5120
+ embeddable?: boolean | undefined;
5047
5121
  }[] | undefined;
5048
5122
  }, {
5049
5123
  self: {
@@ -5052,27 +5126,14 @@ declare const schemas: {
5052
5126
  collection: {
5053
5127
  href: string;
5054
5128
  }[];
5055
- author?: {
5129
+ about?: {
5056
5130
  href: string;
5057
- embeddable?: boolean | undefined;
5058
5131
  }[] | undefined;
5059
- about?: {
5132
+ author?: {
5060
5133
  href: string;
5134
+ embeddable?: boolean | undefined;
5061
5135
  }[] | undefined;
5062
5136
  }>;
5063
- meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
5064
- id: zod.ZodNumber;
5065
- key: zod.ZodString;
5066
- value: zod.ZodAny;
5067
- }, "strip", zod.ZodTypeAny, {
5068
- id: number;
5069
- key: string;
5070
- value?: any;
5071
- }, {
5072
- id: number;
5073
- key: string;
5074
- value?: any;
5075
- }>, "many">>;
5076
5137
  discount_type: zod.ZodEnum<["percent", "fixed_cart", "fixed_product"]>;
5077
5138
  date_expires: zod.ZodNullable<zod.ZodString>;
5078
5139
  individual_use: zod.ZodBoolean;
@@ -5102,12 +5163,12 @@ declare const schemas: {
5102
5163
  collection: {
5103
5164
  href: string;
5104
5165
  }[];
5105
- author?: {
5166
+ about?: {
5106
5167
  href: string;
5107
- embeddable?: boolean | undefined;
5108
5168
  }[] | undefined;
5109
- about?: {
5169
+ author?: {
5110
5170
  href: string;
5171
+ embeddable?: boolean | undefined;
5111
5172
  }[] | undefined;
5112
5173
  };
5113
5174
  amount: string;
@@ -5127,8 +5188,8 @@ declare const schemas: {
5127
5188
  maximum_amount: string;
5128
5189
  email_restrictions: string[];
5129
5190
  meta_data?: {
5130
- id: number;
5131
5191
  key: string;
5192
+ id: number;
5132
5193
  value?: any;
5133
5194
  }[] | undefined;
5134
5195
  }, {
@@ -5142,12 +5203,12 @@ declare const schemas: {
5142
5203
  collection: {
5143
5204
  href: string;
5144
5205
  }[];
5145
- author?: {
5206
+ about?: {
5146
5207
  href: string;
5147
- embeddable?: boolean | undefined;
5148
5208
  }[] | undefined;
5149
- about?: {
5209
+ author?: {
5150
5210
  href: string;
5211
+ embeddable?: boolean | undefined;
5151
5212
  }[] | undefined;
5152
5213
  };
5153
5214
  amount: string;
@@ -5167,8 +5228,8 @@ declare const schemas: {
5167
5228
  maximum_amount: string;
5168
5229
  email_restrictions: string[];
5169
5230
  meta_data?: {
5170
- id: number;
5171
5231
  key: string;
5232
+ id: number;
5172
5233
  value?: any;
5173
5234
  }[] | undefined;
5174
5235
  }>;
@@ -5188,22 +5249,22 @@ declare const schemas: {
5188
5249
  }, "strip", zod.ZodTypeAny, {
5189
5250
  page: number;
5190
5251
  per_page: number;
5191
- exclude: number[];
5192
- include: number[];
5193
5252
  order: "asc" | "desc";
5253
+ include: number[];
5254
+ exclude: number[];
5194
5255
  offset?: number | undefined;
5195
- search?: string | undefined;
5196
5256
  orderby?: string | undefined;
5257
+ search?: string | undefined;
5197
5258
  enabled?: boolean | undefined;
5198
5259
  }, {
5199
5260
  page?: number | undefined;
5200
5261
  per_page?: number | undefined;
5201
5262
  offset?: number | undefined;
5202
- search?: string | undefined;
5203
- exclude?: number[] | undefined;
5204
- include?: number[] | undefined;
5205
5263
  order?: "asc" | "desc" | undefined;
5206
5264
  orderby?: string | undefined;
5265
+ include?: number[] | undefined;
5266
+ search?: string | undefined;
5267
+ exclude?: number[] | undefined;
5207
5268
  enabled?: boolean | undefined;
5208
5269
  }>;
5209
5270
  readonly entity: zod.ZodObject<{
@@ -5246,12 +5307,12 @@ declare const schemas: {
5246
5307
  collection: {
5247
5308
  href: string;
5248
5309
  }[];
5249
- author?: {
5310
+ about?: {
5250
5311
  href: string;
5251
- embeddable?: boolean | undefined;
5252
5312
  }[] | undefined;
5253
- about?: {
5313
+ author?: {
5254
5314
  href: string;
5315
+ embeddable?: boolean | undefined;
5255
5316
  }[] | undefined;
5256
5317
  }, {
5257
5318
  self: {
@@ -5260,12 +5321,12 @@ declare const schemas: {
5260
5321
  collection: {
5261
5322
  href: string;
5262
5323
  }[];
5263
- author?: {
5324
+ about?: {
5264
5325
  href: string;
5265
- embeddable?: boolean | undefined;
5266
5326
  }[] | undefined;
5267
- about?: {
5327
+ author?: {
5268
5328
  href: string;
5329
+ embeddable?: boolean | undefined;
5269
5330
  }[] | undefined;
5270
5331
  }>;
5271
5332
  meta_data: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -5273,12 +5334,12 @@ declare const schemas: {
5273
5334
  key: zod.ZodString;
5274
5335
  value: zod.ZodAny;
5275
5336
  }, "strip", zod.ZodTypeAny, {
5276
- id: number;
5277
5337
  key: string;
5338
+ id: number;
5278
5339
  value?: any;
5279
5340
  }, {
5280
- id: number;
5281
5341
  key: string;
5342
+ id: number;
5282
5343
  value?: any;
5283
5344
  }>, "many">>;
5284
5345
  } & {
@@ -5290,8 +5351,8 @@ declare const schemas: {
5290
5351
  method_description: zod.ZodString;
5291
5352
  }, "strip", zod.ZodTypeAny, {
5292
5353
  id: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
5293
- title: string;
5294
5354
  description: string;
5355
+ title: string;
5295
5356
  _links: {
5296
5357
  self: {
5297
5358
  href: string;
@@ -5299,26 +5360,26 @@ declare const schemas: {
5299
5360
  collection: {
5300
5361
  href: string;
5301
5362
  }[];
5302
- author?: {
5363
+ about?: {
5303
5364
  href: string;
5304
- embeddable?: boolean | undefined;
5305
5365
  }[] | undefined;
5306
- about?: {
5366
+ author?: {
5307
5367
  href: string;
5368
+ embeddable?: boolean | undefined;
5308
5369
  }[] | undefined;
5309
5370
  };
5310
5371
  enabled: boolean;
5311
5372
  method_title: string;
5312
5373
  method_description: string;
5313
5374
  meta_data?: {
5314
- id: number;
5315
5375
  key: string;
5376
+ id: number;
5316
5377
  value?: any;
5317
5378
  }[] | undefined;
5318
5379
  }, {
5319
5380
  id: "cod" | "monri" | "pikpay" | "bacs" | "cheque";
5320
- title: string;
5321
5381
  description: string;
5382
+ title: string;
5322
5383
  _links: {
5323
5384
  self: {
5324
5385
  href: string;
@@ -5326,20 +5387,20 @@ declare const schemas: {
5326
5387
  collection: {
5327
5388
  href: string;
5328
5389
  }[];
5329
- author?: {
5390
+ about?: {
5330
5391
  href: string;
5331
- embeddable?: boolean | undefined;
5332
5392
  }[] | undefined;
5333
- about?: {
5393
+ author?: {
5334
5394
  href: string;
5395
+ embeddable?: boolean | undefined;
5335
5396
  }[] | undefined;
5336
5397
  };
5337
5398
  enabled: boolean;
5338
5399
  method_title: string;
5339
5400
  method_description: string;
5340
5401
  meta_data?: {
5341
- id: number;
5342
5402
  key: string;
5403
+ id: number;
5343
5404
  value?: any;
5344
5405
  }[] | undefined;
5345
5406
  }>;
@@ -5347,4 +5408,4 @@ declare const schemas: {
5347
5408
  };
5348
5409
  };
5349
5410
 
5350
- export { APP_ENUMS, type CategoryFilterParams, type Coupon, type CouponFilterParams, type CreateCategoryInput, type CreateCouponInput, type Customer, type CustomerFilterParams, ENUM_RAW, type Order, type OrderFilterParams, type PaymentMethod, type PaymentMethodFilterParams, type Product, type ProductCategory, type ProductFilterParams, type TAppEnum, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, type WPPaginationHeaders, baseFilteringSchema, basePaginationSchema, categoryFilterSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, orderFilterSchema, orderLineItemSchema, orderSchema, paymentMethodFilterSchema, paymentMethodSchema, productCategorySchema, productFilterSchema, productImageSchema, productSchema, schemas, updateCustomerSchema, wcAddressSchema, wcBaseParamsSchema, wcBaseResponseSchema, wcDateFilterSchema, wcErrorResponseSchema, wcMetaDataSchema, wcPaginationMetaSchema, wcSortingSchema, wpBaseParamsSchema, wpLinksSchema, wpPaginationHeadersSchema, wpStatusSchema };
5411
+ export { APP_ENUMS, type CategoryFilterParams, type Coupon, type CouponFilterParams, type CreateCategoryInput, type CreateCouponInput, type Customer, type CustomerFilterParams, ENUM_RAW, type Order, type OrderFilterParams, type PaymentMethod, type PaymentMethodFilterParams, type Product, type ProductCategory, type ProductFilterParams, type TAppEnum, type TAppEnumsKeys, type WCBaseParams, type WCErrorResponse, type WCPaginationMeta, type WPPaginationHeaders, baseFilteringSchema, basePaginationSchema, categoryFilterSchema, couponFilterSchema, couponSchema, createCategorySchema, createCouponSchema, createCustomerSchema, createPaginatedSchema, customerFilterSchema, customerSchema, getAppEnumRaw, getAppEnumZod, loyaltySchemaFull, loyaltySchemaRedacted, orderFilterSchema, orderLineItemSchema, orderSchema, paymentMethodFilterSchema, paymentMethodSchema, productCategorySchema, productFilterSchema, productImageSchema, productSchema, schemas, updateCustomerSchema, wcAddressSchema, wcBaseParamsSchema, wcBaseResponseSchema, wcDateFilterSchema, wcErrorResponseSchema, wcMetaDataSchema, wcPaginationMetaSchema, wcSortingSchema, wpBaseParamsSchema, wpLinksSchema, wpPaginationHeadersSchema, wpStatusSchema };