@hapaul/api 0.1.18 → 0.1.20

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 +1330 -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,1144 @@ 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_Baby: {
1133
+ /** Format: uuid */
1134
+ id: string;
1135
+ name: string;
1136
+ gender?: null | components["schemas"]["Gender"];
1137
+ /** Format: uuid */
1138
+ createdBy: string;
1139
+ /** Format: date-time */
1140
+ createdAt: string;
1141
+ /** Format: date-time */
1142
+ updatedAt: string;
1143
+ }[];
1144
+ ResponseJson_Vec_SessionDto: {
1145
+ /** Format: uuid */
1146
+ id: string;
1147
+ platform?: string | null;
1148
+ agent?: string | null;
1149
+ /** Format: date-time */
1150
+ createdAt: string;
1151
+ }[];
1152
+ RoleDto: {
1153
+ /** Format: uuid */
1154
+ id: string;
449
1155
  name: string;
450
1156
  description?: string | null;
1157
+ /** Format: date-time */
1158
+ created_at: string;
1159
+ /** Format: date-time */
1160
+ updated_at: string;
1161
+ };
1162
+ /** @description Role filter params */
1163
+ RoleFilterDto: {
1164
+ name?: string | null;
1165
+ };
1166
+ /**
1167
+ * @description Role filter params
1168
+ * @enum {string}
1169
+ */
1170
+ RoleOrderDto: "name";
1171
+ SessionDto: {
451
1172
  /** Format: uuid */
452
- parent_id?: string | null;
1173
+ id: string;
1174
+ platform?: string | null;
1175
+ agent?: string | null;
1176
+ /** Format: date-time */
1177
+ createdAt: string;
453
1178
  };
454
- CreateUploadDto: {
455
- name: string;
1179
+ SessionInfoDto: {
1180
+ account: string;
1181
+ nickname?: string | null;
1182
+ };
1183
+ SignJsSdkData: {
1184
+ appId: string;
1185
+ timestamp: string;
1186
+ nonceStr: string;
1187
+ signature: string;
1188
+ };
1189
+ /** @enum {string} */
1190
+ ThirdParty: "wechat" | "github";
1191
+ UpdateBabyParams: {
1192
+ /** Format: uuid */
1193
+ id: string;
1194
+ name?: string | null;
1195
+ };
1196
+ UpdateFeedingParams: {
1197
+ /** Format: uuid */
1198
+ id: string;
1199
+ /** Format: int64 */
1200
+ quantity?: number | null;
1201
+ /** Format: date-time */
1202
+ datetime?: string | null;
1203
+ };
1204
+ UpdateHealthRecordParams: {
1205
+ /** Format: uuid */
1206
+ id: string;
1207
+ /** Format: int64 */
1208
+ quantity?: number | null;
1209
+ /** Format: date-time */
1210
+ datetime?: string | null;
1211
+ };
1212
+ UpdatePermissionParams: {
1213
+ /** Format: uuid */
1214
+ id: string;
1215
+ code?: string | null;
1216
+ description?: string | null;
1217
+ };
1218
+ /** @description Role update params */
1219
+ UpdateRoleRequestDto: {
1220
+ /** Format: uuid */
1221
+ id: string;
1222
+ name?: string | null;
1223
+ description?: string | null;
1224
+ };
1225
+ UpdateUrinationDefecationParams: {
1226
+ /** Format: uuid */
1227
+ id: string;
1228
+ color?: string | null;
1229
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
1230
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
1231
+ /** Format: date-time */
1232
+ datetime?: string | null;
1233
+ };
1234
+ UploadDto: {
1235
+ /** Format: uuid */
1236
+ id: string;
456
1237
  hash: string;
1238
+ name: string;
1239
+ extension: string;
457
1240
  /** Format: int64 */
458
1241
  size: number;
1242
+ /** Format: int32 */
1243
+ chunkSize: number;
1244
+ status: components["schemas"]["UploadStatus"];
1245
+ missingChunks: number[];
1246
+ /** Format: date-time */
1247
+ mergedAt?: string | null;
1248
+ /** Format: date-time */
1249
+ createdAt: string;
1250
+ /** Format: date-time */
1251
+ updatedAt: string;
459
1252
  };
460
- CreateUserDto: {
461
- account: string;
462
- password: string;
1253
+ UploadFileChunkDto: {
1254
+ /** Format: uuid */
1255
+ uploadId: string;
1256
+ /** Format: int32 */
1257
+ index: number;
1258
+ /** Format: binary */
1259
+ chunk: string;
463
1260
  };
464
- DeletePermissionsParams: string[];
465
- /** @description User id list */
466
- DeleteUsersRequestDto: string[];
467
- /** @default null */
468
- DisableOrder: unknown;
469
1261
  /** @enum {string} */
470
- Gender: "unknown" | "male" | "female";
471
- LoginMethod: {
1262
+ UploadStatus: "uploading" | "merged";
1263
+ UrinationDefecation: {
1264
+ /** Format: uuid */
1265
+ id: string;
1266
+ /** Format: uuid */
1267
+ baby_id: string;
1268
+ kind: components["schemas"]["UrinationDefecationKind"];
1269
+ color?: null | components["schemas"]["UrinationDefecationColor"];
1270
+ quantity?: null | components["schemas"]["UrinationDefecationQuantity"];
1271
+ viscosity?: null | components["schemas"]["UrinationDefecationViscosity"];
1272
+ /** Format: date-time */
1273
+ created_at: string;
1274
+ /** Format: date-time */
1275
+ updated_at: string;
1276
+ };
1277
+ /** @enum {string} */
1278
+ UrinationDefecationColor: "darkGreen" | "goldenYellow" | "yellow" | "brown" | "black" | "red";
1279
+ /** @enum {string} */
1280
+ UrinationDefecationKind: "urination" | "defecation";
1281
+ /** @enum {string} */
1282
+ UrinationDefecationQuantity: "small" | "medium" | "large";
1283
+ /** @enum {string} */
1284
+ UrinationDefecationViscosity: "watery" | "loose" | "mushy" | "formed" | "firm";
1285
+ UserDto: {
1286
+ /** Format: uuid */
1287
+ id: string;
472
1288
  account: string;
473
- password: string;
474
- } | {
475
- thirdParty: string;
476
- code: string;
1289
+ nickname?: string | null;
1290
+ realName?: string | null;
1291
+ phone?: string | null;
1292
+ email?: string | null;
1293
+ emailVerified: boolean;
1294
+ avatarUrl?: string | null;
1295
+ gender?: null | components["schemas"]["Gender"];
1296
+ /** Format: date-time */
1297
+ createdAt: string;
1298
+ /** Format: date-time */
1299
+ updatedAt: string;
477
1300
  };
478
- LoginParamsDto: components["schemas"]["LoginMethod"] & {
479
- platform?: null | components["schemas"]["LoginPlatform"];
1301
+ UserFilterDto: {
1302
+ account?: string | null;
480
1303
  };
481
- /** @enum {string} */
482
- LoginPlatform: "web" | "ios" | "android" | "weapp";
483
- LoginResponseDto: {
484
- /** Format: uuid */
485
- userId: string;
486
- account: string;
487
- accessToken: string;
1304
+ };
1305
+ responses: never;
1306
+ parameters: never;
1307
+ requestBodies: never;
1308
+ headers: never;
1309
+ pathItems: never;
1310
+ }
1311
+ interface operations {
1312
+ register: {
1313
+ parameters: {
1314
+ query?: never;
1315
+ header?: never;
1316
+ path?: never;
1317
+ cookie?: never;
488
1318
  };
489
- MergeFileChunksDto: {
490
- /** Format: uuid */
491
- uploadId: string;
1319
+ requestBody: {
1320
+ content: {
1321
+ "application/json": components["schemas"]["RegisterRequestDto"];
1322
+ };
492
1323
  };
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"];
1324
+ responses: {
1325
+ /** @description ok */
1326
+ 200: {
1327
+ headers: {
1328
+ [name: string]: unknown;
1329
+ };
1330
+ content: {
1331
+ "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1332
+ };
1333
+ };
501
1334
  };
502
- OrderDto_PermissionOrders: {
503
- /** @enum {string} */
504
- field: "createdAt";
505
- order: components["schemas"]["Order"];
1335
+ };
1336
+ login: {
1337
+ parameters: {
1338
+ query?: never;
1339
+ header?: never;
1340
+ path?: never;
1341
+ cookie?: never;
506
1342
  };
507
- OrderDto_UserOrderField: {
508
- /** @enum {string} */
509
- field: "account";
510
- order: components["schemas"]["Order"];
1343
+ /** @description Login params */
1344
+ requestBody: {
1345
+ content: {
1346
+ /**
1347
+ * @example {
1348
+ * "account": "admin",
1349
+ * "password": "admin",
1350
+ * "platform": null
1351
+ * }
1352
+ */
1353
+ "application/json": components["schemas"]["LoginParamsDto"];
1354
+ };
511
1355
  };
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;
1356
+ responses: {
1357
+ /** @description ok */
1358
+ 200: {
1359
+ headers: {
1360
+ [name: string]: unknown;
1361
+ };
1362
+ content: {
1363
+ "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1364
+ };
521
1365
  };
522
- orders?: components["schemas"]["OrderDto_PermissionOrders"][] | null;
523
1366
  };
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;
1367
+ };
1368
+ logout: {
1369
+ parameters: {
1370
+ query?: never;
1371
+ header?: never;
1372
+ path?: never;
1373
+ cookie?: never;
1374
+ };
1375
+ requestBody?: never;
1376
+ responses: {
1377
+ /** @description ok */
1378
+ 200: {
1379
+ headers: {
1380
+ [name: string]: unknown;
1381
+ };
1382
+ content: {
1383
+ "application/json": components["schemas"]["ResponseJson_Null"];
1384
+ };
532
1385
  };
533
- orders?: components["schemas"]["OrderDto_DisableOrder"][] | null;
534
1386
  };
535
- PageableQueryDto_UserFilterDto_UserOrderField: {
536
- /** Format: int64 */
537
- page: number;
538
- /** Format: int64 */
539
- pageSize: number;
540
- filters?: {
541
- account?: string | null;
1387
+ };
1388
+ logoutAll: {
1389
+ parameters: {
1390
+ query?: never;
1391
+ header?: never;
1392
+ path?: never;
1393
+ cookie?: never;
1394
+ };
1395
+ requestBody?: never;
1396
+ responses: {
1397
+ /** @description ok */
1398
+ 200: {
1399
+ headers: {
1400
+ [name: string]: unknown;
1401
+ };
1402
+ content: {
1403
+ "application/json": components["schemas"]["ResponseJson_Null"];
1404
+ };
542
1405
  };
543
- orders?: components["schemas"]["OrderDto_UserOrderField"][] | null;
544
1406
  };
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;
1407
+ };
1408
+ createPermission: {
1409
+ parameters: {
1410
+ query?: never;
1411
+ header?: never;
1412
+ path?: never;
1413
+ cookie?: never;
554
1414
  };
555
- PermissionFilters: {
556
- permissionGroupId?: string | null;
557
- kind?: string | null;
558
- code?: string | null;
1415
+ requestBody: {
1416
+ content: {
1417
+ "application/json": components["schemas"]["CreatePermissionParams"];
1418
+ };
559
1419
  };
560
- /** @enum {string} */
561
- PermissionOrders: "createdAt";
562
- RegisterRequestDto: {
563
- account: string;
564
- password: string;
565
- ip?: string | null;
566
- platform?: null | components["schemas"]["LoginPlatform"];
1420
+ responses: {
1421
+ /** @description ok */
1422
+ 200: {
1423
+ headers: {
1424
+ [name: string]: unknown;
1425
+ };
1426
+ content: {
1427
+ "application/json": components["schemas"]["ResponseJson_String"];
1428
+ };
1429
+ };
567
1430
  };
568
- ResponseJson: components["schemas"]["Null"];
569
- ResponseJson_LoginResponseDto: {
570
- /** Format: uuid */
571
- userId: string;
572
- account: string;
573
- accessToken: string;
1431
+ };
1432
+ queryPermissions: {
1433
+ parameters: {
1434
+ query?: never;
1435
+ header?: never;
1436
+ path?: never;
1437
+ cookie?: never;
574
1438
  };
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;
1439
+ requestBody: {
1440
+ content: {
1441
+ "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1442
+ };
590
1443
  };
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;
1444
+ responses: {
1445
+ /** @description ok */
1446
+ 200: {
1447
+ headers: {
1448
+ [name: string]: unknown;
1449
+ };
1450
+ content: {
1451
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1452
+ };
1453
+ };
604
1454
  };
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;
1455
+ };
1456
+ deletePermissions: {
1457
+ parameters: {
1458
+ query?: never;
1459
+ header?: never;
1460
+ path?: never;
1461
+ cookie?: never;
1462
+ };
1463
+ requestBody: {
1464
+ content: {
1465
+ "application/json": components["schemas"]["DeletePermissionsParams"];
1466
+ };
624
1467
  };
625
- ResponseJson_SessionInfoDto: {
626
- account: string;
627
- nickname?: string | null;
1468
+ responses: {
1469
+ /** @description ok */
1470
+ 200: {
1471
+ headers: {
1472
+ [name: string]: unknown;
1473
+ };
1474
+ content: {
1475
+ "application/json": components["schemas"]["ResponseJson"];
1476
+ };
1477
+ };
628
1478
  };
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;
1479
+ };
1480
+ updatePermission: {
1481
+ parameters: {
1482
+ query?: never;
1483
+ header?: never;
1484
+ path?: never;
1485
+ cookie?: never;
648
1486
  };
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;
1487
+ requestBody: {
1488
+ content: {
1489
+ "application/json": components["schemas"]["UpdatePermissionParams"];
1490
+ };
666
1491
  };
667
- /** @description Role filter params */
668
- RoleFilterDto: {
669
- name?: string | null;
1492
+ responses: {
1493
+ /** @description ok */
1494
+ 200: {
1495
+ headers: {
1496
+ [name: string]: unknown;
1497
+ };
1498
+ content: {
1499
+ "application/json": components["schemas"]["ResponseJson_Null"];
1500
+ };
1501
+ };
670
1502
  };
671
- SessionDto: {
672
- /** Format: uuid */
673
- id: string;
674
- platform?: string | null;
675
- agent?: string | null;
676
- /** Format: date-time */
677
- createdAt: string;
1503
+ };
1504
+ queryRoles: {
1505
+ parameters: {
1506
+ query?: never;
1507
+ header?: never;
1508
+ path?: never;
1509
+ cookie?: never;
678
1510
  };
679
- SessionInfoDto: {
680
- account: string;
681
- nickname?: string | null;
1511
+ requestBody: {
1512
+ content: {
1513
+ "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_RoleOrderDto"];
1514
+ };
682
1515
  };
683
- SignJsSdkData: {
684
- appId: string;
685
- timestamp: string;
686
- nonceStr: string;
687
- signature: string;
1516
+ responses: {
1517
+ /** @description ok */
1518
+ 200: {
1519
+ headers: {
1520
+ [name: string]: unknown;
1521
+ };
1522
+ content: {
1523
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_RoleDto"];
1524
+ };
1525
+ };
688
1526
  };
689
- UpdatePermissionParams: {
690
- /** Format: uuid */
691
- id: string;
692
- code?: string | null;
693
- description?: string | null;
1527
+ };
1528
+ createRole: {
1529
+ parameters: {
1530
+ query?: never;
1531
+ header?: never;
1532
+ path?: never;
1533
+ cookie?: never;
694
1534
  };
695
- /** @description Role update params */
696
- UpdateRoleRequestDto: {
697
- /** Format: uuid */
698
- id: string;
699
- name?: string | null;
700
- description?: string | null;
1535
+ requestBody: {
1536
+ content: {
1537
+ "application/json": components["schemas"]["CreateRoleRequestDto"];
1538
+ };
701
1539
  };
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;
1540
+ responses: {
1541
+ /** @description ok */
1542
+ 200: {
1543
+ headers: {
1544
+ [name: string]: unknown;
1545
+ };
1546
+ content: {
1547
+ "application/json": components["schemas"]["ResponseJson_String"];
1548
+ };
1549
+ };
720
1550
  };
721
- UploadFileChunkDto: {
722
- /** Format: uuid */
723
- uploadId: string;
724
- /** Format: int32 */
725
- index: number;
726
- /** Format: binary */
727
- chunk: string;
1551
+ };
1552
+ deleteRoles: {
1553
+ parameters: {
1554
+ query?: never;
1555
+ header?: never;
1556
+ path?: never;
1557
+ cookie?: never;
728
1558
  };
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;
1559
+ requestBody: {
1560
+ content: {
1561
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
1562
+ };
746
1563
  };
747
- UserFilterDto: {
748
- account?: string | null;
1564
+ responses: {
1565
+ /** @description ok */
1566
+ 200: {
1567
+ headers: {
1568
+ [name: string]: unknown;
1569
+ };
1570
+ content: {
1571
+ "application/json": components["schemas"]["ResponseJson"];
1572
+ };
1573
+ };
749
1574
  };
750
- /** @enum {string} */
751
- UserOrderField: "account";
752
1575
  };
753
- responses: never;
754
- parameters: never;
755
- requestBodies: never;
756
- headers: never;
757
- pathItems: never;
758
- }
759
- interface operations {
760
- register: {
1576
+ updateRole: {
761
1577
  parameters: {
762
1578
  query?: never;
763
1579
  header?: never;
@@ -766,9 +1582,49 @@ interface operations {
766
1582
  };
767
1583
  requestBody: {
768
1584
  content: {
769
- "application/json": components["schemas"]["RegisterRequestDto"];
1585
+ "application/json": components["schemas"]["UpdateRoleRequestDto"];
1586
+ };
1587
+ };
1588
+ responses: {
1589
+ /** @description ok */
1590
+ 200: {
1591
+ headers: {
1592
+ [name: string]: unknown;
1593
+ };
1594
+ content: {
1595
+ "application/json": components["schemas"]["ResponseJson_Null"];
1596
+ };
1597
+ };
1598
+ };
1599
+ };
1600
+ query_session: {
1601
+ parameters: {
1602
+ query?: never;
1603
+ header?: never;
1604
+ path?: never;
1605
+ cookie?: never;
1606
+ };
1607
+ requestBody?: never;
1608
+ responses: {
1609
+ /** @description ok */
1610
+ 200: {
1611
+ headers: {
1612
+ [name: string]: unknown;
1613
+ };
1614
+ content: {
1615
+ "application/json": components["schemas"]["ResponseJson_SessionInfoDto"];
1616
+ };
770
1617
  };
771
1618
  };
1619
+ };
1620
+ query_active_sessions: {
1621
+ parameters: {
1622
+ query?: never;
1623
+ header?: never;
1624
+ path?: never;
1625
+ cookie?: never;
1626
+ };
1627
+ requestBody?: never;
772
1628
  responses: {
773
1629
  /** @description ok */
774
1630
  200: {
@@ -776,31 +1632,21 @@ interface operations {
776
1632
  [name: string]: unknown;
777
1633
  };
778
1634
  content: {
779
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1635
+ "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
780
1636
  };
781
1637
  };
782
1638
  };
783
1639
  };
784
- login: {
1640
+ delete_session: {
785
1641
  parameters: {
786
- query?: never;
1642
+ query: {
1643
+ id: string;
1644
+ };
787
1645
  header?: never;
788
1646
  path?: never;
789
1647
  cookie?: never;
790
1648
  };
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
- };
1649
+ requestBody?: never;
804
1650
  responses: {
805
1651
  /** @description ok */
806
1652
  200: {
@@ -808,12 +1654,12 @@ interface operations {
808
1654
  [name: string]: unknown;
809
1655
  };
810
1656
  content: {
811
- "application/json": components["schemas"]["ResponseJson_LoginResponseDto"];
1657
+ "application/json": components["schemas"]["ResponseJson_Null"];
812
1658
  };
813
1659
  };
814
1660
  };
815
1661
  };
816
- logout: {
1662
+ querySystemRsaPublicKey: {
817
1663
  parameters: {
818
1664
  query?: never;
819
1665
  header?: never;
@@ -828,19 +1674,23 @@ interface operations {
828
1674
  [name: string]: unknown;
829
1675
  };
830
1676
  content: {
831
- "application/json": components["schemas"]["ResponseJson_Null"];
1677
+ "text/plain": string;
832
1678
  };
833
1679
  };
834
1680
  };
835
1681
  };
836
- logoutAll: {
1682
+ createUser: {
837
1683
  parameters: {
838
1684
  query?: never;
839
1685
  header?: never;
840
1686
  path?: never;
841
1687
  cookie?: never;
842
1688
  };
843
- requestBody?: never;
1689
+ requestBody: {
1690
+ content: {
1691
+ "application/json": components["schemas"]["CreateUserDto"];
1692
+ };
1693
+ };
844
1694
  responses: {
845
1695
  /** @description ok */
846
1696
  200: {
@@ -848,12 +1698,12 @@ interface operations {
848
1698
  [name: string]: unknown;
849
1699
  };
850
1700
  content: {
851
- "application/json": components["schemas"]["ResponseJson_Null"];
1701
+ "application/json": components["schemas"]["ResponseJson_String"];
852
1702
  };
853
1703
  };
854
1704
  };
855
1705
  };
856
- createPermission: {
1706
+ queryUsers: {
857
1707
  parameters: {
858
1708
  query?: never;
859
1709
  header?: never;
@@ -862,7 +1712,7 @@ interface operations {
862
1712
  };
863
1713
  requestBody: {
864
1714
  content: {
865
- "application/json": components["schemas"]["CreatePermissionParams"];
1715
+ "application/json": components["schemas"]["PageableQueryDto_UserFilterDto"];
866
1716
  };
867
1717
  };
868
1718
  responses: {
@@ -872,12 +1722,12 @@ interface operations {
872
1722
  [name: string]: unknown;
873
1723
  };
874
1724
  content: {
875
- "application/json": components["schemas"]["ResponseJson_String"];
1725
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
876
1726
  };
877
1727
  };
878
1728
  };
879
1729
  };
880
- queryPermissionsByPage: {
1730
+ deleteUsers: {
881
1731
  parameters: {
882
1732
  query?: never;
883
1733
  header?: never;
@@ -886,7 +1736,7 @@ interface operations {
886
1736
  };
887
1737
  requestBody: {
888
1738
  content: {
889
- "application/json": components["schemas"]["PageableQueryDto_PermissionFilters_PermissionOrders"];
1739
+ "application/json": components["schemas"]["DeleteUsersRequestDto"];
890
1740
  };
891
1741
  };
892
1742
  responses: {
@@ -896,12 +1746,41 @@ interface operations {
896
1746
  [name: string]: unknown;
897
1747
  };
898
1748
  content: {
899
- "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1749
+ "application/json": components["schemas"]["ResponseJson"];
900
1750
  };
901
1751
  };
902
1752
  };
903
1753
  };
904
- deletePermissions: {
1754
+ getFile: {
1755
+ parameters: {
1756
+ query: {
1757
+ id: string;
1758
+ };
1759
+ header?: never;
1760
+ path?: never;
1761
+ cookie?: never;
1762
+ };
1763
+ requestBody?: never;
1764
+ responses: {
1765
+ /** @description ok */
1766
+ 200: {
1767
+ headers: {
1768
+ [name: string]: unknown;
1769
+ };
1770
+ content: {
1771
+ "application/octet-stream": number[];
1772
+ };
1773
+ };
1774
+ /** @description not found */
1775
+ 404: {
1776
+ headers: {
1777
+ [name: string]: unknown;
1778
+ };
1779
+ content?: never;
1780
+ };
1781
+ };
1782
+ };
1783
+ createUpload: {
905
1784
  parameters: {
906
1785
  query?: never;
907
1786
  header?: never;
@@ -910,7 +1789,7 @@ interface operations {
910
1789
  };
911
1790
  requestBody: {
912
1791
  content: {
913
- "application/json": components["schemas"]["DeletePermissionsParams"];
1792
+ "application/json": components["schemas"]["CreateUploadDto"];
914
1793
  };
915
1794
  };
916
1795
  responses: {
@@ -920,12 +1799,12 @@ interface operations {
920
1799
  [name: string]: unknown;
921
1800
  };
922
1801
  content: {
923
- "application/json": components["schemas"]["ResponseJson"];
1802
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
924
1803
  };
925
1804
  };
926
1805
  };
927
1806
  };
928
- updatePermission: {
1807
+ uploadFileChunk: {
929
1808
  parameters: {
930
1809
  query?: never;
931
1810
  header?: never;
@@ -934,7 +1813,7 @@ interface operations {
934
1813
  };
935
1814
  requestBody: {
936
1815
  content: {
937
- "application/json": components["schemas"]["UpdatePermissionParams"];
1816
+ "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
938
1817
  };
939
1818
  };
940
1819
  responses: {
@@ -949,7 +1828,7 @@ interface operations {
949
1828
  };
950
1829
  };
951
1830
  };
952
- queryRolesByPage: {
1831
+ mergeFileChunks: {
953
1832
  parameters: {
954
1833
  query?: never;
955
1834
  header?: never;
@@ -958,7 +1837,7 @@ interface operations {
958
1837
  };
959
1838
  requestBody: {
960
1839
  content: {
961
- "application/json": components["schemas"]["PageableQueryDto_RoleFilterDto_DisableOrder"];
1840
+ "application/json": components["schemas"]["MergeFileChunksDto"];
962
1841
  };
963
1842
  };
964
1843
  responses: {
@@ -968,23 +1847,46 @@ interface operations {
968
1847
  [name: string]: unknown;
969
1848
  };
970
1849
  content: {
971
- "application/json": components["schemas"]["ResponseJson_PaginatedData_RoleDto"];
1850
+ "application/json": components["schemas"]["ResponseJson_UploadDto"];
972
1851
  };
973
1852
  };
974
1853
  };
975
1854
  };
976
- createRole: {
1855
+ wechatSignJsSdk: {
977
1856
  parameters: {
978
- query?: never;
1857
+ query: {
1858
+ url: string;
1859
+ };
979
1860
  header?: never;
980
1861
  path?: never;
981
1862
  cookie?: never;
982
1863
  };
983
- requestBody: {
984
- content: {
985
- "application/json": components["schemas"]["CreateRoleRequestDto"];
1864
+ requestBody?: never;
1865
+ responses: {
1866
+ /** @description ok */
1867
+ 200: {
1868
+ headers: {
1869
+ [name: string]: unknown;
1870
+ };
1871
+ content: {
1872
+ "application/json": components["schemas"]["SignJsSdkData"];
1873
+ };
1874
+ };
1875
+ };
1876
+ };
1877
+ wechat_verify_server: {
1878
+ parameters: {
1879
+ query: {
1880
+ signature: string;
1881
+ timestamp: string;
1882
+ nonce: string;
1883
+ echostr: string;
986
1884
  };
1885
+ header?: never;
1886
+ path?: never;
1887
+ cookie?: never;
987
1888
  };
1889
+ requestBody?: never;
988
1890
  responses: {
989
1891
  /** @description ok */
990
1892
  200: {
@@ -992,12 +1894,12 @@ interface operations {
992
1894
  [name: string]: unknown;
993
1895
  };
994
1896
  content: {
995
- "application/json": components["schemas"]["ResponseJson_String"];
1897
+ "text/plain": string;
996
1898
  };
997
1899
  };
998
1900
  };
999
1901
  };
1000
- deleteRoles: {
1902
+ wechat_webhook: {
1001
1903
  parameters: {
1002
1904
  query?: never;
1003
1905
  header?: never;
@@ -1006,7 +1908,7 @@ interface operations {
1006
1908
  };
1007
1909
  requestBody: {
1008
1910
  content: {
1009
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1911
+ "application/xml": string;
1010
1912
  };
1011
1913
  };
1012
1914
  responses: {
@@ -1016,12 +1918,12 @@ interface operations {
1016
1918
  [name: string]: unknown;
1017
1919
  };
1018
1920
  content: {
1019
- "application/json": components["schemas"]["ResponseJson"];
1921
+ "text/plain": string;
1020
1922
  };
1021
1923
  };
1022
1924
  };
1023
1925
  };
1024
- updateRole: {
1926
+ createBaby: {
1025
1927
  parameters: {
1026
1928
  query?: never;
1027
1929
  header?: never;
@@ -1030,7 +1932,7 @@ interface operations {
1030
1932
  };
1031
1933
  requestBody: {
1032
1934
  content: {
1033
- "application/json": components["schemas"]["UpdateRoleRequestDto"];
1935
+ "application/json": components["schemas"]["CreateBabyDto"];
1034
1936
  };
1035
1937
  };
1036
1938
  responses: {
@@ -1040,19 +1942,23 @@ interface operations {
1040
1942
  [name: string]: unknown;
1041
1943
  };
1042
1944
  content: {
1043
- "application/json": components["schemas"]["ResponseJson_Null"];
1945
+ "application/json": components["schemas"]["ResponseJson_String"];
1044
1946
  };
1045
1947
  };
1046
1948
  };
1047
1949
  };
1048
- query_session: {
1950
+ queryBabies: {
1049
1951
  parameters: {
1050
1952
  query?: never;
1051
1953
  header?: never;
1052
1954
  path?: never;
1053
1955
  cookie?: never;
1054
1956
  };
1055
- requestBody?: never;
1957
+ requestBody: {
1958
+ content: {
1959
+ "application/json": components["schemas"]["PageableQueryDto_FilterBabiesParams"];
1960
+ };
1961
+ };
1056
1962
  responses: {
1057
1963
  /** @description ok */
1058
1964
  200: {
@@ -1060,12 +1966,12 @@ interface operations {
1060
1966
  [name: string]: unknown;
1061
1967
  };
1062
1968
  content: {
1063
- "application/json": components["schemas"]["ResponseJson_SessionInfoDto"];
1969
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Baby"];
1064
1970
  };
1065
1971
  };
1066
1972
  };
1067
1973
  };
1068
- query_active_sessions: {
1974
+ queryVisibleBabies: {
1069
1975
  parameters: {
1070
1976
  query?: never;
1071
1977
  header?: never;
@@ -1080,15 +1986,15 @@ interface operations {
1080
1986
  [name: string]: unknown;
1081
1987
  };
1082
1988
  content: {
1083
- "application/json": components["schemas"]["ResponseJson_Vec_SessionDto"];
1989
+ "application/json": components["schemas"]["ResponseJson_Vec_Baby"];
1084
1990
  };
1085
1991
  };
1086
1992
  };
1087
1993
  };
1088
- delete_session: {
1994
+ deleteBabies: {
1089
1995
  parameters: {
1090
1996
  query: {
1091
- id: string;
1997
+ ids: string[];
1092
1998
  };
1093
1999
  header?: never;
1094
2000
  path?: never;
@@ -1102,19 +2008,23 @@ interface operations {
1102
2008
  [name: string]: unknown;
1103
2009
  };
1104
2010
  content: {
1105
- "application/json": components["schemas"]["ResponseJson_Null"];
2011
+ "application/json": components["schemas"]["ResponseJson"];
1106
2012
  };
1107
2013
  };
1108
2014
  };
1109
2015
  };
1110
- querySystemRsaPublicKey: {
2016
+ updateBaby: {
1111
2017
  parameters: {
1112
2018
  query?: never;
1113
2019
  header?: never;
1114
2020
  path?: never;
1115
2021
  cookie?: never;
1116
2022
  };
1117
- requestBody?: never;
2023
+ requestBody: {
2024
+ content: {
2025
+ "application/json": components["schemas"]["UpdateBabyParams"];
2026
+ };
2027
+ };
1118
2028
  responses: {
1119
2029
  /** @description ok */
1120
2030
  200: {
@@ -1122,12 +2032,12 @@ interface operations {
1122
2032
  [name: string]: unknown;
1123
2033
  };
1124
2034
  content: {
1125
- "text/plain": string;
2035
+ "application/json": components["schemas"]["ResponseJson_Null"];
1126
2036
  };
1127
2037
  };
1128
2038
  };
1129
2039
  };
1130
- createUser: {
2040
+ createFeeding: {
1131
2041
  parameters: {
1132
2042
  query?: never;
1133
2043
  header?: never;
@@ -1136,7 +2046,7 @@ interface operations {
1136
2046
  };
1137
2047
  requestBody: {
1138
2048
  content: {
1139
- "application/json": components["schemas"]["CreateUserDto"];
2049
+ "application/json": components["schemas"]["CreateFeedingParams"];
1140
2050
  };
1141
2051
  };
1142
2052
  responses: {
@@ -1151,7 +2061,7 @@ interface operations {
1151
2061
  };
1152
2062
  };
1153
2063
  };
1154
- queryUsersByPage: {
2064
+ queryFeedings: {
1155
2065
  parameters: {
1156
2066
  query?: never;
1157
2067
  header?: never;
@@ -1160,7 +2070,7 @@ interface operations {
1160
2070
  };
1161
2071
  requestBody: {
1162
2072
  content: {
1163
- "application/json": components["schemas"]["PageableQueryDto_UserFilterDto_UserOrderField"];
2073
+ "application/json": components["schemas"]["PageableQueryDto_FeedingFilterParams"];
1164
2074
  };
1165
2075
  };
1166
2076
  responses: {
@@ -1170,23 +2080,21 @@ interface operations {
1170
2080
  [name: string]: unknown;
1171
2081
  };
1172
2082
  content: {
1173
- "application/json": components["schemas"]["ResponseJson_PaginatedData_UserDto"];
2083
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Feeding"];
1174
2084
  };
1175
2085
  };
1176
2086
  };
1177
2087
  };
1178
- deleteUsers: {
2088
+ deleteFeedings: {
1179
2089
  parameters: {
1180
- query?: never;
2090
+ query: {
2091
+ ids: string[];
2092
+ };
1181
2093
  header?: never;
1182
2094
  path?: never;
1183
2095
  cookie?: never;
1184
2096
  };
1185
- requestBody: {
1186
- content: {
1187
- "application/json": components["schemas"]["DeleteUsersRequestDto"];
1188
- };
1189
- };
2097
+ requestBody?: never;
1190
2098
  responses: {
1191
2099
  /** @description ok */
1192
2100
  200: {
@@ -1199,16 +2107,18 @@ interface operations {
1199
2107
  };
1200
2108
  };
1201
2109
  };
1202
- getFile: {
2110
+ updateFeeding: {
1203
2111
  parameters: {
1204
- query: {
1205
- id: string;
1206
- };
2112
+ query?: never;
1207
2113
  header?: never;
1208
2114
  path?: never;
1209
2115
  cookie?: never;
1210
2116
  };
1211
- requestBody?: never;
2117
+ requestBody: {
2118
+ content: {
2119
+ "application/json": components["schemas"]["UpdateFeedingParams"];
2120
+ };
2121
+ };
1212
2122
  responses: {
1213
2123
  /** @description ok */
1214
2124
  200: {
@@ -1216,19 +2126,36 @@ interface operations {
1216
2126
  [name: string]: unknown;
1217
2127
  };
1218
2128
  content: {
1219
- "application/octet-stream": number[];
2129
+ "application/json": components["schemas"]["ResponseJson_Null"];
1220
2130
  };
1221
2131
  };
1222
- /** @description not found */
1223
- 404: {
2132
+ };
2133
+ };
2134
+ createHealthRecord: {
2135
+ parameters: {
2136
+ query?: never;
2137
+ header?: never;
2138
+ path?: never;
2139
+ cookie?: never;
2140
+ };
2141
+ requestBody: {
2142
+ content: {
2143
+ "application/json": components["schemas"]["CreateHealthRecordParams"];
2144
+ };
2145
+ };
2146
+ responses: {
2147
+ /** @description ok */
2148
+ 200: {
1224
2149
  headers: {
1225
2150
  [name: string]: unknown;
1226
2151
  };
1227
- content?: never;
2152
+ content: {
2153
+ "application/json": components["schemas"]["ResponseJson_String"];
2154
+ };
1228
2155
  };
1229
2156
  };
1230
2157
  };
1231
- createUpload: {
2158
+ queryHealthRecords: {
1232
2159
  parameters: {
1233
2160
  query?: never;
1234
2161
  header?: never;
@@ -1237,7 +2164,7 @@ interface operations {
1237
2164
  };
1238
2165
  requestBody: {
1239
2166
  content: {
1240
- "application/json": components["schemas"]["CreateUploadDto"];
2167
+ "application/json": components["schemas"]["PageableQueryDto_FilterHealthRecordsParams"];
1241
2168
  };
1242
2169
  };
1243
2170
  responses: {
@@ -1247,12 +2174,34 @@ interface operations {
1247
2174
  [name: string]: unknown;
1248
2175
  };
1249
2176
  content: {
1250
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2177
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_Permission"];
1251
2178
  };
1252
2179
  };
1253
2180
  };
1254
2181
  };
1255
- uploadFileChunk: {
2182
+ deleteHealthRecords: {
2183
+ parameters: {
2184
+ query: {
2185
+ ids: string[];
2186
+ };
2187
+ header?: never;
2188
+ path?: never;
2189
+ cookie?: never;
2190
+ };
2191
+ requestBody?: never;
2192
+ responses: {
2193
+ /** @description ok */
2194
+ 200: {
2195
+ headers: {
2196
+ [name: string]: unknown;
2197
+ };
2198
+ content: {
2199
+ "application/json": components["schemas"]["ResponseJson"];
2200
+ };
2201
+ };
2202
+ };
2203
+ };
2204
+ updateHealthRecord: {
1256
2205
  parameters: {
1257
2206
  query?: never;
1258
2207
  header?: never;
@@ -1261,7 +2210,7 @@ interface operations {
1261
2210
  };
1262
2211
  requestBody: {
1263
2212
  content: {
1264
- "multipart/form-data": components["schemas"]["UploadFileChunkDto"];
2213
+ "application/json": components["schemas"]["UpdateHealthRecordParams"];
1265
2214
  };
1266
2215
  };
1267
2216
  responses: {
@@ -1276,7 +2225,7 @@ interface operations {
1276
2225
  };
1277
2226
  };
1278
2227
  };
1279
- mergeFileChunks: {
2228
+ createUrinationDefecation: {
1280
2229
  parameters: {
1281
2230
  query?: never;
1282
2231
  header?: never;
@@ -1285,7 +2234,7 @@ interface operations {
1285
2234
  };
1286
2235
  requestBody: {
1287
2236
  content: {
1288
- "application/json": components["schemas"]["MergeFileChunksDto"];
2237
+ "application/json": components["schemas"]["CreateUrinationDefecationParams"];
1289
2238
  };
1290
2239
  };
1291
2240
  responses: {
@@ -1295,21 +2244,23 @@ interface operations {
1295
2244
  [name: string]: unknown;
1296
2245
  };
1297
2246
  content: {
1298
- "application/json": components["schemas"]["ResponseJson_UploadDto"];
2247
+ "application/json": components["schemas"]["ResponseJson_String"];
1299
2248
  };
1300
2249
  };
1301
2250
  };
1302
2251
  };
1303
- wechatSignJsSdk: {
2252
+ queryUrinationDefecations: {
1304
2253
  parameters: {
1305
- query: {
1306
- url: string;
1307
- };
2254
+ query?: never;
1308
2255
  header?: never;
1309
2256
  path?: never;
1310
2257
  cookie?: never;
1311
2258
  };
1312
- requestBody?: never;
2259
+ requestBody: {
2260
+ content: {
2261
+ "application/json": components["schemas"]["PageableQueryDto_FilterUrinationDefecationParams"];
2262
+ };
2263
+ };
1313
2264
  responses: {
1314
2265
  /** @description ok */
1315
2266
  200: {
@@ -1317,18 +2268,15 @@ interface operations {
1317
2268
  [name: string]: unknown;
1318
2269
  };
1319
2270
  content: {
1320
- "application/json": components["schemas"]["SignJsSdkData"];
2271
+ "application/json": components["schemas"]["ResponseJson_PaginatedData_UrinationDefecation"];
1321
2272
  };
1322
2273
  };
1323
2274
  };
1324
2275
  };
1325
- wechat_verify_server: {
2276
+ deleteUrinationDefecations: {
1326
2277
  parameters: {
1327
2278
  query: {
1328
- signature: string;
1329
- timestamp: string;
1330
- nonce: string;
1331
- echostr: string;
2279
+ ids: string[];
1332
2280
  };
1333
2281
  header?: never;
1334
2282
  path?: never;
@@ -1342,12 +2290,12 @@ interface operations {
1342
2290
  [name: string]: unknown;
1343
2291
  };
1344
2292
  content: {
1345
- "text/plain": string;
2293
+ "application/json": components["schemas"]["ResponseJson"];
1346
2294
  };
1347
2295
  };
1348
2296
  };
1349
2297
  };
1350
- wechat_webhook: {
2298
+ updateUrinationDefecation: {
1351
2299
  parameters: {
1352
2300
  query?: never;
1353
2301
  header?: never;
@@ -1356,7 +2304,7 @@ interface operations {
1356
2304
  };
1357
2305
  requestBody: {
1358
2306
  content: {
1359
- "application/xml": string;
2307
+ "application/json": components["schemas"]["UpdateUrinationDefecationParams"];
1360
2308
  };
1361
2309
  };
1362
2310
  responses: {
@@ -1366,7 +2314,7 @@ interface operations {
1366
2314
  [name: string]: unknown;
1367
2315
  };
1368
2316
  content: {
1369
- "text/plain": string;
2317
+ "application/json": components["schemas"]["ResponseJson_Null"];
1370
2318
  };
1371
2319
  };
1372
2320
  };