@ludeo/cloud-common 1.0.0 → 1.0.2

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 (181) hide show
  1. package/dist/decorators/index.d.ts +1 -0
  2. package/dist/decorators/index.js +18 -0
  3. package/dist/decorators/index.js.map +1 -0
  4. package/dist/index.d.ts +3 -4
  5. package/dist/index.js +4 -4
  6. package/dist/index.js.map +1 -1
  7. package/dist/infra/index.d.ts +1 -0
  8. package/dist/infra/index.js +18 -0
  9. package/dist/infra/index.js.map +1 -0
  10. package/dist/tsconfig.tsbuildinfo +1 -1
  11. package/dist/v2/contexts/cloud-resource-context.js.map +1 -0
  12. package/dist/v2/contexts/cloud-session-context.js.map +1 -0
  13. package/dist/v2/contexts/create-cloud-resource-request-context.js.map +1 -0
  14. package/dist/v2/contexts/index.js.map +1 -0
  15. package/dist/v2/contexts/pool-context.js.map +1 -0
  16. package/dist/{events → v2/events}/allocate-cloud-resource-request.event.d.ts +1 -1
  17. package/dist/{events → v2/events}/allocate-cloud-resource-request.event.js +2 -2
  18. package/dist/v2/events/allocate-cloud-resource-request.event.js.map +1 -0
  19. package/dist/{events → v2/events}/allocate-cloud-session-failed.event.d.ts +1 -1
  20. package/dist/{events → v2/events}/allocate-cloud-session-failed.event.js +2 -2
  21. package/dist/v2/events/allocate-cloud-session-failed.event.js.map +1 -0
  22. package/dist/{events → v2/events}/allocate-cloud-session-request.event.d.ts +1 -1
  23. package/dist/{events → v2/events}/allocate-cloud-session-request.event.js +2 -2
  24. package/dist/v2/events/allocate-cloud-session-request.event.js.map +1 -0
  25. package/dist/{events → v2/events}/allocate-pool-item-failed.event.d.ts +1 -1
  26. package/dist/{events → v2/events}/allocate-pool-item-failed.event.js +2 -2
  27. package/dist/v2/events/allocate-pool-item-failed.event.js.map +1 -0
  28. package/dist/{events → v2/events}/allocate-pool-item-request.event.d.ts +1 -1
  29. package/dist/{events → v2/events}/allocate-pool-item-request.event.js +2 -2
  30. package/dist/v2/events/allocate-pool-item-request.event.js.map +1 -0
  31. package/dist/{events → v2/events}/cloud-resource-allocated.event.d.ts +1 -1
  32. package/dist/{events → v2/events}/cloud-resource-allocated.event.js +2 -2
  33. package/dist/v2/events/cloud-resource-allocated.event.js.map +1 -0
  34. package/dist/{events → v2/events}/cloud-resource-created.event.d.ts +1 -1
  35. package/dist/{events → v2/events}/cloud-resource-created.event.js +2 -2
  36. package/dist/v2/events/cloud-resource-created.event.js.map +1 -0
  37. package/dist/{events → v2/events}/cloud-resource-creation-failed.event.d.ts +1 -1
  38. package/dist/{events → v2/events}/cloud-resource-creation-failed.event.js +2 -2
  39. package/dist/v2/events/cloud-resource-creation-failed.event.js.map +1 -0
  40. package/dist/{events → v2/events}/cloud-resource-status.event.d.ts +1 -1
  41. package/dist/{events → v2/events}/cloud-resource-status.event.js +2 -2
  42. package/dist/v2/events/cloud-resource-status.event.js.map +1 -0
  43. package/dist/{events → v2/events}/cloud-session-allocated.event.d.ts +1 -1
  44. package/dist/{events → v2/events}/cloud-session-allocated.event.js +2 -2
  45. package/dist/v2/events/cloud-session-allocated.event.js.map +1 -0
  46. package/dist/{events → v2/events}/cloud-session-ended.event.d.ts +1 -1
  47. package/dist/{events → v2/events}/cloud-session-ended.event.js +2 -2
  48. package/dist/v2/events/cloud-session-ended.event.js.map +1 -0
  49. package/dist/{events → v2/events}/create-cloud-resource-request.event.d.ts +1 -1
  50. package/dist/{events → v2/events}/create-cloud-resource-request.event.js +2 -2
  51. package/dist/v2/events/create-cloud-resource-request.event.js.map +1 -0
  52. package/dist/v2/events/index.js.map +1 -0
  53. package/dist/{events → v2/events}/monitor-pool-task.event.d.ts +1 -1
  54. package/dist/{events → v2/events}/monitor-pool-task.event.js +6 -1
  55. package/dist/v2/events/monitor-pool-task.event.js.map +1 -0
  56. package/dist/{events → v2/events}/pool-created.event.d.ts +1 -1
  57. package/dist/{events → v2/events}/pool-created.event.js +2 -2
  58. package/dist/v2/events/pool-created.event.js.map +1 -0
  59. package/dist/{events → v2/events}/pool-item-allocated.event.d.ts +1 -1
  60. package/dist/{events → v2/events}/pool-item-allocated.event.js +2 -2
  61. package/dist/v2/events/pool-item-allocated.event.js.map +1 -0
  62. package/dist/{events → v2/events}/pool-resize-success.event.d.ts +1 -1
  63. package/dist/{events → v2/events}/pool-resize-success.event.js +2 -2
  64. package/dist/v2/events/pool-resize-success.event.js.map +1 -0
  65. package/dist/{events → v2/events}/pool-status.event.d.ts +1 -1
  66. package/dist/{events → v2/events}/pool-status.event.js +2 -2
  67. package/dist/v2/events/pool-status.event.js.map +1 -0
  68. package/dist/{events → v2/events}/pool-updated.event.d.ts +1 -1
  69. package/dist/{events → v2/events}/pool-updated.event.js +2 -2
  70. package/dist/v2/events/pool-updated.event.js.map +1 -0
  71. package/dist/{events → v2/events}/remove-scheduled-task-request.event.d.ts +1 -1
  72. package/dist/{events → v2/events}/remove-scheduled-task-request.event.js +1 -1
  73. package/dist/v2/events/remove-scheduled-task-request.event.js.map +1 -0
  74. package/dist/{events → v2/events}/resize-pool-request.event.d.ts +1 -1
  75. package/dist/{events → v2/events}/resize-pool-request.event.js +2 -2
  76. package/dist/v2/events/resize-pool-request.event.js.map +1 -0
  77. package/dist/{events → v2/events}/schedule-task-request.event.d.ts +1 -1
  78. package/dist/{events → v2/events}/schedule-task-request.event.js +14 -2
  79. package/dist/v2/events/schedule-task-request.event.js.map +1 -0
  80. package/dist/{events → v2/events}/set-pool.event.d.ts +1 -1
  81. package/dist/{events → v2/events}/set-pool.event.js +2 -2
  82. package/dist/v2/events/set-pool.event.js.map +1 -0
  83. package/dist/{events → v2/events}/token-required.event.d.ts +2 -2
  84. package/dist/{events → v2/events}/token-required.event.js +31 -2
  85. package/dist/v2/events/token-required.event.js.map +1 -0
  86. package/dist/v2/index.d.ts +4 -0
  87. package/dist/v2/index.js +8 -0
  88. package/dist/v2/index.js.map +1 -0
  89. package/dist/v2/models/cloud-pool.js.map +1 -0
  90. package/dist/v2/models/index.js.map +1 -0
  91. package/dist/v2/types/index.d.ts +78 -0
  92. package/dist/{types → v2/types}/index.js +1 -1
  93. package/dist/v2/types/index.js.map +1 -0
  94. package/index.ts +1 -0
  95. package/package.json +1 -1
  96. package/src/decorators/index.ts +1 -0
  97. package/src/index.ts +3 -4
  98. package/src/infra/index.ts +1 -0
  99. package/src/{contexts → v2/contexts}/create-cloud-resource-request-context.ts +2 -0
  100. package/src/{events → v2/events}/allocate-cloud-resource-request.event.ts +3 -2
  101. package/src/{events → v2/events}/allocate-cloud-session-failed.event.ts +2 -2
  102. package/src/{events → v2/events}/allocate-cloud-session-request.event.ts +2 -2
  103. package/src/{events → v2/events}/allocate-pool-item-failed.event.ts +2 -2
  104. package/src/{events → v2/events}/allocate-pool-item-request.event.ts +2 -2
  105. package/src/{events → v2/events}/cloud-resource-allocated.event.ts +2 -2
  106. package/src/{events → v2/events}/cloud-resource-created.event.ts +7 -2
  107. package/src/{events → v2/events}/cloud-resource-creation-failed.event.ts +2 -2
  108. package/src/{events → v2/events}/cloud-resource-status.event.ts +2 -2
  109. package/src/{events → v2/events}/cloud-session-allocated.event.ts +2 -2
  110. package/src/{events → v2/events}/cloud-session-ended.event.ts +2 -2
  111. package/src/{events → v2/events}/create-cloud-resource-request.event.ts +2 -2
  112. package/src/{events → v2/events}/index.ts +1 -0
  113. package/src/{events → v2/events}/monitor-pool-task.event.ts +3 -1
  114. package/src/v2/events/monitor-resource-task.event.ts +29 -0
  115. package/src/{events → v2/events}/pool-created.event.ts +2 -2
  116. package/src/{events → v2/events}/pool-item-allocated.event.ts +2 -2
  117. package/src/{events → v2/events}/pool-resize-success.event.ts +2 -2
  118. package/src/{events → v2/events}/pool-status.event.ts +5 -3
  119. package/src/{events → v2/events}/pool-updated.event.ts +2 -2
  120. package/src/{events → v2/events}/remove-scheduled-task-request.event.ts +1 -1
  121. package/src/{events → v2/events}/resize-pool-request.event.ts +5 -2
  122. package/src/{events → v2/events}/schedule-task-request.event.ts +19 -3
  123. package/src/{events → v2/events}/set-pool.event.ts +2 -2
  124. package/src/{events → v2/events}/token-required.event.ts +18 -4
  125. package/src/v2/index.ts +4 -0
  126. package/src/{types → v2/types}/index.ts +4 -1
  127. package/dist/contexts/cloud-resource-context.js.map +0 -1
  128. package/dist/contexts/cloud-session-context.js.map +0 -1
  129. package/dist/contexts/create-cloud-resource-request-context.js.map +0 -1
  130. package/dist/contexts/index.js.map +0 -1
  131. package/dist/contexts/pool-context.js.map +0 -1
  132. package/dist/events/allocate-cloud-resource-request.event.js.map +0 -1
  133. package/dist/events/allocate-cloud-session-failed.event.js.map +0 -1
  134. package/dist/events/allocate-cloud-session-request.event.js.map +0 -1
  135. package/dist/events/allocate-pool-item-failed.event.js.map +0 -1
  136. package/dist/events/allocate-pool-item-request.event.js.map +0 -1
  137. package/dist/events/cloud-resource-allocated.event.js.map +0 -1
  138. package/dist/events/cloud-resource-created.event.js.map +0 -1
  139. package/dist/events/cloud-resource-creation-failed.event.js.map +0 -1
  140. package/dist/events/cloud-resource-status.event.js.map +0 -1
  141. package/dist/events/cloud-session-allocated.event.js.map +0 -1
  142. package/dist/events/cloud-session-ended.event.js.map +0 -1
  143. package/dist/events/create-cloud-resource-request.event.js.map +0 -1
  144. package/dist/events/index.js.map +0 -1
  145. package/dist/events/monitor-pool-task.event.js.map +0 -1
  146. package/dist/events/pool-created.event.js.map +0 -1
  147. package/dist/events/pool-item-allocated.event.js.map +0 -1
  148. package/dist/events/pool-resize-success.event.js.map +0 -1
  149. package/dist/events/pool-status.event.js.map +0 -1
  150. package/dist/events/pool-updated.event.js.map +0 -1
  151. package/dist/events/remove-scheduled-task-request.event.js.map +0 -1
  152. package/dist/events/resize-pool-request.event.js.map +0 -1
  153. package/dist/events/schedule-task-request.event.js.map +0 -1
  154. package/dist/events/set-pool.event.js.map +0 -1
  155. package/dist/events/token-required.event.js.map +0 -1
  156. package/dist/models/cloud-pool.js.map +0 -1
  157. package/dist/models/index.js.map +0 -1
  158. package/dist/types/index.d.ts +0 -81
  159. package/dist/types/index.js.map +0 -1
  160. /package/dist/{contexts → v2/contexts}/cloud-resource-context.d.ts +0 -0
  161. /package/dist/{contexts → v2/contexts}/cloud-resource-context.js +0 -0
  162. /package/dist/{contexts → v2/contexts}/cloud-session-context.d.ts +0 -0
  163. /package/dist/{contexts → v2/contexts}/cloud-session-context.js +0 -0
  164. /package/dist/{contexts → v2/contexts}/create-cloud-resource-request-context.d.ts +0 -0
  165. /package/dist/{contexts → v2/contexts}/create-cloud-resource-request-context.js +0 -0
  166. /package/dist/{contexts → v2/contexts}/index.d.ts +0 -0
  167. /package/dist/{contexts → v2/contexts}/index.js +0 -0
  168. /package/dist/{contexts → v2/contexts}/pool-context.d.ts +0 -0
  169. /package/dist/{contexts → v2/contexts}/pool-context.js +0 -0
  170. /package/dist/{events → v2/events}/index.d.ts +0 -0
  171. /package/dist/{events → v2/events}/index.js +0 -0
  172. /package/dist/{models → v2/models}/cloud-pool.d.ts +0 -0
  173. /package/dist/{models → v2/models}/cloud-pool.js +0 -0
  174. /package/dist/{models → v2/models}/index.d.ts +0 -0
  175. /package/dist/{models → v2/models}/index.js +0 -0
  176. /package/src/{contexts → v2/contexts}/cloud-resource-context.ts +0 -0
  177. /package/src/{contexts → v2/contexts}/cloud-session-context.ts +0 -0
  178. /package/src/{contexts → v2/contexts}/index.ts +0 -0
  179. /package/src/{contexts → v2/contexts}/pool-context.ts +0 -0
  180. /package/src/{models → v2/models}/cloud-pool.ts +0 -0
  181. /package/src/{models → v2/models}/index.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-resource-context.js","sourceRoot":"","sources":["../../../src/v2/contexts/cloud-resource-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;wDACU;AAGnB;IADC,IAAA,0BAAQ,GAAE;;2DACW;AAGtB;IADC,IAAA,0BAAQ,GAAE;;6DACa;AAGxB;IADC,IAAA,wBAAM,GAAE;;oDACM"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-session-context.js","sourceRoot":"","sources":["../../../src/v2/contexts/cloud-session-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,oCAAyC;AAEzC,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AA/BC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;gEACoB;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;4DACgB;AAGzB;IADC,IAAA,wBAAM,GAAE;;2DACc;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mDACO;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mDACO;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;oDACQ;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mDACO;AAGhB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;0DACO;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACW"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cloud-resource-request-context.js","sourceRoot":"","sources":["../../../src/v2/contexts/create-cloud-resource-request-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,oCAAyC;AAEzC,MAAa,iCAAiC;CAS7C;AATD,8EASC;AAPC;IADC,IAAA,wBAAM,GAAE;;iEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;qEACU;AAGnB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;wEACA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v2/contexts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,0DAAwC;AACxC,0EAAwD;AACxD,iDAA+B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-context.js","sourceRoot":"","sources":["../../../src/v2/contexts/pool-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,oCAAyC;AAEzC,MAAa,WAAW;CAMvB;AAND,kCAMC;AAJC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;kDACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;2CACM"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { CloudProviderRequestData, CloudResourceCreationConfig } from "../types";
4
4
  export declare class AllocateCloudResourceRequestPayload {
5
5
  providerSettings: CloudResourceCreationConfig;
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AllocateCloudResourceRequestEvent = exports.AllocateCloudResourceRequestPayload = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const types_1 = require("../types");
17
17
  class AllocateCloudResourceRequestPayload {
18
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocate-cloud-resource-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/allocate-cloud-resource-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AACrD,oCAIkB;AAElB,MAAa,mCAAmC;CAM/C;AAND,kFAMC;AAJC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAyB,CAAC;;6EACN;AAG9C;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACtC,gCAAwB;wEAAC;AAGxC,MAAa,iCAAkC,SAAQ,wBAAU;IAG/D,YACE,OAA4C,EAC5C,OAA4B;QAE5B,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,8EAiBC;AAhBiB,4CAAU,GAAG,6CAA6C,CAAC;AAY3E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;kEAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;8BACrD,mCAAmC;kEAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  export declare class AllocateCloudSessionFailedPayload {
4
4
  error: string;
5
5
  }
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AllocateCloudSessionFailed = exports.AllocateCloudSessionFailedPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
15
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
16
- const ludeo_event_1 = require("../infra/ludeo-event");
15
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
16
+ const ludeo_event_1 = require("../../infra/ludeo-event");
17
17
  class AllocateCloudSessionFailedPayload {
18
18
  }
19
19
  exports.AllocateCloudSessionFailedPayload = AllocateCloudSessionFailedPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocate-cloud-session-failed.event.js","sourceRoot":"","sources":["../../../src/v2/events/allocate-cloud-session-failed.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,iCAAiC;CAG7C;AAHD,8EAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;gEACG;AAEhB,MAAa,0BAA2B,SAAQ,wBAAU;IAIxD,YACE,OAA0C,EAC1C,OAA4B;QAE5B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gEAkBC;AAjBiB,qCAAU,GACxB,uDAAuD,CAAC;AAY1D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;2DAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { AllocationRequestData } from "../types";
4
4
  export declare class AllocateCloudSessionRequestPayload {
5
5
  requestData: AllocationRequestData;
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AllocateCloudSessionRequest = exports.AllocateCloudSessionRequestPayload = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const types_1 = require("../types");
17
17
  class AllocateCloudSessionRequestPayload {
18
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocate-cloud-session-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/allocate-cloud-session-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AACrD,oCAAiD;AAEjD,MAAa,kCAAkC;CAG9C;AAHD,gFAGC;AADC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC;8BACnC,6BAAqB;uEAAC;AAGrC,MAAa,2BAA4B,SAAQ,wBAAU;IAGzD,YACE,OAA2C,EAC3C,OAA4B;QAE5B,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kEAiBC;AAhBiB,sCAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC;8BACpD,kCAAkC;4DAAC;AAG5C;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;4DAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  export declare class AllocatePoolItemFailedPayload {
4
4
  error: string;
5
5
  }
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AllocatePoolItemFailed = exports.AllocatePoolItemFailedPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
15
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
16
- const ludeo_event_1 = require("../infra/ludeo-event");
15
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
16
+ const ludeo_event_1 = require("../../infra/ludeo-event");
17
17
  class AllocatePoolItemFailedPayload {
18
18
  }
19
19
  exports.AllocatePoolItemFailedPayload = AllocatePoolItemFailedPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocate-pool-item-failed.event.js","sourceRoot":"","sources":["../../../src/v2/events/allocate-pool-item-failed.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,6BAA6B;CAGzC;AAHD,sEAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;4DACG;AAGhB,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YACE,OAAsC,EACtC,OAA4B;QAE5B,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,wDAiBC;AAhBiB,iCAAU,GAAG,uCAAuC,CAAC;AAYrE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;uDAAC;AAGvC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;uDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { CloudSessionContext } from "../contexts/cloud-session-context";
3
3
  import { CloudProviderRequestData } from "../types";
4
4
  export declare class AllocatePoolItemRequestPayload {
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AllocatePoolItemRequestEvent = exports.AllocatePoolItemRequestPayload = void 0;
13
- const ludeo_event_1 = require("../infra/ludeo-event");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
13
+ const ludeo_event_1 = require("../../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
15
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
16
16
  const types_1 = require("../types");
17
17
  class AllocatePoolItemRequestPayload {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocate-pool-item-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/allocate-pool-item-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,oGAAqF;AACrF,6EAAwE;AACxE,oCAAoD;AAEpD,MAAa,8BAA8B;CAG1C;AAHD,wEAGC;AADC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACtC,gCAAwB;mEAAC;AAGxC,MAAa,4BAA6B,SAAQ,wBAAU;IAI1D,YACE,OAAuC,EACvC,OAA4B;QAE5B,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,oEAkBC;AAjBiB,uCAAU,GACxB,oDAAoD,CAAC;AAYvD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;6DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAA8B,CAAC;8BAChD,8BAA8B;6DAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { CloudProviderAllocationData } from "../types";
4
4
  export declare class CloudResourceAllocatedPayload {
5
5
  allocationData: CloudProviderAllocationData;
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudResourceAllocatedEvent = exports.CloudResourceAllocatedPayload = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const types_1 = require("../types");
17
17
  class CloudResourceAllocatedPayload {
18
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-resource-allocated.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-resource-allocated.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AACrD,oCAA0E;AAE1E,MAAa,6BAA6B;CAGzC;AAHD,sEAGC;AADC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;qEACA;AAG9C,MAAa,2BAA4B,SAAQ,wBAAU;IAGzD,YACE,OAAsC,EACtC,OAA4B;QAE5B,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kEAiBC;AAhBiB,sCAAU,GAAG,0CAA0C,CAAC;AAYxE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;4DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;4DAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { CloudProvider, CreationResponse } from "../types";
3
3
  import { CloudSessionContext } from "../contexts/cloud-session-context";
4
4
  export declare class CloudResourceCreatedPayload {
@@ -10,11 +10,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudResourceCreated = exports.CloudResourceCreatedPayload = void 0;
13
- const ludeo_event_1 = require("../infra/ludeo-event");
13
+ const ludeo_event_1 = require("../../infra/ludeo-event");
14
14
  const types_1 = require("../types");
15
15
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
16
16
  const class_validator_1 = require("class-validator");
17
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
17
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
18
18
  class CloudResourceCreatedPayload {
19
19
  }
20
20
  exports.CloudResourceCreatedPayload = CloudResourceCreatedPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-resource-created.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-resource-created.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,oCAAgF;AAChF,6EAAwE;AACxE,qDAAuE;AACvE,oGAAqF;AAErF,MAAa,2BAA2B;CAoBvC;AApBD,kEAoBC;AAlBC;IADC,IAAA,wBAAM,GAAE;;+DACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;2DACM;AAGf;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;kEACO;AAI7B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACY;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACa;AAGxB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;qEACX;AAGrC,MAAa,oBAAqB,SAAQ,wBAAU;IAGlD,YAAY,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE;QAC5C,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,oDAcC;AAbiB,+BAAU,GAAG,wCAAwC,CAAC;AAStE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC;AAGrC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;qDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { CloudSessionContext } from "../contexts/cloud-session-context";
3
3
  import { CloudProvider, CreationResponse } from "../types";
4
4
  export declare class CloudResourceCreationFailedPayload {
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudResourceCreationFailedEvent = exports.CloudResourceCreationFailedPayload = void 0;
13
- const ludeo_event_1 = require("../infra/ludeo-event");
13
+ const ludeo_event_1 = require("../../infra/ludeo-event");
14
14
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
15
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
16
16
  const class_validator_1 = require("class-validator");
17
17
  const types_1 = require("../types");
18
18
  class CloudResourceCreationFailedPayload {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-resource-creation-failed.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-resource-creation-failed.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,6EAAwE;AACxE,oGAAqF;AACrF,qDAMyB;AACzB,oCAAgF;AAEhF,MAAa,kCAAkC;CAwB9C;AAxBD,gFAwBC;AAtBC;IADC,IAAA,wBAAM,GAAE;;sEACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;kEACM;AAGf;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;yEACO;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;2EACgB;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;0EACe;AAGxB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;4EACX;AAInC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACC;AAGhB,MAAa,gCAAiC,SAAQ,wBAAU;IAG9D,YACE,OAA2C,EAC3C,OAA4B;QAE5B,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,4EAiBC;AAhBiB,2CAAU,GAAG,gDAAgD,CAAC;AAY9E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;iEAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC;8BACpD,kCAAkC;iEAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { CloudResourceContext } from "../contexts/cloud-resource-context";
3
3
  import { AWSResourceProviderSettings, CloudResourceStatus } from "../types";
4
4
  export declare class CloudResourceStatusEventPayload {
@@ -11,10 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudResourceStatusEvent = exports.CloudResourceStatusEventPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  const cloud_resource_context_1 = require("../contexts/cloud-resource-context");
16
16
  const types_1 = require("../types");
17
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
17
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
18
18
  class CloudResourceStatusEventPayload {
19
19
  }
20
20
  exports.CloudResourceStatusEventPayload = CloudResourceStatusEventPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-resource-status.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-resource-status.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,+EAA0E;AAC1E,oCAA4E;AAC5E,oGAAqF;AAErF,MAAa,+BAA+B;CAa3C;AAbD,0EAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;mEACU;AAGnB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;8BACpC,mCAA2B;yEAAC;AAG9C;IADC,IAAA,0BAAQ,GAAE;;+DACiB;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8DACI;AAGjB,MAAa,wBAAyB,SAAQ,wBAAU;IAGtD,YACE,OAAwC,EACxC,OAA6B;QAE7B,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,4DAiBC;AAhBiB,mCAAU,GAAG,8CAA8C,CAAC;AAY5E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;8BACtC,6CAAoB;yDAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;yDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { CloudProviderAllocationData } from "../types";
4
4
  export declare class CloudSessionAllocatedPayload {
5
5
  allocationData?: CloudProviderAllocationData;
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudSessionAllocated = exports.CloudSessionAllocatedPayload = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const types_1 = require("../types");
17
17
  class CloudSessionAllocatedPayload {
18
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-session-allocated.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-session-allocated.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AACrD,oCAA0E;AAE1E,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AADC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yBAAiB,CAAC;;oEACC;AAG/C,MAAa,qBAAsB,SAAQ,wBAAU;IAInD,YACE,OAAqC,EACrC,OAA4B;QAE5B,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,sDAkBC;AAjBiB,gCAAU,GACxB,iDAAiD,CAAC;AAYpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC;AAGtC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;sDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  export declare class CloudSessionTerminated extends LudeoEvent {
4
4
  static readonly EVENT_NAME = "cloud-sessions.cloud-session-terminated";
5
5
  constructor(context: CloudSessionContext);
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CloudSessionTerminated = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  class CloudSessionTerminated extends ludeo_event_1.LudeoEvent {
17
17
  constructor(context) {
18
18
  super(CloudSessionTerminated.EVENT_NAME);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-session-ended.event.js","sourceRoot":"","sources":["../../../src/v2/events/cloud-session-ended.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YAAY,OAA4B;QACtC,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AANH,wDAYC;AAXiB,iCAAU,GAAG,yCAAyC,CAAC;AAQvE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;uDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CreateCloudResourceRequestContext } from "../contexts/create-cloud-resource-request-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { CloudProvider, CloudResourceCreationConfig } from "../types";
4
4
  export declare class CreateCloudResourceRequestPayload {
5
5
  poolId: string;
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateCloudResourceRequestEvent = exports.CreateCloudResourceRequestPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const create_cloud_resource_request_context_1 = require("../contexts/create-cloud-resource-request-context");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
16
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
17
17
  const types_1 = require("../types");
18
18
  class CreateCloudResourceRequestPayload {
19
19
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cloud-resource-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/create-cloud-resource-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,6GAAsG;AACtG,yDAAqD;AACrD,oGAAqF;AACrF,oCAIkB;AAElB,MAAa,iCAAiC;CAe7C;AAfD,8EAeC;AAbC;IADC,IAAA,wBAAM,GAAE;;iEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;qEACU;AAGnB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAyB,CAAC;;2EACN;AAG9C;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;wEACO;AAG7B;IADC,IAAA,0BAAQ,GAAE;;qEACQ;AAGrB,MAAa,+BAAgC,SAAQ,wBAAU;IAG7D,YACE,OAA0C,EAC1C,OAA0C;QAE1C,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,0EAiBC;AAhBiB,0CAAU,GAAG,2CAA2C,CAAC;AAYzE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yEAAiC,CAAC;8BACnD,yEAAiC;gEAAC;AAG3C;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;gEAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v2/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAAwD;AACxD,wEAAsD;AACtD,yEAAuD;AACvD,oEAAkD;AAClD,qEAAmD;AACnD,mEAAiD;AACjD,iEAA+C;AAC/C,yEAAuD;AACvD,gEAA8C;AAC9C,kEAAgD;AAChD,8DAA4C;AAC5C,wEAAsD;AACtD,4DAA0C;AAC1C,uDAAqC;AACrC,8DAA4C;AAC5C,8DAA4C;AAC5C,sDAAoC;AACpC,uDAAqC;AACrC,wEAAsD;AACtD,8DAA4C;AAC5C,gEAA8C;AAC9C,mDAAiC;AACjC,yDAAuC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  export declare class MonitorPoolTaskEventPayload {
3
3
  poolId: string;
4
4
  }
@@ -11,7 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.MonitorPoolTaskEvent = exports.MonitorPoolTaskEventPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
16
  class MonitorPoolTaskEventPayload {
16
17
  }
17
18
  exports.MonitorPoolTaskEventPayload = MonitorPoolTaskEventPayload;
@@ -28,4 +29,8 @@ class MonitorPoolTaskEvent extends ludeo_event_1.LudeoEvent {
28
29
  }
29
30
  exports.MonitorPoolTaskEvent = MonitorPoolTaskEvent;
30
31
  MonitorPoolTaskEvent.EVENT_NAME = "cloud-pools.monitor-pool-task";
32
+ __decorate([
33
+ (0, validate_nested_type_decorator_1.ValidateNestedType)(() => MonitorPoolTaskEventPayload),
34
+ __metadata("design:type", MonitorPoolTaskEventPayload)
35
+ ], MonitorPoolTaskEvent.prototype, "payload", void 0);
31
36
  //# sourceMappingURL=monitor-pool-task.event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitor-pool-task.event.js","sourceRoot":"","sources":["../../../src/v2/events/monitor-pool-task.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,2BAA2B;CAGvC;AAHD,kEAGC;AADC;IADC,IAAA,wBAAM,GAAE;;2DACM;AAGjB,MAAa,oBAAqB,SAAQ,wBAAU;IAGlD,YAAY,OAAoC,EAAE,OAAc;QAC9D,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,oDAaC;AAZiB,+BAAU,GAAG,+BAA+B,CAAC;AAW7D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { PoolContext } from "../contexts/pool-context";
3
3
  import { CloudPool } from "../models/cloud-pool";
4
4
  export declare class PoolCreatedEvent extends LudeoEvent {
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PoolCreatedEvent = void 0;
13
- const ludeo_event_1 = require("../infra/ludeo-event");
13
+ const ludeo_event_1 = require("../../infra/ludeo-event");
14
14
  const pool_context_1 = require("../contexts/pool-context");
15
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
16
16
  const cloud_pool_1 = require("../models/cloud-pool");
17
17
  class PoolCreatedEvent extends ludeo_event_1.LudeoEvent {
18
18
  constructor(payload, context) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-created.event.js","sourceRoot":"","sources":["../../../src/v2/events/pool-created.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,2DAAuD;AACvD,oGAAqF;AACrF,qDAAiD;AAEjD,MAAa,gBAAiB,SAAQ,wBAAU;IAG9C,YAAY,OAAkB,EAAE,OAAoB;QAClD,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4CAcC;AAbiB,2BAAU,GAAG,0BAA0B,CAAC;AASxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BAC7B,0BAAW;iDAAC;AAGrB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;8BAC3B,sBAAS;iDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudSessionContext } from "../contexts/cloud-session-context";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { PoolItemAllocatedPayload } from "../types";
4
4
  export declare class PoolItemAllocatedEvent extends LudeoEvent {
5
5
  static readonly EVENT_NAME = "cloud-pools.pool-item-allocated";
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PoolItemAllocatedEvent = void 0;
13
13
  const cloud_session_context_1 = require("../contexts/cloud-session-context");
14
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const types_1 = require("../types");
17
17
  class PoolItemAllocatedEvent extends ludeo_event_1.LudeoEvent {
18
18
  constructor(payload, context) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-item-allocated.event.js","sourceRoot":"","sources":["../../../src/v2/events/pool-item-allocated.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAwE;AACxE,oGAAqF;AACrF,yDAAqD;AACrD,oCAAoD;AAEpD,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YAAY,OAAiC,EAAE,OAA4B;QACzE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wDAcC;AAbiB,iCAAU,GAAG,iCAAiC,CAAC;AAS/D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACrC,2CAAmB;uDAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BAC1C,gCAAwB;uDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { PoolContext } from "../contexts/pool-context";
3
3
  export declare class PoolResizeSuccessEventPayload {
4
4
  poolId: string;
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PoolResizeSuccessEvent = exports.PoolResizeSuccessEventPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  const pool_context_1 = require("../contexts/pool-context");
16
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
16
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
17
17
  class PoolResizeSuccessEventPayload {
18
18
  }
19
19
  exports.PoolResizeSuccessEventPayload = PoolResizeSuccessEventPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-resize-success.event.js","sourceRoot":"","sources":["../../../src/v2/events/pool-resize-success.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,2DAAuD;AACvD,oGAAqF;AAErF,MAAa,6BAA6B;CAGzC;AAHD,sEAGC;AADC;IADC,IAAA,wBAAM,GAAE;;6DACM;AAGjB,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YAAY,OAAsC,EAAE,OAAoB;QACtE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wDAcC;AAbiB,iCAAU,GAAG,qCAAqC,CAAC;AASnE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BAC7B,0BAAW;uDAAC;AAGrB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;uDAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CloudPoolStatus, CloudResourcesStatusMap } from "../types";
2
- import { LudeoEvent } from "../infra/ludeo-event";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
3
  import { PoolContext } from "../contexts/pool-context";
4
4
  export declare class PoolStatusEventPayload {
5
5
  poolId: string;
@@ -12,9 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PoolStatusEvent = exports.PoolStatusEventPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const types_1 = require("../types");
15
- const ludeo_event_1 = require("../infra/ludeo-event");
15
+ const ludeo_event_1 = require("../../infra/ludeo-event");
16
16
  const pool_context_1 = require("../contexts/pool-context");
17
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
17
+ const validate_nested_type_decorator_1 = require("../..//decorators/validate-nested-type.decorator");
18
18
  class PoolStatusEventPayload {
19
19
  }
20
20
  exports.PoolStatusEventPayload = PoolStatusEventPayload;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-status.event.js","sourceRoot":"","sources":["../../../src/v2/events/pool-status.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,oCAAoE;AACpE,yDAAqD;AACrD,2DAAuD;AACvD,qGAAsF;AAEtF,MAAa,sBAAsB;CASlC;AATD,wDASC;AAPC;IADC,IAAA,wBAAM,GAAE;;sDACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;qDACY;AAGvB;IADC,IAAA,0BAAQ,GAAE;;yDACwB;AAGrC,MAAa,eAAgB,SAAQ,wBAAU;IAG7C,YAAY,OAA+B,EAAE,OAAoB;QAC/D,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,0CAcC;AAbiB,0BAAU,GAAG,yBAAyB,CAAC;AASvD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BAC7B,0BAAW;gDAAC;AAGrB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACxC,sBAAsB;gDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { PoolContext } from "../contexts/pool-context";
3
3
  import { CloudPool } from "../models/cloud-pool";
4
4
  export declare class PoolUpdatedEvent extends LudeoEvent {
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PoolUpdatedEvent = void 0;
13
- const ludeo_event_1 = require("../infra/ludeo-event");
13
+ const ludeo_event_1 = require("../../infra/ludeo-event");
14
14
  const pool_context_1 = require("../contexts/pool-context");
15
15
  const cloud_pool_1 = require("../models/cloud-pool");
16
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
16
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
17
17
  class PoolUpdatedEvent extends ludeo_event_1.LudeoEvent {
18
18
  constructor(payload, context) {
19
19
  super(PoolUpdatedEvent.EVENT_NAME);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pool-updated.event.js","sourceRoot":"","sources":["../../../src/v2/events/pool-updated.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,2DAAuD;AACvD,qDAAiD;AACjD,oGAAqF;AAErF,MAAa,gBAAiB,SAAQ,wBAAU;IAG9C,YAAY,OAAkB,EAAE,OAAoB;QAClD,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4CAcC;AAbiB,2BAAU,GAAG,0BAA0B,CAAC;AASxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BAC7B,0BAAW;iDAAC;AAGrB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;8BAC3B,sBAAS;iDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  declare class RemoveScheduledTaskRequestEventData {
3
3
  key: string;
4
4
  }
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RemoveScheduledTaskRequest = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  class RemoveScheduledTaskRequestEventData {
16
16
  }
17
17
  __decorate([
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-scheduled-task-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/remove-scheduled-task-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,yDAAqD;AAErD,MAAM,mCAAmC;CAGxC;AADC;IADC,IAAA,0BAAQ,GAAE;;gEACC;AAGd,MAAa,0BAA2B,SAAQ,wBAAU;IAGxD,YAAY,OAA4C,EAAE,OAAe;QACvE,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAaC;AAZiB,qCAAU,GAAG,8CAA8C,CAAC;AAW5E;IADC,IAAA,gCAAc,GAAE;8BACR,mCAAmC;2DAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  import { PoolContext } from "../contexts/pool-context";
3
3
  import { CloudPoolConfiguration, CloudProvider } from "../types";
4
4
  export declare class ResizePoolRequestEventPayload extends CloudPoolConfiguration {
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ResizePoolRequestEvent = exports.ResizePoolRequestEventPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  const pool_context_1 = require("../contexts/pool-context");
16
- const validate_nested_type_decorator_1 = require("../decorators/validate-nested-type.decorator");
16
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
17
17
  const types_1 = require("../types");
18
18
  class ResizePoolRequestEventPayload extends types_1.CloudPoolConfiguration {
19
19
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resize-pool-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/resize-pool-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,yDAAqD;AACrD,2DAAuD;AACvD,oGAAqF;AACrF,oCAAiE;AAEjE,MAAa,6BAA8B,SAAQ,8BAAsB;CAWxE;AAXD,sEAWC;AAPC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;oEACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;6DACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;kEACS;AAGtB,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YAAY,OAAsC,EAAE,OAAoB;QACtE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wDAcC;AAbiB,iCAAU,GAAG,iCAAiC,CAAC;AAS/D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BAC7B,0BAAW;uDAAC;AAGrB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;uDAAC"}
@@ -1,4 +1,4 @@
1
- import { LudeoEvent } from "../infra/ludeo-event";
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  export declare class SchedulingData {
3
3
  repeat?: number;
4
4
  interval?: number;
@@ -11,10 +11,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ScheduleTaskRequest = exports.Job = exports.KafkaEventJobData = exports.JobType = exports.SchedulingData = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const ludeo_event_1 = require("../infra/ludeo-event");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  class SchedulingData {
16
16
  }
17
17
  exports.SchedulingData = SchedulingData;
18
+ __decorate([
19
+ (0, class_validator_1.IsNumber)(),
20
+ __metadata("design:type", Number)
21
+ ], SchedulingData.prototype, "repeat", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ __metadata("design:type", Number)
25
+ ], SchedulingData.prototype, "interval", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsNumber)(),
28
+ __metadata("design:type", Number)
29
+ ], SchedulingData.prototype, "retries", void 0);
18
30
  var JobType;
19
31
  (function (JobType) {
20
32
  JobType["KafkaEvent"] = "KAFKA_EVENT";
@@ -30,7 +42,7 @@ class Job {
30
42
  }
31
43
  exports.Job = Job;
32
44
  __decorate([
33
- (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsEnum)(JobType),
34
46
  __metadata("design:type", String)
35
47
  ], Job.prototype, "type", void 0);
36
48
  __decorate([
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schedule-task-request.event.js","sourceRoot":"","sources":["../../../src/v2/events/schedule-task-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAqD;AAErD,MAAa,cAAc;CAS1B;AATD,wCASC;AAPC;IADC,IAAA,0BAAQ,GAAE;;8CACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;gDACO;AAGlB;IADC,IAAA,0BAAQ,GAAE;;+CACM;AAGnB,IAAY,OAEX;AAFD,WAAY,OAAO;IACjB,qCAA0B,CAAA;AAC5B,CAAC,EAFW,OAAO,uBAAP,OAAO,QAElB;AAED,MAAa,iBAAiB;CAK7B;AALD,8CAKC;AAHC;IADC,IAAA,0BAAQ,GAAE;;qDACQ;AAKrB,MAAa,GAAG;CAMf;AAND,kBAMC;AAJC;IADC,IAAA,wBAAM,EAAC,OAAO,CAAC;;iCACF;AAGd;IADC,IAAA,gCAAc,GAAE;8BACR,iBAAiB;oCAAC;AAG7B,MAAM,4BAA4B;CAYjC;AAVC;IADC,IAAA,0BAAQ,GAAE;;yDACC;AAGZ;IADC,IAAA,4BAAU,GAAE;;mEACU;AAGvB;IADC,IAAA,gCAAc,GAAE;8BACL,cAAc;gEAAC;AAG3B;IADC,IAAA,gCAAc,GAAE;8BACZ,GAAG;yDAAC;AAEX,MAAa,mBAAoB,SAAQ,wBAAU;IAGjD,YAAY,OAAqC,EAAE,OAAe;QAChE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,kDAaC;AAZiB,8BAAU,GAAG,sCAAsC,CAAC;AAWpE;IADC,IAAA,gCAAc,GAAE;8BACR,4BAA4B;oDAAC"}