@hapaul/api 0.1.56 → 0.1.57
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 +60 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -946,6 +946,23 @@ interface paths {
|
|
|
946
946
|
patch: operations["updateCacheTag"];
|
|
947
947
|
trace?: never;
|
|
948
948
|
};
|
|
949
|
+
"/dailyLog/queryDailyLog": {
|
|
950
|
+
parameters: {
|
|
951
|
+
query?: never;
|
|
952
|
+
header?: never;
|
|
953
|
+
path?: never;
|
|
954
|
+
cookie?: never;
|
|
955
|
+
};
|
|
956
|
+
/** Query daily log */
|
|
957
|
+
get: operations["queryDailyLog"];
|
|
958
|
+
put?: never;
|
|
959
|
+
post?: never;
|
|
960
|
+
delete?: never;
|
|
961
|
+
options?: never;
|
|
962
|
+
head?: never;
|
|
963
|
+
patch?: never;
|
|
964
|
+
trace?: never;
|
|
965
|
+
};
|
|
949
966
|
"/urinationDefecation/createUrinationDefecation": {
|
|
950
967
|
parameters: {
|
|
951
968
|
query?: never;
|
|
@@ -1169,6 +1186,22 @@ interface components {
|
|
|
1169
1186
|
account: string;
|
|
1170
1187
|
password: string;
|
|
1171
1188
|
};
|
|
1189
|
+
DailyLog: {
|
|
1190
|
+
records: components["schemas"]["DailyLogRecord"][];
|
|
1191
|
+
};
|
|
1192
|
+
DailyLogRecord: {
|
|
1193
|
+
data: components["schemas"]["Feeding"];
|
|
1194
|
+
/** @enum {string} */
|
|
1195
|
+
type: "feeding";
|
|
1196
|
+
} | {
|
|
1197
|
+
data: components["schemas"]["UrinationDefecation"];
|
|
1198
|
+
/** @enum {string} */
|
|
1199
|
+
type: "urinationDefecation";
|
|
1200
|
+
} | {
|
|
1201
|
+
data: components["schemas"]["Medication"];
|
|
1202
|
+
/** @enum {string} */
|
|
1203
|
+
type: "medication";
|
|
1204
|
+
};
|
|
1172
1205
|
DeletePermissionParams: {
|
|
1173
1206
|
/** Format: uuid */
|
|
1174
1207
|
id: string;
|
|
@@ -1578,6 +1611,9 @@ interface components {
|
|
|
1578
1611
|
platform?: null | components["schemas"]["LoginPlatform"];
|
|
1579
1612
|
};
|
|
1580
1613
|
ResponseJson: components["schemas"]["Null"];
|
|
1614
|
+
ResponseJson_DailyLog: {
|
|
1615
|
+
records: components["schemas"]["DailyLogRecord"][];
|
|
1616
|
+
};
|
|
1581
1617
|
ResponseJson_InvitationPreview: {
|
|
1582
1618
|
/** Format: uuid */
|
|
1583
1619
|
invitationId: string;
|
|
@@ -3378,6 +3414,30 @@ interface operations {
|
|
|
3378
3414
|
};
|
|
3379
3415
|
};
|
|
3380
3416
|
};
|
|
3417
|
+
queryDailyLog: {
|
|
3418
|
+
parameters: {
|
|
3419
|
+
query: {
|
|
3420
|
+
babyId: string;
|
|
3421
|
+
from: string;
|
|
3422
|
+
to: string;
|
|
3423
|
+
};
|
|
3424
|
+
header?: never;
|
|
3425
|
+
path?: never;
|
|
3426
|
+
cookie?: never;
|
|
3427
|
+
};
|
|
3428
|
+
requestBody?: never;
|
|
3429
|
+
responses: {
|
|
3430
|
+
/** @description ok */
|
|
3431
|
+
200: {
|
|
3432
|
+
headers: {
|
|
3433
|
+
[name: string]: unknown;
|
|
3434
|
+
};
|
|
3435
|
+
content: {
|
|
3436
|
+
"application/json": components["schemas"]["ResponseJson_DailyLog"];
|
|
3437
|
+
};
|
|
3438
|
+
};
|
|
3439
|
+
};
|
|
3440
|
+
};
|
|
3381
3441
|
createUrinationDefecation: {
|
|
3382
3442
|
parameters: {
|
|
3383
3443
|
query?: never;
|