@hapaul/api 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +1318 -382
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -92,7 +92,7 @@ interface paths {
92
92
  patch?: never;
93
93
  trace?: never;
94
94
  };
95
- "/permissions/queryPermissionsByPage": {
95
+ "/permissions/queryPermissions": {
96
96
  parameters: {
97
97
  query?: never;
98
98
  header?: never;
@@ -101,8 +101,8 @@ interface paths {
101
101
  };
102
102
  get?: never;
103
103
  put?: never;
104
- /** Query permissions by page */
105
- post: operations["queryPermissionsByPage"];
104
+ /** Query permissions */
105
+ post: operations["queryPermissions"];
106
106
  delete?: never;
107
107
  options?: never;
108
108
  head?: never;
@@ -143,7 +143,7 @@ interface paths {
143
143
  patch: operations["updatePermission"];
144
144
  trace?: never;
145
145
  };
146
- "/roles/queryRolesByPage": {
146
+ "/roles/queryRoles": {
147
147
  parameters: {
148
148
  query?: never;
149
149
  header?: never;
@@ -152,8 +152,8 @@ interface paths {
152
152
  };
153
153
  get?: never;
154
154
  put?: never;
155
- /** Query roles by page */
156
- post: operations["queryRolesByPage"];
155
+ /** Query roles */
156
+ post: operations["queryRoles"];
157
157
  delete?: never;
158
158
  options?: never;
159
159
  head?: never;
@@ -296,7 +296,7 @@ interface paths {
296
296
  patch?: never;
297
297
  trace?: never;
298
298
  };
299
- "/users/queryUsersByPage": {
299
+ "/users/queryUsers": {
300
300
  parameters: {
301
301
  query?: never;
302
302
  header?: never;
@@ -305,8 +305,8 @@ interface paths {
305
305
  };
306
306
  get?: never;
307
307
  put?: never;
308
- /** Query users by page */
309
- post: operations["queryUsersByPage"];
308
+ /** Query users */
309
+ post: operations["queryUsers"];
310
310
  delete?: never;
311
311
  options?: never;
312
312
  head?: never;
@@ -436,328 +436,1132 @@ interface paths {
436
436
  patch?: never;
437
437
  trace?: never;
438
438
  };
439
+ "/baby/createBaby": {
440
+ parameters: {
441
+ query?: never;
442
+ header?: never;
443
+ path?: never;
444
+ cookie?: never;
445
+ };
446
+ get?: never;
447
+ put?: never;
448
+ /** Create baby */
449
+ post: operations["createBaby"];
450
+ delete?: never;
451
+ options?: never;
452
+ head?: never;
453
+ patch?: never;
454
+ trace?: never;
455
+ };
456
+ "/baby/queryBabies": {
457
+ parameters: {
458
+ query?: never;
459
+ header?: never;
460
+ path?: never;
461
+ cookie?: never;
462
+ };
463
+ get?: never;
464
+ put?: never;
465
+ /** Query babies */
466
+ post: operations["queryBabies"];
467
+ delete?: never;
468
+ options?: never;
469
+ head?: never;
470
+ patch?: never;
471
+ trace?: never;
472
+ };
473
+ "/baby/queryVisibleBabies": {
474
+ parameters: {
475
+ query?: never;
476
+ header?: never;
477
+ path?: never;
478
+ cookie?: never;
479
+ };
480
+ /** Query visible babies */
481
+ get: operations["queryVisibleBabies"];
482
+ put?: never;
483
+ post?: never;
484
+ delete?: never;
485
+ options?: never;
486
+ head?: never;
487
+ patch?: never;
488
+ trace?: never;
489
+ };
490
+ "/baby/deleteBabies": {
491
+ parameters: {
492
+ query?: never;
493
+ header?: never;
494
+ path?: never;
495
+ cookie?: never;
496
+ };
497
+ get?: never;
498
+ put?: never;
499
+ post?: never;
500
+ /** Delete baby */
501
+ delete: operations["deleteBabies"];
502
+ options?: never;
503
+ head?: never;
504
+ patch?: never;
505
+ trace?: never;
506
+ };
507
+ "/baby/updateBaby": {
508
+ parameters: {
509
+ query?: never;
510
+ header?: never;
511
+ path?: never;
512
+ cookie?: never;
513
+ };
514
+ get?: never;
515
+ put?: never;
516
+ post?: never;
517
+ delete?: never;
518
+ options?: never;
519
+ head?: never;
520
+ /** Update baby */
521
+ patch: operations["updateBaby"];
522
+ trace?: never;
523
+ };
524
+ "/feeding/createFeeding": {
525
+ parameters: {
526
+ query?: never;
527
+ header?: never;
528
+ path?: never;
529
+ cookie?: never;
530
+ };
531
+ get?: never;
532
+ put?: never;
533
+ /** Create feeding */
534
+ post: operations["createFeeding"];
535
+ delete?: never;
536
+ options?: never;
537
+ head?: never;
538
+ patch?: never;
539
+ trace?: never;
540
+ };
541
+ "/feeding/queryFeedings": {
542
+ parameters: {
543
+ query?: never;
544
+ header?: never;
545
+ path?: never;
546
+ cookie?: never;
547
+ };
548
+ get?: never;
549
+ put?: never;
550
+ /** Query feedings */
551
+ post: operations["queryFeedings"];
552
+ delete?: never;
553
+ options?: never;
554
+ head?: never;
555
+ patch?: never;
556
+ trace?: never;
557
+ };
558
+ "/feeding/deleteFeedings": {
559
+ parameters: {
560
+ query?: never;
561
+ header?: never;
562
+ path?: never;
563
+ cookie?: never;
564
+ };
565
+ get?: never;
566
+ put?: never;
567
+ post?: never;
568
+ /** Delete feeding */
569
+ delete: operations["deleteFeedings"];
570
+ options?: never;
571
+ head?: never;
572
+ patch?: never;
573
+ trace?: never;
574
+ };
575
+ "/feeding/updateFeeding": {
576
+ parameters: {
577
+ query?: never;
578
+ header?: never;
579
+ path?: never;
580
+ cookie?: never;
581
+ };
582
+ get?: never;
583
+ put?: never;
584
+ post?: never;
585
+ delete?: never;
586
+ options?: never;
587
+ head?: never;
588
+ /** Update feeding */
589
+ patch: operations["updateFeeding"];
590
+ trace?: never;
591
+ };
592
+ "/health_record/createHealthRecord": {
593
+ parameters: {
594
+ query?: never;
595
+ header?: never;
596
+ path?: never;
597
+ cookie?: never;
598
+ };
599
+ get?: never;
600
+ put?: never;
601
+ /** Create health record */
602
+ post: operations["createHealthRecord"];
603
+ delete?: never;
604
+ options?: never;
605
+ head?: never;
606
+ patch?: never;
607
+ trace?: never;
608
+ };
609
+ "/health_record/queryHealthRecords": {
610
+ parameters: {
611
+ query?: never;
612
+ header?: never;
613
+ path?: never;
614
+ cookie?: never;
615
+ };
616
+ get?: never;
617
+ put?: never;
618
+ /** Query health_records */
619
+ post: operations["queryHealthRecords"];
620
+ delete?: never;
621
+ options?: never;
622
+ head?: never;
623
+ patch?: never;
624
+ trace?: never;
625
+ };
626
+ "/health_record/deleteHealthRecords": {
627
+ parameters: {
628
+ query?: never;
629
+ header?: never;
630
+ path?: never;
631
+ cookie?: never;
632
+ };
633
+ get?: never;
634
+ put?: never;
635
+ post?: never;
636
+ /** Delete health records */
637
+ delete: operations["deleteHealthRecords"];
638
+ options?: never;
639
+ head?: never;
640
+ patch?: never;
641
+ trace?: never;
642
+ };
643
+ "/health_record/updateHealthRecord": {
644
+ parameters: {
645
+ query?: never;
646
+ header?: never;
647
+ path?: never;
648
+ cookie?: never;
649
+ };
650
+ get?: never;
651
+ put?: never;
652
+ post?: never;
653
+ delete?: never;
654
+ options?: never;
655
+ head?: never;
656
+ /** Update health record */
657
+ patch: operations["updateHealthRecord"];
658
+ trace?: never;
659
+ };
660
+ "/urination_defecation/createUrinationDefecation": {
661
+ parameters: {
662
+ query?: never;
663
+ header?: never;
664
+ path?: never;
665
+ cookie?: never;
666
+ };
667
+ get?: never;
668
+ put?: never;
669
+ /** Create urination_defecation */
670
+ post: operations["createUrinationDefecation"];
671
+ delete?: never;
672
+ options?: never;
673
+ head?: never;
674
+ patch?: never;
675
+ trace?: never;
676
+ };
677
+ "/urination_defecation/queryUrinationDefecations": {
678
+ parameters: {
679
+ query?: never;
680
+ header?: never;
681
+ path?: never;
682
+ cookie?: never;
683
+ };
684
+ get?: never;
685
+ put?: never;
686
+ /** Query urination defecation */
687
+ post: operations["queryUrinationDefecations"];
688
+ delete?: never;
689
+ options?: never;
690
+ head?: never;
691
+ patch?: never;
692
+ trace?: never;
693
+ };
694
+ "/urination_defecation/deleteUrinationDefecations": {
695
+ parameters: {
696
+ query?: never;
697
+ header?: never;
698
+ path?: never;
699
+ cookie?: never;
700
+ };
701
+ get?: never;
702
+ put?: never;
703
+ post?: never;
704
+ /** Delete urination defecation */
705
+ delete: operations["deleteUrinationDefecations"];
706
+ options?: never;
707
+ head?: never;
708
+ patch?: never;
709
+ trace?: never;
710
+ };
711
+ "/urination_defecation/updateUrinationDefecation": {
712
+ parameters: {
713
+ query?: never;
714
+ header?: never;
715
+ path?: never;
716
+ cookie?: never;
717
+ };
718
+ get?: never;
719
+ put?: never;
720
+ post?: never;
721
+ delete?: never;
722
+ options?: never;
723
+ head?: never;
724
+ /** Update urination defecation */
725
+ patch: operations["updateUrinationDefecation"];
726
+ trace?: never;
727
+ };
439
728
  }
440
729
  interface components {
441
730
  schemas: {
731
+ Baby: {
732
+ /** Format: uuid */
733
+ id: string;
734
+ name: string;
735
+ gender?: null | components["schemas"]["Gender"];
736
+ /** Format: uuid */
737
+ createdBy: string;
738
+ /** Format: date-time */
739
+ createdAt: string;
740
+ /** Format: date-time */
741
+ updatedAt: string;
742
+ };
743
+ BabyRelationCode: "father" | "mother" | "grandFather" | "grandMother" | "maternalGrandFather" | "maternalGrandMother" | {
744
+ custom: string;
745
+ };
746
+ CreateBabyDto: {
747
+ name: string;
748
+ gender?: null | components["schemas"]["Gender"];
749
+ /** Format: date-time */
750
+ birth: string;
751
+ relation: components["schemas"]["BabyRelationCode"];
752
+ };
753
+ CreateFeedingParams: {
754
+ /** Format: uuid */
755
+ baby_id: string;
756
+ kind: components["schemas"]["FeedingKind"];
757
+ /** Format: int32 */
758
+ quantity: number;
759
+ /** Format: date-time */
760
+ datetime: string;
761
+ };
762
+ CreateHealthRecordParams: {
763
+ /** Format: uuid */
764
+ babyId: string;
765
+ kind: components["schemas"]["HealthRecordKind"];
766
+ /** Format: int32 */
767
+ quantity: number;
768
+ /** Format: date-time */
769
+ datetime: string;
770
+ };
442
771
  CreatePermissionParams: {
443
772
  code: string;
444
773
  kind: string;
445
774
  description?: string | null;
446
775
  };
447
- /** @description Role create params */
448
- CreateRoleRequestDto: {
776
+ /** @description Role create params */
777
+ CreateRoleRequestDto: {
778
+ name: string;
779
+ description?: string | null;
780
+ };
781
+ CreateUploadDto: {
782
+ name: string;
783
+ hash: string;
784
+ /** Format: int64 */
785
+ size: number;
786
+ };
787
+ CreateUrinationDefecationParams: {
788
+ /** Format: uuid */
789
+ baby_id: string;
790
+ kind: components["schemas"]["UrinationDefecationKind"];
791
+ color?: null | components["schemas"]["UrinationDefecationColor"];
792
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
793
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
794
+ /** Format: date-time */
795
+ datetime: string;
796
+ };
797
+ CreateUserDto: {
798
+ account: string;
799
+ password: string;
800
+ };
801
+ DeletePermissionsParams: string[];
802
+ /** @description User id list */
803
+ DeleteUsersRequestDto: string[];
804
+ Feeding: {
805
+ /** Format: uuid */
806
+ id: string;
807
+ /** Format: uuid */
808
+ baby_id: string;
809
+ kind: components["schemas"]["FeedingKind"];
810
+ description?: string | null;
811
+ /** Format: int32 */
812
+ quantity: number;
813
+ /** Format: date-time */
814
+ datetime: string;
815
+ /** Format: date-time */
816
+ created_at: string;
817
+ /** Format: date-time */
818
+ updated_at: string;
819
+ };
820
+ FeedingFilterParams: {
821
+ /** Format: uuid */
822
+ babyId: string;
823
+ /** Format: date-time */
824
+ rangeFrom?: string | null;
825
+ /** Format: date-time */
826
+ rangeTo?: string | null;
827
+ };
828
+ /** @enum {string} */
829
+ FeedingKind: "milkPowder" | "breastMilk" | "leftBreastMilk" | "rightBreastMilk";
830
+ FilterBabiesParams: {
831
+ /** Format: uuid */
832
+ createdBy?: string | null;
833
+ };
834
+ FilterHealthRecordsParams: {
835
+ /** Format: uuid */
836
+ babyId?: string | null;
837
+ kind?: null | components["schemas"]["HealthRecordKind"];
838
+ /** Format: date-time */
839
+ from?: string | null;
840
+ /** Format: date-time */
841
+ to?: string | null;
842
+ };
843
+ FilterUrinationDefecationParams: Record<string, never>;
844
+ /** @enum {string} */
845
+ Gender: "unknown" | "male" | "female";
846
+ /** @enum {string} */
847
+ HealthRecordKind: "height" | "weight";
848
+ LoginMethod: {
849
+ account: string;
850
+ password: string;
851
+ } | {
852
+ thirdParty: components["schemas"]["ThirdParty"];
853
+ code: string;
854
+ };
855
+ LoginParamsDto: components["schemas"]["LoginMethod"] & {
856
+ platform?: null | components["schemas"]["LoginPlatform"];
857
+ };
858
+ /** @enum {string} */
859
+ LoginPlatform: "web" | "ios" | "android" | "weapp";
860
+ LoginResponseDto: {
861
+ /** Format: uuid */
862
+ userId: string;
863
+ account: string;
864
+ accessToken: string;
865
+ };
866
+ MergeFileChunksDto: {
867
+ /** Format: uuid */
868
+ uploadId: string;
869
+ };
870
+ /** @default null */
871
+ Null: unknown;
872
+ PageableQueryDto_FeedingFilterParams: {
873
+ /** Format: int64 */
874
+ page?: number | null;
875
+ /** Format: int64 */
876
+ pageSize?: number | null;
877
+ filters?: {
878
+ /** Format: uuid */
879
+ babyId: string;
880
+ /** Format: date-time */
881
+ rangeFrom?: string | null;
882
+ /** Format: date-time */
883
+ rangeTo?: string | null;
884
+ };
885
+ sorts?: components["schemas"]["QuerySortDto_String"][] | null;
886
+ };
887
+ PageableQueryDto_FilterBabiesParams: {
888
+ /** Format: int64 */
889
+ page?: number | null;
890
+ /** Format: int64 */
891
+ pageSize?: number | null;
892
+ filters?: {
893
+ /** Format: uuid */
894
+ createdBy?: string | null;
895
+ };
896
+ sorts?: components["schemas"]["QuerySortDto_String"][] | null;
897
+ };
898
+ PageableQueryDto_FilterHealthRecordsParams: {
899
+ /** Format: int64 */
900
+ page?: number | null;
901
+ /** Format: int64 */
902
+ pageSize?: number | null;
903
+ filters?: {
904
+ /** Format: uuid */
905
+ babyId?: string | null;
906
+ kind?: null | components["schemas"]["HealthRecordKind"];
907
+ /** Format: date-time */
908
+ from?: string | null;
909
+ /** Format: date-time */
910
+ to?: string | null;
911
+ };
912
+ sorts?: components["schemas"]["QuerySortDto_String"][] | null;
913
+ };
914
+ PageableQueryDto_FilterUrinationDefecationParams: {
915
+ /** Format: int64 */
916
+ page?: number | null;
917
+ /** Format: int64 */
918
+ pageSize?: number | null;
919
+ filters?: Record<string, never>;
920
+ sorts?: components["schemas"]["QuerySortDto_String"][] | null;
921
+ };
922
+ PageableQueryDto_PermissionFilters_PermissionOrders: {
923
+ /** Format: int64 */
924
+ page?: number | null;
925
+ /** Format: int64 */
926
+ pageSize?: number | null;
927
+ filters?: {
928
+ permissionGroupId?: string | null;
929
+ kind?: string | null;
930
+ code?: string | null;
931
+ };
932
+ sorts?: components["schemas"]["QuerySortDto_PermissionOrders"][] | null;
933
+ };
934
+ PageableQueryDto_RoleFilterDto_RoleOrderDto: {
935
+ /** Format: int64 */
936
+ page?: number | null;
937
+ /** Format: int64 */
938
+ pageSize?: number | null;
939
+ /** @description Role filter params */
940
+ filters?: {
941
+ name?: string | null;
942
+ };
943
+ sorts?: components["schemas"]["QuerySortDto_RoleOrderDto"][] | null;
944
+ };
945
+ PageableQueryDto_UserFilterDto: {
946
+ /** Format: int64 */
947
+ page?: number | null;
948
+ /** Format: int64 */
949
+ pageSize?: number | null;
950
+ filters?: {
951
+ account?: string | null;
952
+ };
953
+ sorts?: components["schemas"]["QuerySortDto_String"][] | null;
954
+ };
955
+ Permission: {
956
+ /** Format: uuid */
957
+ id: string;
958
+ code: string;
959
+ description?: string | null;
960
+ /** Format: date-time */
961
+ createdAt: string;
962
+ /** Format: date-time */
963
+ updatedAt: string;
964
+ };
965
+ PermissionFilters: {
966
+ permissionGroupId?: string | null;
967
+ kind?: string | null;
968
+ code?: string | null;
969
+ };
970
+ /** @enum {string} */
971
+ PermissionOrders: "createdAt";
972
+ /** @enum {string} */
973
+ QueryOrder: "asc" | "desc";
974
+ QuerySortDto_PermissionOrders: {
975
+ /** @enum {string} */
976
+ field: "createdAt";
977
+ order: components["schemas"]["QueryOrder"];
978
+ };
979
+ QuerySortDto_RoleOrderDto: {
980
+ /**
981
+ * @description Role filter params
982
+ * @enum {string}
983
+ */
984
+ field: "name";
985
+ order: components["schemas"]["QueryOrder"];
986
+ };
987
+ QuerySortDto_String: {
988
+ field: string;
989
+ order: components["schemas"]["QueryOrder"];
990
+ };
991
+ RegisterRequestDto: {
992
+ account: string;
993
+ password: string;
994
+ ip?: string | null;
995
+ platform?: null | components["schemas"]["LoginPlatform"];
996
+ };
997
+ ResponseJson: components["schemas"]["Null"];
998
+ ResponseJson_LoginResponseDto: {
999
+ /** Format: uuid */
1000
+ userId: string;
1001
+ account: string;
1002
+ accessToken: string;
1003
+ };
1004
+ /** @default null */
1005
+ ResponseJson_Null: unknown;
1006
+ ResponseJson_PaginatedData_Baby: {
1007
+ records: {
1008
+ /** Format: uuid */
1009
+ id: string;
1010
+ name: string;
1011
+ gender?: null | components["schemas"]["Gender"];
1012
+ /** Format: uuid */
1013
+ createdBy: string;
1014
+ /** Format: date-time */
1015
+ createdAt: string;
1016
+ /** Format: date-time */
1017
+ updatedAt: string;
1018
+ }[];
1019
+ /** Format: int64 */
1020
+ total: number;
1021
+ };
1022
+ ResponseJson_PaginatedData_Feeding: {
1023
+ records: {
1024
+ /** Format: uuid */
1025
+ id: string;
1026
+ /** Format: uuid */
1027
+ baby_id: string;
1028
+ kind: components["schemas"]["FeedingKind"];
1029
+ description?: string | null;
1030
+ /** Format: int32 */
1031
+ quantity: number;
1032
+ /** Format: date-time */
1033
+ datetime: string;
1034
+ /** Format: date-time */
1035
+ created_at: string;
1036
+ /** Format: date-time */
1037
+ updated_at: string;
1038
+ }[];
1039
+ /** Format: int64 */
1040
+ total: number;
1041
+ };
1042
+ ResponseJson_PaginatedData_Permission: {
1043
+ records: {
1044
+ /** Format: uuid */
1045
+ id: string;
1046
+ code: string;
1047
+ description?: string | null;
1048
+ /** Format: date-time */
1049
+ createdAt: string;
1050
+ /** Format: date-time */
1051
+ updatedAt: string;
1052
+ }[];
1053
+ /** Format: int64 */
1054
+ total: number;
1055
+ };
1056
+ ResponseJson_PaginatedData_RoleDto: {
1057
+ records: {
1058
+ /** Format: uuid */
1059
+ id: string;
1060
+ name: string;
1061
+ description?: string | null;
1062
+ /** Format: date-time */
1063
+ created_at: string;
1064
+ /** Format: date-time */
1065
+ updated_at: string;
1066
+ }[];
1067
+ /** Format: int64 */
1068
+ total: number;
1069
+ };
1070
+ ResponseJson_PaginatedData_UrinationDefecation: {
1071
+ records: {
1072
+ /** Format: uuid */
1073
+ id: string;
1074
+ /** Format: uuid */
1075
+ baby_id: string;
1076
+ kind: components["schemas"]["UrinationDefecationKind"];
1077
+ color?: null | components["schemas"]["UrinationDefecationColor"];
1078
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
1079
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
1080
+ /** Format: date-time */
1081
+ created_at: string;
1082
+ /** Format: date-time */
1083
+ updated_at: string;
1084
+ }[];
1085
+ /** Format: int64 */
1086
+ total: number;
1087
+ };
1088
+ ResponseJson_PaginatedData_UserDto: {
1089
+ records: {
1090
+ /** Format: uuid */
1091
+ id: string;
1092
+ account: string;
1093
+ nickname?: string | null;
1094
+ realName?: string | null;
1095
+ phone?: string | null;
1096
+ email?: string | null;
1097
+ emailVerified: boolean;
1098
+ avatarUrl?: string | null;
1099
+ gender?: null | components["schemas"]["Gender"];
1100
+ /** Format: date-time */
1101
+ createdAt: string;
1102
+ /** Format: date-time */
1103
+ updatedAt: string;
1104
+ }[];
1105
+ /** Format: int64 */
1106
+ total: number;
1107
+ };
1108
+ ResponseJson_SessionInfoDto: {
1109
+ account: string;
1110
+ nickname?: string | null;
1111
+ };
1112
+ ResponseJson_String: string;
1113
+ ResponseJson_UploadDto: {
1114
+ /** Format: uuid */
1115
+ id: string;
1116
+ hash: string;
1117
+ name: string;
1118
+ extension: string;
1119
+ /** Format: int64 */
1120
+ size: number;
1121
+ /** Format: int32 */
1122
+ chunkSize: number;
1123
+ status: components["schemas"]["UploadStatus"];
1124
+ missingChunks: number[];
1125
+ /** Format: date-time */
1126
+ mergedAt?: string | null;
1127
+ /** Format: date-time */
1128
+ createdAt: string;
1129
+ /** Format: date-time */
1130
+ updatedAt: string;
1131
+ };
1132
+ ResponseJson_Vec_SessionDto: {
1133
+ /** Format: uuid */
1134
+ id: string;
1135
+ platform?: string | null;
1136
+ agent?: string | null;
1137
+ /** Format: date-time */
1138
+ createdAt: string;
1139
+ }[];
1140
+ RoleDto: {
1141
+ /** Format: uuid */
1142
+ id: string;
449
1143
  name: string;
450
1144
  description?: string | null;
1145
+ /** Format: date-time */
1146
+ created_at: string;
1147
+ /** Format: date-time */
1148
+ updated_at: string;
1149
+ };
1150
+ /** @description Role filter params */
1151
+ RoleFilterDto: {
1152
+ name?: string | null;
1153
+ };
1154
+ /**
1155
+ * @description Role filter params
1156
+ * @enum {string}
1157
+ */
1158
+ RoleOrderDto: "name";
1159
+ SessionDto: {
451
1160
  /** Format: uuid */
452
- parent_id?: string | null;
1161
+ id: string;
1162
+ platform?: string | null;
1163
+ agent?: string | null;
1164
+ /** Format: date-time */
1165
+ createdAt: string;
453
1166
  };
454
- CreateUploadDto: {
455
- name: string;
1167
+ SessionInfoDto: {
1168
+ account: string;
1169
+ nickname?: string | null;
1170
+ };
1171
+ SignJsSdkData: {
1172
+ appId: string;
1173
+ timestamp: string;
1174
+ nonceStr: string;
1175
+ signature: string;
1176
+ };
1177
+ /** @enum {string} */
1178
+ ThirdParty: "wechat" | "github";
1179
+ UpdateBabyParams: {
1180
+ /** Format: uuid */
1181
+ id: string;
1182
+ name?: string | null;
1183
+ };
1184
+ UpdateFeedingParams: {
1185
+ /** Format: uuid */
1186
+ id: string;
1187
+ /** Format: int64 */
1188
+ quantity?: number | null;
1189
+ /** Format: date-time */
1190
+ datetime?: string | null;
1191
+ };
1192
+ UpdateHealthRecordParams: {
1193
+ /** Format: uuid */
1194
+ id: string;
1195
+ /** Format: int64 */
1196
+ quantity?: number | null;
1197
+ /** Format: date-time */
1198
+ datetime?: string | null;
1199
+ };
1200
+ UpdatePermissionParams: {
1201
+ /** Format: uuid */
1202
+ id: string;
1203
+ code?: string | null;
1204
+ description?: string | null;
1205
+ };
1206
+ /** @description Role update params */
1207
+ UpdateRoleRequestDto: {
1208
+ /** Format: uuid */
1209
+ id: string;
1210
+ name?: string | null;
1211
+ description?: string | null;
1212
+ };
1213
+ UpdateUrinationDefecationParams: {
1214
+ /** Format: uuid */
1215
+ id: string;
1216
+ color?: string | null;
1217
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
1218
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
1219
+ /** Format: date-time */
1220
+ datetime?: string | null;
1221
+ };
1222
+ UploadDto: {
1223
+ /** Format: uuid */
1224
+ id: string;
456
1225
  hash: string;
1226
+ name: string;
1227
+ extension: string;
457
1228
  /** Format: int64 */
458
1229
  size: number;
1230
+ /** Format: int32 */
1231
+ chunkSize: number;
1232
+ status: components["schemas"]["UploadStatus"];
1233
+ missingChunks: number[];
1234
+ /** Format: date-time */
1235
+ mergedAt?: string | null;
1236
+ /** Format: date-time */
1237
+ createdAt: string;
1238
+ /** Format: date-time */
1239
+ updatedAt: string;
459
1240
  };
460
- CreateUserDto: {
461
- account: string;
462
- password: string;
1241
+ UploadFileChunkDto: {
1242
+ /** Format: uuid */
1243
+ uploadId: string;
1244
+ /** Format: int32 */
1245
+ index: number;
1246
+ /** Format: binary */
1247
+ chunk: string;
463
1248
  };
464
- DeletePermissionsParams: string[];
465
- /** @description User id list */
466
- DeleteUsersRequestDto: string[];
467
- /** @default null */
468
- DisableOrder: unknown;
469
1249
  /** @enum {string} */
470
- Gender: "unknown" | "male" | "female";
471
- LoginMethod: {
1250
+ UploadStatus: "uploading" | "merged";
1251
+ UrinationDefecation: {
1252
+ /** Format: uuid */
1253
+ id: string;
1254
+ /** Format: uuid */
1255
+ baby_id: string;
1256
+ kind: components["schemas"]["UrinationDefecationKind"];
1257
+ color?: null | components["schemas"]["UrinationDefecationColor"];
1258
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
1259
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
1260
+ /** Format: date-time */
1261
+ created_at: string;
1262
+ /** Format: date-time */
1263
+ updated_at: string;
1264
+ };
1265
+ /** @enum {string} */
1266
+ UrinationDefecationColor: "darkGreen" | "goldenYellow" | "yellow" | "brown" | "black" | "red";
1267
+ /** @enum {string} */
1268
+ UrinationDefecationKind: "urination" | "defecation";
1269
+ /** @enum {string} */
1270
+ UrinationDefecationQuantity: "small" | "medium" | "large";
1271
+ /** @enum {string} */
1272
+ UrinationDefecationViscosity: "watery" | "loose" | "mushy" | "formed" | "firm";
1273
+ UserDto: {
1274
+ /** Format: uuid */
1275
+ id: string;
472
1276
  account: string;
473
- password: string;
474
- } | {
475
- thirdParty: string;
476
- code: string;
1277
+ nickname?: string | null;
1278
+ realName?: string | null;
1279
+ phone?: string | null;
1280
+ email?: string | null;
1281
+ emailVerified: boolean;
1282
+ avatarUrl?: string | null;
1283
+ gender?: null | components["schemas"]["Gender"];
1284
+ /** Format: date-time */
1285
+ createdAt: string;
1286
+ /** Format: date-time */
1287
+ updatedAt: string;
477
1288
  };
478
- LoginParamsDto: components["schemas"]["LoginMethod"] & {
479
- platform?: null | components["schemas"]["LoginPlatform"];
1289
+ UserFilterDto: {
1290
+ account?: string | null;
480
1291
  };
481
- /** @enum {string} */
482
- LoginPlatform: "web" | "ios" | "android" | "weapp";
483
- LoginResponseDto: {
484
- /** Format: uuid */
485
- userId: string;
486
- account: string;
487
- accessToken: string;
1292
+ };
1293
+ responses: never;
1294
+ parameters: never;
1295
+ requestBodies: never;
1296
+ headers: never;
1297
+ pathItems: never;
1298
+ }
1299
+ interface operations {
1300
+ register: {
1301
+ parameters: {
1302
+ query?: never;
1303
+ header?: never;
1304
+ path?: never;
1305
+ cookie?: never;
488
1306
  };
489
- MergeFileChunksDto: {
490
- /** Format: uuid */
491
- uploadId: string;
1307
+ requestBody: {
1308
+ content: {
1309
+ "application/json": components["schemas"]["RegisterRequestDto"];
1310
+ };
492
1311
  };
493
- /** @default null */
494
- Null: unknown;
495
- /** @enum {string} */
496
- Order: "asc" | "desc";
497
- OrderDto_DisableOrder: {
498
- /** @default null */
499
- field: unknown;
500
- order: components["schemas"]["Order"];
1312
+ responses: {
1313
+ /** @description ok */
1314
+ 200: {
1315
+ headers: {
1316
+ [name: string]: unknown;
1317
+ };
1318
+ content: {
1319
+ "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1320
+ };
1321
+ };
501
1322
  };
502
- OrderDto_PermissionOrders: {
503
- /** @enum {string} */
504
- field: "createdAt";
505
- order: components["schemas"]["Order"];
1323
+ };
1324
+ login: {
1325
+ parameters: {
1326
+ query?: never;
1327
+ header?: never;
1328
+ path?: never;
1329
+ cookie?: never;
506
1330
  };
507
- OrderDto_UserOrderField: {
508
- /** @enum {string} */
509
- field: "account";
510
- order: components["schemas"]["Order"];
1331
+ /** @description Login params */
1332
+ requestBody: {
1333
+ content: {
1334
+ /**
1335
+ * @example {
1336
+ * "account": "admin",
1337
+ * "password": "admin",
1338
+ * "platform": null
1339
+ * }
1340
+ */
1341
+ "application/json": components["schemas"]["LoginParamsDto"];
1342
+ };
511
1343
  };
512
- PageableQueryDto_PermissionFilters_PermissionOrders: {
513
- /** Format: int64 */
514
- page: number;
515
- /** Format: int64 */
516
- pageSize: number;
517
- filters?: {
518
- permissionGroupId?: string | null;
519
- kind?: string | null;
520
- code?: string | null;
1344
+ responses: {
1345
+ /** @description ok */
1346
+ 200: {
1347
+ headers: {
1348
+ [name: string]: unknown;
1349
+ };
1350
+ content: {
1351
+ "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1352
+ };
521
1353
  };
522
- orders?: components["schemas"]["OrderDto_PermissionOrders"][] | null;
523
1354
  };
524
- PageableQueryDto_RoleFilterDto_DisableOrder: {
525
- /** Format: int64 */
526
- page: number;
527
- /** Format: int64 */
528
- pageSize: number;
529
- /** @description Role filter params */
530
- filters?: {
531
- name?: string | null;
1355
+ };
1356
+ logout: {
1357
+ parameters: {
1358
+ query?: never;
1359
+ header?: never;
1360
+ path?: never;
1361
+ cookie?: never;
1362
+ };
1363
+ requestBody?: never;
1364
+ responses: {
1365
+ /** @description ok */
1366
+ 200: {
1367
+ headers: {
1368
+ [name: string]: unknown;
1369
+ };
1370
+ content: {
1371
+ "application/json": components["schemas"]["ResponseJson_Null"];
1372
+ };
532
1373
  };
533
- orders?: components["schemas"]["OrderDto_DisableOrder"][] | null;
534
1374
  };
535
- PageableQueryDto_UserFilterDto_UserOrderField: {
536
- /** Format: int64 */
537
- page: number;
538
- /** Format: int64 */
539
- pageSize: number;
540
- filters?: {
541
- account?: string | null;
1375
+ };
1376
+ logoutAll: {
1377
+ parameters: {
1378
+ query?: never;
1379
+ header?: never;
1380
+ path?: never;
1381
+ cookie?: never;
1382
+ };
1383
+ requestBody?: never;
1384
+ responses: {
1385
+ /** @description ok */
1386
+ 200: {
1387
+ headers: {
1388
+ [name: string]: unknown;
1389
+ };
1390
+ content: {
1391
+ "application/json": components["schemas"]["ResponseJson_Null"];
1392
+ };
542
1393
  };
543
- orders?: components["schemas"]["OrderDto_UserOrderField"][] | null;
544
1394
  };
545
- Permission: {
546
- /** Format: uuid */
547
- id: string;
548
- code: string;
549
- description?: string | null;
550
- /** Format: date-time */
551
- createdAt: string;
552
- /** Format: date-time */
553
- updatedAt: string;
1395
+ };
1396
+ createPermission: {
1397
+ parameters: {
1398
+ query?: never;
1399
+ header?: never;
1400
+ path?: never;
1401
+ cookie?: never;
554
1402
  };
555
- PermissionFilters: {
556
- permissionGroupId?: string | null;
557
- kind?: string | null;
558
- code?: string | null;
1403
+ requestBody: {
1404
+ content: {
1405
+ "application/json": components["schemas"]["CreatePermissionParams"];
1406
+ };
559
1407
  };
560
- /** @enum {string} */
561
- PermissionOrders: "createdAt";
562
- RegisterRequestDto: {
563
- account: string;
564
- password: string;
565
- ip?: string | null;
566
- platform?: null | components["schemas"]["LoginPlatform"];
1408
+ responses: {
1409
+ /** @description ok */
1410
+ 200: {
1411
+ headers: {
1412
+ [name: string]: unknown;
1413
+ };
1414
+ content: {
1415
+ "application/json": components["schemas"]["ResponseJson_String"];
1416
+ };
1417
+ };
567
1418
  };
568
- ResponseJson: components["schemas"]["Null"];
569
- ResponseJson_LoginResponseDto: {
570
- /** Format: uuid */
571
- userId: string;
572
- account: string;
573
- accessToken: string;
1419
+ };
1420
+ queryPermissions: {
1421
+ parameters: {
1422
+ query?: never;
1423
+ header?: never;
1424
+ path?: never;
1425
+ cookie?: never;
574
1426
  };
575
- /** @default null */
576
- ResponseJson_Null: unknown;
577
- ResponseJson_PaginatedData_Permission: {
578
- records: {
579
- /** Format: uuid */
580
- id: string;
581
- code: string;
582
- description?: string | null;
583
- /** Format: date-time */
584
- createdAt: string;
585
- /** Format: date-time */
586
- updatedAt: string;
587
- }[];
588
- /** Format: int64 */
589
- total: number;
1427
+ requestBody: {
1428
+ content: {
1429
+ "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1430
+ };
590
1431
  };
591
- ResponseJson_PaginatedData_RoleDto: {
592
- records: {
593
- /** Format: uuid */
594
- id: string;
595
- name: string;
596
- description?: string | null;
597
- /** Format: date-time */
598
- created_at: string;
599
- /** Format: date-time */
600
- updated_at: string;
601
- }[];
602
- /** Format: int64 */
603
- total: number;
1432
+ responses: {
1433
+ /** @description ok */
1434
+ 200: {
1435
+ headers: {
1436
+ [name: string]: unknown;
1437
+ };
1438
+ content: {
1439
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1440
+ };
1441
+ };
604
1442
  };
605
- ResponseJson_PaginatedData_UserDto: {
606
- records: {
607
- /** Format: uuid */
608
- id: string;
609
- account: string;
610
- nickname?: string | null;
611
- realName?: string | null;
612
- phone?: string | null;
613
- email?: string | null;
614
- emailVerified: boolean;
615
- avatarUrl?: string | null;
616
- gender?: null | components["schemas"]["Gender"];
617
- /** Format: date-time */
618
- createdAt: string;
619
- /** Format: date-time */
620
- updatedAt: string;
621
- }[];
622
- /** Format: int64 */
623
- total: number;
1443
+ };
1444
+ deletePermissions: {
1445
+ parameters: {
1446
+ query?: never;
1447
+ header?: never;
1448
+ path?: never;
1449
+ cookie?: never;
1450
+ };
1451
+ requestBody: {
1452
+ content: {
1453
+ "application/json": components["schemas"]["DeletePermissionsParams"];
1454
+ };
624
1455
  };
625
- ResponseJson_SessionInfoDto: {
626
- account: string;
627
- nickname?: string | null;
1456
+ responses: {
1457
+ /** @description ok */
1458
+ 200: {
1459
+ headers: {
1460
+ [name: string]: unknown;
1461
+ };
1462
+ content: {
1463
+ "application/json": components["schemas"]["ResponseJson"];
1464
+ };
1465
+ };
628
1466
  };
629
- ResponseJson_String: string;
630
- ResponseJson_UploadDto: {
631
- /** Format: uuid */
632
- id: string;
633
- hash: string;
634
- name: string;
635
- extension: string;
636
- /** Format: int64 */
637
- size: number;
638
- /** Format: int32 */
639
- chunkSize: number;
640
- status: components["schemas"]["UploadStatus"];
641
- missingChunks: number[];
642
- /** Format: date-time */
643
- mergedAt?: string | null;
644
- /** Format: date-time */
645
- createdAt: string;
646
- /** Format: date-time */
647
- updatedAt: string;
1467
+ };
1468
+ updatePermission: {
1469
+ parameters: {
1470
+ query?: never;
1471
+ header?: never;
1472
+ path?: never;
1473
+ cookie?: never;
648
1474
  };
649
- ResponseJson_Vec_SessionDto: {
650
- /** Format: uuid */
651
- id: string;
652
- platform?: string | null;
653
- agent?: string | null;
654
- /** Format: date-time */
655
- createdAt: string;
656
- }[];
657
- RoleDto: {
658
- /** Format: uuid */
659
- id: string;
660
- name: string;
661
- description?: string | null;
662
- /** Format: date-time */
663
- created_at: string;
664
- /** Format: date-time */
665
- updated_at: string;
1475
+ requestBody: {
1476
+ content: {
1477
+ "application/json": components["schemas"]["UpdatePermissionParams"];
1478
+ };
666
1479
  };
667
- /** @description Role filter params */
668
- RoleFilterDto: {
669
- name?: string | null;
1480
+ responses: {
1481
+ /** @description ok */
1482
+ 200: {
1483
+ headers: {
1484
+ [name: string]: unknown;
1485
+ };
1486
+ content: {
1487
+ "application/json": components["schemas"]["ResponseJson_Null"];
1488
+ };
1489
+ };
670
1490
  };
671
- SessionDto: {
672
- /** Format: uuid */
673
- id: string;
674
- platform?: string | null;
675
- agent?: string | null;
676
- /** Format: date-time */
677
- createdAt: string;
1491
+ };
1492
+ queryRoles: {
1493
+ parameters: {
1494
+ query?: never;
1495
+ header?: never;
1496
+ path?: never;
1497
+ cookie?: never;
678
1498
  };
679
- SessionInfoDto: {
680
- account: string;
681
- nickname?: string | null;
1499
+ requestBody: {
1500
+ content: {
1501
+ "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_RoleOrderDto"];
1502
+ };
682
1503
  };
683
- SignJsSdkData: {
684
- appId: string;
685
- timestamp: string;
686
- nonceStr: string;
687
- signature: string;
1504
+ responses: {
1505
+ /** @description ok */
1506
+ 200: {
1507
+ headers: {
1508
+ [name: string]: unknown;
1509
+ };
1510
+ content: {
1511
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_RoleDto"];
1512
+ };
1513
+ };
688
1514
  };
689
- UpdatePermissionParams: {
690
- /** Format: uuid */
691
- id: string;
692
- code?: string | null;
693
- description?: string | null;
1515
+ };
1516
+ createRole: {
1517
+ parameters: {
1518
+ query?: never;
1519
+ header?: never;
1520
+ path?: never;
1521
+ cookie?: never;
694
1522
  };
695
- /** @description Role update params */
696
- UpdateRoleRequestDto: {
697
- /** Format: uuid */
698
- id: string;
699
- name?: string | null;
700
- description?: string | null;
1523
+ requestBody: {
1524
+ content: {
1525
+ "application/json": components["schemas"]["CreateRoleRequestDto"];
1526
+ };
701
1527
  };
702
- UploadDto: {
703
- /** Format: uuid */
704
- id: string;
705
- hash: string;
706
- name: string;
707
- extension: string;
708
- /** Format: int64 */
709
- size: number;
710
- /** Format: int32 */
711
- chunkSize: number;
712
- status: components["schemas"]["UploadStatus"];
713
- missingChunks: number[];
714
- /** Format: date-time */
715
- mergedAt?: string | null;
716
- /** Format: date-time */
717
- createdAt: string;
718
- /** Format: date-time */
719
- updatedAt: string;
1528
+ responses: {
1529
+ /** @description ok */
1530
+ 200: {
1531
+ headers: {
1532
+ [name: string]: unknown;
1533
+ };
1534
+ content: {
1535
+ "application/json": components["schemas"]["ResponseJson_String"];
1536
+ };
1537
+ };
720
1538
  };
721
- UploadFileChunkDto: {
722
- /** Format: uuid */
723
- uploadId: string;
724
- /** Format: int32 */
725
- index: number;
726
- /** Format: binary */
727
- chunk: string;
1539
+ };
1540
+ deleteRoles: {
1541
+ parameters: {
1542
+ query?: never;
1543
+ header?: never;
1544
+ path?: never;
1545
+ cookie?: never;
728
1546
  };
729
- /** @enum {string} */
730
- UploadStatus: "uploading" | "merged";
731
- UserDto: {
732
- /** Format: uuid */
733
- id: string;
734
- account: string;
735
- nickname?: string | null;
736
- realName?: string | null;
737
- phone?: string | null;
738
- email?: string | null;
739
- emailVerified: boolean;
740
- avatarUrl?: string | null;
741
- gender?: null | components["schemas"]["Gender"];
742
- /** Format: date-time */
743
- createdAt: string;
744
- /** Format: date-time */
745
- updatedAt: string;
1547
+ requestBody: {
1548
+ content: {
1549
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
1550
+ };
746
1551
  };
747
- UserFilterDto: {
748
- account?: string | null;
1552
+ responses: {
1553
+ /** @description ok */
1554
+ 200: {
1555
+ headers: {
1556
+ [name: string]: unknown;
1557
+ };
1558
+ content: {
1559
+ "application/json": components["schemas"]["ResponseJson"];
1560
+ };
1561
+ };
749
1562
  };
750
- /** @enum {string} */
751
- UserOrderField: "account";
752
1563
  };
753
- responses: never;
754
- parameters: never;
755
- requestBodies: never;
756
- headers: never;
757
- pathItems: never;
758
- }
759
- interface operations {
760
- register: {
1564
+ updateRole: {
761
1565
  parameters: {
762
1566
  query?: never;
763
1567
  header?: never;
@@ -766,9 +1570,49 @@ interface operations {
766
1570
  };
767
1571
  requestBody: {
768
1572
  content: {
769
- "application/json": components["schemas"]["RegisterRequestDto"];
1573
+ "application/json": components["schemas"]["UpdateRoleRequestDto"];
1574
+ };
1575
+ };
1576
+ responses: {
1577
+ /** @description ok */
1578
+ 200: {
1579
+ headers: {
1580
+ [name: string]: unknown;
1581
+ };
1582
+ content: {
1583
+ "application/json": components["schemas"]["ResponseJson_Null"];
1584
+ };
1585
+ };
1586
+ };
1587
+ };
1588
+ query_session: {
1589
+ parameters: {
1590
+ query?: never;
1591
+ header?: never;
1592
+ path?: never;
1593
+ cookie?: never;
1594
+ };
1595
+ requestBody?: never;
1596
+ responses: {
1597
+ /** @description ok */
1598
+ 200: {
1599
+ headers: {
1600
+ [name: string]: unknown;
1601
+ };
1602
+ content: {
1603
+ "application/json": components["schemas"]["ResponseJson_SessionInfoDto"];
1604
+ };
770
1605
  };
771
1606
  };
1607
+ };
1608
+ query_active_sessions: {
1609
+ parameters: {
1610
+ query?: never;
1611
+ header?: never;
1612
+ path?: never;
1613
+ cookie?: never;
1614
+ };
1615
+ requestBody?: never;
772
1616
  responses: {
773
1617
  /** @description ok */
774
1618
  200: {
@@ -776,31 +1620,21 @@ interface operations {
776
1620
  [name: string]: unknown;
777
1621
  };
778
1622
  content: {
779
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1623
+ "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
780
1624
  };
781
1625
  };
782
1626
  };
783
1627
  };
784
- login: {
1628
+ delete_session: {
785
1629
  parameters: {
786
- query?: never;
1630
+ query: {
1631
+ id: string;
1632
+ };
787
1633
  header?: never;
788
1634
  path?: never;
789
1635
  cookie?: never;
790
1636
  };
791
- /** @description Login params */
792
- requestBody: {
793
- content: {
794
- /**
795
- * @example {
796
- * "account": "admin",
797
- * "password": "5Zp4K/VbP4M6Ni1++xyveO0HybfFKvbtc6odjhevafneqTO9ukNIECrrQ+esunle1aD+tq6wl1RLB+YXHrXK7CfDK1ytITyYXlayt7LZDGyVa/UZBFzCTe4FgAcyM3Gu58hzWeWWN0DBiarUOKQMfKqAUrYD6A9JE8/rG5pzveZDw6yX2/iJekA1UGs5ySGz/+A5exd1jkE9w1VmFv1R9h9b2g5f4XQqBgystcqofyfufakP8pGwhNQNfkN35BQYrZq32t/NQB1VzNY4lFLjAwVY1Da9zERRq/jnty9K7eoiofmMu3veKEATU4BmLeoKq188SY4tACEFQjiT8227QA==",
798
- * "platform": null
799
- * }
800
- */
801
- "application/json": components["schemas"]["LoginParamsDto"];
802
- };
803
- };
1637
+ requestBody?: never;
804
1638
  responses: {
805
1639
  /** @description ok */
806
1640
  200: {
@@ -808,12 +1642,12 @@ interface operations {
808
1642
  [name: string]: unknown;
809
1643
  };
810
1644
  content: {
811
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1645
+ "application/json": components["schemas"]["ResponseJson_Null"];
812
1646
  };
813
1647
  };
814
1648
  };
815
1649
  };
816
- logout: {
1650
+ querySystemRsaPublicKey: {
817
1651
  parameters: {
818
1652
  query?: never;
819
1653
  header?: never;
@@ -828,19 +1662,23 @@ interface operations {
828
1662
  [name: string]: unknown;
829
1663
  };
830
1664
  content: {
831
- "application/json": components["schemas"]["ResponseJson_Null"];
1665
+ "text/plain": string;
832
1666
  };
833
1667
  };
834
1668
  };
835
1669
  };
836
- logoutAll: {
1670
+ createUser: {
837
1671
  parameters: {
838
1672
  query?: never;
839
1673
  header?: never;
840
1674
  path?: never;
841
1675
  cookie?: never;
842
1676
  };
843
- requestBody?: never;
1677
+ requestBody: {
1678
+ content: {
1679
+ "application/json": components["schemas"]["CreateUserDto"];
1680
+ };
1681
+ };
844
1682
  responses: {
845
1683
  /** @description ok */
846
1684
  200: {
@@ -848,12 +1686,12 @@ interface operations {
848
1686
  [name: string]: unknown;
849
1687
  };
850
1688
  content: {
851
- "application/json": components["schemas"]["ResponseJson_Null"];
1689
+ "application/json": components["schemas"]["ResponseJson_String"];
852
1690
  };
853
1691
  };
854
1692
  };
855
1693
  };
856
- createPermission: {
1694
+ queryUsers: {
857
1695
  parameters: {
858
1696
  query?: never;
859
1697
  header?: never;
@@ -862,7 +1700,7 @@ interface operations {
862
1700
  };
863
1701
  requestBody: {
864
1702
  content: {
865
- "application/json": components["schemas"]["CreatePermissionParams"];
1703
+ "application/json": components["schemas"]["PageableQueryDto_UserFilterDto"];
866
1704
  };
867
1705
  };
868
1706
  responses: {
@@ -872,12 +1710,12 @@ interface operations {
872
1710
  [name: string]: unknown;
873
1711
  };
874
1712
  content: {
875
- "application/json": components["schemas"]["ResponseJson_String"];
1713
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
876
1714
  };
877
1715
  };
878
1716
  };
879
1717
  };
880
- queryPermissionsByPage: {
1718
+ deleteUsers: {
881
1719
  parameters: {
882
1720
  query?: never;
883
1721
  header?: never;
@@ -886,7 +1724,7 @@ interface operations {
886
1724
  };
887
1725
  requestBody: {
888
1726
  content: {
889
- "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1727
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
890
1728
  };
891
1729
  };
892
1730
  responses: {
@@ -896,12 +1734,41 @@ interface operations {
896
1734
  [name: string]: unknown;
897
1735
  };
898
1736
  content: {
899
- "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1737
+ "application/json": components["schemas"]["ResponseJson"];
900
1738
  };
901
1739
  };
902
1740
  };
903
1741
  };
904
- deletePermissions: {
1742
+ getFile: {
1743
+ parameters: {
1744
+ query: {
1745
+ id: string;
1746
+ };
1747
+ header?: never;
1748
+ path?: never;
1749
+ cookie?: never;
1750
+ };
1751
+ requestBody?: never;
1752
+ responses: {
1753
+ /** @description ok */
1754
+ 200: {
1755
+ headers: {
1756
+ [name: string]: unknown;
1757
+ };
1758
+ content: {
1759
+ "application/octet-stream": number[];
1760
+ };
1761
+ };
1762
+ /** @description not found */
1763
+ 404: {
1764
+ headers: {
1765
+ [name: string]: unknown;
1766
+ };
1767
+ content?: never;
1768
+ };
1769
+ };
1770
+ };
1771
+ createUpload: {
905
1772
  parameters: {
906
1773
  query?: never;
907
1774
  header?: never;
@@ -910,7 +1777,7 @@ interface operations {
910
1777
  };
911
1778
  requestBody: {
912
1779
  content: {
913
- "application/json": components["schemas"]["DeletePermissionsParams"];
1780
+ "application/json": components["schemas"]["CreateUploadDto"];
914
1781
  };
915
1782
  };
916
1783
  responses: {
@@ -920,12 +1787,12 @@ interface operations {
920
1787
  [name: string]: unknown;
921
1788
  };
922
1789
  content: {
923
- "application/json": components["schemas"]["ResponseJson"];
1790
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
924
1791
  };
925
1792
  };
926
1793
  };
927
1794
  };
928
- updatePermission: {
1795
+ uploadFileChunk: {
929
1796
  parameters: {
930
1797
  query?: never;
931
1798
  header?: never;
@@ -934,7 +1801,7 @@ interface operations {
934
1801
  };
935
1802
  requestBody: {
936
1803
  content: {
937
- "application/json": components["schemas"]["UpdatePermissionParams"];
1804
+ "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
938
1805
  };
939
1806
  };
940
1807
  responses: {
@@ -949,7 +1816,7 @@ interface operations {
949
1816
  };
950
1817
  };
951
1818
  };
952
- queryRolesByPage: {
1819
+ mergeFileChunks: {
953
1820
  parameters: {
954
1821
  query?: never;
955
1822
  header?: never;
@@ -958,7 +1825,7 @@ interface operations {
958
1825
  };
959
1826
  requestBody: {
960
1827
  content: {
961
- "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_DisableOrder"];
1828
+ "application/json": components["schemas"]["MergeFileChunksDto"];
962
1829
  };
963
1830
  };
964
1831
  responses: {
@@ -968,23 +1835,46 @@ interface operations {
968
1835
  [name: string]: unknown;
969
1836
  };
970
1837
  content: {
971
- "application/json": components["schemas"]["ResponseJson_PaginatedData_RoleDto"];
1838
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
972
1839
  };
973
1840
  };
974
1841
  };
975
1842
  };
976
- createRole: {
1843
+ wechatSignJsSdk: {
977
1844
  parameters: {
978
- query?: never;
1845
+ query: {
1846
+ url: string;
1847
+ };
979
1848
  header?: never;
980
1849
  path?: never;
981
1850
  cookie?: never;
982
1851
  };
983
- requestBody: {
984
- content: {
985
- "application/json": components["schemas"]["CreateRoleRequestDto"];
1852
+ requestBody?: never;
1853
+ responses: {
1854
+ /** @description ok */
1855
+ 200: {
1856
+ headers: {
1857
+ [name: string]: unknown;
1858
+ };
1859
+ content: {
1860
+ "application/json": components["schemas"]["SignJsSdkData"];
1861
+ };
1862
+ };
1863
+ };
1864
+ };
1865
+ wechat_verify_server: {
1866
+ parameters: {
1867
+ query: {
1868
+ signature: string;
1869
+ timestamp: string;
1870
+ nonce: string;
1871
+ echostr: string;
986
1872
  };
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
987
1876
  };
1877
+ requestBody?: never;
988
1878
  responses: {
989
1879
  /** @description ok */
990
1880
  200: {
@@ -992,12 +1882,12 @@ interface operations {
992
1882
  [name: string]: unknown;
993
1883
  };
994
1884
  content: {
995
- "application/json": components["schemas"]["ResponseJson_String"];
1885
+ "text/plain": string;
996
1886
  };
997
1887
  };
998
1888
  };
999
1889
  };
1000
- deleteRoles: {
1890
+ wechat_webhook: {
1001
1891
  parameters: {
1002
1892
  query?: never;
1003
1893
  header?: never;
@@ -1006,7 +1896,7 @@ interface operations {
1006
1896
  };
1007
1897
  requestBody: {
1008
1898
  content: {
1009
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1899
+ "application/xml": string;
1010
1900
  };
1011
1901
  };
1012
1902
  responses: {
@@ -1016,12 +1906,12 @@ interface operations {
1016
1906
  [name: string]: unknown;
1017
1907
  };
1018
1908
  content: {
1019
- "application/json": components["schemas"]["ResponseJson"];
1909
+ "text/plain": string;
1020
1910
  };
1021
1911
  };
1022
1912
  };
1023
1913
  };
1024
- updateRole: {
1914
+ createBaby: {
1025
1915
  parameters: {
1026
1916
  query?: never;
1027
1917
  header?: never;
@@ -1030,7 +1920,7 @@ interface operations {
1030
1920
  };
1031
1921
  requestBody: {
1032
1922
  content: {
1033
- "application/json": components["schemas"]["UpdateRoleRequestDto"];
1923
+ "application/json": components["schemas"]["CreateBabyDto"];
1034
1924
  };
1035
1925
  };
1036
1926
  responses: {
@@ -1040,19 +1930,23 @@ interface operations {
1040
1930
  [name: string]: unknown;
1041
1931
  };
1042
1932
  content: {
1043
- "application/json": components["schemas"]["ResponseJson_Null"];
1933
+ "application/json": components["schemas"]["ResponseJson_String"];
1044
1934
  };
1045
1935
  };
1046
1936
  };
1047
1937
  };
1048
- query_session: {
1938
+ queryBabies: {
1049
1939
  parameters: {
1050
1940
  query?: never;
1051
1941
  header?: never;
1052
1942
  path?: never;
1053
1943
  cookie?: never;
1054
1944
  };
1055
- requestBody?: never;
1945
+ requestBody: {
1946
+ content: {
1947
+ "application/json": components["schemas"]["PageableQueryDto_FilterBabiesParams"];
1948
+ };
1949
+ };
1056
1950
  responses: {
1057
1951
  /** @description ok */
1058
1952
  200: {
@@ -1060,12 +1954,12 @@ interface operations {
1060
1954
  [name: string]: unknown;
1061
1955
  };
1062
1956
  content: {
1063
- "application/json": components["schemas"]["ResponseJson_SessionInfoDto"];
1957
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Baby"];
1064
1958
  };
1065
1959
  };
1066
1960
  };
1067
1961
  };
1068
- query_active_sessions: {
1962
+ queryVisibleBabies: {
1069
1963
  parameters: {
1070
1964
  query?: never;
1071
1965
  header?: never;
@@ -1080,15 +1974,15 @@ interface operations {
1080
1974
  [name: string]: unknown;
1081
1975
  };
1082
1976
  content: {
1083
- "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
1977
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Baby"];
1084
1978
  };
1085
1979
  };
1086
1980
  };
1087
1981
  };
1088
- delete_session: {
1982
+ deleteBabies: {
1089
1983
  parameters: {
1090
1984
  query: {
1091
- id: string;
1985
+ ids: string[];
1092
1986
  };
1093
1987
  header?: never;
1094
1988
  path?: never;
@@ -1102,19 +1996,23 @@ interface operations {
1102
1996
  [name: string]: unknown;
1103
1997
  };
1104
1998
  content: {
1105
- "application/json": components["schemas"]["ResponseJson_Null"];
1999
+ "application/json": components["schemas"]["ResponseJson"];
1106
2000
  };
1107
2001
  };
1108
2002
  };
1109
2003
  };
1110
- querySystemRsaPublicKey: {
2004
+ updateBaby: {
1111
2005
  parameters: {
1112
2006
  query?: never;
1113
2007
  header?: never;
1114
2008
  path?: never;
1115
2009
  cookie?: never;
1116
2010
  };
1117
- requestBody?: never;
2011
+ requestBody: {
2012
+ content: {
2013
+ "application/json": components["schemas"]["UpdateBabyParams"];
2014
+ };
2015
+ };
1118
2016
  responses: {
1119
2017
  /** @description ok */
1120
2018
  200: {
@@ -1122,12 +2020,12 @@ interface operations {
1122
2020
  [name: string]: unknown;
1123
2021
  };
1124
2022
  content: {
1125
- "text/plain": string;
2023
+ "application/json": components["schemas"]["ResponseJson_Null"];
1126
2024
  };
1127
2025
  };
1128
2026
  };
1129
2027
  };
1130
- createUser: {
2028
+ createFeeding: {
1131
2029
  parameters: {
1132
2030
  query?: never;
1133
2031
  header?: never;
@@ -1136,7 +2034,7 @@ interface operations {
1136
2034
  };
1137
2035
  requestBody: {
1138
2036
  content: {
1139
- "application/json": components["schemas"]["CreateUserDto"];
2037
+ "application/json": components["schemas"]["CreateFeedingParams"];
1140
2038
  };
1141
2039
  };
1142
2040
  responses: {
@@ -1151,7 +2049,7 @@ interface operations {
1151
2049
  };
1152
2050
  };
1153
2051
  };
1154
- queryUsersByPage: {
2052
+ queryFeedings: {
1155
2053
  parameters: {
1156
2054
  query?: never;
1157
2055
  header?: never;
@@ -1160,7 +2058,7 @@ interface operations {
1160
2058
  };
1161
2059
  requestBody: {
1162
2060
  content: {
1163
- "application/json": components["schemas"]["PageableQueryDto_UserFilterDto_UserOrderField"];
2061
+ "application/json": components["schemas"]["PageableQueryDto_FeedingFilterParams"];
1164
2062
  };
1165
2063
  };
1166
2064
  responses: {
@@ -1170,23 +2068,21 @@ interface operations {
1170
2068
  [name: string]: unknown;
1171
2069
  };
1172
2070
  content: {
1173
- "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
2071
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Feeding"];
1174
2072
  };
1175
2073
  };
1176
2074
  };
1177
2075
  };
1178
- deleteUsers: {
2076
+ deleteFeedings: {
1179
2077
  parameters: {
1180
- query?: never;
2078
+ query: {
2079
+ ids: string[];
2080
+ };
1181
2081
  header?: never;
1182
2082
  path?: never;
1183
2083
  cookie?: never;
1184
2084
  };
1185
- requestBody: {
1186
- content: {
1187
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1188
- };
1189
- };
2085
+ requestBody?: never;
1190
2086
  responses: {
1191
2087
  /** @description ok */
1192
2088
  200: {
@@ -1199,16 +2095,18 @@ interface operations {
1199
2095
  };
1200
2096
  };
1201
2097
  };
1202
- getFile: {
2098
+ updateFeeding: {
1203
2099
  parameters: {
1204
- query: {
1205
- id: string;
1206
- };
2100
+ query?: never;
1207
2101
  header?: never;
1208
2102
  path?: never;
1209
2103
  cookie?: never;
1210
2104
  };
1211
- requestBody?: never;
2105
+ requestBody: {
2106
+ content: {
2107
+ "application/json": components["schemas"]["UpdateFeedingParams"];
2108
+ };
2109
+ };
1212
2110
  responses: {
1213
2111
  /** @description ok */
1214
2112
  200: {
@@ -1216,19 +2114,36 @@ interface operations {
1216
2114
  [name: string]: unknown;
1217
2115
  };
1218
2116
  content: {
1219
- "application/octet-stream": number[];
2117
+ "application/json": components["schemas"]["ResponseJson_Null"];
1220
2118
  };
1221
2119
  };
1222
- /** @description not found */
1223
- 404: {
2120
+ };
2121
+ };
2122
+ createHealthRecord: {
2123
+ parameters: {
2124
+ query?: never;
2125
+ header?: never;
2126
+ path?: never;
2127
+ cookie?: never;
2128
+ };
2129
+ requestBody: {
2130
+ content: {
2131
+ "application/json": components["schemas"]["CreateHealthRecordParams"];
2132
+ };
2133
+ };
2134
+ responses: {
2135
+ /** @description ok */
2136
+ 200: {
1224
2137
  headers: {
1225
2138
  [name: string]: unknown;
1226
2139
  };
1227
- content?: never;
2140
+ content: {
2141
+ "application/json": components["schemas"]["ResponseJson_String"];
2142
+ };
1228
2143
  };
1229
2144
  };
1230
2145
  };
1231
- createUpload: {
2146
+ queryHealthRecords: {
1232
2147
  parameters: {
1233
2148
  query?: never;
1234
2149
  header?: never;
@@ -1237,7 +2152,7 @@ interface operations {
1237
2152
  };
1238
2153
  requestBody: {
1239
2154
  content: {
1240
- "application/json": components["schemas"]["CreateUploadDto"];
2155
+ "application/json": components["schemas"]["PageableQueryDto_FilterHealthRecordsParams"];
1241
2156
  };
1242
2157
  };
1243
2158
  responses: {
@@ -1247,12 +2162,34 @@ interface operations {
1247
2162
  [name: string]: unknown;
1248
2163
  };
1249
2164
  content: {
1250
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2165
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1251
2166
  };
1252
2167
  };
1253
2168
  };
1254
2169
  };
1255
- uploadFileChunk: {
2170
+ deleteHealthRecords: {
2171
+ parameters: {
2172
+ query: {
2173
+ ids: string[];
2174
+ };
2175
+ header?: never;
2176
+ path?: never;
2177
+ cookie?: never;
2178
+ };
2179
+ requestBody?: never;
2180
+ responses: {
2181
+ /** @description ok */
2182
+ 200: {
2183
+ headers: {
2184
+ [name: string]: unknown;
2185
+ };
2186
+ content: {
2187
+ "application/json": components["schemas"]["ResponseJson"];
2188
+ };
2189
+ };
2190
+ };
2191
+ };
2192
+ updateHealthRecord: {
1256
2193
  parameters: {
1257
2194
  query?: never;
1258
2195
  header?: never;
@@ -1261,7 +2198,7 @@ interface operations {
1261
2198
  };
1262
2199
  requestBody: {
1263
2200
  content: {
1264
- "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
2201
+ "application/json": components["schemas"]["UpdateHealthRecordParams"];
1265
2202
  };
1266
2203
  };
1267
2204
  responses: {
@@ -1276,7 +2213,7 @@ interface operations {
1276
2213
  };
1277
2214
  };
1278
2215
  };
1279
- mergeFileChunks: {
2216
+ createUrinationDefecation: {
1280
2217
  parameters: {
1281
2218
  query?: never;
1282
2219
  header?: never;
@@ -1285,7 +2222,7 @@ interface operations {
1285
2222
  };
1286
2223
  requestBody: {
1287
2224
  content: {
1288
- "application/json": components["schemas"]["MergeFileChunksDto"];
2225
+ "application/json": components["schemas"]["CreateUrinationDefecationParams"];
1289
2226
  };
1290
2227
  };
1291
2228
  responses: {
@@ -1295,21 +2232,23 @@ interface operations {
1295
2232
  [name: string]: unknown;
1296
2233
  };
1297
2234
  content: {
1298
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2235
+ "application/json": components["schemas"]["ResponseJson_String"];
1299
2236
  };
1300
2237
  };
1301
2238
  };
1302
2239
  };
1303
- wechatSignJsSdk: {
2240
+ queryUrinationDefecations: {
1304
2241
  parameters: {
1305
- query: {
1306
- url: string;
1307
- };
2242
+ query?: never;
1308
2243
  header?: never;
1309
2244
  path?: never;
1310
2245
  cookie?: never;
1311
2246
  };
1312
- requestBody?: never;
2247
+ requestBody: {
2248
+ content: {
2249
+ "application/json": components["schemas"]["PageableQueryDto_FilterUrinationDefecationParams"];
2250
+ };
2251
+ };
1313
2252
  responses: {
1314
2253
  /** @description ok */
1315
2254
  200: {
@@ -1317,18 +2256,15 @@ interface operations {
1317
2256
  [name: string]: unknown;
1318
2257
  };
1319
2258
  content: {
1320
- "application/json": components["schemas"]["SignJsSdkData"];
2259
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UrinationDefecation"];
1321
2260
  };
1322
2261
  };
1323
2262
  };
1324
2263
  };
1325
- wechat_verify_server: {
2264
+ deleteUrinationDefecations: {
1326
2265
  parameters: {
1327
2266
  query: {
1328
- signature: string;
1329
- timestamp: string;
1330
- nonce: string;
1331
- echostr: string;
2267
+ ids: string[];
1332
2268
  };
1333
2269
  header?: never;
1334
2270
  path?: never;
@@ -1342,12 +2278,12 @@ interface operations {
1342
2278
  [name: string]: unknown;
1343
2279
  };
1344
2280
  content: {
1345
- "text/plain": string;
2281
+ "application/json": components["schemas"]["ResponseJson"];
1346
2282
  };
1347
2283
  };
1348
2284
  };
1349
2285
  };
1350
- wechat_webhook: {
2286
+ updateUrinationDefecation: {
1351
2287
  parameters: {
1352
2288
  query?: never;
1353
2289
  header?: never;
@@ -1356,7 +2292,7 @@ interface operations {
1356
2292
  };
1357
2293
  requestBody: {
1358
2294
  content: {
1359
- "application/xml": string;
2295
+ "application/json": components["schemas"]["UpdateUrinationDefecationParams"];
1360
2296
  };
1361
2297
  };
1362
2298
  responses: {
@@ -1366,7 +2302,7 @@ interface operations {
1366
2302
  [name: string]: unknown;
1367
2303
  };
1368
2304
  content: {
1369
- "text/plain": string;
2305
+ "application/json": components["schemas"]["ResponseJson_Null"];
1370
2306
  };
1371
2307
  };
1372
2308
  };