@parkflow/shared-types 1.6.0 → 1.10.0

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 (78) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/index.d.ts +2 -1
  3. package/dist/types/index.js +2 -1
  4. package/dist/types/index.js.map +1 -1
  5. package/dist/types/lot-health/index.d.ts +17 -0
  6. package/dist/types/lot-health/index.js +34 -0
  7. package/dist/types/lot-health/index.js.map +1 -0
  8. package/dist/types/lot-health/lot-backlog-severity.enum.d.ts +5 -0
  9. package/dist/types/lot-health/lot-backlog-severity.enum.js +10 -0
  10. package/dist/types/lot-health/lot-backlog-severity.enum.js.map +1 -0
  11. package/dist/types/lot-health/lot-backlog-status.interface.d.ts +8 -0
  12. package/dist/types/lot-health/lot-backlog-status.interface.js +3 -0
  13. package/dist/types/lot-health/lot-backlog-status.interface.js.map +1 -0
  14. package/dist/types/lot-health/lot-blackout-impact-sample.interface.d.ts +8 -0
  15. package/dist/types/lot-health/lot-blackout-impact-sample.interface.js +3 -0
  16. package/dist/types/lot-health/lot-blackout-impact-sample.interface.js.map +1 -0
  17. package/dist/types/lot-health/lot-blackout-impact.interface.d.ts +6 -0
  18. package/dist/types/lot-health/lot-blackout-impact.interface.js +3 -0
  19. package/dist/types/lot-health/lot-blackout-impact.interface.js.map +1 -0
  20. package/dist/types/lot-health/lot-blackout-window.interface.d.ts +10 -0
  21. package/dist/types/lot-health/lot-blackout-window.interface.js +3 -0
  22. package/dist/types/lot-health/lot-blackout-window.interface.js.map +1 -0
  23. package/dist/types/lot-health/lot-daily-metrics.interface.d.ts +8 -0
  24. package/dist/types/lot-health/lot-daily-metrics.interface.js +3 -0
  25. package/dist/types/lot-health/lot-daily-metrics.interface.js.map +1 -0
  26. package/dist/types/lot-health/lot-day-funnel.interface.d.ts +12 -0
  27. package/dist/types/lot-health/lot-day-funnel.interface.js +3 -0
  28. package/dist/types/lot-health/lot-day-funnel.interface.js.map +1 -0
  29. package/dist/types/lot-health/lot-enforcement-config.interface.d.ts +8 -0
  30. package/dist/types/lot-health/lot-enforcement-config.interface.js +3 -0
  31. package/dist/types/lot-health/lot-enforcement-config.interface.js.map +1 -0
  32. package/dist/types/lot-health/lot-enforcement-run-info.interface.d.ts +7 -0
  33. package/dist/types/lot-health/lot-enforcement-run-info.interface.js +3 -0
  34. package/dist/types/lot-health/lot-enforcement-run-info.interface.js.map +1 -0
  35. package/dist/types/lot-health/lot-enforcement-trigger-source.enum.d.ts +6 -0
  36. package/dist/types/lot-health/lot-enforcement-trigger-source.enum.js +11 -0
  37. package/dist/types/lot-health/lot-enforcement-trigger-source.enum.js.map +1 -0
  38. package/dist/types/lot-health/lot-health-response.interface.d.ts +22 -0
  39. package/dist/types/lot-health/lot-health-response.interface.js +3 -0
  40. package/dist/types/lot-health/lot-health-response.interface.js.map +1 -0
  41. package/dist/types/lot-health/lot-recent-validation.interface.d.ts +10 -0
  42. package/dist/types/lot-health/lot-recent-validation.interface.js +3 -0
  43. package/dist/types/lot-health/lot-recent-validation.interface.js.map +1 -0
  44. package/dist/types/lot-health/lot-validation-activity-section.interface.d.ts +6 -0
  45. package/dist/types/lot-health/lot-validation-activity-section.interface.js +3 -0
  46. package/dist/types/lot-health/lot-validation-activity-section.interface.js.map +1 -0
  47. package/dist/types/lot-health/lot-validation-provider-state.enum.d.ts +5 -0
  48. package/dist/types/lot-health/lot-validation-provider-state.enum.js +10 -0
  49. package/dist/types/lot-health/lot-validation-provider-state.enum.js.map +1 -0
  50. package/dist/types/lot-health/lot-validation-provider-status.interface.d.ts +8 -0
  51. package/dist/types/lot-health/lot-validation-provider-status.interface.js +3 -0
  52. package/dist/types/lot-health/lot-validation-provider-status.interface.js.map +1 -0
  53. package/dist/types/lot-health/lot-webhook-activity.interface.d.ts +12 -0
  54. package/dist/types/lot-health/lot-webhook-activity.interface.js +3 -0
  55. package/dist/types/lot-health/lot-webhook-activity.interface.js.map +1 -0
  56. package/dist/types/lot-health/validation-reason-bucket.interface.d.ts +4 -0
  57. package/dist/types/lot-health/validation-reason-bucket.interface.js +3 -0
  58. package/dist/types/lot-health/validation-reason-bucket.interface.js.map +1 -0
  59. package/package.json +1 -1
  60. package/src/types/index.ts +2 -1
  61. package/src/types/lot-health/index.ts +17 -0
  62. package/src/types/lot-health/lot-backlog-severity.enum.ts +5 -0
  63. package/src/types/lot-health/lot-backlog-status.interface.ts +10 -0
  64. package/src/types/lot-health/lot-blackout-impact-sample.interface.ts +14 -0
  65. package/src/types/lot-health/lot-blackout-impact.interface.ts +15 -0
  66. package/src/types/lot-health/lot-blackout-window.interface.ts +20 -0
  67. package/src/types/lot-health/lot-daily-metrics.interface.ts +8 -0
  68. package/src/types/lot-health/lot-day-funnel.interface.ts +14 -0
  69. package/src/types/lot-health/lot-enforcement-config.interface.ts +8 -0
  70. package/src/types/lot-health/lot-enforcement-run-info.interface.ts +8 -0
  71. package/src/types/lot-health/lot-enforcement-trigger-source.enum.ts +6 -0
  72. package/src/types/lot-health/lot-health-response.interface.ts +27 -0
  73. package/src/types/lot-health/lot-recent-validation.interface.ts +14 -0
  74. package/src/types/lot-health/lot-validation-activity-section.interface.ts +9 -0
  75. package/src/types/lot-health/lot-validation-provider-state.enum.ts +8 -0
  76. package/src/types/lot-health/lot-validation-provider-status.interface.ts +9 -0
  77. package/src/types/lot-health/lot-webhook-activity.interface.ts +16 -0
  78. package/src/types/lot-health/validation-reason-bucket.interface.ts +4 -0
@@ -0,0 +1,9 @@
1
+ import { LotValidationProviderState } from './lot-validation-provider-state.enum';
2
+
3
+ export interface LotValidationProviderStatus {
4
+ paymentIntegrationId: number;
5
+ providerName: string;
6
+ state: LotValidationProviderState;
7
+ countLast24h: number;
8
+ lastReceivedAtUtc: string | null;
9
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * One row from the outbound webhook log for a lot — one delivery attempt to one subscriber.
3
+ * Includes the full rendered payload so the UI can show it on demand without a second round-trip.
4
+ */
5
+ export interface LotWebhookActivity {
6
+ id: string;
7
+ eventType: string;
8
+ status: string;
9
+ statusCode: number | null;
10
+ subscriberName: string | null;
11
+ destinationUrl: string | null;
12
+ createdAtUtc: string;
13
+ retryCount: number;
14
+ errorMessage: string | null;
15
+ payload: unknown;
16
+ }
@@ -0,0 +1,4 @@
1
+ export interface ValidationReasonBucket {
2
+ reasonShort: string;
3
+ count: number;
4
+ }