@hapaul/api 0.1.49 → 0.1.50
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.
- package/dist/index.d.ts +115 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -867,6 +867,30 @@ interface components {
|
|
|
867
867
|
AcceptInvitationDto: {
|
|
868
868
|
invitationCode: string;
|
|
869
869
|
};
|
|
870
|
+
ArchiveMetadata: {
|
|
871
|
+
/** Format: int32 */
|
|
872
|
+
fileCount?: number | null;
|
|
873
|
+
/** Format: int64 */
|
|
874
|
+
uncompressedSize?: number | null;
|
|
875
|
+
compressionMethod?: string | null;
|
|
876
|
+
isPasswordProtected?: boolean | null;
|
|
877
|
+
};
|
|
878
|
+
AudioMetadata: {
|
|
879
|
+
/** Format: double */
|
|
880
|
+
duration?: number | null;
|
|
881
|
+
codec?: string | null;
|
|
882
|
+
/** Format: int32 */
|
|
883
|
+
sampleRate?: number | null;
|
|
884
|
+
/** Format: int32 */
|
|
885
|
+
bitDepth?: number | null;
|
|
886
|
+
/** Format: int32 */
|
|
887
|
+
channels?: number | null;
|
|
888
|
+
/** Format: int64 */
|
|
889
|
+
bitrate?: number | null;
|
|
890
|
+
title?: string | null;
|
|
891
|
+
artist?: string | null;
|
|
892
|
+
album?: string | null;
|
|
893
|
+
};
|
|
870
894
|
Baby: {
|
|
871
895
|
/** Format: uuid */
|
|
872
896
|
id: string;
|
|
@@ -959,6 +983,16 @@ interface components {
|
|
|
959
983
|
/** Format: uuid */
|
|
960
984
|
id: string;
|
|
961
985
|
};
|
|
986
|
+
DocumentMetadata: {
|
|
987
|
+
/** Format: int32 */
|
|
988
|
+
pageCount?: number | null;
|
|
989
|
+
author?: string | null;
|
|
990
|
+
subject?: string | null;
|
|
991
|
+
keywords?: string[] | null;
|
|
992
|
+
createdDate?: string | null;
|
|
993
|
+
modifiedDate?: string | null;
|
|
994
|
+
isPasswordProtected?: boolean | null;
|
|
995
|
+
};
|
|
962
996
|
Feeding: {
|
|
963
997
|
/** Format: uuid */
|
|
964
998
|
id: string;
|
|
@@ -977,6 +1011,25 @@ interface components {
|
|
|
977
1011
|
};
|
|
978
1012
|
/** @enum {string} */
|
|
979
1013
|
FeedingKind: "milkPowder" | "breastMilk" | "leftBreastMilk" | "rightBreastMilk";
|
|
1014
|
+
FileMetadata: (components["schemas"]["ImageMetadata"] & {
|
|
1015
|
+
/** @enum {string} */
|
|
1016
|
+
type: "image";
|
|
1017
|
+
}) | (components["schemas"]["VideoMetadata"] & {
|
|
1018
|
+
/** @enum {string} */
|
|
1019
|
+
type: "video";
|
|
1020
|
+
}) | (components["schemas"]["AudioMetadata"] & {
|
|
1021
|
+
/** @enum {string} */
|
|
1022
|
+
type: "audio";
|
|
1023
|
+
}) | (components["schemas"]["DocumentMetadata"] & {
|
|
1024
|
+
/** @enum {string} */
|
|
1025
|
+
type: "document";
|
|
1026
|
+
}) | (components["schemas"]["ArchiveMetadata"] & {
|
|
1027
|
+
/** @enum {string} */
|
|
1028
|
+
type: "archive";
|
|
1029
|
+
}) | (components["schemas"]["GenericMetadata"] & {
|
|
1030
|
+
/** @enum {string} */
|
|
1031
|
+
type: "generic";
|
|
1032
|
+
});
|
|
980
1033
|
FilterBabiesParams: {
|
|
981
1034
|
/** Format: uuid */
|
|
982
1035
|
createdBy?: string | null;
|
|
@@ -1008,6 +1061,15 @@ interface components {
|
|
|
1008
1061
|
};
|
|
1009
1062
|
/** @enum {string} */
|
|
1010
1063
|
Gender: "unknown" | "male" | "female";
|
|
1064
|
+
GenericMetadata: unknown;
|
|
1065
|
+
GpsMetadata: {
|
|
1066
|
+
/** Format: double */
|
|
1067
|
+
latitude?: number | null;
|
|
1068
|
+
/** Format: double */
|
|
1069
|
+
longitude?: number | null;
|
|
1070
|
+
/** Format: double */
|
|
1071
|
+
altitude?: number | null;
|
|
1072
|
+
};
|
|
1011
1073
|
HealthRecord: {
|
|
1012
1074
|
/** Format: uuid */
|
|
1013
1075
|
id: string;
|
|
@@ -1025,6 +1087,20 @@ interface components {
|
|
|
1025
1087
|
};
|
|
1026
1088
|
/** @enum {string} */
|
|
1027
1089
|
HealthRecordKind: "height" | "weight";
|
|
1090
|
+
ImageMetadata: {
|
|
1091
|
+
/** Format: int32 */
|
|
1092
|
+
width?: number | null;
|
|
1093
|
+
/** Format: int32 */
|
|
1094
|
+
height?: number | null;
|
|
1095
|
+
gps?: null | components["schemas"]["GpsMetadata"];
|
|
1096
|
+
colorSpace?: string | null;
|
|
1097
|
+
/** Format: int32 */
|
|
1098
|
+
bitsPerSample?: number | null;
|
|
1099
|
+
hasAlpha?: boolean | null;
|
|
1100
|
+
orientation?: null | components["schemas"]["ImageOrientation"];
|
|
1101
|
+
};
|
|
1102
|
+
/** @enum {string} */
|
|
1103
|
+
ImageOrientation: "normal" | "flipHorizontal" | "rotate180" | "flipVertical" | "flipHorizontalRotate270" | "rotate90" | "flipHorizontalRotate90" | "rotate270";
|
|
1028
1104
|
InvitationPreview: {
|
|
1029
1105
|
/** Format: uuid */
|
|
1030
1106
|
invitationId: string;
|
|
@@ -1055,6 +1131,10 @@ interface components {
|
|
|
1055
1131
|
/** Format: uuid */
|
|
1056
1132
|
uploadId: string;
|
|
1057
1133
|
};
|
|
1134
|
+
/** @enum {string} */
|
|
1135
|
+
MimeKind: "unknown" | "image" | "video" | "audio" | "archive" | "book" | "document" | "font" | "application";
|
|
1136
|
+
/** @description MIME type string (e.g., 'image/jpeg', 'application/pdf') */
|
|
1137
|
+
MimeType: string;
|
|
1058
1138
|
/** @default null */
|
|
1059
1139
|
Null: unknown;
|
|
1060
1140
|
PageableQueryDto_FilterBabiesParams: {
|
|
@@ -1534,6 +1614,9 @@ interface components {
|
|
|
1534
1614
|
status: components["schemas"]["UploadStatus"];
|
|
1535
1615
|
/** Format: date-time */
|
|
1536
1616
|
merged_at?: string | null;
|
|
1617
|
+
mime_type: components["schemas"]["MimeType"];
|
|
1618
|
+
kind: components["schemas"]["MimeKind"];
|
|
1619
|
+
metadata?: null | components["schemas"]["FileMetadata"];
|
|
1537
1620
|
/** Format: date-time */
|
|
1538
1621
|
created_at: string;
|
|
1539
1622
|
/** Format: date-time */
|
|
@@ -1611,6 +1694,21 @@ interface components {
|
|
|
1611
1694
|
UserFilterDto: {
|
|
1612
1695
|
account?: string | null;
|
|
1613
1696
|
};
|
|
1697
|
+
VideoMetadata: {
|
|
1698
|
+
/** Format: double */
|
|
1699
|
+
duration?: number | null;
|
|
1700
|
+
/** Format: int32 */
|
|
1701
|
+
width?: number | null;
|
|
1702
|
+
/** Format: int32 */
|
|
1703
|
+
height?: number | null;
|
|
1704
|
+
videoCodec?: string | null;
|
|
1705
|
+
audioCodec?: string | null;
|
|
1706
|
+
/** Format: double */
|
|
1707
|
+
frameRate?: number | null;
|
|
1708
|
+
/** Format: int64 */
|
|
1709
|
+
bitrate?: number | null;
|
|
1710
|
+
hasAudio?: boolean | null;
|
|
1711
|
+
};
|
|
1614
1712
|
};
|
|
1615
1713
|
responses: never;
|
|
1616
1714
|
parameters: never;
|
|
@@ -2081,6 +2179,15 @@ interface operations {
|
|
|
2081
2179
|
"application/octet-stream": number[];
|
|
2082
2180
|
};
|
|
2083
2181
|
};
|
|
2182
|
+
/** @description partial content */
|
|
2183
|
+
206: {
|
|
2184
|
+
headers: {
|
|
2185
|
+
[name: string]: unknown;
|
|
2186
|
+
};
|
|
2187
|
+
content: {
|
|
2188
|
+
"application/octet-stream": number[];
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2084
2191
|
/** @description not found */
|
|
2085
2192
|
404: {
|
|
2086
2193
|
headers: {
|
|
@@ -2088,6 +2195,13 @@ interface operations {
|
|
|
2088
2195
|
};
|
|
2089
2196
|
content?: never;
|
|
2090
2197
|
};
|
|
2198
|
+
/** @description range not satisfiable */
|
|
2199
|
+
416: {
|
|
2200
|
+
headers: {
|
|
2201
|
+
[name: string]: unknown;
|
|
2202
|
+
};
|
|
2203
|
+
content?: never;
|
|
2204
|
+
};
|
|
2091
2205
|
};
|
|
2092
2206
|
};
|
|
2093
2207
|
createUpload: {
|
|
@@ -2678,7 +2792,7 @@ interface operations {
|
|
|
2678
2792
|
queryPostsTimeline: {
|
|
2679
2793
|
parameters: {
|
|
2680
2794
|
query: {
|
|
2681
|
-
babyId
|
|
2795
|
+
babyId: string;
|
|
2682
2796
|
createdBy?: string | null;
|
|
2683
2797
|
limit: number;
|
|
2684
2798
|
cursor?: string | null;
|