@ludeo/cloud-common 1.2.226 → 1.2.227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.d.ts +1 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js +5 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +1 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +5 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.d.ts +1 -0
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.js +5 -0
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.js.map +1 -1
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.d.ts +1 -0
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.js +5 -0
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts +5 -1
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +5 -1
- package/src/v4/events/site-controller/game-ludeocast-termination-ended.ts +4 -0
- package/src/v4/events/site-controller/machine-ludeocast-termination-ended.ts +4 -0
|
@@ -6,6 +6,7 @@ export declare class TerminateLudeocastGameRequestPayload {
|
|
|
6
6
|
site: string;
|
|
7
7
|
region: string;
|
|
8
8
|
buildId: string;
|
|
9
|
+
sourceService?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare class TerminateLudeocastGameRequest extends LudeoEvent {
|
|
11
12
|
static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-game-request";
|
|
@@ -37,6 +37,11 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsString)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], TerminateLudeocastGameRequestPayload.prototype, "buildId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TerminateLudeocastGameRequestPayload.prototype, "sourceService", void 0);
|
|
40
45
|
class TerminateLudeocastGameRequest extends infra_1.LudeoEvent {
|
|
41
46
|
constructor(payload, context) {
|
|
42
47
|
super(TerminateLudeocastGameRequest.EVENT_NAME);
|
|
@@ -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,
|
|
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,qDAA+D;AAC/D,6CAAsD;AAEtD,MAAa,oCAAoC;CAmBhD;AAnBD,oFAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;4EACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;qEACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAGzB,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"}
|
|
@@ -5,6 +5,7 @@ export declare class TerminateLudeocastMachineRequestPayload {
|
|
|
5
5
|
machineResourceId: string;
|
|
6
6
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
7
7
|
site: string;
|
|
8
|
+
sourceService?: string;
|
|
8
9
|
}
|
|
9
10
|
export declare class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
10
11
|
static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-machine-request";
|
|
@@ -30,6 +30,11 @@ __decorate([
|
|
|
30
30
|
(0, class_validator_1.IsString)(),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], TerminateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TerminateLudeocastMachineRequestPayload.prototype, "sourceService", void 0);
|
|
33
38
|
class TerminateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
34
39
|
constructor(payload, context) {
|
|
35
40
|
super(TerminateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -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,
|
|
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,qDAA+D;AAC/D,6CAAsD;AACtD,uCAA0D;AAE1D,MAAa,uCAAuC;CAanD;AAbD,0FAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;8BACpC,mCAA2B;iFAAC;AAG9C;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACY;AAGzB,MAAa,gCAAiC,SAAQ,kBAAU;IAI9D,YACE,OAAgD,EAChD,OAA6B;QAE7B,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,4EAkBC;AAjBiB,2CAAU,GACxB,qDAAqD,CAAC;AAYxD;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"}
|
|
@@ -8,6 +8,7 @@ export declare class GameLudeocastTerminationEndedPayload {
|
|
|
8
8
|
operationStatus: SiteOperationStatus;
|
|
9
9
|
status: CloudResourceStatus;
|
|
10
10
|
reason?: string;
|
|
11
|
+
sourceService?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare class GameLudeocastTerminationEnded extends LudeoEvent {
|
|
13
14
|
static readonly EVENT_NAME = "site-controller.game-ludeocast-termination-ended";
|
|
@@ -41,6 +41,11 @@ __decorate([
|
|
|
41
41
|
(0, class_validator_1.IsString)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], GameLudeocastTerminationEndedPayload.prototype, "reason", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], GameLudeocastTerminationEndedPayload.prototype, "sourceService", void 0);
|
|
44
49
|
class GameLudeocastTerminationEnded extends infra_1.LudeoEvent {
|
|
45
50
|
constructor(payload, context) {
|
|
46
51
|
super(GameLudeocastTerminationEnded.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-ludeocast-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/game-ludeocast-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,oCAAoC;
|
|
1
|
+
{"version":3,"file":"game-ludeocast-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/game-ludeocast-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,oCAAoC;CAqBhD;AArBD,oFAqBC;AAnBC;IADC,IAAA,wBAAM,GAAE;;4EACc;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;wEACW;AAGpB;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;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAGzB,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"}
|
|
@@ -8,6 +8,7 @@ export declare class MachineLudeocastTerminationEndedPayload {
|
|
|
8
8
|
operationStatus: SiteOperationStatus;
|
|
9
9
|
status: CloudResourceStatus;
|
|
10
10
|
reason?: string;
|
|
11
|
+
sourceService?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare class MachineLudeocastTerminationEnded extends LudeoEvent {
|
|
13
14
|
static readonly EVENT_NAME = "site-controller.machine-ludeocast-termination-ended";
|
|
@@ -41,6 +41,11 @@ __decorate([
|
|
|
41
41
|
(0, class_validator_1.IsString)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], MachineLudeocastTerminationEndedPayload.prototype, "reason", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], MachineLudeocastTerminationEndedPayload.prototype, "sourceService", void 0);
|
|
44
49
|
class MachineLudeocastTerminationEnded extends infra_1.LudeoEvent {
|
|
45
50
|
constructor(payload, context) {
|
|
46
51
|
super(MachineLudeocastTerminationEnded.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine-ludeocast-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,uCAAuC;
|
|
1
|
+
{"version":3,"file":"machine-ludeocast-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,uCAAuC;CAqBnD;AArBD,0FAqBC;AAnBC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAI1B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;8EACU;AAGvB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;gFACS;AAGrC;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;uEACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uEACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACY;AAGzB,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
2
|
import { ValidateNestedType } from '../../../decorators';
|
|
3
|
-
import { IsString, IsUUID } from 'class-validator';
|
|
3
|
+
import { IsOptional, IsString, IsUUID } from 'class-validator';
|
|
4
4
|
import { CloudResourceContext } from '../../contexts';
|
|
5
5
|
|
|
6
6
|
export class TerminateLudeocastGameRequestPayload {
|
|
@@ -18,6 +18,10 @@ export class TerminateLudeocastGameRequestPayload {
|
|
|
18
18
|
|
|
19
19
|
@IsString()
|
|
20
20
|
buildId: string;
|
|
21
|
+
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsString()
|
|
24
|
+
sourceService?: string;
|
|
21
25
|
}
|
|
22
26
|
|
|
23
27
|
export class TerminateLudeocastGameRequest extends LudeoEvent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../../infra";
|
|
2
2
|
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
-
import { IsString, IsUUID } from "class-validator";
|
|
3
|
+
import { IsOptional, IsString, IsUUID } from "class-validator";
|
|
4
4
|
import { CloudResourceContext } from "../../contexts";
|
|
5
5
|
import { LudeoCastV2ProviderSettings } from "../../types";
|
|
6
6
|
|
|
@@ -13,6 +13,10 @@ export class TerminateLudeocastMachineRequestPayload {
|
|
|
13
13
|
|
|
14
14
|
@IsString()
|
|
15
15
|
site: string;
|
|
16
|
+
|
|
17
|
+
@IsOptional()
|
|
18
|
+
@IsString()
|
|
19
|
+
sourceService?: string;
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
export class TerminateLudeocastMachineRequest extends LudeoEvent {
|