@hapaul/api 0.1.56 → 0.1.58

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 +124 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -347,6 +347,23 @@ interface paths {
347
347
  patch?: never;
348
348
  trace?: never;
349
349
  };
350
+ "/uploads/getThumbnail": {
351
+ parameters: {
352
+ query?: never;
353
+ header?: never;
354
+ path?: never;
355
+ cookie?: never;
356
+ };
357
+ /** Get thumbnail */
358
+ get: operations["getThumbnail"];
359
+ put?: never;
360
+ post?: never;
361
+ delete?: never;
362
+ options?: never;
363
+ head?: never;
364
+ patch?: never;
365
+ trace?: never;
366
+ };
350
367
  "/uploads/createUpload": {
351
368
  parameters: {
352
369
  query?: never;
@@ -946,6 +963,23 @@ interface paths {
946
963
  patch: operations["updateCacheTag"];
947
964
  trace?: never;
948
965
  };
966
+ "/dailyLog/queryDailyLog": {
967
+ parameters: {
968
+ query?: never;
969
+ header?: never;
970
+ path?: never;
971
+ cookie?: never;
972
+ };
973
+ /** Query daily log */
974
+ get: operations["queryDailyLog"];
975
+ put?: never;
976
+ post?: never;
977
+ delete?: never;
978
+ options?: never;
979
+ head?: never;
980
+ patch?: never;
981
+ trace?: never;
982
+ };
949
983
  "/urinationDefecation/createUrinationDefecation": {
950
984
  parameters: {
951
985
  query?: never;
@@ -1169,6 +1203,22 @@ interface components {
1169
1203
  account: string;
1170
1204
  password: string;
1171
1205
  };
1206
+ DailyLog: {
1207
+ records: components["schemas"]["DailyLogRecord"][];
1208
+ };
1209
+ DailyLogRecord: {
1210
+ data: components["schemas"]["Feeding"];
1211
+ /** @enum {string} */
1212
+ type: "feeding";
1213
+ } | {
1214
+ data: components["schemas"]["UrinationDefecation"];
1215
+ /** @enum {string} */
1216
+ type: "urinationDefecation";
1217
+ } | {
1218
+ data: components["schemas"]["Medication"];
1219
+ /** @enum {string} */
1220
+ type: "medication";
1221
+ };
1172
1222
  DeletePermissionParams: {
1173
1223
  /** Format: uuid */
1174
1224
  id: string;
@@ -1578,6 +1628,9 @@ interface components {
1578
1628
  platform?: null | components["schemas"]["LoginPlatform"];
1579
1629
  };
1580
1630
  ResponseJson: components["schemas"]["Null"];
1631
+ ResponseJson_DailyLog: {
1632
+ records: components["schemas"]["DailyLogRecord"][];
1633
+ };
1581
1634
  ResponseJson_InvitationPreview: {
1582
1635
  /** Format: uuid */
1583
1636
  invitationId: string;
@@ -1778,6 +1831,12 @@ interface components {
1778
1831
  missingChunks: number[];
1779
1832
  /** Format: date-time */
1780
1833
  mergedAt?: string | null;
1834
+ /** Format: int32 */
1835
+ thumbnailWidth?: number | null;
1836
+ /** Format: int32 */
1837
+ thumbnailHeight?: number | null;
1838
+ /** Format: int32 */
1839
+ thumbnailSize?: number | null;
1781
1840
  /** Format: date-time */
1782
1841
  createdAt: string;
1783
1842
  /** Format: date-time */
@@ -1947,6 +2006,12 @@ interface components {
1947
2006
  mime_type: components["schemas"]["MimeType"];
1948
2007
  kind: components["schemas"]["MimeKind"];
1949
2008
  metadata?: null | components["schemas"]["FileMetadata"];
2009
+ /** Format: int32 */
2010
+ thumbnail_width?: number | null;
2011
+ /** Format: int32 */
2012
+ thumbnail_height?: number | null;
2013
+ /** Format: int32 */
2014
+ thumbnail_size?: number | null;
1950
2015
  /** Format: date-time */
1951
2016
  created_at: string;
1952
2017
  /** Format: date-time */
@@ -1966,6 +2031,12 @@ interface components {
1966
2031
  missingChunks: number[];
1967
2032
  /** Format: date-time */
1968
2033
  mergedAt?: string | null;
2034
+ /** Format: int32 */
2035
+ thumbnailWidth?: number | null;
2036
+ /** Format: int32 */
2037
+ thumbnailHeight?: number | null;
2038
+ /** Format: int32 */
2039
+ thumbnailSize?: number | null;
1969
2040
  /** Format: date-time */
1970
2041
  createdAt: string;
1971
2042
  /** Format: date-time */
@@ -2534,6 +2605,35 @@ interface operations {
2534
2605
  };
2535
2606
  };
2536
2607
  };
2608
+ getThumbnail: {
2609
+ parameters: {
2610
+ query: {
2611
+ id: string;
2612
+ };
2613
+ header?: never;
2614
+ path?: never;
2615
+ cookie?: never;
2616
+ };
2617
+ requestBody?: never;
2618
+ responses: {
2619
+ /** @description ok */
2620
+ 200: {
2621
+ headers: {
2622
+ [name: string]: unknown;
2623
+ };
2624
+ content: {
2625
+ "image/*": number[];
2626
+ };
2627
+ };
2628
+ /** @description not found */
2629
+ 404: {
2630
+ headers: {
2631
+ [name: string]: unknown;
2632
+ };
2633
+ content?: never;
2634
+ };
2635
+ };
2636
+ };
2537
2637
  createUpload: {
2538
2638
  parameters: {
2539
2639
  query?: never;
@@ -3378,6 +3478,30 @@ interface operations {
3378
3478
  };
3379
3479
  };
3380
3480
  };
3481
+ queryDailyLog: {
3482
+ parameters: {
3483
+ query: {
3484
+ babyId: string;
3485
+ from: string;
3486
+ to: string;
3487
+ };
3488
+ header?: never;
3489
+ path?: never;
3490
+ cookie?: never;
3491
+ };
3492
+ requestBody?: never;
3493
+ responses: {
3494
+ /** @description ok */
3495
+ 200: {
3496
+ headers: {
3497
+ [name: string]: unknown;
3498
+ };
3499
+ content: {
3500
+ "application/json": components["schemas"]["ResponseJson_DailyLog"];
3501
+ };
3502
+ };
3503
+ };
3504
+ };
3381
3505
  createUrinationDefecation: {
3382
3506
  parameters: {
3383
3507
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapaul/api",
3
- "version": "0.1.56",
3
+ "version": "0.1.58",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [