@ludeo/cloud-common 1.1.15 → 1.1.16
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/v3/events/allocate-game-request.d.ts +1 -1
- package/dist/v3/events/allocate-game-request.js +1 -1
- package/dist/v3/events/allocate-game-request.js.map +1 -1
- package/dist/v3/events/allocate-game-resource-request.d.ts +1 -1
- package/dist/v3/events/allocate-game-resource-request.js +1 -1
- package/dist/v3/events/allocate-game-resource-request.js.map +1 -1
- package/dist/v3/events/create-games-request.d.ts +3 -3
- package/dist/v3/events/create-games-request.js +3 -3
- package/dist/v3/events/create-games-request.js.map +1 -1
- package/dist/v3/events/create-machines-request.d.ts +3 -3
- package/dist/v3/events/create-machines-request.js +3 -3
- package/dist/v3/events/create-machines-request.js.map +1 -1
- package/dist/v3/events/deallocate-machine-request.d.ts +1 -1
- package/dist/v3/events/deallocate-machine-request.js.map +1 -1
- package/dist/v3/events/index.d.ts +3 -0
- package/dist/v3/events/index.js +3 -0
- package/dist/v3/events/index.js.map +1 -1
- package/dist/v3/events/machine-deallocated-response.d.ts +1 -1
- package/dist/v3/events/machine-deallocation-failed-response.d.ts +1 -1
- package/dist/v3/events/prepare-cloud-machine-auth-failed.d.ts +11 -0
- package/dist/v3/events/prepare-cloud-machine-auth-failed.js +42 -0
- package/dist/v3/events/prepare-cloud-machine-auth-failed.js.map +1 -0
- package/dist/v3/events/prepare-cloud-machine-auth.d.ts +13 -0
- package/dist/v3/events/prepare-cloud-machine-auth.js +49 -0
- package/dist/v3/events/prepare-cloud-machine-auth.js.map +1 -0
- package/dist/v3/events/set-pool.event.d.ts +3 -3
- package/dist/v3/events/set-pool.event.js +3 -3
- package/dist/v3/events/set-pool.event.js.map +1 -1
- package/dist/v3/events/swap-cloud-user-request-failed.d.ts +1 -1
- package/dist/v3/events/swap-cloud-user-request-failed.js +1 -1
- package/dist/v3/events/swap-cloud-user-request-failed.js.map +1 -1
- package/dist/v3/events/swap-cloud-user-request.d.ts +1 -1
- package/dist/v3/events/swap-cloud-user-request.js +1 -1
- package/dist/v3/events/swap-cloud-user-request.js.map +1 -1
- package/dist/v3/events/terminate-games-request.d.ts +3 -3
- package/dist/v3/events/terminate-games-request.js +3 -3
- package/dist/v3/events/terminate-games-request.js.map +1 -1
- package/dist/v3/events/terminate-machines-request.d.ts +3 -3
- package/dist/v3/events/terminate-machines-request.js +3 -3
- package/dist/v3/events/terminate-machines-request.js.map +1 -1
- package/dist/v3/events/token-required.event.d.ts +24 -0
- package/dist/v3/events/token-required.event.js +82 -0
- package/dist/v3/events/token-required.event.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AllocationRequestData } from "../types";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
-
import { CloudSessionContext } from "
|
|
3
|
+
import { CloudSessionContext } from "../contexts";
|
|
4
4
|
export declare class AllocateGameRequestPayload {
|
|
5
5
|
gameResourceId: string;
|
|
6
6
|
gamePoolId: string;
|
|
@@ -13,7 +13,7 @@ exports.AllocateGameRequest = exports.AllocateGameRequestPayload = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const types_1 = require("../types");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
|
-
const contexts_1 = require("
|
|
16
|
+
const contexts_1 = require("../contexts");
|
|
17
17
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
18
18
|
class AllocateGameRequestPayload {
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocate-game-request.js","sourceRoot":"","sources":["../../../src/v3/events/allocate-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAEzC,oCAAiD;AACjD,yDAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"allocate-game-request.js","sourceRoot":"","sources":["../../../src/v3/events/allocate-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAEzC,oCAAiD;AACjD,yDAAqD;AACrD,0CAAkD;AAClD,oGAAqF;AAErF,MAAa,0BAA0B;CAStC;AATD,gEASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kEACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;8DACU;AAGnB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC;8BACnC,6BAAqB;+DAAC;AAGrC,MAAa,mBAAoB,SAAQ,wBAAU;IAGjD,YACE,OAAmC,EACnC,OAA4B;QAE5B,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kDAiBC;AAhBiB,8BAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;oDAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;8BAC5C,0BAA0B;oDAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
-
import { CloudSessionContext } from "
|
|
2
|
+
import { CloudSessionContext } from "../contexts";
|
|
3
3
|
import { CloudProviderSettings, CloudProvider, AllocationRequestData } from "../types";
|
|
4
4
|
export declare class AllocateGameResourceRequestPayload {
|
|
5
5
|
gameResourceId: string;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.AllocateGameResourceRequest = exports.AllocateGameResourceRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
-
const contexts_1 = require("
|
|
15
|
+
const contexts_1 = require("../contexts");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
const types_1 = require("../types");
|
|
18
18
|
class AllocateGameResourceRequestPayload {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v3/events/allocate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,yDAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"allocate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v3/events/allocate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,yDAAqD;AACrD,0CAAkD;AAClD,oGAAqF;AACrF,oCAKkB;AAElB,MAAa,kCAAkC;CAkB9C;AAlBD,gFAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;0EACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;sEACU;AAGnB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;4EACN;AAGxC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;yEACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;sEACU;AAGnB;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,4CAA4C,CAAC;AAY1E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;4DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kCAAkC,CAAC;8BACpD,kCAAkC;4DAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
3
|
export declare class CreateGamesRequestPayload {
|
|
4
4
|
poolId: string;
|
|
@@ -6,7 +6,7 @@ export declare class CreateGamesRequestPayload {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class CreateGamesRequest extends LudeoEvent {
|
|
8
8
|
static readonly EVENT_NAME = "cloud-pools.create-games-request";
|
|
9
|
-
constructor(payload: CreateGamesRequestPayload, context:
|
|
10
|
-
context:
|
|
9
|
+
constructor(payload: CreateGamesRequestPayload, context: CloudPoolContext);
|
|
10
|
+
context: CloudPoolContext;
|
|
11
11
|
payload: CreateGamesRequestPayload;
|
|
12
12
|
}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateGamesRequest = exports.CreateGamesRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const contexts_1 = require("
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class CreateGamesRequestPayload {
|
|
@@ -35,8 +35,8 @@ class CreateGamesRequest extends ludeo_event_1.LudeoEvent {
|
|
|
35
35
|
exports.CreateGamesRequest = CreateGamesRequest;
|
|
36
36
|
CreateGamesRequest.EVENT_NAME = "cloud-pools.create-games-request";
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.
|
|
39
|
-
__metadata("design:type", contexts_1.
|
|
38
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudPoolContext),
|
|
39
|
+
__metadata("design:type", contexts_1.CloudPoolContext)
|
|
40
40
|
], CreateGamesRequest.prototype, "context", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => CreateGamesRequestPayload),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-games-request.js","sourceRoot":"","sources":["../../../src/v3/events/create-games-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"create-games-request.js","sourceRoot":"","sources":["../../../src/v3/events/create-games-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAA+C;AAC/C,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;yDACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;2DACM;AAGnB,MAAa,kBAAmB,SAAQ,wBAAU;IAGhD,YAAY,OAAkC,EAAE,OAAyB;QACvE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gDAcC;AAbiB,6BAAU,GAAG,kCAAkC,CAAC;AAShE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;8BAClC,2BAAgB;mDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;8BAC3C,yBAAyB;mDAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
3
|
export declare class CreateMachinesRequestPayload {
|
|
4
4
|
poolId: string;
|
|
@@ -6,7 +6,7 @@ export declare class CreateMachinesRequestPayload {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class CreateMachinesRequest extends LudeoEvent {
|
|
8
8
|
static readonly EVENT_NAME = "cloud-pools.create-machines-request";
|
|
9
|
-
constructor(payload: CreateMachinesRequestPayload, context:
|
|
10
|
-
context:
|
|
9
|
+
constructor(payload: CreateMachinesRequestPayload, context: CloudPoolContext);
|
|
10
|
+
context: CloudPoolContext;
|
|
11
11
|
payload: CreateMachinesRequestPayload;
|
|
12
12
|
}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateMachinesRequest = exports.CreateMachinesRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const contexts_1 = require("
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class CreateMachinesRequestPayload {
|
|
@@ -35,8 +35,8 @@ class CreateMachinesRequest extends ludeo_event_1.LudeoEvent {
|
|
|
35
35
|
exports.CreateMachinesRequest = CreateMachinesRequest;
|
|
36
36
|
CreateMachinesRequest.EVENT_NAME = "cloud-pools.create-machines-request";
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.
|
|
39
|
-
__metadata("design:type", contexts_1.
|
|
38
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudPoolContext),
|
|
39
|
+
__metadata("design:type", contexts_1.CloudPoolContext)
|
|
40
40
|
], CreateMachinesRequest.prototype, "context", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => CreateMachinesRequestPayload),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-machines-request.js","sourceRoot":"","sources":["../../../src/v3/events/create-machines-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"create-machines-request.js","sourceRoot":"","sources":["../../../src/v3/events/create-machines-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAA+C;AAC/C,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;4DACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;8DACM;AAGnB,MAAa,qBAAsB,SAAQ,wBAAU;IAGnD,YACE,OAAqC,EACrC,OAAyB;QAEzB,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,sDAiBC;AAhBiB,gCAAU,GAAG,qCAAqC,CAAC;AAYnE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;8BAClC,2BAAgB;sDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
-
import { CloudSessionContext } from "
|
|
3
|
+
import { CloudSessionContext } from "../contexts";
|
|
4
4
|
export declare class DeallocateMachineRequestPayload {
|
|
5
5
|
machinePoolId: string;
|
|
6
6
|
machineResourceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deallocate-machine-request.js","sourceRoot":"","sources":["../../../src/v3/events/deallocate-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"deallocate-machine-request.js","sourceRoot":"","sources":["../../../src/v3/events/deallocate-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAGzC,yDAAqD;AAErD,oGAAqF;AACrF,yEAAsE;AAEtE,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;sEACa;AAGtB;IADC,IAAA,wBAAM,GAAE;;0EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;mEACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;uEACc;AAGzB,MAAa,wBAAyB,SAAQ,wBAAU;IAGtD,YACE,OAAwC,EACxC,OAA4B;QAE5B,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,wCAAwC,CAAC;AAYtE;IADC,IAAA,mDAAkB,EAAC,yCAAmB,CAAC;;yDACQ;AAGhD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;yDAAC"}
|
|
@@ -25,3 +25,6 @@ export * from "./terminate-machine-resource-batch-request";
|
|
|
25
25
|
export * from "./terminate-machines-request";
|
|
26
26
|
export * from "./swap-cloud-user-request";
|
|
27
27
|
export * from "./swap-cloud-user-request-failed";
|
|
28
|
+
export * from "./prepare-cloud-machine-auth";
|
|
29
|
+
export * from "./prepare-cloud-machine-auth-failed";
|
|
30
|
+
export * from "./token-required.event";
|
package/dist/v3/events/index.js
CHANGED
|
@@ -41,4 +41,7 @@ __exportStar(require("./terminate-machine-resource-batch-request"), exports);
|
|
|
41
41
|
__exportStar(require("./terminate-machines-request"), exports);
|
|
42
42
|
__exportStar(require("./swap-cloud-user-request"), exports);
|
|
43
43
|
__exportStar(require("./swap-cloud-user-request-failed"), exports);
|
|
44
|
+
__exportStar(require("./prepare-cloud-machine-auth"), exports);
|
|
45
|
+
__exportStar(require("./prepare-cloud-machine-auth-failed"), exports);
|
|
46
|
+
__exportStar(require("./token-required.event"), exports);
|
|
44
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v3/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,sEAAoD;AACpD,8EAA4D;AAC5D,mDAAiC;AACjC,oEAAkD;AAClD,4DAA0C;AAC1C,6EAA2D;AAC3D,+DAA6C;AAC7C,4DAA0C;AAC1C,mEAAiD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v3/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,4DAA0C;AAC1C,+DAA6C;AAC7C,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,sEAAoD;AACpD,8EAA4D;AAC5D,mDAAiC;AACjC,oEAAkD;AAClD,4DAA0C;AAC1C,6EAA2D;AAC3D,+DAA6C;AAC7C,4DAA0C;AAC1C,mEAAiD;AACjD,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
-
import { CloudSessionContext } from "
|
|
2
|
+
import { CloudSessionContext } from "../contexts";
|
|
3
3
|
import { CloudPoolContext } from "../contexts";
|
|
4
4
|
export declare class MachineDeallocatedResponsePayload {
|
|
5
5
|
machinePoolId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
-
import { CloudSessionContext } from "
|
|
2
|
+
import { CloudSessionContext } from "../contexts";
|
|
3
3
|
import { CloudPoolContext } from "../contexts";
|
|
4
4
|
export declare class MachineDeallocatedFailedResponsePayload {
|
|
5
5
|
machinePoolId: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra";
|
|
2
|
+
import { CloudResourceContext } from "../contexts";
|
|
3
|
+
export declare class PrepareCloudMachineAuthFailedPayload {
|
|
4
|
+
errorMessage: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class PrepareCloudMachineAuthFailed extends LudeoEvent {
|
|
7
|
+
static readonly EVENT_NAME = "cloud-pools.prepare-cloud-machine-auth-failed";
|
|
8
|
+
constructor(payload: PrepareCloudMachineAuthFailedPayload, context: CloudResourceContext);
|
|
9
|
+
payload: PrepareCloudMachineAuthFailedPayload;
|
|
10
|
+
context: CloudResourceContext;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.PrepareCloudMachineAuthFailed = exports.PrepareCloudMachineAuthFailedPayload = void 0;
|
|
13
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
14
|
+
const infra_1 = require("../../infra");
|
|
15
|
+
const contexts_1 = require("../contexts");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
class PrepareCloudMachineAuthFailedPayload {
|
|
18
|
+
}
|
|
19
|
+
exports.PrepareCloudMachineAuthFailedPayload = PrepareCloudMachineAuthFailedPayload;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PrepareCloudMachineAuthFailedPayload.prototype, "errorMessage", void 0);
|
|
25
|
+
class PrepareCloudMachineAuthFailed extends infra_1.LudeoEvent {
|
|
26
|
+
constructor(payload, context) {
|
|
27
|
+
super(PrepareCloudMachineAuthFailed.EVENT_NAME);
|
|
28
|
+
this.payload = payload;
|
|
29
|
+
this.context = context;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.PrepareCloudMachineAuthFailed = PrepareCloudMachineAuthFailed;
|
|
33
|
+
PrepareCloudMachineAuthFailed.EVENT_NAME = "cloud-pools.prepare-cloud-machine-auth-failed";
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => PrepareCloudMachineAuthFailedPayload),
|
|
36
|
+
__metadata("design:type", PrepareCloudMachineAuthFailedPayload)
|
|
37
|
+
], PrepareCloudMachineAuthFailed.prototype, "payload", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
40
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
41
|
+
], PrepareCloudMachineAuthFailed.prototype, "context", void 0);
|
|
42
|
+
//# sourceMappingURL=prepare-cloud-machine-auth-failed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-cloud-machine-auth-failed.js","sourceRoot":"","sources":["../../../src/v3/events/prepare-cloud-machine-auth-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oGAAqF;AACrF,uCAAyC;AACzC,0CAAmD;AACnD,qDAAuD;AAEvD,MAAa,oCAAoC;CAIhD;AAJD,oFAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACQ;AAGvB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YACE,OAA6C,EAC7C,OAA6B;QAE7B,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,sEAiBC;AAhBiB,wCAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra";
|
|
2
|
+
import { CloudResourceContext } from "../contexts";
|
|
3
|
+
export declare class PrepareCloudMachineAuthPayload {
|
|
4
|
+
cloudUserId: string;
|
|
5
|
+
authTokenId: string;
|
|
6
|
+
resourceId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class PrepareCloudMachineAuth extends LudeoEvent {
|
|
9
|
+
static readonly EVENT_NAME = "cloud-pools.prepare-cloud-machine-auth";
|
|
10
|
+
constructor(payload: PrepareCloudMachineAuthPayload, context: CloudResourceContext);
|
|
11
|
+
payload: PrepareCloudMachineAuthPayload;
|
|
12
|
+
context: CloudResourceContext;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.PrepareCloudMachineAuth = exports.PrepareCloudMachineAuthPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
15
|
+
const infra_1 = require("../../infra");
|
|
16
|
+
const contexts_1 = require("../contexts");
|
|
17
|
+
class PrepareCloudMachineAuthPayload {
|
|
18
|
+
}
|
|
19
|
+
exports.PrepareCloudMachineAuthPayload = PrepareCloudMachineAuthPayload;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], PrepareCloudMachineAuthPayload.prototype, "cloudUserId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], PrepareCloudMachineAuthPayload.prototype, "authTokenId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsUUID)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], PrepareCloudMachineAuthPayload.prototype, "resourceId", void 0);
|
|
32
|
+
class PrepareCloudMachineAuth extends infra_1.LudeoEvent {
|
|
33
|
+
constructor(payload, context) {
|
|
34
|
+
super(PrepareCloudMachineAuth.EVENT_NAME);
|
|
35
|
+
this.payload = payload;
|
|
36
|
+
this.context = context;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.PrepareCloudMachineAuth = PrepareCloudMachineAuth;
|
|
40
|
+
PrepareCloudMachineAuth.EVENT_NAME = "cloud-pools.prepare-cloud-machine-auth";
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => PrepareCloudMachineAuthPayload),
|
|
43
|
+
__metadata("design:type", PrepareCloudMachineAuthPayload)
|
|
44
|
+
], PrepareCloudMachineAuth.prototype, "payload", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
47
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
48
|
+
], PrepareCloudMachineAuth.prototype, "context", void 0);
|
|
49
|
+
//# sourceMappingURL=prepare-cloud-machine-auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepare-cloud-machine-auth.js","sourceRoot":"","sources":["../../../src/v3/events/prepare-cloud-machine-auth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,oGAAqF;AACrF,uCAAyC;AACzC,0CAAmD;AAEnD,MAAa,8BAA8B;CAS1C;AATD,wEASC;AAPC;IADC,IAAA,wBAAM,GAAE;;mEACW;AAGpB;IADC,IAAA,wBAAM,GAAE;;mEACW;AAGpB;IADC,IAAA,wBAAM,GAAE;;kEACU;AAGrB,MAAa,uBAAwB,SAAQ,kBAAU;IAGrD,YACE,OAAuC,EACvC,OAA6B;QAE7B,KAAK,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,0DAiBC;AAhBiB,kCAAU,GAAG,wCAAwC,CAAC;AAYtE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAA8B,CAAC;8BAChD,8BAA8B;wDAAC;AAGxC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;wDAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
3
|
import { BaseCloudPoolConfiguration } from "../types";
|
|
4
4
|
export declare class SetPoolEvent extends LudeoEvent {
|
|
5
5
|
static readonly EVENT_NAME = "cloud-pools.set-pool";
|
|
6
|
-
constructor(payload: Partial<BaseCloudPoolConfiguration>, context:
|
|
7
|
-
context:
|
|
6
|
+
constructor(payload: Partial<BaseCloudPoolConfiguration>, context: CloudPoolContext);
|
|
7
|
+
context: CloudPoolContext;
|
|
8
8
|
payload: Partial<BaseCloudPoolConfiguration>;
|
|
9
9
|
}
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SetPoolEvent = void 0;
|
|
13
|
-
const
|
|
13
|
+
const contexts_1 = require("../contexts");
|
|
14
14
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
16
|
const types_1 = require("../types");
|
|
@@ -24,8 +24,8 @@ class SetPoolEvent extends ludeo_event_1.LudeoEvent {
|
|
|
24
24
|
exports.SetPoolEvent = SetPoolEvent;
|
|
25
25
|
SetPoolEvent.EVENT_NAME = "cloud-pools.set-pool";
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() =>
|
|
28
|
-
__metadata("design:type",
|
|
27
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudPoolContext),
|
|
28
|
+
__metadata("design:type", contexts_1.CloudPoolContext)
|
|
29
29
|
], SetPoolEvent.prototype, "context", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => types_1.BaseCloudPoolConfiguration),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-pool.event.js","sourceRoot":"","sources":["../../../src/v3/events/set-pool.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"set-pool.event.js","sourceRoot":"","sources":["../../../src/v3/events/set-pool.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA+C;AAC/C,oGAAqF;AACrF,yDAAqD;AACrD,oCAAsD;AAEtD,MAAa,YAAa,SAAQ,wBAAU;IAG1C,YACE,OAA4C,EAC5C,OAAyB;QAEzB,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oCAiBC;AAhBiB,uBAAU,GAAG,sBAAsB,CAAC;AAYpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;8BAClC,2BAAgB;6CAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kCAA0B,CAAC;;6CACR"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CloudSessionContext } from "../contexts";
|
|
1
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
-
import { CloudSessionContext } from "../../v2/contexts";
|
|
3
3
|
export declare class SwapCloudUserRequestFailedPayload {
|
|
4
4
|
connectionId: string;
|
|
5
5
|
defaultUserSessionToken: string;
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SwapCloudUserRequestFailed = exports.SwapCloudUserRequestFailedPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
14
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
-
const contexts_1 = require("../../v2/contexts");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class SwapCloudUserRequestFailedPayload {
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-request-failed.js","sourceRoot":"","sources":["../../../src/v3/events/swap-cloud-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,yDAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-request-failed.js","sourceRoot":"","sources":["../../../src/v3/events/swap-cloud-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,iCAAiC;CAe7C;AAfD,8EAeC;AAbC;IADC,IAAA,wBAAM,GAAE;;uEACY;AAGrB;IADC,IAAA,0BAAQ,GAAE;;kFACqB;AAGhC;IADC,IAAA,0BAAQ,GAAE;;iFACoB;AAG/B;IADC,IAAA,0BAAQ,GAAE;;gEACG;AAGd;IADC,IAAA,0BAAQ,GAAE;;wEACW;AAGxB,MAAa,0BAA2B,SAAQ,wBAAU;IAGxD,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;;AAVH,gEAiBC;AAhBiB,qCAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;2DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;8BAC5C,iCAAiC;2DAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CloudSessionContext } from "../contexts";
|
|
1
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
-
import { CloudSessionContext } from "../../v2/contexts";
|
|
3
3
|
export declare class SwapCloudUserRequestPayload {
|
|
4
4
|
connectionId: string;
|
|
5
5
|
defaultUserSessionToken: string;
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SwapCloudUserRequest = exports.SwapCloudUserRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
14
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
-
const contexts_1 = require("../../v2/contexts");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class SwapCloudUserRequestPayload {
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-request.js","sourceRoot":"","sources":["../../../src/v3/events/swap-cloud-user-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,yDAAqD;AACrD,
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-request.js","sourceRoot":"","sources":["../../../src/v3/events/swap-cloud-user-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,2BAA2B;CASvC;AATD,kEASC;AAPC;IADC,IAAA,wBAAM,GAAE;;iEACY;AAGrB;IADC,IAAA,0BAAQ,GAAE;;4EACqB;AAGhC;IADC,IAAA,0BAAQ,GAAE;;2EACoB;AAGjC,MAAa,oBAAqB,SAAQ,wBAAU;IAGlD,YACE,OAAoC,EACpC,OAA4B;QAE5B,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oDAiBC;AAhBiB,+BAAU,GAAG,wCAAwC,CAAC;AAYtE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;qDAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
3
|
export declare class TerminateGamesRequestPayload {
|
|
4
4
|
poolId: string;
|
|
@@ -6,7 +6,7 @@ export declare class TerminateGamesRequestPayload {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class TerminateGamesRequest extends LudeoEvent {
|
|
8
8
|
static readonly EVENT_NAME = "cloud-pools.terminate-games-request";
|
|
9
|
-
constructor(payload: TerminateGamesRequestPayload, context:
|
|
10
|
-
context:
|
|
9
|
+
constructor(payload: TerminateGamesRequestPayload, context: CloudPoolContext);
|
|
10
|
+
context: CloudPoolContext;
|
|
11
11
|
payload: TerminateGamesRequestPayload;
|
|
12
12
|
}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TerminateGamesRequest = exports.TerminateGamesRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const contexts_1 = require("
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class TerminateGamesRequestPayload {
|
|
@@ -35,8 +35,8 @@ class TerminateGamesRequest extends ludeo_event_1.LudeoEvent {
|
|
|
35
35
|
exports.TerminateGamesRequest = TerminateGamesRequest;
|
|
36
36
|
TerminateGamesRequest.EVENT_NAME = "cloud-pools.terminate-games-request";
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.
|
|
39
|
-
__metadata("design:type", contexts_1.
|
|
38
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudPoolContext),
|
|
39
|
+
__metadata("design:type", contexts_1.CloudPoolContext)
|
|
40
40
|
], TerminateGamesRequest.prototype, "context", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => TerminateGamesRequestPayload),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-games-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-games-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"terminate-games-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-games-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAA+C;AAC/C,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;4DACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;8DACM;AAGnB,MAAa,qBAAsB,SAAQ,wBAAU;IAGnD,YACE,OAAqC,EACrC,OAAyB;QAEzB,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,sDAiBC;AAhBiB,gCAAU,GAAG,qCAAqC,CAAC;AAYnE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;8BAClC,2BAAgB;sDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CloudPoolContext } from "../contexts";
|
|
2
2
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
3
|
export declare class TerminateMachinesRequestPayload {
|
|
4
4
|
poolId: string;
|
|
@@ -6,7 +6,7 @@ export declare class TerminateMachinesRequestPayload {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class TerminateMachinesRequest extends LudeoEvent {
|
|
8
8
|
static readonly EVENT_NAME = "cloud-pools.terminate-machines-request";
|
|
9
|
-
constructor(payload: TerminateMachinesRequestPayload, context:
|
|
10
|
-
context:
|
|
9
|
+
constructor(payload: TerminateMachinesRequestPayload, context: CloudPoolContext);
|
|
10
|
+
context: CloudPoolContext;
|
|
11
11
|
payload: TerminateMachinesRequestPayload;
|
|
12
12
|
}
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TerminateMachinesRequest = exports.TerminateMachinesRequestPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const contexts_1 = require("
|
|
14
|
+
const contexts_1 = require("../contexts");
|
|
15
15
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
17
|
class TerminateMachinesRequestPayload {
|
|
@@ -35,8 +35,8 @@ class TerminateMachinesRequest extends ludeo_event_1.LudeoEvent {
|
|
|
35
35
|
exports.TerminateMachinesRequest = TerminateMachinesRequest;
|
|
36
36
|
TerminateMachinesRequest.EVENT_NAME = "cloud-pools.terminate-machines-request";
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.
|
|
39
|
-
__metadata("design:type", contexts_1.
|
|
38
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => contexts_1.CloudPoolContext),
|
|
39
|
+
__metadata("design:type", contexts_1.CloudPoolContext)
|
|
40
40
|
], TerminateMachinesRequest.prototype, "context", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => TerminateMachinesRequestPayload),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-machines-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-machines-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"terminate-machines-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-machines-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,0CAA+C;AAC/C,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,+BAA+B;CAM3C;AAND,0EAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;+DACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;iEACM;AAGnB,MAAa,wBAAyB,SAAQ,wBAAU;IAGtD,YACE,OAAwC,EACxC,OAAyB;QAEzB,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,wCAAwC,CAAC;AAYtE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;8BAClC,2BAAgB;yDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;yDAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
export declare class TokenRequiredConnectionDetails {
|
|
3
|
+
resourceId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class TokenRequiredEventData {
|
|
6
|
+
authSource: string;
|
|
7
|
+
connectionDetails: TokenRequiredConnectionDetails;
|
|
8
|
+
authToken: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class TokenRequiredEventPayload {
|
|
11
|
+
id: string;
|
|
12
|
+
type: string;
|
|
13
|
+
userId: string;
|
|
14
|
+
expireAt: number;
|
|
15
|
+
quota: number;
|
|
16
|
+
isUnique: boolean;
|
|
17
|
+
data: TokenRequiredEventData;
|
|
18
|
+
}
|
|
19
|
+
export declare class TokenRequired extends LudeoEvent {
|
|
20
|
+
static readonly EVENT_NAME = "tokens.token-required";
|
|
21
|
+
payload: TokenRequiredEventPayload;
|
|
22
|
+
context?: never;
|
|
23
|
+
constructor(payload: TokenRequiredEventPayload, context?: never);
|
|
24
|
+
}
|