@shopvirge/shopvirge-client 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3714 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ export type AccountCreate = {
4
+ shop_id: string;
5
+ name: string;
6
+ details: {
7
+ [key: string]: unknown;
8
+ };
9
+ };
10
+
11
+ export type AccountSchema = {
12
+ shop_id: string;
13
+ name: string;
14
+ details: {
15
+ [key: string]: unknown;
16
+ };
17
+ id: string;
18
+ };
19
+
20
+ export type AccountUpdate = {
21
+ shop_id: string;
22
+ name: string;
23
+ details: {
24
+ [key: string]: unknown;
25
+ };
26
+ };
27
+
28
+ export type AttributeCreate = {
29
+ name: string;
30
+ unit?: string | null;
31
+ translation?: AttributeTranslationBase | null;
32
+ };
33
+
34
+ export type AttributeOptionCreate = {
35
+ attribute_id: string;
36
+ value_key: string;
37
+ };
38
+
39
+ export type AttributeOptionSchema = {
40
+ attribute_id: string;
41
+ value_key: string;
42
+ id: string;
43
+ };
44
+
45
+ export type AttributeOptionUpdate = {
46
+ value_key: string;
47
+ };
48
+
49
+ export type AttributeSchema = {
50
+ shop_id: string;
51
+ name: string;
52
+ unit?: string | null;
53
+ translation?: AttributeTranslationBase | null;
54
+ id: string;
55
+ };
56
+
57
+ export type AttributeTranslationBase = {
58
+ main_name: string;
59
+ alt1_name?: string | null;
60
+ alt2_name?: string | null;
61
+ };
62
+
63
+ export type AttributeUpdate = {
64
+ name?: string | null;
65
+ unit?: string | null;
66
+ translation?: AttributeTranslationBase | null;
67
+ };
68
+
69
+ export type AttributeWithOptionsSchema = {
70
+ shop_id: string;
71
+ name: string;
72
+ unit?: string | null;
73
+ translation?: AttributeTranslationBase | null;
74
+ id: string;
75
+ options?: Array<AttributeOptionSchema>;
76
+ };
77
+
78
+ export type Body_login_access_token_login_access_token_post = {
79
+ grant_type?: string | null;
80
+ username: string;
81
+ password: string;
82
+ scope?: string;
83
+ client_id?: string | null;
84
+ client_secret?: string | null;
85
+ };
86
+
87
+ export type Body_reset_password_reset_password__post = {
88
+ token: string;
89
+ new_password: string;
90
+ };
91
+
92
+ export type Body_update_user_me_users_me_put = {
93
+ password?: string;
94
+ full_name?: string;
95
+ email?: string;
96
+ };
97
+
98
+ export type Cart = {
99
+ products: Array<string>;
100
+ };
101
+
102
+ export type CategoryCreate = {
103
+ shop_id: string;
104
+ color: string;
105
+ icon?: string | null;
106
+ order_number?: number | null;
107
+ translation: CategoryTranslationBase;
108
+ main_image:
109
+ | {
110
+ [key: string]: unknown;
111
+ }
112
+ | string
113
+ | null;
114
+ alt1_image:
115
+ | {
116
+ [key: string]: unknown;
117
+ }
118
+ | string
119
+ | null;
120
+ alt2_image:
121
+ | {
122
+ [key: string]: unknown;
123
+ }
124
+ | string
125
+ | null;
126
+ };
127
+
128
+ export type CategoryImageDelete = {
129
+ image: string;
130
+ };
131
+
132
+ export type CategorySchema = {
133
+ shop_id: string;
134
+ color: string;
135
+ icon?: string | null;
136
+ order_number?: number | null;
137
+ translation: CategoryTranslationBase;
138
+ main_image:
139
+ | {
140
+ [key: string]: unknown;
141
+ }
142
+ | string
143
+ | null;
144
+ alt1_image:
145
+ | {
146
+ [key: string]: unknown;
147
+ }
148
+ | string
149
+ | null;
150
+ alt2_image:
151
+ | {
152
+ [key: string]: unknown;
153
+ }
154
+ | string
155
+ | null;
156
+ id: string;
157
+ };
158
+
159
+ export type CategoryTranslationBase = {
160
+ main_name: string;
161
+ main_description: string;
162
+ alt1_name?: string | null;
163
+ alt1_description?: string | null;
164
+ alt2_name?: string | null;
165
+ alt2_description?: string | null;
166
+ };
167
+
168
+ export type CategoryUpdate = {
169
+ shop_id: string;
170
+ color: string;
171
+ icon?: string | null;
172
+ order_number?: number | null;
173
+ translation: CategoryTranslationBase;
174
+ main_image:
175
+ | {
176
+ [key: string]: unknown;
177
+ }
178
+ | string
179
+ | null;
180
+ alt1_image:
181
+ | {
182
+ [key: string]: unknown;
183
+ }
184
+ | string
185
+ | null;
186
+ alt2_image:
187
+ | {
188
+ [key: string]: unknown;
189
+ }
190
+ | string
191
+ | null;
192
+ };
193
+
194
+ export type ConfigurationContact = {
195
+ company: string;
196
+ website?: string | null;
197
+ phone: string;
198
+ email: string;
199
+ address: string;
200
+ zip_code: string;
201
+ city: string;
202
+ twitter?: string | null;
203
+ facebook?: string | null;
204
+ instagram?: string | null;
205
+ linkedin?: string | null;
206
+ tiktok?: string | null;
207
+ };
208
+
209
+ export type ConfigurationLanguageFieldMenuItems = {
210
+ about: string;
211
+ cart: string;
212
+ checkout: string;
213
+ products: string;
214
+ contact: string;
215
+ policies: string;
216
+ terms: string;
217
+ privacy_policy: string;
218
+ return_policy: string;
219
+ website: string;
220
+ phone: string;
221
+ email: string;
222
+ address: string;
223
+ };
224
+
225
+ export type ConfigurationLanguageFieldStaticTexts = {
226
+ about: string;
227
+ terms: string;
228
+ privacy_policy: string;
229
+ return_policy: string;
230
+ };
231
+
232
+ export type ConfigurationLanguageFields = {
233
+ language_name: string;
234
+ menu_items: ConfigurationLanguageFieldMenuItems;
235
+ static_texts: ConfigurationLanguageFieldStaticTexts;
236
+ };
237
+
238
+ export type ConfigurationLanguages_Input = {
239
+ main: ConfigurationLanguageFields;
240
+ alt1?: ConfigurationLanguageFields | null;
241
+ alt2?: ConfigurationLanguageFields | null;
242
+ };
243
+
244
+ export type ConfigurationLanguages_Output = {
245
+ main: ConfigurationLanguageFields;
246
+ alt1?: ConfigurationLanguageFields | null;
247
+ alt2?: ConfigurationLanguageFields | null;
248
+ };
249
+
250
+ export type ConfigurationV1_Input = {
251
+ short_shop_name: string;
252
+ logo: string;
253
+ main_banner: string;
254
+ alt1_banner?: string | null;
255
+ alt2_banner?: string | null;
256
+ gradient_percentage?: number;
257
+ languages: ConfigurationLanguages_Input;
258
+ google_analytics_id?: string | null;
259
+ contact: ConfigurationContact;
260
+ toggles: Toggles;
261
+ };
262
+
263
+ export type ConfigurationV1_Output = {
264
+ short_shop_name: string;
265
+ logo: string;
266
+ main_banner: string;
267
+ alt1_banner?: string | null;
268
+ alt2_banner?: string | null;
269
+ gradient_percentage?: number;
270
+ languages: ConfigurationLanguages_Output;
271
+ google_analytics_id?: string | null;
272
+ contact: ConfigurationContact;
273
+ toggles: Toggles;
274
+ };
275
+
276
+ export type DefaultPrice = {
277
+ id?: string | null;
278
+ created_at?: string | null;
279
+ modified_at?: string | null;
280
+ internal_product_id?: string | null;
281
+ active?: boolean | null;
282
+ new?: boolean | null;
283
+ one?: number | null;
284
+ two_five?: number | null;
285
+ five?: number | null;
286
+ joint?: number | null;
287
+ piece?: number | null;
288
+ };
289
+
290
+ export type EarlyAccessCreate = {
291
+ email: string;
292
+ };
293
+
294
+ export type FaqCreate = {
295
+ question: string;
296
+ answer: string;
297
+ category: string;
298
+ };
299
+
300
+ export type FaqCreated = {
301
+ question: string;
302
+ answer: string;
303
+ category: string;
304
+ id: string;
305
+ created_at: string;
306
+ modified_at: string;
307
+ };
308
+
309
+ export type FaqSchema = {
310
+ question: string;
311
+ answer: string;
312
+ category: string;
313
+ id: string;
314
+ created_at: string;
315
+ modified_at: string;
316
+ };
317
+
318
+ export type FaqUpdate = {
319
+ question: string;
320
+ answer: string;
321
+ category: string;
322
+ };
323
+
324
+ export type FaqUpdated = {
325
+ question: string;
326
+ answer: string;
327
+ category: string;
328
+ id: string;
329
+ };
330
+
331
+ export type HTTPValidationError = {
332
+ detail?: Array<ValidationError>;
333
+ };
334
+
335
+ /**
336
+ * Language options.
337
+ */
338
+ export type Lang = 'main' | 'alt1' | 'alt2';
339
+
340
+ export type LicenseCreate = {
341
+ name: string;
342
+ improviser_user: string;
343
+ is_recurring: boolean;
344
+ seats: number;
345
+ order_id: string;
346
+ end_date: string | null;
347
+ };
348
+
349
+ export type LicenseSchema = {
350
+ name: string;
351
+ improviser_user: string;
352
+ is_recurring: boolean;
353
+ seats: number;
354
+ order_id: string;
355
+ end_date: string | null;
356
+ id: string;
357
+ modified_at: string;
358
+ created_at: string;
359
+ start_date: string;
360
+ };
361
+
362
+ export type LicenseUpdate = {
363
+ seats: number | null;
364
+ end_date: string | null;
365
+ };
366
+
367
+ export type Msg = {
368
+ msg: string;
369
+ };
370
+
371
+ export type OrderBase = {
372
+ account_id?: string | null;
373
+ total: number | null;
374
+ notes: string | null;
375
+ customer_order_id: number | null;
376
+ status: string | null;
377
+ };
378
+
379
+ export type OrderCreate = {
380
+ account_id?: string | null;
381
+ total: number | null;
382
+ notes: string | null;
383
+ customer_order_id: number | null;
384
+ status: string | null;
385
+ shop_id: string;
386
+ order_info: Array<OrderItem>;
387
+ completed_at?: string | null;
388
+ account_name?: string | null;
389
+ };
390
+
391
+ export type OrderCreated = {
392
+ account_id?: string | null;
393
+ total: number | null;
394
+ notes: string | null;
395
+ customer_order_id: number | null;
396
+ status: string | null;
397
+ id: string;
398
+ created_at: string;
399
+ completed_at?: string | null;
400
+ account_name: string | null;
401
+ };
402
+
403
+ export type OrderItem = {
404
+ description: string | null;
405
+ price: number;
406
+ product_id: string;
407
+ product_name: string;
408
+ quantity: number;
409
+ };
410
+
411
+ export type OrderSchema = {
412
+ account_id?: string | null;
413
+ total: number | null;
414
+ notes: string | null;
415
+ customer_order_id: number | null;
416
+ status: string | null;
417
+ id: string;
418
+ shop_id: string;
419
+ order_info: Array<OrderItem>;
420
+ created_at: string;
421
+ completed_at?: string | null;
422
+ completed_by: string | null;
423
+ account_name: string | null;
424
+ shop_name: string | null;
425
+ completed_by_name?: string | null;
426
+ };
427
+
428
+ export type OrderUpdate = {
429
+ account_id?: string | null;
430
+ total: number | null;
431
+ notes: string | null;
432
+ customer_order_id: number | null;
433
+ status: string | null;
434
+ shop_id: string;
435
+ order_info: Array<OrderItem>;
436
+ };
437
+
438
+ export type OrderUpdated = {
439
+ account_id?: string | null;
440
+ total: number | null;
441
+ notes: string | null;
442
+ customer_order_id: number | null;
443
+ status: string | null;
444
+ shop_id: string;
445
+ order_info: Array<OrderItem>;
446
+ id: string;
447
+ };
448
+
449
+ /**
450
+ * Lightweight representation of a product's attribute value used in responses.
451
+ *
452
+ * - attribute_id: the AttributeTable id
453
+ * - attribute_name: translated main_name for display (optional, may be omitted in some endpoints)
454
+ * - option_id: the AttributeOptionTable id when the value is an enum option
455
+ * - option_value_key: the option key (e.g., "XS", "M") when applicable
456
+ */
457
+ export type ProductAttributeItem = {
458
+ attribute_id: string;
459
+ attribute_name?: string | null;
460
+ option_id?: string | null;
461
+ option_value_key?: string | null;
462
+ };
463
+
464
+ /**
465
+ * Payload for creating or replacing selected attribute options for a product.
466
+ */
467
+ export type ProductAttributeOptionSelectionAdd = {
468
+ option_ids: Array<string>;
469
+ };
470
+
471
+ /**
472
+ * Payload for creating or replacing selected attribute options for a product.
473
+ */
474
+ export type ProductAttributeOptionSelectionReplace = {
475
+ option_ids: Array<string>;
476
+ };
477
+
478
+ /**
479
+ * Base schema for product attribute values.
480
+ */
481
+ export type ProductAttributeValueBase = {
482
+ product_id: string;
483
+ attribute_id: string;
484
+ option_id?: string | null;
485
+ };
486
+
487
+ /**
488
+ * Schema for representing a product attribute value.
489
+ */
490
+ export type ProductAttributeValueSchema = {
491
+ product_id: string;
492
+ attribute_id: string;
493
+ option_id?: string | null;
494
+ id: string;
495
+ };
496
+
497
+ export type ProductCreate = {
498
+ shop_id: string;
499
+ category_id: string;
500
+ price?: number | null;
501
+ recurring_price_monthly?: number | null;
502
+ recurring_price_yearly?: number | null;
503
+ max_one: boolean;
504
+ shippable: boolean;
505
+ digital?: string | null;
506
+ featured: boolean;
507
+ new_product: boolean;
508
+ tax_category: string;
509
+ discounted_price?: number | null;
510
+ discounted_from?: string | null;
511
+ discounted_to?: string | null;
512
+ order_number?: number | null;
513
+ stock?: number | null;
514
+ image_1:
515
+ | {
516
+ [key: string]: unknown;
517
+ }
518
+ | string
519
+ | null;
520
+ image_2:
521
+ | {
522
+ [key: string]: unknown;
523
+ }
524
+ | string
525
+ | null;
526
+ image_3:
527
+ | {
528
+ [key: string]: unknown;
529
+ }
530
+ | string
531
+ | null;
532
+ image_4:
533
+ | {
534
+ [key: string]: unknown;
535
+ }
536
+ | string
537
+ | null;
538
+ image_5:
539
+ | {
540
+ [key: string]: unknown;
541
+ }
542
+ | string
543
+ | null;
544
+ image_6:
545
+ | {
546
+ [key: string]: unknown;
547
+ }
548
+ | string
549
+ | null;
550
+ translation: ProductTranslationBase;
551
+ };
552
+
553
+ export type ProductResponse = {
554
+ id: string;
555
+ category: string;
556
+ category_image?: string | null;
557
+ category_order_number: number;
558
+ order_number: number;
559
+ stock?: number | null;
560
+ tags?: Array<string>;
561
+ name: string;
562
+ description_short: string;
563
+ description: string;
564
+ tax_category: string;
565
+ tax_percentage: number;
566
+ price?: number | null;
567
+ recurring_price_monthly?: number | null;
568
+ recurring_price_yearly?: number | null;
569
+ max_one: boolean;
570
+ shippable: boolean;
571
+ attributes?: Array<string>;
572
+ digital?: string | null;
573
+ featured: boolean;
574
+ new_product: boolean;
575
+ discounted_price?: number | null;
576
+ discounted_from?: string | null;
577
+ discounted_to?: string | null;
578
+ image_1?: string | null;
579
+ image_2?: string | null;
580
+ image_3?: string | null;
581
+ image_4?: string | null;
582
+ image_5?: string | null;
583
+ image_6?: string | null;
584
+ };
585
+
586
+ export type ProductToTagCreate = {
587
+ product_id: string;
588
+ tag_id: string;
589
+ shop_id: string;
590
+ };
591
+
592
+ export type ProductToTagSchema = {
593
+ product_id: string;
594
+ tag_id: string;
595
+ shop_id: string;
596
+ id: string;
597
+ };
598
+
599
+ export type ProductToTagUpdate = {
600
+ product_id: string;
601
+ tag_id: string;
602
+ shop_id: string;
603
+ };
604
+
605
+ export type ProductTranslationBase = {
606
+ main_name: string;
607
+ main_description: string;
608
+ main_description_short: string;
609
+ alt1_name?: string | null;
610
+ alt1_description?: string | null;
611
+ alt1_description_short?: string | null;
612
+ alt2_name?: string | null;
613
+ alt2_description?: string | null;
614
+ alt2_description_short?: string | null;
615
+ };
616
+
617
+ export type ProductUpdate = {
618
+ shop_id: string;
619
+ category_id: string;
620
+ price?: number | null;
621
+ recurring_price_monthly?: number | null;
622
+ recurring_price_yearly?: number | null;
623
+ max_one: boolean;
624
+ shippable: boolean;
625
+ digital?: string | null;
626
+ featured: boolean;
627
+ new_product: boolean;
628
+ tax_category: string;
629
+ discounted_price?: number | null;
630
+ discounted_from?: string | null;
631
+ discounted_to?: string | null;
632
+ order_number?: number | null;
633
+ stock?: number | null;
634
+ image_1:
635
+ | {
636
+ [key: string]: unknown;
637
+ }
638
+ | string
639
+ | null;
640
+ image_2:
641
+ | {
642
+ [key: string]: unknown;
643
+ }
644
+ | string
645
+ | null;
646
+ image_3:
647
+ | {
648
+ [key: string]: unknown;
649
+ }
650
+ | string
651
+ | null;
652
+ image_4:
653
+ | {
654
+ [key: string]: unknown;
655
+ }
656
+ | string
657
+ | null;
658
+ image_5:
659
+ | {
660
+ [key: string]: unknown;
661
+ }
662
+ | string
663
+ | null;
664
+ image_6:
665
+ | {
666
+ [key: string]: unknown;
667
+ }
668
+ | string
669
+ | null;
670
+ translation: ProductTranslationBase;
671
+ modified_at?: string | null;
672
+ };
673
+
674
+ /**
675
+ * Schema for a product along with its associated attributes.
676
+ */
677
+ export type ProductWithAttributes = {
678
+ product: ProductWithDefaultPrice;
679
+ attributes?: Array<ProductAttributeItem>;
680
+ };
681
+
682
+ export type ProductWithDefaultPrice = {
683
+ shop_id: string;
684
+ category_id: string;
685
+ price?: number | null;
686
+ recurring_price_monthly?: number | null;
687
+ recurring_price_yearly?: number | null;
688
+ max_one: boolean;
689
+ shippable: boolean;
690
+ digital?: string | null;
691
+ featured: boolean;
692
+ new_product: boolean;
693
+ tax_category: string;
694
+ discounted_price?: number | null;
695
+ discounted_from?: string | null;
696
+ discounted_to?: string | null;
697
+ order_number?: number | null;
698
+ stock?: number | null;
699
+ image_1:
700
+ | {
701
+ [key: string]: unknown;
702
+ }
703
+ | string
704
+ | null;
705
+ image_2:
706
+ | {
707
+ [key: string]: unknown;
708
+ }
709
+ | string
710
+ | null;
711
+ image_3:
712
+ | {
713
+ [key: string]: unknown;
714
+ }
715
+ | string
716
+ | null;
717
+ image_4:
718
+ | {
719
+ [key: string]: unknown;
720
+ }
721
+ | string
722
+ | null;
723
+ image_5:
724
+ | {
725
+ [key: string]: unknown;
726
+ }
727
+ | string
728
+ | null;
729
+ image_6:
730
+ | {
731
+ [key: string]: unknown;
732
+ }
733
+ | string
734
+ | null;
735
+ translation: ProductTranslationBase;
736
+ id: string;
737
+ modified_at?: string | null;
738
+ approved_at?: string | null;
739
+ images_amount?: number;
740
+ prices?: DefaultPrice | null;
741
+ };
742
+
743
+ export type ProductWithDetailsAndPrices = {
744
+ shop_id: string;
745
+ category_id: string;
746
+ price?: number | null;
747
+ recurring_price_monthly?: number | null;
748
+ recurring_price_yearly?: number | null;
749
+ max_one: boolean;
750
+ shippable: boolean;
751
+ digital?: string | null;
752
+ featured: boolean;
753
+ new_product: boolean;
754
+ tax_category: string;
755
+ discounted_price?: number | null;
756
+ discounted_from?: string | null;
757
+ discounted_to?: string | null;
758
+ order_number?: number | null;
759
+ stock?: number | null;
760
+ image_1:
761
+ | {
762
+ [key: string]: unknown;
763
+ }
764
+ | string
765
+ | null;
766
+ image_2:
767
+ | {
768
+ [key: string]: unknown;
769
+ }
770
+ | string
771
+ | null;
772
+ image_3:
773
+ | {
774
+ [key: string]: unknown;
775
+ }
776
+ | string
777
+ | null;
778
+ image_4:
779
+ | {
780
+ [key: string]: unknown;
781
+ }
782
+ | string
783
+ | null;
784
+ image_5:
785
+ | {
786
+ [key: string]: unknown;
787
+ }
788
+ | string
789
+ | null;
790
+ image_6:
791
+ | {
792
+ [key: string]: unknown;
793
+ }
794
+ | string
795
+ | null;
796
+ translation: ProductTranslationBase;
797
+ id: string;
798
+ modified_at?: string | null;
799
+ approved_at?: string | null;
800
+ images_amount?: number;
801
+ prices?: Array<{
802
+ [key: string]: unknown;
803
+ }>;
804
+ };
805
+
806
+ export type ShopCacheStatus = {
807
+ modified_at: string | null;
808
+ };
809
+
810
+ export type ShopConfig = {
811
+ config: ConfigurationV1_Output;
812
+ config_version: number;
813
+ shop_type: ShopType;
814
+ stripe_public_key: string | null;
815
+ };
816
+
817
+ export type ShopConfigUpdate_Input = {
818
+ config: ConfigurationV1_Input;
819
+ config_version: number;
820
+ };
821
+
822
+ export type ShopConfigUpdate_Output = {
823
+ config: ConfigurationV1_Output;
824
+ config_version: number;
825
+ };
826
+
827
+ export type ShopCreate = {
828
+ name: string;
829
+ description: string;
830
+ internal_url?: string | null;
831
+ external_url?: string | null;
832
+ vat_standard: number;
833
+ vat_lower_1: number;
834
+ vat_lower_2: number;
835
+ vat_lower_3: number;
836
+ vat_special: number;
837
+ vat_zero: number;
838
+ };
839
+
840
+ export type ShopIp = {
841
+ ip: string;
842
+ };
843
+
844
+ export type ShopLastCompletedOrder = {
845
+ last_completed_order: string | null;
846
+ };
847
+
848
+ export type ShopLastPendingOrder = {
849
+ last_pending_order: string | null;
850
+ };
851
+
852
+ export type ShopSchema = {
853
+ name: string;
854
+ description: string;
855
+ internal_url?: string | null;
856
+ external_url?: string | null;
857
+ vat_standard: number;
858
+ vat_lower_1: number;
859
+ vat_lower_2: number;
860
+ vat_lower_3: number;
861
+ vat_special: number;
862
+ vat_zero: number;
863
+ id: string;
864
+ };
865
+
866
+ export type ShopType = {
867
+ max_languages: number;
868
+ max_products: number;
869
+ stripe_access: boolean;
870
+ trial_mode: boolean;
871
+ trial_started?: string | null;
872
+ name: ShopTypeName;
873
+ };
874
+
875
+ export type ShopTypeName = 'small' | 'business';
876
+
877
+ export type ShopUpdate = {
878
+ name: string;
879
+ description: string;
880
+ internal_url?: string | null;
881
+ external_url?: string | null;
882
+ vat_standard: number;
883
+ vat_lower_1: number;
884
+ vat_lower_2: number;
885
+ vat_lower_3: number;
886
+ vat_special: number;
887
+ vat_zero: number;
888
+ modified_at: string | null;
889
+ allowed_ips?: Array<string> | null;
890
+ };
891
+
892
+ export type ShopWithPrices = {
893
+ name: string;
894
+ description: string;
895
+ internal_url?: string | null;
896
+ external_url?: string | null;
897
+ vat_standard: number;
898
+ vat_lower_1: number;
899
+ vat_lower_2: number;
900
+ vat_lower_3: number;
901
+ vat_special: number;
902
+ vat_zero: number;
903
+ id: string;
904
+ };
905
+
906
+ export type TagCreate = {
907
+ shop_id: string;
908
+ name: string;
909
+ translation: TagTranslationBase;
910
+ };
911
+
912
+ export type TagSchema = {
913
+ shop_id: string;
914
+ name: string;
915
+ translation: TagTranslationBase;
916
+ id: string;
917
+ };
918
+
919
+ export type TagTranslationBase = {
920
+ main_name: string;
921
+ alt1_name?: string | null;
922
+ alt2_name?: string | null;
923
+ };
924
+
925
+ export type TagUpdate = {
926
+ shop_id: string;
927
+ name: string;
928
+ translation: TagTranslationBase;
929
+ };
930
+
931
+ export type Toggles = {
932
+ show_new_products?: boolean;
933
+ show_featured_products?: boolean;
934
+ show_categories?: boolean;
935
+ show_shop_name?: boolean;
936
+ show_nav_categories?: boolean;
937
+ language_alt1_enabled?: boolean;
938
+ language_alt2_enabled?: boolean;
939
+ product_call_to_action_enabled?: boolean;
940
+ enable_stock_on_products?: boolean;
941
+ };
942
+
943
+ export type User = {
944
+ email?: string | null;
945
+ is_active?: boolean | null;
946
+ is_superuser?: boolean;
947
+ username?: string | null;
948
+ id: string;
949
+ created_at: string;
950
+ };
951
+
952
+ export type UserCreate = {
953
+ email: string;
954
+ is_active?: boolean | null;
955
+ is_superuser?: boolean;
956
+ username?: string | null;
957
+ password: string;
958
+ };
959
+
960
+ export type UserUpdate = {
961
+ email?: string | null;
962
+ is_active?: boolean | null;
963
+ is_superuser?: boolean;
964
+ username?: string | null;
965
+ password?: string | null;
966
+ };
967
+
968
+ export type ValidationError = {
969
+ loc: Array<string | number>;
970
+ msg: string;
971
+ type: string;
972
+ };
973
+
974
+ export type LoginAccessTokenLoginAccessTokenPostData = {
975
+ formData: Body_login_access_token_login_access_token_post;
976
+ };
977
+
978
+ export type LoginAccessTokenLoginAccessTokenPostResponse = unknown;
979
+
980
+ export type TestTokenLoginTestTokenPostResponse = User;
981
+
982
+ export type RecoverPasswordPasswordRecoveryEmailPostData = {
983
+ email: string;
984
+ };
985
+
986
+ export type RecoverPasswordPasswordRecoveryEmailPostResponse = Msg;
987
+
988
+ export type ResetPasswordResetPasswordPostData = {
989
+ requestBody: Body_reset_password_reset_password__post;
990
+ };
991
+
992
+ export type ResetPasswordResetPasswordPostResponse = Msg;
993
+
994
+ export type GetHealthHealthGetResponse = string;
995
+
996
+ export type GetMultiUsersGetData = {
997
+ /**
998
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
999
+ */
1000
+ filter?: Array<string>;
1001
+ limit?: number;
1002
+ skip?: number;
1003
+ /**
1004
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1005
+ */
1006
+ sort?: Array<string>;
1007
+ };
1008
+
1009
+ export type GetMultiUsersGetResponse = unknown;
1010
+
1011
+ export type CreateUsersPostData = {
1012
+ requestBody: UserCreate;
1013
+ };
1014
+
1015
+ export type CreateUsersPostResponse = User;
1016
+
1017
+ export type GetUserMeUsersMeGetResponse = User;
1018
+
1019
+ export type UpdateUserMeUsersMePutData = {
1020
+ requestBody?: Body_update_user_me_users_me_put;
1021
+ };
1022
+
1023
+ export type UpdateUserMeUsersMePutResponse = User;
1024
+
1025
+ export type GetByIdUsersUserIdGetData = {
1026
+ userId: number;
1027
+ };
1028
+
1029
+ export type GetByIdUsersUserIdGetResponse = User;
1030
+
1031
+ export type UpdateUsersUserIdPutData = {
1032
+ requestBody: UserUpdate;
1033
+ userId: number;
1034
+ };
1035
+
1036
+ export type UpdateUsersUserIdPutResponse = User;
1037
+
1038
+ export type GetFormsFormsGetResponse = Array<string>;
1039
+
1040
+ export type NewFormFormsFormKeyPostData = {
1041
+ formKey: string;
1042
+ requestBody: Array<{
1043
+ [key: string]: unknown;
1044
+ }>;
1045
+ shopId?: string | null;
1046
+ };
1047
+
1048
+ export type NewFormFormsFormKeyPostResponse = {
1049
+ [key: string]: unknown;
1050
+ };
1051
+
1052
+ export type GetSignedUrlImagesSignedUrlImageNameGetData = {
1053
+ imageName: string;
1054
+ };
1055
+
1056
+ export type GetSignedUrlImagesSignedUrlImageNameGetResponse = unknown;
1057
+
1058
+ export type MoveImagesImagesMovePostResponse = unknown;
1059
+
1060
+ export type DeleteTemporaryImagesImagesDeleteTempPostResponse = unknown;
1061
+
1062
+ export type GetMultiLicensesGetData = {
1063
+ /**
1064
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1065
+ */
1066
+ filter?: Array<string>;
1067
+ limit?: number;
1068
+ skip?: number;
1069
+ /**
1070
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1071
+ */
1072
+ sort?: Array<string>;
1073
+ };
1074
+
1075
+ export type GetMultiLicensesGetResponse = Array<LicenseSchema>;
1076
+
1077
+ export type CreateLicensesPostData = {
1078
+ requestBody: LicenseCreate;
1079
+ };
1080
+
1081
+ export type CreateLicensesPostResponse = LicenseSchema;
1082
+
1083
+ export type GetByIdLicensesIdGetData = {
1084
+ id: string;
1085
+ };
1086
+
1087
+ export type GetByIdLicensesIdGetResponse = LicenseSchema;
1088
+
1089
+ export type EditLicensesIdPutData = {
1090
+ id: string;
1091
+ requestBody: LicenseUpdate;
1092
+ };
1093
+
1094
+ export type EditLicensesIdPutResponse = LicenseSchema;
1095
+
1096
+ export type DeleteLicensesIdDeleteData = {
1097
+ id: string;
1098
+ };
1099
+
1100
+ export type DeleteLicensesIdDeleteResponse = void;
1101
+
1102
+ export type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData = {
1103
+ improviserUserId: string;
1104
+ };
1105
+
1106
+ export type GetByImproviserUserIdLicensesImproviserImproviserUserIdGetResponse =
1107
+ LicenseSchema;
1108
+
1109
+ export type GetSignedDownloadLinkDownloadsFileNameGetData = {
1110
+ fileName: string;
1111
+ };
1112
+
1113
+ export type GetSignedDownloadLinkDownloadsFileNameGetResponse = unknown;
1114
+
1115
+ export type SendDownloadLinkViaEmailDownloadsSendPostData = {
1116
+ email: string;
1117
+ fileName: string;
1118
+ shopName: string;
1119
+ };
1120
+
1121
+ export type SendDownloadLinkViaEmailDownloadsSendPostResponse = unknown;
1122
+
1123
+ export type GetMultiShopsGetData = {
1124
+ /**
1125
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1126
+ */
1127
+ filter?: Array<string>;
1128
+ limit?: number;
1129
+ skip?: number;
1130
+ /**
1131
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1132
+ */
1133
+ sort?: Array<string>;
1134
+ };
1135
+
1136
+ export type GetMultiShopsGetResponse = Array<ShopSchema>;
1137
+
1138
+ export type CreateShopsPostData = {
1139
+ requestBody: ShopCreate;
1140
+ };
1141
+
1142
+ export type CreateShopsPostResponse = ShopSchema;
1143
+
1144
+ export type GetCacheStatusShopsCacheStatusIdGetData = {
1145
+ id: string;
1146
+ };
1147
+
1148
+ export type GetCacheStatusShopsCacheStatusIdGetResponse = ShopCacheStatus;
1149
+
1150
+ export type GetLastCompletedOrderShopsLastCompletedOrderIdGetData = {
1151
+ id: string;
1152
+ };
1153
+
1154
+ export type GetLastCompletedOrderShopsLastCompletedOrderIdGetResponse =
1155
+ ShopLastCompletedOrder;
1156
+
1157
+ export type GetLastPendingOrderShopsLastPendingOrderIdGetData = {
1158
+ id: string;
1159
+ };
1160
+
1161
+ export type GetLastPendingOrderShopsLastPendingOrderIdGetResponse =
1162
+ ShopLastPendingOrder;
1163
+
1164
+ export type GetByIdShopsIdGetData = {
1165
+ id: string;
1166
+ };
1167
+
1168
+ export type GetByIdShopsIdGetResponse = ShopWithPrices;
1169
+
1170
+ export type UpdateShopsShopIdPutData = {
1171
+ requestBody: ShopUpdate;
1172
+ shopId: string;
1173
+ };
1174
+
1175
+ export type UpdateShopsShopIdPutResponse = ShopSchema;
1176
+
1177
+ export type DeleteShopsShopIdDeleteData = {
1178
+ shopId: string;
1179
+ };
1180
+
1181
+ export type DeleteShopsShopIdDeleteResponse = void;
1182
+
1183
+ export type GetConfigShopsConfigIdGetData = {
1184
+ id: string;
1185
+ };
1186
+
1187
+ export type GetConfigShopsConfigIdGetResponse = ShopConfig;
1188
+
1189
+ export type UpdateConfigShopsConfigIdPutData = {
1190
+ id: string;
1191
+ requestBody: ShopConfigUpdate_Input;
1192
+ };
1193
+
1194
+ export type UpdateConfigShopsConfigIdPutResponse = ShopConfigUpdate_Output;
1195
+
1196
+ export type GetAllowedIpsShopsAllowedIpsIdGetData = {
1197
+ id: string;
1198
+ };
1199
+
1200
+ export type GetAllowedIpsShopsAllowedIpsIdGetResponse = Array<string>;
1201
+
1202
+ export type AddNewIpShopsAllowedIpsIdPostData = {
1203
+ id: string;
1204
+ requestBody: ShopIp;
1205
+ };
1206
+
1207
+ export type AddNewIpShopsAllowedIpsIdPostResponse = Array<string>;
1208
+
1209
+ export type RemoveIpShopsAllowedIpsIdRemovePostData = {
1210
+ id: string;
1211
+ requestBody: ShopIp;
1212
+ };
1213
+
1214
+ export type RemoveIpShopsAllowedIpsIdRemovePostResponse = Array<string>;
1215
+
1216
+ export type GetProductsShopsShopIdPricesGetData = {
1217
+ lang: Lang;
1218
+ shopId: string;
1219
+ };
1220
+
1221
+ export type GetProductsShopsShopIdPricesGetResponse = Array<ProductResponse>;
1222
+
1223
+ export type GetCartProductsShopsShopIdPricesPostData = {
1224
+ lang: Lang;
1225
+ requestBody: Cart;
1226
+ shopId: string;
1227
+ };
1228
+
1229
+ export type GetCartProductsShopsShopIdPricesPostResponse =
1230
+ Array<ProductResponse>;
1231
+
1232
+ export type GetMultiOrdersGetData = {
1233
+ /**
1234
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1235
+ */
1236
+ filter?: Array<string>;
1237
+ limit?: number;
1238
+ skip?: number;
1239
+ /**
1240
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1241
+ */
1242
+ sort?: Array<string>;
1243
+ };
1244
+
1245
+ export type GetMultiOrdersGetResponse = Array<OrderSchema>;
1246
+
1247
+ export type CreateOrdersPostData = {
1248
+ requestBody: OrderCreate;
1249
+ };
1250
+
1251
+ export type CreateOrdersPostResponse = OrderCreated;
1252
+
1253
+ export type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetData = {
1254
+ /**
1255
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1256
+ */
1257
+ filter?: Array<string>;
1258
+ limit?: number;
1259
+ shopId: string;
1260
+ skip?: number;
1261
+ /**
1262
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1263
+ */
1264
+ sort?: Array<string>;
1265
+ };
1266
+
1267
+ export type ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetResponse =
1268
+ Array<OrderSchema>;
1269
+
1270
+ export type ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetData = {
1271
+ /**
1272
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1273
+ */
1274
+ filter?: Array<string>;
1275
+ limit?: number;
1276
+ shopId: string;
1277
+ skip?: number;
1278
+ /**
1279
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1280
+ */
1281
+ sort?: Array<string>;
1282
+ };
1283
+
1284
+ export type ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetResponse =
1285
+ Array<OrderSchema>;
1286
+
1287
+ export type GetByIdOrdersIdGetData = {
1288
+ id: string;
1289
+ };
1290
+
1291
+ export type GetByIdOrdersIdGetResponse = OrderSchema;
1292
+
1293
+ export type CheckOrdersCheckIdsGetData = {
1294
+ ids: string;
1295
+ };
1296
+
1297
+ export type CheckOrdersCheckIdsGetResponse = Array<OrderCreated>;
1298
+
1299
+ export type PatchOrdersOrderIdPatchData = {
1300
+ orderId: string;
1301
+ requestBody: OrderBase;
1302
+ };
1303
+
1304
+ export type PatchOrdersOrderIdPatchResponse = OrderUpdated;
1305
+
1306
+ export type UpdateOrdersOrderIdPutData = {
1307
+ orderId: string;
1308
+ requestBody: OrderUpdate;
1309
+ };
1310
+
1311
+ export type UpdateOrdersOrderIdPutResponse = OrderUpdated;
1312
+
1313
+ export type DeleteOrdersOrderIdDeleteData = {
1314
+ orderId: string;
1315
+ };
1316
+
1317
+ export type DeleteOrdersOrderIdDeleteResponse = void;
1318
+
1319
+ export type GetOrderProductsInStockOrdersStockOrderIdGetData = {
1320
+ orderId: string;
1321
+ };
1322
+
1323
+ export type GetOrderProductsInStockOrdersStockOrderIdGetResponse = boolean;
1324
+
1325
+ export type GetMultiShopsShopIdCategoriesGetData = {
1326
+ /**
1327
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1328
+ */
1329
+ filter?: Array<string>;
1330
+ limit?: number;
1331
+ shopId: string;
1332
+ skip?: number;
1333
+ /**
1334
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1335
+ */
1336
+ sort?: Array<string>;
1337
+ };
1338
+
1339
+ export type GetMultiShopsShopIdCategoriesGetResponse = Array<CategorySchema>;
1340
+
1341
+ export type CreateShopsShopIdCategoriesPostData = {
1342
+ requestBody: CategoryCreate;
1343
+ shopId: string;
1344
+ };
1345
+
1346
+ export type CreateShopsShopIdCategoriesPostResponse = unknown;
1347
+
1348
+ export type GetByIdShopsShopIdCategoriesCategoryIdGetData = {
1349
+ categoryId: string;
1350
+ shopId: string;
1351
+ };
1352
+
1353
+ export type GetByIdShopsShopIdCategoriesCategoryIdGetResponse = CategorySchema;
1354
+
1355
+ export type UpdateShopsShopIdCategoriesCategoryIdPutData = {
1356
+ categoryId: string;
1357
+ requestBody: CategoryUpdate;
1358
+ shopId: string;
1359
+ };
1360
+
1361
+ export type UpdateShopsShopIdCategoriesCategoryIdPutResponse = unknown;
1362
+
1363
+ export type DeleteShopsShopIdCategoriesCategoryIdDeleteData = {
1364
+ categoryId: string;
1365
+ shopId: string;
1366
+ };
1367
+
1368
+ export type DeleteShopsShopIdCategoriesCategoryIdDeleteResponse = void;
1369
+
1370
+ export type GetByNameShopsShopIdCategoriesNameNameGetData = {
1371
+ name: string;
1372
+ shopId: string;
1373
+ };
1374
+
1375
+ export type GetByNameShopsShopIdCategoriesNameNameGetResponse = CategorySchema;
1376
+
1377
+ export type SwapShopsShopIdCategoriesCategoryIdSwapPutData = {
1378
+ categoryId: string;
1379
+ moveUp: boolean;
1380
+ shopId: string;
1381
+ };
1382
+
1383
+ export type SwapShopsShopIdCategoriesCategoryIdSwapPutResponse = unknown;
1384
+
1385
+ export type GetMultiShopsShopIdCategoriesImagesGetData = {
1386
+ /**
1387
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1388
+ */
1389
+ filter?: Array<string>;
1390
+ limit?: number;
1391
+ skip?: number;
1392
+ /**
1393
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1394
+ */
1395
+ sort?: Array<string>;
1396
+ };
1397
+
1398
+ export type GetMultiShopsShopIdCategoriesImagesGetResponse = unknown;
1399
+
1400
+ export type GetByIdShopsShopIdCategoriesImagesIdGetData = {
1401
+ id: string;
1402
+ };
1403
+
1404
+ export type GetByIdShopsShopIdCategoriesImagesIdGetResponse = unknown;
1405
+
1406
+ export type PutShopsShopIdCategoriesImagesIdPutData = {
1407
+ id: string;
1408
+ requestBody: CategoryUpdate;
1409
+ };
1410
+
1411
+ export type PutShopsShopIdCategoriesImagesIdPutResponse = unknown;
1412
+
1413
+ export type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData = {
1414
+ id: string;
1415
+ requestBody: CategoryImageDelete;
1416
+ };
1417
+
1418
+ export type DeleteImageShopsShopIdCategoriesImagesDeleteIdPutResponse = unknown;
1419
+
1420
+ export type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData = {
1421
+ imageName: string;
1422
+ shopId: string;
1423
+ };
1424
+
1425
+ export type GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetResponse =
1426
+ unknown;
1427
+
1428
+ export type GetMultiShopsShopIdProductsGetData = {
1429
+ /**
1430
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1431
+ */
1432
+ filter?: Array<string>;
1433
+ limit?: number;
1434
+ shopId: string;
1435
+ skip?: number;
1436
+ /**
1437
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1438
+ */
1439
+ sort?: Array<string>;
1440
+ };
1441
+
1442
+ export type GetMultiShopsShopIdProductsGetResponse =
1443
+ Array<ProductWithDefaultPrice>;
1444
+
1445
+ export type CreateShopsShopIdProductsPostData = {
1446
+ requestBody: ProductCreate;
1447
+ shopId: string;
1448
+ };
1449
+
1450
+ export type CreateShopsShopIdProductsPostResponse = unknown;
1451
+
1452
+ export type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData = {
1453
+ attributeId?: string;
1454
+ attributeName?: string;
1455
+ /**
1456
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1457
+ */
1458
+ filter?: Array<string>;
1459
+ limit?: number;
1460
+ optionId?: Array<string>;
1461
+ optionValueKey?: Array<string>;
1462
+ shopId: string;
1463
+ skip?: number;
1464
+ /**
1465
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1466
+ */
1467
+ sort?: Array<string>;
1468
+ };
1469
+
1470
+ export type GetMultiWithAttributesShopsShopIdProductsWithAttributesGetResponse =
1471
+ Array<ProductWithAttributes>;
1472
+
1473
+ export type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetData =
1474
+ {
1475
+ productId: string;
1476
+ shopId: string;
1477
+ };
1478
+
1479
+ export type GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetResponse =
1480
+ ProductWithAttributes;
1481
+
1482
+ export type GetByIdShopsShopIdProductsProductIdGetData = {
1483
+ productId: string;
1484
+ shopId: string;
1485
+ };
1486
+
1487
+ export type GetByIdShopsShopIdProductsProductIdGetResponse =
1488
+ ProductWithDetailsAndPrices;
1489
+
1490
+ export type UpdateShopsShopIdProductsProductIdPutData = {
1491
+ productId: string;
1492
+ requestBody: ProductUpdate;
1493
+ shopId: string;
1494
+ };
1495
+
1496
+ export type UpdateShopsShopIdProductsProductIdPutResponse = unknown;
1497
+
1498
+ export type DeleteShopsShopIdProductsProductIdDeleteData = {
1499
+ productId: string;
1500
+ shopId: string;
1501
+ };
1502
+
1503
+ export type DeleteShopsShopIdProductsProductIdDeleteResponse = void;
1504
+
1505
+ export type SwapShopsShopIdProductsProductIdSwapPutData = {
1506
+ moveUp: boolean;
1507
+ productId: string;
1508
+ shopId: string;
1509
+ };
1510
+
1511
+ export type SwapShopsShopIdProductsProductIdSwapPutResponse = unknown;
1512
+
1513
+ export type GetMultiShopsShopIdProductsToTagsGetData = {
1514
+ /**
1515
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1516
+ */
1517
+ filter?: Array<string>;
1518
+ limit?: number;
1519
+ skip?: number;
1520
+ /**
1521
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1522
+ */
1523
+ sort?: Array<string>;
1524
+ };
1525
+
1526
+ export type GetMultiShopsShopIdProductsToTagsGetResponse =
1527
+ Array<ProductToTagSchema>;
1528
+
1529
+ export type CreateShopsShopIdProductsToTagsPostData = {
1530
+ requestBody: ProductToTagCreate;
1531
+ };
1532
+
1533
+ export type CreateShopsShopIdProductsToTagsPostResponse = void;
1534
+
1535
+ export type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetData = {
1536
+ productId: string;
1537
+ tagId: string;
1538
+ };
1539
+
1540
+ export type GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetResponse =
1541
+ unknown;
1542
+
1543
+ export type GetByIdShopsShopIdProductsToTagsIdGetData = {
1544
+ id: string;
1545
+ };
1546
+
1547
+ export type GetByIdShopsShopIdProductsToTagsIdGetResponse = ProductToTagSchema;
1548
+
1549
+ export type UpdateShopsShopIdProductsToTagsProductToTagIdPutData = {
1550
+ productToTagId: string;
1551
+ requestBody: ProductToTagUpdate;
1552
+ };
1553
+
1554
+ export type UpdateShopsShopIdProductsToTagsProductToTagIdPutResponse = void;
1555
+
1556
+ export type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteData = {
1557
+ productToTagId: string;
1558
+ };
1559
+
1560
+ export type DeleteShopsShopIdProductsToTagsProductToTagIdDeleteResponse = void;
1561
+
1562
+ export type GetMultiShopsShopIdTagsGetData = {
1563
+ /**
1564
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1565
+ */
1566
+ filter?: Array<string>;
1567
+ limit?: number;
1568
+ shopId: string;
1569
+ skip?: number;
1570
+ /**
1571
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1572
+ */
1573
+ sort?: Array<string>;
1574
+ };
1575
+
1576
+ export type GetMultiShopsShopIdTagsGetResponse = Array<TagSchema>;
1577
+
1578
+ export type CreateShopsShopIdTagsPostData = {
1579
+ requestBody: TagCreate;
1580
+ shopId: string;
1581
+ };
1582
+
1583
+ export type CreateShopsShopIdTagsPostResponse = unknown;
1584
+
1585
+ export type GetByIdShopsShopIdTagsTagIdGetData = {
1586
+ shopId: string;
1587
+ tagId: string;
1588
+ };
1589
+
1590
+ export type GetByIdShopsShopIdTagsTagIdGetResponse = TagSchema;
1591
+
1592
+ export type UpdateShopsShopIdTagsTagIdPutData = {
1593
+ requestBody: TagUpdate;
1594
+ shopId: string;
1595
+ tagId: string;
1596
+ };
1597
+
1598
+ export type UpdateShopsShopIdTagsTagIdPutResponse = unknown;
1599
+
1600
+ export type DeleteShopsShopIdTagsTagIdDeleteData = {
1601
+ shopId: string;
1602
+ tagId: string;
1603
+ };
1604
+
1605
+ export type DeleteShopsShopIdTagsTagIdDeleteResponse = void;
1606
+
1607
+ export type GetByNameShopsShopIdTagsNameNameGetData = {
1608
+ name: string;
1609
+ shopId: string;
1610
+ };
1611
+
1612
+ export type GetByNameShopsShopIdTagsNameNameGetResponse = TagSchema;
1613
+
1614
+ export type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetData =
1615
+ {
1616
+ attributeId: string;
1617
+ shopId: string;
1618
+ };
1619
+
1620
+ export type GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetResponse =
1621
+ AttributeWithOptionsSchema;
1622
+
1623
+ export type GetWithOptionsShopsShopIdAttributesWithOptionsGetData = {
1624
+ /**
1625
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1626
+ */
1627
+ filter?: Array<string>;
1628
+ limit?: number;
1629
+ shopId: string;
1630
+ skip?: number;
1631
+ /**
1632
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1633
+ */
1634
+ sort?: Array<string>;
1635
+ };
1636
+
1637
+ export type GetWithOptionsShopsShopIdAttributesWithOptionsGetResponse =
1638
+ Array<AttributeWithOptionsSchema>;
1639
+
1640
+ export type GetMultiShopsShopIdAttributesGetData = {
1641
+ /**
1642
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1643
+ */
1644
+ filter?: Array<string>;
1645
+ limit?: number;
1646
+ shopId: string;
1647
+ skip?: number;
1648
+ /**
1649
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1650
+ */
1651
+ sort?: Array<string>;
1652
+ };
1653
+
1654
+ export type GetMultiShopsShopIdAttributesGetResponse = Array<AttributeSchema>;
1655
+
1656
+ export type CreateShopsShopIdAttributesPostData = {
1657
+ requestBody: AttributeCreate;
1658
+ shopId: string;
1659
+ };
1660
+
1661
+ export type CreateShopsShopIdAttributesPostResponse = AttributeSchema;
1662
+
1663
+ export type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetData =
1664
+ {
1665
+ attributeId: string;
1666
+ shopId: string;
1667
+ };
1668
+
1669
+ export type GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetResponse =
1670
+ AttributeWithOptionsSchema;
1671
+
1672
+ export type GetByIdShopsShopIdAttributesIdAttributeIdGetData = {
1673
+ attributeId: string;
1674
+ shopId: string;
1675
+ };
1676
+
1677
+ export type GetByIdShopsShopIdAttributesIdAttributeIdGetResponse =
1678
+ AttributeSchema;
1679
+
1680
+ export type GetByNameShopsShopIdAttributesNameNameGetData = {
1681
+ name: string;
1682
+ shopId: string;
1683
+ };
1684
+
1685
+ export type GetByNameShopsShopIdAttributesNameNameGetResponse = AttributeSchema;
1686
+
1687
+ export type UpdateShopsShopIdAttributesAttributeIdPutData = {
1688
+ attributeId: string;
1689
+ requestBody: AttributeUpdate;
1690
+ shopId: string;
1691
+ };
1692
+
1693
+ export type UpdateShopsShopIdAttributesAttributeIdPutResponse = AttributeSchema;
1694
+
1695
+ export type DeleteShopsShopIdAttributesAttributeIdDeleteData = {
1696
+ attributeId: string;
1697
+ shopId: string;
1698
+ };
1699
+
1700
+ export type DeleteShopsShopIdAttributesAttributeIdDeleteResponse = void;
1701
+
1702
+ export type ListOptionsForShopShopsShopIdAttributeOptionsGetData = {
1703
+ /**
1704
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1705
+ */
1706
+ filter?: Array<string>;
1707
+ limit?: number;
1708
+ shopId: string;
1709
+ skip?: number;
1710
+ /**
1711
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1712
+ */
1713
+ sort?: Array<string>;
1714
+ };
1715
+
1716
+ export type ListOptionsForShopShopsShopIdAttributeOptionsGetResponse =
1717
+ Array<AttributeOptionSchema>;
1718
+
1719
+ export type CreateOptionV2ShopsShopIdAttributeOptionsPostData = {
1720
+ requestBody: AttributeOptionCreate;
1721
+ shopId: string;
1722
+ };
1723
+
1724
+ export type CreateOptionV2ShopsShopIdAttributeOptionsPostResponse =
1725
+ AttributeOptionSchema;
1726
+
1727
+ export type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetData = {
1728
+ optionId: string;
1729
+ shopId: string;
1730
+ };
1731
+
1732
+ export type GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetResponse =
1733
+ AttributeOptionSchema;
1734
+
1735
+ export type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutData = {
1736
+ optionId: string;
1737
+ requestBody: AttributeOptionUpdate;
1738
+ shopId: string;
1739
+ };
1740
+
1741
+ export type UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutResponse =
1742
+ AttributeOptionSchema;
1743
+
1744
+ export type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteData = {
1745
+ optionId: string;
1746
+ shopId: string;
1747
+ };
1748
+
1749
+ export type DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteResponse =
1750
+ void;
1751
+
1752
+ export type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetData = {
1753
+ attributeId: string;
1754
+ /**
1755
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1756
+ */
1757
+ filter?: Array<string>;
1758
+ limit?: number;
1759
+ shopId: string;
1760
+ skip?: number;
1761
+ /**
1762
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1763
+ */
1764
+ sort?: Array<string>;
1765
+ };
1766
+
1767
+ export type ListOptionsShopsShopIdAttributesAttributeIdOptionsGetResponse =
1768
+ Array<AttributeOptionSchema>;
1769
+
1770
+ export type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostData = {
1771
+ attributeId: string;
1772
+ requestBody: {
1773
+ [key: string]: unknown;
1774
+ };
1775
+ shopId: string;
1776
+ };
1777
+
1778
+ export type CreateOptionShopsShopIdAttributesAttributeIdOptionsPostResponse =
1779
+ AttributeOptionSchema;
1780
+
1781
+ export type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetData = {
1782
+ attributeId: string;
1783
+ optionId: string;
1784
+ shopId: string;
1785
+ };
1786
+
1787
+ export type GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetResponse =
1788
+ AttributeOptionSchema;
1789
+
1790
+ export type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteData =
1791
+ {
1792
+ attributeId: string;
1793
+ optionId: string;
1794
+ shopId: string;
1795
+ };
1796
+
1797
+ export type DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteResponse =
1798
+ void;
1799
+
1800
+ export type ProductAttributeValuesListData = {
1801
+ /**
1802
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1803
+ */
1804
+ filter?: Array<string>;
1805
+ limit?: number;
1806
+ shopId: string;
1807
+ skip?: number;
1808
+ /**
1809
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1810
+ */
1811
+ sort?: Array<string>;
1812
+ };
1813
+
1814
+ export type ProductAttributeValuesListResponse =
1815
+ Array<ProductAttributeValueSchema>;
1816
+
1817
+ export type ProductAttributeValuesCreateDeprecatedData = {
1818
+ requestBody: ProductAttributeValueBase;
1819
+ shopId: string;
1820
+ };
1821
+
1822
+ export type ProductAttributeValuesCreateDeprecatedResponse = unknown;
1823
+
1824
+ export type ProductAttributeValuesGetData = {
1825
+ id: string;
1826
+ shopId: string;
1827
+ };
1828
+
1829
+ export type ProductAttributeValuesGetResponse = ProductAttributeValueSchema;
1830
+
1831
+ export type ProductAttributeValuesDeleteData = {
1832
+ id: string;
1833
+ shopId: string;
1834
+ };
1835
+
1836
+ export type ProductAttributeValuesDeleteResponse = void;
1837
+
1838
+ export type ProductAttributeValuesCreateForProductData = {
1839
+ productId: string;
1840
+ requestBody: ProductAttributeOptionSelectionAdd;
1841
+ shopId: string;
1842
+ };
1843
+
1844
+ export type ProductAttributeValuesCreateForProductResponse = unknown;
1845
+
1846
+ export type ProductAttributeValuesReplaceForProductData = {
1847
+ productId: string;
1848
+ requestBody: ProductAttributeOptionSelectionReplace;
1849
+ shopId: string;
1850
+ };
1851
+
1852
+ export type ProductAttributeValuesReplaceForProductResponse = void;
1853
+
1854
+ export type GetMultiShopsShopIdAccountsGetData = {
1855
+ /**
1856
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1857
+ */
1858
+ filter?: Array<string>;
1859
+ limit?: number;
1860
+ skip?: number;
1861
+ /**
1862
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1863
+ */
1864
+ sort?: Array<string>;
1865
+ };
1866
+
1867
+ export type GetMultiShopsShopIdAccountsGetResponse = Array<AccountSchema>;
1868
+
1869
+ export type CreateShopsShopIdAccountsPostData = {
1870
+ requestBody: AccountCreate;
1871
+ };
1872
+
1873
+ export type CreateShopsShopIdAccountsPostResponse = unknown;
1874
+
1875
+ export type GetByIdShopsShopIdAccountsIdGetData = {
1876
+ id: string;
1877
+ };
1878
+
1879
+ export type GetByIdShopsShopIdAccountsIdGetResponse = AccountSchema;
1880
+
1881
+ export type UpdateShopsShopIdAccountsAccountIdPutData = {
1882
+ accountId: string;
1883
+ requestBody: AccountUpdate;
1884
+ };
1885
+
1886
+ export type UpdateShopsShopIdAccountsAccountIdPutResponse = unknown;
1887
+
1888
+ export type DeleteShopsShopIdAccountsAccountIdDeleteData = {
1889
+ accountId: string;
1890
+ };
1891
+
1892
+ export type DeleteShopsShopIdAccountsAccountIdDeleteResponse = void;
1893
+
1894
+ export type CreatePaymentIntentShopsShopIdStripePostData = {
1895
+ accountId: string;
1896
+ price: number;
1897
+ shopId: string;
1898
+ };
1899
+
1900
+ export type CreatePaymentIntentShopsShopIdStripePostResponse = unknown;
1901
+
1902
+ export type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData = {
1903
+ accountId: string;
1904
+ requestBody: Array<string>;
1905
+ shopId: string;
1906
+ yearly?: boolean;
1907
+ };
1908
+
1909
+ export type CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostResponse =
1910
+ unknown;
1911
+
1912
+ export type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData =
1913
+ {
1914
+ shopId: string;
1915
+ subscriptionId: string;
1916
+ };
1917
+
1918
+ export type CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteResponse =
1919
+ void;
1920
+
1921
+ export type CreateEarlyAccessPostData = {
1922
+ requestBody: EarlyAccessCreate;
1923
+ };
1924
+
1925
+ export type CreateEarlyAccessPostResponse = unknown;
1926
+
1927
+ export type FormInfoRequestFormPostData = {
1928
+ productId: string;
1929
+ requestBody?: Array<{
1930
+ [key: string]: unknown;
1931
+ }>;
1932
+ shopId: string;
1933
+ };
1934
+
1935
+ export type FormInfoRequestFormPostResponse = unknown;
1936
+
1937
+ export type TriggerErrorSentryGetData = {
1938
+ type: string;
1939
+ };
1940
+
1941
+ export type TriggerErrorSentryGetResponse = unknown;
1942
+
1943
+ export type FormTestFormsPostData = {
1944
+ requestBody?: Array<{
1945
+ [key: string]: unknown;
1946
+ }>;
1947
+ };
1948
+
1949
+ export type FormTestFormsPostResponse = unknown;
1950
+
1951
+ export type GetMultiFaqGetData = {
1952
+ /**
1953
+ * This filter can accept search query's like `key:value` and will split on the `:`. If it detects more than one `:`, or does not find a `:` it will search for the string in all columns.
1954
+ */
1955
+ filter?: Array<string>;
1956
+ limit?: number;
1957
+ skip?: number;
1958
+ /**
1959
+ * The sort will accept parameters like `col:ASC` or `col:DESC` and will split on the `:`. If it does not find a `:` it will sort ascending on that column.
1960
+ */
1961
+ sort?: Array<string>;
1962
+ };
1963
+
1964
+ export type GetMultiFaqGetResponse = Array<FaqSchema>;
1965
+
1966
+ export type CreateFaqPostData = {
1967
+ requestBody: FaqCreate;
1968
+ };
1969
+
1970
+ export type CreateFaqPostResponse = FaqCreated;
1971
+
1972
+ export type GetByIdFaqIdGetData = {
1973
+ id: string;
1974
+ };
1975
+
1976
+ export type GetByIdFaqIdGetResponse = FaqSchema;
1977
+
1978
+ export type UpdateFaqFaqIdPutData = {
1979
+ faqId: string;
1980
+ requestBody: FaqUpdate;
1981
+ };
1982
+
1983
+ export type UpdateFaqFaqIdPutResponse = FaqUpdated;
1984
+
1985
+ export type DeleteFaqFaqIdDeleteData = {
1986
+ faqId: string;
1987
+ };
1988
+
1989
+ export type DeleteFaqFaqIdDeleteResponse = void;
1990
+
1991
+ export type $OpenApiTs = {
1992
+ '/login/access-token': {
1993
+ post: {
1994
+ req: LoginAccessTokenLoginAccessTokenPostData;
1995
+ res: {
1996
+ /**
1997
+ * Successful Response
1998
+ */
1999
+ 200: unknown;
2000
+ /**
2001
+ * Validation Error
2002
+ */
2003
+ 422: HTTPValidationError;
2004
+ };
2005
+ };
2006
+ };
2007
+ '/login/test-token': {
2008
+ post: {
2009
+ res: {
2010
+ /**
2011
+ * Successful Response
2012
+ */
2013
+ 200: User;
2014
+ };
2015
+ };
2016
+ };
2017
+ '/password-recovery/{email}': {
2018
+ post: {
2019
+ req: RecoverPasswordPasswordRecoveryEmailPostData;
2020
+ res: {
2021
+ /**
2022
+ * Successful Response
2023
+ */
2024
+ 200: Msg;
2025
+ /**
2026
+ * Validation Error
2027
+ */
2028
+ 422: HTTPValidationError;
2029
+ };
2030
+ };
2031
+ };
2032
+ '/reset-password/': {
2033
+ post: {
2034
+ req: ResetPasswordResetPasswordPostData;
2035
+ res: {
2036
+ /**
2037
+ * Successful Response
2038
+ */
2039
+ 200: Msg;
2040
+ /**
2041
+ * Validation Error
2042
+ */
2043
+ 422: HTTPValidationError;
2044
+ };
2045
+ };
2046
+ };
2047
+ '/health/': {
2048
+ get: {
2049
+ res: {
2050
+ /**
2051
+ * Successful Response
2052
+ */
2053
+ 200: string;
2054
+ };
2055
+ };
2056
+ };
2057
+ '/users/': {
2058
+ get: {
2059
+ req: GetMultiUsersGetData;
2060
+ res: {
2061
+ /**
2062
+ * Successful Response
2063
+ */
2064
+ 200: unknown;
2065
+ /**
2066
+ * Validation Error
2067
+ */
2068
+ 422: HTTPValidationError;
2069
+ };
2070
+ };
2071
+ post: {
2072
+ req: CreateUsersPostData;
2073
+ res: {
2074
+ /**
2075
+ * Successful Response
2076
+ */
2077
+ 200: User;
2078
+ /**
2079
+ * Validation Error
2080
+ */
2081
+ 422: HTTPValidationError;
2082
+ };
2083
+ };
2084
+ };
2085
+ '/users/me': {
2086
+ get: {
2087
+ res: {
2088
+ /**
2089
+ * Successful Response
2090
+ */
2091
+ 200: User;
2092
+ };
2093
+ };
2094
+ put: {
2095
+ req: UpdateUserMeUsersMePutData;
2096
+ res: {
2097
+ /**
2098
+ * Successful Response
2099
+ */
2100
+ 200: User;
2101
+ /**
2102
+ * Validation Error
2103
+ */
2104
+ 422: HTTPValidationError;
2105
+ };
2106
+ };
2107
+ };
2108
+ '/users/{user_id}': {
2109
+ get: {
2110
+ req: GetByIdUsersUserIdGetData;
2111
+ res: {
2112
+ /**
2113
+ * Successful Response
2114
+ */
2115
+ 200: User;
2116
+ /**
2117
+ * Validation Error
2118
+ */
2119
+ 422: HTTPValidationError;
2120
+ };
2121
+ };
2122
+ put: {
2123
+ req: UpdateUsersUserIdPutData;
2124
+ res: {
2125
+ /**
2126
+ * Successful Response
2127
+ */
2128
+ 200: User;
2129
+ /**
2130
+ * Validation Error
2131
+ */
2132
+ 422: HTTPValidationError;
2133
+ };
2134
+ };
2135
+ };
2136
+ '/forms': {
2137
+ get: {
2138
+ res: {
2139
+ /**
2140
+ * Successful Response
2141
+ */
2142
+ 200: Array<string>;
2143
+ };
2144
+ };
2145
+ };
2146
+ '/forms/{form_key}': {
2147
+ post: {
2148
+ req: NewFormFormsFormKeyPostData;
2149
+ res: {
2150
+ /**
2151
+ * Successful Response
2152
+ */
2153
+ 201: {
2154
+ [key: string]: unknown;
2155
+ };
2156
+ /**
2157
+ * Validation Error
2158
+ */
2159
+ 422: HTTPValidationError;
2160
+ };
2161
+ };
2162
+ };
2163
+ '/images/signed-url/{image_name}': {
2164
+ get: {
2165
+ req: GetSignedUrlImagesSignedUrlImageNameGetData;
2166
+ res: {
2167
+ /**
2168
+ * Successful Response
2169
+ */
2170
+ 200: unknown;
2171
+ /**
2172
+ * Validation Error
2173
+ */
2174
+ 422: HTTPValidationError;
2175
+ };
2176
+ };
2177
+ };
2178
+ '/images/move': {
2179
+ post: {
2180
+ res: {
2181
+ /**
2182
+ * Successful Response
2183
+ */
2184
+ 200: unknown;
2185
+ };
2186
+ };
2187
+ };
2188
+ '/images/delete-temp': {
2189
+ post: {
2190
+ res: {
2191
+ /**
2192
+ * Successful Response
2193
+ */
2194
+ 200: unknown;
2195
+ };
2196
+ };
2197
+ };
2198
+ '/licenses': {
2199
+ get: {
2200
+ req: GetMultiLicensesGetData;
2201
+ res: {
2202
+ /**
2203
+ * Successful Response
2204
+ */
2205
+ 200: Array<LicenseSchema>;
2206
+ /**
2207
+ * Validation Error
2208
+ */
2209
+ 422: HTTPValidationError;
2210
+ };
2211
+ };
2212
+ post: {
2213
+ req: CreateLicensesPostData;
2214
+ res: {
2215
+ /**
2216
+ * Successful Response
2217
+ */
2218
+ 201: LicenseSchema;
2219
+ /**
2220
+ * Validation Error
2221
+ */
2222
+ 422: HTTPValidationError;
2223
+ };
2224
+ };
2225
+ };
2226
+ '/licenses/{id}': {
2227
+ get: {
2228
+ req: GetByIdLicensesIdGetData;
2229
+ res: {
2230
+ /**
2231
+ * Successful Response
2232
+ */
2233
+ 200: LicenseSchema;
2234
+ /**
2235
+ * Validation Error
2236
+ */
2237
+ 422: HTTPValidationError;
2238
+ };
2239
+ };
2240
+ put: {
2241
+ req: EditLicensesIdPutData;
2242
+ res: {
2243
+ /**
2244
+ * Successful Response
2245
+ */
2246
+ 200: LicenseSchema;
2247
+ /**
2248
+ * Validation Error
2249
+ */
2250
+ 422: HTTPValidationError;
2251
+ };
2252
+ };
2253
+ delete: {
2254
+ req: DeleteLicensesIdDeleteData;
2255
+ res: {
2256
+ /**
2257
+ * Successful Response
2258
+ */
2259
+ 204: void;
2260
+ /**
2261
+ * Validation Error
2262
+ */
2263
+ 422: HTTPValidationError;
2264
+ };
2265
+ };
2266
+ };
2267
+ '/licenses/improviser/{improviser_user_id}': {
2268
+ get: {
2269
+ req: GetByImproviserUserIdLicensesImproviserImproviserUserIdGetData;
2270
+ res: {
2271
+ /**
2272
+ * Successful Response
2273
+ */
2274
+ 200: LicenseSchema;
2275
+ /**
2276
+ * Validation Error
2277
+ */
2278
+ 422: HTTPValidationError;
2279
+ };
2280
+ };
2281
+ };
2282
+ '/downloads/{file_name}': {
2283
+ get: {
2284
+ req: GetSignedDownloadLinkDownloadsFileNameGetData;
2285
+ res: {
2286
+ /**
2287
+ * Successful Response
2288
+ */
2289
+ 200: unknown;
2290
+ /**
2291
+ * Validation Error
2292
+ */
2293
+ 422: HTTPValidationError;
2294
+ };
2295
+ };
2296
+ };
2297
+ '/downloads/send': {
2298
+ post: {
2299
+ req: SendDownloadLinkViaEmailDownloadsSendPostData;
2300
+ res: {
2301
+ /**
2302
+ * Successful Response
2303
+ */
2304
+ 200: unknown;
2305
+ /**
2306
+ * Validation Error
2307
+ */
2308
+ 422: HTTPValidationError;
2309
+ };
2310
+ };
2311
+ };
2312
+ '/shops/': {
2313
+ get: {
2314
+ req: GetMultiShopsGetData;
2315
+ res: {
2316
+ /**
2317
+ * Successful Response
2318
+ */
2319
+ 200: Array<ShopSchema>;
2320
+ /**
2321
+ * Validation Error
2322
+ */
2323
+ 422: HTTPValidationError;
2324
+ };
2325
+ };
2326
+ post: {
2327
+ req: CreateShopsPostData;
2328
+ res: {
2329
+ /**
2330
+ * Successful Response
2331
+ */
2332
+ 201: ShopSchema;
2333
+ /**
2334
+ * Validation Error
2335
+ */
2336
+ 422: HTTPValidationError;
2337
+ };
2338
+ };
2339
+ };
2340
+ '/shops/cache-status/{id}': {
2341
+ get: {
2342
+ req: GetCacheStatusShopsCacheStatusIdGetData;
2343
+ res: {
2344
+ /**
2345
+ * Successful Response
2346
+ */
2347
+ 200: ShopCacheStatus;
2348
+ /**
2349
+ * Validation Error
2350
+ */
2351
+ 422: HTTPValidationError;
2352
+ };
2353
+ };
2354
+ };
2355
+ '/shops/last-completed-order/{id}': {
2356
+ get: {
2357
+ req: GetLastCompletedOrderShopsLastCompletedOrderIdGetData;
2358
+ res: {
2359
+ /**
2360
+ * Successful Response
2361
+ */
2362
+ 200: ShopLastCompletedOrder;
2363
+ /**
2364
+ * Validation Error
2365
+ */
2366
+ 422: HTTPValidationError;
2367
+ };
2368
+ };
2369
+ };
2370
+ '/shops/last-pending-order/{id}': {
2371
+ get: {
2372
+ req: GetLastPendingOrderShopsLastPendingOrderIdGetData;
2373
+ res: {
2374
+ /**
2375
+ * Successful Response
2376
+ */
2377
+ 200: ShopLastPendingOrder;
2378
+ /**
2379
+ * Validation Error
2380
+ */
2381
+ 422: HTTPValidationError;
2382
+ };
2383
+ };
2384
+ };
2385
+ '/shops/{id}': {
2386
+ get: {
2387
+ req: GetByIdShopsIdGetData;
2388
+ res: {
2389
+ /**
2390
+ * Successful Response
2391
+ */
2392
+ 200: ShopWithPrices;
2393
+ /**
2394
+ * Validation Error
2395
+ */
2396
+ 422: HTTPValidationError;
2397
+ };
2398
+ };
2399
+ };
2400
+ '/shops/{shop_id}': {
2401
+ put: {
2402
+ req: UpdateShopsShopIdPutData;
2403
+ res: {
2404
+ /**
2405
+ * Successful Response
2406
+ */
2407
+ 201: ShopSchema;
2408
+ /**
2409
+ * Validation Error
2410
+ */
2411
+ 422: HTTPValidationError;
2412
+ };
2413
+ };
2414
+ delete: {
2415
+ req: DeleteShopsShopIdDeleteData;
2416
+ res: {
2417
+ /**
2418
+ * Successful Response
2419
+ */
2420
+ 204: void;
2421
+ /**
2422
+ * Validation Error
2423
+ */
2424
+ 422: HTTPValidationError;
2425
+ };
2426
+ };
2427
+ };
2428
+ '/shops/config/{id}': {
2429
+ get: {
2430
+ req: GetConfigShopsConfigIdGetData;
2431
+ res: {
2432
+ /**
2433
+ * Successful Response
2434
+ */
2435
+ 200: ShopConfig;
2436
+ /**
2437
+ * Validation Error
2438
+ */
2439
+ 422: HTTPValidationError;
2440
+ };
2441
+ };
2442
+ put: {
2443
+ req: UpdateConfigShopsConfigIdPutData;
2444
+ res: {
2445
+ /**
2446
+ * Successful Response
2447
+ */
2448
+ 201: ShopConfigUpdate_Output;
2449
+ /**
2450
+ * Validation Error
2451
+ */
2452
+ 422: HTTPValidationError;
2453
+ };
2454
+ };
2455
+ };
2456
+ '/shops/allowed-ips/{id}': {
2457
+ get: {
2458
+ req: GetAllowedIpsShopsAllowedIpsIdGetData;
2459
+ res: {
2460
+ /**
2461
+ * Successful Response
2462
+ */
2463
+ 200: Array<string>;
2464
+ /**
2465
+ * Validation Error
2466
+ */
2467
+ 422: HTTPValidationError;
2468
+ };
2469
+ };
2470
+ post: {
2471
+ req: AddNewIpShopsAllowedIpsIdPostData;
2472
+ res: {
2473
+ /**
2474
+ * Successful Response
2475
+ */
2476
+ 200: Array<string>;
2477
+ /**
2478
+ * Validation Error
2479
+ */
2480
+ 422: HTTPValidationError;
2481
+ };
2482
+ };
2483
+ };
2484
+ '/shops/allowed-ips/{id}/remove': {
2485
+ post: {
2486
+ req: RemoveIpShopsAllowedIpsIdRemovePostData;
2487
+ res: {
2488
+ /**
2489
+ * Successful Response
2490
+ */
2491
+ 200: Array<string>;
2492
+ /**
2493
+ * Validation Error
2494
+ */
2495
+ 422: HTTPValidationError;
2496
+ };
2497
+ };
2498
+ };
2499
+ '/shops/{shop_id}/prices/': {
2500
+ get: {
2501
+ req: GetProductsShopsShopIdPricesGetData;
2502
+ res: {
2503
+ /**
2504
+ * Successful Response
2505
+ */
2506
+ 200: Array<ProductResponse>;
2507
+ /**
2508
+ * Validation Error
2509
+ */
2510
+ 422: HTTPValidationError;
2511
+ };
2512
+ };
2513
+ post: {
2514
+ req: GetCartProductsShopsShopIdPricesPostData;
2515
+ res: {
2516
+ /**
2517
+ * Successful Response
2518
+ */
2519
+ 200: Array<ProductResponse>;
2520
+ /**
2521
+ * Validation Error
2522
+ */
2523
+ 422: HTTPValidationError;
2524
+ };
2525
+ };
2526
+ };
2527
+ '/orders/': {
2528
+ get: {
2529
+ req: GetMultiOrdersGetData;
2530
+ res: {
2531
+ /**
2532
+ * Successful Response
2533
+ */
2534
+ 200: Array<OrderSchema>;
2535
+ /**
2536
+ * Validation Error
2537
+ */
2538
+ 422: HTTPValidationError;
2539
+ };
2540
+ };
2541
+ post: {
2542
+ req: CreateOrdersPostData;
2543
+ res: {
2544
+ /**
2545
+ * Successful Response
2546
+ */
2547
+ 201: OrderCreated;
2548
+ /**
2549
+ * Validation Error
2550
+ */
2551
+ 422: HTTPValidationError;
2552
+ };
2553
+ };
2554
+ };
2555
+ '/orders/shop/{shop_id}/pending': {
2556
+ get: {
2557
+ req: ShowAllPendingOrdersPerShopOrdersShopShopIdPendingGetData;
2558
+ res: {
2559
+ /**
2560
+ * Successful Response
2561
+ */
2562
+ 200: Array<OrderSchema>;
2563
+ /**
2564
+ * Validation Error
2565
+ */
2566
+ 422: HTTPValidationError;
2567
+ };
2568
+ };
2569
+ };
2570
+ '/orders/shop/{shop_id}/complete': {
2571
+ get: {
2572
+ req: ShowAllCompleteOrdersPerShopOrdersShopShopIdCompleteGetData;
2573
+ res: {
2574
+ /**
2575
+ * Successful Response
2576
+ */
2577
+ 200: Array<OrderSchema>;
2578
+ /**
2579
+ * Validation Error
2580
+ */
2581
+ 422: HTTPValidationError;
2582
+ };
2583
+ };
2584
+ };
2585
+ '/orders/{id}': {
2586
+ get: {
2587
+ req: GetByIdOrdersIdGetData;
2588
+ res: {
2589
+ /**
2590
+ * Successful Response
2591
+ */
2592
+ 200: OrderSchema;
2593
+ /**
2594
+ * Validation Error
2595
+ */
2596
+ 422: HTTPValidationError;
2597
+ };
2598
+ };
2599
+ };
2600
+ '/orders/check/{ids}': {
2601
+ get: {
2602
+ req: CheckOrdersCheckIdsGetData;
2603
+ res: {
2604
+ /**
2605
+ * Successful Response
2606
+ */
2607
+ 200: Array<OrderCreated>;
2608
+ /**
2609
+ * Validation Error
2610
+ */
2611
+ 422: HTTPValidationError;
2612
+ };
2613
+ };
2614
+ };
2615
+ '/orders/{order_id}': {
2616
+ patch: {
2617
+ req: PatchOrdersOrderIdPatchData;
2618
+ res: {
2619
+ /**
2620
+ * Successful Response
2621
+ */
2622
+ 201: OrderUpdated;
2623
+ /**
2624
+ * Validation Error
2625
+ */
2626
+ 422: HTTPValidationError;
2627
+ };
2628
+ };
2629
+ put: {
2630
+ req: UpdateOrdersOrderIdPutData;
2631
+ res: {
2632
+ /**
2633
+ * Successful Response
2634
+ */
2635
+ 201: OrderUpdated;
2636
+ /**
2637
+ * Validation Error
2638
+ */
2639
+ 422: HTTPValidationError;
2640
+ };
2641
+ };
2642
+ delete: {
2643
+ req: DeleteOrdersOrderIdDeleteData;
2644
+ res: {
2645
+ /**
2646
+ * Successful Response
2647
+ */
2648
+ 204: void;
2649
+ /**
2650
+ * Validation Error
2651
+ */
2652
+ 422: HTTPValidationError;
2653
+ };
2654
+ };
2655
+ };
2656
+ '/orders/stock/{order_id}': {
2657
+ get: {
2658
+ req: GetOrderProductsInStockOrdersStockOrderIdGetData;
2659
+ res: {
2660
+ /**
2661
+ * Successful Response
2662
+ */
2663
+ 200: boolean;
2664
+ /**
2665
+ * Validation Error
2666
+ */
2667
+ 422: HTTPValidationError;
2668
+ };
2669
+ };
2670
+ };
2671
+ '/shops/{shop_id}/categories/': {
2672
+ get: {
2673
+ req: GetMultiShopsShopIdCategoriesGetData;
2674
+ res: {
2675
+ /**
2676
+ * Successful Response
2677
+ */
2678
+ 200: Array<CategorySchema>;
2679
+ /**
2680
+ * Validation Error
2681
+ */
2682
+ 422: HTTPValidationError;
2683
+ };
2684
+ };
2685
+ post: {
2686
+ req: CreateShopsShopIdCategoriesPostData;
2687
+ res: {
2688
+ /**
2689
+ * Successful Response
2690
+ */
2691
+ 201: unknown;
2692
+ /**
2693
+ * Validation Error
2694
+ */
2695
+ 422: HTTPValidationError;
2696
+ };
2697
+ };
2698
+ };
2699
+ '/shops/{shop_id}/categories/{category_id}': {
2700
+ get: {
2701
+ req: GetByIdShopsShopIdCategoriesCategoryIdGetData;
2702
+ res: {
2703
+ /**
2704
+ * Successful Response
2705
+ */
2706
+ 200: CategorySchema;
2707
+ /**
2708
+ * Validation Error
2709
+ */
2710
+ 422: HTTPValidationError;
2711
+ };
2712
+ };
2713
+ put: {
2714
+ req: UpdateShopsShopIdCategoriesCategoryIdPutData;
2715
+ res: {
2716
+ /**
2717
+ * Successful Response
2718
+ */
2719
+ 201: unknown;
2720
+ /**
2721
+ * Validation Error
2722
+ */
2723
+ 422: HTTPValidationError;
2724
+ };
2725
+ };
2726
+ delete: {
2727
+ req: DeleteShopsShopIdCategoriesCategoryIdDeleteData;
2728
+ res: {
2729
+ /**
2730
+ * Successful Response
2731
+ */
2732
+ 204: void;
2733
+ /**
2734
+ * Validation Error
2735
+ */
2736
+ 422: HTTPValidationError;
2737
+ };
2738
+ };
2739
+ };
2740
+ '/shops/{shop_id}/categories/name/{name}': {
2741
+ get: {
2742
+ req: GetByNameShopsShopIdCategoriesNameNameGetData;
2743
+ res: {
2744
+ /**
2745
+ * Successful Response
2746
+ */
2747
+ 200: CategorySchema;
2748
+ /**
2749
+ * Validation Error
2750
+ */
2751
+ 422: HTTPValidationError;
2752
+ };
2753
+ };
2754
+ };
2755
+ '/shops/{shop_id}/categories/{category_id}/swap': {
2756
+ put: {
2757
+ req: SwapShopsShopIdCategoriesCategoryIdSwapPutData;
2758
+ res: {
2759
+ /**
2760
+ * Successful Response
2761
+ */
2762
+ 201: unknown;
2763
+ /**
2764
+ * Validation Error
2765
+ */
2766
+ 422: HTTPValidationError;
2767
+ };
2768
+ };
2769
+ };
2770
+ '/shops/{shop_id}/categories-images/': {
2771
+ get: {
2772
+ req: GetMultiShopsShopIdCategoriesImagesGetData;
2773
+ res: {
2774
+ /**
2775
+ * Successful Response
2776
+ */
2777
+ 200: unknown;
2778
+ /**
2779
+ * Validation Error
2780
+ */
2781
+ 422: HTTPValidationError;
2782
+ };
2783
+ };
2784
+ };
2785
+ '/shops/{shop_id}/categories-images/{id}': {
2786
+ get: {
2787
+ req: GetByIdShopsShopIdCategoriesImagesIdGetData;
2788
+ res: {
2789
+ /**
2790
+ * Successful Response
2791
+ */
2792
+ 200: unknown;
2793
+ /**
2794
+ * Validation Error
2795
+ */
2796
+ 422: HTTPValidationError;
2797
+ };
2798
+ };
2799
+ put: {
2800
+ req: PutShopsShopIdCategoriesImagesIdPutData;
2801
+ res: {
2802
+ /**
2803
+ * Successful Response
2804
+ */
2805
+ 201: unknown;
2806
+ /**
2807
+ * Validation Error
2808
+ */
2809
+ 422: HTTPValidationError;
2810
+ };
2811
+ };
2812
+ };
2813
+ '/shops/{shop_id}/categories-images/delete/{id}': {
2814
+ put: {
2815
+ req: DeleteImageShopsShopIdCategoriesImagesDeleteIdPutData;
2816
+ res: {
2817
+ /**
2818
+ * Successful Response
2819
+ */
2820
+ 201: unknown;
2821
+ /**
2822
+ * Validation Error
2823
+ */
2824
+ 422: HTTPValidationError;
2825
+ };
2826
+ };
2827
+ };
2828
+ '/shops/{shop_id}/images/signed-url/{image_name}': {
2829
+ get: {
2830
+ req: GetSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGetData;
2831
+ res: {
2832
+ /**
2833
+ * Successful Response
2834
+ */
2835
+ 200: unknown;
2836
+ /**
2837
+ * Validation Error
2838
+ */
2839
+ 422: HTTPValidationError;
2840
+ };
2841
+ };
2842
+ };
2843
+ '/shops/{shop_id}/products/': {
2844
+ get: {
2845
+ req: GetMultiShopsShopIdProductsGetData;
2846
+ res: {
2847
+ /**
2848
+ * Successful Response
2849
+ */
2850
+ 200: Array<ProductWithDefaultPrice>;
2851
+ /**
2852
+ * Validation Error
2853
+ */
2854
+ 422: HTTPValidationError;
2855
+ };
2856
+ };
2857
+ post: {
2858
+ req: CreateShopsShopIdProductsPostData;
2859
+ res: {
2860
+ /**
2861
+ * Successful Response
2862
+ */
2863
+ 201: unknown;
2864
+ /**
2865
+ * Validation Error
2866
+ */
2867
+ 422: HTTPValidationError;
2868
+ };
2869
+ };
2870
+ };
2871
+ '/shops/{shop_id}/products/with_attributes': {
2872
+ get: {
2873
+ req: GetMultiWithAttributesShopsShopIdProductsWithAttributesGetData;
2874
+ res: {
2875
+ /**
2876
+ * Successful Response
2877
+ */
2878
+ 200: Array<ProductWithAttributes>;
2879
+ /**
2880
+ * Validation Error
2881
+ */
2882
+ 422: HTTPValidationError;
2883
+ };
2884
+ };
2885
+ };
2886
+ '/shops/{shop_id}/products/{product_id}/with_attributes': {
2887
+ get: {
2888
+ req: GetByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGetData;
2889
+ res: {
2890
+ /**
2891
+ * Successful Response
2892
+ */
2893
+ 200: ProductWithAttributes;
2894
+ /**
2895
+ * Validation Error
2896
+ */
2897
+ 422: HTTPValidationError;
2898
+ };
2899
+ };
2900
+ };
2901
+ '/shops/{shop_id}/products/{product_id}': {
2902
+ get: {
2903
+ req: GetByIdShopsShopIdProductsProductIdGetData;
2904
+ res: {
2905
+ /**
2906
+ * Successful Response
2907
+ */
2908
+ 200: ProductWithDetailsAndPrices;
2909
+ /**
2910
+ * Validation Error
2911
+ */
2912
+ 422: HTTPValidationError;
2913
+ };
2914
+ };
2915
+ put: {
2916
+ req: UpdateShopsShopIdProductsProductIdPutData;
2917
+ res: {
2918
+ /**
2919
+ * Successful Response
2920
+ */
2921
+ 201: unknown;
2922
+ /**
2923
+ * Validation Error
2924
+ */
2925
+ 422: HTTPValidationError;
2926
+ };
2927
+ };
2928
+ delete: {
2929
+ req: DeleteShopsShopIdProductsProductIdDeleteData;
2930
+ res: {
2931
+ /**
2932
+ * Successful Response
2933
+ */
2934
+ 204: void;
2935
+ /**
2936
+ * Validation Error
2937
+ */
2938
+ 422: HTTPValidationError;
2939
+ };
2940
+ };
2941
+ };
2942
+ '/shops/{shop_id}/products/{product_id}/swap': {
2943
+ put: {
2944
+ req: SwapShopsShopIdProductsProductIdSwapPutData;
2945
+ res: {
2946
+ /**
2947
+ * Successful Response
2948
+ */
2949
+ 201: unknown;
2950
+ /**
2951
+ * Validation Error
2952
+ */
2953
+ 422: HTTPValidationError;
2954
+ };
2955
+ };
2956
+ };
2957
+ '/shops/{shop_id}/products-to-tags/': {
2958
+ get: {
2959
+ req: GetMultiShopsShopIdProductsToTagsGetData;
2960
+ res: {
2961
+ /**
2962
+ * Successful Response
2963
+ */
2964
+ 200: Array<ProductToTagSchema>;
2965
+ /**
2966
+ * Validation Error
2967
+ */
2968
+ 422: HTTPValidationError;
2969
+ };
2970
+ };
2971
+ post: {
2972
+ req: CreateShopsShopIdProductsToTagsPostData;
2973
+ res: {
2974
+ /**
2975
+ * Successful Response
2976
+ */
2977
+ 204: void;
2978
+ /**
2979
+ * Validation Error
2980
+ */
2981
+ 422: HTTPValidationError;
2982
+ };
2983
+ };
2984
+ };
2985
+ '/shops/{shop_id}/products-to-tags/get_relation_id': {
2986
+ get: {
2987
+ req: GetRelationIdShopsShopIdProductsToTagsGetRelationIdGetData;
2988
+ res: {
2989
+ /**
2990
+ * Successful Response
2991
+ */
2992
+ 200: unknown;
2993
+ /**
2994
+ * Validation Error
2995
+ */
2996
+ 422: HTTPValidationError;
2997
+ };
2998
+ };
2999
+ };
3000
+ '/shops/{shop_id}/products-to-tags/{id}': {
3001
+ get: {
3002
+ req: GetByIdShopsShopIdProductsToTagsIdGetData;
3003
+ res: {
3004
+ /**
3005
+ * Successful Response
3006
+ */
3007
+ 200: ProductToTagSchema;
3008
+ /**
3009
+ * Validation Error
3010
+ */
3011
+ 422: HTTPValidationError;
3012
+ };
3013
+ };
3014
+ };
3015
+ '/shops/{shop_id}/products-to-tags/{product_to_tag_id}': {
3016
+ put: {
3017
+ req: UpdateShopsShopIdProductsToTagsProductToTagIdPutData;
3018
+ res: {
3019
+ /**
3020
+ * Successful Response
3021
+ */
3022
+ 204: void;
3023
+ /**
3024
+ * Validation Error
3025
+ */
3026
+ 422: HTTPValidationError;
3027
+ };
3028
+ };
3029
+ delete: {
3030
+ req: DeleteShopsShopIdProductsToTagsProductToTagIdDeleteData;
3031
+ res: {
3032
+ /**
3033
+ * Successful Response
3034
+ */
3035
+ 204: void;
3036
+ /**
3037
+ * Validation Error
3038
+ */
3039
+ 422: HTTPValidationError;
3040
+ };
3041
+ };
3042
+ };
3043
+ '/shops/{shop_id}/tags/': {
3044
+ get: {
3045
+ req: GetMultiShopsShopIdTagsGetData;
3046
+ res: {
3047
+ /**
3048
+ * Successful Response
3049
+ */
3050
+ 200: Array<TagSchema>;
3051
+ /**
3052
+ * Validation Error
3053
+ */
3054
+ 422: HTTPValidationError;
3055
+ };
3056
+ };
3057
+ post: {
3058
+ req: CreateShopsShopIdTagsPostData;
3059
+ res: {
3060
+ /**
3061
+ * Successful Response
3062
+ */
3063
+ 201: unknown;
3064
+ /**
3065
+ * Validation Error
3066
+ */
3067
+ 422: HTTPValidationError;
3068
+ };
3069
+ };
3070
+ };
3071
+ '/shops/{shop_id}/tags/{tag_id}': {
3072
+ get: {
3073
+ req: GetByIdShopsShopIdTagsTagIdGetData;
3074
+ res: {
3075
+ /**
3076
+ * Successful Response
3077
+ */
3078
+ 200: TagSchema;
3079
+ /**
3080
+ * Validation Error
3081
+ */
3082
+ 422: HTTPValidationError;
3083
+ };
3084
+ };
3085
+ put: {
3086
+ req: UpdateShopsShopIdTagsTagIdPutData;
3087
+ res: {
3088
+ /**
3089
+ * Successful Response
3090
+ */
3091
+ 201: unknown;
3092
+ /**
3093
+ * Validation Error
3094
+ */
3095
+ 422: HTTPValidationError;
3096
+ };
3097
+ };
3098
+ delete: {
3099
+ req: DeleteShopsShopIdTagsTagIdDeleteData;
3100
+ res: {
3101
+ /**
3102
+ * Successful Response
3103
+ */
3104
+ 204: void;
3105
+ /**
3106
+ * Validation Error
3107
+ */
3108
+ 422: HTTPValidationError;
3109
+ };
3110
+ };
3111
+ };
3112
+ '/shops/{shop_id}/tags/name/{name}': {
3113
+ get: {
3114
+ req: GetByNameShopsShopIdTagsNameNameGetData;
3115
+ res: {
3116
+ /**
3117
+ * Successful Response
3118
+ */
3119
+ 200: TagSchema;
3120
+ /**
3121
+ * Validation Error
3122
+ */
3123
+ 422: HTTPValidationError;
3124
+ };
3125
+ };
3126
+ };
3127
+ '/shops/{shop_id}/attributes/{attribute_id}/with-options': {
3128
+ get: {
3129
+ req: GetByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGetData;
3130
+ res: {
3131
+ /**
3132
+ * Successful Response
3133
+ */
3134
+ 200: AttributeWithOptionsSchema;
3135
+ /**
3136
+ * Validation Error
3137
+ */
3138
+ 422: HTTPValidationError;
3139
+ };
3140
+ };
3141
+ };
3142
+ '/shops/{shop_id}/attributes/with-options': {
3143
+ get: {
3144
+ req: GetWithOptionsShopsShopIdAttributesWithOptionsGetData;
3145
+ res: {
3146
+ /**
3147
+ * Successful Response
3148
+ */
3149
+ 200: Array<AttributeWithOptionsSchema>;
3150
+ /**
3151
+ * Validation Error
3152
+ */
3153
+ 422: HTTPValidationError;
3154
+ };
3155
+ };
3156
+ };
3157
+ '/shops/{shop_id}/attributes/': {
3158
+ get: {
3159
+ req: GetMultiShopsShopIdAttributesGetData;
3160
+ res: {
3161
+ /**
3162
+ * Successful Response
3163
+ */
3164
+ 200: Array<AttributeSchema>;
3165
+ /**
3166
+ * Validation Error
3167
+ */
3168
+ 422: HTTPValidationError;
3169
+ };
3170
+ };
3171
+ post: {
3172
+ req: CreateShopsShopIdAttributesPostData;
3173
+ res: {
3174
+ /**
3175
+ * Successful Response
3176
+ */
3177
+ 201: AttributeSchema;
3178
+ /**
3179
+ * Validation Error
3180
+ */
3181
+ 422: HTTPValidationError;
3182
+ };
3183
+ };
3184
+ };
3185
+ '/shops/{shop_id}/attributes/id/{attribute_id}/with-options': {
3186
+ get: {
3187
+ req: GetByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGetData;
3188
+ res: {
3189
+ /**
3190
+ * Successful Response
3191
+ */
3192
+ 200: AttributeWithOptionsSchema;
3193
+ /**
3194
+ * Validation Error
3195
+ */
3196
+ 422: HTTPValidationError;
3197
+ };
3198
+ };
3199
+ };
3200
+ '/shops/{shop_id}/attributes/id/{attribute_id}': {
3201
+ get: {
3202
+ req: GetByIdShopsShopIdAttributesIdAttributeIdGetData;
3203
+ res: {
3204
+ /**
3205
+ * Successful Response
3206
+ */
3207
+ 200: AttributeSchema;
3208
+ /**
3209
+ * Validation Error
3210
+ */
3211
+ 422: HTTPValidationError;
3212
+ };
3213
+ };
3214
+ };
3215
+ '/shops/{shop_id}/attributes/name/{name}': {
3216
+ get: {
3217
+ req: GetByNameShopsShopIdAttributesNameNameGetData;
3218
+ res: {
3219
+ /**
3220
+ * Successful Response
3221
+ */
3222
+ 200: AttributeSchema;
3223
+ /**
3224
+ * Validation Error
3225
+ */
3226
+ 422: HTTPValidationError;
3227
+ };
3228
+ };
3229
+ };
3230
+ '/shops/{shop_id}/attributes/{attribute_id}': {
3231
+ put: {
3232
+ req: UpdateShopsShopIdAttributesAttributeIdPutData;
3233
+ res: {
3234
+ /**
3235
+ * Successful Response
3236
+ */
3237
+ 200: AttributeSchema;
3238
+ /**
3239
+ * Validation Error
3240
+ */
3241
+ 422: HTTPValidationError;
3242
+ };
3243
+ };
3244
+ delete: {
3245
+ req: DeleteShopsShopIdAttributesAttributeIdDeleteData;
3246
+ res: {
3247
+ /**
3248
+ * Successful Response
3249
+ */
3250
+ 204: void;
3251
+ /**
3252
+ * Validation Error
3253
+ */
3254
+ 422: HTTPValidationError;
3255
+ };
3256
+ };
3257
+ };
3258
+ '/shops/{shop_id}/attribute-options/': {
3259
+ get: {
3260
+ req: ListOptionsForShopShopsShopIdAttributeOptionsGetData;
3261
+ res: {
3262
+ /**
3263
+ * Successful Response
3264
+ */
3265
+ 200: Array<AttributeOptionSchema>;
3266
+ /**
3267
+ * Validation Error
3268
+ */
3269
+ 422: HTTPValidationError;
3270
+ };
3271
+ };
3272
+ post: {
3273
+ req: CreateOptionV2ShopsShopIdAttributeOptionsPostData;
3274
+ res: {
3275
+ /**
3276
+ * Successful Response
3277
+ */
3278
+ 201: AttributeOptionSchema;
3279
+ /**
3280
+ * Validation Error
3281
+ */
3282
+ 422: HTTPValidationError;
3283
+ };
3284
+ };
3285
+ };
3286
+ '/shops/{shop_id}/attribute-options/{option_id}': {
3287
+ get: {
3288
+ req: GetOptionV2ShopsShopIdAttributeOptionsOptionIdGetData;
3289
+ res: {
3290
+ /**
3291
+ * Successful Response
3292
+ */
3293
+ 200: AttributeOptionSchema;
3294
+ /**
3295
+ * Validation Error
3296
+ */
3297
+ 422: HTTPValidationError;
3298
+ };
3299
+ };
3300
+ put: {
3301
+ req: UpdateOptionV2ShopsShopIdAttributeOptionsOptionIdPutData;
3302
+ res: {
3303
+ /**
3304
+ * Successful Response
3305
+ */
3306
+ 200: AttributeOptionSchema;
3307
+ /**
3308
+ * Validation Error
3309
+ */
3310
+ 422: HTTPValidationError;
3311
+ };
3312
+ };
3313
+ delete: {
3314
+ req: DeleteOptionV2ShopsShopIdAttributeOptionsOptionIdDeleteData;
3315
+ res: {
3316
+ /**
3317
+ * Successful Response
3318
+ */
3319
+ 204: void;
3320
+ /**
3321
+ * Validation Error
3322
+ */
3323
+ 422: HTTPValidationError;
3324
+ };
3325
+ };
3326
+ };
3327
+ '/shops/{shop_id}/attributes/{attribute_id}/options/': {
3328
+ get: {
3329
+ req: ListOptionsShopsShopIdAttributesAttributeIdOptionsGetData;
3330
+ res: {
3331
+ /**
3332
+ * Successful Response
3333
+ */
3334
+ 200: Array<AttributeOptionSchema>;
3335
+ /**
3336
+ * Validation Error
3337
+ */
3338
+ 422: HTTPValidationError;
3339
+ };
3340
+ };
3341
+ post: {
3342
+ req: CreateOptionShopsShopIdAttributesAttributeIdOptionsPostData;
3343
+ res: {
3344
+ /**
3345
+ * Successful Response
3346
+ */
3347
+ 201: AttributeOptionSchema;
3348
+ /**
3349
+ * Validation Error
3350
+ */
3351
+ 422: HTTPValidationError;
3352
+ };
3353
+ };
3354
+ };
3355
+ '/shops/{shop_id}/attributes/{attribute_id}/options/{option_id}': {
3356
+ get: {
3357
+ req: GetOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGetData;
3358
+ res: {
3359
+ /**
3360
+ * Successful Response
3361
+ */
3362
+ 200: AttributeOptionSchema;
3363
+ /**
3364
+ * Validation Error
3365
+ */
3366
+ 422: HTTPValidationError;
3367
+ };
3368
+ };
3369
+ delete: {
3370
+ req: DeleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDeleteData;
3371
+ res: {
3372
+ /**
3373
+ * Successful Response
3374
+ */
3375
+ 204: void;
3376
+ /**
3377
+ * Validation Error
3378
+ */
3379
+ 422: HTTPValidationError;
3380
+ };
3381
+ };
3382
+ };
3383
+ '/shops/{shop_id}/product-attribute-values/': {
3384
+ get: {
3385
+ req: ProductAttributeValuesListData;
3386
+ res: {
3387
+ /**
3388
+ * Successful Response
3389
+ */
3390
+ 200: Array<ProductAttributeValueSchema>;
3391
+ /**
3392
+ * Validation Error
3393
+ */
3394
+ 422: HTTPValidationError;
3395
+ };
3396
+ };
3397
+ post: {
3398
+ req: ProductAttributeValuesCreateDeprecatedData;
3399
+ res: {
3400
+ /**
3401
+ * Successful Response
3402
+ */
3403
+ 201: unknown;
3404
+ /**
3405
+ * Validation Error
3406
+ */
3407
+ 422: HTTPValidationError;
3408
+ };
3409
+ };
3410
+ };
3411
+ '/shops/{shop_id}/product-attribute-values/{id}': {
3412
+ get: {
3413
+ req: ProductAttributeValuesGetData;
3414
+ res: {
3415
+ /**
3416
+ * Successful Response
3417
+ */
3418
+ 200: ProductAttributeValueSchema;
3419
+ /**
3420
+ * Validation Error
3421
+ */
3422
+ 422: HTTPValidationError;
3423
+ };
3424
+ };
3425
+ delete: {
3426
+ req: ProductAttributeValuesDeleteData;
3427
+ res: {
3428
+ /**
3429
+ * Successful Response
3430
+ */
3431
+ 204: void;
3432
+ /**
3433
+ * Validation Error
3434
+ */
3435
+ 422: HTTPValidationError;
3436
+ };
3437
+ };
3438
+ };
3439
+ '/shops/{shop_id}/product-attribute-values/{product_id}': {
3440
+ post: {
3441
+ req: ProductAttributeValuesCreateForProductData;
3442
+ res: {
3443
+ /**
3444
+ * Successful Response
3445
+ */
3446
+ 201: unknown;
3447
+ /**
3448
+ * Validation Error
3449
+ */
3450
+ 422: HTTPValidationError;
3451
+ };
3452
+ };
3453
+ put: {
3454
+ req: ProductAttributeValuesReplaceForProductData;
3455
+ res: {
3456
+ /**
3457
+ * Successful Response
3458
+ */
3459
+ 204: void;
3460
+ /**
3461
+ * Validation Error
3462
+ */
3463
+ 422: HTTPValidationError;
3464
+ };
3465
+ };
3466
+ };
3467
+ '/shops/{shop_id}/accounts/': {
3468
+ get: {
3469
+ req: GetMultiShopsShopIdAccountsGetData;
3470
+ res: {
3471
+ /**
3472
+ * Successful Response
3473
+ */
3474
+ 200: Array<AccountSchema>;
3475
+ /**
3476
+ * Validation Error
3477
+ */
3478
+ 422: HTTPValidationError;
3479
+ };
3480
+ };
3481
+ post: {
3482
+ req: CreateShopsShopIdAccountsPostData;
3483
+ res: {
3484
+ /**
3485
+ * Successful Response
3486
+ */
3487
+ 201: unknown;
3488
+ /**
3489
+ * Validation Error
3490
+ */
3491
+ 422: HTTPValidationError;
3492
+ };
3493
+ };
3494
+ };
3495
+ '/shops/{shop_id}/accounts/{id}': {
3496
+ get: {
3497
+ req: GetByIdShopsShopIdAccountsIdGetData;
3498
+ res: {
3499
+ /**
3500
+ * Successful Response
3501
+ */
3502
+ 200: AccountSchema;
3503
+ /**
3504
+ * Validation Error
3505
+ */
3506
+ 422: HTTPValidationError;
3507
+ };
3508
+ };
3509
+ };
3510
+ '/shops/{shop_id}/accounts/{account_id}': {
3511
+ put: {
3512
+ req: UpdateShopsShopIdAccountsAccountIdPutData;
3513
+ res: {
3514
+ /**
3515
+ * Successful Response
3516
+ */
3517
+ 201: unknown;
3518
+ /**
3519
+ * Validation Error
3520
+ */
3521
+ 422: HTTPValidationError;
3522
+ };
3523
+ };
3524
+ delete: {
3525
+ req: DeleteShopsShopIdAccountsAccountIdDeleteData;
3526
+ res: {
3527
+ /**
3528
+ * Successful Response
3529
+ */
3530
+ 204: void;
3531
+ /**
3532
+ * Validation Error
3533
+ */
3534
+ 422: HTTPValidationError;
3535
+ };
3536
+ };
3537
+ };
3538
+ '/shops/{shop_id}/stripe/': {
3539
+ post: {
3540
+ req: CreatePaymentIntentShopsShopIdStripePostData;
3541
+ res: {
3542
+ /**
3543
+ * Successful Response
3544
+ */
3545
+ 201: unknown;
3546
+ /**
3547
+ * Validation Error
3548
+ */
3549
+ 422: HTTPValidationError;
3550
+ };
3551
+ };
3552
+ };
3553
+ '/shops/{shop_id}/stripe/subscription': {
3554
+ post: {
3555
+ req: CreateSubscriptionIntentShopsShopIdStripeSubscriptionPostData;
3556
+ res: {
3557
+ /**
3558
+ * Successful Response
3559
+ */
3560
+ 201: unknown;
3561
+ /**
3562
+ * Validation Error
3563
+ */
3564
+ 422: HTTPValidationError;
3565
+ };
3566
+ };
3567
+ };
3568
+ '/shops/{shop_id}/stripe/subscription/{subscription_id}': {
3569
+ delete: {
3570
+ req: CancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDeleteData;
3571
+ res: {
3572
+ /**
3573
+ * Successful Response
3574
+ */
3575
+ 204: void;
3576
+ /**
3577
+ * Validation Error
3578
+ */
3579
+ 422: HTTPValidationError;
3580
+ };
3581
+ };
3582
+ };
3583
+ '/early-access/': {
3584
+ post: {
3585
+ req: CreateEarlyAccessPostData;
3586
+ res: {
3587
+ /**
3588
+ * Successful Response
3589
+ */
3590
+ 201: unknown;
3591
+ /**
3592
+ * Validation Error
3593
+ */
3594
+ 422: HTTPValidationError;
3595
+ };
3596
+ };
3597
+ };
3598
+ '/info-request/form': {
3599
+ post: {
3600
+ req: FormInfoRequestFormPostData;
3601
+ res: {
3602
+ /**
3603
+ * Successful Response
3604
+ */
3605
+ 200: unknown;
3606
+ /**
3607
+ * Validation Error
3608
+ */
3609
+ 422: HTTPValidationError;
3610
+ };
3611
+ };
3612
+ };
3613
+ '/sentry/': {
3614
+ get: {
3615
+ req: TriggerErrorSentryGetData;
3616
+ res: {
3617
+ /**
3618
+ * Successful Response
3619
+ */
3620
+ 200: unknown;
3621
+ /**
3622
+ * Validation Error
3623
+ */
3624
+ 422: HTTPValidationError;
3625
+ };
3626
+ };
3627
+ };
3628
+ '/test-forms/': {
3629
+ post: {
3630
+ req: FormTestFormsPostData;
3631
+ res: {
3632
+ /**
3633
+ * Successful Response
3634
+ */
3635
+ 200: unknown;
3636
+ /**
3637
+ * Validation Error
3638
+ */
3639
+ 422: HTTPValidationError;
3640
+ };
3641
+ };
3642
+ };
3643
+ '/faq/': {
3644
+ get: {
3645
+ req: GetMultiFaqGetData;
3646
+ res: {
3647
+ /**
3648
+ * Successful Response
3649
+ */
3650
+ 200: Array<FaqSchema>;
3651
+ /**
3652
+ * Validation Error
3653
+ */
3654
+ 422: HTTPValidationError;
3655
+ };
3656
+ };
3657
+ post: {
3658
+ req: CreateFaqPostData;
3659
+ res: {
3660
+ /**
3661
+ * Successful Response
3662
+ */
3663
+ 201: FaqCreated;
3664
+ /**
3665
+ * Validation Error
3666
+ */
3667
+ 422: HTTPValidationError;
3668
+ };
3669
+ };
3670
+ };
3671
+ '/faq/{id}': {
3672
+ get: {
3673
+ req: GetByIdFaqIdGetData;
3674
+ res: {
3675
+ /**
3676
+ * Successful Response
3677
+ */
3678
+ 200: FaqSchema;
3679
+ /**
3680
+ * Validation Error
3681
+ */
3682
+ 422: HTTPValidationError;
3683
+ };
3684
+ };
3685
+ };
3686
+ '/faq/{faq_id}': {
3687
+ put: {
3688
+ req: UpdateFaqFaqIdPutData;
3689
+ res: {
3690
+ /**
3691
+ * Successful Response
3692
+ */
3693
+ 201: FaqUpdated;
3694
+ /**
3695
+ * Validation Error
3696
+ */
3697
+ 422: HTTPValidationError;
3698
+ };
3699
+ };
3700
+ delete: {
3701
+ req: DeleteFaqFaqIdDeleteData;
3702
+ res: {
3703
+ /**
3704
+ * Successful Response
3705
+ */
3706
+ 204: void;
3707
+ /**
3708
+ * Validation Error
3709
+ */
3710
+ 422: HTTPValidationError;
3711
+ };
3712
+ };
3713
+ };
3714
+ };