@hapaul/api 0.1.17 → 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 -379
  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,325 +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: {
449
- name: string;
450
- description?: string | null;
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: {
451
999
  /** Format: uuid */
452
- parent_id?: string | null;
1000
+ userId: string;
1001
+ account: string;
1002
+ accessToken: string;
453
1003
  };
454
- CreateUploadDto: {
455
- name: string;
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;
456
1116
  hash: string;
1117
+ name: string;
1118
+ extension: string;
457
1119
  /** Format: int64 */
458
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;
459
1131
  };
460
- CreateUserDto: {
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;
1143
+ name: string;
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: {
1160
+ /** Format: uuid */
1161
+ id: string;
1162
+ platform?: string | null;
1163
+ agent?: string | null;
1164
+ /** Format: date-time */
1165
+ createdAt: string;
1166
+ };
1167
+ SessionInfoDto: {
461
1168
  account: string;
462
- password: string;
1169
+ nickname?: string | null;
1170
+ };
1171
+ SignJsSdkData: {
1172
+ appId: string;
1173
+ timestamp: string;
1174
+ nonceStr: string;
1175
+ signature: string;
463
1176
  };
464
- DeletePermissionsParams: string[];
465
- /** @description User id list */
466
- DeleteUsersRequestDto: string[];
467
- /** @default null */
468
- DisableOrder: unknown;
469
1177
  /** @enum {string} */
470
- Gender: "unknown" | "male" | "female";
471
- LoginMethod: {
472
- account: string;
473
- password: string;
474
- } | {
475
- thirdParty: string;
476
- code: string;
1178
+ ThirdParty: "wechat" | "github";
1179
+ UpdateBabyParams: {
1180
+ /** Format: uuid */
1181
+ id: string;
1182
+ name?: string | null;
477
1183
  };
478
- LoginParamsDto: components["schemas"]["LoginMethod"] & {
479
- /** @description Login platform (e.g. web,ios,android,mp) */
480
- platform?: string | null;
1184
+ UpdateFeedingParams: {
1185
+ /** Format: uuid */
1186
+ id: string;
1187
+ /** Format: int64 */
1188
+ quantity?: number | null;
1189
+ /** Format: date-time */
1190
+ datetime?: string | null;
481
1191
  };
482
- LoginResponseDto: {
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;
1225
+ hash: string;
1226
+ name: string;
1227
+ extension: string;
1228
+ /** Format: int64 */
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;
1240
+ };
1241
+ UploadFileChunkDto: {
1242
+ /** Format: uuid */
1243
+ uploadId: string;
1244
+ /** Format: int32 */
1245
+ index: number;
1246
+ /** Format: binary */
1247
+ chunk: string;
1248
+ };
1249
+ /** @enum {string} */
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: {
483
1274
  /** Format: uuid */
484
- userId: string;
1275
+ id: string;
485
1276
  account: 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;
486
1288
  };
487
- MergeFileChunksDto: {
488
- /** Format: uuid */
489
- uploadId: string;
1289
+ UserFilterDto: {
1290
+ account?: string | null;
490
1291
  };
491
- /** @default null */
492
- Null: unknown;
493
- /** @enum {string} */
494
- Order: "asc" | "desc";
495
- OrderDto_DisableOrder: {
496
- /** @default null */
497
- field: unknown;
498
- order: components["schemas"]["Order"];
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;
499
1306
  };
500
- OrderDto_PermissionOrders: {
501
- /** @enum {string} */
502
- field: "createdAt";
503
- order: components["schemas"]["Order"];
1307
+ requestBody: {
1308
+ content: {
1309
+ "application/json": components["schemas"]["RegisterRequestDto"];
1310
+ };
504
1311
  };
505
- OrderDto_UserOrderField: {
506
- /** @enum {string} */
507
- field: "account";
508
- 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
+ };
509
1322
  };
510
- PageableQueryDto_PermissionFilters_PermissionOrders: {
511
- /** Format: int64 */
512
- page: number;
513
- /** Format: int64 */
514
- pageSize: number;
515
- filters?: {
516
- permissionGroupId?: string | null;
517
- kind?: string | null;
518
- code?: string | null;
1323
+ };
1324
+ login: {
1325
+ parameters: {
1326
+ query?: never;
1327
+ header?: never;
1328
+ path?: never;
1329
+ cookie?: never;
1330
+ };
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"];
519
1342
  };
520
- orders?: components["schemas"]["OrderDto_PermissionOrders"][] | null;
521
1343
  };
522
- PageableQueryDto_RoleFilterDto_DisableOrder: {
523
- /** Format: int64 */
524
- page: number;
525
- /** Format: int64 */
526
- pageSize: number;
527
- /** @description Role filter params */
528
- filters?: {
529
- name?: 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
+ };
530
1353
  };
531
- orders?: components["schemas"]["OrderDto_DisableOrder"][] | null;
532
1354
  };
533
- PageableQueryDto_UserFilterDto_UserOrderField: {
534
- /** Format: int64 */
535
- page: number;
536
- /** Format: int64 */
537
- pageSize: number;
538
- filters?: {
539
- account?: 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
+ };
540
1373
  };
541
- orders?: components["schemas"]["OrderDto_UserOrderField"][] | null;
542
1374
  };
543
- Permission: {
544
- /** Format: uuid */
545
- id: string;
546
- code: string;
547
- description?: string | null;
548
- /** Format: date-time */
549
- createdAt: string;
550
- /** Format: date-time */
551
- updatedAt: string;
1375
+ };
1376
+ logoutAll: {
1377
+ parameters: {
1378
+ query?: never;
1379
+ header?: never;
1380
+ path?: never;
1381
+ cookie?: never;
552
1382
  };
553
- PermissionFilters: {
554
- permissionGroupId?: string | null;
555
- kind?: string | null;
556
- code?: string | null;
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
+ };
1393
+ };
557
1394
  };
558
- /** @enum {string} */
559
- PermissionOrders: "createdAt";
560
- RegisterRequestDto: {
561
- account: string;
562
- password: string;
563
- ip?: string | null;
564
- platform?: string | null;
1395
+ };
1396
+ createPermission: {
1397
+ parameters: {
1398
+ query?: never;
1399
+ header?: never;
1400
+ path?: never;
1401
+ cookie?: never;
565
1402
  };
566
- ResponseJson: components["schemas"]["Null"];
567
- ResponseJson_LoginResponseDto: {
568
- /** Format: uuid */
569
- userId: string;
570
- account: string;
1403
+ requestBody: {
1404
+ content: {
1405
+ "application/json": components["schemas"]["CreatePermissionParams"];
1406
+ };
571
1407
  };
572
- /** @default null */
573
- ResponseJson_Null: unknown;
574
- ResponseJson_PaginatedData_Permission: {
575
- records: {
576
- /** Format: uuid */
577
- id: string;
578
- code: string;
579
- description?: string | null;
580
- /** Format: date-time */
581
- createdAt: string;
582
- /** Format: date-time */
583
- updatedAt: string;
584
- }[];
585
- /** Format: int64 */
586
- total: number;
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
+ };
587
1418
  };
588
- ResponseJson_PaginatedData_RoleDto: {
589
- records: {
590
- /** Format: uuid */
591
- id: string;
592
- name: string;
593
- description?: string | null;
594
- /** Format: date-time */
595
- created_at: string;
596
- /** Format: date-time */
597
- updated_at: string;
598
- }[];
599
- /** Format: int64 */
600
- total: number;
1419
+ };
1420
+ queryPermissions: {
1421
+ parameters: {
1422
+ query?: never;
1423
+ header?: never;
1424
+ path?: never;
1425
+ cookie?: never;
601
1426
  };
602
- ResponseJson_PaginatedData_UserDto: {
603
- records: {
604
- /** Format: uuid */
605
- id: string;
606
- account: string;
607
- nickname?: string | null;
608
- realName?: string | null;
609
- phone?: string | null;
610
- email?: string | null;
611
- emailVerified: boolean;
612
- avatarUrl?: string | null;
613
- gender?: null | components["schemas"]["Gender"];
614
- /** Format: date-time */
615
- createdAt: string;
616
- /** Format: date-time */
617
- updatedAt: string;
618
- }[];
619
- /** Format: int64 */
620
- total: number;
1427
+ requestBody: {
1428
+ content: {
1429
+ "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1430
+ };
1431
+ };
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
+ };
1442
+ };
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
+ };
621
1455
  };
622
- ResponseJson_SessionInfoDto: {
623
- account: string;
624
- 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
+ };
625
1466
  };
626
- ResponseJson_String: string;
627
- ResponseJson_UploadDto: {
628
- /** Format: uuid */
629
- id: string;
630
- hash: string;
631
- name: string;
632
- extension: string;
633
- /** Format: int64 */
634
- size: number;
635
- /** Format: int32 */
636
- chunkSize: number;
637
- status: components["schemas"]["UploadStatus"];
638
- missingChunks: number[];
639
- /** Format: date-time */
640
- mergedAt?: string | null;
641
- /** Format: date-time */
642
- createdAt: string;
643
- /** Format: date-time */
644
- updatedAt: string;
1467
+ };
1468
+ updatePermission: {
1469
+ parameters: {
1470
+ query?: never;
1471
+ header?: never;
1472
+ path?: never;
1473
+ cookie?: never;
645
1474
  };
646
- ResponseJson_Vec_SessionDto: {
647
- /** Format: uuid */
648
- id: string;
649
- platform?: string | null;
650
- agent?: string | null;
651
- /** Format: date-time */
652
- createdAt: string;
653
- }[];
654
- RoleDto: {
655
- /** Format: uuid */
656
- id: string;
657
- name: string;
658
- description?: string | null;
659
- /** Format: date-time */
660
- created_at: string;
661
- /** Format: date-time */
662
- updated_at: string;
1475
+ requestBody: {
1476
+ content: {
1477
+ "application/json": components["schemas"]["UpdatePermissionParams"];
1478
+ };
663
1479
  };
664
- /** @description Role filter params */
665
- RoleFilterDto: {
666
- 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
+ };
667
1490
  };
668
- SessionDto: {
669
- /** Format: uuid */
670
- id: string;
671
- platform?: string | null;
672
- agent?: string | null;
673
- /** Format: date-time */
674
- createdAt: string;
1491
+ };
1492
+ queryRoles: {
1493
+ parameters: {
1494
+ query?: never;
1495
+ header?: never;
1496
+ path?: never;
1497
+ cookie?: never;
675
1498
  };
676
- SessionInfoDto: {
677
- account: string;
678
- nickname?: string | null;
1499
+ requestBody: {
1500
+ content: {
1501
+ "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_RoleOrderDto"];
1502
+ };
679
1503
  };
680
- SignJsSdkData: {
681
- appId: string;
682
- timestamp: string;
683
- nonceStr: string;
684
- 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
+ };
685
1514
  };
686
- UpdatePermissionParams: {
687
- /** Format: uuid */
688
- id: string;
689
- code?: string | null;
690
- description?: string | null;
1515
+ };
1516
+ createRole: {
1517
+ parameters: {
1518
+ query?: never;
1519
+ header?: never;
1520
+ path?: never;
1521
+ cookie?: never;
691
1522
  };
692
- /** @description Role update params */
693
- UpdateRoleRequestDto: {
694
- /** Format: uuid */
695
- id: string;
696
- name?: string | null;
697
- description?: string | null;
1523
+ requestBody: {
1524
+ content: {
1525
+ "application/json": components["schemas"]["CreateRoleRequestDto"];
1526
+ };
698
1527
  };
699
- UploadDto: {
700
- /** Format: uuid */
701
- id: string;
702
- hash: string;
703
- name: string;
704
- extension: string;
705
- /** Format: int64 */
706
- size: number;
707
- /** Format: int32 */
708
- chunkSize: number;
709
- status: components["schemas"]["UploadStatus"];
710
- missingChunks: number[];
711
- /** Format: date-time */
712
- mergedAt?: string | null;
713
- /** Format: date-time */
714
- createdAt: string;
715
- /** Format: date-time */
716
- 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
+ };
717
1538
  };
718
- UploadFileChunkDto: {
719
- /** Format: uuid */
720
- uploadId: string;
721
- /** Format: int32 */
722
- index: number;
723
- /** Format: binary */
724
- chunk: string;
1539
+ };
1540
+ deleteRoles: {
1541
+ parameters: {
1542
+ query?: never;
1543
+ header?: never;
1544
+ path?: never;
1545
+ cookie?: never;
725
1546
  };
726
- /** @enum {string} */
727
- UploadStatus: "uploading" | "merged";
728
- UserDto: {
729
- /** Format: uuid */
730
- id: string;
731
- account: string;
732
- nickname?: string | null;
733
- realName?: string | null;
734
- phone?: string | null;
735
- email?: string | null;
736
- emailVerified: boolean;
737
- avatarUrl?: string | null;
738
- gender?: null | components["schemas"]["Gender"];
739
- /** Format: date-time */
740
- createdAt: string;
741
- /** Format: date-time */
742
- updatedAt: string;
1547
+ requestBody: {
1548
+ content: {
1549
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
1550
+ };
743
1551
  };
744
- UserFilterDto: {
745
- 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
+ };
746
1562
  };
747
- /** @enum {string} */
748
- UserOrderField: "account";
749
1563
  };
750
- responses: never;
751
- parameters: never;
752
- requestBodies: never;
753
- headers: never;
754
- pathItems: never;
755
- }
756
- interface operations {
757
- register: {
1564
+ updateRole: {
758
1565
  parameters: {
759
1566
  query?: never;
760
1567
  header?: never;
@@ -763,9 +1570,49 @@ interface operations {
763
1570
  };
764
1571
  requestBody: {
765
1572
  content: {
766
- "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
+ };
767
1605
  };
768
1606
  };
1607
+ };
1608
+ query_active_sessions: {
1609
+ parameters: {
1610
+ query?: never;
1611
+ header?: never;
1612
+ path?: never;
1613
+ cookie?: never;
1614
+ };
1615
+ requestBody?: never;
769
1616
  responses: {
770
1617
  /** @description ok */
771
1618
  200: {
@@ -773,31 +1620,21 @@ interface operations {
773
1620
  [name: string]: unknown;
774
1621
  };
775
1622
  content: {
776
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1623
+ "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
777
1624
  };
778
1625
  };
779
1626
  };
780
1627
  };
781
- login: {
1628
+ delete_session: {
782
1629
  parameters: {
783
- query?: never;
1630
+ query: {
1631
+ id: string;
1632
+ };
784
1633
  header?: never;
785
1634
  path?: never;
786
1635
  cookie?: never;
787
1636
  };
788
- /** @description Login params */
789
- requestBody: {
790
- content: {
791
- /**
792
- * @example {
793
- * "account": "admin",
794
- * "password": "5Zp4K/VbP4M6Ni1++xyveO0HybfFKvbtc6odjhevafneqTO9ukNIECrrQ+esunle1aD+tq6wl1RLB+YXHrXK7CfDK1ytITyYXlayt7LZDGyVa/UZBFzCTe4FgAcyM3Gu58hzWeWWN0DBiarUOKQMfKqAUrYD6A9JE8/rG5pzveZDw6yX2/iJekA1UGs5ySGz/+A5exd1jkE9w1VmFv1R9h9b2g5f4XQqBgystcqofyfufakP8pGwhNQNfkN35BQYrZq32t/NQB1VzNY4lFLjAwVY1Da9zERRq/jnty9K7eoiofmMu3veKEATU4BmLeoKq188SY4tACEFQjiT8227QA==",
795
- * "platform": null
796
- * }
797
- */
798
- "application/json": components["schemas"]["LoginParamsDto"];
799
- };
800
- };
1637
+ requestBody?: never;
801
1638
  responses: {
802
1639
  /** @description ok */
803
1640
  200: {
@@ -805,12 +1642,12 @@ interface operations {
805
1642
  [name: string]: unknown;
806
1643
  };
807
1644
  content: {
808
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1645
+ "application/json": components["schemas"]["ResponseJson_Null"];
809
1646
  };
810
1647
  };
811
1648
  };
812
1649
  };
813
- logout: {
1650
+ querySystemRsaPublicKey: {
814
1651
  parameters: {
815
1652
  query?: never;
816
1653
  header?: never;
@@ -825,19 +1662,23 @@ interface operations {
825
1662
  [name: string]: unknown;
826
1663
  };
827
1664
  content: {
828
- "application/json": components["schemas"]["ResponseJson_Null"];
1665
+ "text/plain": string;
829
1666
  };
830
1667
  };
831
1668
  };
832
1669
  };
833
- logoutAll: {
1670
+ createUser: {
834
1671
  parameters: {
835
1672
  query?: never;
836
1673
  header?: never;
837
1674
  path?: never;
838
1675
  cookie?: never;
839
1676
  };
840
- requestBody?: never;
1677
+ requestBody: {
1678
+ content: {
1679
+ "application/json": components["schemas"]["CreateUserDto"];
1680
+ };
1681
+ };
841
1682
  responses: {
842
1683
  /** @description ok */
843
1684
  200: {
@@ -845,12 +1686,12 @@ interface operations {
845
1686
  [name: string]: unknown;
846
1687
  };
847
1688
  content: {
848
- "application/json": components["schemas"]["ResponseJson_Null"];
1689
+ "application/json": components["schemas"]["ResponseJson_String"];
849
1690
  };
850
1691
  };
851
1692
  };
852
1693
  };
853
- createPermission: {
1694
+ queryUsers: {
854
1695
  parameters: {
855
1696
  query?: never;
856
1697
  header?: never;
@@ -859,7 +1700,7 @@ interface operations {
859
1700
  };
860
1701
  requestBody: {
861
1702
  content: {
862
- "application/json": components["schemas"]["CreatePermissionParams"];
1703
+ "application/json": components["schemas"]["PageableQueryDto_UserFilterDto"];
863
1704
  };
864
1705
  };
865
1706
  responses: {
@@ -869,12 +1710,12 @@ interface operations {
869
1710
  [name: string]: unknown;
870
1711
  };
871
1712
  content: {
872
- "application/json": components["schemas"]["ResponseJson_String"];
1713
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
873
1714
  };
874
1715
  };
875
1716
  };
876
1717
  };
877
- queryPermissionsByPage: {
1718
+ deleteUsers: {
878
1719
  parameters: {
879
1720
  query?: never;
880
1721
  header?: never;
@@ -883,7 +1724,7 @@ interface operations {
883
1724
  };
884
1725
  requestBody: {
885
1726
  content: {
886
- "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1727
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
887
1728
  };
888
1729
  };
889
1730
  responses: {
@@ -893,12 +1734,41 @@ interface operations {
893
1734
  [name: string]: unknown;
894
1735
  };
895
1736
  content: {
896
- "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1737
+ "application/json": components["schemas"]["ResponseJson"];
897
1738
  };
898
1739
  };
899
1740
  };
900
1741
  };
901
- 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: {
902
1772
  parameters: {
903
1773
  query?: never;
904
1774
  header?: never;
@@ -907,7 +1777,7 @@ interface operations {
907
1777
  };
908
1778
  requestBody: {
909
1779
  content: {
910
- "application/json": components["schemas"]["DeletePermissionsParams"];
1780
+ "application/json": components["schemas"]["CreateUploadDto"];
911
1781
  };
912
1782
  };
913
1783
  responses: {
@@ -917,12 +1787,12 @@ interface operations {
917
1787
  [name: string]: unknown;
918
1788
  };
919
1789
  content: {
920
- "application/json": components["schemas"]["ResponseJson"];
1790
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
921
1791
  };
922
1792
  };
923
1793
  };
924
1794
  };
925
- updatePermission: {
1795
+ uploadFileChunk: {
926
1796
  parameters: {
927
1797
  query?: never;
928
1798
  header?: never;
@@ -931,7 +1801,7 @@ interface operations {
931
1801
  };
932
1802
  requestBody: {
933
1803
  content: {
934
- "application/json": components["schemas"]["UpdatePermissionParams"];
1804
+ "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
935
1805
  };
936
1806
  };
937
1807
  responses: {
@@ -946,7 +1816,7 @@ interface operations {
946
1816
  };
947
1817
  };
948
1818
  };
949
- queryRolesByPage: {
1819
+ mergeFileChunks: {
950
1820
  parameters: {
951
1821
  query?: never;
952
1822
  header?: never;
@@ -955,7 +1825,7 @@ interface operations {
955
1825
  };
956
1826
  requestBody: {
957
1827
  content: {
958
- "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_DisableOrder"];
1828
+ "application/json": components["schemas"]["MergeFileChunksDto"];
959
1829
  };
960
1830
  };
961
1831
  responses: {
@@ -965,23 +1835,46 @@ interface operations {
965
1835
  [name: string]: unknown;
966
1836
  };
967
1837
  content: {
968
- "application/json": components["schemas"]["ResponseJson_PaginatedData_RoleDto"];
1838
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
969
1839
  };
970
1840
  };
971
1841
  };
972
1842
  };
973
- createRole: {
1843
+ wechatSignJsSdk: {
974
1844
  parameters: {
975
- query?: never;
1845
+ query: {
1846
+ url: string;
1847
+ };
976
1848
  header?: never;
977
1849
  path?: never;
978
1850
  cookie?: never;
979
1851
  };
980
- requestBody: {
981
- content: {
982
- "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;
983
1872
  };
1873
+ header?: never;
1874
+ path?: never;
1875
+ cookie?: never;
984
1876
  };
1877
+ requestBody?: never;
985
1878
  responses: {
986
1879
  /** @description ok */
987
1880
  200: {
@@ -989,12 +1882,12 @@ interface operations {
989
1882
  [name: string]: unknown;
990
1883
  };
991
1884
  content: {
992
- "application/json": components["schemas"]["ResponseJson_String"];
1885
+ "text/plain": string;
993
1886
  };
994
1887
  };
995
1888
  };
996
1889
  };
997
- deleteRoles: {
1890
+ wechat_webhook: {
998
1891
  parameters: {
999
1892
  query?: never;
1000
1893
  header?: never;
@@ -1003,7 +1896,7 @@ interface operations {
1003
1896
  };
1004
1897
  requestBody: {
1005
1898
  content: {
1006
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1899
+ "application/xml": string;
1007
1900
  };
1008
1901
  };
1009
1902
  responses: {
@@ -1013,12 +1906,12 @@ interface operations {
1013
1906
  [name: string]: unknown;
1014
1907
  };
1015
1908
  content: {
1016
- "application/json": components["schemas"]["ResponseJson"];
1909
+ "text/plain": string;
1017
1910
  };
1018
1911
  };
1019
1912
  };
1020
1913
  };
1021
- updateRole: {
1914
+ createBaby: {
1022
1915
  parameters: {
1023
1916
  query?: never;
1024
1917
  header?: never;
@@ -1027,7 +1920,7 @@ interface operations {
1027
1920
  };
1028
1921
  requestBody: {
1029
1922
  content: {
1030
- "application/json": components["schemas"]["UpdateRoleRequestDto"];
1923
+ "application/json": components["schemas"]["CreateBabyDto"];
1031
1924
  };
1032
1925
  };
1033
1926
  responses: {
@@ -1037,19 +1930,23 @@ interface operations {
1037
1930
  [name: string]: unknown;
1038
1931
  };
1039
1932
  content: {
1040
- "application/json": components["schemas"]["ResponseJson_Null"];
1933
+ "application/json": components["schemas"]["ResponseJson_String"];
1041
1934
  };
1042
1935
  };
1043
1936
  };
1044
1937
  };
1045
- query_session: {
1938
+ queryBabies: {
1046
1939
  parameters: {
1047
1940
  query?: never;
1048
1941
  header?: never;
1049
1942
  path?: never;
1050
1943
  cookie?: never;
1051
1944
  };
1052
- requestBody?: never;
1945
+ requestBody: {
1946
+ content: {
1947
+ "application/json": components["schemas"]["PageableQueryDto_FilterBabiesParams"];
1948
+ };
1949
+ };
1053
1950
  responses: {
1054
1951
  /** @description ok */
1055
1952
  200: {
@@ -1057,12 +1954,12 @@ interface operations {
1057
1954
  [name: string]: unknown;
1058
1955
  };
1059
1956
  content: {
1060
- "application/json": components["schemas"]["ResponseJson_SessionInfoDto"];
1957
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Baby"];
1061
1958
  };
1062
1959
  };
1063
1960
  };
1064
1961
  };
1065
- query_active_sessions: {
1962
+ queryVisibleBabies: {
1066
1963
  parameters: {
1067
1964
  query?: never;
1068
1965
  header?: never;
@@ -1077,15 +1974,15 @@ interface operations {
1077
1974
  [name: string]: unknown;
1078
1975
  };
1079
1976
  content: {
1080
- "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
1977
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Baby"];
1081
1978
  };
1082
1979
  };
1083
1980
  };
1084
1981
  };
1085
- delete_session: {
1982
+ deleteBabies: {
1086
1983
  parameters: {
1087
1984
  query: {
1088
- id: string;
1985
+ ids: string[];
1089
1986
  };
1090
1987
  header?: never;
1091
1988
  path?: never;
@@ -1099,19 +1996,23 @@ interface operations {
1099
1996
  [name: string]: unknown;
1100
1997
  };
1101
1998
  content: {
1102
- "application/json": components["schemas"]["ResponseJson_Null"];
1999
+ "application/json": components["schemas"]["ResponseJson"];
1103
2000
  };
1104
2001
  };
1105
2002
  };
1106
2003
  };
1107
- querySystemRsaPublicKey: {
2004
+ updateBaby: {
1108
2005
  parameters: {
1109
2006
  query?: never;
1110
2007
  header?: never;
1111
2008
  path?: never;
1112
2009
  cookie?: never;
1113
2010
  };
1114
- requestBody?: never;
2011
+ requestBody: {
2012
+ content: {
2013
+ "application/json": components["schemas"]["UpdateBabyParams"];
2014
+ };
2015
+ };
1115
2016
  responses: {
1116
2017
  /** @description ok */
1117
2018
  200: {
@@ -1119,12 +2020,12 @@ interface operations {
1119
2020
  [name: string]: unknown;
1120
2021
  };
1121
2022
  content: {
1122
- "text/plain": string;
2023
+ "application/json": components["schemas"]["ResponseJson_Null"];
1123
2024
  };
1124
2025
  };
1125
2026
  };
1126
2027
  };
1127
- createUser: {
2028
+ createFeeding: {
1128
2029
  parameters: {
1129
2030
  query?: never;
1130
2031
  header?: never;
@@ -1133,7 +2034,7 @@ interface operations {
1133
2034
  };
1134
2035
  requestBody: {
1135
2036
  content: {
1136
- "application/json": components["schemas"]["CreateUserDto"];
2037
+ "application/json": components["schemas"]["CreateFeedingParams"];
1137
2038
  };
1138
2039
  };
1139
2040
  responses: {
@@ -1148,7 +2049,7 @@ interface operations {
1148
2049
  };
1149
2050
  };
1150
2051
  };
1151
- queryUsersByPage: {
2052
+ queryFeedings: {
1152
2053
  parameters: {
1153
2054
  query?: never;
1154
2055
  header?: never;
@@ -1157,7 +2058,7 @@ interface operations {
1157
2058
  };
1158
2059
  requestBody: {
1159
2060
  content: {
1160
- "application/json": components["schemas"]["PageableQueryDto_UserFilterDto_UserOrderField"];
2061
+ "application/json": components["schemas"]["PageableQueryDto_FeedingFilterParams"];
1161
2062
  };
1162
2063
  };
1163
2064
  responses: {
@@ -1167,23 +2068,21 @@ interface operations {
1167
2068
  [name: string]: unknown;
1168
2069
  };
1169
2070
  content: {
1170
- "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
2071
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Feeding"];
1171
2072
  };
1172
2073
  };
1173
2074
  };
1174
2075
  };
1175
- deleteUsers: {
2076
+ deleteFeedings: {
1176
2077
  parameters: {
1177
- query?: never;
2078
+ query: {
2079
+ ids: string[];
2080
+ };
1178
2081
  header?: never;
1179
2082
  path?: never;
1180
2083
  cookie?: never;
1181
2084
  };
1182
- requestBody: {
1183
- content: {
1184
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1185
- };
1186
- };
2085
+ requestBody?: never;
1187
2086
  responses: {
1188
2087
  /** @description ok */
1189
2088
  200: {
@@ -1196,16 +2095,18 @@ interface operations {
1196
2095
  };
1197
2096
  };
1198
2097
  };
1199
- getFile: {
2098
+ updateFeeding: {
1200
2099
  parameters: {
1201
- query: {
1202
- id: string;
1203
- };
2100
+ query?: never;
1204
2101
  header?: never;
1205
2102
  path?: never;
1206
2103
  cookie?: never;
1207
2104
  };
1208
- requestBody?: never;
2105
+ requestBody: {
2106
+ content: {
2107
+ "application/json": components["schemas"]["UpdateFeedingParams"];
2108
+ };
2109
+ };
1209
2110
  responses: {
1210
2111
  /** @description ok */
1211
2112
  200: {
@@ -1213,19 +2114,36 @@ interface operations {
1213
2114
  [name: string]: unknown;
1214
2115
  };
1215
2116
  content: {
1216
- "application/octet-stream": number[];
2117
+ "application/json": components["schemas"]["ResponseJson_Null"];
1217
2118
  };
1218
2119
  };
1219
- /** @description not found */
1220
- 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: {
1221
2137
  headers: {
1222
2138
  [name: string]: unknown;
1223
2139
  };
1224
- content?: never;
2140
+ content: {
2141
+ "application/json": components["schemas"]["ResponseJson_String"];
2142
+ };
1225
2143
  };
1226
2144
  };
1227
2145
  };
1228
- createUpload: {
2146
+ queryHealthRecords: {
1229
2147
  parameters: {
1230
2148
  query?: never;
1231
2149
  header?: never;
@@ -1234,7 +2152,7 @@ interface operations {
1234
2152
  };
1235
2153
  requestBody: {
1236
2154
  content: {
1237
- "application/json": components["schemas"]["CreateUploadDto"];
2155
+ "application/json": components["schemas"]["PageableQueryDto_FilterHealthRecordsParams"];
1238
2156
  };
1239
2157
  };
1240
2158
  responses: {
@@ -1244,12 +2162,34 @@ interface operations {
1244
2162
  [name: string]: unknown;
1245
2163
  };
1246
2164
  content: {
1247
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2165
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1248
2166
  };
1249
2167
  };
1250
2168
  };
1251
2169
  };
1252
- 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: {
1253
2193
  parameters: {
1254
2194
  query?: never;
1255
2195
  header?: never;
@@ -1258,7 +2198,7 @@ interface operations {
1258
2198
  };
1259
2199
  requestBody: {
1260
2200
  content: {
1261
- "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
2201
+ "application/json": components["schemas"]["UpdateHealthRecordParams"];
1262
2202
  };
1263
2203
  };
1264
2204
  responses: {
@@ -1273,7 +2213,7 @@ interface operations {
1273
2213
  };
1274
2214
  };
1275
2215
  };
1276
- mergeFileChunks: {
2216
+ createUrinationDefecation: {
1277
2217
  parameters: {
1278
2218
  query?: never;
1279
2219
  header?: never;
@@ -1282,7 +2222,7 @@ interface operations {
1282
2222
  };
1283
2223
  requestBody: {
1284
2224
  content: {
1285
- "application/json": components["schemas"]["MergeFileChunksDto"];
2225
+ "application/json": components["schemas"]["CreateUrinationDefecationParams"];
1286
2226
  };
1287
2227
  };
1288
2228
  responses: {
@@ -1292,21 +2232,23 @@ interface operations {
1292
2232
  [name: string]: unknown;
1293
2233
  };
1294
2234
  content: {
1295
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2235
+ "application/json": components["schemas"]["ResponseJson_String"];
1296
2236
  };
1297
2237
  };
1298
2238
  };
1299
2239
  };
1300
- wechatSignJsSdk: {
2240
+ queryUrinationDefecations: {
1301
2241
  parameters: {
1302
- query: {
1303
- url: string;
1304
- };
2242
+ query?: never;
1305
2243
  header?: never;
1306
2244
  path?: never;
1307
2245
  cookie?: never;
1308
2246
  };
1309
- requestBody?: never;
2247
+ requestBody: {
2248
+ content: {
2249
+ "application/json": components["schemas"]["PageableQueryDto_FilterUrinationDefecationParams"];
2250
+ };
2251
+ };
1310
2252
  responses: {
1311
2253
  /** @description ok */
1312
2254
  200: {
@@ -1314,18 +2256,15 @@ interface operations {
1314
2256
  [name: string]: unknown;
1315
2257
  };
1316
2258
  content: {
1317
- "application/json": components["schemas"]["SignJsSdkData"];
2259
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UrinationDefecation"];
1318
2260
  };
1319
2261
  };
1320
2262
  };
1321
2263
  };
1322
- wechat_verify_server: {
2264
+ deleteUrinationDefecations: {
1323
2265
  parameters: {
1324
2266
  query: {
1325
- signature: string;
1326
- timestamp: string;
1327
- nonce: string;
1328
- echostr: string;
2267
+ ids: string[];
1329
2268
  };
1330
2269
  header?: never;
1331
2270
  path?: never;
@@ -1339,12 +2278,12 @@ interface operations {
1339
2278
  [name: string]: unknown;
1340
2279
  };
1341
2280
  content: {
1342
- "text/plain": string;
2281
+ "application/json": components["schemas"]["ResponseJson"];
1343
2282
  };
1344
2283
  };
1345
2284
  };
1346
2285
  };
1347
- wechat_webhook: {
2286
+ updateUrinationDefecation: {
1348
2287
  parameters: {
1349
2288
  query?: never;
1350
2289
  header?: never;
@@ -1353,7 +2292,7 @@ interface operations {
1353
2292
  };
1354
2293
  requestBody: {
1355
2294
  content: {
1356
- "application/xml": string;
2295
+ "application/json": components["schemas"]["UpdateUrinationDefecationParams"];
1357
2296
  };
1358
2297
  };
1359
2298
  responses: {
@@ -1363,7 +2302,7 @@ interface operations {
1363
2302
  [name: string]: unknown;
1364
2303
  };
1365
2304
  content: {
1366
- "text/plain": string;
2305
+ "application/json": components["schemas"]["ResponseJson_Null"];
1367
2306
  };
1368
2307
  };
1369
2308
  };