@epcc-sdk/sdks-files 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,95 +1,31 @@
1
- import { z } from 'zod';
1
+ import * as z from 'zod';
2
2
 
3
3
  declare const zFileMeta: z.ZodObject<{
4
4
  timestamps: z.ZodOptional<z.ZodObject<{
5
5
  created_at: z.ZodOptional<z.ZodString>;
6
- }, "strip", z.ZodTypeAny, {
7
- created_at?: string | undefined;
8
- }, {
9
- created_at?: string | undefined;
10
- }>>;
6
+ }, z.core.$strip>>;
11
7
  dimensions: z.ZodOptional<z.ZodObject<{
12
- width: z.ZodOptional<z.ZodNumber>;
13
- height: z.ZodOptional<z.ZodNumber>;
14
- }, "strip", z.ZodTypeAny, {
15
- width?: number | undefined;
16
- height?: number | undefined;
17
- }, {
18
- width?: number | undefined;
19
- height?: number | undefined;
20
- }>>;
21
- }, "strip", z.ZodTypeAny, {
22
- timestamps?: {
23
- created_at?: string | undefined;
24
- } | undefined;
25
- dimensions?: {
26
- width?: number | undefined;
27
- height?: number | undefined;
28
- } | undefined;
29
- }, {
30
- timestamps?: {
31
- created_at?: string | undefined;
32
- } | undefined;
33
- dimensions?: {
34
- width?: number | undefined;
35
- height?: number | undefined;
36
- } | undefined;
37
- }>;
8
+ width: z.ZodOptional<z.ZodInt>;
9
+ height: z.ZodOptional<z.ZodInt>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>;
38
12
  declare const zResultsMeta: z.ZodObject<{
39
13
  page: z.ZodOptional<z.ZodObject<{
40
- limit: z.ZodOptional<z.ZodNumber>;
41
- offset: z.ZodOptional<z.ZodNumber>;
42
- current: z.ZodOptional<z.ZodNumber>;
43
- total: z.ZodOptional<z.ZodNumber>;
44
- }, "strip", z.ZodTypeAny, {
45
- limit?: number | undefined;
46
- offset?: number | undefined;
47
- current?: number | undefined;
48
- total?: number | undefined;
49
- }, {
50
- limit?: number | undefined;
51
- offset?: number | undefined;
52
- current?: number | undefined;
53
- total?: number | undefined;
54
- }>>;
14
+ limit: z.ZodOptional<z.ZodInt>;
15
+ offset: z.ZodOptional<z.ZodInt>;
16
+ current: z.ZodOptional<z.ZodInt>;
17
+ total: z.ZodOptional<z.ZodInt>;
18
+ }, z.core.$strip>>;
55
19
  results: z.ZodOptional<z.ZodObject<{
56
- total: z.ZodOptional<z.ZodNumber>;
57
- }, "strip", z.ZodTypeAny, {
58
- total?: number | undefined;
59
- }, {
60
- total?: number | undefined;
61
- }>>;
62
- }, "strip", z.ZodTypeAny, {
63
- page?: {
64
- limit?: number | undefined;
65
- offset?: number | undefined;
66
- current?: number | undefined;
67
- total?: number | undefined;
68
- } | undefined;
69
- results?: {
70
- total?: number | undefined;
71
- } | undefined;
72
- }, {
73
- page?: {
74
- limit?: number | undefined;
75
- offset?: number | undefined;
76
- current?: number | undefined;
77
- total?: number | undefined;
78
- } | undefined;
79
- results?: {
80
- total?: number | undefined;
81
- } | undefined;
82
- }>;
20
+ total: z.ZodOptional<z.ZodInt>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>;
83
23
  /**
84
24
  * Links are used to allow you to move between requests.
85
25
  */
86
26
  declare const zLinks: z.ZodObject<{
87
27
  self: z.ZodOptional<z.ZodString>;
88
- }, "strip", z.ZodTypeAny, {
89
- self?: string | undefined;
90
- }, {
91
- self?: string | undefined;
92
- }>;
28
+ }, z.core.$strip>;
93
29
  /**
94
30
  * Links are used to allow you to move between requests.
95
31
  */
@@ -100,189 +36,53 @@ declare const zResultsLinks: z.ZodObject<{
100
36
  last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
37
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
38
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
- }, "strip", z.ZodTypeAny, {
104
- next?: string | null | undefined;
105
- current?: string | null | undefined;
106
- self?: string | null | undefined;
107
- first?: string | null | undefined;
108
- last?: string | null | undefined;
109
- prev?: string | null | undefined;
110
- }, {
111
- next?: string | null | undefined;
112
- current?: string | null | undefined;
113
- self?: string | null | undefined;
114
- first?: string | null | undefined;
115
- last?: string | null | undefined;
116
- prev?: string | null | undefined;
117
- }>;
39
+ }, z.core.$strip>;
118
40
  /**
119
41
  * The publicly available URL for this file.
120
42
  */
121
43
  declare const zFileLink: z.ZodObject<{
122
44
  href: z.ZodOptional<z.ZodString>;
123
- }, "strip", z.ZodTypeAny, {
124
- href?: string | undefined;
125
- }, {
126
- href?: string | undefined;
127
- }>;
128
- declare const zUuid: z.ZodString;
45
+ }, z.core.$strip>;
46
+ declare const zUuid: z.ZodUUID;
129
47
  declare const zFile: z.ZodObject<{
130
- id: z.ZodOptional<z.ZodString>;
48
+ id: z.ZodOptional<z.ZodUUID>;
131
49
  type: z.ZodOptional<z.ZodString>;
132
50
  file_name: z.ZodOptional<z.ZodString>;
133
51
  mime_type: z.ZodOptional<z.ZodString>;
134
- file_size: z.ZodOptional<z.ZodNumber>;
52
+ file_size: z.ZodOptional<z.ZodInt>;
135
53
  public: z.ZodOptional<z.ZodBoolean>;
136
54
  meta: z.ZodOptional<z.ZodObject<{
137
55
  timestamps: z.ZodOptional<z.ZodObject<{
138
56
  created_at: z.ZodOptional<z.ZodString>;
139
- }, "strip", z.ZodTypeAny, {
140
- created_at?: string | undefined;
141
- }, {
142
- created_at?: string | undefined;
143
- }>>;
57
+ }, z.core.$strip>>;
144
58
  dimensions: z.ZodOptional<z.ZodObject<{
145
- width: z.ZodOptional<z.ZodNumber>;
146
- height: z.ZodOptional<z.ZodNumber>;
147
- }, "strip", z.ZodTypeAny, {
148
- width?: number | undefined;
149
- height?: number | undefined;
150
- }, {
151
- width?: number | undefined;
152
- height?: number | undefined;
153
- }>>;
154
- }, "strip", z.ZodTypeAny, {
155
- timestamps?: {
156
- created_at?: string | undefined;
157
- } | undefined;
158
- dimensions?: {
159
- width?: number | undefined;
160
- height?: number | undefined;
161
- } | undefined;
162
- }, {
163
- timestamps?: {
164
- created_at?: string | undefined;
165
- } | undefined;
166
- dimensions?: {
167
- width?: number | undefined;
168
- height?: number | undefined;
169
- } | undefined;
170
- }>>;
59
+ width: z.ZodOptional<z.ZodInt>;
60
+ height: z.ZodOptional<z.ZodInt>;
61
+ }, z.core.$strip>>;
62
+ }, z.core.$strip>>;
171
63
  links: z.ZodOptional<z.ZodObject<{
172
64
  self: z.ZodOptional<z.ZodString>;
173
- }, "strip", z.ZodTypeAny, {
174
- self?: string | undefined;
175
- }, {
176
- self?: string | undefined;
177
- }>>;
65
+ }, z.core.$strip>>;
178
66
  link: z.ZodOptional<z.ZodObject<{
179
67
  href: z.ZodOptional<z.ZodString>;
180
- }, "strip", z.ZodTypeAny, {
181
- href?: string | undefined;
182
- }, {
183
- href?: string | undefined;
184
- }>>;
185
- }, "strip", z.ZodTypeAny, {
186
- link?: {
187
- href?: string | undefined;
188
- } | undefined;
189
- type?: string | undefined;
190
- id?: string | undefined;
191
- file_name?: string | undefined;
192
- mime_type?: string | undefined;
193
- file_size?: number | undefined;
194
- public?: boolean | undefined;
195
- meta?: {
196
- timestamps?: {
197
- created_at?: string | undefined;
198
- } | undefined;
199
- dimensions?: {
200
- width?: number | undefined;
201
- height?: number | undefined;
202
- } | undefined;
203
- } | undefined;
204
- links?: {
205
- self?: string | undefined;
206
- } | undefined;
207
- }, {
208
- link?: {
209
- href?: string | undefined;
210
- } | undefined;
211
- type?: string | undefined;
212
- id?: string | undefined;
213
- file_name?: string | undefined;
214
- mime_type?: string | undefined;
215
- file_size?: number | undefined;
216
- public?: boolean | undefined;
217
- meta?: {
218
- timestamps?: {
219
- created_at?: string | undefined;
220
- } | undefined;
221
- dimensions?: {
222
- width?: number | undefined;
223
- height?: number | undefined;
224
- } | undefined;
225
- } | undefined;
226
- links?: {
227
- self?: string | undefined;
228
- } | undefined;
229
- }>;
68
+ }, z.core.$strip>>;
69
+ }, z.core.$strip>;
230
70
  declare const zError: z.ZodObject<{
231
- status: z.ZodNumber;
71
+ status: z.ZodInt;
232
72
  title: z.ZodString;
233
73
  detail: z.ZodOptional<z.ZodString>;
234
74
  request_id: z.ZodOptional<z.ZodString>;
235
75
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
236
- }, "strip", z.ZodTypeAny, {
237
- status: number;
238
- title: string;
239
- meta?: Record<string, unknown> | undefined;
240
- detail?: string | undefined;
241
- request_id?: string | undefined;
242
- }, {
243
- status: number;
244
- title: string;
245
- meta?: Record<string, unknown> | undefined;
246
- detail?: string | undefined;
247
- request_id?: string | undefined;
248
- }>;
76
+ }, z.core.$strip>;
249
77
  declare const zErrorResponse: z.ZodObject<{
250
78
  errors: z.ZodArray<z.ZodObject<{
251
- status: z.ZodNumber;
79
+ status: z.ZodInt;
252
80
  title: z.ZodString;
253
81
  detail: z.ZodOptional<z.ZodString>;
254
82
  request_id: z.ZodOptional<z.ZodString>;
255
83
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
256
- }, "strip", z.ZodTypeAny, {
257
- status: number;
258
- title: string;
259
- meta?: Record<string, unknown> | undefined;
260
- detail?: string | undefined;
261
- request_id?: string | undefined;
262
- }, {
263
- status: number;
264
- title: string;
265
- meta?: Record<string, unknown> | undefined;
266
- detail?: string | undefined;
267
- request_id?: string | undefined;
268
- }>, "many">;
269
- }, "strip", z.ZodTypeAny, {
270
- errors: {
271
- status: number;
272
- title: string;
273
- meta?: Record<string, unknown> | undefined;
274
- detail?: string | undefined;
275
- request_id?: string | undefined;
276
- }[];
277
- }, {
278
- errors: {
279
- status: number;
280
- title: string;
281
- meta?: Record<string, unknown> | undefined;
282
- detail?: string | undefined;
283
- request_id?: string | undefined;
284
- }[];
285
- }>;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>;
286
86
  /**
287
87
  *
288
88
  * Filtering is available for this endpoint. See [Filtering](/docs/api/pxm/files/get-all-files#filtering).
@@ -292,174 +92,54 @@ declare const zFilter: z.ZodString;
292
92
  /**
293
93
  * The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.
294
94
  */
295
- declare const zPageOffset: z.ZodEffects<z.ZodNumber, number, unknown>;
95
+ declare const zPageOffset: z.ZodPreprocess<z.ZodNumber, unknown>;
296
96
  /**
297
97
  * The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the the [**page length**](/docs/commerce-cloud/global-project-settings/settings-overview#page-length) store setting is used.
298
98
  */
299
- declare const zPageLimit: z.ZodEffects<z.ZodNumber, number, unknown>;
99
+ declare const zPageLimit: z.ZodPreprocess<z.ZodNumber, unknown>;
300
100
  declare const zGetAllFilesQuery: z.ZodObject<{
301
101
  filter: z.ZodOptional<z.ZodString>;
302
- "page[limit]": z.ZodOptional<z.ZodEffects<z.ZodNumber, number, unknown>>;
303
- "page[offset]": z.ZodOptional<z.ZodEffects<z.ZodNumber, number, unknown>>;
304
- }, "strip", z.ZodTypeAny, {
305
- filter?: string | undefined;
306
- "page[limit]"?: number | undefined;
307
- "page[offset]"?: number | undefined;
308
- }, {
309
- filter?: string | undefined;
310
- "page[limit]"?: unknown;
311
- "page[offset]"?: unknown;
312
- }>;
102
+ "page[limit]": z.ZodOptional<z.ZodPreprocess<z.ZodNumber, unknown>>;
103
+ "page[offset]": z.ZodOptional<z.ZodPreprocess<z.ZodNumber, unknown>>;
104
+ }, z.core.$strip>;
313
105
  /**
314
106
  * OK
315
107
  */
316
108
  declare const zGetAllFilesResponse: z.ZodObject<{
317
109
  data: z.ZodOptional<z.ZodArray<z.ZodObject<{
318
- id: z.ZodOptional<z.ZodString>;
110
+ id: z.ZodOptional<z.ZodUUID>;
319
111
  type: z.ZodOptional<z.ZodString>;
320
112
  file_name: z.ZodOptional<z.ZodString>;
321
113
  mime_type: z.ZodOptional<z.ZodString>;
322
- file_size: z.ZodOptional<z.ZodNumber>;
114
+ file_size: z.ZodOptional<z.ZodInt>;
323
115
  public: z.ZodOptional<z.ZodBoolean>;
324
116
  meta: z.ZodOptional<z.ZodObject<{
325
117
  timestamps: z.ZodOptional<z.ZodObject<{
326
118
  created_at: z.ZodOptional<z.ZodString>;
327
- }, "strip", z.ZodTypeAny, {
328
- created_at?: string | undefined;
329
- }, {
330
- created_at?: string | undefined;
331
- }>>;
119
+ }, z.core.$strip>>;
332
120
  dimensions: z.ZodOptional<z.ZodObject<{
333
- width: z.ZodOptional<z.ZodNumber>;
334
- height: z.ZodOptional<z.ZodNumber>;
335
- }, "strip", z.ZodTypeAny, {
336
- width?: number | undefined;
337
- height?: number | undefined;
338
- }, {
339
- width?: number | undefined;
340
- height?: number | undefined;
341
- }>>;
342
- }, "strip", z.ZodTypeAny, {
343
- timestamps?: {
344
- created_at?: string | undefined;
345
- } | undefined;
346
- dimensions?: {
347
- width?: number | undefined;
348
- height?: number | undefined;
349
- } | undefined;
350
- }, {
351
- timestamps?: {
352
- created_at?: string | undefined;
353
- } | undefined;
354
- dimensions?: {
355
- width?: number | undefined;
356
- height?: number | undefined;
357
- } | undefined;
358
- }>>;
121
+ width: z.ZodOptional<z.ZodInt>;
122
+ height: z.ZodOptional<z.ZodInt>;
123
+ }, z.core.$strip>>;
124
+ }, z.core.$strip>>;
359
125
  links: z.ZodOptional<z.ZodObject<{
360
126
  self: z.ZodOptional<z.ZodString>;
361
- }, "strip", z.ZodTypeAny, {
362
- self?: string | undefined;
363
- }, {
364
- self?: string | undefined;
365
- }>>;
127
+ }, z.core.$strip>>;
366
128
  link: z.ZodOptional<z.ZodObject<{
367
129
  href: z.ZodOptional<z.ZodString>;
368
- }, "strip", z.ZodTypeAny, {
369
- href?: string | undefined;
370
- }, {
371
- href?: string | undefined;
372
- }>>;
373
- }, "strip", z.ZodTypeAny, {
374
- link?: {
375
- href?: string | undefined;
376
- } | undefined;
377
- type?: string | undefined;
378
- id?: string | undefined;
379
- file_name?: string | undefined;
380
- mime_type?: string | undefined;
381
- file_size?: number | undefined;
382
- public?: boolean | undefined;
383
- meta?: {
384
- timestamps?: {
385
- created_at?: string | undefined;
386
- } | undefined;
387
- dimensions?: {
388
- width?: number | undefined;
389
- height?: number | undefined;
390
- } | undefined;
391
- } | undefined;
392
- links?: {
393
- self?: string | undefined;
394
- } | undefined;
395
- }, {
396
- link?: {
397
- href?: string | undefined;
398
- } | undefined;
399
- type?: string | undefined;
400
- id?: string | undefined;
401
- file_name?: string | undefined;
402
- mime_type?: string | undefined;
403
- file_size?: number | undefined;
404
- public?: boolean | undefined;
405
- meta?: {
406
- timestamps?: {
407
- created_at?: string | undefined;
408
- } | undefined;
409
- dimensions?: {
410
- width?: number | undefined;
411
- height?: number | undefined;
412
- } | undefined;
413
- } | undefined;
414
- links?: {
415
- self?: string | undefined;
416
- } | undefined;
417
- }>, "many">>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>>>;
418
132
  meta: z.ZodOptional<z.ZodObject<{
419
133
  page: z.ZodOptional<z.ZodObject<{
420
- limit: z.ZodOptional<z.ZodNumber>;
421
- offset: z.ZodOptional<z.ZodNumber>;
422
- current: z.ZodOptional<z.ZodNumber>;
423
- total: z.ZodOptional<z.ZodNumber>;
424
- }, "strip", z.ZodTypeAny, {
425
- limit?: number | undefined;
426
- offset?: number | undefined;
427
- current?: number | undefined;
428
- total?: number | undefined;
429
- }, {
430
- limit?: number | undefined;
431
- offset?: number | undefined;
432
- current?: number | undefined;
433
- total?: number | undefined;
434
- }>>;
134
+ limit: z.ZodOptional<z.ZodInt>;
135
+ offset: z.ZodOptional<z.ZodInt>;
136
+ current: z.ZodOptional<z.ZodInt>;
137
+ total: z.ZodOptional<z.ZodInt>;
138
+ }, z.core.$strip>>;
435
139
  results: z.ZodOptional<z.ZodObject<{
436
- total: z.ZodOptional<z.ZodNumber>;
437
- }, "strip", z.ZodTypeAny, {
438
- total?: number | undefined;
439
- }, {
440
- total?: number | undefined;
441
- }>>;
442
- }, "strip", z.ZodTypeAny, {
443
- page?: {
444
- limit?: number | undefined;
445
- offset?: number | undefined;
446
- current?: number | undefined;
447
- total?: number | undefined;
448
- } | undefined;
449
- results?: {
450
- total?: number | undefined;
451
- } | undefined;
452
- }, {
453
- page?: {
454
- limit?: number | undefined;
455
- offset?: number | undefined;
456
- current?: number | undefined;
457
- total?: number | undefined;
458
- } | undefined;
459
- results?: {
460
- total?: number | undefined;
461
- } | undefined;
462
- }>>;
140
+ total: z.ZodOptional<z.ZodInt>;
141
+ }, z.core.$strip>>;
142
+ }, z.core.$strip>>;
463
143
  links: z.ZodOptional<z.ZodObject<{
464
144
  self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
465
145
  current: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -467,440 +147,74 @@ declare const zGetAllFilesResponse: z.ZodObject<{
467
147
  last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
148
  prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
149
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
- }, "strip", z.ZodTypeAny, {
471
- next?: string | null | undefined;
472
- current?: string | null | undefined;
473
- self?: string | null | undefined;
474
- first?: string | null | undefined;
475
- last?: string | null | undefined;
476
- prev?: string | null | undefined;
477
- }, {
478
- next?: string | null | undefined;
479
- current?: string | null | undefined;
480
- self?: string | null | undefined;
481
- first?: string | null | undefined;
482
- last?: string | null | undefined;
483
- prev?: string | null | undefined;
484
- }>>;
485
- }, "strip", z.ZodTypeAny, {
486
- data?: {
487
- link?: {
488
- href?: string | undefined;
489
- } | undefined;
490
- type?: string | undefined;
491
- id?: string | undefined;
492
- file_name?: string | undefined;
493
- mime_type?: string | undefined;
494
- file_size?: number | undefined;
495
- public?: boolean | undefined;
496
- meta?: {
497
- timestamps?: {
498
- created_at?: string | undefined;
499
- } | undefined;
500
- dimensions?: {
501
- width?: number | undefined;
502
- height?: number | undefined;
503
- } | undefined;
504
- } | undefined;
505
- links?: {
506
- self?: string | undefined;
507
- } | undefined;
508
- }[] | undefined;
509
- meta?: {
510
- page?: {
511
- limit?: number | undefined;
512
- offset?: number | undefined;
513
- current?: number | undefined;
514
- total?: number | undefined;
515
- } | undefined;
516
- results?: {
517
- total?: number | undefined;
518
- } | undefined;
519
- } | undefined;
520
- links?: {
521
- next?: string | null | undefined;
522
- current?: string | null | undefined;
523
- self?: string | null | undefined;
524
- first?: string | null | undefined;
525
- last?: string | null | undefined;
526
- prev?: string | null | undefined;
527
- } | undefined;
528
- }, {
529
- data?: {
530
- link?: {
531
- href?: string | undefined;
532
- } | undefined;
533
- type?: string | undefined;
534
- id?: string | undefined;
535
- file_name?: string | undefined;
536
- mime_type?: string | undefined;
537
- file_size?: number | undefined;
538
- public?: boolean | undefined;
539
- meta?: {
540
- timestamps?: {
541
- created_at?: string | undefined;
542
- } | undefined;
543
- dimensions?: {
544
- width?: number | undefined;
545
- height?: number | undefined;
546
- } | undefined;
547
- } | undefined;
548
- links?: {
549
- self?: string | undefined;
550
- } | undefined;
551
- }[] | undefined;
552
- meta?: {
553
- page?: {
554
- limit?: number | undefined;
555
- offset?: number | undefined;
556
- current?: number | undefined;
557
- total?: number | undefined;
558
- } | undefined;
559
- results?: {
560
- total?: number | undefined;
561
- } | undefined;
562
- } | undefined;
563
- links?: {
564
- next?: string | null | undefined;
565
- current?: string | null | undefined;
566
- self?: string | null | undefined;
567
- first?: string | null | undefined;
568
- last?: string | null | undefined;
569
- prev?: string | null | undefined;
570
- } | undefined;
571
- }>;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>;
572
152
  declare const zCreateAFileBody: z.ZodObject<{
573
153
  file: z.ZodOptional<z.ZodString>;
574
154
  file_location: z.ZodOptional<z.ZodString>;
575
- }, "strip", z.ZodTypeAny, {
576
- file?: string | undefined;
577
- file_location?: string | undefined;
578
- }, {
579
- file?: string | undefined;
580
- file_location?: string | undefined;
581
- }>;
155
+ }, z.core.$strip>;
582
156
  /**
583
157
  * Created
584
158
  */
585
159
  declare const zCreateAFileResponse: z.ZodObject<{
586
160
  data: z.ZodOptional<z.ZodObject<{
587
- id: z.ZodOptional<z.ZodString>;
161
+ id: z.ZodOptional<z.ZodUUID>;
588
162
  type: z.ZodOptional<z.ZodString>;
589
163
  file_name: z.ZodOptional<z.ZodString>;
590
164
  mime_type: z.ZodOptional<z.ZodString>;
591
- file_size: z.ZodOptional<z.ZodNumber>;
165
+ file_size: z.ZodOptional<z.ZodInt>;
592
166
  public: z.ZodOptional<z.ZodBoolean>;
593
167
  meta: z.ZodOptional<z.ZodObject<{
594
168
  timestamps: z.ZodOptional<z.ZodObject<{
595
169
  created_at: z.ZodOptional<z.ZodString>;
596
- }, "strip", z.ZodTypeAny, {
597
- created_at?: string | undefined;
598
- }, {
599
- created_at?: string | undefined;
600
- }>>;
170
+ }, z.core.$strip>>;
601
171
  dimensions: z.ZodOptional<z.ZodObject<{
602
- width: z.ZodOptional<z.ZodNumber>;
603
- height: z.ZodOptional<z.ZodNumber>;
604
- }, "strip", z.ZodTypeAny, {
605
- width?: number | undefined;
606
- height?: number | undefined;
607
- }, {
608
- width?: number | undefined;
609
- height?: number | undefined;
610
- }>>;
611
- }, "strip", z.ZodTypeAny, {
612
- timestamps?: {
613
- created_at?: string | undefined;
614
- } | undefined;
615
- dimensions?: {
616
- width?: number | undefined;
617
- height?: number | undefined;
618
- } | undefined;
619
- }, {
620
- timestamps?: {
621
- created_at?: string | undefined;
622
- } | undefined;
623
- dimensions?: {
624
- width?: number | undefined;
625
- height?: number | undefined;
626
- } | undefined;
627
- }>>;
172
+ width: z.ZodOptional<z.ZodInt>;
173
+ height: z.ZodOptional<z.ZodInt>;
174
+ }, z.core.$strip>>;
175
+ }, z.core.$strip>>;
628
176
  links: z.ZodOptional<z.ZodObject<{
629
177
  self: z.ZodOptional<z.ZodString>;
630
- }, "strip", z.ZodTypeAny, {
631
- self?: string | undefined;
632
- }, {
633
- self?: string | undefined;
634
- }>>;
178
+ }, z.core.$strip>>;
635
179
  link: z.ZodOptional<z.ZodObject<{
636
180
  href: z.ZodOptional<z.ZodString>;
637
- }, "strip", z.ZodTypeAny, {
638
- href?: string | undefined;
639
- }, {
640
- href?: string | undefined;
641
- }>>;
642
- }, "strip", z.ZodTypeAny, {
643
- link?: {
644
- href?: string | undefined;
645
- } | undefined;
646
- type?: string | undefined;
647
- id?: string | undefined;
648
- file_name?: string | undefined;
649
- mime_type?: string | undefined;
650
- file_size?: number | undefined;
651
- public?: boolean | undefined;
652
- meta?: {
653
- timestamps?: {
654
- created_at?: string | undefined;
655
- } | undefined;
656
- dimensions?: {
657
- width?: number | undefined;
658
- height?: number | undefined;
659
- } | undefined;
660
- } | undefined;
661
- links?: {
662
- self?: string | undefined;
663
- } | undefined;
664
- }, {
665
- link?: {
666
- href?: string | undefined;
667
- } | undefined;
668
- type?: string | undefined;
669
- id?: string | undefined;
670
- file_name?: string | undefined;
671
- mime_type?: string | undefined;
672
- file_size?: number | undefined;
673
- public?: boolean | undefined;
674
- meta?: {
675
- timestamps?: {
676
- created_at?: string | undefined;
677
- } | undefined;
678
- dimensions?: {
679
- width?: number | undefined;
680
- height?: number | undefined;
681
- } | undefined;
682
- } | undefined;
683
- links?: {
684
- self?: string | undefined;
685
- } | undefined;
686
- }>>;
687
- }, "strip", z.ZodTypeAny, {
688
- data?: {
689
- link?: {
690
- href?: string | undefined;
691
- } | undefined;
692
- type?: string | undefined;
693
- id?: string | undefined;
694
- file_name?: string | undefined;
695
- mime_type?: string | undefined;
696
- file_size?: number | undefined;
697
- public?: boolean | undefined;
698
- meta?: {
699
- timestamps?: {
700
- created_at?: string | undefined;
701
- } | undefined;
702
- dimensions?: {
703
- width?: number | undefined;
704
- height?: number | undefined;
705
- } | undefined;
706
- } | undefined;
707
- links?: {
708
- self?: string | undefined;
709
- } | undefined;
710
- } | undefined;
711
- }, {
712
- data?: {
713
- link?: {
714
- href?: string | undefined;
715
- } | undefined;
716
- type?: string | undefined;
717
- id?: string | undefined;
718
- file_name?: string | undefined;
719
- mime_type?: string | undefined;
720
- file_size?: number | undefined;
721
- public?: boolean | undefined;
722
- meta?: {
723
- timestamps?: {
724
- created_at?: string | undefined;
725
- } | undefined;
726
- dimensions?: {
727
- width?: number | undefined;
728
- height?: number | undefined;
729
- } | undefined;
730
- } | undefined;
731
- links?: {
732
- self?: string | undefined;
733
- } | undefined;
734
- } | undefined;
735
- }>;
181
+ }, z.core.$strip>>;
182
+ }, z.core.$strip>>;
183
+ }, z.core.$strip>;
736
184
  declare const zDeleteAFilePath: z.ZodObject<{
737
185
  fileID: z.ZodString;
738
- }, "strip", z.ZodTypeAny, {
739
- fileID: string;
740
- }, {
741
- fileID: string;
742
- }>;
186
+ }, z.core.$strip>;
743
187
  /**
744
188
  * No Content
745
189
  */
746
190
  declare const zDeleteAFileResponse: z.ZodVoid;
747
191
  declare const zGetAFilePath: z.ZodObject<{
748
192
  fileID: z.ZodString;
749
- }, "strip", z.ZodTypeAny, {
750
- fileID: string;
751
- }, {
752
- fileID: string;
753
- }>;
193
+ }, z.core.$strip>;
754
194
  declare const zGetAFileResponse: z.ZodObject<{
755
195
  data: z.ZodOptional<z.ZodObject<{
756
- id: z.ZodOptional<z.ZodString>;
196
+ id: z.ZodOptional<z.ZodUUID>;
757
197
  type: z.ZodOptional<z.ZodString>;
758
198
  file_name: z.ZodOptional<z.ZodString>;
759
199
  mime_type: z.ZodOptional<z.ZodString>;
760
- file_size: z.ZodOptional<z.ZodNumber>;
200
+ file_size: z.ZodOptional<z.ZodInt>;
761
201
  public: z.ZodOptional<z.ZodBoolean>;
762
202
  meta: z.ZodOptional<z.ZodObject<{
763
203
  timestamps: z.ZodOptional<z.ZodObject<{
764
204
  created_at: z.ZodOptional<z.ZodString>;
765
- }, "strip", z.ZodTypeAny, {
766
- created_at?: string | undefined;
767
- }, {
768
- created_at?: string | undefined;
769
- }>>;
205
+ }, z.core.$strip>>;
770
206
  dimensions: z.ZodOptional<z.ZodObject<{
771
- width: z.ZodOptional<z.ZodNumber>;
772
- height: z.ZodOptional<z.ZodNumber>;
773
- }, "strip", z.ZodTypeAny, {
774
- width?: number | undefined;
775
- height?: number | undefined;
776
- }, {
777
- width?: number | undefined;
778
- height?: number | undefined;
779
- }>>;
780
- }, "strip", z.ZodTypeAny, {
781
- timestamps?: {
782
- created_at?: string | undefined;
783
- } | undefined;
784
- dimensions?: {
785
- width?: number | undefined;
786
- height?: number | undefined;
787
- } | undefined;
788
- }, {
789
- timestamps?: {
790
- created_at?: string | undefined;
791
- } | undefined;
792
- dimensions?: {
793
- width?: number | undefined;
794
- height?: number | undefined;
795
- } | undefined;
796
- }>>;
207
+ width: z.ZodOptional<z.ZodInt>;
208
+ height: z.ZodOptional<z.ZodInt>;
209
+ }, z.core.$strip>>;
210
+ }, z.core.$strip>>;
797
211
  links: z.ZodOptional<z.ZodObject<{
798
212
  self: z.ZodOptional<z.ZodString>;
799
- }, "strip", z.ZodTypeAny, {
800
- self?: string | undefined;
801
- }, {
802
- self?: string | undefined;
803
- }>>;
213
+ }, z.core.$strip>>;
804
214
  link: z.ZodOptional<z.ZodObject<{
805
215
  href: z.ZodOptional<z.ZodString>;
806
- }, "strip", z.ZodTypeAny, {
807
- href?: string | undefined;
808
- }, {
809
- href?: string | undefined;
810
- }>>;
811
- }, "strip", z.ZodTypeAny, {
812
- link?: {
813
- href?: string | undefined;
814
- } | undefined;
815
- type?: string | undefined;
816
- id?: string | undefined;
817
- file_name?: string | undefined;
818
- mime_type?: string | undefined;
819
- file_size?: number | undefined;
820
- public?: boolean | undefined;
821
- meta?: {
822
- timestamps?: {
823
- created_at?: string | undefined;
824
- } | undefined;
825
- dimensions?: {
826
- width?: number | undefined;
827
- height?: number | undefined;
828
- } | undefined;
829
- } | undefined;
830
- links?: {
831
- self?: string | undefined;
832
- } | undefined;
833
- }, {
834
- link?: {
835
- href?: string | undefined;
836
- } | undefined;
837
- type?: string | undefined;
838
- id?: string | undefined;
839
- file_name?: string | undefined;
840
- mime_type?: string | undefined;
841
- file_size?: number | undefined;
842
- public?: boolean | undefined;
843
- meta?: {
844
- timestamps?: {
845
- created_at?: string | undefined;
846
- } | undefined;
847
- dimensions?: {
848
- width?: number | undefined;
849
- height?: number | undefined;
850
- } | undefined;
851
- } | undefined;
852
- links?: {
853
- self?: string | undefined;
854
- } | undefined;
855
- }>>;
856
- }, "strip", z.ZodTypeAny, {
857
- data?: {
858
- link?: {
859
- href?: string | undefined;
860
- } | undefined;
861
- type?: string | undefined;
862
- id?: string | undefined;
863
- file_name?: string | undefined;
864
- mime_type?: string | undefined;
865
- file_size?: number | undefined;
866
- public?: boolean | undefined;
867
- meta?: {
868
- timestamps?: {
869
- created_at?: string | undefined;
870
- } | undefined;
871
- dimensions?: {
872
- width?: number | undefined;
873
- height?: number | undefined;
874
- } | undefined;
875
- } | undefined;
876
- links?: {
877
- self?: string | undefined;
878
- } | undefined;
879
- } | undefined;
880
- }, {
881
- data?: {
882
- link?: {
883
- href?: string | undefined;
884
- } | undefined;
885
- type?: string | undefined;
886
- id?: string | undefined;
887
- file_name?: string | undefined;
888
- mime_type?: string | undefined;
889
- file_size?: number | undefined;
890
- public?: boolean | undefined;
891
- meta?: {
892
- timestamps?: {
893
- created_at?: string | undefined;
894
- } | undefined;
895
- dimensions?: {
896
- width?: number | undefined;
897
- height?: number | undefined;
898
- } | undefined;
899
- } | undefined;
900
- links?: {
901
- self?: string | undefined;
902
- } | undefined;
903
- } | undefined;
904
- }>;
216
+ }, z.core.$strip>>;
217
+ }, z.core.$strip>>;
218
+ }, z.core.$strip>;
905
219
 
906
220
  export { zCreateAFileBody, zCreateAFileResponse, zDeleteAFilePath, zDeleteAFileResponse, zError, zErrorResponse, zFile, zFileLink, zFileMeta, zFilter, zGetAFilePath, zGetAFileResponse, zGetAllFilesQuery, zGetAllFilesResponse, zLinks, zPageLimit, zPageOffset, zResultsLinks, zResultsMeta, zUuid };