easywork-common-lib 1.0.735 → 1.0.737
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.
|
@@ -31,18 +31,19 @@ __decorate([
|
|
|
31
31
|
description: "CUA of the intermediary agent",
|
|
32
32
|
required: false,
|
|
33
33
|
}),
|
|
34
|
-
(0, typeorm_1.Column)({ length: 50,
|
|
34
|
+
(0, typeorm_1.Column)({ length: 50, nullable: true }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], AgenteIntermediario.prototype, "cua", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, group => group.agenteIntermediarios, {
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => group_entity_1.Group, (group) => group.agenteIntermediarios, {
|
|
39
39
|
nullable: true,
|
|
40
|
-
onDelete:
|
|
41
|
-
onUpdate:
|
|
40
|
+
onDelete: "CASCADE",
|
|
41
|
+
onUpdate: "CASCADE",
|
|
42
42
|
}),
|
|
43
43
|
__metadata("design:type", group_entity_1.Group)
|
|
44
44
|
], AgenteIntermediario.prototype, "group", void 0);
|
|
45
45
|
exports.AgenteIntermediario = AgenteIntermediario = __decorate([
|
|
46
|
-
(0, typeorm_1.Entity)()
|
|
46
|
+
(0, typeorm_1.Entity)(),
|
|
47
|
+
(0, typeorm_1.Index)("IDX_AGENTE_INTERMEDIARIO_CUA_GROUP", ["cua", "group"], { unique: true })
|
|
47
48
|
], AgenteIntermediario);
|
|
48
49
|
//# sourceMappingURL=agente-intermediario.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agente-intermediario.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/agente-intermediario.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,mEAAqE;AACrE,
|
|
1
|
+
{"version":3,"file":"agente-intermediario.entity.js","sourceRoot":"","sources":["../../../src/entities/sales/agente-intermediario.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,mEAAqE;AACrE,qCAA2D;AAC3D,8DAAoD;AAI7C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,8BAAgB;IAGvD,IAAI,CAAS;IAQb,GAAG,CAAS;IAOZ,KAAK,CAAQ;CACd,CAAA;AAnBY,kDAAmB;AAG9B;IAFC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;IAC5E,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;iDACX;AAQb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC3B;AAOZ;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,oBAAoB,EAAE;QAC7D,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACK,oBAAK;kDAAC;8BAlBF,mBAAmB;IAF/B,IAAA,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,oCAAoC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GACnE,mBAAmB,CAmB/B"}
|
|
@@ -209,9 +209,10 @@ message CreateFilesResponse {
|
|
|
209
209
|
|
|
210
210
|
// Respuesta tras la creación de un archivo.
|
|
211
211
|
message CreateFileResponse {
|
|
212
|
-
string
|
|
213
|
-
|
|
214
|
-
string
|
|
212
|
+
string id = 1; // Identificador del archivo creado
|
|
213
|
+
string url = 2; // URL del archivo almacenado
|
|
214
|
+
string name = 3; // Nombre del archivo creado
|
|
215
|
+
string mimeType = 4; // Tipo MIME del archivo
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
message DeleteAttachedFilesRequest {
|