@superblocksteam/vite-plugin-file-sync 2.0.22-next.9 → 2.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/ai-service/evals/fixtures/open-api-example-schemas.d.ts +1591 -0
  2. package/dist/ai-service/evals/fixtures/open-api-example-schemas.d.ts.map +1 -0
  3. package/dist/ai-service/evals/fixtures/open-api-example-schemas.js +1766 -0
  4. package/dist/ai-service/evals/fixtures/open-api-example-schemas.js.map +1 -0
  5. package/dist/ai-service/evals/helpers/critical-scorers.d.ts.map +1 -1
  6. package/dist/ai-service/evals/helpers/critical-scorers.js +17 -57
  7. package/dist/ai-service/evals/helpers/critical-scorers.js.map +1 -1
  8. package/dist/ai-service/evals/helpers/eval-scoring.d.ts +7 -1
  9. package/dist/ai-service/evals/helpers/eval-scoring.d.ts.map +1 -1
  10. package/dist/ai-service/evals/helpers/eval-scoring.js +25 -14
  11. package/dist/ai-service/evals/helpers/eval-scoring.js.map +1 -1
  12. package/dist/ai-service/integrations/metadata/database.d.ts +10 -0
  13. package/dist/ai-service/integrations/metadata/database.d.ts.map +1 -0
  14. package/dist/ai-service/integrations/metadata/database.js +30 -0
  15. package/dist/ai-service/integrations/metadata/database.js.map +1 -0
  16. package/dist/ai-service/integrations/metadata/index.d.ts +9 -0
  17. package/dist/ai-service/integrations/metadata/index.d.ts.map +1 -0
  18. package/dist/ai-service/integrations/metadata/index.js +7 -0
  19. package/dist/ai-service/integrations/metadata/index.js.map +1 -0
  20. package/dist/ai-service/integrations/metadata/open-api.d.ts +17 -0
  21. package/dist/ai-service/integrations/metadata/open-api.d.ts.map +1 -0
  22. package/dist/ai-service/integrations/metadata/open-api.js +61 -0
  23. package/dist/ai-service/integrations/metadata/open-api.js.map +1 -0
  24. package/dist/ai-service/integrations/store.d.ts +9 -6
  25. package/dist/ai-service/integrations/store.d.ts.map +1 -1
  26. package/dist/ai-service/integrations/store.js +66 -47
  27. package/dist/ai-service/integrations/store.js.map +1 -1
  28. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ButtonPropsDocs.js +1 -1
  29. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/CheckboxPropsDocs.js +1 -1
  30. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ColumnPropsDocs.js +1 -1
  31. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ContainerPropsDocs.js +1 -1
  32. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DatePickerPropsDocs.js +1 -1
  33. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/DropdownPropsDocs.js +1 -1
  34. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/IconPropsDocs.js +1 -1
  35. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ImagePropsDocs.js +1 -1
  36. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/InputPropsDocs.js +1 -1
  37. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/ModalPropsDocs.js +1 -1
  38. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/PagePropsDocs.js +1 -1
  39. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SectionPropsDocs.js +1 -1
  40. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SlideoutPropsDocs.js +1 -1
  41. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/SwitchPropsDocs.js +1 -1
  42. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TablePropsDocs.js +1 -1
  43. package/dist/ai-service/prompt-builder-service/static-fragments/library-components/TextPropsDocs.js +1 -1
  44. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/Annotations.js +1 -1
  45. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/Dim.js +1 -1
  46. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/EventFlow.js +1 -1
  47. package/dist/ai-service/prompt-builder-service/static-fragments/library-typedefs/TextStyleWithVariant.js +1 -1
  48. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/full-examples.js +1 -1
  49. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.d.ts +1 -1
  50. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.d.ts.map +1 -1
  51. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.js +2 -2
  52. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-api.js.map +1 -1
  53. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-components-rules.js +1 -1
  54. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-custom-components.js +1 -1
  55. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-data-filtering.js +1 -1
  56. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-event-flow.js +1 -1
  57. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-forms.js +1 -1
  58. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-layouts.js +1 -1
  59. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-page.js +1 -1
  60. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-rbac.js +1 -1
  61. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-routes.js +1 -1
  62. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-state.js +1 -1
  63. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/superblocks-theming.js +1 -1
  64. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.d.ts +1 -1
  65. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.d.ts.map +1 -1
  66. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.js +2 -2
  67. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-base.js.map +1 -1
  68. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.d.ts +1 -1
  69. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.d.ts.map +1 -1
  70. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.js +2 -2
  71. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-incremental.js.map +1 -1
  72. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.d.ts +1 -1
  73. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.d.ts.map +1 -1
  74. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.js +2 -2
  75. package/dist/ai-service/prompt-builder-service/static-fragments/platform-parts/system-specific-edit.js.map +1 -1
  76. package/dist/ai-service/state-machine/handlers/agent-planning.d.ts.map +1 -1
  77. package/dist/ai-service/state-machine/handlers/agent-planning.js +1 -2
  78. package/dist/ai-service/state-machine/handlers/agent-planning.js.map +1 -1
  79. package/dist/ai-service/state-machine/mocks.js +1 -1
  80. package/dist/ai-service/state-machine/mocks.js.map +1 -1
  81. package/dist/ai-service/template-renderer.d.ts +1 -0
  82. package/dist/ai-service/template-renderer.d.ts.map +1 -1
  83. package/dist/ai-service/template-renderer.js +3 -0
  84. package/dist/ai-service/template-renderer.js.map +1 -1
  85. package/dist/ai-service/transform/api-builder/to-sdk-transformer.js +2 -2
  86. package/dist/ai-service/transform/api-builder/to-sdk-transformer.js.map +1 -1
  87. package/dist/file-sync-vite-plugin.d.ts.map +1 -1
  88. package/dist/file-sync-vite-plugin.js +1 -3
  89. package/dist/file-sync-vite-plugin.js.map +1 -1
  90. package/dist/injected-index.d.ts +1 -1
  91. package/dist/injected-index.d.ts.map +1 -1
  92. package/dist/injected-index.js +1 -28
  93. package/dist/injected-index.js.map +1 -1
  94. package/dist/parsing/events/to-code-events.d.ts.map +1 -1
  95. package/dist/parsing/events/to-code-events.js +9 -1
  96. package/dist/parsing/events/to-code-events.js.map +1 -1
  97. package/dist/parsing/events/to-value-events.d.ts.map +1 -1
  98. package/dist/parsing/events/to-value-events.js +22 -0
  99. package/dist/parsing/events/to-value-events.js.map +1 -1
  100. package/dist/plugin-options.d.ts +0 -1
  101. package/dist/plugin-options.d.ts.map +1 -1
  102. package/dist/plugin-options.js.map +1 -1
  103. package/package.json +6 -6
  104. package/dist/ai-service/integrations/from-prompt-context.d.ts +0 -5
  105. package/dist/ai-service/integrations/from-prompt-context.d.ts.map +0 -1
  106. package/dist/ai-service/integrations/from-prompt-context.js +0 -76
  107. package/dist/ai-service/integrations/from-prompt-context.js.map +0 -1
@@ -0,0 +1,1591 @@
1
+ export declare const mockECommerce: {
2
+ openapi: string;
3
+ info: {
4
+ title: string;
5
+ description: string;
6
+ version: string;
7
+ contact: {
8
+ name: string;
9
+ email: string;
10
+ };
11
+ license: {
12
+ name: string;
13
+ url: string;
14
+ };
15
+ };
16
+ servers: {
17
+ url: string;
18
+ description: string;
19
+ }[];
20
+ security: {
21
+ bearerAuth: never[];
22
+ }[];
23
+ paths: {
24
+ "/users": {
25
+ get: {
26
+ summary: string;
27
+ tags: string[];
28
+ security: {
29
+ bearerAuth: never[];
30
+ }[];
31
+ parameters: ({
32
+ name: string;
33
+ in: string;
34
+ description: string;
35
+ schema: {
36
+ type: string;
37
+ minimum: number;
38
+ default: number;
39
+ maximum?: undefined;
40
+ };
41
+ } | {
42
+ name: string;
43
+ in: string;
44
+ description: string;
45
+ schema: {
46
+ type: string;
47
+ minimum: number;
48
+ maximum: number;
49
+ default: number;
50
+ };
51
+ })[];
52
+ responses: {
53
+ "200": {
54
+ description: string;
55
+ content: {
56
+ "application/json": {
57
+ schema: {
58
+ type: string;
59
+ properties: {
60
+ users: {
61
+ type: string;
62
+ items: {
63
+ $ref: string;
64
+ };
65
+ };
66
+ pagination: {
67
+ $ref: string;
68
+ };
69
+ };
70
+ };
71
+ };
72
+ };
73
+ };
74
+ };
75
+ };
76
+ post: {
77
+ summary: string;
78
+ tags: string[];
79
+ security: never[];
80
+ requestBody: {
81
+ required: boolean;
82
+ content: {
83
+ "application/json": {
84
+ schema: {
85
+ $ref: string;
86
+ };
87
+ };
88
+ };
89
+ };
90
+ responses: {
91
+ "201": {
92
+ description: string;
93
+ content: {
94
+ "application/json": {
95
+ schema: {
96
+ $ref: string;
97
+ };
98
+ };
99
+ };
100
+ };
101
+ "400": {
102
+ $ref: string;
103
+ };
104
+ };
105
+ };
106
+ };
107
+ "/users/{userId}": {
108
+ get: {
109
+ summary: string;
110
+ tags: string[];
111
+ parameters: {
112
+ name: string;
113
+ in: string;
114
+ required: boolean;
115
+ schema: {
116
+ type: string;
117
+ format: string;
118
+ };
119
+ }[];
120
+ responses: {
121
+ "200": {
122
+ description: string;
123
+ content: {
124
+ "application/json": {
125
+ schema: {
126
+ $ref: string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ "404": {
132
+ $ref: string;
133
+ };
134
+ };
135
+ };
136
+ put: {
137
+ summary: string;
138
+ tags: string[];
139
+ parameters: {
140
+ name: string;
141
+ in: string;
142
+ required: boolean;
143
+ schema: {
144
+ type: string;
145
+ format: string;
146
+ };
147
+ }[];
148
+ requestBody: {
149
+ required: boolean;
150
+ content: {
151
+ "application/json": {
152
+ schema: {
153
+ $ref: string;
154
+ };
155
+ };
156
+ };
157
+ };
158
+ responses: {
159
+ "200": {
160
+ description: string;
161
+ content: {
162
+ "application/json": {
163
+ schema: {
164
+ $ref: string;
165
+ };
166
+ };
167
+ };
168
+ };
169
+ "404": {
170
+ $ref: string;
171
+ };
172
+ };
173
+ };
174
+ delete: {
175
+ summary: string;
176
+ tags: string[];
177
+ parameters: {
178
+ name: string;
179
+ in: string;
180
+ required: boolean;
181
+ schema: {
182
+ type: string;
183
+ format: string;
184
+ };
185
+ }[];
186
+ responses: {
187
+ "204": {
188
+ description: string;
189
+ };
190
+ "404": {
191
+ $ref: string;
192
+ };
193
+ };
194
+ };
195
+ };
196
+ "/products": {
197
+ get: {
198
+ summary: string;
199
+ tags: string[];
200
+ security: never[];
201
+ parameters: ({
202
+ name: string;
203
+ in: string;
204
+ description: string;
205
+ schema: {
206
+ type: string;
207
+ format?: undefined;
208
+ minimum?: undefined;
209
+ default?: undefined;
210
+ maximum?: undefined;
211
+ };
212
+ } | {
213
+ name: string;
214
+ in: string;
215
+ description: string;
216
+ schema: {
217
+ type: string;
218
+ format: string;
219
+ minimum?: undefined;
220
+ default?: undefined;
221
+ maximum?: undefined;
222
+ };
223
+ } | {
224
+ name: string;
225
+ in: string;
226
+ schema: {
227
+ type: string;
228
+ minimum: number;
229
+ default: number;
230
+ format?: undefined;
231
+ maximum?: undefined;
232
+ };
233
+ description?: undefined;
234
+ } | {
235
+ name: string;
236
+ in: string;
237
+ schema: {
238
+ type: string;
239
+ minimum: number;
240
+ maximum: number;
241
+ default: number;
242
+ format?: undefined;
243
+ };
244
+ description?: undefined;
245
+ })[];
246
+ responses: {
247
+ "200": {
248
+ description: string;
249
+ content: {
250
+ "application/json": {
251
+ schema: {
252
+ type: string;
253
+ properties: {
254
+ products: {
255
+ type: string;
256
+ items: {
257
+ $ref: string;
258
+ };
259
+ };
260
+ pagination: {
261
+ $ref: string;
262
+ };
263
+ };
264
+ };
265
+ };
266
+ };
267
+ };
268
+ };
269
+ };
270
+ post: {
271
+ summary: string;
272
+ tags: string[];
273
+ requestBody: {
274
+ required: boolean;
275
+ content: {
276
+ "application/json": {
277
+ schema: {
278
+ $ref: string;
279
+ };
280
+ };
281
+ };
282
+ };
283
+ responses: {
284
+ "201": {
285
+ description: string;
286
+ content: {
287
+ "application/json": {
288
+ schema: {
289
+ $ref: string;
290
+ };
291
+ };
292
+ };
293
+ };
294
+ };
295
+ };
296
+ };
297
+ "/products/{productId}": {
298
+ get: {
299
+ summary: string;
300
+ tags: string[];
301
+ security: never[];
302
+ parameters: {
303
+ name: string;
304
+ in: string;
305
+ required: boolean;
306
+ schema: {
307
+ type: string;
308
+ format: string;
309
+ };
310
+ }[];
311
+ responses: {
312
+ "200": {
313
+ description: string;
314
+ content: {
315
+ "application/json": {
316
+ schema: {
317
+ $ref: string;
318
+ };
319
+ };
320
+ };
321
+ };
322
+ "404": {
323
+ $ref: string;
324
+ };
325
+ };
326
+ };
327
+ put: {
328
+ summary: string;
329
+ tags: string[];
330
+ parameters: {
331
+ name: string;
332
+ in: string;
333
+ required: boolean;
334
+ schema: {
335
+ type: string;
336
+ format: string;
337
+ };
338
+ }[];
339
+ requestBody: {
340
+ required: boolean;
341
+ content: {
342
+ "application/json": {
343
+ schema: {
344
+ $ref: string;
345
+ };
346
+ };
347
+ };
348
+ };
349
+ responses: {
350
+ "200": {
351
+ description: string;
352
+ content: {
353
+ "application/json": {
354
+ schema: {
355
+ $ref: string;
356
+ };
357
+ };
358
+ };
359
+ };
360
+ };
361
+ };
362
+ delete: {
363
+ summary: string;
364
+ tags: string[];
365
+ parameters: {
366
+ name: string;
367
+ in: string;
368
+ required: boolean;
369
+ schema: {
370
+ type: string;
371
+ format: string;
372
+ };
373
+ }[];
374
+ responses: {
375
+ "204": {
376
+ description: string;
377
+ };
378
+ };
379
+ };
380
+ };
381
+ "/users/{userId}/cart": {
382
+ get: {
383
+ summary: string;
384
+ tags: string[];
385
+ parameters: {
386
+ name: string;
387
+ in: string;
388
+ required: boolean;
389
+ schema: {
390
+ type: string;
391
+ format: string;
392
+ };
393
+ }[];
394
+ responses: {
395
+ "200": {
396
+ description: string;
397
+ content: {
398
+ "application/json": {
399
+ schema: {
400
+ $ref: string;
401
+ };
402
+ };
403
+ };
404
+ };
405
+ };
406
+ };
407
+ post: {
408
+ summary: string;
409
+ tags: string[];
410
+ parameters: {
411
+ name: string;
412
+ in: string;
413
+ required: boolean;
414
+ schema: {
415
+ type: string;
416
+ format: string;
417
+ };
418
+ }[];
419
+ requestBody: {
420
+ required: boolean;
421
+ content: {
422
+ "application/json": {
423
+ schema: {
424
+ $ref: string;
425
+ };
426
+ };
427
+ };
428
+ };
429
+ responses: {
430
+ "200": {
431
+ description: string;
432
+ content: {
433
+ "application/json": {
434
+ schema: {
435
+ $ref: string;
436
+ };
437
+ };
438
+ };
439
+ };
440
+ };
441
+ };
442
+ delete: {
443
+ summary: string;
444
+ tags: string[];
445
+ parameters: {
446
+ name: string;
447
+ in: string;
448
+ required: boolean;
449
+ schema: {
450
+ type: string;
451
+ format: string;
452
+ };
453
+ }[];
454
+ responses: {
455
+ "204": {
456
+ description: string;
457
+ };
458
+ };
459
+ };
460
+ };
461
+ "/users/{userId}/cart/items/{itemId}": {
462
+ put: {
463
+ summary: string;
464
+ tags: string[];
465
+ parameters: {
466
+ name: string;
467
+ in: string;
468
+ required: boolean;
469
+ schema: {
470
+ type: string;
471
+ format: string;
472
+ };
473
+ }[];
474
+ requestBody: {
475
+ required: boolean;
476
+ content: {
477
+ "application/json": {
478
+ schema: {
479
+ type: string;
480
+ properties: {
481
+ quantity: {
482
+ type: string;
483
+ minimum: number;
484
+ };
485
+ };
486
+ required: string[];
487
+ };
488
+ };
489
+ };
490
+ };
491
+ responses: {
492
+ "200": {
493
+ description: string;
494
+ content: {
495
+ "application/json": {
496
+ schema: {
497
+ $ref: string;
498
+ };
499
+ };
500
+ };
501
+ };
502
+ };
503
+ };
504
+ delete: {
505
+ summary: string;
506
+ tags: string[];
507
+ parameters: {
508
+ name: string;
509
+ in: string;
510
+ required: boolean;
511
+ schema: {
512
+ type: string;
513
+ format: string;
514
+ };
515
+ }[];
516
+ responses: {
517
+ "204": {
518
+ description: string;
519
+ };
520
+ };
521
+ };
522
+ };
523
+ "/users/{userId}/wishlist": {
524
+ get: {
525
+ summary: string;
526
+ tags: string[];
527
+ parameters: {
528
+ name: string;
529
+ in: string;
530
+ required: boolean;
531
+ schema: {
532
+ type: string;
533
+ format: string;
534
+ };
535
+ }[];
536
+ responses: {
537
+ "200": {
538
+ description: string;
539
+ content: {
540
+ "application/json": {
541
+ schema: {
542
+ $ref: string;
543
+ };
544
+ };
545
+ };
546
+ };
547
+ };
548
+ };
549
+ post: {
550
+ summary: string;
551
+ tags: string[];
552
+ parameters: {
553
+ name: string;
554
+ in: string;
555
+ required: boolean;
556
+ schema: {
557
+ type: string;
558
+ format: string;
559
+ };
560
+ }[];
561
+ requestBody: {
562
+ required: boolean;
563
+ content: {
564
+ "application/json": {
565
+ schema: {
566
+ type: string;
567
+ properties: {
568
+ productId: {
569
+ type: string;
570
+ format: string;
571
+ };
572
+ };
573
+ required: string[];
574
+ };
575
+ };
576
+ };
577
+ };
578
+ responses: {
579
+ "200": {
580
+ description: string;
581
+ content: {
582
+ "application/json": {
583
+ schema: {
584
+ $ref: string;
585
+ };
586
+ };
587
+ };
588
+ };
589
+ };
590
+ };
591
+ };
592
+ "/users/{userId}/wishlist/{productId}": {
593
+ delete: {
594
+ summary: string;
595
+ tags: string[];
596
+ parameters: {
597
+ name: string;
598
+ in: string;
599
+ required: boolean;
600
+ schema: {
601
+ type: string;
602
+ format: string;
603
+ };
604
+ }[];
605
+ responses: {
606
+ "204": {
607
+ description: string;
608
+ };
609
+ };
610
+ };
611
+ };
612
+ "/users/{userId}/orders": {
613
+ get: {
614
+ summary: string;
615
+ tags: string[];
616
+ parameters: ({
617
+ name: string;
618
+ in: string;
619
+ required: boolean;
620
+ schema: {
621
+ type: string;
622
+ format: string;
623
+ $ref?: undefined;
624
+ minimum?: undefined;
625
+ default?: undefined;
626
+ maximum?: undefined;
627
+ };
628
+ description?: undefined;
629
+ } | {
630
+ name: string;
631
+ in: string;
632
+ description: string;
633
+ schema: {
634
+ $ref: string;
635
+ type?: undefined;
636
+ format?: undefined;
637
+ minimum?: undefined;
638
+ default?: undefined;
639
+ maximum?: undefined;
640
+ };
641
+ required?: undefined;
642
+ } | {
643
+ name: string;
644
+ in: string;
645
+ schema: {
646
+ type: string;
647
+ minimum: number;
648
+ default: number;
649
+ format?: undefined;
650
+ $ref?: undefined;
651
+ maximum?: undefined;
652
+ };
653
+ required?: undefined;
654
+ description?: undefined;
655
+ } | {
656
+ name: string;
657
+ in: string;
658
+ schema: {
659
+ type: string;
660
+ minimum: number;
661
+ maximum: number;
662
+ default: number;
663
+ format?: undefined;
664
+ $ref?: undefined;
665
+ };
666
+ required?: undefined;
667
+ description?: undefined;
668
+ })[];
669
+ responses: {
670
+ "200": {
671
+ description: string;
672
+ content: {
673
+ "application/json": {
674
+ schema: {
675
+ type: string;
676
+ properties: {
677
+ orders: {
678
+ type: string;
679
+ items: {
680
+ $ref: string;
681
+ };
682
+ };
683
+ pagination: {
684
+ $ref: string;
685
+ };
686
+ };
687
+ };
688
+ };
689
+ };
690
+ };
691
+ };
692
+ };
693
+ post: {
694
+ summary: string;
695
+ tags: string[];
696
+ parameters: {
697
+ name: string;
698
+ in: string;
699
+ required: boolean;
700
+ schema: {
701
+ type: string;
702
+ format: string;
703
+ };
704
+ }[];
705
+ requestBody: {
706
+ required: boolean;
707
+ content: {
708
+ "application/json": {
709
+ schema: {
710
+ $ref: string;
711
+ };
712
+ };
713
+ };
714
+ };
715
+ responses: {
716
+ "201": {
717
+ description: string;
718
+ content: {
719
+ "application/json": {
720
+ schema: {
721
+ $ref: string;
722
+ };
723
+ };
724
+ };
725
+ };
726
+ };
727
+ };
728
+ };
729
+ "/orders/{orderId}": {
730
+ get: {
731
+ summary: string;
732
+ tags: string[];
733
+ parameters: {
734
+ name: string;
735
+ in: string;
736
+ required: boolean;
737
+ schema: {
738
+ type: string;
739
+ format: string;
740
+ };
741
+ }[];
742
+ responses: {
743
+ "200": {
744
+ description: string;
745
+ content: {
746
+ "application/json": {
747
+ schema: {
748
+ $ref: string;
749
+ };
750
+ };
751
+ };
752
+ };
753
+ "404": {
754
+ $ref: string;
755
+ };
756
+ };
757
+ };
758
+ put: {
759
+ summary: string;
760
+ tags: string[];
761
+ parameters: {
762
+ name: string;
763
+ in: string;
764
+ required: boolean;
765
+ schema: {
766
+ type: string;
767
+ format: string;
768
+ };
769
+ }[];
770
+ requestBody: {
771
+ required: boolean;
772
+ content: {
773
+ "application/json": {
774
+ schema: {
775
+ type: string;
776
+ properties: {
777
+ status: {
778
+ $ref: string;
779
+ };
780
+ };
781
+ required: string[];
782
+ };
783
+ };
784
+ };
785
+ };
786
+ responses: {
787
+ "200": {
788
+ description: string;
789
+ content: {
790
+ "application/json": {
791
+ schema: {
792
+ $ref: string;
793
+ };
794
+ };
795
+ };
796
+ };
797
+ };
798
+ };
799
+ };
800
+ "/auth/login": {
801
+ post: {
802
+ summary: string;
803
+ tags: string[];
804
+ security: never[];
805
+ requestBody: {
806
+ required: boolean;
807
+ content: {
808
+ "application/json": {
809
+ schema: {
810
+ type: string;
811
+ properties: {
812
+ email: {
813
+ type: string;
814
+ format: string;
815
+ };
816
+ password: {
817
+ type: string;
818
+ minLength: number;
819
+ };
820
+ };
821
+ required: string[];
822
+ };
823
+ };
824
+ };
825
+ };
826
+ responses: {
827
+ "200": {
828
+ description: string;
829
+ content: {
830
+ "application/json": {
831
+ schema: {
832
+ type: string;
833
+ properties: {
834
+ token: {
835
+ type: string;
836
+ };
837
+ user: {
838
+ $ref: string;
839
+ };
840
+ };
841
+ };
842
+ };
843
+ };
844
+ };
845
+ "401": {
846
+ $ref: string;
847
+ };
848
+ };
849
+ };
850
+ };
851
+ "/auth/logout": {
852
+ post: {
853
+ summary: string;
854
+ tags: string[];
855
+ responses: {
856
+ "204": {
857
+ description: string;
858
+ };
859
+ };
860
+ };
861
+ };
862
+ };
863
+ components: {
864
+ securitySchemes: {
865
+ bearerAuth: {
866
+ type: string;
867
+ scheme: string;
868
+ bearerFormat: string;
869
+ };
870
+ };
871
+ schemas: {
872
+ User: {
873
+ type: string;
874
+ properties: {
875
+ id: {
876
+ type: string;
877
+ format: string;
878
+ example: string;
879
+ };
880
+ email: {
881
+ type: string;
882
+ format: string;
883
+ example: string;
884
+ };
885
+ firstName: {
886
+ type: string;
887
+ example: string;
888
+ };
889
+ lastName: {
890
+ type: string;
891
+ example: string;
892
+ };
893
+ dateOfBirth: {
894
+ type: string;
895
+ format: string;
896
+ example: string;
897
+ };
898
+ phoneNumber: {
899
+ type: string;
900
+ example: string;
901
+ };
902
+ address: {
903
+ $ref: string;
904
+ };
905
+ createdAt: {
906
+ type: string;
907
+ format: string;
908
+ example: string;
909
+ };
910
+ updatedAt: {
911
+ type: string;
912
+ format: string;
913
+ example: string;
914
+ };
915
+ };
916
+ required: string[];
917
+ };
918
+ CreateUserRequest: {
919
+ type: string;
920
+ properties: {
921
+ email: {
922
+ type: string;
923
+ format: string;
924
+ };
925
+ password: {
926
+ type: string;
927
+ minLength: number;
928
+ };
929
+ firstName: {
930
+ type: string;
931
+ };
932
+ lastName: {
933
+ type: string;
934
+ };
935
+ dateOfBirth: {
936
+ type: string;
937
+ format: string;
938
+ };
939
+ phoneNumber: {
940
+ type: string;
941
+ };
942
+ address: {
943
+ $ref: string;
944
+ };
945
+ };
946
+ required: string[];
947
+ };
948
+ UpdateUserRequest: {
949
+ type: string;
950
+ properties: {
951
+ firstName: {
952
+ type: string;
953
+ };
954
+ lastName: {
955
+ type: string;
956
+ };
957
+ dateOfBirth: {
958
+ type: string;
959
+ format: string;
960
+ };
961
+ phoneNumber: {
962
+ type: string;
963
+ };
964
+ address: {
965
+ $ref: string;
966
+ };
967
+ };
968
+ };
969
+ Address: {
970
+ type: string;
971
+ properties: {
972
+ street: {
973
+ type: string;
974
+ example: string;
975
+ };
976
+ city: {
977
+ type: string;
978
+ example: string;
979
+ };
980
+ state: {
981
+ type: string;
982
+ example: string;
983
+ };
984
+ zipCode: {
985
+ type: string;
986
+ example: string;
987
+ };
988
+ country: {
989
+ type: string;
990
+ example: string;
991
+ };
992
+ };
993
+ required: string[];
994
+ };
995
+ Product: {
996
+ type: string;
997
+ properties: {
998
+ id: {
999
+ type: string;
1000
+ format: string;
1001
+ example: string;
1002
+ };
1003
+ name: {
1004
+ type: string;
1005
+ example: string;
1006
+ };
1007
+ description: {
1008
+ type: string;
1009
+ example: string;
1010
+ };
1011
+ price: {
1012
+ type: string;
1013
+ format: string;
1014
+ example: number;
1015
+ };
1016
+ category: {
1017
+ type: string;
1018
+ example: string;
1019
+ };
1020
+ brand: {
1021
+ type: string;
1022
+ example: string;
1023
+ };
1024
+ sku: {
1025
+ type: string;
1026
+ example: string;
1027
+ };
1028
+ stock: {
1029
+ type: string;
1030
+ example: number;
1031
+ };
1032
+ images: {
1033
+ type: string;
1034
+ items: {
1035
+ type: string;
1036
+ format: string;
1037
+ };
1038
+ example: string[];
1039
+ };
1040
+ specifications: {
1041
+ type: string;
1042
+ additionalProperties: boolean;
1043
+ example: {
1044
+ color: string;
1045
+ weight: string;
1046
+ batteryLife: string;
1047
+ };
1048
+ };
1049
+ tags: {
1050
+ type: string;
1051
+ items: {
1052
+ type: string;
1053
+ };
1054
+ example: string[];
1055
+ };
1056
+ rating: {
1057
+ type: string;
1058
+ format: string;
1059
+ minimum: number;
1060
+ maximum: number;
1061
+ example: number;
1062
+ };
1063
+ reviewCount: {
1064
+ type: string;
1065
+ example: number;
1066
+ };
1067
+ isActive: {
1068
+ type: string;
1069
+ example: boolean;
1070
+ };
1071
+ createdAt: {
1072
+ type: string;
1073
+ format: string;
1074
+ };
1075
+ updatedAt: {
1076
+ type: string;
1077
+ format: string;
1078
+ };
1079
+ };
1080
+ required: string[];
1081
+ };
1082
+ CreateProductRequest: {
1083
+ type: string;
1084
+ properties: {
1085
+ name: {
1086
+ type: string;
1087
+ };
1088
+ description: {
1089
+ type: string;
1090
+ };
1091
+ price: {
1092
+ type: string;
1093
+ format: string;
1094
+ minimum: number;
1095
+ };
1096
+ category: {
1097
+ type: string;
1098
+ };
1099
+ brand: {
1100
+ type: string;
1101
+ };
1102
+ sku: {
1103
+ type: string;
1104
+ };
1105
+ stock: {
1106
+ type: string;
1107
+ minimum: number;
1108
+ };
1109
+ images: {
1110
+ type: string;
1111
+ items: {
1112
+ type: string;
1113
+ format: string;
1114
+ };
1115
+ };
1116
+ specifications: {
1117
+ type: string;
1118
+ additionalProperties: boolean;
1119
+ };
1120
+ tags: {
1121
+ type: string;
1122
+ items: {
1123
+ type: string;
1124
+ };
1125
+ };
1126
+ };
1127
+ required: string[];
1128
+ };
1129
+ UpdateProductRequest: {
1130
+ type: string;
1131
+ properties: {
1132
+ name: {
1133
+ type: string;
1134
+ };
1135
+ description: {
1136
+ type: string;
1137
+ };
1138
+ price: {
1139
+ type: string;
1140
+ format: string;
1141
+ minimum: number;
1142
+ };
1143
+ category: {
1144
+ type: string;
1145
+ };
1146
+ brand: {
1147
+ type: string;
1148
+ };
1149
+ stock: {
1150
+ type: string;
1151
+ minimum: number;
1152
+ };
1153
+ images: {
1154
+ type: string;
1155
+ items: {
1156
+ type: string;
1157
+ format: string;
1158
+ };
1159
+ };
1160
+ specifications: {
1161
+ type: string;
1162
+ additionalProperties: boolean;
1163
+ };
1164
+ tags: {
1165
+ type: string;
1166
+ items: {
1167
+ type: string;
1168
+ };
1169
+ };
1170
+ isActive: {
1171
+ type: string;
1172
+ };
1173
+ };
1174
+ };
1175
+ Cart: {
1176
+ type: string;
1177
+ properties: {
1178
+ id: {
1179
+ type: string;
1180
+ format: string;
1181
+ };
1182
+ userId: {
1183
+ type: string;
1184
+ format: string;
1185
+ };
1186
+ items: {
1187
+ type: string;
1188
+ items: {
1189
+ $ref: string;
1190
+ };
1191
+ };
1192
+ totalAmount: {
1193
+ type: string;
1194
+ format: string;
1195
+ example: number;
1196
+ };
1197
+ itemCount: {
1198
+ type: string;
1199
+ example: number;
1200
+ };
1201
+ createdAt: {
1202
+ type: string;
1203
+ format: string;
1204
+ };
1205
+ updatedAt: {
1206
+ type: string;
1207
+ format: string;
1208
+ };
1209
+ };
1210
+ required: string[];
1211
+ };
1212
+ CartItem: {
1213
+ type: string;
1214
+ properties: {
1215
+ id: {
1216
+ type: string;
1217
+ format: string;
1218
+ };
1219
+ productId: {
1220
+ type: string;
1221
+ format: string;
1222
+ };
1223
+ product: {
1224
+ $ref: string;
1225
+ };
1226
+ quantity: {
1227
+ type: string;
1228
+ minimum: number;
1229
+ example: number;
1230
+ };
1231
+ unitPrice: {
1232
+ type: string;
1233
+ format: string;
1234
+ example: number;
1235
+ };
1236
+ totalPrice: {
1237
+ type: string;
1238
+ format: string;
1239
+ example: number;
1240
+ };
1241
+ addedAt: {
1242
+ type: string;
1243
+ format: string;
1244
+ };
1245
+ };
1246
+ required: string[];
1247
+ };
1248
+ AddToCartRequest: {
1249
+ type: string;
1250
+ properties: {
1251
+ productId: {
1252
+ type: string;
1253
+ format: string;
1254
+ };
1255
+ quantity: {
1256
+ type: string;
1257
+ minimum: number;
1258
+ default: number;
1259
+ };
1260
+ };
1261
+ required: string[];
1262
+ };
1263
+ Wishlist: {
1264
+ type: string;
1265
+ properties: {
1266
+ id: {
1267
+ type: string;
1268
+ format: string;
1269
+ };
1270
+ userId: {
1271
+ type: string;
1272
+ format: string;
1273
+ };
1274
+ items: {
1275
+ type: string;
1276
+ items: {
1277
+ $ref: string;
1278
+ };
1279
+ };
1280
+ itemCount: {
1281
+ type: string;
1282
+ example: number;
1283
+ };
1284
+ createdAt: {
1285
+ type: string;
1286
+ format: string;
1287
+ };
1288
+ updatedAt: {
1289
+ type: string;
1290
+ format: string;
1291
+ };
1292
+ };
1293
+ required: string[];
1294
+ };
1295
+ WishlistItem: {
1296
+ type: string;
1297
+ properties: {
1298
+ productId: {
1299
+ type: string;
1300
+ format: string;
1301
+ };
1302
+ product: {
1303
+ $ref: string;
1304
+ };
1305
+ addedAt: {
1306
+ type: string;
1307
+ format: string;
1308
+ };
1309
+ };
1310
+ required: string[];
1311
+ };
1312
+ Order: {
1313
+ type: string;
1314
+ properties: {
1315
+ id: {
1316
+ type: string;
1317
+ format: string;
1318
+ example: string;
1319
+ };
1320
+ orderNumber: {
1321
+ type: string;
1322
+ example: string;
1323
+ };
1324
+ userId: {
1325
+ type: string;
1326
+ format: string;
1327
+ };
1328
+ items: {
1329
+ type: string;
1330
+ items: {
1331
+ $ref: string;
1332
+ };
1333
+ };
1334
+ status: {
1335
+ $ref: string;
1336
+ };
1337
+ subtotal: {
1338
+ type: string;
1339
+ format: string;
1340
+ example: number;
1341
+ };
1342
+ tax: {
1343
+ type: string;
1344
+ format: string;
1345
+ example: number;
1346
+ };
1347
+ shipping: {
1348
+ type: string;
1349
+ format: string;
1350
+ example: number;
1351
+ };
1352
+ total: {
1353
+ type: string;
1354
+ format: string;
1355
+ example: number;
1356
+ };
1357
+ shippingAddress: {
1358
+ $ref: string;
1359
+ };
1360
+ billingAddress: {
1361
+ $ref: string;
1362
+ };
1363
+ paymentMethod: {
1364
+ type: string;
1365
+ example: string;
1366
+ };
1367
+ trackingNumber: {
1368
+ type: string;
1369
+ example: string;
1370
+ };
1371
+ estimatedDelivery: {
1372
+ type: string;
1373
+ format: string;
1374
+ example: string;
1375
+ };
1376
+ createdAt: {
1377
+ type: string;
1378
+ format: string;
1379
+ };
1380
+ updatedAt: {
1381
+ type: string;
1382
+ format: string;
1383
+ };
1384
+ };
1385
+ required: string[];
1386
+ };
1387
+ OrderItem: {
1388
+ type: string;
1389
+ properties: {
1390
+ productId: {
1391
+ type: string;
1392
+ format: string;
1393
+ };
1394
+ product: {
1395
+ $ref: string;
1396
+ };
1397
+ quantity: {
1398
+ type: string;
1399
+ minimum: number;
1400
+ };
1401
+ unitPrice: {
1402
+ type: string;
1403
+ format: string;
1404
+ };
1405
+ totalPrice: {
1406
+ type: string;
1407
+ format: string;
1408
+ };
1409
+ };
1410
+ required: string[];
1411
+ };
1412
+ CreateOrderRequest: {
1413
+ type: string;
1414
+ properties: {
1415
+ items: {
1416
+ type: string;
1417
+ items: {
1418
+ type: string;
1419
+ properties: {
1420
+ productId: {
1421
+ type: string;
1422
+ format: string;
1423
+ };
1424
+ quantity: {
1425
+ type: string;
1426
+ minimum: number;
1427
+ };
1428
+ };
1429
+ required: string[];
1430
+ };
1431
+ };
1432
+ shippingAddress: {
1433
+ $ref: string;
1434
+ };
1435
+ billingAddress: {
1436
+ $ref: string;
1437
+ };
1438
+ paymentMethod: {
1439
+ type: string;
1440
+ enum: string[];
1441
+ };
1442
+ };
1443
+ required: string[];
1444
+ };
1445
+ OrderStatus: {
1446
+ type: string;
1447
+ enum: string[];
1448
+ example: string;
1449
+ };
1450
+ Pagination: {
1451
+ type: string;
1452
+ properties: {
1453
+ page: {
1454
+ type: string;
1455
+ example: number;
1456
+ };
1457
+ limit: {
1458
+ type: string;
1459
+ example: number;
1460
+ };
1461
+ total: {
1462
+ type: string;
1463
+ example: number;
1464
+ };
1465
+ totalPages: {
1466
+ type: string;
1467
+ example: number;
1468
+ };
1469
+ hasNext: {
1470
+ type: string;
1471
+ example: boolean;
1472
+ };
1473
+ hasPrevious: {
1474
+ type: string;
1475
+ example: boolean;
1476
+ };
1477
+ };
1478
+ required: string[];
1479
+ };
1480
+ Error: {
1481
+ type: string;
1482
+ properties: {
1483
+ code: {
1484
+ type: string;
1485
+ example: string;
1486
+ };
1487
+ message: {
1488
+ type: string;
1489
+ example: string;
1490
+ };
1491
+ details: {
1492
+ type: string;
1493
+ items: {
1494
+ type: string;
1495
+ properties: {
1496
+ field: {
1497
+ type: string;
1498
+ };
1499
+ message: {
1500
+ type: string;
1501
+ };
1502
+ };
1503
+ };
1504
+ };
1505
+ };
1506
+ required: string[];
1507
+ };
1508
+ };
1509
+ responses: {
1510
+ BadRequest: {
1511
+ description: string;
1512
+ content: {
1513
+ "application/json": {
1514
+ schema: {
1515
+ $ref: string;
1516
+ };
1517
+ example: {
1518
+ code: string;
1519
+ message: string;
1520
+ details: {
1521
+ field: string;
1522
+ message: string;
1523
+ }[];
1524
+ };
1525
+ };
1526
+ };
1527
+ };
1528
+ Unauthorized: {
1529
+ description: string;
1530
+ content: {
1531
+ "application/json": {
1532
+ schema: {
1533
+ $ref: string;
1534
+ };
1535
+ example: {
1536
+ code: string;
1537
+ message: string;
1538
+ };
1539
+ };
1540
+ };
1541
+ };
1542
+ Forbidden: {
1543
+ description: string;
1544
+ content: {
1545
+ "application/json": {
1546
+ schema: {
1547
+ $ref: string;
1548
+ };
1549
+ example: {
1550
+ code: string;
1551
+ message: string;
1552
+ };
1553
+ };
1554
+ };
1555
+ };
1556
+ NotFound: {
1557
+ description: string;
1558
+ content: {
1559
+ "application/json": {
1560
+ schema: {
1561
+ $ref: string;
1562
+ };
1563
+ example: {
1564
+ code: string;
1565
+ message: string;
1566
+ };
1567
+ };
1568
+ };
1569
+ };
1570
+ InternalServerError: {
1571
+ description: string;
1572
+ content: {
1573
+ "application/json": {
1574
+ schema: {
1575
+ $ref: string;
1576
+ };
1577
+ example: {
1578
+ code: string;
1579
+ message: string;
1580
+ };
1581
+ };
1582
+ };
1583
+ };
1584
+ };
1585
+ };
1586
+ tags: {
1587
+ name: string;
1588
+ description: string;
1589
+ }[];
1590
+ };
1591
+ //# sourceMappingURL=open-api-example-schemas.d.ts.map