@hapaul/api 0.1.55 → 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +62 -3
  2. 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;
@@ -1559,7 +1592,7 @@ interface components {
1559
1592
  };
1560
1593
  QuerySortDto_SortTagParams: {
1561
1594
  /** @enum {string} */
1562
- field: "createdAt" | "label";
1595
+ field: "createdAt" | "label" | "lastUsedAt";
1563
1596
  order: components["schemas"]["QueryOrder"];
1564
1597
  };
1565
1598
  QuerySortDto_SortUrinationDefecationParams: {
@@ -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;
@@ -1858,7 +1894,7 @@ interface components {
1858
1894
  /** @enum {string} */
1859
1895
  SortMedicationParams: "datetime";
1860
1896
  /** @enum {string} */
1861
- SortTagParams: "createdAt" | "label";
1897
+ SortTagParams: "createdAt" | "label" | "lastUsedAt";
1862
1898
  /** @enum {string} */
1863
1899
  SortUrinationDefecationParams: "datetime";
1864
1900
  /** @enum {string} */
@@ -1901,7 +1937,6 @@ interface components {
1901
1937
  UpdateMedicationParams: {
1902
1938
  /** Format: uuid */
1903
1939
  id: string;
1904
- medicationType?: null | components["schemas"]["MedicationType"];
1905
1940
  name?: string | null;
1906
1941
  description?: string | null;
1907
1942
  /** Format: int32 */
@@ -3379,6 +3414,30 @@ interface operations {
3379
3414
  };
3380
3415
  };
3381
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
+ };
3382
3441
  createUrinationDefecation: {
3383
3442
  parameters: {
3384
3443
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapaul/api",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [