@shopvirge/shopvirge-client 0.2.2 → 0.2.4

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,4836 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- export const $AccountCreate = {
4
- properties: {
5
- shop_id: {
6
- type: 'string',
7
- format: 'uuid',
8
- title: 'Shop Id',
9
- },
10
- name: {
11
- type: 'string',
12
- title: 'Name',
13
- },
14
- details: {
15
- type: 'object',
16
- title: 'Details',
17
- },
18
- },
19
- type: 'object',
20
- required: ['shop_id', 'name', 'details'],
21
- title: 'AccountCreate',
22
- } as const;
23
-
24
- export const $AccountSchema = {
25
- properties: {
26
- shop_id: {
27
- type: 'string',
28
- format: 'uuid',
29
- title: 'Shop Id',
30
- },
31
- name: {
32
- type: 'string',
33
- title: 'Name',
34
- },
35
- details: {
36
- type: 'object',
37
- title: 'Details',
38
- },
39
- id: {
40
- type: 'string',
41
- format: 'uuid',
42
- title: 'Id',
43
- },
44
- },
45
- type: 'object',
46
- required: ['shop_id', 'name', 'details', 'id'],
47
- title: 'AccountSchema',
48
- } as const;
49
-
50
- export const $AccountUpdate = {
51
- properties: {
52
- shop_id: {
53
- type: 'string',
54
- format: 'uuid',
55
- title: 'Shop Id',
56
- },
57
- name: {
58
- type: 'string',
59
- title: 'Name',
60
- },
61
- details: {
62
- type: 'object',
63
- title: 'Details',
64
- },
65
- },
66
- type: 'object',
67
- required: ['shop_id', 'name', 'details'],
68
- title: 'AccountUpdate',
69
- } as const;
70
-
71
- export const $AttributeCreate = {
72
- properties: {
73
- name: {
74
- type: 'string',
75
- title: 'Name',
76
- },
77
- unit: {
78
- anyOf: [
79
- {
80
- type: 'string',
81
- },
82
- {
83
- type: 'null',
84
- },
85
- ],
86
- title: 'Unit',
87
- },
88
- translation: {
89
- anyOf: [
90
- {
91
- $ref: '#/components/schemas/AttributeTranslationBase',
92
- },
93
- {
94
- type: 'null',
95
- },
96
- ],
97
- },
98
- },
99
- type: 'object',
100
- required: ['name'],
101
- title: 'AttributeCreate',
102
- } as const;
103
-
104
- export const $AttributeOptionCreate = {
105
- properties: {
106
- attribute_id: {
107
- type: 'string',
108
- format: 'uuid',
109
- title: 'Attribute Id',
110
- },
111
- value_key: {
112
- type: 'string',
113
- title: 'Value Key',
114
- },
115
- },
116
- type: 'object',
117
- required: ['attribute_id', 'value_key'],
118
- title: 'AttributeOptionCreate',
119
- } as const;
120
-
121
- export const $AttributeOptionSchema = {
122
- properties: {
123
- attribute_id: {
124
- type: 'string',
125
- format: 'uuid',
126
- title: 'Attribute Id',
127
- },
128
- value_key: {
129
- type: 'string',
130
- title: 'Value Key',
131
- },
132
- id: {
133
- type: 'string',
134
- format: 'uuid',
135
- title: 'Id',
136
- },
137
- },
138
- type: 'object',
139
- required: ['attribute_id', 'value_key', 'id'],
140
- title: 'AttributeOptionSchema',
141
- } as const;
142
-
143
- export const $AttributeOptionUpdate = {
144
- properties: {
145
- value_key: {
146
- type: 'string',
147
- title: 'Value Key',
148
- },
149
- },
150
- type: 'object',
151
- required: ['value_key'],
152
- title: 'AttributeOptionUpdate',
153
- } as const;
154
-
155
- export const $AttributeSchema = {
156
- properties: {
157
- shop_id: {
158
- type: 'string',
159
- format: 'uuid',
160
- title: 'Shop Id',
161
- },
162
- name: {
163
- type: 'string',
164
- title: 'Name',
165
- },
166
- unit: {
167
- anyOf: [
168
- {
169
- type: 'string',
170
- },
171
- {
172
- type: 'null',
173
- },
174
- ],
175
- title: 'Unit',
176
- },
177
- translation: {
178
- anyOf: [
179
- {
180
- $ref: '#/components/schemas/AttributeTranslationBase',
181
- },
182
- {
183
- type: 'null',
184
- },
185
- ],
186
- },
187
- id: {
188
- type: 'string',
189
- format: 'uuid',
190
- title: 'Id',
191
- },
192
- },
193
- type: 'object',
194
- required: ['shop_id', 'name', 'id'],
195
- title: 'AttributeSchema',
196
- } as const;
197
-
198
- export const $AttributeTranslationBase = {
199
- properties: {
200
- main_name: {
201
- type: 'string',
202
- title: 'Main Name',
203
- },
204
- alt1_name: {
205
- anyOf: [
206
- {
207
- type: 'string',
208
- },
209
- {
210
- type: 'null',
211
- },
212
- ],
213
- title: 'Alt1 Name',
214
- },
215
- alt2_name: {
216
- anyOf: [
217
- {
218
- type: 'string',
219
- },
220
- {
221
- type: 'null',
222
- },
223
- ],
224
- title: 'Alt2 Name',
225
- },
226
- },
227
- type: 'object',
228
- required: ['main_name'],
229
- title: 'AttributeTranslationBase',
230
- } as const;
231
-
232
- export const $AttributeUpdate = {
233
- properties: {
234
- name: {
235
- anyOf: [
236
- {
237
- type: 'string',
238
- },
239
- {
240
- type: 'null',
241
- },
242
- ],
243
- title: 'Name',
244
- },
245
- unit: {
246
- anyOf: [
247
- {
248
- type: 'string',
249
- },
250
- {
251
- type: 'null',
252
- },
253
- ],
254
- title: 'Unit',
255
- },
256
- translation: {
257
- anyOf: [
258
- {
259
- $ref: '#/components/schemas/AttributeTranslationBase',
260
- },
261
- {
262
- type: 'null',
263
- },
264
- ],
265
- },
266
- },
267
- type: 'object',
268
- title: 'AttributeUpdate',
269
- } as const;
270
-
271
- export const $AttributeWithOptionsSchema = {
272
- properties: {
273
- shop_id: {
274
- type: 'string',
275
- format: 'uuid',
276
- title: 'Shop Id',
277
- },
278
- name: {
279
- type: 'string',
280
- title: 'Name',
281
- },
282
- unit: {
283
- anyOf: [
284
- {
285
- type: 'string',
286
- },
287
- {
288
- type: 'null',
289
- },
290
- ],
291
- title: 'Unit',
292
- },
293
- translation: {
294
- anyOf: [
295
- {
296
- $ref: '#/components/schemas/AttributeTranslationBase',
297
- },
298
- {
299
- type: 'null',
300
- },
301
- ],
302
- },
303
- id: {
304
- type: 'string',
305
- format: 'uuid',
306
- title: 'Id',
307
- },
308
- options: {
309
- items: {
310
- $ref: '#/components/schemas/AttributeOptionSchema',
311
- },
312
- type: 'array',
313
- title: 'Options',
314
- default: [],
315
- },
316
- },
317
- type: 'object',
318
- required: ['shop_id', 'name', 'id'],
319
- title: 'AttributeWithOptionsSchema',
320
- } as const;
321
-
322
- export const $Body_login_access_token_login_access_token_post = {
323
- properties: {
324
- grant_type: {
325
- anyOf: [
326
- {
327
- type: 'string',
328
- pattern: 'password',
329
- },
330
- {
331
- type: 'null',
332
- },
333
- ],
334
- title: 'Grant Type',
335
- },
336
- username: {
337
- type: 'string',
338
- title: 'Username',
339
- },
340
- password: {
341
- type: 'string',
342
- title: 'Password',
343
- },
344
- scope: {
345
- type: 'string',
346
- title: 'Scope',
347
- default: '',
348
- },
349
- client_id: {
350
- anyOf: [
351
- {
352
- type: 'string',
353
- },
354
- {
355
- type: 'null',
356
- },
357
- ],
358
- title: 'Client Id',
359
- },
360
- client_secret: {
361
- anyOf: [
362
- {
363
- type: 'string',
364
- },
365
- {
366
- type: 'null',
367
- },
368
- ],
369
- title: 'Client Secret',
370
- },
371
- },
372
- type: 'object',
373
- required: ['username', 'password'],
374
- title: 'Body_login_access_token_login_access_token_post',
375
- } as const;
376
-
377
- export const $Body_reset_password_reset_password__post = {
378
- properties: {
379
- token: {
380
- type: 'string',
381
- title: 'Token',
382
- },
383
- new_password: {
384
- type: 'string',
385
- title: 'New Password',
386
- },
387
- },
388
- type: 'object',
389
- required: ['token', 'new_password'],
390
- title: 'Body_reset_password_reset_password__post',
391
- } as const;
392
-
393
- export const $Body_update_user_me_users_me_put = {
394
- properties: {
395
- password: {
396
- type: 'string',
397
- title: 'Password',
398
- },
399
- full_name: {
400
- type: 'string',
401
- title: 'Full Name',
402
- },
403
- email: {
404
- type: 'string',
405
- format: 'email',
406
- title: 'Email',
407
- },
408
- },
409
- type: 'object',
410
- title: 'Body_update_user_me_users_me_put',
411
- } as const;
412
-
413
- export const $Cart = {
414
- properties: {
415
- products: {
416
- items: {
417
- type: 'string',
418
- format: 'uuid',
419
- },
420
- type: 'array',
421
- title: 'Products',
422
- },
423
- },
424
- type: 'object',
425
- required: ['products'],
426
- title: 'Cart',
427
- } as const;
428
-
429
- export const $CategoryCreate = {
430
- properties: {
431
- shop_id: {
432
- type: 'string',
433
- format: 'uuid',
434
- title: 'Shop Id',
435
- },
436
- color: {
437
- type: 'string',
438
- title: 'Color',
439
- },
440
- icon: {
441
- anyOf: [
442
- {
443
- type: 'string',
444
- },
445
- {
446
- type: 'null',
447
- },
448
- ],
449
- title: 'Icon',
450
- },
451
- order_number: {
452
- anyOf: [
453
- {
454
- type: 'integer',
455
- },
456
- {
457
- type: 'null',
458
- },
459
- ],
460
- title: 'Order Number',
461
- },
462
- translation: {
463
- $ref: '#/components/schemas/CategoryTranslationBase',
464
- },
465
- main_image: {
466
- anyOf: [
467
- {
468
- type: 'object',
469
- },
470
- {
471
- type: 'string',
472
- },
473
- {
474
- type: 'null',
475
- },
476
- ],
477
- title: 'Main Image',
478
- },
479
- alt1_image: {
480
- anyOf: [
481
- {
482
- type: 'object',
483
- },
484
- {
485
- type: 'string',
486
- },
487
- {
488
- type: 'null',
489
- },
490
- ],
491
- title: 'Alt1 Image',
492
- },
493
- alt2_image: {
494
- anyOf: [
495
- {
496
- type: 'object',
497
- },
498
- {
499
- type: 'string',
500
- },
501
- {
502
- type: 'null',
503
- },
504
- ],
505
- title: 'Alt2 Image',
506
- },
507
- },
508
- type: 'object',
509
- required: [
510
- 'shop_id',
511
- 'color',
512
- 'translation',
513
- 'main_image',
514
- 'alt1_image',
515
- 'alt2_image',
516
- ],
517
- title: 'CategoryCreate',
518
- } as const;
519
-
520
- export const $CategoryImageDelete = {
521
- properties: {
522
- image: {
523
- type: 'string',
524
- title: 'Image',
525
- },
526
- },
527
- type: 'object',
528
- required: ['image'],
529
- title: 'CategoryImageDelete',
530
- } as const;
531
-
532
- export const $CategorySchema = {
533
- properties: {
534
- shop_id: {
535
- type: 'string',
536
- format: 'uuid',
537
- title: 'Shop Id',
538
- },
539
- color: {
540
- type: 'string',
541
- title: 'Color',
542
- },
543
- icon: {
544
- anyOf: [
545
- {
546
- type: 'string',
547
- },
548
- {
549
- type: 'null',
550
- },
551
- ],
552
- title: 'Icon',
553
- },
554
- order_number: {
555
- anyOf: [
556
- {
557
- type: 'integer',
558
- },
559
- {
560
- type: 'null',
561
- },
562
- ],
563
- title: 'Order Number',
564
- },
565
- translation: {
566
- $ref: '#/components/schemas/CategoryTranslationBase',
567
- },
568
- main_image: {
569
- anyOf: [
570
- {
571
- type: 'object',
572
- },
573
- {
574
- type: 'string',
575
- },
576
- {
577
- type: 'null',
578
- },
579
- ],
580
- title: 'Main Image',
581
- },
582
- alt1_image: {
583
- anyOf: [
584
- {
585
- type: 'object',
586
- },
587
- {
588
- type: 'string',
589
- },
590
- {
591
- type: 'null',
592
- },
593
- ],
594
- title: 'Alt1 Image',
595
- },
596
- alt2_image: {
597
- anyOf: [
598
- {
599
- type: 'object',
600
- },
601
- {
602
- type: 'string',
603
- },
604
- {
605
- type: 'null',
606
- },
607
- ],
608
- title: 'Alt2 Image',
609
- },
610
- id: {
611
- type: 'string',
612
- format: 'uuid',
613
- title: 'Id',
614
- },
615
- },
616
- type: 'object',
617
- required: [
618
- 'shop_id',
619
- 'color',
620
- 'translation',
621
- 'main_image',
622
- 'alt1_image',
623
- 'alt2_image',
624
- 'id',
625
- ],
626
- title: 'CategorySchema',
627
- } as const;
628
-
629
- export const $CategoryTranslationBase = {
630
- properties: {
631
- main_name: {
632
- type: 'string',
633
- title: 'Main Name',
634
- },
635
- main_description: {
636
- type: 'string',
637
- title: 'Main Description',
638
- },
639
- alt1_name: {
640
- anyOf: [
641
- {
642
- type: 'string',
643
- },
644
- {
645
- type: 'null',
646
- },
647
- ],
648
- title: 'Alt1 Name',
649
- },
650
- alt1_description: {
651
- anyOf: [
652
- {
653
- type: 'string',
654
- },
655
- {
656
- type: 'null',
657
- },
658
- ],
659
- title: 'Alt1 Description',
660
- },
661
- alt2_name: {
662
- anyOf: [
663
- {
664
- type: 'string',
665
- },
666
- {
667
- type: 'null',
668
- },
669
- ],
670
- title: 'Alt2 Name',
671
- },
672
- alt2_description: {
673
- anyOf: [
674
- {
675
- type: 'string',
676
- },
677
- {
678
- type: 'null',
679
- },
680
- ],
681
- title: 'Alt2 Description',
682
- },
683
- },
684
- type: 'object',
685
- required: ['main_name', 'main_description'],
686
- title: 'CategoryTranslationBase',
687
- } as const;
688
-
689
- export const $CategoryUpdate = {
690
- properties: {
691
- shop_id: {
692
- type: 'string',
693
- format: 'uuid',
694
- title: 'Shop Id',
695
- },
696
- color: {
697
- type: 'string',
698
- title: 'Color',
699
- },
700
- icon: {
701
- anyOf: [
702
- {
703
- type: 'string',
704
- },
705
- {
706
- type: 'null',
707
- },
708
- ],
709
- title: 'Icon',
710
- },
711
- order_number: {
712
- anyOf: [
713
- {
714
- type: 'integer',
715
- },
716
- {
717
- type: 'null',
718
- },
719
- ],
720
- title: 'Order Number',
721
- },
722
- translation: {
723
- $ref: '#/components/schemas/CategoryTranslationBase',
724
- },
725
- main_image: {
726
- anyOf: [
727
- {
728
- type: 'object',
729
- },
730
- {
731
- type: 'string',
732
- },
733
- {
734
- type: 'null',
735
- },
736
- ],
737
- title: 'Main Image',
738
- },
739
- alt1_image: {
740
- anyOf: [
741
- {
742
- type: 'object',
743
- },
744
- {
745
- type: 'string',
746
- },
747
- {
748
- type: 'null',
749
- },
750
- ],
751
- title: 'Alt1 Image',
752
- },
753
- alt2_image: {
754
- anyOf: [
755
- {
756
- type: 'object',
757
- },
758
- {
759
- type: 'string',
760
- },
761
- {
762
- type: 'null',
763
- },
764
- ],
765
- title: 'Alt2 Image',
766
- },
767
- },
768
- type: 'object',
769
- required: [
770
- 'shop_id',
771
- 'color',
772
- 'translation',
773
- 'main_image',
774
- 'alt1_image',
775
- 'alt2_image',
776
- ],
777
- title: 'CategoryUpdate',
778
- } as const;
779
-
780
- export const $ConfigurationContact = {
781
- properties: {
782
- company: {
783
- type: 'string',
784
- title: 'Company',
785
- },
786
- website: {
787
- anyOf: [
788
- {
789
- type: 'string',
790
- },
791
- {
792
- type: 'null',
793
- },
794
- ],
795
- title: 'Website',
796
- },
797
- phone: {
798
- type: 'string',
799
- maxLength: 64,
800
- minLength: 7,
801
- format: 'phone',
802
- title: 'Phone',
803
- },
804
- email: {
805
- type: 'string',
806
- format: 'email',
807
- title: 'Email',
808
- },
809
- address: {
810
- type: 'string',
811
- title: 'Address',
812
- },
813
- zip_code: {
814
- type: 'string',
815
- title: 'Zip Code',
816
- },
817
- city: {
818
- type: 'string',
819
- title: 'City',
820
- },
821
- twitter: {
822
- anyOf: [
823
- {
824
- type: 'string',
825
- },
826
- {
827
- type: 'null',
828
- },
829
- ],
830
- title: 'Twitter',
831
- },
832
- facebook: {
833
- anyOf: [
834
- {
835
- type: 'string',
836
- },
837
- {
838
- type: 'null',
839
- },
840
- ],
841
- title: 'Facebook',
842
- },
843
- instagram: {
844
- anyOf: [
845
- {
846
- type: 'string',
847
- },
848
- {
849
- type: 'null',
850
- },
851
- ],
852
- title: 'Instagram',
853
- },
854
- linkedin: {
855
- anyOf: [
856
- {
857
- type: 'string',
858
- },
859
- {
860
- type: 'null',
861
- },
862
- ],
863
- title: 'Linkedin',
864
- },
865
- tiktok: {
866
- anyOf: [
867
- {
868
- type: 'string',
869
- },
870
- {
871
- type: 'null',
872
- },
873
- ],
874
- title: 'Tiktok',
875
- },
876
- },
877
- type: 'object',
878
- required: ['company', 'phone', 'email', 'address', 'zip_code', 'city'],
879
- title: 'ConfigurationContact',
880
- } as const;
881
-
882
- export const $ConfigurationLanguageFieldMenuItems = {
883
- properties: {
884
- about: {
885
- type: 'string',
886
- title: 'About',
887
- },
888
- cart: {
889
- type: 'string',
890
- title: 'Cart',
891
- },
892
- checkout: {
893
- type: 'string',
894
- title: 'Checkout',
895
- },
896
- products: {
897
- type: 'string',
898
- title: 'Products',
899
- },
900
- contact: {
901
- type: 'string',
902
- title: 'Contact',
903
- },
904
- policies: {
905
- type: 'string',
906
- title: 'Policies',
907
- },
908
- terms: {
909
- type: 'string',
910
- title: 'Terms',
911
- },
912
- privacy_policy: {
913
- type: 'string',
914
- title: 'Privacy Policy',
915
- },
916
- return_policy: {
917
- type: 'string',
918
- title: 'Return Policy',
919
- },
920
- website: {
921
- type: 'string',
922
- title: 'Website',
923
- },
924
- phone: {
925
- type: 'string',
926
- title: 'Phone',
927
- },
928
- email: {
929
- type: 'string',
930
- title: 'Email',
931
- },
932
- address: {
933
- type: 'string',
934
- title: 'Address',
935
- },
936
- },
937
- type: 'object',
938
- required: [
939
- 'about',
940
- 'cart',
941
- 'checkout',
942
- 'products',
943
- 'contact',
944
- 'policies',
945
- 'terms',
946
- 'privacy_policy',
947
- 'return_policy',
948
- 'website',
949
- 'phone',
950
- 'email',
951
- 'address',
952
- ],
953
- title: 'ConfigurationLanguageFieldMenuItems',
954
- } as const;
955
-
956
- export const $ConfigurationLanguageFieldStaticTexts = {
957
- properties: {
958
- about: {
959
- type: 'string',
960
- title: 'About',
961
- },
962
- terms: {
963
- type: 'string',
964
- title: 'Terms',
965
- },
966
- privacy_policy: {
967
- type: 'string',
968
- title: 'Privacy Policy',
969
- },
970
- return_policy: {
971
- type: 'string',
972
- title: 'Return Policy',
973
- },
974
- },
975
- type: 'object',
976
- required: ['about', 'terms', 'privacy_policy', 'return_policy'],
977
- title: 'ConfigurationLanguageFieldStaticTexts',
978
- } as const;
979
-
980
- export const $ConfigurationLanguageFields = {
981
- properties: {
982
- language_name: {
983
- type: 'string',
984
- title: 'Language Name',
985
- },
986
- menu_items: {
987
- $ref: '#/components/schemas/ConfigurationLanguageFieldMenuItems',
988
- },
989
- static_texts: {
990
- $ref: '#/components/schemas/ConfigurationLanguageFieldStaticTexts',
991
- },
992
- },
993
- type: 'object',
994
- required: ['language_name', 'menu_items', 'static_texts'],
995
- title: 'ConfigurationLanguageFields',
996
- } as const;
997
-
998
- export const $ConfigurationLanguages_Input = {
999
- properties: {
1000
- main: {
1001
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1002
- },
1003
- alt1: {
1004
- anyOf: [
1005
- {
1006
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1007
- },
1008
- {
1009
- type: 'null',
1010
- },
1011
- ],
1012
- },
1013
- alt2: {
1014
- anyOf: [
1015
- {
1016
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1017
- },
1018
- {
1019
- type: 'null',
1020
- },
1021
- ],
1022
- },
1023
- },
1024
- type: 'object',
1025
- required: ['main'],
1026
- title: 'ConfigurationLanguages',
1027
- } as const;
1028
-
1029
- export const $ConfigurationLanguages_Output = {
1030
- properties: {
1031
- main: {
1032
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1033
- },
1034
- alt1: {
1035
- anyOf: [
1036
- {
1037
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1038
- },
1039
- {
1040
- type: 'null',
1041
- },
1042
- ],
1043
- },
1044
- alt2: {
1045
- anyOf: [
1046
- {
1047
- $ref: '#/components/schemas/ConfigurationLanguageFields',
1048
- },
1049
- {
1050
- type: 'null',
1051
- },
1052
- ],
1053
- },
1054
- },
1055
- type: 'object',
1056
- required: ['main'],
1057
- title: 'ConfigurationLanguages',
1058
- } as const;
1059
-
1060
- export const $ConfigurationV1_Input = {
1061
- properties: {
1062
- short_shop_name: {
1063
- type: 'string',
1064
- title: 'Short Shop Name',
1065
- },
1066
- logo: {
1067
- type: 'string',
1068
- title: 'Logo',
1069
- },
1070
- main_banner: {
1071
- type: 'string',
1072
- title: 'Main Banner',
1073
- },
1074
- alt1_banner: {
1075
- anyOf: [
1076
- {
1077
- type: 'string',
1078
- },
1079
- {
1080
- type: 'null',
1081
- },
1082
- ],
1083
- title: 'Alt1 Banner',
1084
- },
1085
- alt2_banner: {
1086
- anyOf: [
1087
- {
1088
- type: 'string',
1089
- },
1090
- {
1091
- type: 'null',
1092
- },
1093
- ],
1094
- title: 'Alt2 Banner',
1095
- },
1096
- gradient_percentage: {
1097
- type: 'integer',
1098
- title: 'Gradient Percentage',
1099
- default: 75,
1100
- },
1101
- languages: {
1102
- $ref: '#/components/schemas/ConfigurationLanguages-Input',
1103
- },
1104
- google_analytics_id: {
1105
- anyOf: [
1106
- {
1107
- type: 'string',
1108
- },
1109
- {
1110
- type: 'null',
1111
- },
1112
- ],
1113
- title: 'Google Analytics Id',
1114
- },
1115
- contact: {
1116
- $ref: '#/components/schemas/ConfigurationContact',
1117
- },
1118
- toggles: {
1119
- $ref: '#/components/schemas/Toggles',
1120
- },
1121
- },
1122
- type: 'object',
1123
- required: [
1124
- 'short_shop_name',
1125
- 'logo',
1126
- 'main_banner',
1127
- 'languages',
1128
- 'contact',
1129
- 'toggles',
1130
- ],
1131
- title: 'ConfigurationV1',
1132
- } as const;
1133
-
1134
- export const $ConfigurationV1_Output = {
1135
- properties: {
1136
- short_shop_name: {
1137
- type: 'string',
1138
- title: 'Short Shop Name',
1139
- },
1140
- logo: {
1141
- type: 'string',
1142
- title: 'Logo',
1143
- },
1144
- main_banner: {
1145
- type: 'string',
1146
- title: 'Main Banner',
1147
- },
1148
- alt1_banner: {
1149
- anyOf: [
1150
- {
1151
- type: 'string',
1152
- },
1153
- {
1154
- type: 'null',
1155
- },
1156
- ],
1157
- title: 'Alt1 Banner',
1158
- },
1159
- alt2_banner: {
1160
- anyOf: [
1161
- {
1162
- type: 'string',
1163
- },
1164
- {
1165
- type: 'null',
1166
- },
1167
- ],
1168
- title: 'Alt2 Banner',
1169
- },
1170
- gradient_percentage: {
1171
- type: 'integer',
1172
- title: 'Gradient Percentage',
1173
- default: 75,
1174
- },
1175
- languages: {
1176
- $ref: '#/components/schemas/ConfigurationLanguages-Output',
1177
- },
1178
- google_analytics_id: {
1179
- anyOf: [
1180
- {
1181
- type: 'string',
1182
- },
1183
- {
1184
- type: 'null',
1185
- },
1186
- ],
1187
- title: 'Google Analytics Id',
1188
- },
1189
- contact: {
1190
- $ref: '#/components/schemas/ConfigurationContact',
1191
- },
1192
- toggles: {
1193
- $ref: '#/components/schemas/Toggles',
1194
- },
1195
- },
1196
- type: 'object',
1197
- required: [
1198
- 'short_shop_name',
1199
- 'logo',
1200
- 'main_banner',
1201
- 'languages',
1202
- 'contact',
1203
- 'toggles',
1204
- ],
1205
- title: 'ConfigurationV1',
1206
- } as const;
1207
-
1208
- export const $DefaultPrice = {
1209
- properties: {
1210
- id: {
1211
- anyOf: [
1212
- {
1213
- type: 'string',
1214
- format: 'uuid',
1215
- },
1216
- {
1217
- type: 'null',
1218
- },
1219
- ],
1220
- title: 'Id',
1221
- },
1222
- created_at: {
1223
- anyOf: [
1224
- {
1225
- type: 'string',
1226
- format: 'date-time',
1227
- },
1228
- {
1229
- type: 'null',
1230
- },
1231
- ],
1232
- title: 'Created At',
1233
- },
1234
- modified_at: {
1235
- anyOf: [
1236
- {
1237
- type: 'string',
1238
- format: 'date-time',
1239
- },
1240
- {
1241
- type: 'null',
1242
- },
1243
- ],
1244
- title: 'Modified At',
1245
- },
1246
- internal_product_id: {
1247
- anyOf: [
1248
- {
1249
- type: 'string',
1250
- },
1251
- {
1252
- type: 'null',
1253
- },
1254
- ],
1255
- title: 'Internal Product Id',
1256
- },
1257
- active: {
1258
- anyOf: [
1259
- {
1260
- type: 'boolean',
1261
- },
1262
- {
1263
- type: 'null',
1264
- },
1265
- ],
1266
- title: 'Active',
1267
- },
1268
- new: {
1269
- anyOf: [
1270
- {
1271
- type: 'boolean',
1272
- },
1273
- {
1274
- type: 'null',
1275
- },
1276
- ],
1277
- title: 'New',
1278
- },
1279
- one: {
1280
- anyOf: [
1281
- {
1282
- type: 'number',
1283
- },
1284
- {
1285
- type: 'null',
1286
- },
1287
- ],
1288
- title: 'One',
1289
- },
1290
- two_five: {
1291
- anyOf: [
1292
- {
1293
- type: 'number',
1294
- },
1295
- {
1296
- type: 'null',
1297
- },
1298
- ],
1299
- title: 'Two Five',
1300
- },
1301
- five: {
1302
- anyOf: [
1303
- {
1304
- type: 'number',
1305
- },
1306
- {
1307
- type: 'null',
1308
- },
1309
- ],
1310
- title: 'Five',
1311
- },
1312
- joint: {
1313
- anyOf: [
1314
- {
1315
- type: 'number',
1316
- },
1317
- {
1318
- type: 'null',
1319
- },
1320
- ],
1321
- title: 'Joint',
1322
- },
1323
- piece: {
1324
- anyOf: [
1325
- {
1326
- type: 'number',
1327
- },
1328
- {
1329
- type: 'null',
1330
- },
1331
- ],
1332
- title: 'Piece',
1333
- },
1334
- },
1335
- type: 'object',
1336
- title: 'DefaultPrice',
1337
- } as const;
1338
-
1339
- export const $EarlyAccessCreate = {
1340
- properties: {
1341
- email: {
1342
- type: 'string',
1343
- format: 'email',
1344
- title: 'Email',
1345
- },
1346
- },
1347
- type: 'object',
1348
- required: ['email'],
1349
- title: 'EarlyAccessCreate',
1350
- } as const;
1351
-
1352
- export const $FaqCreate = {
1353
- properties: {
1354
- question: {
1355
- type: 'string',
1356
- title: 'Question',
1357
- },
1358
- answer: {
1359
- type: 'string',
1360
- title: 'Answer',
1361
- },
1362
- category: {
1363
- type: 'string',
1364
- title: 'Category',
1365
- },
1366
- },
1367
- type: 'object',
1368
- required: ['question', 'answer', 'category'],
1369
- title: 'FaqCreate',
1370
- } as const;
1371
-
1372
- export const $FaqCreated = {
1373
- properties: {
1374
- question: {
1375
- type: 'string',
1376
- title: 'Question',
1377
- },
1378
- answer: {
1379
- type: 'string',
1380
- title: 'Answer',
1381
- },
1382
- category: {
1383
- type: 'string',
1384
- title: 'Category',
1385
- },
1386
- id: {
1387
- type: 'string',
1388
- format: 'uuid',
1389
- title: 'Id',
1390
- },
1391
- created_at: {
1392
- type: 'string',
1393
- format: 'date-time',
1394
- title: 'Created At',
1395
- },
1396
- modified_at: {
1397
- type: 'string',
1398
- format: 'date-time',
1399
- title: 'Modified At',
1400
- },
1401
- },
1402
- type: 'object',
1403
- required: [
1404
- 'question',
1405
- 'answer',
1406
- 'category',
1407
- 'id',
1408
- 'created_at',
1409
- 'modified_at',
1410
- ],
1411
- title: 'FaqCreated',
1412
- } as const;
1413
-
1414
- export const $FaqSchema = {
1415
- properties: {
1416
- question: {
1417
- type: 'string',
1418
- title: 'Question',
1419
- },
1420
- answer: {
1421
- type: 'string',
1422
- title: 'Answer',
1423
- },
1424
- category: {
1425
- type: 'string',
1426
- title: 'Category',
1427
- },
1428
- id: {
1429
- type: 'string',
1430
- format: 'uuid',
1431
- title: 'Id',
1432
- },
1433
- created_at: {
1434
- type: 'string',
1435
- format: 'date-time',
1436
- title: 'Created At',
1437
- },
1438
- modified_at: {
1439
- type: 'string',
1440
- format: 'date-time',
1441
- title: 'Modified At',
1442
- },
1443
- },
1444
- type: 'object',
1445
- required: [
1446
- 'question',
1447
- 'answer',
1448
- 'category',
1449
- 'id',
1450
- 'created_at',
1451
- 'modified_at',
1452
- ],
1453
- title: 'FaqSchema',
1454
- } as const;
1455
-
1456
- export const $FaqUpdate = {
1457
- properties: {
1458
- question: {
1459
- type: 'string',
1460
- title: 'Question',
1461
- },
1462
- answer: {
1463
- type: 'string',
1464
- title: 'Answer',
1465
- },
1466
- category: {
1467
- type: 'string',
1468
- title: 'Category',
1469
- },
1470
- },
1471
- type: 'object',
1472
- required: ['question', 'answer', 'category'],
1473
- title: 'FaqUpdate',
1474
- } as const;
1475
-
1476
- export const $FaqUpdated = {
1477
- properties: {
1478
- question: {
1479
- type: 'string',
1480
- title: 'Question',
1481
- },
1482
- answer: {
1483
- type: 'string',
1484
- title: 'Answer',
1485
- },
1486
- category: {
1487
- type: 'string',
1488
- title: 'Category',
1489
- },
1490
- id: {
1491
- type: 'string',
1492
- format: 'uuid',
1493
- title: 'Id',
1494
- },
1495
- },
1496
- type: 'object',
1497
- required: ['question', 'answer', 'category', 'id'],
1498
- title: 'FaqUpdated',
1499
- } as const;
1500
-
1501
- export const $HTTPValidationError = {
1502
- properties: {
1503
- detail: {
1504
- items: {
1505
- $ref: '#/components/schemas/ValidationError',
1506
- },
1507
- type: 'array',
1508
- title: 'Detail',
1509
- },
1510
- },
1511
- type: 'object',
1512
- title: 'HTTPValidationError',
1513
- } as const;
1514
-
1515
- export const $Lang = {
1516
- type: 'string',
1517
- enum: ['main', 'alt1', 'alt2'],
1518
- title: 'Lang',
1519
- description: 'Language options.',
1520
- } as const;
1521
-
1522
- export const $LicenseCreate = {
1523
- properties: {
1524
- name: {
1525
- type: 'string',
1526
- title: 'Name',
1527
- },
1528
- improviser_user: {
1529
- type: 'string',
1530
- format: 'uuid',
1531
- title: 'Improviser User',
1532
- },
1533
- is_recurring: {
1534
- type: 'boolean',
1535
- title: 'Is Recurring',
1536
- },
1537
- seats: {
1538
- type: 'number',
1539
- title: 'Seats',
1540
- },
1541
- order_id: {
1542
- type: 'string',
1543
- format: 'uuid',
1544
- title: 'Order Id',
1545
- },
1546
- end_date: {
1547
- anyOf: [
1548
- {
1549
- type: 'string',
1550
- format: 'date-time',
1551
- },
1552
- {
1553
- type: 'null',
1554
- },
1555
- ],
1556
- title: 'End Date',
1557
- },
1558
- },
1559
- type: 'object',
1560
- required: [
1561
- 'name',
1562
- 'improviser_user',
1563
- 'is_recurring',
1564
- 'seats',
1565
- 'order_id',
1566
- 'end_date',
1567
- ],
1568
- title: 'LicenseCreate',
1569
- } as const;
1570
-
1571
- export const $LicenseSchema = {
1572
- properties: {
1573
- name: {
1574
- type: 'string',
1575
- title: 'Name',
1576
- },
1577
- improviser_user: {
1578
- type: 'string',
1579
- format: 'uuid',
1580
- title: 'Improviser User',
1581
- },
1582
- is_recurring: {
1583
- type: 'boolean',
1584
- title: 'Is Recurring',
1585
- },
1586
- seats: {
1587
- type: 'number',
1588
- title: 'Seats',
1589
- },
1590
- order_id: {
1591
- type: 'string',
1592
- format: 'uuid',
1593
- title: 'Order Id',
1594
- },
1595
- end_date: {
1596
- anyOf: [
1597
- {
1598
- type: 'string',
1599
- format: 'date-time',
1600
- },
1601
- {
1602
- type: 'null',
1603
- },
1604
- ],
1605
- title: 'End Date',
1606
- },
1607
- id: {
1608
- type: 'string',
1609
- format: 'uuid',
1610
- title: 'Id',
1611
- },
1612
- modified_at: {
1613
- type: 'string',
1614
- format: 'date-time',
1615
- title: 'Modified At',
1616
- },
1617
- created_at: {
1618
- type: 'string',
1619
- format: 'date-time',
1620
- title: 'Created At',
1621
- },
1622
- start_date: {
1623
- type: 'string',
1624
- format: 'date-time',
1625
- title: 'Start Date',
1626
- },
1627
- },
1628
- type: 'object',
1629
- required: [
1630
- 'name',
1631
- 'improviser_user',
1632
- 'is_recurring',
1633
- 'seats',
1634
- 'order_id',
1635
- 'end_date',
1636
- 'id',
1637
- 'modified_at',
1638
- 'created_at',
1639
- 'start_date',
1640
- ],
1641
- title: 'LicenseSchema',
1642
- } as const;
1643
-
1644
- export const $LicenseUpdate = {
1645
- properties: {
1646
- seats: {
1647
- anyOf: [
1648
- {
1649
- type: 'number',
1650
- },
1651
- {
1652
- type: 'null',
1653
- },
1654
- ],
1655
- title: 'Seats',
1656
- },
1657
- end_date: {
1658
- anyOf: [
1659
- {
1660
- type: 'string',
1661
- format: 'date-time',
1662
- },
1663
- {
1664
- type: 'null',
1665
- },
1666
- ],
1667
- title: 'End Date',
1668
- },
1669
- },
1670
- type: 'object',
1671
- required: ['seats', 'end_date'],
1672
- title: 'LicenseUpdate',
1673
- } as const;
1674
-
1675
- export const $Msg = {
1676
- properties: {
1677
- msg: {
1678
- type: 'string',
1679
- title: 'Msg',
1680
- },
1681
- },
1682
- type: 'object',
1683
- required: ['msg'],
1684
- title: 'Msg',
1685
- } as const;
1686
-
1687
- export const $OrderBase = {
1688
- properties: {
1689
- account_id: {
1690
- anyOf: [
1691
- {
1692
- type: 'string',
1693
- format: 'uuid',
1694
- },
1695
- {
1696
- type: 'null',
1697
- },
1698
- ],
1699
- title: 'Account Id',
1700
- },
1701
- total: {
1702
- anyOf: [
1703
- {
1704
- type: 'number',
1705
- },
1706
- {
1707
- type: 'null',
1708
- },
1709
- ],
1710
- title: 'Total',
1711
- },
1712
- notes: {
1713
- anyOf: [
1714
- {
1715
- type: 'string',
1716
- },
1717
- {
1718
- type: 'null',
1719
- },
1720
- ],
1721
- title: 'Notes',
1722
- },
1723
- customer_order_id: {
1724
- anyOf: [
1725
- {
1726
- type: 'integer',
1727
- },
1728
- {
1729
- type: 'null',
1730
- },
1731
- ],
1732
- title: 'Customer Order Id',
1733
- },
1734
- status: {
1735
- anyOf: [
1736
- {
1737
- type: 'string',
1738
- },
1739
- {
1740
- type: 'null',
1741
- },
1742
- ],
1743
- title: 'Status',
1744
- },
1745
- },
1746
- type: 'object',
1747
- required: ['total', 'notes', 'customer_order_id', 'status'],
1748
- title: 'OrderBase',
1749
- } as const;
1750
-
1751
- export const $OrderCreate = {
1752
- properties: {
1753
- account_id: {
1754
- anyOf: [
1755
- {
1756
- type: 'string',
1757
- format: 'uuid',
1758
- },
1759
- {
1760
- type: 'null',
1761
- },
1762
- ],
1763
- title: 'Account Id',
1764
- },
1765
- total: {
1766
- anyOf: [
1767
- {
1768
- type: 'number',
1769
- },
1770
- {
1771
- type: 'null',
1772
- },
1773
- ],
1774
- title: 'Total',
1775
- },
1776
- notes: {
1777
- anyOf: [
1778
- {
1779
- type: 'string',
1780
- },
1781
- {
1782
- type: 'null',
1783
- },
1784
- ],
1785
- title: 'Notes',
1786
- },
1787
- customer_order_id: {
1788
- anyOf: [
1789
- {
1790
- type: 'integer',
1791
- },
1792
- {
1793
- type: 'null',
1794
- },
1795
- ],
1796
- title: 'Customer Order Id',
1797
- },
1798
- status: {
1799
- anyOf: [
1800
- {
1801
- type: 'string',
1802
- },
1803
- {
1804
- type: 'null',
1805
- },
1806
- ],
1807
- title: 'Status',
1808
- },
1809
- shop_id: {
1810
- type: 'string',
1811
- format: 'uuid',
1812
- title: 'Shop Id',
1813
- },
1814
- order_info: {
1815
- items: {
1816
- $ref: '#/components/schemas/OrderItem',
1817
- },
1818
- type: 'array',
1819
- title: 'Order Info',
1820
- },
1821
- completed_at: {
1822
- anyOf: [
1823
- {
1824
- type: 'string',
1825
- format: 'date-time',
1826
- },
1827
- {
1828
- type: 'null',
1829
- },
1830
- ],
1831
- title: 'Completed At',
1832
- },
1833
- account_name: {
1834
- anyOf: [
1835
- {
1836
- type: 'string',
1837
- },
1838
- {
1839
- type: 'null',
1840
- },
1841
- ],
1842
- title: 'Account Name',
1843
- },
1844
- },
1845
- type: 'object',
1846
- required: [
1847
- 'total',
1848
- 'notes',
1849
- 'customer_order_id',
1850
- 'status',
1851
- 'shop_id',
1852
- 'order_info',
1853
- ],
1854
- title: 'OrderCreate',
1855
- } as const;
1856
-
1857
- export const $OrderCreated = {
1858
- properties: {
1859
- account_id: {
1860
- anyOf: [
1861
- {
1862
- type: 'string',
1863
- format: 'uuid',
1864
- },
1865
- {
1866
- type: 'null',
1867
- },
1868
- ],
1869
- title: 'Account Id',
1870
- },
1871
- total: {
1872
- anyOf: [
1873
- {
1874
- type: 'number',
1875
- },
1876
- {
1877
- type: 'null',
1878
- },
1879
- ],
1880
- title: 'Total',
1881
- },
1882
- notes: {
1883
- anyOf: [
1884
- {
1885
- type: 'string',
1886
- },
1887
- {
1888
- type: 'null',
1889
- },
1890
- ],
1891
- title: 'Notes',
1892
- },
1893
- customer_order_id: {
1894
- anyOf: [
1895
- {
1896
- type: 'integer',
1897
- },
1898
- {
1899
- type: 'null',
1900
- },
1901
- ],
1902
- title: 'Customer Order Id',
1903
- },
1904
- status: {
1905
- anyOf: [
1906
- {
1907
- type: 'string',
1908
- },
1909
- {
1910
- type: 'null',
1911
- },
1912
- ],
1913
- title: 'Status',
1914
- },
1915
- id: {
1916
- type: 'string',
1917
- format: 'uuid',
1918
- title: 'Id',
1919
- },
1920
- created_at: {
1921
- type: 'string',
1922
- format: 'date-time',
1923
- title: 'Created At',
1924
- },
1925
- completed_at: {
1926
- anyOf: [
1927
- {
1928
- type: 'string',
1929
- format: 'date-time',
1930
- },
1931
- {
1932
- type: 'null',
1933
- },
1934
- ],
1935
- title: 'Completed At',
1936
- },
1937
- account_name: {
1938
- anyOf: [
1939
- {
1940
- type: 'string',
1941
- },
1942
- {
1943
- type: 'null',
1944
- },
1945
- ],
1946
- title: 'Account Name',
1947
- },
1948
- },
1949
- type: 'object',
1950
- required: [
1951
- 'total',
1952
- 'notes',
1953
- 'customer_order_id',
1954
- 'status',
1955
- 'id',
1956
- 'created_at',
1957
- 'account_name',
1958
- ],
1959
- title: 'OrderCreated',
1960
- } as const;
1961
-
1962
- export const $OrderItem = {
1963
- properties: {
1964
- description: {
1965
- anyOf: [
1966
- {
1967
- type: 'string',
1968
- },
1969
- {
1970
- type: 'null',
1971
- },
1972
- ],
1973
- title: 'Description',
1974
- },
1975
- price: {
1976
- type: 'number',
1977
- title: 'Price',
1978
- },
1979
- product_id: {
1980
- type: 'string',
1981
- format: 'uuid',
1982
- title: 'Product Id',
1983
- },
1984
- product_name: {
1985
- type: 'string',
1986
- title: 'Product Name',
1987
- },
1988
- quantity: {
1989
- type: 'integer',
1990
- title: 'Quantity',
1991
- },
1992
- },
1993
- type: 'object',
1994
- required: [
1995
- 'description',
1996
- 'price',
1997
- 'product_id',
1998
- 'product_name',
1999
- 'quantity',
2000
- ],
2001
- title: 'OrderItem',
2002
- } as const;
2003
-
2004
- export const $OrderSchema = {
2005
- properties: {
2006
- account_id: {
2007
- anyOf: [
2008
- {
2009
- type: 'string',
2010
- format: 'uuid',
2011
- },
2012
- {
2013
- type: 'null',
2014
- },
2015
- ],
2016
- title: 'Account Id',
2017
- },
2018
- total: {
2019
- anyOf: [
2020
- {
2021
- type: 'number',
2022
- },
2023
- {
2024
- type: 'null',
2025
- },
2026
- ],
2027
- title: 'Total',
2028
- },
2029
- notes: {
2030
- anyOf: [
2031
- {
2032
- type: 'string',
2033
- },
2034
- {
2035
- type: 'null',
2036
- },
2037
- ],
2038
- title: 'Notes',
2039
- },
2040
- customer_order_id: {
2041
- anyOf: [
2042
- {
2043
- type: 'integer',
2044
- },
2045
- {
2046
- type: 'null',
2047
- },
2048
- ],
2049
- title: 'Customer Order Id',
2050
- },
2051
- status: {
2052
- anyOf: [
2053
- {
2054
- type: 'string',
2055
- },
2056
- {
2057
- type: 'null',
2058
- },
2059
- ],
2060
- title: 'Status',
2061
- },
2062
- id: {
2063
- type: 'string',
2064
- format: 'uuid',
2065
- title: 'Id',
2066
- },
2067
- shop_id: {
2068
- type: 'string',
2069
- format: 'uuid',
2070
- title: 'Shop Id',
2071
- },
2072
- order_info: {
2073
- items: {
2074
- $ref: '#/components/schemas/OrderItem',
2075
- },
2076
- type: 'array',
2077
- title: 'Order Info',
2078
- },
2079
- created_at: {
2080
- type: 'string',
2081
- format: 'date-time',
2082
- title: 'Created At',
2083
- },
2084
- completed_at: {
2085
- anyOf: [
2086
- {
2087
- type: 'string',
2088
- format: 'date-time',
2089
- },
2090
- {
2091
- type: 'null',
2092
- },
2093
- ],
2094
- title: 'Completed At',
2095
- },
2096
- completed_by: {
2097
- anyOf: [
2098
- {
2099
- type: 'string',
2100
- format: 'uuid',
2101
- },
2102
- {
2103
- type: 'null',
2104
- },
2105
- ],
2106
- title: 'Completed By',
2107
- },
2108
- account_name: {
2109
- anyOf: [
2110
- {
2111
- type: 'string',
2112
- },
2113
- {
2114
- type: 'null',
2115
- },
2116
- ],
2117
- title: 'Account Name',
2118
- },
2119
- shop_name: {
2120
- anyOf: [
2121
- {
2122
- type: 'string',
2123
- },
2124
- {
2125
- type: 'null',
2126
- },
2127
- ],
2128
- title: 'Shop Name',
2129
- },
2130
- completed_by_name: {
2131
- anyOf: [
2132
- {
2133
- type: 'string',
2134
- },
2135
- {
2136
- type: 'null',
2137
- },
2138
- ],
2139
- title: 'Completed By Name',
2140
- },
2141
- },
2142
- type: 'object',
2143
- required: [
2144
- 'total',
2145
- 'notes',
2146
- 'customer_order_id',
2147
- 'status',
2148
- 'id',
2149
- 'shop_id',
2150
- 'order_info',
2151
- 'created_at',
2152
- 'completed_by',
2153
- 'account_name',
2154
- 'shop_name',
2155
- ],
2156
- title: 'OrderSchema',
2157
- } as const;
2158
-
2159
- export const $OrderUpdate = {
2160
- properties: {
2161
- account_id: {
2162
- anyOf: [
2163
- {
2164
- type: 'string',
2165
- format: 'uuid',
2166
- },
2167
- {
2168
- type: 'null',
2169
- },
2170
- ],
2171
- title: 'Account Id',
2172
- },
2173
- total: {
2174
- anyOf: [
2175
- {
2176
- type: 'number',
2177
- },
2178
- {
2179
- type: 'null',
2180
- },
2181
- ],
2182
- title: 'Total',
2183
- },
2184
- notes: {
2185
- anyOf: [
2186
- {
2187
- type: 'string',
2188
- },
2189
- {
2190
- type: 'null',
2191
- },
2192
- ],
2193
- title: 'Notes',
2194
- },
2195
- customer_order_id: {
2196
- anyOf: [
2197
- {
2198
- type: 'integer',
2199
- },
2200
- {
2201
- type: 'null',
2202
- },
2203
- ],
2204
- title: 'Customer Order Id',
2205
- },
2206
- status: {
2207
- anyOf: [
2208
- {
2209
- type: 'string',
2210
- },
2211
- {
2212
- type: 'null',
2213
- },
2214
- ],
2215
- title: 'Status',
2216
- },
2217
- shop_id: {
2218
- type: 'string',
2219
- format: 'uuid',
2220
- title: 'Shop Id',
2221
- },
2222
- order_info: {
2223
- items: {
2224
- $ref: '#/components/schemas/OrderItem',
2225
- },
2226
- type: 'array',
2227
- title: 'Order Info',
2228
- },
2229
- },
2230
- type: 'object',
2231
- required: [
2232
- 'total',
2233
- 'notes',
2234
- 'customer_order_id',
2235
- 'status',
2236
- 'shop_id',
2237
- 'order_info',
2238
- ],
2239
- title: 'OrderUpdate',
2240
- } as const;
2241
-
2242
- export const $OrderUpdated = {
2243
- properties: {
2244
- account_id: {
2245
- anyOf: [
2246
- {
2247
- type: 'string',
2248
- format: 'uuid',
2249
- },
2250
- {
2251
- type: 'null',
2252
- },
2253
- ],
2254
- title: 'Account Id',
2255
- },
2256
- total: {
2257
- anyOf: [
2258
- {
2259
- type: 'number',
2260
- },
2261
- {
2262
- type: 'null',
2263
- },
2264
- ],
2265
- title: 'Total',
2266
- },
2267
- notes: {
2268
- anyOf: [
2269
- {
2270
- type: 'string',
2271
- },
2272
- {
2273
- type: 'null',
2274
- },
2275
- ],
2276
- title: 'Notes',
2277
- },
2278
- customer_order_id: {
2279
- anyOf: [
2280
- {
2281
- type: 'integer',
2282
- },
2283
- {
2284
- type: 'null',
2285
- },
2286
- ],
2287
- title: 'Customer Order Id',
2288
- },
2289
- status: {
2290
- anyOf: [
2291
- {
2292
- type: 'string',
2293
- },
2294
- {
2295
- type: 'null',
2296
- },
2297
- ],
2298
- title: 'Status',
2299
- },
2300
- shop_id: {
2301
- type: 'string',
2302
- format: 'uuid',
2303
- title: 'Shop Id',
2304
- },
2305
- order_info: {
2306
- items: {
2307
- $ref: '#/components/schemas/OrderItem',
2308
- },
2309
- type: 'array',
2310
- title: 'Order Info',
2311
- },
2312
- id: {
2313
- type: 'string',
2314
- format: 'uuid',
2315
- title: 'Id',
2316
- },
2317
- },
2318
- type: 'object',
2319
- required: [
2320
- 'total',
2321
- 'notes',
2322
- 'customer_order_id',
2323
- 'status',
2324
- 'shop_id',
2325
- 'order_info',
2326
- 'id',
2327
- ],
2328
- title: 'OrderUpdated',
2329
- } as const;
2330
-
2331
- export const $ProductAttributeItem = {
2332
- properties: {
2333
- attribute_id: {
2334
- type: 'string',
2335
- format: 'uuid',
2336
- title: 'Attribute Id',
2337
- },
2338
- attribute_name: {
2339
- anyOf: [
2340
- {
2341
- type: 'string',
2342
- },
2343
- {
2344
- type: 'null',
2345
- },
2346
- ],
2347
- title: 'Attribute Name',
2348
- },
2349
- option_id: {
2350
- anyOf: [
2351
- {
2352
- type: 'string',
2353
- format: 'uuid',
2354
- },
2355
- {
2356
- type: 'null',
2357
- },
2358
- ],
2359
- title: 'Option Id',
2360
- },
2361
- option_value_key: {
2362
- anyOf: [
2363
- {
2364
- type: 'string',
2365
- },
2366
- {
2367
- type: 'null',
2368
- },
2369
- ],
2370
- title: 'Option Value Key',
2371
- },
2372
- },
2373
- type: 'object',
2374
- required: ['attribute_id'],
2375
- title: 'ProductAttributeItem',
2376
- description: `Lightweight representation of a product's attribute value used in responses.
2377
-
2378
- - attribute_id: the AttributeTable id
2379
- - attribute_name: translated main_name for display (optional, may be omitted in some endpoints)
2380
- - option_id: the AttributeOptionTable id when the value is an enum option
2381
- - option_value_key: the option key (e.g., "XS", "M") when applicable`,
2382
- } as const;
2383
-
2384
- export const $ProductAttributeOptionSelectionAdd = {
2385
- properties: {
2386
- option_ids: {
2387
- items: {
2388
- type: 'string',
2389
- format: 'uuid',
2390
- },
2391
- type: 'array',
2392
- title: 'Option Ids',
2393
- },
2394
- },
2395
- type: 'object',
2396
- required: ['option_ids'],
2397
- title: 'ProductAttributeOptionSelectionAdd',
2398
- description:
2399
- 'Payload for creating or replacing selected attribute options for a product.',
2400
- } as const;
2401
-
2402
- export const $ProductAttributeOptionSelectionReplace = {
2403
- properties: {
2404
- option_ids: {
2405
- items: {
2406
- type: 'string',
2407
- format: 'uuid',
2408
- },
2409
- type: 'array',
2410
- title: 'Option Ids',
2411
- },
2412
- },
2413
- type: 'object',
2414
- required: ['option_ids'],
2415
- title: 'ProductAttributeOptionSelectionReplace',
2416
- description:
2417
- 'Payload for creating or replacing selected attribute options for a product.',
2418
- } as const;
2419
-
2420
- export const $ProductAttributeValueBase = {
2421
- properties: {
2422
- product_id: {
2423
- type: 'string',
2424
- format: 'uuid',
2425
- title: 'Product Id',
2426
- },
2427
- attribute_id: {
2428
- type: 'string',
2429
- format: 'uuid',
2430
- title: 'Attribute Id',
2431
- },
2432
- option_id: {
2433
- anyOf: [
2434
- {
2435
- type: 'string',
2436
- format: 'uuid',
2437
- },
2438
- {
2439
- type: 'null',
2440
- },
2441
- ],
2442
- title: 'Option Id',
2443
- },
2444
- },
2445
- type: 'object',
2446
- required: ['product_id', 'attribute_id'],
2447
- title: 'ProductAttributeValueBase',
2448
- description: 'Base schema for product attribute values.',
2449
- } as const;
2450
-
2451
- export const $ProductAttributeValueSchema = {
2452
- properties: {
2453
- product_id: {
2454
- type: 'string',
2455
- format: 'uuid',
2456
- title: 'Product Id',
2457
- },
2458
- attribute_id: {
2459
- type: 'string',
2460
- format: 'uuid',
2461
- title: 'Attribute Id',
2462
- },
2463
- option_id: {
2464
- anyOf: [
2465
- {
2466
- type: 'string',
2467
- format: 'uuid',
2468
- },
2469
- {
2470
- type: 'null',
2471
- },
2472
- ],
2473
- title: 'Option Id',
2474
- },
2475
- id: {
2476
- type: 'string',
2477
- format: 'uuid',
2478
- title: 'Id',
2479
- },
2480
- },
2481
- type: 'object',
2482
- required: ['product_id', 'attribute_id', 'id'],
2483
- title: 'ProductAttributeValueSchema',
2484
- description: 'Schema for representing a product attribute value.',
2485
- } as const;
2486
-
2487
- export const $ProductCreate = {
2488
- properties: {
2489
- shop_id: {
2490
- type: 'string',
2491
- format: 'uuid',
2492
- title: 'Shop Id',
2493
- },
2494
- category_id: {
2495
- type: 'string',
2496
- format: 'uuid',
2497
- title: 'Category Id',
2498
- },
2499
- price: {
2500
- anyOf: [
2501
- {
2502
- type: 'number',
2503
- },
2504
- {
2505
- type: 'null',
2506
- },
2507
- ],
2508
- title: 'Price',
2509
- },
2510
- recurring_price_monthly: {
2511
- anyOf: [
2512
- {
2513
- type: 'number',
2514
- },
2515
- {
2516
- type: 'null',
2517
- },
2518
- ],
2519
- title: 'Recurring Price Monthly',
2520
- },
2521
- recurring_price_yearly: {
2522
- anyOf: [
2523
- {
2524
- type: 'number',
2525
- },
2526
- {
2527
- type: 'null',
2528
- },
2529
- ],
2530
- title: 'Recurring Price Yearly',
2531
- },
2532
- max_one: {
2533
- type: 'boolean',
2534
- title: 'Max One',
2535
- },
2536
- shippable: {
2537
- type: 'boolean',
2538
- title: 'Shippable',
2539
- },
2540
- digital: {
2541
- anyOf: [
2542
- {
2543
- type: 'string',
2544
- },
2545
- {
2546
- type: 'null',
2547
- },
2548
- ],
2549
- title: 'Digital',
2550
- },
2551
- featured: {
2552
- type: 'boolean',
2553
- title: 'Featured',
2554
- },
2555
- new_product: {
2556
- type: 'boolean',
2557
- title: 'New Product',
2558
- },
2559
- tax_category: {
2560
- type: 'string',
2561
- title: 'Tax Category',
2562
- },
2563
- discounted_price: {
2564
- anyOf: [
2565
- {
2566
- type: 'number',
2567
- },
2568
- {
2569
- type: 'null',
2570
- },
2571
- ],
2572
- title: 'Discounted Price',
2573
- },
2574
- discounted_from: {
2575
- anyOf: [
2576
- {
2577
- type: 'string',
2578
- format: 'date-time',
2579
- },
2580
- {
2581
- type: 'null',
2582
- },
2583
- ],
2584
- title: 'Discounted From',
2585
- },
2586
- discounted_to: {
2587
- anyOf: [
2588
- {
2589
- type: 'string',
2590
- format: 'date-time',
2591
- },
2592
- {
2593
- type: 'null',
2594
- },
2595
- ],
2596
- title: 'Discounted To',
2597
- },
2598
- order_number: {
2599
- anyOf: [
2600
- {
2601
- type: 'integer',
2602
- },
2603
- {
2604
- type: 'null',
2605
- },
2606
- ],
2607
- title: 'Order Number',
2608
- },
2609
- stock: {
2610
- anyOf: [
2611
- {
2612
- type: 'integer',
2613
- },
2614
- {
2615
- type: 'null',
2616
- },
2617
- ],
2618
- title: 'Stock',
2619
- default: 1,
2620
- },
2621
- image_1: {
2622
- anyOf: [
2623
- {
2624
- type: 'object',
2625
- },
2626
- {
2627
- type: 'string',
2628
- },
2629
- {
2630
- type: 'null',
2631
- },
2632
- ],
2633
- title: 'Image 1',
2634
- },
2635
- image_2: {
2636
- anyOf: [
2637
- {
2638
- type: 'object',
2639
- },
2640
- {
2641
- type: 'string',
2642
- },
2643
- {
2644
- type: 'null',
2645
- },
2646
- ],
2647
- title: 'Image 2',
2648
- },
2649
- image_3: {
2650
- anyOf: [
2651
- {
2652
- type: 'object',
2653
- },
2654
- {
2655
- type: 'string',
2656
- },
2657
- {
2658
- type: 'null',
2659
- },
2660
- ],
2661
- title: 'Image 3',
2662
- },
2663
- image_4: {
2664
- anyOf: [
2665
- {
2666
- type: 'object',
2667
- },
2668
- {
2669
- type: 'string',
2670
- },
2671
- {
2672
- type: 'null',
2673
- },
2674
- ],
2675
- title: 'Image 4',
2676
- },
2677
- image_5: {
2678
- anyOf: [
2679
- {
2680
- type: 'object',
2681
- },
2682
- {
2683
- type: 'string',
2684
- },
2685
- {
2686
- type: 'null',
2687
- },
2688
- ],
2689
- title: 'Image 5',
2690
- },
2691
- image_6: {
2692
- anyOf: [
2693
- {
2694
- type: 'object',
2695
- },
2696
- {
2697
- type: 'string',
2698
- },
2699
- {
2700
- type: 'null',
2701
- },
2702
- ],
2703
- title: 'Image 6',
2704
- },
2705
- translation: {
2706
- $ref: '#/components/schemas/ProductTranslationBase',
2707
- },
2708
- },
2709
- type: 'object',
2710
- required: [
2711
- 'shop_id',
2712
- 'category_id',
2713
- 'max_one',
2714
- 'shippable',
2715
- 'featured',
2716
- 'new_product',
2717
- 'tax_category',
2718
- 'image_1',
2719
- 'image_2',
2720
- 'image_3',
2721
- 'image_4',
2722
- 'image_5',
2723
- 'image_6',
2724
- 'translation',
2725
- ],
2726
- title: 'ProductCreate',
2727
- } as const;
2728
-
2729
- export const $ProductResponse = {
2730
- properties: {
2731
- id: {
2732
- type: 'string',
2733
- title: 'Id',
2734
- },
2735
- category: {
2736
- type: 'string',
2737
- title: 'Category',
2738
- },
2739
- category_image: {
2740
- anyOf: [
2741
- {
2742
- type: 'string',
2743
- },
2744
- {
2745
- type: 'null',
2746
- },
2747
- ],
2748
- title: 'Category Image',
2749
- },
2750
- category_order_number: {
2751
- type: 'integer',
2752
- title: 'Category Order Number',
2753
- },
2754
- order_number: {
2755
- type: 'integer',
2756
- title: 'Order Number',
2757
- },
2758
- stock: {
2759
- anyOf: [
2760
- {
2761
- type: 'integer',
2762
- },
2763
- {
2764
- type: 'null',
2765
- },
2766
- ],
2767
- title: 'Stock',
2768
- },
2769
- tags: {
2770
- items: {
2771
- type: 'string',
2772
- },
2773
- type: 'array',
2774
- title: 'Tags',
2775
- default: [],
2776
- },
2777
- name: {
2778
- type: 'string',
2779
- title: 'Name',
2780
- },
2781
- description_short: {
2782
- type: 'string',
2783
- title: 'Description Short',
2784
- },
2785
- description: {
2786
- type: 'string',
2787
- title: 'Description',
2788
- },
2789
- tax_category: {
2790
- type: 'string',
2791
- title: 'Tax Category',
2792
- },
2793
- tax_percentage: {
2794
- type: 'number',
2795
- title: 'Tax Percentage',
2796
- },
2797
- price: {
2798
- anyOf: [
2799
- {
2800
- type: 'number',
2801
- },
2802
- {
2803
- type: 'null',
2804
- },
2805
- ],
2806
- title: 'Price',
2807
- },
2808
- recurring_price_monthly: {
2809
- anyOf: [
2810
- {
2811
- type: 'number',
2812
- },
2813
- {
2814
- type: 'null',
2815
- },
2816
- ],
2817
- title: 'Recurring Price Monthly',
2818
- },
2819
- recurring_price_yearly: {
2820
- anyOf: [
2821
- {
2822
- type: 'number',
2823
- },
2824
- {
2825
- type: 'null',
2826
- },
2827
- ],
2828
- title: 'Recurring Price Yearly',
2829
- },
2830
- max_one: {
2831
- type: 'boolean',
2832
- title: 'Max One',
2833
- },
2834
- shippable: {
2835
- type: 'boolean',
2836
- title: 'Shippable',
2837
- },
2838
- attributes: {
2839
- items: {
2840
- type: 'string',
2841
- },
2842
- type: 'array',
2843
- title: 'Attributes',
2844
- default: [],
2845
- },
2846
- digital: {
2847
- anyOf: [
2848
- {
2849
- type: 'string',
2850
- },
2851
- {
2852
- type: 'null',
2853
- },
2854
- ],
2855
- title: 'Digital',
2856
- },
2857
- featured: {
2858
- type: 'boolean',
2859
- title: 'Featured',
2860
- },
2861
- new_product: {
2862
- type: 'boolean',
2863
- title: 'New Product',
2864
- },
2865
- discounted_price: {
2866
- anyOf: [
2867
- {
2868
- type: 'number',
2869
- },
2870
- {
2871
- type: 'null',
2872
- },
2873
- ],
2874
- title: 'Discounted Price',
2875
- },
2876
- discounted_from: {
2877
- anyOf: [
2878
- {
2879
- type: 'string',
2880
- format: 'date-time',
2881
- },
2882
- {
2883
- type: 'null',
2884
- },
2885
- ],
2886
- title: 'Discounted From',
2887
- },
2888
- discounted_to: {
2889
- anyOf: [
2890
- {
2891
- type: 'string',
2892
- format: 'date-time',
2893
- },
2894
- {
2895
- type: 'null',
2896
- },
2897
- ],
2898
- title: 'Discounted To',
2899
- },
2900
- image_1: {
2901
- anyOf: [
2902
- {
2903
- type: 'string',
2904
- },
2905
- {
2906
- type: 'null',
2907
- },
2908
- ],
2909
- title: 'Image 1',
2910
- },
2911
- image_2: {
2912
- anyOf: [
2913
- {
2914
- type: 'string',
2915
- },
2916
- {
2917
- type: 'null',
2918
- },
2919
- ],
2920
- title: 'Image 2',
2921
- },
2922
- image_3: {
2923
- anyOf: [
2924
- {
2925
- type: 'string',
2926
- },
2927
- {
2928
- type: 'null',
2929
- },
2930
- ],
2931
- title: 'Image 3',
2932
- },
2933
- image_4: {
2934
- anyOf: [
2935
- {
2936
- type: 'string',
2937
- },
2938
- {
2939
- type: 'null',
2940
- },
2941
- ],
2942
- title: 'Image 4',
2943
- },
2944
- image_5: {
2945
- anyOf: [
2946
- {
2947
- type: 'string',
2948
- },
2949
- {
2950
- type: 'null',
2951
- },
2952
- ],
2953
- title: 'Image 5',
2954
- },
2955
- image_6: {
2956
- anyOf: [
2957
- {
2958
- type: 'string',
2959
- },
2960
- {
2961
- type: 'null',
2962
- },
2963
- ],
2964
- title: 'Image 6',
2965
- },
2966
- },
2967
- type: 'object',
2968
- required: [
2969
- 'id',
2970
- 'category',
2971
- 'category_order_number',
2972
- 'order_number',
2973
- 'name',
2974
- 'description_short',
2975
- 'description',
2976
- 'tax_category',
2977
- 'tax_percentage',
2978
- 'max_one',
2979
- 'shippable',
2980
- 'featured',
2981
- 'new_product',
2982
- ],
2983
- title: 'ProductResponse',
2984
- } as const;
2985
-
2986
- export const $ProductToTagCreate = {
2987
- properties: {
2988
- product_id: {
2989
- type: 'string',
2990
- format: 'uuid',
2991
- title: 'Product Id',
2992
- },
2993
- tag_id: {
2994
- type: 'string',
2995
- format: 'uuid',
2996
- title: 'Tag Id',
2997
- },
2998
- shop_id: {
2999
- type: 'string',
3000
- format: 'uuid',
3001
- title: 'Shop Id',
3002
- },
3003
- },
3004
- type: 'object',
3005
- required: ['product_id', 'tag_id', 'shop_id'],
3006
- title: 'ProductToTagCreate',
3007
- } as const;
3008
-
3009
- export const $ProductToTagSchema = {
3010
- properties: {
3011
- product_id: {
3012
- type: 'string',
3013
- format: 'uuid',
3014
- title: 'Product Id',
3015
- },
3016
- tag_id: {
3017
- type: 'string',
3018
- format: 'uuid',
3019
- title: 'Tag Id',
3020
- },
3021
- shop_id: {
3022
- type: 'string',
3023
- format: 'uuid',
3024
- title: 'Shop Id',
3025
- },
3026
- id: {
3027
- type: 'string',
3028
- format: 'uuid',
3029
- title: 'Id',
3030
- },
3031
- },
3032
- type: 'object',
3033
- required: ['product_id', 'tag_id', 'shop_id', 'id'],
3034
- title: 'ProductToTagSchema',
3035
- } as const;
3036
-
3037
- export const $ProductToTagUpdate = {
3038
- properties: {
3039
- product_id: {
3040
- type: 'string',
3041
- format: 'uuid',
3042
- title: 'Product Id',
3043
- },
3044
- tag_id: {
3045
- type: 'string',
3046
- format: 'uuid',
3047
- title: 'Tag Id',
3048
- },
3049
- shop_id: {
3050
- type: 'string',
3051
- format: 'uuid',
3052
- title: 'Shop Id',
3053
- },
3054
- },
3055
- type: 'object',
3056
- required: ['product_id', 'tag_id', 'shop_id'],
3057
- title: 'ProductToTagUpdate',
3058
- } as const;
3059
-
3060
- export const $ProductTranslationBase = {
3061
- properties: {
3062
- main_name: {
3063
- type: 'string',
3064
- title: 'Main Name',
3065
- },
3066
- main_description: {
3067
- type: 'string',
3068
- title: 'Main Description',
3069
- },
3070
- main_description_short: {
3071
- type: 'string',
3072
- title: 'Main Description Short',
3073
- },
3074
- alt1_name: {
3075
- anyOf: [
3076
- {
3077
- type: 'string',
3078
- },
3079
- {
3080
- type: 'null',
3081
- },
3082
- ],
3083
- title: 'Alt1 Name',
3084
- },
3085
- alt1_description: {
3086
- anyOf: [
3087
- {
3088
- type: 'string',
3089
- },
3090
- {
3091
- type: 'null',
3092
- },
3093
- ],
3094
- title: 'Alt1 Description',
3095
- },
3096
- alt1_description_short: {
3097
- anyOf: [
3098
- {
3099
- type: 'string',
3100
- },
3101
- {
3102
- type: 'null',
3103
- },
3104
- ],
3105
- title: 'Alt1 Description Short',
3106
- },
3107
- alt2_name: {
3108
- anyOf: [
3109
- {
3110
- type: 'string',
3111
- },
3112
- {
3113
- type: 'null',
3114
- },
3115
- ],
3116
- title: 'Alt2 Name',
3117
- },
3118
- alt2_description: {
3119
- anyOf: [
3120
- {
3121
- type: 'string',
3122
- },
3123
- {
3124
- type: 'null',
3125
- },
3126
- ],
3127
- title: 'Alt2 Description',
3128
- },
3129
- alt2_description_short: {
3130
- anyOf: [
3131
- {
3132
- type: 'string',
3133
- },
3134
- {
3135
- type: 'null',
3136
- },
3137
- ],
3138
- title: 'Alt2 Description Short',
3139
- },
3140
- },
3141
- type: 'object',
3142
- required: ['main_name', 'main_description', 'main_description_short'],
3143
- title: 'ProductTranslationBase',
3144
- } as const;
3145
-
3146
- export const $ProductUpdate = {
3147
- properties: {
3148
- shop_id: {
3149
- type: 'string',
3150
- format: 'uuid',
3151
- title: 'Shop Id',
3152
- },
3153
- category_id: {
3154
- type: 'string',
3155
- format: 'uuid',
3156
- title: 'Category Id',
3157
- },
3158
- price: {
3159
- anyOf: [
3160
- {
3161
- type: 'number',
3162
- },
3163
- {
3164
- type: 'null',
3165
- },
3166
- ],
3167
- title: 'Price',
3168
- },
3169
- recurring_price_monthly: {
3170
- anyOf: [
3171
- {
3172
- type: 'number',
3173
- },
3174
- {
3175
- type: 'null',
3176
- },
3177
- ],
3178
- title: 'Recurring Price Monthly',
3179
- },
3180
- recurring_price_yearly: {
3181
- anyOf: [
3182
- {
3183
- type: 'number',
3184
- },
3185
- {
3186
- type: 'null',
3187
- },
3188
- ],
3189
- title: 'Recurring Price Yearly',
3190
- },
3191
- max_one: {
3192
- type: 'boolean',
3193
- title: 'Max One',
3194
- },
3195
- shippable: {
3196
- type: 'boolean',
3197
- title: 'Shippable',
3198
- },
3199
- digital: {
3200
- anyOf: [
3201
- {
3202
- type: 'string',
3203
- },
3204
- {
3205
- type: 'null',
3206
- },
3207
- ],
3208
- title: 'Digital',
3209
- },
3210
- featured: {
3211
- type: 'boolean',
3212
- title: 'Featured',
3213
- },
3214
- new_product: {
3215
- type: 'boolean',
3216
- title: 'New Product',
3217
- },
3218
- tax_category: {
3219
- type: 'string',
3220
- title: 'Tax Category',
3221
- },
3222
- discounted_price: {
3223
- anyOf: [
3224
- {
3225
- type: 'number',
3226
- },
3227
- {
3228
- type: 'null',
3229
- },
3230
- ],
3231
- title: 'Discounted Price',
3232
- },
3233
- discounted_from: {
3234
- anyOf: [
3235
- {
3236
- type: 'string',
3237
- format: 'date-time',
3238
- },
3239
- {
3240
- type: 'null',
3241
- },
3242
- ],
3243
- title: 'Discounted From',
3244
- },
3245
- discounted_to: {
3246
- anyOf: [
3247
- {
3248
- type: 'string',
3249
- format: 'date-time',
3250
- },
3251
- {
3252
- type: 'null',
3253
- },
3254
- ],
3255
- title: 'Discounted To',
3256
- },
3257
- order_number: {
3258
- anyOf: [
3259
- {
3260
- type: 'integer',
3261
- },
3262
- {
3263
- type: 'null',
3264
- },
3265
- ],
3266
- title: 'Order Number',
3267
- },
3268
- stock: {
3269
- anyOf: [
3270
- {
3271
- type: 'integer',
3272
- },
3273
- {
3274
- type: 'null',
3275
- },
3276
- ],
3277
- title: 'Stock',
3278
- default: 1,
3279
- },
3280
- image_1: {
3281
- anyOf: [
3282
- {
3283
- type: 'object',
3284
- },
3285
- {
3286
- type: 'string',
3287
- },
3288
- {
3289
- type: 'null',
3290
- },
3291
- ],
3292
- title: 'Image 1',
3293
- },
3294
- image_2: {
3295
- anyOf: [
3296
- {
3297
- type: 'object',
3298
- },
3299
- {
3300
- type: 'string',
3301
- },
3302
- {
3303
- type: 'null',
3304
- },
3305
- ],
3306
- title: 'Image 2',
3307
- },
3308
- image_3: {
3309
- anyOf: [
3310
- {
3311
- type: 'object',
3312
- },
3313
- {
3314
- type: 'string',
3315
- },
3316
- {
3317
- type: 'null',
3318
- },
3319
- ],
3320
- title: 'Image 3',
3321
- },
3322
- image_4: {
3323
- anyOf: [
3324
- {
3325
- type: 'object',
3326
- },
3327
- {
3328
- type: 'string',
3329
- },
3330
- {
3331
- type: 'null',
3332
- },
3333
- ],
3334
- title: 'Image 4',
3335
- },
3336
- image_5: {
3337
- anyOf: [
3338
- {
3339
- type: 'object',
3340
- },
3341
- {
3342
- type: 'string',
3343
- },
3344
- {
3345
- type: 'null',
3346
- },
3347
- ],
3348
- title: 'Image 5',
3349
- },
3350
- image_6: {
3351
- anyOf: [
3352
- {
3353
- type: 'object',
3354
- },
3355
- {
3356
- type: 'string',
3357
- },
3358
- {
3359
- type: 'null',
3360
- },
3361
- ],
3362
- title: 'Image 6',
3363
- },
3364
- translation: {
3365
- $ref: '#/components/schemas/ProductTranslationBase',
3366
- },
3367
- modified_at: {
3368
- anyOf: [
3369
- {
3370
- type: 'string',
3371
- format: 'date-time',
3372
- },
3373
- {
3374
- type: 'null',
3375
- },
3376
- ],
3377
- title: 'Modified At',
3378
- },
3379
- },
3380
- type: 'object',
3381
- required: [
3382
- 'shop_id',
3383
- 'category_id',
3384
- 'max_one',
3385
- 'shippable',
3386
- 'featured',
3387
- 'new_product',
3388
- 'tax_category',
3389
- 'image_1',
3390
- 'image_2',
3391
- 'image_3',
3392
- 'image_4',
3393
- 'image_5',
3394
- 'image_6',
3395
- 'translation',
3396
- ],
3397
- title: 'ProductUpdate',
3398
- } as const;
3399
-
3400
- export const $ProductWithAttributes = {
3401
- properties: {
3402
- product: {
3403
- $ref: '#/components/schemas/ProductWithDefaultPrice',
3404
- },
3405
- attributes: {
3406
- items: {
3407
- $ref: '#/components/schemas/ProductAttributeItem',
3408
- },
3409
- type: 'array',
3410
- title: 'Attributes',
3411
- default: [],
3412
- },
3413
- },
3414
- type: 'object',
3415
- required: ['product'],
3416
- title: 'ProductWithAttributes',
3417
- description: 'Schema for a product along with its associated attributes.',
3418
- } as const;
3419
-
3420
- export const $ProductWithDefaultPrice = {
3421
- properties: {
3422
- shop_id: {
3423
- type: 'string',
3424
- format: 'uuid',
3425
- title: 'Shop Id',
3426
- },
3427
- category_id: {
3428
- type: 'string',
3429
- format: 'uuid',
3430
- title: 'Category Id',
3431
- },
3432
- price: {
3433
- anyOf: [
3434
- {
3435
- type: 'number',
3436
- },
3437
- {
3438
- type: 'null',
3439
- },
3440
- ],
3441
- title: 'Price',
3442
- },
3443
- recurring_price_monthly: {
3444
- anyOf: [
3445
- {
3446
- type: 'number',
3447
- },
3448
- {
3449
- type: 'null',
3450
- },
3451
- ],
3452
- title: 'Recurring Price Monthly',
3453
- },
3454
- recurring_price_yearly: {
3455
- anyOf: [
3456
- {
3457
- type: 'number',
3458
- },
3459
- {
3460
- type: 'null',
3461
- },
3462
- ],
3463
- title: 'Recurring Price Yearly',
3464
- },
3465
- max_one: {
3466
- type: 'boolean',
3467
- title: 'Max One',
3468
- },
3469
- shippable: {
3470
- type: 'boolean',
3471
- title: 'Shippable',
3472
- },
3473
- digital: {
3474
- anyOf: [
3475
- {
3476
- type: 'string',
3477
- },
3478
- {
3479
- type: 'null',
3480
- },
3481
- ],
3482
- title: 'Digital',
3483
- },
3484
- featured: {
3485
- type: 'boolean',
3486
- title: 'Featured',
3487
- },
3488
- new_product: {
3489
- type: 'boolean',
3490
- title: 'New Product',
3491
- },
3492
- tax_category: {
3493
- type: 'string',
3494
- title: 'Tax Category',
3495
- },
3496
- discounted_price: {
3497
- anyOf: [
3498
- {
3499
- type: 'number',
3500
- },
3501
- {
3502
- type: 'null',
3503
- },
3504
- ],
3505
- title: 'Discounted Price',
3506
- },
3507
- discounted_from: {
3508
- anyOf: [
3509
- {
3510
- type: 'string',
3511
- format: 'date-time',
3512
- },
3513
- {
3514
- type: 'null',
3515
- },
3516
- ],
3517
- title: 'Discounted From',
3518
- },
3519
- discounted_to: {
3520
- anyOf: [
3521
- {
3522
- type: 'string',
3523
- format: 'date-time',
3524
- },
3525
- {
3526
- type: 'null',
3527
- },
3528
- ],
3529
- title: 'Discounted To',
3530
- },
3531
- order_number: {
3532
- anyOf: [
3533
- {
3534
- type: 'integer',
3535
- },
3536
- {
3537
- type: 'null',
3538
- },
3539
- ],
3540
- title: 'Order Number',
3541
- },
3542
- stock: {
3543
- anyOf: [
3544
- {
3545
- type: 'integer',
3546
- },
3547
- {
3548
- type: 'null',
3549
- },
3550
- ],
3551
- title: 'Stock',
3552
- default: 1,
3553
- },
3554
- image_1: {
3555
- anyOf: [
3556
- {
3557
- type: 'object',
3558
- },
3559
- {
3560
- type: 'string',
3561
- },
3562
- {
3563
- type: 'null',
3564
- },
3565
- ],
3566
- title: 'Image 1',
3567
- },
3568
- image_2: {
3569
- anyOf: [
3570
- {
3571
- type: 'object',
3572
- },
3573
- {
3574
- type: 'string',
3575
- },
3576
- {
3577
- type: 'null',
3578
- },
3579
- ],
3580
- title: 'Image 2',
3581
- },
3582
- image_3: {
3583
- anyOf: [
3584
- {
3585
- type: 'object',
3586
- },
3587
- {
3588
- type: 'string',
3589
- },
3590
- {
3591
- type: 'null',
3592
- },
3593
- ],
3594
- title: 'Image 3',
3595
- },
3596
- image_4: {
3597
- anyOf: [
3598
- {
3599
- type: 'object',
3600
- },
3601
- {
3602
- type: 'string',
3603
- },
3604
- {
3605
- type: 'null',
3606
- },
3607
- ],
3608
- title: 'Image 4',
3609
- },
3610
- image_5: {
3611
- anyOf: [
3612
- {
3613
- type: 'object',
3614
- },
3615
- {
3616
- type: 'string',
3617
- },
3618
- {
3619
- type: 'null',
3620
- },
3621
- ],
3622
- title: 'Image 5',
3623
- },
3624
- image_6: {
3625
- anyOf: [
3626
- {
3627
- type: 'object',
3628
- },
3629
- {
3630
- type: 'string',
3631
- },
3632
- {
3633
- type: 'null',
3634
- },
3635
- ],
3636
- title: 'Image 6',
3637
- },
3638
- translation: {
3639
- $ref: '#/components/schemas/ProductTranslationBase',
3640
- },
3641
- id: {
3642
- type: 'string',
3643
- format: 'uuid',
3644
- title: 'Id',
3645
- },
3646
- modified_at: {
3647
- anyOf: [
3648
- {
3649
- type: 'string',
3650
- format: 'date-time',
3651
- },
3652
- {
3653
- type: 'null',
3654
- },
3655
- ],
3656
- title: 'Modified At',
3657
- },
3658
- approved_at: {
3659
- anyOf: [
3660
- {
3661
- type: 'string',
3662
- format: 'date-time',
3663
- },
3664
- {
3665
- type: 'null',
3666
- },
3667
- ],
3668
- title: 'Approved At',
3669
- },
3670
- images_amount: {
3671
- type: 'integer',
3672
- title: 'Images Amount',
3673
- default: 0,
3674
- },
3675
- prices: {
3676
- anyOf: [
3677
- {
3678
- $ref: '#/components/schemas/DefaultPrice',
3679
- },
3680
- {
3681
- type: 'null',
3682
- },
3683
- ],
3684
- default: {},
3685
- },
3686
- },
3687
- type: 'object',
3688
- required: [
3689
- 'shop_id',
3690
- 'category_id',
3691
- 'max_one',
3692
- 'shippable',
3693
- 'featured',
3694
- 'new_product',
3695
- 'tax_category',
3696
- 'image_1',
3697
- 'image_2',
3698
- 'image_3',
3699
- 'image_4',
3700
- 'image_5',
3701
- 'image_6',
3702
- 'translation',
3703
- 'id',
3704
- ],
3705
- title: 'ProductWithDefaultPrice',
3706
- } as const;
3707
-
3708
- export const $ProductWithDetailsAndPrices = {
3709
- properties: {
3710
- shop_id: {
3711
- type: 'string',
3712
- format: 'uuid',
3713
- title: 'Shop Id',
3714
- },
3715
- category_id: {
3716
- type: 'string',
3717
- format: 'uuid',
3718
- title: 'Category Id',
3719
- },
3720
- price: {
3721
- anyOf: [
3722
- {
3723
- type: 'number',
3724
- },
3725
- {
3726
- type: 'null',
3727
- },
3728
- ],
3729
- title: 'Price',
3730
- },
3731
- recurring_price_monthly: {
3732
- anyOf: [
3733
- {
3734
- type: 'number',
3735
- },
3736
- {
3737
- type: 'null',
3738
- },
3739
- ],
3740
- title: 'Recurring Price Monthly',
3741
- },
3742
- recurring_price_yearly: {
3743
- anyOf: [
3744
- {
3745
- type: 'number',
3746
- },
3747
- {
3748
- type: 'null',
3749
- },
3750
- ],
3751
- title: 'Recurring Price Yearly',
3752
- },
3753
- max_one: {
3754
- type: 'boolean',
3755
- title: 'Max One',
3756
- },
3757
- shippable: {
3758
- type: 'boolean',
3759
- title: 'Shippable',
3760
- },
3761
- digital: {
3762
- anyOf: [
3763
- {
3764
- type: 'string',
3765
- },
3766
- {
3767
- type: 'null',
3768
- },
3769
- ],
3770
- title: 'Digital',
3771
- },
3772
- featured: {
3773
- type: 'boolean',
3774
- title: 'Featured',
3775
- },
3776
- new_product: {
3777
- type: 'boolean',
3778
- title: 'New Product',
3779
- },
3780
- tax_category: {
3781
- type: 'string',
3782
- title: 'Tax Category',
3783
- },
3784
- discounted_price: {
3785
- anyOf: [
3786
- {
3787
- type: 'number',
3788
- },
3789
- {
3790
- type: 'null',
3791
- },
3792
- ],
3793
- title: 'Discounted Price',
3794
- },
3795
- discounted_from: {
3796
- anyOf: [
3797
- {
3798
- type: 'string',
3799
- format: 'date-time',
3800
- },
3801
- {
3802
- type: 'null',
3803
- },
3804
- ],
3805
- title: 'Discounted From',
3806
- },
3807
- discounted_to: {
3808
- anyOf: [
3809
- {
3810
- type: 'string',
3811
- format: 'date-time',
3812
- },
3813
- {
3814
- type: 'null',
3815
- },
3816
- ],
3817
- title: 'Discounted To',
3818
- },
3819
- order_number: {
3820
- anyOf: [
3821
- {
3822
- type: 'integer',
3823
- },
3824
- {
3825
- type: 'null',
3826
- },
3827
- ],
3828
- title: 'Order Number',
3829
- },
3830
- stock: {
3831
- anyOf: [
3832
- {
3833
- type: 'integer',
3834
- },
3835
- {
3836
- type: 'null',
3837
- },
3838
- ],
3839
- title: 'Stock',
3840
- default: 1,
3841
- },
3842
- image_1: {
3843
- anyOf: [
3844
- {
3845
- type: 'object',
3846
- },
3847
- {
3848
- type: 'string',
3849
- },
3850
- {
3851
- type: 'null',
3852
- },
3853
- ],
3854
- title: 'Image 1',
3855
- },
3856
- image_2: {
3857
- anyOf: [
3858
- {
3859
- type: 'object',
3860
- },
3861
- {
3862
- type: 'string',
3863
- },
3864
- {
3865
- type: 'null',
3866
- },
3867
- ],
3868
- title: 'Image 2',
3869
- },
3870
- image_3: {
3871
- anyOf: [
3872
- {
3873
- type: 'object',
3874
- },
3875
- {
3876
- type: 'string',
3877
- },
3878
- {
3879
- type: 'null',
3880
- },
3881
- ],
3882
- title: 'Image 3',
3883
- },
3884
- image_4: {
3885
- anyOf: [
3886
- {
3887
- type: 'object',
3888
- },
3889
- {
3890
- type: 'string',
3891
- },
3892
- {
3893
- type: 'null',
3894
- },
3895
- ],
3896
- title: 'Image 4',
3897
- },
3898
- image_5: {
3899
- anyOf: [
3900
- {
3901
- type: 'object',
3902
- },
3903
- {
3904
- type: 'string',
3905
- },
3906
- {
3907
- type: 'null',
3908
- },
3909
- ],
3910
- title: 'Image 5',
3911
- },
3912
- image_6: {
3913
- anyOf: [
3914
- {
3915
- type: 'object',
3916
- },
3917
- {
3918
- type: 'string',
3919
- },
3920
- {
3921
- type: 'null',
3922
- },
3923
- ],
3924
- title: 'Image 6',
3925
- },
3926
- translation: {
3927
- $ref: '#/components/schemas/ProductTranslationBase',
3928
- },
3929
- id: {
3930
- type: 'string',
3931
- format: 'uuid',
3932
- title: 'Id',
3933
- },
3934
- modified_at: {
3935
- anyOf: [
3936
- {
3937
- type: 'string',
3938
- format: 'date-time',
3939
- },
3940
- {
3941
- type: 'null',
3942
- },
3943
- ],
3944
- title: 'Modified At',
3945
- },
3946
- approved_at: {
3947
- anyOf: [
3948
- {
3949
- type: 'string',
3950
- format: 'date-time',
3951
- },
3952
- {
3953
- type: 'null',
3954
- },
3955
- ],
3956
- title: 'Approved At',
3957
- },
3958
- images_amount: {
3959
- type: 'integer',
3960
- title: 'Images Amount',
3961
- default: 0,
3962
- },
3963
- prices: {
3964
- items: {
3965
- type: 'object',
3966
- },
3967
- type: 'array',
3968
- title: 'Prices',
3969
- default: [],
3970
- },
3971
- },
3972
- type: 'object',
3973
- required: [
3974
- 'shop_id',
3975
- 'category_id',
3976
- 'max_one',
3977
- 'shippable',
3978
- 'featured',
3979
- 'new_product',
3980
- 'tax_category',
3981
- 'image_1',
3982
- 'image_2',
3983
- 'image_3',
3984
- 'image_4',
3985
- 'image_5',
3986
- 'image_6',
3987
- 'translation',
3988
- 'id',
3989
- ],
3990
- title: 'ProductWithDetailsAndPrices',
3991
- } as const;
3992
-
3993
- export const $ShopCacheStatus = {
3994
- properties: {
3995
- modified_at: {
3996
- anyOf: [
3997
- {
3998
- type: 'string',
3999
- format: 'date-time',
4000
- },
4001
- {
4002
- type: 'null',
4003
- },
4004
- ],
4005
- title: 'Modified At',
4006
- },
4007
- },
4008
- type: 'object',
4009
- required: ['modified_at'],
4010
- title: 'ShopCacheStatus',
4011
- } as const;
4012
-
4013
- export const $ShopConfig = {
4014
- properties: {
4015
- config: {
4016
- $ref: '#/components/schemas/ConfigurationV1-Output',
4017
- },
4018
- config_version: {
4019
- type: 'integer',
4020
- title: 'Config Version',
4021
- },
4022
- shop_type: {
4023
- $ref: '#/components/schemas/ShopType',
4024
- },
4025
- stripe_public_key: {
4026
- anyOf: [
4027
- {
4028
- type: 'string',
4029
- },
4030
- {
4031
- type: 'null',
4032
- },
4033
- ],
4034
- title: 'Stripe Public Key',
4035
- },
4036
- },
4037
- type: 'object',
4038
- required: ['config', 'config_version', 'shop_type', 'stripe_public_key'],
4039
- title: 'ShopConfig',
4040
- } as const;
4041
-
4042
- export const $ShopConfigUpdate_Input = {
4043
- properties: {
4044
- config: {
4045
- $ref: '#/components/schemas/ConfigurationV1-Input',
4046
- },
4047
- config_version: {
4048
- type: 'integer',
4049
- title: 'Config Version',
4050
- },
4051
- },
4052
- type: 'object',
4053
- required: ['config', 'config_version'],
4054
- title: 'ShopConfigUpdate',
4055
- } as const;
4056
-
4057
- export const $ShopConfigUpdate_Output = {
4058
- properties: {
4059
- config: {
4060
- $ref: '#/components/schemas/ConfigurationV1-Output',
4061
- },
4062
- config_version: {
4063
- type: 'integer',
4064
- title: 'Config Version',
4065
- },
4066
- },
4067
- type: 'object',
4068
- required: ['config', 'config_version'],
4069
- title: 'ShopConfigUpdate',
4070
- } as const;
4071
-
4072
- export const $ShopCreate = {
4073
- properties: {
4074
- name: {
4075
- type: 'string',
4076
- title: 'Name',
4077
- },
4078
- description: {
4079
- type: 'string',
4080
- title: 'Description',
4081
- },
4082
- internal_url: {
4083
- anyOf: [
4084
- {
4085
- type: 'string',
4086
- },
4087
- {
4088
- type: 'null',
4089
- },
4090
- ],
4091
- title: 'Internal Url',
4092
- },
4093
- external_url: {
4094
- anyOf: [
4095
- {
4096
- type: 'string',
4097
- },
4098
- {
4099
- type: 'null',
4100
- },
4101
- ],
4102
- title: 'External Url',
4103
- },
4104
- vat_standard: {
4105
- type: 'number',
4106
- title: 'Vat Standard',
4107
- },
4108
- vat_lower_1: {
4109
- type: 'number',
4110
- title: 'Vat Lower 1',
4111
- },
4112
- vat_lower_2: {
4113
- type: 'number',
4114
- title: 'Vat Lower 2',
4115
- },
4116
- vat_lower_3: {
4117
- type: 'number',
4118
- title: 'Vat Lower 3',
4119
- },
4120
- vat_special: {
4121
- type: 'number',
4122
- title: 'Vat Special',
4123
- },
4124
- vat_zero: {
4125
- type: 'number',
4126
- title: 'Vat Zero',
4127
- },
4128
- },
4129
- type: 'object',
4130
- required: [
4131
- 'name',
4132
- 'description',
4133
- 'vat_standard',
4134
- 'vat_lower_1',
4135
- 'vat_lower_2',
4136
- 'vat_lower_3',
4137
- 'vat_special',
4138
- 'vat_zero',
4139
- ],
4140
- title: 'ShopCreate',
4141
- } as const;
4142
-
4143
- export const $ShopIp = {
4144
- properties: {
4145
- ip: {
4146
- type: 'string',
4147
- title: 'Ip',
4148
- },
4149
- },
4150
- type: 'object',
4151
- required: ['ip'],
4152
- title: 'ShopIp',
4153
- } as const;
4154
-
4155
- export const $ShopLastCompletedOrder = {
4156
- properties: {
4157
- last_completed_order: {
4158
- anyOf: [
4159
- {
4160
- type: 'string',
4161
- },
4162
- {
4163
- type: 'null',
4164
- },
4165
- ],
4166
- title: 'Last Completed Order',
4167
- },
4168
- },
4169
- type: 'object',
4170
- required: ['last_completed_order'],
4171
- title: 'ShopLastCompletedOrder',
4172
- } as const;
4173
-
4174
- export const $ShopLastPendingOrder = {
4175
- properties: {
4176
- last_pending_order: {
4177
- anyOf: [
4178
- {
4179
- type: 'string',
4180
- },
4181
- {
4182
- type: 'null',
4183
- },
4184
- ],
4185
- title: 'Last Pending Order',
4186
- },
4187
- },
4188
- type: 'object',
4189
- required: ['last_pending_order'],
4190
- title: 'ShopLastPendingOrder',
4191
- } as const;
4192
-
4193
- export const $ShopSchema = {
4194
- properties: {
4195
- name: {
4196
- type: 'string',
4197
- title: 'Name',
4198
- },
4199
- description: {
4200
- type: 'string',
4201
- title: 'Description',
4202
- },
4203
- internal_url: {
4204
- anyOf: [
4205
- {
4206
- type: 'string',
4207
- },
4208
- {
4209
- type: 'null',
4210
- },
4211
- ],
4212
- title: 'Internal Url',
4213
- },
4214
- external_url: {
4215
- anyOf: [
4216
- {
4217
- type: 'string',
4218
- },
4219
- {
4220
- type: 'null',
4221
- },
4222
- ],
4223
- title: 'External Url',
4224
- },
4225
- vat_standard: {
4226
- type: 'number',
4227
- title: 'Vat Standard',
4228
- },
4229
- vat_lower_1: {
4230
- type: 'number',
4231
- title: 'Vat Lower 1',
4232
- },
4233
- vat_lower_2: {
4234
- type: 'number',
4235
- title: 'Vat Lower 2',
4236
- },
4237
- vat_lower_3: {
4238
- type: 'number',
4239
- title: 'Vat Lower 3',
4240
- },
4241
- vat_special: {
4242
- type: 'number',
4243
- title: 'Vat Special',
4244
- },
4245
- vat_zero: {
4246
- type: 'number',
4247
- title: 'Vat Zero',
4248
- },
4249
- id: {
4250
- type: 'string',
4251
- format: 'uuid',
4252
- title: 'Id',
4253
- },
4254
- },
4255
- type: 'object',
4256
- required: [
4257
- 'name',
4258
- 'description',
4259
- 'vat_standard',
4260
- 'vat_lower_1',
4261
- 'vat_lower_2',
4262
- 'vat_lower_3',
4263
- 'vat_special',
4264
- 'vat_zero',
4265
- 'id',
4266
- ],
4267
- title: 'ShopSchema',
4268
- } as const;
4269
-
4270
- export const $ShopType = {
4271
- properties: {
4272
- max_languages: {
4273
- type: 'number',
4274
- title: 'Max Languages',
4275
- },
4276
- max_products: {
4277
- type: 'number',
4278
- title: 'Max Products',
4279
- },
4280
- stripe_access: {
4281
- type: 'boolean',
4282
- title: 'Stripe Access',
4283
- },
4284
- trial_mode: {
4285
- type: 'boolean',
4286
- title: 'Trial Mode',
4287
- },
4288
- trial_started: {
4289
- anyOf: [
4290
- {
4291
- type: 'string',
4292
- format: 'date-time',
4293
- },
4294
- {
4295
- type: 'null',
4296
- },
4297
- ],
4298
- title: 'Trial Started',
4299
- },
4300
- name: {
4301
- $ref: '#/components/schemas/ShopTypeName',
4302
- },
4303
- },
4304
- type: 'object',
4305
- required: [
4306
- 'max_languages',
4307
- 'max_products',
4308
- 'stripe_access',
4309
- 'trial_mode',
4310
- 'name',
4311
- ],
4312
- title: 'ShopType',
4313
- } as const;
4314
-
4315
- export const $ShopTypeName = {
4316
- type: 'string',
4317
- enum: ['small', 'business'],
4318
- title: 'ShopTypeName',
4319
- } as const;
4320
-
4321
- export const $ShopUpdate = {
4322
- properties: {
4323
- name: {
4324
- type: 'string',
4325
- title: 'Name',
4326
- },
4327
- description: {
4328
- type: 'string',
4329
- title: 'Description',
4330
- },
4331
- internal_url: {
4332
- anyOf: [
4333
- {
4334
- type: 'string',
4335
- },
4336
- {
4337
- type: 'null',
4338
- },
4339
- ],
4340
- title: 'Internal Url',
4341
- },
4342
- external_url: {
4343
- anyOf: [
4344
- {
4345
- type: 'string',
4346
- },
4347
- {
4348
- type: 'null',
4349
- },
4350
- ],
4351
- title: 'External Url',
4352
- },
4353
- vat_standard: {
4354
- type: 'number',
4355
- title: 'Vat Standard',
4356
- },
4357
- vat_lower_1: {
4358
- type: 'number',
4359
- title: 'Vat Lower 1',
4360
- },
4361
- vat_lower_2: {
4362
- type: 'number',
4363
- title: 'Vat Lower 2',
4364
- },
4365
- vat_lower_3: {
4366
- type: 'number',
4367
- title: 'Vat Lower 3',
4368
- },
4369
- vat_special: {
4370
- type: 'number',
4371
- title: 'Vat Special',
4372
- },
4373
- vat_zero: {
4374
- type: 'number',
4375
- title: 'Vat Zero',
4376
- },
4377
- modified_at: {
4378
- anyOf: [
4379
- {
4380
- type: 'string',
4381
- format: 'date-time',
4382
- },
4383
- {
4384
- type: 'null',
4385
- },
4386
- ],
4387
- title: 'Modified At',
4388
- },
4389
- allowed_ips: {
4390
- anyOf: [
4391
- {
4392
- items: {
4393
- type: 'string',
4394
- },
4395
- type: 'array',
4396
- },
4397
- {
4398
- type: 'null',
4399
- },
4400
- ],
4401
- title: 'Allowed Ips',
4402
- },
4403
- },
4404
- type: 'object',
4405
- required: [
4406
- 'name',
4407
- 'description',
4408
- 'vat_standard',
4409
- 'vat_lower_1',
4410
- 'vat_lower_2',
4411
- 'vat_lower_3',
4412
- 'vat_special',
4413
- 'vat_zero',
4414
- 'modified_at',
4415
- ],
4416
- title: 'ShopUpdate',
4417
- } as const;
4418
-
4419
- export const $ShopWithPrices = {
4420
- properties: {
4421
- name: {
4422
- type: 'string',
4423
- title: 'Name',
4424
- },
4425
- description: {
4426
- type: 'string',
4427
- title: 'Description',
4428
- },
4429
- internal_url: {
4430
- anyOf: [
4431
- {
4432
- type: 'string',
4433
- },
4434
- {
4435
- type: 'null',
4436
- },
4437
- ],
4438
- title: 'Internal Url',
4439
- },
4440
- external_url: {
4441
- anyOf: [
4442
- {
4443
- type: 'string',
4444
- },
4445
- {
4446
- type: 'null',
4447
- },
4448
- ],
4449
- title: 'External Url',
4450
- },
4451
- vat_standard: {
4452
- type: 'number',
4453
- title: 'Vat Standard',
4454
- },
4455
- vat_lower_1: {
4456
- type: 'number',
4457
- title: 'Vat Lower 1',
4458
- },
4459
- vat_lower_2: {
4460
- type: 'number',
4461
- title: 'Vat Lower 2',
4462
- },
4463
- vat_lower_3: {
4464
- type: 'number',
4465
- title: 'Vat Lower 3',
4466
- },
4467
- vat_special: {
4468
- type: 'number',
4469
- title: 'Vat Special',
4470
- },
4471
- vat_zero: {
4472
- type: 'number',
4473
- title: 'Vat Zero',
4474
- },
4475
- id: {
4476
- type: 'string',
4477
- format: 'uuid',
4478
- title: 'Id',
4479
- },
4480
- },
4481
- type: 'object',
4482
- required: [
4483
- 'name',
4484
- 'description',
4485
- 'vat_standard',
4486
- 'vat_lower_1',
4487
- 'vat_lower_2',
4488
- 'vat_lower_3',
4489
- 'vat_special',
4490
- 'vat_zero',
4491
- 'id',
4492
- ],
4493
- title: 'ShopWithPrices',
4494
- } as const;
4495
-
4496
- export const $TagCreate = {
4497
- properties: {
4498
- shop_id: {
4499
- type: 'string',
4500
- format: 'uuid',
4501
- title: 'Shop Id',
4502
- },
4503
- name: {
4504
- type: 'string',
4505
- title: 'Name',
4506
- },
4507
- translation: {
4508
- $ref: '#/components/schemas/TagTranslationBase',
4509
- },
4510
- },
4511
- type: 'object',
4512
- required: ['shop_id', 'name', 'translation'],
4513
- title: 'TagCreate',
4514
- } as const;
4515
-
4516
- export const $TagSchema = {
4517
- properties: {
4518
- shop_id: {
4519
- type: 'string',
4520
- format: 'uuid',
4521
- title: 'Shop Id',
4522
- },
4523
- name: {
4524
- type: 'string',
4525
- title: 'Name',
4526
- },
4527
- translation: {
4528
- $ref: '#/components/schemas/TagTranslationBase',
4529
- },
4530
- id: {
4531
- type: 'string',
4532
- format: 'uuid',
4533
- title: 'Id',
4534
- },
4535
- },
4536
- type: 'object',
4537
- required: ['shop_id', 'name', 'translation', 'id'],
4538
- title: 'TagSchema',
4539
- } as const;
4540
-
4541
- export const $TagTranslationBase = {
4542
- properties: {
4543
- main_name: {
4544
- type: 'string',
4545
- title: 'Main Name',
4546
- },
4547
- alt1_name: {
4548
- anyOf: [
4549
- {
4550
- type: 'string',
4551
- },
4552
- {
4553
- type: 'null',
4554
- },
4555
- ],
4556
- title: 'Alt1 Name',
4557
- },
4558
- alt2_name: {
4559
- anyOf: [
4560
- {
4561
- type: 'string',
4562
- },
4563
- {
4564
- type: 'null',
4565
- },
4566
- ],
4567
- title: 'Alt2 Name',
4568
- },
4569
- },
4570
- type: 'object',
4571
- required: ['main_name'],
4572
- title: 'TagTranslationBase',
4573
- } as const;
4574
-
4575
- export const $TagUpdate = {
4576
- properties: {
4577
- shop_id: {
4578
- type: 'string',
4579
- format: 'uuid',
4580
- title: 'Shop Id',
4581
- },
4582
- name: {
4583
- type: 'string',
4584
- title: 'Name',
4585
- },
4586
- translation: {
4587
- $ref: '#/components/schemas/TagTranslationBase',
4588
- },
4589
- },
4590
- type: 'object',
4591
- required: ['shop_id', 'name', 'translation'],
4592
- title: 'TagUpdate',
4593
- } as const;
4594
-
4595
- export const $Toggles = {
4596
- properties: {
4597
- show_new_products: {
4598
- type: 'boolean',
4599
- title: 'Show New Products',
4600
- default: true,
4601
- },
4602
- show_featured_products: {
4603
- type: 'boolean',
4604
- title: 'Show Featured Products',
4605
- default: true,
4606
- },
4607
- show_categories: {
4608
- type: 'boolean',
4609
- title: 'Show Categories',
4610
- default: true,
4611
- },
4612
- show_shop_name: {
4613
- type: 'boolean',
4614
- title: 'Show Shop Name',
4615
- default: true,
4616
- },
4617
- show_nav_categories: {
4618
- type: 'boolean',
4619
- title: 'Show Nav Categories',
4620
- default: false,
4621
- },
4622
- language_alt1_enabled: {
4623
- type: 'boolean',
4624
- title: 'Language Alt1 Enabled',
4625
- default: false,
4626
- },
4627
- language_alt2_enabled: {
4628
- type: 'boolean',
4629
- title: 'Language Alt2 Enabled',
4630
- default: false,
4631
- },
4632
- product_call_to_action_enabled: {
4633
- type: 'boolean',
4634
- title: 'Product Call To Action Enabled',
4635
- default: false,
4636
- },
4637
- enable_stock_on_products: {
4638
- type: 'boolean',
4639
- title: 'Enable Stock On Products',
4640
- default: false,
4641
- },
4642
- },
4643
- type: 'object',
4644
- title: 'Toggles',
4645
- } as const;
4646
-
4647
- export const $User = {
4648
- properties: {
4649
- email: {
4650
- anyOf: [
4651
- {
4652
- type: 'string',
4653
- format: 'email',
4654
- },
4655
- {
4656
- type: 'null',
4657
- },
4658
- ],
4659
- title: 'Email',
4660
- },
4661
- is_active: {
4662
- anyOf: [
4663
- {
4664
- type: 'boolean',
4665
- },
4666
- {
4667
- type: 'null',
4668
- },
4669
- ],
4670
- title: 'Is Active',
4671
- default: true,
4672
- },
4673
- is_superuser: {
4674
- type: 'boolean',
4675
- title: 'Is Superuser',
4676
- default: false,
4677
- },
4678
- username: {
4679
- anyOf: [
4680
- {
4681
- type: 'string',
4682
- },
4683
- {
4684
- type: 'null',
4685
- },
4686
- ],
4687
- title: 'Username',
4688
- },
4689
- id: {
4690
- type: 'string',
4691
- format: 'uuid',
4692
- title: 'Id',
4693
- },
4694
- created_at: {
4695
- type: 'string',
4696
- format: 'date-time',
4697
- title: 'Created At',
4698
- },
4699
- },
4700
- type: 'object',
4701
- required: ['id', 'created_at'],
4702
- title: 'User',
4703
- } as const;
4704
-
4705
- export const $UserCreate = {
4706
- properties: {
4707
- email: {
4708
- type: 'string',
4709
- format: 'email',
4710
- title: 'Email',
4711
- },
4712
- is_active: {
4713
- anyOf: [
4714
- {
4715
- type: 'boolean',
4716
- },
4717
- {
4718
- type: 'null',
4719
- },
4720
- ],
4721
- title: 'Is Active',
4722
- default: true,
4723
- },
4724
- is_superuser: {
4725
- type: 'boolean',
4726
- title: 'Is Superuser',
4727
- default: false,
4728
- },
4729
- username: {
4730
- anyOf: [
4731
- {
4732
- type: 'string',
4733
- },
4734
- {
4735
- type: 'null',
4736
- },
4737
- ],
4738
- title: 'Username',
4739
- },
4740
- password: {
4741
- type: 'string',
4742
- title: 'Password',
4743
- },
4744
- },
4745
- type: 'object',
4746
- required: ['email', 'password'],
4747
- title: 'UserCreate',
4748
- } as const;
4749
-
4750
- export const $UserUpdate = {
4751
- properties: {
4752
- email: {
4753
- anyOf: [
4754
- {
4755
- type: 'string',
4756
- format: 'email',
4757
- },
4758
- {
4759
- type: 'null',
4760
- },
4761
- ],
4762
- title: 'Email',
4763
- },
4764
- is_active: {
4765
- anyOf: [
4766
- {
4767
- type: 'boolean',
4768
- },
4769
- {
4770
- type: 'null',
4771
- },
4772
- ],
4773
- title: 'Is Active',
4774
- default: true,
4775
- },
4776
- is_superuser: {
4777
- type: 'boolean',
4778
- title: 'Is Superuser',
4779
- default: false,
4780
- },
4781
- username: {
4782
- anyOf: [
4783
- {
4784
- type: 'string',
4785
- },
4786
- {
4787
- type: 'null',
4788
- },
4789
- ],
4790
- title: 'Username',
4791
- },
4792
- password: {
4793
- anyOf: [
4794
- {
4795
- type: 'string',
4796
- },
4797
- {
4798
- type: 'null',
4799
- },
4800
- ],
4801
- title: 'Password',
4802
- },
4803
- },
4804
- type: 'object',
4805
- title: 'UserUpdate',
4806
- } as const;
4807
-
4808
- export const $ValidationError = {
4809
- properties: {
4810
- loc: {
4811
- items: {
4812
- anyOf: [
4813
- {
4814
- type: 'string',
4815
- },
4816
- {
4817
- type: 'integer',
4818
- },
4819
- ],
4820
- },
4821
- type: 'array',
4822
- title: 'Location',
4823
- },
4824
- msg: {
4825
- type: 'string',
4826
- title: 'Message',
4827
- },
4828
- type: {
4829
- type: 'string',
4830
- title: 'Error Type',
4831
- },
4832
- },
4833
- type: 'object',
4834
- required: ['loc', 'msg', 'type'],
4835
- title: 'ValidationError',
4836
- } as const;