feat: add profiles session API
This commit is contained in:
4
dist/shared/dto/composant.dto.d.ts
vendored
4
dist/shared/dto/composant.dto.d.ts
vendored
@@ -3,7 +3,7 @@ export declare class CreateComposantDto {
|
||||
machineId?: string;
|
||||
parentComposantId?: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: number | null;
|
||||
emplacement?: string;
|
||||
typeComposantId?: string;
|
||||
@@ -11,7 +11,7 @@ export declare class CreateComposantDto {
|
||||
export declare class UpdateComposantDto {
|
||||
name?: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: number | null;
|
||||
emplacement?: string;
|
||||
typeComposantId?: string;
|
||||
|
||||
8
dist/shared/dto/composant.dto.js
vendored
8
dist/shared/dto/composant.dto.js
vendored
@@ -17,7 +17,7 @@ class CreateComposantDto {
|
||||
machineId;
|
||||
parentComposantId;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typeComposantId;
|
||||
@@ -46,7 +46,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], CreateComposantDto.prototype, "constructeur", void 0);
|
||||
], CreateComposantDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||
@@ -66,7 +66,7 @@ __decorate([
|
||||
class UpdateComposantDto {
|
||||
name;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typeComposantId;
|
||||
@@ -86,7 +86,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateComposantDto.prototype, "constructeur", void 0);
|
||||
], UpdateComposantDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||
|
||||
2
dist/shared/dto/composant.dto.js.map
vendored
2
dist/shared/dto/composant.dto.js.map
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"composant.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/composant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,kBAAkB;IAE7B,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,iBAAiB,CAAU;IAI3B,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,eAAe,CAAU;CAC1B;AAhCD,gDAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;gDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACgB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc;AAG3B,MAAa,kBAAkB;IAG7B,IAA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E;;2DACc"}
|
||||
10
dist/shared/dto/constructeur.dto.d.ts
vendored
Normal file
10
dist/shared/dto/constructeur.dto.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
export declare class CreateConstructeurDto {
|
||||
name: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
}
|
||||
export declare class UpdateConstructeurDto {
|
||||
name?: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
}
|
||||
55
dist/shared/dto/constructeur.dto.js
vendored
Normal file
55
dist/shared/dto/constructeur.dto.js
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
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;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UpdateConstructeurDto = exports.CreateConstructeurDto = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
class CreateConstructeurDto {
|
||||
name;
|
||||
email;
|
||||
phone;
|
||||
}
|
||||
exports.CreateConstructeurDto = CreateConstructeurDto;
|
||||
__decorate([
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], CreateConstructeurDto.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsEmail)(),
|
||||
__metadata("design:type", String)
|
||||
], CreateConstructeurDto.prototype, "email", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], CreateConstructeurDto.prototype, "phone", void 0);
|
||||
class UpdateConstructeurDto {
|
||||
name;
|
||||
email;
|
||||
phone;
|
||||
}
|
||||
exports.UpdateConstructeurDto = UpdateConstructeurDto;
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateConstructeurDto.prototype, "name", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsEmail)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateConstructeurDto.prototype, "email", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateConstructeurDto.prototype, "phone", void 0);
|
||||
//# sourceMappingURL=constructeur.dto.js.map
|
||||
1
dist/shared/dto/constructeur.dto.js.map
vendored
Normal file
1
dist/shared/dto/constructeur.dto.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"constructeur.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/constructeur.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,qBAAqB;IAEhC,IAAI,CAAQ;IAIZ,KAAK,CAAS;IAId,KAAK,CAAS;CACf;AAXD,sDAWC;AATC;IADC,IAAA,0BAAQ,GAAE;;mDACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACG;AAGhB,MAAa,qBAAqB;IAGhC,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;CACf;AAZD,sDAYC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACG"}
|
||||
4
dist/shared/dto/machine.dto.d.ts
vendored
4
dist/shared/dto/machine.dto.d.ts
vendored
@@ -2,7 +2,7 @@ export declare class CreateMachineDto {
|
||||
name: string;
|
||||
siteId: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: string;
|
||||
emplacement?: string;
|
||||
typeMachineId?: string;
|
||||
@@ -10,7 +10,7 @@ export declare class CreateMachineDto {
|
||||
export declare class UpdateMachineDto {
|
||||
name?: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: string;
|
||||
emplacement?: string;
|
||||
typeMachineId?: string;
|
||||
|
||||
8
dist/shared/dto/machine.dto.js
vendored
8
dist/shared/dto/machine.dto.js
vendored
@@ -15,7 +15,7 @@ class CreateMachineDto {
|
||||
name;
|
||||
siteId;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typeMachineId;
|
||||
@@ -38,7 +38,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], CreateMachineDto.prototype, "constructeur", void 0);
|
||||
], CreateMachineDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsDecimal)(),
|
||||
@@ -57,7 +57,7 @@ __decorate([
|
||||
class UpdateMachineDto {
|
||||
name;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typeMachineId;
|
||||
@@ -77,7 +77,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateMachineDto.prototype, "constructeur", void 0);
|
||||
], UpdateMachineDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsDecimal)(),
|
||||
|
||||
2
dist/shared/dto/machine.dto.js.map
vendored
2
dist/shared/dto/machine.dto.js.map
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"machine.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAE5E,MAAa,gBAAgB;IAE3B,IAAI,CAAS;IAGb,MAAM,CAAS;IAIf,SAAS,CAAU;IAInB,YAAY,CAAU;IAItB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AA1BD,4CA0BC;AAxBC;IADC,IAAA,0BAAQ,GAAE;;8CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY;AAGzB,MAAa,gBAAgB;IAG3B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,YAAY,CAAU;IAItB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AAxBD,4CAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,I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,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY"}
|
||||
4
dist/shared/dto/piece.dto.d.ts
vendored
4
dist/shared/dto/piece.dto.d.ts
vendored
@@ -3,7 +3,7 @@ export declare class CreatePieceDto {
|
||||
machineId?: string;
|
||||
composantId?: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: number | null;
|
||||
emplacement?: string;
|
||||
typePieceId?: string;
|
||||
@@ -11,7 +11,7 @@ export declare class CreatePieceDto {
|
||||
export declare class UpdatePieceDto {
|
||||
name?: string;
|
||||
reference?: string;
|
||||
constructeur?: string;
|
||||
constructeurId?: string;
|
||||
prix?: number | null;
|
||||
emplacement?: string;
|
||||
typePieceId?: string;
|
||||
|
||||
8
dist/shared/dto/piece.dto.js
vendored
8
dist/shared/dto/piece.dto.js
vendored
@@ -17,7 +17,7 @@ class CreatePieceDto {
|
||||
machineId;
|
||||
composantId;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typePieceId;
|
||||
@@ -46,7 +46,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], CreatePieceDto.prototype, "constructeur", void 0);
|
||||
], CreatePieceDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||
@@ -66,7 +66,7 @@ __decorate([
|
||||
class UpdatePieceDto {
|
||||
name;
|
||||
reference;
|
||||
constructeur;
|
||||
constructeurId;
|
||||
prix;
|
||||
emplacement;
|
||||
typePieceId;
|
||||
@@ -86,7 +86,7 @@ __decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdatePieceDto.prototype, "constructeur", void 0);
|
||||
], UpdatePieceDto.prototype, "constructeurId", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||
|
||||
2
dist/shared/dto/piece.dto.js.map
vendored
2
dist/shared/dto/piece.dto.js.map
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"piece.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/piece.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,cAAc;IAEzB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAhCD,wCAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;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AC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU"}
|
||||
7
dist/shared/dto/profile.dto.d.ts
vendored
Normal file
7
dist/shared/dto/profile.dto.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export declare class CreateProfileDto {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
}
|
||||
export declare class ActivateProfileDto {
|
||||
profileId: string;
|
||||
}
|
||||
40
dist/shared/dto/profile.dto.js
vendored
Normal file
40
dist/shared/dto/profile.dto.js
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
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;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ActivateProfileDto = exports.CreateProfileDto = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
class CreateProfileDto {
|
||||
firstName;
|
||||
lastName;
|
||||
}
|
||||
exports.CreateProfileDto = CreateProfileDto;
|
||||
__decorate([
|
||||
(0, class_validator_1.IsString)(),
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
(0, class_validator_1.MaxLength)(100),
|
||||
__metadata("design:type", String)
|
||||
], CreateProfileDto.prototype, "firstName", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsString)(),
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
(0, class_validator_1.MaxLength)(100),
|
||||
__metadata("design:type", String)
|
||||
], CreateProfileDto.prototype, "lastName", void 0);
|
||||
class ActivateProfileDto {
|
||||
profileId;
|
||||
}
|
||||
exports.ActivateProfileDto = ActivateProfileDto;
|
||||
__decorate([
|
||||
(0, class_validator_1.IsString)(),
|
||||
(0, class_validator_1.IsNotEmpty)(),
|
||||
__metadata("design:type", String)
|
||||
], ActivateProfileDto.prototype, "profileId", void 0);
|
||||
//# sourceMappingURL=profile.dto.js.map
|
||||
1
dist/shared/dto/profile.dto.js.map
vendored
Normal file
1
dist/shared/dto/profile.dto.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"profile.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/profile.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,gBAAgB;IAI3B,SAAS,CAAS;IAKlB,QAAQ,CAAS;CAClB;AAVD,4CAUC;AANC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACG;AAKlB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACE;AAGnB,MAAa,kBAAkB;IAG7B,SAAS,CAAS;CACnB;AAJD,gDAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACK"}
|
||||
Reference in New Issue
Block a user