@oneuptime/common 10.2.2 → 10.2.3

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 (54) hide show
  1. package/Models/DatabaseModels/Index.ts +4 -0
  2. package/Models/DatabaseModels/UserNotificationRule.ts +49 -0
  3. package/Models/DatabaseModels/UserNotificationSetting.ts +17 -0
  4. package/Models/DatabaseModels/UserOnCallLogTimeline.ts +48 -0
  5. package/Models/DatabaseModels/UserWebhook.ts +290 -0
  6. package/Models/DatabaseModels/WebhookLog.ts +992 -0
  7. package/Server/API/UserWebhookAPI.ts +159 -0
  8. package/Server/Infrastructure/Postgres/SchemaMigrations/1778506655291-AddProjectOIDC.ts +1 -1
  9. package/Server/Infrastructure/Postgres/SchemaMigrations/1778514515756-MigrationName.ts +259 -0
  10. package/Server/Infrastructure/Postgres/SchemaMigrations/Index.ts +2 -0
  11. package/Server/Services/UserNotificationRuleService.ts +213 -1
  12. package/Server/Services/UserNotificationSettingService.ts +95 -0
  13. package/Server/Services/UserWebhookService.ts +208 -0
  14. package/Server/Services/WebhookLogService.ts +15 -0
  15. package/Server/Services/WebhookService.ts +126 -0
  16. package/Types/Permission.ts +12 -0
  17. package/Types/Webhook/WebhookMessage.ts +8 -0
  18. package/Types/WebhookStatus.ts +6 -0
  19. package/build/dist/Models/DatabaseModels/Index.js +4 -0
  20. package/build/dist/Models/DatabaseModels/Index.js.map +1 -1
  21. package/build/dist/Models/DatabaseModels/UserNotificationRule.js +49 -0
  22. package/build/dist/Models/DatabaseModels/UserNotificationRule.js.map +1 -1
  23. package/build/dist/Models/DatabaseModels/UserNotificationSetting.js +19 -0
  24. package/build/dist/Models/DatabaseModels/UserNotificationSetting.js.map +1 -1
  25. package/build/dist/Models/DatabaseModels/UserOnCallLogTimeline.js +48 -0
  26. package/build/dist/Models/DatabaseModels/UserOnCallLogTimeline.js.map +1 -1
  27. package/build/dist/Models/DatabaseModels/UserWebhook.js +307 -0
  28. package/build/dist/Models/DatabaseModels/UserWebhook.js.map +1 -0
  29. package/build/dist/Models/DatabaseModels/WebhookLog.js +1021 -0
  30. package/build/dist/Models/DatabaseModels/WebhookLog.js.map +1 -0
  31. package/build/dist/Server/API/UserWebhookAPI.js +99 -0
  32. package/build/dist/Server/API/UserWebhookAPI.js.map +1 -0
  33. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1778506655291-AddProjectOIDC.js.map +1 -1
  34. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1778514515756-MigrationName.js +94 -0
  35. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/1778514515756-MigrationName.js.map +1 -0
  36. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js +2 -0
  37. package/build/dist/Server/Infrastructure/Postgres/SchemaMigrations/Index.js.map +1 -1
  38. package/build/dist/Server/Services/UserNotificationRuleService.js +178 -21
  39. package/build/dist/Server/Services/UserNotificationRuleService.js.map +1 -1
  40. package/build/dist/Server/Services/UserNotificationSettingService.js +84 -1
  41. package/build/dist/Server/Services/UserNotificationSettingService.js.map +1 -1
  42. package/build/dist/Server/Services/UserWebhookService.js +190 -0
  43. package/build/dist/Server/Services/UserWebhookService.js.map +1 -0
  44. package/build/dist/Server/Services/WebhookLogService.js +13 -0
  45. package/build/dist/Server/Services/WebhookLogService.js.map +1 -0
  46. package/build/dist/Server/Services/WebhookService.js +92 -0
  47. package/build/dist/Server/Services/WebhookService.js.map +1 -0
  48. package/build/dist/Types/Permission.js +10 -0
  49. package/build/dist/Types/Permission.js.map +1 -1
  50. package/build/dist/Types/Webhook/WebhookMessage.js +2 -0
  51. package/build/dist/Types/Webhook/WebhookMessage.js.map +1 -0
  52. package/build/dist/Types/WebhookStatus.js +7 -0
  53. package/build/dist/Types/WebhookStatus.js.map +1 -0
  54. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=WebhookMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookMessage.js","sourceRoot":"","sources":["../../../../Types/Webhook/WebhookMessage.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ var WebhookStatus;
2
+ (function (WebhookStatus) {
3
+ WebhookStatus["Success"] = "Success";
4
+ WebhookStatus["Error"] = "Error";
5
+ })(WebhookStatus || (WebhookStatus = {}));
6
+ export default WebhookStatus;
7
+ //# sourceMappingURL=WebhookStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhookStatus.js","sourceRoot":"","sources":["../../../Types/WebhookStatus.ts"],"names":[],"mappings":"AAAA,IAAK,aAGJ;AAHD,WAAK,aAAa;IAChB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHI,aAAa,KAAb,aAAa,QAGjB;AAED,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneuptime/common",
3
- "version": "10.2.2",
3
+ "version": "10.2.3",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",