@ludeo/cloud-common 1.2.183 → 1.2.184-beta-yahil-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 (70) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/v4/events/cloud-resources/create-ludeocast-game-request.d.ts +3 -3
  3. package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +2 -2
  4. package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js.map +1 -1
  5. package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.d.ts +3 -3
  6. package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +2 -2
  7. package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -1
  8. package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.d.ts +3 -3
  9. package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js +2 -2
  10. package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js.map +1 -1
  11. package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +3 -3
  12. package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +2 -2
  13. package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
  14. package/dist/v4/events/ludeocast-agent/resource-update.d.ts +2 -0
  15. package/dist/v4/events/ludeocast-agent/resource-update.js +6 -0
  16. package/dist/v4/events/ludeocast-agent/resource-update.js.map +1 -1
  17. package/dist/v4/events/site-controller/game-ludeocast-creation-ended.d.ts +10 -8
  18. package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js +21 -16
  19. package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -1
  20. package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.d.ts +10 -8
  21. package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js +21 -16
  22. package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -1
  23. package/dist/v4/types/cloud/index.d.ts +1 -0
  24. package/dist/v4/types/cloud/index.js +1 -0
  25. package/dist/v4/types/cloud/index.js.map +1 -1
  26. package/dist/v4/types/cloud/ludeocast-v2/allocation-data.d.ts +3 -0
  27. package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js +21 -0
  28. package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js.map +1 -0
  29. package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.d.ts +2 -0
  30. package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js +7 -0
  31. package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js.map +1 -0
  32. package/dist/v4/types/cloud/ludeocast-v2/index.d.ts +6 -0
  33. package/dist/v4/types/cloud/ludeocast-v2/index.js +23 -0
  34. package/dist/v4/types/cloud/ludeocast-v2/index.js.map +1 -0
  35. package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.d.ts +3 -0
  36. package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js +21 -0
  37. package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js.map +1 -0
  38. package/dist/v4/types/cloud/ludeocast-v2/provider-settings.d.ts +11 -0
  39. package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js +13 -0
  40. package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js.map +1 -0
  41. package/dist/v4/types/cloud/ludeocast-v2/request-data.d.ts +3 -0
  42. package/dist/v4/types/cloud/ludeocast-v2/request-data.js +22 -0
  43. package/dist/v4/types/cloud/ludeocast-v2/request-data.js.map +1 -0
  44. package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.d.ts +8 -0
  45. package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js +39 -0
  46. package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js.map +1 -0
  47. package/dist/v4/types/cloud/ludeocast-v2/site.d.ts +0 -0
  48. package/dist/v4/types/cloud/ludeocast-v2/site.js +1 -0
  49. package/dist/v4/types/cloud/ludeocast-v2/site.js.map +1 -0
  50. package/dist/v4/types/cloud/provider.d.ts +1 -0
  51. package/dist/v4/types/cloud/provider.js +1 -0
  52. package/dist/v4/types/cloud/provider.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +4 -4
  55. package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +4 -4
  56. package/src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts +4 -4
  57. package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +4 -4
  58. package/src/v4/events/ludeocast-agent/resource-update.ts +5 -0
  59. package/src/v4/events/site-controller/game-ludeocast-creation-ended.ts +15 -11
  60. package/src/v4/events/site-controller/machine-ludeocast-creation-ended.ts +15 -11
  61. package/src/v4/types/cloud/index.ts +1 -0
  62. package/src/v4/types/cloud/ludeocast-v2/allocation-data.ts +6 -0
  63. package/src/v4/types/cloud/ludeocast-v2/game-creation-response.ts +1 -0
  64. package/src/v4/types/cloud/ludeocast-v2/index.ts +6 -0
  65. package/src/v4/types/cloud/ludeocast-v2/machine-provider-settings.ts +6 -0
  66. package/src/v4/types/cloud/ludeocast-v2/provider-settings.ts +25 -0
  67. package/src/v4/types/cloud/ludeocast-v2/request-data.ts +7 -0
  68. package/src/v4/types/cloud/ludeocast-v2/resource-provider-settings.ts +21 -0
  69. package/src/v4/types/cloud/ludeocast-v2/site.ts +7 -0
  70. package/src/v4/types/cloud/provider.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
2
  import { GameCreationPayload } from '../../types/site-controller';
3
- import { SiteControllerContext } from '../../contexts';
3
+ import { CloudResourceContext } from '../../contexts';
4
4
  export declare class CreateLudeocastGameRequestPayload {
5
5
  machineResourceId: string;
6
6
  gameResourceId: string;
@@ -11,7 +11,7 @@ export declare class CreateLudeocastGameRequestPayload {
11
11
  }
12
12
  export declare class CreateLudeocastGameRequest extends LudeoEvent {
13
13
  static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
14
- constructor(payload: CreateLudeocastGameRequestPayload, context: SiteControllerContext);
14
+ constructor(payload: CreateLudeocastGameRequestPayload, context: CloudResourceContext);
15
15
  payload: CreateLudeocastGameRequestPayload;
16
- context: SiteControllerContext;
16
+ context: CloudResourceContext;
17
17
  }
@@ -52,7 +52,7 @@ __decorate([
52
52
  __metadata("design:type", CreateLudeocastGameRequestPayload)
53
53
  ], CreateLudeocastGameRequest.prototype, "payload", void 0);
54
54
  __decorate([
55
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
56
- __metadata("design:type", contexts_1.SiteControllerContext)
55
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
56
+ __metadata("design:type", contexts_1.CloudResourceContext)
57
57
  ], CreateLudeocastGameRequest.prototype, "context", void 0);
58
58
  //# sourceMappingURL=create-ludeocast-game-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAE/D,6CAAuD;AAEvD,MAAa,iCAAiC;CAkB7C;AAlBD,8EAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kEACQ;AAGnB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA8B;QACpF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;2DAAC"}
1
+ {"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAE/D,6CAAsD;AAEtD,MAAa,iCAAiC;CAkB7C;AAlBD,8EAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kEACQ;AAGnB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA6B;QACnF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
@@ -1,6 +1,6 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
2
  import { MachineMode } from '../../types/site-controller';
3
- import { SiteControllerContext } from '../../contexts';
3
+ import { CloudResourceContext } from '../../contexts';
4
4
  export declare class AndroidMachineCreationPayload {
5
5
  }
6
6
  export type MachineCreationPayload = AndroidMachineCreationPayload;
@@ -14,7 +14,7 @@ export declare class CreateLudeocastMachineRequestPayload {
14
14
  }
15
15
  export declare class CreateLudeocastMachineRequest extends LudeoEvent {
16
16
  static readonly EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
17
- constructor(payload: CreateLudeocastMachineRequestPayload, context: SiteControllerContext);
17
+ constructor(payload: CreateLudeocastMachineRequestPayload, context: CloudResourceContext);
18
18
  payload: CreateLudeocastMachineRequestPayload;
19
- context: SiteControllerContext;
19
+ context: CloudResourceContext;
20
20
  }
@@ -60,7 +60,7 @@ __decorate([
60
60
  __metadata("design:type", CreateLudeocastMachineRequestPayload)
61
61
  ], CreateLudeocastMachineRequest.prototype, "payload", void 0);
62
62
  __decorate([
63
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
64
- __metadata("design:type", contexts_1.SiteControllerContext)
63
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
64
+ __metadata("design:type", contexts_1.CloudResourceContext)
65
65
  ], CreateLudeocastMachineRequest.prototype, "context", void 0);
66
66
  //# sourceMappingURL=create-ludeocast-machine-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,iEAA0D;AAC1D,6CAAuD;AAEvD,MAAa,6BAA6B;CAAG;AAA7C,sEAA6C;AAI7C,MAAa,oCAAoC;CAmBhD;AAnBD,oFAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,6BAAW,CAAC;;kEACF;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;;oFACR;AAGhD;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;yEACS;AAGtB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
1
+ {"version":3,"file":"create-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,iEAA0D;AAC1D,6CAAsD;AAEtD,MAAa,6BAA6B;CAAG;AAA7C,sEAA6C;AAI7C,MAAa,oCAAoC;CAmBhD;AAnBD,oFAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,6BAAW,CAAC;;kEACF;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;;oFACR;AAGhD;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;yEACS;AAGtB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA6B;QACtF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
@@ -1,5 +1,5 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
- import { SiteControllerContext } from '../../contexts';
2
+ import { CloudResourceContext } from '../../contexts';
3
3
  export declare class TerminateLudeocastGameRequestPayload {
4
4
  machineResourceId: string;
5
5
  gameResourceId: string;
@@ -8,7 +8,7 @@ export declare class TerminateLudeocastGameRequestPayload {
8
8
  }
9
9
  export declare class TerminateLudeocastGameRequest extends LudeoEvent {
10
10
  static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-game-request";
11
- constructor(payload: TerminateLudeocastGameRequestPayload, context: SiteControllerContext);
11
+ constructor(payload: TerminateLudeocastGameRequestPayload, context: CloudResourceContext);
12
12
  payload: TerminateLudeocastGameRequestPayload;
13
- context: SiteControllerContext;
13
+ context: CloudResourceContext;
14
14
  }
@@ -47,7 +47,7 @@ __decorate([
47
47
  __metadata("design:type", TerminateLudeocastGameRequestPayload)
48
48
  ], TerminateLudeocastGameRequest.prototype, "payload", void 0);
49
49
  __decorate([
50
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
51
- __metadata("design:type", contexts_1.SiteControllerContext)
50
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
51
+ __metadata("design:type", contexts_1.CloudResourceContext)
52
52
  ], TerminateLudeocastGameRequest.prototype, "context", void 0);
53
53
  //# sourceMappingURL=terminate-ludeocast-game-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"terminate-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,oCAAoC;CAYhD;AAZD,oFAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;4EACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
1
+ {"version":3,"file":"terminate-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAsD;AAEtD,MAAa,oCAAoC;CAYhD;AAZD,oFAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;4EACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA6B;QACtF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
@@ -1,5 +1,5 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
- import { SiteControllerContext } from '../../contexts';
2
+ import { CloudResourceContext } from '../../contexts';
3
3
  export declare class TerminateLudeocastMachineRequestPayload {
4
4
  machineResourceId: string;
5
5
  site: string;
@@ -7,7 +7,7 @@ export declare class TerminateLudeocastMachineRequestPayload {
7
7
  }
8
8
  export declare class TerminateLudeocastMachineRequest extends LudeoEvent {
9
9
  static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-machine-request";
10
- constructor(payload: TerminateLudeocastMachineRequestPayload, context: SiteControllerContext);
10
+ constructor(payload: TerminateLudeocastMachineRequestPayload, context: CloudResourceContext);
11
11
  payload: TerminateLudeocastMachineRequestPayload;
12
- context: SiteControllerContext;
12
+ context: CloudResourceContext;
13
13
  }
@@ -43,7 +43,7 @@ __decorate([
43
43
  __metadata("design:type", TerminateLudeocastMachineRequestPayload)
44
44
  ], TerminateLudeocastMachineRequest.prototype, "payload", void 0);
45
45
  __decorate([
46
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
47
- __metadata("design:type", contexts_1.SiteControllerContext)
46
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
47
+ __metadata("design:type", contexts_1.CloudResourceContext)
48
48
  ], TerminateLudeocastMachineRequest.prototype, "context", void 0);
49
49
  //# sourceMappingURL=terminate-ludeocast-machine-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"terminate-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,uCAAuC;CASnD;AATD,0FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;uEACI;AAGjB,MAAa,gCAAiC,SAAQ,kBAAU;IAG9D,YAAY,OAAgD,EAAE,OAA8B;QAC1F,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4EAcC;AAbiB,2CAAU,GAAG,qDAAqD,CAAC;AASnF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;8BACzD,uCAAuC;iEAAC;AAGjD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;iEAAC"}
1
+ {"version":3,"file":"terminate-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAsD;AAEtD,MAAa,uCAAuC;CASnD;AATD,0FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;uEACI;AAGjB,MAAa,gCAAiC,SAAQ,kBAAU;IAG9D,YAAY,OAAgD,EAAE,OAA6B;QACzF,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4EAcC;AAbiB,2CAAU,GAAG,qDAAqD,CAAC;AASnF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;8BACzD,uCAAuC;iEAAC;AAGjD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;iEAAC"}
@@ -1,8 +1,10 @@
1
1
  import { BaseCommand, BaseCommandPayload } from '../base/base';
2
2
  import { CloudResourceStatus } from '../../types/pools/resource/status';
3
+ import { LudeoCastStreamState } from '../ludeocast-stream-state-updated';
3
4
  export declare class ResourceUpdatePayload extends BaseCommandPayload {
4
5
  gameResourceId?: string;
5
6
  status: CloudResourceStatus;
7
+ streamState?: LudeoCastStreamState;
6
8
  reason?: string;
7
9
  meta?: Record<string, any>;
8
10
  }
@@ -15,6 +15,7 @@ const base_1 = require("../base/base");
15
15
  const status_1 = require("../../types/pools/resource/status");
16
16
  const validate_nested_type_decorator_1 = require("../../../decorators/validate-nested-type.decorator");
17
17
  const constants_1 = require("../base/constants");
18
+ const ludeocast_stream_state_updated_1 = require("../ludeocast-stream-state-updated");
18
19
  const RESOURCE_UPDATE = 'resource-update';
19
20
  class ResourceUpdatePayload extends base_1.BaseCommandPayload {
20
21
  }
@@ -28,6 +29,11 @@ __decorate([
28
29
  (0, class_validator_1.IsEnum)(status_1.CloudResourceStatus),
29
30
  __metadata("design:type", String)
30
31
  ], ResourceUpdatePayload.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsEnum)(ludeocast_stream_state_updated_1.LudeoCastStreamState),
35
+ __metadata("design:type", String)
36
+ ], ResourceUpdatePayload.prototype, "streamState", void 0);
31
37
  __decorate([
32
38
  (0, class_validator_1.IsOptional)(),
33
39
  (0, class_validator_1.IsString)(),
@@ -1 +1 @@
1
- {"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;AAGvE,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAa,qBAAsB,SAAQ,yBAAkB;CAc5D;AAdD,sDAcC;AAXC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;qDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,cAAe,SAAQ,kBAAkC;IAKpE,YAAY,OAA8B;QACxC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,QAAQ;QACN,OAAM,GAAG,wBAAY,IAAI,eAAe,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAC9E,CAAC;CACF;AAZD,wCAYC;AATC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC;AAWpB,QAAA,iCAAiC,GAAG,gCAAgC,wBAAY,IAAI,eAAe,IAAI,gCAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;AACvE,sFAAyE;AAGzE,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAa,qBAAsB,SAAQ,yBAAkB;CAkB5D;AAlBD,sDAkBC;AAfC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;qDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qDAAoB,CAAC;;0DACM;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,cAAe,SAAQ,kBAAkC;IAKpE,YAAY,OAA8B;QACxC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,QAAQ;QACN,OAAM,GAAG,wBAAY,IAAI,eAAe,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAC9E,CAAC;CACF;AAZD,wCAYC;AATC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC;AAWpB,QAAA,iCAAiC,GAAG,gCAAgC,wBAAY,IAAI,eAAe,IAAI,gCAAoB,EAAE,CAAC"}
@@ -1,14 +1,16 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
- import { SiteControllerContext } from '../../contexts';
2
+ import { CloudResourceContext } from '../../contexts';
3
3
  import { SiteOperationStatus } from '../../types/site-controller';
4
- export declare class GameCreationEndedPayload {
4
+ import { CloudResourceStatus } from '../../types/pools';
5
+ export declare class GameLudeocastCreationEndedPayload {
5
6
  gameResourceId: string;
6
- status: SiteOperationStatus;
7
+ operationStatus: SiteOperationStatus;
8
+ status: CloudResourceStatus;
7
9
  reason?: string;
8
10
  }
9
- export declare class GameCreationEnded extends LudeoEvent {
10
- static readonly EVENT_NAME = "site-controller.game-creation-ended";
11
- constructor(payload: GameCreationEndedPayload, context: SiteControllerContext);
12
- payload: GameCreationEndedPayload;
13
- context: SiteControllerContext;
11
+ export declare class GameLudeocastCreationEnded extends LudeoEvent {
12
+ static readonly EVENT_NAME = "site-controller.game-ludeocast-creation-ended";
13
+ constructor(payload: GameLudeocastCreationEndedPayload, context: CloudResourceContext);
14
+ payload: GameLudeocastCreationEndedPayload;
15
+ context: CloudResourceContext;
14
16
  }
@@ -9,43 +9,48 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GameCreationEnded = exports.GameCreationEndedPayload = void 0;
12
+ exports.GameLudeocastCreationEnded = exports.GameLudeocastCreationEndedPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const contexts_1 = require("../../contexts");
17
17
  const site_controller_1 = require("../../types/site-controller");
18
- class GameCreationEndedPayload {
18
+ const pools_1 = require("../../types/pools");
19
+ class GameLudeocastCreationEndedPayload {
19
20
  }
20
- exports.GameCreationEndedPayload = GameCreationEndedPayload;
21
+ exports.GameLudeocastCreationEndedPayload = GameLudeocastCreationEndedPayload;
21
22
  __decorate([
22
23
  (0, class_validator_1.IsUUID)(),
23
24
  __metadata("design:type", String)
24
- ], GameCreationEndedPayload.prototype, "gameResourceId", void 0);
25
+ ], GameLudeocastCreationEndedPayload.prototype, "gameResourceId", void 0);
25
26
  __decorate([
26
27
  (0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
27
28
  __metadata("design:type", String)
28
- ], GameCreationEndedPayload.prototype, "status", void 0);
29
+ ], GameLudeocastCreationEndedPayload.prototype, "operationStatus", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
32
+ __metadata("design:type", String)
33
+ ], GameLudeocastCreationEndedPayload.prototype, "status", void 0);
29
34
  __decorate([
30
35
  (0, class_validator_1.IsOptional)(),
31
36
  (0, class_validator_1.IsString)(),
32
37
  __metadata("design:type", String)
33
- ], GameCreationEndedPayload.prototype, "reason", void 0);
34
- class GameCreationEnded extends infra_1.LudeoEvent {
38
+ ], GameLudeocastCreationEndedPayload.prototype, "reason", void 0);
39
+ class GameLudeocastCreationEnded extends infra_1.LudeoEvent {
35
40
  constructor(payload, context) {
36
- super(GameCreationEnded.EVENT_NAME);
41
+ super(GameLudeocastCreationEnded.EVENT_NAME);
37
42
  this.payload = payload;
38
43
  this.context = context;
39
44
  }
40
45
  }
41
- exports.GameCreationEnded = GameCreationEnded;
42
- GameCreationEnded.EVENT_NAME = 'site-controller.game-creation-ended';
46
+ exports.GameLudeocastCreationEnded = GameLudeocastCreationEnded;
47
+ GameLudeocastCreationEnded.EVENT_NAME = 'site-controller.game-ludeocast-creation-ended';
43
48
  __decorate([
44
- (0, decorators_1.ValidateNestedType)(() => GameCreationEndedPayload),
45
- __metadata("design:type", GameCreationEndedPayload)
46
- ], GameCreationEnded.prototype, "payload", void 0);
49
+ (0, decorators_1.ValidateNestedType)(() => GameLudeocastCreationEndedPayload),
50
+ __metadata("design:type", GameLudeocastCreationEndedPayload)
51
+ ], GameLudeocastCreationEnded.prototype, "payload", void 0);
47
52
  __decorate([
48
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
49
- __metadata("design:type", contexts_1.SiteControllerContext)
50
- ], GameCreationEnded.prototype, "context", void 0);
53
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
54
+ __metadata("design:type", contexts_1.CloudResourceContext)
55
+ ], GameLudeocastCreationEnded.prototype, "context", void 0);
51
56
  //# sourceMappingURL=game-ludeocast-creation-ended.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"game-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/game-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AARC;IADC,IAAA,wBAAM,GAAE;;gEACc;AAGvB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;wDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAGlB,MAAa,iBAAkB,SAAQ,kBAAU;IAG/C,YAAY,OAAiC,EAAE,OAA8B;QAC3E,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,8CAcC;AAbiB,4BAAU,GAAG,qCAAqC,CAAC;AASnE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;8BAC1C,wBAAwB;kDAAC;AAGlC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;kDAAC"}
1
+ {"version":3,"file":"game-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/game-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,iCAAiC;CAa7C;AAbD,8EAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;0EACS;AAGrC;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;iEACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACK;AAGlB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA6B;QACnF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
@@ -1,14 +1,16 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
- import { SiteControllerContext } from '../../contexts';
2
+ import { CloudResourceContext } from '../../contexts';
3
3
  import { SiteOperationStatus } from '../../types/site-controller';
4
- export declare class MachineCreationEndedPayload {
4
+ import { CloudResourceStatus } from '../../types/pools';
5
+ export declare class MachineLudeocastCreationEndedPayload {
5
6
  machineResourceId: string;
6
- status: SiteOperationStatus;
7
+ operationStatus: SiteOperationStatus;
8
+ status: CloudResourceStatus;
7
9
  reason?: string;
8
10
  }
9
- export declare class MachineCreationEnded extends LudeoEvent {
10
- static readonly EVENT_NAME = "site-controller.machine-creation-ended";
11
- constructor(payload: MachineCreationEndedPayload, context: SiteControllerContext);
12
- payload: MachineCreationEndedPayload;
13
- context: SiteControllerContext;
11
+ export declare class MachineLudeocastCreationEnded extends LudeoEvent {
12
+ static readonly EVENT_NAME = "site-controller.machine-ludeocast-creation-ended";
13
+ constructor(payload: MachineLudeocastCreationEndedPayload, context: CloudResourceContext);
14
+ payload: MachineLudeocastCreationEndedPayload;
15
+ context: CloudResourceContext;
14
16
  }
@@ -9,43 +9,48 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.MachineCreationEnded = exports.MachineCreationEndedPayload = void 0;
12
+ exports.MachineLudeocastCreationEnded = exports.MachineLudeocastCreationEndedPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const contexts_1 = require("../../contexts");
17
17
  const site_controller_1 = require("../../types/site-controller");
18
- class MachineCreationEndedPayload {
18
+ const pools_1 = require("../../types/pools");
19
+ class MachineLudeocastCreationEndedPayload {
19
20
  }
20
- exports.MachineCreationEndedPayload = MachineCreationEndedPayload;
21
+ exports.MachineLudeocastCreationEndedPayload = MachineLudeocastCreationEndedPayload;
21
22
  __decorate([
22
23
  (0, class_validator_1.IsUUID)(),
23
24
  __metadata("design:type", String)
24
- ], MachineCreationEndedPayload.prototype, "machineResourceId", void 0);
25
+ ], MachineLudeocastCreationEndedPayload.prototype, "machineResourceId", void 0);
25
26
  __decorate([
26
27
  (0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
27
28
  __metadata("design:type", String)
28
- ], MachineCreationEndedPayload.prototype, "status", void 0);
29
+ ], MachineLudeocastCreationEndedPayload.prototype, "operationStatus", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
32
+ __metadata("design:type", String)
33
+ ], MachineLudeocastCreationEndedPayload.prototype, "status", void 0);
29
34
  __decorate([
30
35
  (0, class_validator_1.IsOptional)(),
31
36
  (0, class_validator_1.IsString)(),
32
37
  __metadata("design:type", String)
33
- ], MachineCreationEndedPayload.prototype, "reason", void 0);
34
- class MachineCreationEnded extends infra_1.LudeoEvent {
38
+ ], MachineLudeocastCreationEndedPayload.prototype, "reason", void 0);
39
+ class MachineLudeocastCreationEnded extends infra_1.LudeoEvent {
35
40
  constructor(payload, context) {
36
- super(MachineCreationEnded.EVENT_NAME);
41
+ super(MachineLudeocastCreationEnded.EVENT_NAME);
37
42
  this.payload = payload;
38
43
  this.context = context;
39
44
  }
40
45
  }
41
- exports.MachineCreationEnded = MachineCreationEnded;
42
- MachineCreationEnded.EVENT_NAME = 'site-controller.machine-creation-ended';
46
+ exports.MachineLudeocastCreationEnded = MachineLudeocastCreationEnded;
47
+ MachineLudeocastCreationEnded.EVENT_NAME = 'site-controller.machine-ludeocast-creation-ended';
43
48
  __decorate([
44
- (0, decorators_1.ValidateNestedType)(() => MachineCreationEndedPayload),
45
- __metadata("design:type", MachineCreationEndedPayload)
46
- ], MachineCreationEnded.prototype, "payload", void 0);
49
+ (0, decorators_1.ValidateNestedType)(() => MachineLudeocastCreationEndedPayload),
50
+ __metadata("design:type", MachineLudeocastCreationEndedPayload)
51
+ ], MachineLudeocastCreationEnded.prototype, "payload", void 0);
47
52
  __decorate([
48
- (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
49
- __metadata("design:type", contexts_1.SiteControllerContext)
50
- ], MachineCreationEnded.prototype, "context", void 0);
53
+ (0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
54
+ __metadata("design:type", contexts_1.CloudResourceContext)
55
+ ], MachineLudeocastCreationEnded.prototype, "context", void 0);
51
56
  //# sourceMappingURL=machine-ludeocast-creation-ended.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"machine-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;sEACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;2DACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACK;AAGlB,MAAa,oBAAqB,SAAQ,kBAAU;IAGlD,YAAY,OAAoC,EAAE,OAA8B;QAC9E,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,+BAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC;AAGrC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;qDAAC"}
1
+ {"version":3,"file":"machine-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,oCAAoC;CAahD;AAbD,oFAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;6EACS;AAGrC;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;oEACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACK;AAGlB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA6B;QACtF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
@@ -11,3 +11,4 @@ export * from "./mock";
11
11
  export * from "./machine-provider-settings";
12
12
  export * from "./ludeocast";
13
13
  export * from "./cloud-configuration-settings";
14
+ export * from "./ludeocast-v2";
@@ -27,4 +27,5 @@ __exportStar(require("./mock"), exports);
27
27
  __exportStar(require("./machine-provider-settings"), exports);
28
28
  __exportStar(require("./ludeocast"), exports);
29
29
  __exportStar(require("./cloud-configuration-settings"), exports);
30
+ __exportStar(require("./ludeocast-v2"), exports);
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,iEAA+C;AAC/C,iDAA+B"}
@@ -0,0 +1,3 @@
1
+ export declare class LudeoCastV2AllocationData {
2
+ signalingURI: string;
3
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.LudeoCastV2AllocationData = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class LudeoCastV2AllocationData {
15
+ }
16
+ exports.LudeoCastV2AllocationData = LudeoCastV2AllocationData;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], LudeoCastV2AllocationData.prototype, "signalingURI", void 0);
21
+ //# sourceMappingURL=allocation-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/allocation-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;+DACU"}
@@ -0,0 +1,2 @@
1
+ export declare class LudeoCastV2GameCreationResponse {
2
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LudeoCastV2GameCreationResponse = void 0;
4
+ class LudeoCastV2GameCreationResponse {
5
+ }
6
+ exports.LudeoCastV2GameCreationResponse = LudeoCastV2GameCreationResponse;
7
+ //# sourceMappingURL=game-creation-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-creation-response.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/game-creation-response.ts"],"names":[],"mappings":";;;AAAA,MAAa,+BAA+B;CAAG;AAA/C,0EAA+C"}
@@ -0,0 +1,6 @@
1
+ export * from "./resource-provider-settings";
2
+ export * from "./provider-settings";
3
+ export * from "./request-data";
4
+ export * from "./game-creation-response";
5
+ export * from "./allocation-data";
6
+ export * from "./machine-provider-settings";
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resource-provider-settings"), exports);
18
+ __exportStar(require("./provider-settings"), exports);
19
+ __exportStar(require("./request-data"), exports);
20
+ __exportStar(require("./game-creation-response"), exports);
21
+ __exportStar(require("./allocation-data"), exports);
22
+ __exportStar(require("./machine-provider-settings"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,sDAAoC;AACpC,iDAA+B;AAC/B,2DAAyC;AACzC,oDAAkC;AAClC,8DAA4C"}
@@ -0,0 +1,3 @@
1
+ export declare class LudeoCastV2MachineResourceProviderSettings {
2
+ machineId: string;
3
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.LudeoCastV2MachineResourceProviderSettings = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class LudeoCastV2MachineResourceProviderSettings {
15
+ }
16
+ exports.LudeoCastV2MachineResourceProviderSettings = LudeoCastV2MachineResourceProviderSettings;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], LudeoCastV2MachineResourceProviderSettings.prototype, "machineId", void 0);
21
+ //# sourceMappingURL=machine-provider-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"machine-provider-settings.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/machine-provider-settings.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,0CAA0C;CAGtD;AAHD,gGAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;6EACO"}
@@ -0,0 +1,11 @@
1
+ import { MachineMode } from "../..";
2
+ import { CloudProviderSettings } from "../provider-settings";
3
+ import { LudeoCastSite } from "../ludeocast/site";
4
+ export declare class LudeoCastV2ProviderSettings {
5
+ site: LudeoCastSite;
6
+ region?: string;
7
+ mode: MachineMode;
8
+ machineClass?: string;
9
+ additionalEnvironmentVariables?: Record<string, string>;
10
+ }
11
+ export declare const isLudeoCastV2ProviderSettings: (settings: CloudProviderSettings) => settings is LudeoCastV2ProviderSettings;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isLudeoCastV2ProviderSettings = exports.LudeoCastV2ProviderSettings = void 0;
4
+ class LudeoCastV2ProviderSettings {
5
+ }
6
+ exports.LudeoCastV2ProviderSettings = LudeoCastV2ProviderSettings;
7
+ const isLudeoCastV2ProviderSettings = (settings) => {
8
+ return (settings &&
9
+ "mode" in settings &&
10
+ typeof settings.mode === "string");
11
+ };
12
+ exports.isLudeoCastV2ProviderSettings = isLudeoCastV2ProviderSettings;
13
+ //# sourceMappingURL=provider-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-settings.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/provider-settings.ts"],"names":[],"mappings":";;;AAIA,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAEM,MAAM,6BAA6B,GAAG,CAC3C,QAA+B,EACU,EAAE;IAC3C,OAAO,CACL,QAAQ;QACR,MAAM,IAAI,QAAQ;QAClB,OAAO,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAClC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,6BAA6B,iCAQxC"}
@@ -0,0 +1,3 @@
1
+ export declare class LudeoCastV2RequestData {
2
+ signalRequest: string;
3
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.LudeoCastV2RequestData = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class LudeoCastV2RequestData {
15
+ }
16
+ exports.LudeoCastV2RequestData = LudeoCastV2RequestData;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], LudeoCastV2RequestData.prototype, "signalRequest", void 0);
22
+ //# sourceMappingURL=request-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/request-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS"}
@@ -0,0 +1,8 @@
1
+ import { CloudProvider } from "../provider";
2
+ import { LudeoCastSite } from "../ludeocast/site";
3
+ export declare class LudeoCastV2ResourceProviderSettings {
4
+ machineId?: string;
5
+ cloudProvider?: CloudProvider;
6
+ namespace?: string;
7
+ site?: LudeoCastSite;
8
+ }