@omerikanec/api-client-demo 0.0.1

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,1923 @@
1
+ /**
2
+ * Generated by orval v8.5.3 🍺
3
+ * Do not edit manually.
4
+ * НКП Бибирский Π₯аски API
5
+ * API для ΠΠ°Ρ†ΠΈΠΎΠ½Π°Π»ΡŒΠ½ΠΎΠ³ΠΎ ΠΊΠ»ΡƒΠ±Π° ΠΏΠΎΡ€ΠΎΠ΄Ρ‹ Бибирский хаски
6
+ * OpenAPI spec version: 1.0.0
7
+ */
8
+ export interface Achievement {
9
+ readonly id: number;
10
+ /** @maxLength 200 */
11
+ title?: string;
12
+ /**
13
+ * @minimum -9223372036854776000
14
+ * @maximum 9223372036854776000
15
+ * @nullable
16
+ */
17
+ place?: number | null;
18
+ /** @nullable */
19
+ certificate?: string | null;
20
+ /** @nullable */
21
+ achieved_at?: string | null;
22
+ user: number;
23
+ /** @nullable */
24
+ dog?: number | null;
25
+ /** @nullable */
26
+ event?: number | null;
27
+ }
28
+
29
+ export interface ActivityFeedResponse {
30
+ /** Бписок послСдних сообщСний ΠΈΠ· Telegram-ΠΊΠ°Π½Π°Π»Π° */
31
+ results: unknown[];
32
+ }
33
+
34
+ /**
35
+ * * `membership` - ЧлСнство
36
+ * `litter_registration` - РСгистрация ΠΏΠΎΠΌΡ‘Ρ‚Π°
37
+ * `kennel_registration` - РСгистрация ΠΏΠΈΡ‚ΠΎΠΌΠ½ΠΈΠΊΠ°
38
+ * `document_request` - Запрос Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚ΠΎΠ²
39
+ * `complaint` - Π–Π°Π»ΠΎΠ±Π°
40
+ * `other` - Π”Ρ€ΡƒΠ³ΠΎΠ΅
41
+ */
42
+ export type ApplicationTypeEnum = typeof ApplicationTypeEnum[keyof typeof ApplicationTypeEnum];
43
+
44
+
45
+ export const ApplicationTypeEnum = {
46
+ membership: 'membership',
47
+ litter_registration: 'litter_registration',
48
+ kennel_registration: 'kennel_registration',
49
+ document_request: 'document_request',
50
+ complaint: 'complaint',
51
+ other: 'other',
52
+ } as const;
53
+
54
+ /**
55
+ * * `new` - Новая
56
+ * `in_progress` - Π’ процСссС
57
+ * `done` - РассмотрСна
58
+ * `rejected` - ΠžΡ‚ΠΊΠ»ΠΎΠ½Π΅Π½Π°
59
+ */
60
+ export type ApplicationStatusEnum = typeof ApplicationStatusEnum[keyof typeof ApplicationStatusEnum];
61
+
62
+
63
+ export const ApplicationStatusEnum = {
64
+ new: 'new',
65
+ in_progress: 'in_progress',
66
+ done: 'done',
67
+ rejected: 'rejected',
68
+ } as const;
69
+
70
+ export interface Application {
71
+ readonly id: number;
72
+ application_type: ApplicationTypeEnum;
73
+ payload?: unknown;
74
+ status?: ApplicationStatusEnum;
75
+ history?: unknown;
76
+ readonly created_at: string;
77
+ readonly updated_at: string;
78
+ user: number;
79
+ }
80
+
81
+ export interface ApplicationRequest {
82
+ application_type: ApplicationTypeEnum;
83
+ payload?: unknown;
84
+ status?: ApplicationStatusEnum;
85
+ history?: unknown;
86
+ user: number;
87
+ }
88
+
89
+ export type BlankEnum = typeof BlankEnum[keyof typeof BlankEnum];
90
+
91
+
92
+ export const BlankEnum = {
93
+ '': '',
94
+ } as const;
95
+
96
+ export interface BoardMember {
97
+ readonly id: number;
98
+ readonly working_group_id: number;
99
+ /** @maxLength 200 */
100
+ name: string;
101
+ /** @maxLength 200 */
102
+ position?: string;
103
+ /** @maxLength 200 */
104
+ bio_key?: string;
105
+ /** @nullable */
106
+ photo?: string | null;
107
+ /** @maxLength 254 */
108
+ email?: string;
109
+ /** @maxLength 50 */
110
+ phone?: string;
111
+ /**
112
+ * @minimum -9223372036854776000
113
+ * @maximum 9223372036854776000
114
+ */
115
+ order?: number;
116
+ /** @nullable */
117
+ working_group?: number | null;
118
+ }
119
+
120
+ /**
121
+ * * `history` - history
122
+ * `character` - character
123
+ * `care` - care
124
+ * `grooming` - grooming
125
+ * `feeding` - feeding
126
+ */
127
+ export type CategoryEnum = typeof CategoryEnum[keyof typeof CategoryEnum];
128
+
129
+
130
+ export const CategoryEnum = {
131
+ history: 'history',
132
+ character: 'character',
133
+ care: 'care',
134
+ grooming: 'grooming',
135
+ feeding: 'feeding',
136
+ } as const;
137
+
138
+ export const BreedArticleCategory = {...CategoryEnum,...BlankEnum,} as const
139
+ export interface BreedArticle {
140
+ readonly id: number;
141
+ /** @maxLength 200 */
142
+ title_key: string;
143
+ /** @maxLength 200 */
144
+ content_key?: string;
145
+ category?: typeof BreedArticleCategory[keyof typeof BreedArticleCategory];
146
+ videos?: unknown;
147
+ }
148
+
149
+ export interface BreedStandard {
150
+ readonly id: number;
151
+ /** @maxLength 200 */
152
+ title_key: string;
153
+ /** @maxLength 200 */
154
+ content_key?: string;
155
+ /** @maxLength 50 */
156
+ fci_number?: string;
157
+ illustrations?: unknown;
158
+ /** @maxLength 50 */
159
+ version?: string;
160
+ /** @nullable */
161
+ approved_date?: string | null;
162
+ }
163
+
164
+ export interface Breeder {
165
+ readonly id: number;
166
+ /**
167
+ * @maxLength 255
168
+ * @nullable
169
+ */
170
+ uuid?: string | null;
171
+ /** @maxLength 500 */
172
+ name: string;
173
+ /**
174
+ * @maxLength 500
175
+ * @nullable
176
+ */
177
+ kennel?: string | null;
178
+ /**
179
+ * @maxLength 1000
180
+ * @nullable
181
+ */
182
+ breeder_url?: string | null;
183
+ /**
184
+ * @maxLength 1000
185
+ * @nullable
186
+ */
187
+ kennel_url?: string | null;
188
+ }
189
+
190
+ export interface CalculateCoiRequestRequest {
191
+ /** Π“Π»ΡƒΠ±ΠΈΠ½Π° расчёта (1–10, ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 5) */
192
+ generations?: number;
193
+ /** Π£Ρ‡ΠΈΡ‚Ρ‹Π²Π°Ρ‚ΡŒ COI ΠΏΡ€Π΅Π΄ΠΊΠΎΠ² (Ρ‚ΠΎΡ‡Π½Π΅Π΅, Π½ΠΎ ΠΌΠ΅Π΄Π»Π΅Π½Π½Π΅Π΅) */
194
+ use_ancestor_coi?: boolean;
195
+ }
196
+
197
+ export type CalculateCoiResponseAncestorContributions = {[key: string]: number};
198
+
199
+ export interface CalculateCoiResponse {
200
+ coi: number;
201
+ coi_updated_on: string;
202
+ generations: number;
203
+ common_ancestors: number;
204
+ total_ancestors_sire: number;
205
+ total_ancestors_dam: number;
206
+ ancestor_contributions: CalculateCoiResponseAncestorContributions;
207
+ }
208
+
209
+ /**
210
+ * * `charter` - устав
211
+ * `regulation` - Ρ€Π΅Π³Π»Π°ΠΌΠ΅Π½Ρ‚
212
+ * `standard` - стандарт
213
+ * `form` - Ρ„ΠΎΡ€ΠΌΠ°
214
+ */
215
+ export type DocumentTypeEnum = typeof DocumentTypeEnum[keyof typeof DocumentTypeEnum];
216
+
217
+
218
+ export const DocumentTypeEnum = {
219
+ charter: 'charter',
220
+ regulation: 'regulation',
221
+ standard: 'standard',
222
+ form: 'form',
223
+ } as const;
224
+
225
+ export interface ClubDocument {
226
+ readonly id: number;
227
+ /** @maxLength 200 */
228
+ title_key: string;
229
+ description_key?: string;
230
+ file: string;
231
+ document_type: DocumentTypeEnum;
232
+ readonly uploaded_at: string;
233
+ readonly file_size: string;
234
+ readonly file_ext: string;
235
+ readonly mime_type: string;
236
+ /**
237
+ * @minimum 0
238
+ * @maximum 9223372036854776000
239
+ */
240
+ order?: number;
241
+ }
242
+
243
+ export interface ClubStats {
244
+ /**
245
+ * @minimum 0
246
+ * @maximum 9223372036854776000
247
+ */
248
+ members_count?: number;
249
+ /**
250
+ * @minimum 0
251
+ * @maximum 9223372036854776000
252
+ */
253
+ kennels_count?: number;
254
+ /**
255
+ * @minimum 0
256
+ * @maximum 9223372036854776000
257
+ */
258
+ dogs_in_archive_count?: number;
259
+ /**
260
+ * @minimum 0
261
+ * @maximum 9223372036854776000
262
+ */
263
+ regions_count?: number;
264
+ readonly updated_at: string;
265
+ }
266
+
267
+ export interface ContentByKeyResponse {
268
+ key: string;
269
+ value: unknown;
270
+ }
271
+
272
+ export interface ContentDictionary {
273
+ readonly id: number;
274
+ /** @maxLength 200 */
275
+ key: string;
276
+ value: string;
277
+ /** @maxLength 100 */
278
+ page?: string;
279
+ /** @maxLength 10 */
280
+ locale?: string;
281
+ /** @maxLength 200 */
282
+ updated_by?: string;
283
+ readonly updated_at: string;
284
+ }
285
+
286
+ /**
287
+ * * `male` - male
288
+ * `female` - female
289
+ */
290
+ export type DogSexEnum = typeof DogSexEnum[keyof typeof DogSexEnum];
291
+
292
+
293
+ export const DogSexEnum = {
294
+ male: 'male',
295
+ female: 'female',
296
+ } as const;
297
+
298
+ export const DogSex = {...DogSexEnum,...BlankEnum,} as const
299
+ export interface Dog {
300
+ readonly id: number;
301
+ /** @maxLength 200 */
302
+ name: string;
303
+ /** @maxLength 200 */
304
+ registered_name?: string;
305
+ sex?: typeof DogSex[keyof typeof DogSex];
306
+ /** @nullable */
307
+ date_of_birth?: string | null;
308
+ /** @maxLength 200 */
309
+ pedigree_number?: string;
310
+ /** @maxLength 200 */
311
+ microchip?: string;
312
+ titles?: unknown;
313
+ is_champion?: boolean;
314
+ photos?: unknown;
315
+ readonly created_at: string;
316
+ owner: number;
317
+ /** @nullable */
318
+ kennel?: number | null;
319
+ /** @nullable */
320
+ sire?: number | null;
321
+ /** @nullable */
322
+ dam?: number | null;
323
+ }
324
+
325
+ /**
326
+ * * `1` - КобСль
327
+ * `2` - Π‘ΡƒΠΊΠ°
328
+ */
329
+ export type Sex6bbEnum = typeof Sex6bbEnum[keyof typeof Sex6bbEnum];
330
+
331
+
332
+ export const Sex6bbEnum = {
333
+ NUMBER_1: 1,
334
+ NUMBER_2: 2,
335
+ } as const;
336
+
337
+ /**
338
+ * ΠšΡ€Π°Ρ‚ΠΊΠ°Ρ информация ΠΎ Ρ€ΠΎΠ΄ΠΈΡ‚Π΅Π»Π΅ (Π±Π΅Π· Π²Π»ΠΎΠΆΠ΅Π½Π½Ρ‹Ρ…).
339
+ */
340
+ export interface DogParent {
341
+ readonly id: number;
342
+ /**
343
+ * @maxLength 255
344
+ * @nullable
345
+ */
346
+ uuid?: string | null;
347
+ /**
348
+ * @maxLength 64
349
+ * @nullable
350
+ */
351
+ zoo_hash?: string | null;
352
+ readonly display_name: string;
353
+ /**
354
+ * @maxLength 500
355
+ * @nullable
356
+ */
357
+ registered_name?: string | null;
358
+ /**
359
+ * @maxLength 255
360
+ * @nullable
361
+ */
362
+ call_name?: string | null;
363
+ /**
364
+ * @minimum -9223372036854776000
365
+ * @maximum 9223372036854776000
366
+ */
367
+ sex: Sex6bbEnum;
368
+ readonly sex_display: string;
369
+ /**
370
+ * @minimum -9223372036854776000
371
+ * @maximum 9223372036854776000
372
+ * @nullable
373
+ */
374
+ year_of_birth?: number | null;
375
+ /**
376
+ * @maxLength 255
377
+ * @nullable
378
+ */
379
+ color?: string | null;
380
+ /**
381
+ * @maxLength 1000
382
+ * @nullable
383
+ */
384
+ photo_url?: string | null;
385
+ }
386
+
387
+ export interface Owner {
388
+ readonly id: number;
389
+ /**
390
+ * @maxLength 255
391
+ * @nullable
392
+ */
393
+ uuid?: string | null;
394
+ /** @maxLength 500 */
395
+ name: string;
396
+ /**
397
+ * @maxLength 500
398
+ * @nullable
399
+ */
400
+ kennel?: string | null;
401
+ /**
402
+ * @maxLength 1000
403
+ * @nullable
404
+ */
405
+ owner_url?: string | null;
406
+ /**
407
+ * @maxLength 1000
408
+ * @nullable
409
+ */
410
+ kennel_url?: string | null;
411
+ }
412
+
413
+ export interface Title {
414
+ readonly id: number;
415
+ /** @maxLength 100 */
416
+ short_name: string;
417
+ /**
418
+ * @maxLength 500
419
+ * @nullable
420
+ */
421
+ long_name?: string | null;
422
+ is_prefix: boolean;
423
+ /**
424
+ * @maxLength 100
425
+ * @nullable
426
+ */
427
+ country?: string | null;
428
+ /**
429
+ * @minimum -9223372036854776000
430
+ * @maximum 9223372036854776000
431
+ * @nullable
432
+ */
433
+ winner_year?: number | null;
434
+ }
435
+
436
+ export interface MedicalRecord {
437
+ readonly id: number;
438
+ /** @maxLength 255 */
439
+ registry: string;
440
+ /** @nullable */
441
+ test_date?: string | null;
442
+ /**
443
+ * @maxLength 1000
444
+ * @nullable
445
+ */
446
+ conclusion?: string | null;
447
+ /**
448
+ * @maxLength 255
449
+ * @nullable
450
+ */
451
+ ofa_number?: string | null;
452
+ /** @maxLength 255 */
453
+ source: string;
454
+ }
455
+
456
+ export interface Litter {
457
+ readonly id: number;
458
+ /** @nullable */
459
+ date_of_birth?: string | null;
460
+ /**
461
+ * @minimum -9223372036854776000
462
+ * @maximum 9223372036854776000
463
+ * @nullable
464
+ */
465
+ litter_male_count?: number | null;
466
+ /**
467
+ * @minimum -9223372036854776000
468
+ * @maximum 9223372036854776000
469
+ * @nullable
470
+ */
471
+ litter_female_count?: number | null;
472
+ /**
473
+ * @minimum -9223372036854776000
474
+ * @maximum 9223372036854776000
475
+ * @nullable
476
+ */
477
+ litter_undef_count?: number | null;
478
+ }
479
+
480
+ /**
481
+ * Полная информация ΠΎ собакС.
482
+ */
483
+ export interface DogDetail {
484
+ readonly id: number;
485
+ /**
486
+ * @maxLength 255
487
+ * @nullable
488
+ */
489
+ uuid?: string | null;
490
+ /**
491
+ * @maxLength 64
492
+ * @nullable
493
+ */
494
+ zoo_hash?: string | null;
495
+ /**
496
+ * @maxLength 255
497
+ * @nullable
498
+ */
499
+ zooportal_id?: string | null;
500
+ readonly display_name: string;
501
+ /**
502
+ * @maxLength 500
503
+ * @nullable
504
+ */
505
+ registered_name?: string | null;
506
+ /**
507
+ * @maxLength 255
508
+ * @nullable
509
+ */
510
+ call_name?: string | null;
511
+ /**
512
+ * @maxLength 500
513
+ * @nullable
514
+ */
515
+ link_name?: string | null;
516
+ /**
517
+ * @minimum -9223372036854776000
518
+ * @maximum 9223372036854776000
519
+ */
520
+ sex: Sex6bbEnum;
521
+ readonly sex_display: string;
522
+ /**
523
+ * @minimum -9223372036854776000
524
+ * @maximum 9223372036854776000
525
+ * @nullable
526
+ */
527
+ year_of_birth?: number | null;
528
+ /**
529
+ * @minimum -9223372036854776000
530
+ * @maximum 9223372036854776000
531
+ * @nullable
532
+ */
533
+ month_of_birth?: number | null;
534
+ /**
535
+ * @minimum -9223372036854776000
536
+ * @maximum 9223372036854776000
537
+ * @nullable
538
+ */
539
+ day_of_birth?: number | null;
540
+ /** @nullable */
541
+ date_of_birth?: string | null;
542
+ /**
543
+ * @minimum -9223372036854776000
544
+ * @maximum 9223372036854776000
545
+ * @nullable
546
+ */
547
+ year_of_death?: number | null;
548
+ /** @nullable */
549
+ date_of_death?: string | null;
550
+ readonly is_alive: string;
551
+ /**
552
+ * @maxLength 255
553
+ * @nullable
554
+ */
555
+ land_of_birth?: string | null;
556
+ /**
557
+ * @maxLength 10
558
+ * @nullable
559
+ */
560
+ land_of_birth_code?: string | null;
561
+ /**
562
+ * @maxLength 255
563
+ * @nullable
564
+ */
565
+ land_of_standing?: string | null;
566
+ /** @nullable */
567
+ size?: number | null;
568
+ /** @nullable */
569
+ weight?: number | null;
570
+ /**
571
+ * @maxLength 255
572
+ * @nullable
573
+ */
574
+ color?: string | null;
575
+ /**
576
+ * @maxLength 255
577
+ * @nullable
578
+ */
579
+ color_marking?: string | null;
580
+ /**
581
+ * @maxLength 100
582
+ * @nullable
583
+ */
584
+ eyes_color?: string | null;
585
+ /**
586
+ * @maxLength 255
587
+ * @nullable
588
+ */
589
+ variety?: string | null;
590
+ /**
591
+ * @maxLength 1000
592
+ * @nullable
593
+ */
594
+ photo_url?: string | null;
595
+ /**
596
+ * @maxLength 500
597
+ * @nullable
598
+ */
599
+ prefix_titles?: string | null;
600
+ /**
601
+ * @maxLength 500
602
+ * @nullable
603
+ */
604
+ suffix_titles?: string | null;
605
+ /**
606
+ * @maxLength 500
607
+ * @nullable
608
+ */
609
+ other_titles?: string | null;
610
+ /**
611
+ * @maxLength 255
612
+ * @nullable
613
+ */
614
+ registration_number?: string | null;
615
+ /**
616
+ * @maxLength 255
617
+ * @nullable
618
+ */
619
+ brand_chip?: string | null;
620
+ /** @nullable */
621
+ coi?: number | null;
622
+ /** @nullable */
623
+ incomplete_pedigree?: boolean | null;
624
+ /** @nullable */
625
+ neutered?: boolean | null;
626
+ /** @nullable */
627
+ approved_for_breeding?: boolean | null;
628
+ /**
629
+ * @maxLength 500
630
+ * @nullable
631
+ */
632
+ kennel?: string | null;
633
+ readonly dam: DogParent;
634
+ readonly sire: DogParent;
635
+ readonly breeders: readonly Breeder[];
636
+ readonly owners: readonly Owner[];
637
+ readonly titles: readonly Title[];
638
+ readonly medical_records: readonly MedicalRecord[];
639
+ readonly birth_litter: Litter;
640
+ }
641
+
642
+ /**
643
+ * ΠšΡ€Π°Ρ‚ΠΊΠ°Ρ информация ΠΎ собакС для списка/поиска.
644
+
645
+ breeder_names β€” список ΠΈΠΌΡ‘Π½ Π·Π°Π²ΠΎΠ΄Ρ‡ΠΈΠΊΠΎΠ² (ΠΈΠ· Ρ‚Π°Π±Π»ΠΈΡ†Ρ‹ breeder Ρ‡Π΅Ρ€Π΅Π· dogbreederlink).
646
+ Π­Ρ‚ΠΎ ΠΏΡ€Π°Π²ΠΈΠ»ΡŒΠ½Ρ‹ΠΉ источник Π΄Π°Π½Π½Ρ‹Ρ… ΠΎ ΠΏΠΈΡ‚ΠΎΠΌΠ½ΠΈΠΊΠ΅, Π° НЕ dog.kennel.
647
+ */
648
+ export interface DogList {
649
+ readonly id: number;
650
+ /**
651
+ * @maxLength 255
652
+ * @nullable
653
+ */
654
+ uuid?: string | null;
655
+ /**
656
+ * @maxLength 64
657
+ * @nullable
658
+ */
659
+ zoo_hash?: string | null;
660
+ readonly display_name: string;
661
+ /**
662
+ * @maxLength 500
663
+ * @nullable
664
+ */
665
+ registered_name?: string | null;
666
+ /**
667
+ * @maxLength 255
668
+ * @nullable
669
+ */
670
+ call_name?: string | null;
671
+ /**
672
+ * @minimum -9223372036854776000
673
+ * @maximum 9223372036854776000
674
+ */
675
+ sex: Sex6bbEnum;
676
+ readonly sex_display: string;
677
+ /**
678
+ * @minimum -9223372036854776000
679
+ * @maximum 9223372036854776000
680
+ * @nullable
681
+ */
682
+ year_of_birth?: number | null;
683
+ /** @nullable */
684
+ date_of_birth?: string | null;
685
+ /**
686
+ * @maxLength 255
687
+ * @nullable
688
+ */
689
+ color?: string | null;
690
+ /**
691
+ * @maxLength 1000
692
+ * @nullable
693
+ */
694
+ photo_url?: string | null;
695
+ /**
696
+ * @maxLength 255
697
+ * @nullable
698
+ */
699
+ land_of_birth?: string | null;
700
+ /**
701
+ * @maxLength 500
702
+ * @nullable
703
+ */
704
+ prefix_titles?: string | null;
705
+ /**
706
+ * @maxLength 500
707
+ * @nullable
708
+ */
709
+ suffix_titles?: string | null;
710
+ readonly breeder_names: string;
711
+ }
712
+
713
+ export const DogRequestSex = {...DogSexEnum,...BlankEnum,} as const
714
+ export interface DogRequest {
715
+ /**
716
+ * @minLength 1
717
+ * @maxLength 200
718
+ */
719
+ name: string;
720
+ /** @maxLength 200 */
721
+ registered_name?: string;
722
+ sex?: typeof DogRequestSex[keyof typeof DogRequestSex];
723
+ /** @nullable */
724
+ date_of_birth?: string | null;
725
+ /** @maxLength 200 */
726
+ pedigree_number?: string;
727
+ /** @maxLength 200 */
728
+ microchip?: string;
729
+ titles?: unknown;
730
+ is_champion?: boolean;
731
+ photos?: unknown;
732
+ owner: number;
733
+ /** @nullable */
734
+ kennel?: number | null;
735
+ /** @nullable */
736
+ sire?: number | null;
737
+ /** @nullable */
738
+ dam?: number | null;
739
+ }
740
+
741
+ export interface DogStatsResponse {
742
+ total: number;
743
+ males: number;
744
+ females: number;
745
+ breeders: number;
746
+ with_zooportal_id: number;
747
+ with_uuid: number;
748
+ }
749
+
750
+ /**
751
+ * * `exhibition` - Выставка
752
+ * `seminar` - Π‘Π΅ΠΌΠΈΠ½Π°Ρ€
753
+ * `meeting` - ВстрСча
754
+ * `other` - Π”Ρ€ΡƒΠ³ΠΎΠ΅
755
+ */
756
+ export type EventTypeEnum = typeof EventTypeEnum[keyof typeof EventTypeEnum];
757
+
758
+
759
+ export const EventTypeEnum = {
760
+ exhibition: 'exhibition',
761
+ seminar: 'seminar',
762
+ meeting: 'meeting',
763
+ other: 'other',
764
+ } as const;
765
+
766
+ export const EventEventType = {...EventTypeEnum,...BlankEnum,} as const
767
+ export interface Event {
768
+ readonly id: number;
769
+ /** @maxLength 200 */
770
+ title_key: string;
771
+ description_key?: string;
772
+ event_type?: typeof EventEventType[keyof typeof EventEventType];
773
+ /** @maxLength 255 */
774
+ location?: string;
775
+ starts_at: string;
776
+ /** @nullable */
777
+ ends_at?: string | null;
778
+ /** @maxLength 200 */
779
+ registration_link?: string;
780
+ readonly created_at: string;
781
+ judges?: number[];
782
+ }
783
+
784
+ export interface EventReport {
785
+ readonly id: number;
786
+ event: number;
787
+ readonly event_title_key: string;
788
+ readonly event_description_key: string;
789
+ readonly event_starts_at: string;
790
+ readonly event_location: string;
791
+ readonly photos: string;
792
+ readonly videos: string;
793
+ /**
794
+ * @nullable
795
+ * @pattern (?:pdf|docx|doc|rtf|xlsx|xls|ppt|pptx|txt)$
796
+ */
797
+ results?: string | null;
798
+ result_description?: unknown;
799
+ readonly created_at: string;
800
+ }
801
+
802
+ export interface Gallery {
803
+ readonly id: number;
804
+ /** @maxLength 200 */
805
+ title_key: string;
806
+ /** @maxLength 255 */
807
+ description_key?: string;
808
+ images?: unknown;
809
+ is_highlight?: boolean;
810
+ readonly created_at: string;
811
+ }
812
+
813
+ export interface News {
814
+ readonly id: number;
815
+ /** @maxLength 200 */
816
+ title_key: string;
817
+ /** @maxLength 255 */
818
+ lead_key?: string;
819
+ body_key?: string;
820
+ /**
821
+ * @maxLength 50
822
+ * @pattern ^[-a-zA-Z0-9_]+$
823
+ */
824
+ slug: string;
825
+ tags?: unknown;
826
+ is_featured?: boolean;
827
+ /** @nullable */
828
+ cover_image?: string | null;
829
+ readonly published_at: string;
830
+ readonly updated_at: string;
831
+ /** @nullable */
832
+ author?: number | null;
833
+ }
834
+
835
+ export interface HomeResponse {
836
+ featured_news: News[];
837
+ upcoming_events: Event[];
838
+ highlight_galleries: Gallery[];
839
+ }
840
+
841
+ export interface ImportBreedarchiveBrowseRequest {
842
+ /**
843
+ * @minimum 1
844
+ * @maximum 30
845
+ */
846
+ recent_days?: number;
847
+ }
848
+
849
+ export interface ImportBreedarchiveDogRequest {
850
+ /**
851
+ * UUID собаки в BreedArchive
852
+ * @minLength 1
853
+ */
854
+ uuid: string;
855
+ force_update?: boolean;
856
+ }
857
+
858
+ /**
859
+ * Π‘Π΅Ρ€ΠΈΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ для Π·Π°Π³Ρ€ΡƒΠ·ΠΊΠΈ ΠΏΠΎΠ»Π½ΠΎΠΉ родословной ΠΏΠΎ UUID.
860
+ */
861
+ export interface ImportBreedarchiveFullPedigreeRequest {
862
+ /**
863
+ * UUID собаки в BreedArchive (из URL /animal/view/name-{uuid})
864
+ * @minLength 1
865
+ */
866
+ uuid: string;
867
+ /** True β€” ΡΠ±Ρ€ΠΎΡΠΈΡ‚ΡŒ кСш ΠΈ Π·Π°Π³Ρ€ΡƒΠ·ΠΈΡ‚ΡŒ Π·Π°Π½ΠΎΠ²ΠΎ Π΄Π°ΠΆΠ΅ Ссли собака ΡƒΠΆΠ΅ Π΅ΡΡ‚ΡŒ Π² Π‘Π” */
868
+ force_update?: boolean;
869
+ }
870
+
871
+ export interface ImportBreedarchiveRecentRequest {
872
+ /**
873
+ * @minimum 1
874
+ * @maximum 10
875
+ */
876
+ pages_count?: number;
877
+ /**
878
+ * @minimum 0
879
+ * @maximum 9
880
+ */
881
+ start_page?: number;
882
+ is_full_sync?: boolean;
883
+ }
884
+
885
+ export interface ImportHybridDogRequest {
886
+ /**
887
+ * @minLength 1
888
+ * @maxLength 20
889
+ */
890
+ zooportal_id: string;
891
+ /**
892
+ * @minimum 1
893
+ * @maximum 5
894
+ */
895
+ generations?: number;
896
+ }
897
+
898
+ export interface ImportHybridFullDogRequest {
899
+ /**
900
+ * ID собаки на Zooportal
901
+ * @minLength 1
902
+ * @maxLength 20
903
+ */
904
+ zooportal_id: string;
905
+ /**
906
+ * Π“Π»ΡƒΠ±ΠΈΠ½Π° парсинга Zoo страницы (для fallback родословной)
907
+ * @minimum 1
908
+ * @maximum 5
909
+ */
910
+ generations?: number;
911
+ /** True β€” ΡΠ±Ρ€ΠΎΡΠΈΡ‚ΡŒ BA-кСш ΠΈ Π·Π°Π³Ρ€ΡƒΠ·ΠΈΡ‚ΡŒ ΠΏΡ€Π΅Π΄ΠΊΠΎΠ² Π·Π°Π½ΠΎΠ²ΠΎ */
912
+ force_update?: boolean;
913
+ }
914
+
915
+ export interface ImportHybridFullPageRequest {
916
+ /**
917
+ * НомСр страницы Zoo поиска
918
+ * @minimum 1
919
+ */
920
+ page_num: number;
921
+ /**
922
+ * @minimum 1
923
+ * @maximum 11
924
+ */
925
+ max_dogs?: number;
926
+ /**
927
+ * @minimum 1
928
+ * @maximum 5
929
+ */
930
+ generations?: number;
931
+ /**
932
+ * @minimum 0.5
933
+ * @maximum 10
934
+ */
935
+ delay?: number;
936
+ }
937
+
938
+ export interface ImportHybridFullRangeRequest {
939
+ /** @minimum 1 */
940
+ start_page: number;
941
+ /** @minimum 1 */
942
+ end_page: number;
943
+ /**
944
+ * @minimum 1
945
+ * @maximum 11
946
+ */
947
+ max_dogs_per_page?: number;
948
+ /**
949
+ * @minimum 1
950
+ * @maximum 5
951
+ */
952
+ generations?: number;
953
+ /**
954
+ * @minimum 0.5
955
+ * @maximum 10
956
+ */
957
+ delay?: number;
958
+ /**
959
+ * ΠŸΠ°ΡƒΠ·Π° ΠΌΠ΅ΠΆΠ΄Ρƒ страницами Π² сСкундах
960
+ * @minimum 1
961
+ * @maximum 600
962
+ */
963
+ countdown_between_pages?: number;
964
+ }
965
+
966
+ export interface ImportHybridPageRequest {
967
+ /** @minimum 1 */
968
+ page_num: number;
969
+ /**
970
+ * @minimum 1
971
+ * @maximum 11
972
+ */
973
+ max_dogs?: number;
974
+ /**
975
+ * @minimum 0.5
976
+ * @maximum 10
977
+ */
978
+ delay?: number;
979
+ /**
980
+ * @minimum 1
981
+ * @maximum 5
982
+ */
983
+ generations?: number;
984
+ }
985
+
986
+ export interface ImportHybridRangeRequest {
987
+ /** @minimum 1 */
988
+ start_page: number;
989
+ /** @minimum 1 */
990
+ end_page: number;
991
+ /**
992
+ * @minimum 1
993
+ * @maximum 11
994
+ */
995
+ max_dogs_per_page?: number;
996
+ /**
997
+ * @minimum 0.5
998
+ * @maximum 10
999
+ */
1000
+ delay?: number;
1001
+ /**
1002
+ * @minimum 1
1003
+ * @maximum 5
1004
+ */
1005
+ generations?: number;
1006
+ /**
1007
+ * @minimum 1
1008
+ * @maximum 600
1009
+ */
1010
+ countdown_between_pages?: number;
1011
+ }
1012
+
1013
+ /**
1014
+ * Π‘Π΅Ρ€ΠΈΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ для ΠΈΠΌΠΏΠΎΡ€Ρ‚Π° ΠΎΠ΄Π½ΠΎΠΉ собаки
1015
+ */
1016
+ export interface ImportZooportalDogRequest {
1017
+ /**
1018
+ * ID собаки Π½Π° Zooportal (Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€: 17516431)
1019
+ * @minLength 1
1020
+ * @maxLength 20
1021
+ */
1022
+ zooportal_id: string;
1023
+ }
1024
+
1025
+ /**
1026
+ * Π‘Π΅Ρ€ΠΈΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ для ΠΈΠΌΠΏΠΎΡ€Ρ‚Π° страницы поиска
1027
+ */
1028
+ export interface ImportZooportalPageRequest {
1029
+ /**
1030
+ * НомСр страницы поиска (ΠΎΡ‚ 1 ΠΈ Π²Ρ‹ΡˆΠ΅)
1031
+ * @minimum 1
1032
+ */
1033
+ page_num: number;
1034
+ /**
1035
+ * МаксимальноС количСство собак (ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 10)
1036
+ * @minimum 1
1037
+ * @maximum 11
1038
+ */
1039
+ max_dogs?: number;
1040
+ /**
1041
+ * Π—Π°Π΄Π΅Ρ€ΠΆΠΊΠ° ΠΌΠ΅ΠΆΠ΄Ρƒ собаками Π² сСкундах (ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 2.0)
1042
+ * @minimum 0.5
1043
+ * @maximum 10
1044
+ */
1045
+ delay?: number;
1046
+ }
1047
+
1048
+ /**
1049
+ * Π‘Π΅Ρ€ΠΈΠ°Π»ΠΈΠ·Π°Ρ‚ΠΎΡ€ для ΠΈΠΌΠΏΠΎΡ€Ρ‚Π° Π΄ΠΈΠ°ΠΏΠ°Π·ΠΎΠ½Π° страниц
1050
+ */
1051
+ export interface ImportZooportalRangeRequest {
1052
+ /**
1053
+ * ΠΠ°Ρ‡Π°Π»ΡŒΠ½Π°Ρ страница (Π²ΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ)
1054
+ * @minimum 1
1055
+ */
1056
+ start_page: number;
1057
+ /**
1058
+ * ΠšΠΎΠ½Π΅Ρ‡Π½Π°Ρ страница (Π²ΠΊΠ»ΡŽΡ‡ΠΈΡ‚Π΅Π»ΡŒΠ½ΠΎ)
1059
+ * @minimum 1
1060
+ */
1061
+ end_page: number;
1062
+ /**
1063
+ * ΠœΠ°ΠΊΡΠΈΠΌΡƒΠΌ собак Π½Π° страницС (ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 10)
1064
+ * @minimum 1
1065
+ * @maximum 11
1066
+ */
1067
+ max_dogs_per_page?: number;
1068
+ /**
1069
+ * Π—Π°Π΄Π΅Ρ€ΠΆΠΊΠ° ΠΌΠ΅ΠΆΠ΄Ρƒ собаками (ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 2.0)
1070
+ * @minimum 0.5
1071
+ * @maximum 10
1072
+ */
1073
+ delay?: number;
1074
+ }
1075
+
1076
+ export interface Judge {
1077
+ readonly id: number;
1078
+ /** @maxLength 200 */
1079
+ name: string;
1080
+ /** @maxLength 200 */
1081
+ rank?: string;
1082
+ /** @maxLength 200 */
1083
+ email?: string;
1084
+ /** @nullable */
1085
+ photo?: string | null;
1086
+ /** @maxLength 1000 */
1087
+ materials?: string;
1088
+ /** @nullable */
1089
+ judge_id?: number | null;
1090
+ }
1091
+
1092
+ export interface JudgeDetails {
1093
+ readonly id: number;
1094
+ /** @maxLength 200 */
1095
+ title: string;
1096
+ info?: unknown;
1097
+ additional_info_title?: unknown;
1098
+ additional_info_text?: unknown;
1099
+ work_directions?: unknown;
1100
+ initiatives?: unknown;
1101
+ /** @maxLength 200 */
1102
+ sidebar_text: string;
1103
+ sidebar_achievements?: unknown;
1104
+ /** @maxLength 200 */
1105
+ kennel_url?: string;
1106
+ /** @nullable */
1107
+ kennel?: number | null;
1108
+ }
1109
+
1110
+ export interface Kennel {
1111
+ readonly id: number;
1112
+ /** @maxLength 200 */
1113
+ name: string;
1114
+ /** @maxLength 200 */
1115
+ prefix?: string;
1116
+ /** @maxLength 200 */
1117
+ site_url?: string;
1118
+ socials?: unknown;
1119
+ monitor_enabled?: boolean;
1120
+ /** @nullable */
1121
+ last_check_at?: string | null;
1122
+ /** @nullable */
1123
+ last_screenshot?: string | null;
1124
+ readonly created_at: string;
1125
+ owner: number;
1126
+ }
1127
+
1128
+ export interface KennelRequest {
1129
+ /**
1130
+ * @minLength 1
1131
+ * @maxLength 200
1132
+ */
1133
+ name: string;
1134
+ /** @maxLength 200 */
1135
+ prefix?: string;
1136
+ /** @maxLength 200 */
1137
+ site_url?: string;
1138
+ socials?: unknown;
1139
+ monitor_enabled?: boolean;
1140
+ /** @nullable */
1141
+ last_check_at?: string | null;
1142
+ /** @nullable */
1143
+ last_screenshot?: Blob | null;
1144
+ owner: number;
1145
+ }
1146
+
1147
+ /**
1148
+ * * `announced` - announced
1149
+ * `born` - born
1150
+ * `sold` - sold
1151
+ */
1152
+ export type LitterStatusEnum = typeof LitterStatusEnum[keyof typeof LitterStatusEnum];
1153
+
1154
+
1155
+ export const LitterStatusEnum = {
1156
+ announced: 'announced',
1157
+ born: 'born',
1158
+ sold: 'sold',
1159
+ } as const;
1160
+
1161
+ export interface LitterRequest {
1162
+ /** @nullable */
1163
+ whelped_at?: string | null;
1164
+ /**
1165
+ * @minimum -9223372036854776000
1166
+ * @maximum 9223372036854776000
1167
+ * @nullable
1168
+ */
1169
+ puppies_count?: number | null;
1170
+ /** @maxLength 200 */
1171
+ notes_key?: string;
1172
+ status?: LitterStatusEnum;
1173
+ kennel: number;
1174
+ sire: number;
1175
+ dam: number;
1176
+ }
1177
+
1178
+ export interface LoginRequestRequest {
1179
+ /**
1180
+ * Email ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Ρ
1181
+ * @minLength 1
1182
+ */
1183
+ email: string;
1184
+ /**
1185
+ * ΠŸΠ°Ρ€ΠΎΠ»ΡŒ
1186
+ * @minLength 1
1187
+ */
1188
+ password: string;
1189
+ }
1190
+
1191
+ export interface LoginUser {
1192
+ email: string;
1193
+ name: string;
1194
+ is_nkp_member: boolean;
1195
+ }
1196
+
1197
+ export interface LoginSuccess {
1198
+ success: boolean;
1199
+ user: LoginUser;
1200
+ }
1201
+
1202
+ /**
1203
+ * * `physical` - physical
1204
+ * `legal` - legal
1205
+ */
1206
+ export type MembershipTypeEnum = typeof MembershipTypeEnum[keyof typeof MembershipTypeEnum];
1207
+
1208
+
1209
+ export const MembershipTypeEnum = {
1210
+ physical: 'physical',
1211
+ legal: 'legal',
1212
+ } as const;
1213
+
1214
+ export type NullEnum = typeof NullEnum[keyof typeof NullEnum];
1215
+
1216
+
1217
+ export const NullEnum = {
1218
+ } as const;
1219
+
1220
+ export interface Page {
1221
+ readonly id: number;
1222
+ /**
1223
+ * @maxLength 50
1224
+ * @pattern ^[-a-zA-Z0-9_]+$
1225
+ */
1226
+ slug: string;
1227
+ /** @maxLength 200 */
1228
+ title_key: string;
1229
+ sections?: unknown;
1230
+ is_published?: boolean;
1231
+ readonly created_at: string;
1232
+ readonly updated_at: string;
1233
+ }
1234
+
1235
+ export interface PaginatedAchievementList {
1236
+ count?: number;
1237
+ /** @nullable */
1238
+ next?: string | null;
1239
+ /** @nullable */
1240
+ previous?: string | null;
1241
+ results?: Achievement[];
1242
+ }
1243
+
1244
+ export interface PaginatedApplicationList {
1245
+ count?: number;
1246
+ /** @nullable */
1247
+ next?: string | null;
1248
+ /** @nullable */
1249
+ previous?: string | null;
1250
+ results?: Application[];
1251
+ }
1252
+
1253
+ export interface PaginatedBoardMemberList {
1254
+ count?: number;
1255
+ /** @nullable */
1256
+ next?: string | null;
1257
+ /** @nullable */
1258
+ previous?: string | null;
1259
+ results?: BoardMember[];
1260
+ }
1261
+
1262
+ export interface PaginatedBreedArticleList {
1263
+ count?: number;
1264
+ /** @nullable */
1265
+ next?: string | null;
1266
+ /** @nullable */
1267
+ previous?: string | null;
1268
+ results?: BreedArticle[];
1269
+ }
1270
+
1271
+ export interface PaginatedBreedStandardList {
1272
+ count?: number;
1273
+ /** @nullable */
1274
+ next?: string | null;
1275
+ /** @nullable */
1276
+ previous?: string | null;
1277
+ results?: BreedStandard[];
1278
+ }
1279
+
1280
+ export interface PaginatedBreederList {
1281
+ count?: number;
1282
+ /** @nullable */
1283
+ next?: string | null;
1284
+ /** @nullable */
1285
+ previous?: string | null;
1286
+ results?: Breeder[];
1287
+ }
1288
+
1289
+ export interface PaginatedClubDocumentList {
1290
+ count?: number;
1291
+ /** @nullable */
1292
+ next?: string | null;
1293
+ /** @nullable */
1294
+ previous?: string | null;
1295
+ results?: ClubDocument[];
1296
+ }
1297
+
1298
+ export interface PaginatedContentDictionaryList {
1299
+ count?: number;
1300
+ /** @nullable */
1301
+ next?: string | null;
1302
+ /** @nullable */
1303
+ previous?: string | null;
1304
+ results?: ContentDictionary[];
1305
+ }
1306
+
1307
+ export interface PaginatedDogList {
1308
+ count?: number;
1309
+ /** @nullable */
1310
+ next?: string | null;
1311
+ /** @nullable */
1312
+ previous?: string | null;
1313
+ results?: Dog[];
1314
+ }
1315
+
1316
+ export interface PaginatedDogListList {
1317
+ count?: number;
1318
+ /** @nullable */
1319
+ next?: string | null;
1320
+ /** @nullable */
1321
+ previous?: string | null;
1322
+ results?: DogList[];
1323
+ }
1324
+
1325
+ export interface PaginatedEventList {
1326
+ count?: number;
1327
+ /** @nullable */
1328
+ next?: string | null;
1329
+ /** @nullable */
1330
+ previous?: string | null;
1331
+ results?: Event[];
1332
+ }
1333
+
1334
+ export interface PaginatedEventReportList {
1335
+ count?: number;
1336
+ /** @nullable */
1337
+ next?: string | null;
1338
+ /** @nullable */
1339
+ previous?: string | null;
1340
+ results?: EventReport[];
1341
+ }
1342
+
1343
+ export interface PaginatedGalleryList {
1344
+ count?: number;
1345
+ /** @nullable */
1346
+ next?: string | null;
1347
+ /** @nullable */
1348
+ previous?: string | null;
1349
+ results?: Gallery[];
1350
+ }
1351
+
1352
+ export interface PaginatedJudgeDetailsList {
1353
+ count?: number;
1354
+ /** @nullable */
1355
+ next?: string | null;
1356
+ /** @nullable */
1357
+ previous?: string | null;
1358
+ results?: JudgeDetails[];
1359
+ }
1360
+
1361
+ export interface PaginatedJudgeList {
1362
+ count?: number;
1363
+ /** @nullable */
1364
+ next?: string | null;
1365
+ /** @nullable */
1366
+ previous?: string | null;
1367
+ results?: Judge[];
1368
+ }
1369
+
1370
+ export interface PaginatedKennelList {
1371
+ count?: number;
1372
+ /** @nullable */
1373
+ next?: string | null;
1374
+ /** @nullable */
1375
+ previous?: string | null;
1376
+ results?: Kennel[];
1377
+ }
1378
+
1379
+ export interface PaginatedLitterList {
1380
+ count?: number;
1381
+ /** @nullable */
1382
+ next?: string | null;
1383
+ /** @nullable */
1384
+ previous?: string | null;
1385
+ results?: Litter[];
1386
+ }
1387
+
1388
+ export interface PaginatedMedicalRecordList {
1389
+ count?: number;
1390
+ /** @nullable */
1391
+ next?: string | null;
1392
+ /** @nullable */
1393
+ previous?: string | null;
1394
+ results?: MedicalRecord[];
1395
+ }
1396
+
1397
+ export interface PaginatedNewsList {
1398
+ count?: number;
1399
+ /** @nullable */
1400
+ next?: string | null;
1401
+ /** @nullable */
1402
+ previous?: string | null;
1403
+ results?: News[];
1404
+ }
1405
+
1406
+ export interface PaginatedOwnerList {
1407
+ count?: number;
1408
+ /** @nullable */
1409
+ next?: string | null;
1410
+ /** @nullable */
1411
+ previous?: string | null;
1412
+ results?: Owner[];
1413
+ }
1414
+
1415
+ export interface PaginatedPageList {
1416
+ count?: number;
1417
+ /** @nullable */
1418
+ next?: string | null;
1419
+ /** @nullable */
1420
+ previous?: string | null;
1421
+ results?: Page[];
1422
+ }
1423
+
1424
+ export interface PaginatedTitleList {
1425
+ count?: number;
1426
+ /** @nullable */
1427
+ next?: string | null;
1428
+ /** @nullable */
1429
+ previous?: string | null;
1430
+ results?: Title[];
1431
+ }
1432
+
1433
+ export interface WorkingGroup {
1434
+ readonly id: number;
1435
+ /** @maxLength 200 */
1436
+ name: string;
1437
+ readonly members: readonly BoardMember[];
1438
+ }
1439
+
1440
+ export interface PaginatedWorkingGroupList {
1441
+ count?: number;
1442
+ /** @nullable */
1443
+ next?: string | null;
1444
+ /** @nullable */
1445
+ previous?: string | null;
1446
+ results?: WorkingGroup[];
1447
+ }
1448
+
1449
+ export interface PatchedApplicationRequest {
1450
+ application_type?: ApplicationTypeEnum;
1451
+ payload?: unknown;
1452
+ status?: ApplicationStatusEnum;
1453
+ history?: unknown;
1454
+ user?: number;
1455
+ }
1456
+
1457
+ export const PatchedDogRequestSex = {...DogSexEnum,...BlankEnum,} as const
1458
+ export interface PatchedDogRequest {
1459
+ /**
1460
+ * @minLength 1
1461
+ * @maxLength 200
1462
+ */
1463
+ name?: string;
1464
+ /** @maxLength 200 */
1465
+ registered_name?: string;
1466
+ sex?: typeof PatchedDogRequestSex[keyof typeof PatchedDogRequestSex];
1467
+ /** @nullable */
1468
+ date_of_birth?: string | null;
1469
+ /** @maxLength 200 */
1470
+ pedigree_number?: string;
1471
+ /** @maxLength 200 */
1472
+ microchip?: string;
1473
+ titles?: unknown;
1474
+ is_champion?: boolean;
1475
+ photos?: unknown;
1476
+ owner?: number;
1477
+ /** @nullable */
1478
+ kennel?: number | null;
1479
+ /** @nullable */
1480
+ sire?: number | null;
1481
+ /** @nullable */
1482
+ dam?: number | null;
1483
+ }
1484
+
1485
+ export interface PatchedKennelRequest {
1486
+ /**
1487
+ * @minLength 1
1488
+ * @maxLength 200
1489
+ */
1490
+ name?: string;
1491
+ /** @maxLength 200 */
1492
+ prefix?: string;
1493
+ /** @maxLength 200 */
1494
+ site_url?: string;
1495
+ socials?: unknown;
1496
+ monitor_enabled?: boolean;
1497
+ /** @nullable */
1498
+ last_check_at?: string | null;
1499
+ /** @nullable */
1500
+ last_screenshot?: Blob | null;
1501
+ owner?: number;
1502
+ }
1503
+
1504
+ export interface PatchedLitterRequest {
1505
+ /** @nullable */
1506
+ whelped_at?: string | null;
1507
+ /**
1508
+ * @minimum -9223372036854776000
1509
+ * @maximum 9223372036854776000
1510
+ * @nullable
1511
+ */
1512
+ puppies_count?: number | null;
1513
+ /** @maxLength 200 */
1514
+ notes_key?: string;
1515
+ status?: LitterStatusEnum;
1516
+ kennel?: number;
1517
+ sire?: number;
1518
+ dam?: number;
1519
+ }
1520
+
1521
+ /**
1522
+ * РСкурсивноС Π΄Π΅Ρ€Π΅Π²ΠΎ родословной.
1523
+ */
1524
+ export interface Pedigree {
1525
+ readonly id: number;
1526
+ /**
1527
+ * @maxLength 255
1528
+ * @nullable
1529
+ */
1530
+ uuid?: string | null;
1531
+ readonly display_name: string;
1532
+ /**
1533
+ * @maxLength 500
1534
+ * @nullable
1535
+ */
1536
+ registered_name?: string | null;
1537
+ /**
1538
+ * @maxLength 255
1539
+ * @nullable
1540
+ */
1541
+ call_name?: string | null;
1542
+ /**
1543
+ * @minimum -9223372036854776000
1544
+ * @maximum 9223372036854776000
1545
+ */
1546
+ sex: Sex6bbEnum;
1547
+ /**
1548
+ * @minimum -9223372036854776000
1549
+ * @maximum 9223372036854776000
1550
+ * @nullable
1551
+ */
1552
+ year_of_birth?: number | null;
1553
+ /** @nullable */
1554
+ date_of_birth?: string | null;
1555
+ /**
1556
+ * @maxLength 1000
1557
+ * @nullable
1558
+ */
1559
+ photo_url?: string | null;
1560
+ /**
1561
+ * @maxLength 255
1562
+ * @nullable
1563
+ */
1564
+ color?: string | null;
1565
+ /**
1566
+ * @maxLength 255
1567
+ * @nullable
1568
+ */
1569
+ land_of_birth?: string | null;
1570
+ /**
1571
+ * @maxLength 500
1572
+ * @nullable
1573
+ */
1574
+ prefix_titles?: string | null;
1575
+ /**
1576
+ * @maxLength 500
1577
+ * @nullable
1578
+ */
1579
+ suffix_titles?: string | null;
1580
+ /** @nullable */
1581
+ coi?: number | null;
1582
+ readonly dam: string;
1583
+ readonly sire: string;
1584
+ }
1585
+
1586
+ export interface RecalculateAllCoiRequestRequest {
1587
+ /** Π“Π»ΡƒΠ±ΠΈΠ½Π° расчёта (1–10, ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 5) */
1588
+ generations?: number;
1589
+ /** True β€” Ρ‚ΠΎΠ»ΡŒΠΊΠΎ собаки с COI IS NULL */
1590
+ only_missing?: boolean;
1591
+ /** Π£Ρ‡ΠΈΡ‚Ρ‹Π²Π°Ρ‚ΡŒ COI ΠΏΡ€Π΅Π΄ΠΊΠΎΠ² */
1592
+ use_ancestor_coi?: boolean;
1593
+ /** Π Π°Π·ΠΌΠ΅Ρ€ Π±Π°Ρ‚Ρ‡Π° (10–500) */
1594
+ batch_size?: number;
1595
+ }
1596
+
1597
+ /**
1598
+ * ΠžΡ‚Π²Π΅Ρ‚ с task_id
1599
+ */
1600
+ export interface TaskResponse {
1601
+ task_id: string;
1602
+ status: string;
1603
+ message: string;
1604
+ check_status_url: string;
1605
+ }
1606
+
1607
+ export type TaskStatusResponseProgress = {[key: string]: unknown};
1608
+
1609
+ export type TaskStatusResponseResult = {[key: string]: unknown};
1610
+
1611
+ /**
1612
+ * ΠžΡ‚Π²Π΅Ρ‚ со статусом Π·Π°Π΄Π°Ρ‡ΠΈ
1613
+ */
1614
+ export interface TaskStatusResponse {
1615
+ task_id: string;
1616
+ status: string;
1617
+ message?: string;
1618
+ progress?: TaskStatusResponseProgress;
1619
+ result?: TaskStatusResponseResult;
1620
+ error?: string;
1621
+ }
1622
+
1623
+ export const UserProfileMembershipType = {...MembershipTypeEnum,...BlankEnum,} as const
1624
+ export interface UserProfile {
1625
+ readonly id: number;
1626
+ /** @maxLength 254 */
1627
+ email: string;
1628
+ /** @maxLength 100 */
1629
+ first_name?: string;
1630
+ /** @maxLength 100 */
1631
+ last_name?: string;
1632
+ /** @maxLength 20 */
1633
+ phone?: string;
1634
+ /** @maxLength 100 */
1635
+ city?: string;
1636
+ is_nkp_member?: boolean;
1637
+ membership_type?: typeof UserProfileMembershipType[keyof typeof UserProfileMembershipType] | null;
1638
+ /** @nullable */
1639
+ membership_expires_at?: string | null;
1640
+ }
1641
+
1642
+ export const UserProfileRequestMembershipType = {...MembershipTypeEnum,...BlankEnum,} as const
1643
+ export interface UserProfileRequest {
1644
+ /**
1645
+ * @minLength 1
1646
+ * @maxLength 254
1647
+ */
1648
+ email: string;
1649
+ /** @maxLength 100 */
1650
+ first_name?: string;
1651
+ /** @maxLength 100 */
1652
+ last_name?: string;
1653
+ /** @maxLength 20 */
1654
+ phone?: string;
1655
+ /** @maxLength 100 */
1656
+ city?: string;
1657
+ is_nkp_member?: boolean;
1658
+ membership_type?: typeof UserProfileRequestMembershipType[keyof typeof UserProfileRequestMembershipType] | null;
1659
+ /** @nullable */
1660
+ membership_expires_at?: string | null;
1661
+ }
1662
+
1663
+ export type BreedArticlesListParams = {
1664
+ /**
1665
+ * ΠšΠ°Ρ‚Π΅Π³ΠΎΡ€ΠΈΡ ΡΡ‚Π°Ρ‚ΡŒΠΈ
1666
+ */
1667
+ category?: string;
1668
+ /**
1669
+ * A page number within the paginated result set.
1670
+ */
1671
+ page?: number;
1672
+ };
1673
+
1674
+ export type BreedStandardsListParams = {
1675
+ /**
1676
+ * A page number within the paginated result set.
1677
+ */
1678
+ page?: number;
1679
+ };
1680
+
1681
+ export type BreedersListParams = {
1682
+ /**
1683
+ * A page number within the paginated result set.
1684
+ */
1685
+ page?: number;
1686
+ };
1687
+
1688
+ export type ClubBoardListParams = {
1689
+ /**
1690
+ * A page number within the paginated result set.
1691
+ */
1692
+ page?: number;
1693
+ };
1694
+
1695
+ export type ClubDocumentsListParams = {
1696
+ /**
1697
+ * A page number within the paginated result set.
1698
+ */
1699
+ page?: number;
1700
+ };
1701
+
1702
+ export type DictListParams = {
1703
+ /**
1704
+ * Поиск ΠΏΠΎ ΠΊΠ»ΡŽΡ‡Ρƒ (частичноС совпадСниС)
1705
+ */
1706
+ key?: string;
1707
+ /**
1708
+ * Π€ΠΈΠ»ΡŒΡ‚Ρ€ ΠΏΠΎ страницС
1709
+ */
1710
+ page?: string;
1711
+ };
1712
+
1713
+ export type DictByKeyRetrieveParams = {
1714
+ /**
1715
+ * Π’ΠΎΡ‡Π½Ρ‹ΠΉ ΠΊΠ»ΡŽΡ‡ записи
1716
+ */
1717
+ key: string;
1718
+ };
1719
+
1720
+ export type DogsListParams = {
1721
+ /**
1722
+ * A page number within the paginated result set.
1723
+ */
1724
+ page?: number;
1725
+ /**
1726
+ * Поиск ΠΏΠΎ ΠΊΠ»ΠΈΡ‡ΠΊΠ΅ (частичноС совпадСниС)
1727
+ */
1728
+ q?: string;
1729
+ /**
1730
+ * Π€ΠΈΠ»ΡŒΡ‚Ρ€ ΠΏΠΎ ΠΏΠΎΠ»Ρƒ (1 β€” кобСль, 2 β€” сука)
1731
+ */
1732
+ sex?: number;
1733
+ /**
1734
+ * Π€ΠΈΠ»ΡŒΡ‚Ρ€ ΠΏΠΎ Π³ΠΎΠ΄Ρƒ роТдСния
1735
+ */
1736
+ year?: number;
1737
+ };
1738
+
1739
+ export type DogsOffspringListParams = {
1740
+ /**
1741
+ * A page number within the paginated result set.
1742
+ */
1743
+ page?: number;
1744
+ };
1745
+
1746
+ export type DogsPedigreeRetrieveParams = {
1747
+ /**
1748
+ * Π“Π»ΡƒΠ±ΠΈΠ½Π° Π΄Π΅Ρ€Π΅Π²Π° (1–10, ΠΏΠΎ ΡƒΠΌΠΎΠ»Ρ‡Π°Π½ΠΈΡŽ 3)
1749
+ */
1750
+ generations?: number;
1751
+ };
1752
+
1753
+ export type DogsSiblingsListParams = {
1754
+ /**
1755
+ * A page number within the paginated result set.
1756
+ */
1757
+ page?: number;
1758
+ };
1759
+
1760
+ export type DogsSearchListParams = {
1761
+ /**
1762
+ * A page number within the paginated result set.
1763
+ */
1764
+ page?: number;
1765
+ /**
1766
+ * Π‘Ρ‚Ρ€ΠΎΠΊΠ° поиска ΠΏΠΎ ΠΊΠ»ΠΈΡ‡ΠΊΠ΅
1767
+ */
1768
+ q: string;
1769
+ };
1770
+
1771
+ export type EventReportsListParams = {
1772
+ /**
1773
+ * A page number within the paginated result set.
1774
+ */
1775
+ page?: number;
1776
+ };
1777
+
1778
+ export type EventsListParams = {
1779
+ /**
1780
+ * ΠžΡ‚ Π΄Π°Ρ‚Ρ‹ (YYYY-MM-DD)
1781
+ */
1782
+ from_date?: string;
1783
+ /**
1784
+ * A page number within the paginated result set.
1785
+ */
1786
+ page?: number;
1787
+ /**
1788
+ * Π”ΠΎ Π΄Π°Ρ‚Ρ‹ (YYYY-MM-DD)
1789
+ */
1790
+ to_date?: string;
1791
+ /**
1792
+ * Π’ΠΈΠΏ мСроприятия
1793
+ */
1794
+ type?: string;
1795
+ };
1796
+
1797
+ export type GalleriesListParams = {
1798
+ /**
1799
+ * A page number within the paginated result set.
1800
+ */
1801
+ page?: number;
1802
+ };
1803
+
1804
+ export type GalleriesHighlightsListParams = {
1805
+ /**
1806
+ * A page number within the paginated result set.
1807
+ */
1808
+ page?: number;
1809
+ };
1810
+
1811
+ export type JudgeDetailsListParams = {
1812
+ /**
1813
+ * A page number within the paginated result set.
1814
+ */
1815
+ page?: number;
1816
+ };
1817
+
1818
+ export type JudgesListParams = {
1819
+ /**
1820
+ * A page number within the paginated result set.
1821
+ */
1822
+ page?: number;
1823
+ };
1824
+
1825
+ export type LittersListParams = {
1826
+ /**
1827
+ * A page number within the paginated result set.
1828
+ */
1829
+ page?: number;
1830
+ };
1831
+
1832
+ export type MeAchievementsListParams = {
1833
+ /**
1834
+ * A page number within the paginated result set.
1835
+ */
1836
+ page?: number;
1837
+ };
1838
+
1839
+ export type MeApplicationsListParams = {
1840
+ /**
1841
+ * A page number within the paginated result set.
1842
+ */
1843
+ page?: number;
1844
+ };
1845
+
1846
+ export type MeDogsListParams = {
1847
+ /**
1848
+ * A page number within the paginated result set.
1849
+ */
1850
+ page?: number;
1851
+ };
1852
+
1853
+ export type MeDogsChampionsListParams = {
1854
+ /**
1855
+ * A page number within the paginated result set.
1856
+ */
1857
+ page?: number;
1858
+ };
1859
+
1860
+ export type MeKennelsListParams = {
1861
+ /**
1862
+ * A page number within the paginated result set.
1863
+ */
1864
+ page?: number;
1865
+ };
1866
+
1867
+ export type MeLittersListParams = {
1868
+ /**
1869
+ * A page number within the paginated result set.
1870
+ */
1871
+ page?: number;
1872
+ };
1873
+
1874
+ export type MedicalRecordsListParams = {
1875
+ /**
1876
+ * A page number within the paginated result set.
1877
+ */
1878
+ page?: number;
1879
+ };
1880
+
1881
+ export type NewsListParams = {
1882
+ /**
1883
+ * Волько ΠΈΠ·Π±Ρ€Π°Π½Π½Ρ‹Π΅ новости
1884
+ */
1885
+ featured?: boolean;
1886
+ /**
1887
+ * A page number within the paginated result set.
1888
+ */
1889
+ page?: number;
1890
+ /**
1891
+ * Π€ΠΈΠ»ΡŒΡ‚Ρ€ ΠΏΠΎ Ρ‚Π΅Π³Ρƒ
1892
+ */
1893
+ tag?: string;
1894
+ };
1895
+
1896
+ export type OwnersListParams = {
1897
+ /**
1898
+ * A page number within the paginated result set.
1899
+ */
1900
+ page?: number;
1901
+ };
1902
+
1903
+ export type PagesListParams = {
1904
+ /**
1905
+ * A page number within the paginated result set.
1906
+ */
1907
+ page?: number;
1908
+ };
1909
+
1910
+ export type TitlesListParams = {
1911
+ /**
1912
+ * A page number within the paginated result set.
1913
+ */
1914
+ page?: number;
1915
+ };
1916
+
1917
+ export type WorkingGroupsListParams = {
1918
+ /**
1919
+ * A page number within the paginated result set.
1920
+ */
1921
+ page?: number;
1922
+ };
1923
+