@laplace.live/internal 1.2.33 → 1.2.35
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/index.d.ts +20 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -901,6 +901,22 @@ export declare namespace LaplaceInternal {
|
|
|
901
901
|
rejectReason?: string
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
+
/**
|
|
905
|
+
* Query parameters for GET /laplace/fertility-contributions
|
|
906
|
+
*/
|
|
907
|
+
export interface FertilityContributionsListQuery {
|
|
908
|
+
/** Filter by status */
|
|
909
|
+
status?: ContributionStatus
|
|
910
|
+
/** Maximum number of results (1-500, default: 100) */
|
|
911
|
+
limit?: number
|
|
912
|
+
/** Offset for pagination (default: 0) */
|
|
913
|
+
offset?: number
|
|
914
|
+
/** Field to sort by (default: 'createdAt') */
|
|
915
|
+
sortBy?: 'createdAt' | 'reviewedAt'
|
|
916
|
+
/** Sort order (default: 'desc') */
|
|
917
|
+
sort?: 'asc' | 'desc'
|
|
918
|
+
}
|
|
919
|
+
|
|
904
920
|
/**
|
|
905
921
|
* Response for GET /laplace/fertility-contributions
|
|
906
922
|
*/
|
|
@@ -969,6 +985,10 @@ export declare namespace LaplaceInternal {
|
|
|
969
985
|
approved: number
|
|
970
986
|
rejected: number
|
|
971
987
|
total: number
|
|
988
|
+
/** Average time from submission to approval/rejection in milliseconds */
|
|
989
|
+
avgProcessingTimeMs: number | null
|
|
990
|
+
/** Average time from submission to approval/rejection in hours (1 decimal) */
|
|
991
|
+
avgProcessingTimeHours: number | null
|
|
972
992
|
}
|
|
973
993
|
|
|
974
994
|
// ============================================
|