@silexpert/core 1.1.276 → 1.1.277

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.
@@ -16,6 +16,7 @@ export type TimeSlotDetailType = {
16
16
  idRole: number[];
17
17
  forWholeService?: boolean;
18
18
  idRoleExcluded?: number[];
19
+ idTimeCounterType: number;
19
20
  };
20
21
  export declare const TimeSlotDetail: TimeSlotDetailType[];
21
22
  //# sourceMappingURL=TimeSlot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSlot.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAEA,oBAAY,QAAQ;IAClB,UAAU,IAAI;IACd,gBAAgB,IAAI;IACpB,KAAK,IAAI;IACT,GAAG,IAAI;IACP,WAAW,IAAI;IACf,mBAAmB,IAAI;IACvB,cAAc,IAAI;IAClB,OAAO,IAAI;CACZ;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAC,kBAAkB,EAoE7C,CAAC"}
1
+ {"version":3,"file":"TimeSlot.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAGA,oBAAY,QAAQ;IAClB,UAAU,IAAI;IACd,gBAAgB,IAAI;IACpB,KAAK,IAAI;IACT,GAAG,IAAI;IACP,WAAW,IAAI;IACf,mBAAmB,IAAI;IACvB,cAAc,IAAI;IAClB,OAAO,IAAI;CACZ;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAC,kBAAkB,EAwE7C,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TimeSlotDetail = exports.TimeSlot = void 0;
4
4
  const Role_1 = require("./Role");
5
+ const TimeCounterType_1 = require("./TimeCounterType");
5
6
  var TimeSlot;
6
7
  (function (TimeSlot) {
7
8
  TimeSlot[TimeSlot["ONBOARDING"] = 1] = "ONBOARDING";
@@ -21,6 +22,7 @@ exports.TimeSlotDetail = [
21
22
  duration: 45,
22
23
  idRole: [Role_1.Role.ON_BOARDER],
23
24
  forWholeService: true,
25
+ idTimeCounterType: TimeCounterType_1.TimeCounterType.ONBOARDING.id,
24
26
  },
25
27
  {
26
28
  id: TimeSlot.ONBOARDING_SHORT,
@@ -29,6 +31,7 @@ exports.TimeSlotDetail = [
29
31
  duration: 45,
30
32
  idRole: [Role_1.Role.ON_BOARDER],
31
33
  forWholeService: true,
34
+ idTimeCounterType: TimeCounterType_1.TimeCounterType.ONBOARDING.id,
32
35
  },
33
36
  // {
34
37
  // id: TimeSlot.BILAN,
@@ -72,6 +75,7 @@ exports.TimeSlotDetail = [
72
75
  idRole: [Role_1.Role.ACCOUNTANT],
73
76
  idRoleExcluded: [Role_1.Role.MANAGER],
74
77
  forWholeService: false,
78
+ idTimeCounterType: TimeCounterType_1.TimeCounterType.CALENDLY.id,
75
79
  },
76
80
  {
77
81
  id: TimeSlot.BILLING,
@@ -80,6 +84,7 @@ exports.TimeSlotDetail = [
80
84
  duration: 45,
81
85
  idRole: [Role_1.Role.FACTURATION],
82
86
  forWholeService: false,
87
+ idTimeCounterType: TimeCounterType_1.TimeCounterType.CALENDLY.id,
83
88
  },
84
89
  ];
85
90
  //# sourceMappingURL=TimeSlot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSlot.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAE9B,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,mDAAc,CAAA;IACd,+DAAoB,CAAA;IACpB,yCAAS,CAAA;IACT,qCAAO,CAAA;IACP,qDAAe,CAAA;IACf,qEAAuB,CAAA;IACvB,2DAAkB,CAAA;IAClB,6CAAW,CAAA;AACb,CAAC,EATW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QASnB;AAYY,QAAA,cAAc,GAAwB;IACjD;QACE,EAAE,EAAE,QAAQ,CAAC,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,WAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;KACtB;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,gBAAgB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,WAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;KACtB;IACD,IAAI;IACJ,wBAAwB;IACxB,mBAAmB;IACnB,2BAA2B;IAC3B,kBAAkB;IAClB,+BAA+B;IAC/B,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sBAAsB;IACtB,iBAAiB;IACjB,yBAAyB;IACzB,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,8BAA8B;IAC9B,iBAAiB;IACjB,iCAAiC;IACjC,kBAAkB;IAClB,4CAA4C;IAC5C,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sCAAsC;IACtC,8BAA8B;IAC9B,sCAAsC;IACtC,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL;QACE,EAAE,EAAE,QAAQ,CAAC,cAAc;QAC3B,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,WAAI,CAAC,UAAU,CAAC;QACxB,cAAc,EAAC,CAAC,WAAI,CAAC,OAAO,CAAC;QAC7B,eAAe,EAAE,KAAK;KACvB;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,OAAO;QACpB,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,aAAa;QAC3B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,WAAI,CAAC,WAAW,CAAC;QACzB,eAAe,EAAE,KAAK;KACvB;CACF,CAAC","sourcesContent":["import { Role } from './Role';\n\nexport enum TimeSlot {\n ONBOARDING = 1,\n ONBOARDING_SHORT = 2,\n BILAN = 3,\n TVA = 4,\n TVA_MANAGER = 5,\n BALANCESHEET_OR_TIP = 6,\n ACCOUNTING_RDV = 7,\n BILLING = 8,\n}\n\nexport type TimeSlotDetailType = {\n id: number;\n name: string;\n internalName: string;\n duration: number;\n idRole: number[];\n forWholeService?: boolean\n idRoleExcluded?: number[];\n};\n\nexport const TimeSlotDetail:TimeSlotDetailType[] = [\n {\n id: TimeSlot.ONBOARDING,\n name: 'OnBoarding',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n },\n {\n id: TimeSlot.ONBOARDING_SHORT,\n name: 'OnBoarding court',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n },\n // {\n // id: TimeSlot.BILAN,\n // name: 'Bilan',\n // internalName: 'Bilan',\n // duration: 60,\n // idRole: [Role.ACCOUNTANT],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA,\n // name: 'Tva',\n // internalName: 'Tva',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA_MANAGER,\n // name: 'Tva',\n // internalName: 'Tva Manager',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT, Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.BALANCESHEET_OR_TIP,\n // name: 'Bilan ou Conseil',\n // internalName: 'Bilan ou Conseil',\n // duration: 30,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n {\n id: TimeSlot.ACCOUNTING_RDV,\n name: 'Rdv comptable',\n internalName: 'Rdv comptable',\n duration: 30,\n idRole:[Role.ACCOUNTANT],\n idRoleExcluded:[Role.MANAGER],\n forWholeService: false,\n },\n {\n id: TimeSlot.BILLING,\n name: 'Facturation',\n internalName: 'Facturation',\n duration: 45,\n idRole:[Role.FACTURATION],\n forWholeService: false,\n },\n];"]}
1
+ {"version":3,"file":"TimeSlot.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":";;;AAAA,iCAA8B;AAC9B,uDAAoD;AAEpD,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,mDAAc,CAAA;IACd,+DAAoB,CAAA;IACpB,yCAAS,CAAA;IACT,qCAAO,CAAA;IACP,qDAAe,CAAA;IACf,qEAAuB,CAAA;IACvB,2DAAkB,CAAA;IAClB,6CAAW,CAAA;AACb,CAAC,EATW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QASnB;AAaY,QAAA,cAAc,GAAwB;IACjD;QACE,EAAE,EAAE,QAAQ,CAAC,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,WAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;QACrB,iBAAiB,EAAE,iCAAe,CAAC,UAAU,CAAC,EAAE;KACjD;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,gBAAgB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,WAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;QACrB,iBAAiB,EAAE,iCAAe,CAAC,UAAU,CAAC,EAAE;KACjD;IACD,IAAI;IACJ,wBAAwB;IACxB,mBAAmB;IACnB,2BAA2B;IAC3B,kBAAkB;IAClB,+BAA+B;IAC/B,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sBAAsB;IACtB,iBAAiB;IACjB,yBAAyB;IACzB,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,8BAA8B;IAC9B,iBAAiB;IACjB,iCAAiC;IACjC,kBAAkB;IAClB,4CAA4C;IAC5C,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sCAAsC;IACtC,8BAA8B;IAC9B,sCAAsC;IACtC,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL;QACE,EAAE,EAAE,QAAQ,CAAC,cAAc;QAC3B,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,WAAI,CAAC,UAAU,CAAC;QACxB,cAAc,EAAC,CAAC,WAAI,CAAC,OAAO,CAAC;QAC7B,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE,iCAAe,CAAC,QAAQ,CAAC,EAAE;KAC/C;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,OAAO;QACpB,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,aAAa;QAC3B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,WAAI,CAAC,WAAW,CAAC;QACzB,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE,iCAAe,CAAC,QAAQ,CAAC,EAAE;KAC/C;CACF,CAAC","sourcesContent":["import { Role } from './Role';\nimport { TimeCounterType } from './TimeCounterType';\n\nexport enum TimeSlot {\n ONBOARDING = 1,\n ONBOARDING_SHORT = 2,\n BILAN = 3,\n TVA = 4,\n TVA_MANAGER = 5,\n BALANCESHEET_OR_TIP = 6,\n ACCOUNTING_RDV = 7,\n BILLING = 8,\n}\n\nexport type TimeSlotDetailType = {\n id: number;\n name: string;\n internalName: string;\n duration: number;\n idRole: number[];\n forWholeService?: boolean\n idRoleExcluded?: number[];\n idTimeCounterType: number;\n};\n\nexport const TimeSlotDetail:TimeSlotDetailType[] = [\n {\n id: TimeSlot.ONBOARDING,\n name: 'OnBoarding',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n idTimeCounterType: TimeCounterType.ONBOARDING.id,\n },\n {\n id: TimeSlot.ONBOARDING_SHORT,\n name: 'OnBoarding court',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n idTimeCounterType: TimeCounterType.ONBOARDING.id,\n },\n // {\n // id: TimeSlot.BILAN,\n // name: 'Bilan',\n // internalName: 'Bilan',\n // duration: 60,\n // idRole: [Role.ACCOUNTANT],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA,\n // name: 'Tva',\n // internalName: 'Tva',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA_MANAGER,\n // name: 'Tva',\n // internalName: 'Tva Manager',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT, Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.BALANCESHEET_OR_TIP,\n // name: 'Bilan ou Conseil',\n // internalName: 'Bilan ou Conseil',\n // duration: 30,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n {\n id: TimeSlot.ACCOUNTING_RDV,\n name: 'Rdv comptable',\n internalName: 'Rdv comptable',\n duration: 30,\n idRole:[Role.ACCOUNTANT],\n idRoleExcluded:[Role.MANAGER],\n forWholeService: false,\n idTimeCounterType: TimeCounterType.CALENDLY.id,\n },\n {\n id: TimeSlot.BILLING,\n name: 'Facturation',\n internalName: 'Facturation',\n duration: 45,\n idRole:[Role.FACTURATION],\n forWholeService: false,\n idTimeCounterType: TimeCounterType.CALENDLY.id,\n },\n];"]}
@@ -4,4 +4,18 @@ export declare class CreateFile {
4
4
  folder: string;
5
5
  name: string;
6
6
  }
7
+ export type ResizeIfTooLargePayload = {
8
+ imageLink: string;
9
+ path: string;
10
+ resizeIfGreaterThan: {
11
+ size: number;
12
+ height: number;
13
+ width: number;
14
+ };
15
+ newFile: {
16
+ height?: number;
17
+ width?: number;
18
+ name: string;
19
+ };
20
+ };
7
21
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAU;IAEnB,IAAI,EAAE,KAAK,CAAC;IAIZ,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAU;IAEnB,IAAI,EAAE,KAAK,CAAC;IAIZ,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAA;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,6CAAgD;AAGhD,MAAa,UAAU;CAWtB;AAVC;IAAC,IAAA,mBAAW,GAAE;;wCACA;AAEd;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0CACM;AAEjB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wCACI;AAVjB,gCAWC","sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { TFile } from './TFile';\n\nexport class CreateFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n folder: string;\n\n @ApiProperty()\n @IsString()\n name: string;\n}"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,6CAAgD;AAGhD,MAAa,UAAU;CAWtB;AAVC;IAAC,IAAA,mBAAW,GAAE;;wCACA;AAEd;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0CACM;AAEjB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;wCACI;AAVjB,gCAWC","sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { TFile } from './TFile';\n\nexport class CreateFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n folder: string;\n\n @ApiProperty()\n @IsString()\n name: string;\n}\n\nexport type ResizeIfTooLargePayload = {\n imageLink: string;\n path: string;\n resizeIfGreaterThan: {\n size: number;\n height: number;\n width: number;\n };\n newFile: {\n height?: number;\n width?: number;\n name: string;\n }\n};"]}
@@ -1 +1 @@
1
- {"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AAwJA,eAAO,MAAM,iBAAiB,QAoHrB,CAAC"}
1
+ {"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,QAkHrB,CAAC"}
@@ -11,19 +11,6 @@ const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>
11
11
  </p>
12
12
  <% } %>
13
13
  `;
14
- const logoClementine = `<% if (commercialName === 'Clementine') { %><tr>
15
- <td
16
- colspan="3"
17
- class="logo"
18
- style=""
19
- width="950">
20
- <img
21
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png"
22
- alt="Logo"
23
- height="32"
24
- style="padding-bottom: 10px;">
25
- </td>
26
- </tr><% } %>`;
27
14
  const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
28
15
  <td
29
16
  class="avatar"
@@ -156,8 +143,6 @@ cellspacing="0"
156
143
  width="950"
157
144
  class="signatureClementine">
158
145
 
159
- ${logoClementine}
160
-
161
146
  <tr style="background: #F4F8FB">
162
147
  ${avatar}
163
148
  <td
@@ -1 +1 @@
1
- {"version":3,"file":"signature.js","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":";;;AAAA,MAAM,OAAO,GAAG;;;;;;;;;GASb,CAAC;AAEJ,MAAM,cAAc,GAAG;;;;;;;;;;;;aAYV,CAAC;AAEd,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;UAuBL,CAAC;AAEX,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGd,CAAC;AAEW,QAAA,iBAAiB,GAAG,GAAG,OAAO;;;;;;;EAOzC,cAAc;;;IAGZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGN,MAAM;;;;;;;;;SASD,CAAC","sourcesContent":["const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>\n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Nos coordonnées bancaires </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n <% }else if (commercialName === 'Pourcentage' && [5, 7].includes(idTypeBrand)) { %> \n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Attention changement de RIB </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n<% } %>\n `;\n\nconst logoClementine = `<% if (commercialName === 'Clementine') { %><tr>\n<td\ncolspan=\"3\"\nclass=\"logo\"\nstyle=\"\"\nwidth=\"950\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png\"\n alt=\"Logo\"\n height=\"32\"\n style=\"padding-bottom: 10px;\">\n</td>\n</tr><% } %>`;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <% if(commercialName === 'Clementine') { %>\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } else { %>\n <p style=\"padding: 20px;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } %>\n </td>\n <% } %>`;\n\nconst footer = `<% if(commercialName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td colspan=\"7\" style=\"padding-bottom: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <!-- <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>-->\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!--<span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>-->\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(commercialName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!-- <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/pourcentage-fr/id1631156043\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.pourcentage\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a> -->\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `${newIban}<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n${logoClementine}\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"390\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"390\">\n <tr>\n <td width=\"390\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p>\n <p style=\"margin:0px 0; padding:0 0 4px; color:#6E6E71;\">\n Standard : <%- standardPhoneSignature %><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n Nos horaires : <%= horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 11, Boulevard Victor Hugo - Nice\n <% } %>\n </p>\n\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"350\">\n <tr>\n <td width=\"230\">\n <!-- image Télécharger l'app mobile -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n alt=\"Télécharger l'application mobile\"\n style=\"width: 152px; float:right\">\n \n <p style=\"float:right; margin-right: 45px\">\n <span style=\"margin:0; padding:0 0 4px; color:#6E6E71;\">Disponible sur<br/></span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </p>\n </td>\n <td width=\"120\">\n <!-- QR Code -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n style=\"width:128px\"\n alt=\"Prenez rendez-vous ici !\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\">\n <a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl && !isDataOfficer) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png\"\n alt=\"Demande de rdv téléphonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"]}
1
+ {"version":3,"file":"signature.js","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":";;;AAAA,MAAM,OAAO,GAAG;;;;;;;;;GASb,CAAC;AAEJ,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;UAuBL,CAAC;AAEX,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGd,CAAC;AAEW,QAAA,iBAAiB,GAAG,GAAG,OAAO;;;;;;;;IAQvC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGN,MAAM;;;;;;;;;SASD,CAAC","sourcesContent":["const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>\n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Nos coordonnées bancaires </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n <% }else if (commercialName === 'Pourcentage' && [5, 7].includes(idTypeBrand)) { %> \n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Attention changement de RIB </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n<% } %>\n `;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <% if(commercialName === 'Clementine') { %>\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } else { %>\n <p style=\"padding: 20px;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } %>\n </td>\n <% } %>`;\n\nconst footer = `<% if(commercialName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td colspan=\"7\" style=\"padding-bottom: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <!-- <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>-->\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!--<span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>-->\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(commercialName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!-- <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/pourcentage-fr/id1631156043\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.pourcentage\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a> -->\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `${newIban}<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"390\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"390\">\n <tr>\n <td width=\"390\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p>\n <p style=\"margin:0px 0; padding:0 0 4px; color:#6E6E71;\">\n Standard : <%- standardPhoneSignature %><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n Nos horaires : <%= horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 11, Boulevard Victor Hugo - Nice\n <% } %>\n </p>\n\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"350\">\n <tr>\n <td width=\"230\">\n <!-- image Télécharger l'app mobile -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n alt=\"Télécharger l'application mobile\"\n style=\"width: 152px; float:right\">\n \n <p style=\"float:right; margin-right: 45px\">\n <span style=\"margin:0; padding:0 0 4px; color:#6E6E71;\">Disponible sur<br/></span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </p>\n </td>\n <td width=\"120\">\n <!-- QR Code -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n style=\"width:128px\"\n alt=\"Prenez rendez-vous ici !\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\">\n <a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl && !isDataOfficer) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png\"\n alt=\"Demande de rdv téléphonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"]}
@@ -16,6 +16,7 @@ export type TimeSlotDetailType = {
16
16
  idRole: number[];
17
17
  forWholeService?: boolean;
18
18
  idRoleExcluded?: number[];
19
+ idTimeCounterType: number;
19
20
  };
20
21
  export declare const TimeSlotDetail: TimeSlotDetailType[];
21
22
  //# sourceMappingURL=TimeSlot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSlot.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAEA,oBAAY,QAAQ;IAClB,UAAU,IAAI;IACd,gBAAgB,IAAI;IACpB,KAAK,IAAI;IACT,GAAG,IAAI;IACP,WAAW,IAAI;IACf,mBAAmB,IAAI;IACvB,cAAc,IAAI;IAClB,OAAO,IAAI;CACZ;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAC,kBAAkB,EAoE7C,CAAC"}
1
+ {"version":3,"file":"TimeSlot.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAGA,oBAAY,QAAQ;IAClB,UAAU,IAAI;IACd,gBAAgB,IAAI;IACpB,KAAK,IAAI;IACT,GAAG,IAAI;IACP,WAAW,IAAI;IACf,mBAAmB,IAAI;IACvB,cAAc,IAAI;IAClB,OAAO,IAAI;CACZ;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAC,kBAAkB,EAwE7C,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { Role } from './Role';
2
+ import { TimeCounterType } from './TimeCounterType';
2
3
  export var TimeSlot;
3
4
  (function (TimeSlot) {
4
5
  TimeSlot[TimeSlot["ONBOARDING"] = 1] = "ONBOARDING";
@@ -18,6 +19,7 @@ export const TimeSlotDetail = [
18
19
  duration: 45,
19
20
  idRole: [Role.ON_BOARDER],
20
21
  forWholeService: true,
22
+ idTimeCounterType: TimeCounterType.ONBOARDING.id,
21
23
  },
22
24
  {
23
25
  id: TimeSlot.ONBOARDING_SHORT,
@@ -26,6 +28,7 @@ export const TimeSlotDetail = [
26
28
  duration: 45,
27
29
  idRole: [Role.ON_BOARDER],
28
30
  forWholeService: true,
31
+ idTimeCounterType: TimeCounterType.ONBOARDING.id,
29
32
  },
30
33
  // {
31
34
  // id: TimeSlot.BILAN,
@@ -69,6 +72,7 @@ export const TimeSlotDetail = [
69
72
  idRole: [Role.ACCOUNTANT],
70
73
  idRoleExcluded: [Role.MANAGER],
71
74
  forWholeService: false,
75
+ idTimeCounterType: TimeCounterType.CALENDLY.id,
72
76
  },
73
77
  {
74
78
  id: TimeSlot.BILLING,
@@ -77,6 +81,7 @@ export const TimeSlotDetail = [
77
81
  duration: 45,
78
82
  idRole: [Role.FACTURATION],
79
83
  forWholeService: false,
84
+ idTimeCounterType: TimeCounterType.CALENDLY.id,
80
85
  },
81
86
  ];
82
87
  //# sourceMappingURL=TimeSlot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TimeSlot.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,CAAN,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,mDAAc,CAAA;IACd,+DAAoB,CAAA;IACpB,yCAAS,CAAA;IACT,qCAAO,CAAA;IACP,qDAAe,CAAA;IACf,qEAAuB,CAAA;IACvB,2DAAkB,CAAA;IAClB,6CAAW,CAAA;AACb,CAAC,EATW,QAAQ,KAAR,QAAQ,QASnB;AAYD,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD;QACE,EAAE,EAAE,QAAQ,CAAC,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;KACtB;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,gBAAgB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;KACtB;IACD,IAAI;IACJ,wBAAwB;IACxB,mBAAmB;IACnB,2BAA2B;IAC3B,kBAAkB;IAClB,+BAA+B;IAC/B,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sBAAsB;IACtB,iBAAiB;IACjB,yBAAyB;IACzB,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,8BAA8B;IAC9B,iBAAiB;IACjB,iCAAiC;IACjC,kBAAkB;IAClB,4CAA4C;IAC5C,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sCAAsC;IACtC,8BAA8B;IAC9B,sCAAsC;IACtC,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL;QACE,EAAE,EAAE,QAAQ,CAAC,cAAc;QAC3B,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACxB,cAAc,EAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC7B,eAAe,EAAE,KAAK;KACvB;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,OAAO;QACpB,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,aAAa;QAC3B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACzB,eAAe,EAAE,KAAK;KACvB;CACF,CAAC","sourcesContent":["import { Role } from './Role';\n\nexport enum TimeSlot {\n ONBOARDING = 1,\n ONBOARDING_SHORT = 2,\n BILAN = 3,\n TVA = 4,\n TVA_MANAGER = 5,\n BALANCESHEET_OR_TIP = 6,\n ACCOUNTING_RDV = 7,\n BILLING = 8,\n}\n\nexport type TimeSlotDetailType = {\n id: number;\n name: string;\n internalName: string;\n duration: number;\n idRole: number[];\n forWholeService?: boolean\n idRoleExcluded?: number[];\n};\n\nexport const TimeSlotDetail:TimeSlotDetailType[] = [\n {\n id: TimeSlot.ONBOARDING,\n name: 'OnBoarding',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n },\n {\n id: TimeSlot.ONBOARDING_SHORT,\n name: 'OnBoarding court',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n },\n // {\n // id: TimeSlot.BILAN,\n // name: 'Bilan',\n // internalName: 'Bilan',\n // duration: 60,\n // idRole: [Role.ACCOUNTANT],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA,\n // name: 'Tva',\n // internalName: 'Tva',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA_MANAGER,\n // name: 'Tva',\n // internalName: 'Tva Manager',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT, Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.BALANCESHEET_OR_TIP,\n // name: 'Bilan ou Conseil',\n // internalName: 'Bilan ou Conseil',\n // duration: 30,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n {\n id: TimeSlot.ACCOUNTING_RDV,\n name: 'Rdv comptable',\n internalName: 'Rdv comptable',\n duration: 30,\n idRole:[Role.ACCOUNTANT],\n idRoleExcluded:[Role.MANAGER],\n forWholeService: false,\n },\n {\n id: TimeSlot.BILLING,\n name: 'Facturation',\n internalName: 'Facturation',\n duration: 45,\n idRole:[Role.FACTURATION],\n forWholeService: false,\n },\n];"]}
1
+ {"version":3,"file":"TimeSlot.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TimeSlot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,CAAN,IAAY,QASX;AATD,WAAY,QAAQ;IAClB,mDAAc,CAAA;IACd,+DAAoB,CAAA;IACpB,yCAAS,CAAA;IACT,qCAAO,CAAA;IACP,qDAAe,CAAA;IACf,qEAAuB,CAAA;IACvB,2DAAkB,CAAA;IAClB,6CAAW,CAAA;AACb,CAAC,EATW,QAAQ,KAAR,QAAQ,QASnB;AAaD,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD;QACE,EAAE,EAAE,QAAQ,CAAC,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;QACrB,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAAC,EAAE;KACjD;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,gBAAgB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,YAAY,EAAE,YAAY;QAC1B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC;QACzB,eAAe,EAAE,IAAI;QACrB,iBAAiB,EAAE,eAAe,CAAC,UAAU,CAAC,EAAE;KACjD;IACD,IAAI;IACJ,wBAAwB;IACxB,mBAAmB;IACnB,2BAA2B;IAC3B,kBAAkB;IAClB,+BAA+B;IAC/B,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sBAAsB;IACtB,iBAAiB;IACjB,yBAAyB;IACzB,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,8BAA8B;IAC9B,iBAAiB;IACjB,iCAAiC;IACjC,kBAAkB;IAClB,4CAA4C;IAC5C,4BAA4B;IAC5B,KAAK;IACL,IAAI;IACJ,sCAAsC;IACtC,8BAA8B;IAC9B,sCAAsC;IACtC,kBAAkB;IAClB,8BAA8B;IAC9B,mCAAmC;IACnC,4BAA4B;IAC5B,KAAK;IACL;QACE,EAAE,EAAE,QAAQ,CAAC,cAAc;QAC3B,IAAI,EAAE,eAAe;QACrB,YAAY,EAAE,eAAe;QAC7B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACxB,cAAc,EAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC7B,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE,eAAe,CAAC,QAAQ,CAAC,EAAE;KAC/C;IACD;QACE,EAAE,EAAE,QAAQ,CAAC,OAAO;QACpB,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,aAAa;QAC3B,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACzB,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE,eAAe,CAAC,QAAQ,CAAC,EAAE;KAC/C;CACF,CAAC","sourcesContent":["import { Role } from './Role';\nimport { TimeCounterType } from './TimeCounterType';\n\nexport enum TimeSlot {\n ONBOARDING = 1,\n ONBOARDING_SHORT = 2,\n BILAN = 3,\n TVA = 4,\n TVA_MANAGER = 5,\n BALANCESHEET_OR_TIP = 6,\n ACCOUNTING_RDV = 7,\n BILLING = 8,\n}\n\nexport type TimeSlotDetailType = {\n id: number;\n name: string;\n internalName: string;\n duration: number;\n idRole: number[];\n forWholeService?: boolean\n idRoleExcluded?: number[];\n idTimeCounterType: number;\n};\n\nexport const TimeSlotDetail:TimeSlotDetailType[] = [\n {\n id: TimeSlot.ONBOARDING,\n name: 'OnBoarding',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n idTimeCounterType: TimeCounterType.ONBOARDING.id,\n },\n {\n id: TimeSlot.ONBOARDING_SHORT,\n name: 'OnBoarding court',\n internalName: 'OnBoarding',\n duration: 45,\n idRole: [Role.ON_BOARDER],\n forWholeService: true,\n idTimeCounterType: TimeCounterType.ONBOARDING.id,\n },\n // {\n // id: TimeSlot.BILAN,\n // name: 'Bilan',\n // internalName: 'Bilan',\n // duration: 60,\n // idRole: [Role.ACCOUNTANT],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA,\n // name: 'Tva',\n // internalName: 'Tva',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.TVA_MANAGER,\n // name: 'Tva',\n // internalName: 'Tva Manager',\n // duration: 15,\n // idRole:[Role.ACCOUNTANT, Role.MANAGER],\n // forWholeService: false,\n // },\n // {\n // id: TimeSlot.BALANCESHEET_OR_TIP,\n // name: 'Bilan ou Conseil',\n // internalName: 'Bilan ou Conseil',\n // duration: 30,\n // idRole:[Role.ACCOUNTANT],\n // idRoleExcluded:[Role.MANAGER],\n // forWholeService: false,\n // },\n {\n id: TimeSlot.ACCOUNTING_RDV,\n name: 'Rdv comptable',\n internalName: 'Rdv comptable',\n duration: 30,\n idRole:[Role.ACCOUNTANT],\n idRoleExcluded:[Role.MANAGER],\n forWholeService: false,\n idTimeCounterType: TimeCounterType.CALENDLY.id,\n },\n {\n id: TimeSlot.BILLING,\n name: 'Facturation',\n internalName: 'Facturation',\n duration: 45,\n idRole:[Role.FACTURATION],\n forWholeService: false,\n idTimeCounterType: TimeCounterType.CALENDLY.id,\n },\n];"]}
@@ -4,4 +4,18 @@ export declare class CreateFile {
4
4
  folder: string;
5
5
  name: string;
6
6
  }
7
+ export type ResizeIfTooLargePayload = {
8
+ imageLink: string;
9
+ path: string;
10
+ resizeIfGreaterThan: {
11
+ size: number;
12
+ height: number;
13
+ width: number;
14
+ };
15
+ newFile: {
16
+ height?: number;
17
+ width?: number;
18
+ name: string;
19
+ };
20
+ };
7
21
  //# sourceMappingURL=Create.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAU;IAEnB,IAAI,EAAE,KAAK,CAAC;IAIZ,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,UAAU;IAEnB,IAAI,EAAE,KAAK,CAAC;IAIZ,MAAM,EAAE,MAAM,CAAC;IAIf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB,EAAE;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,OAAO,EAAE;QACP,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAA;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,MAAM,OAAO,UAAU;IAEnB,IAAI,CAAQ;IAIZ,MAAM,CAAS;IAIf,IAAI,CAAS;CAChB;AAVC;IAAC,WAAW,EAAE;;wCACA;AAEd;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;0CACM;AAEjB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;wCACI","sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { TFile } from './TFile';\n\nexport class CreateFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n folder: string;\n\n @ApiProperty()\n @IsString()\n name: string;\n}"]}
1
+ {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/file/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,MAAM,OAAO,UAAU;IAEnB,IAAI,CAAQ;IAIZ,MAAM,CAAS;IAIf,IAAI,CAAS;CAChB;AAVC;IAAC,WAAW,EAAE;;wCACA;AAEd;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;0CACM;AAEjB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;wCACI","sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { TFile } from './TFile';\n\nexport class CreateFile {\n @ApiProperty()\n file: TFile;\n\n @ApiProperty()\n @IsString()\n folder: string;\n\n @ApiProperty()\n @IsString()\n name: string;\n}\n\nexport type ResizeIfTooLargePayload = {\n imageLink: string;\n path: string;\n resizeIfGreaterThan: {\n size: number;\n height: number;\n width: number;\n };\n newFile: {\n height?: number;\n width?: number;\n name: string;\n }\n};"]}
@@ -1 +1 @@
1
- {"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AAwJA,eAAO,MAAM,iBAAiB,QAoHrB,CAAC"}
1
+ {"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,QAkHrB,CAAC"}
@@ -8,19 +8,6 @@ const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>
8
8
  </p>
9
9
  <% } %>
10
10
  `;
11
- const logoClementine = `<% if (commercialName === 'Clementine') { %><tr>
12
- <td
13
- colspan="3"
14
- class="logo"
15
- style=""
16
- width="950">
17
- <img
18
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png"
19
- alt="Logo"
20
- height="32"
21
- style="padding-bottom: 10px;">
22
- </td>
23
- </tr><% } %>`;
24
11
  const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
25
12
  <td
26
13
  class="avatar"
@@ -153,8 +140,6 @@ cellspacing="0"
153
140
  width="950"
154
141
  class="signatureClementine">
155
142
 
156
- ${logoClementine}
157
-
158
143
  <tr style="background: #F4F8FB">
159
144
  ${avatar}
160
145
  <td
@@ -1 +1 @@
1
- {"version":3,"file":"signature.js","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG;;;;;;;;;GASb,CAAC;AAEJ,MAAM,cAAc,GAAG;;;;;;;;;;;;aAYV,CAAC;AAEd,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;UAuBL,CAAC;AAEX,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGd,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,OAAO;;;;;;;EAOzC,cAAc;;;IAGZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGN,MAAM;;;;;;;;;SASD,CAAC","sourcesContent":["const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>\n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Nos coordonnées bancaires </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n <% }else if (commercialName === 'Pourcentage' && [5, 7].includes(idTypeBrand)) { %> \n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Attention changement de RIB </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n<% } %>\n `;\n\nconst logoClementine = `<% if (commercialName === 'Clementine') { %><tr>\n<td\ncolspan=\"3\"\nclass=\"logo\"\nstyle=\"\"\nwidth=\"950\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png\"\n alt=\"Logo\"\n height=\"32\"\n style=\"padding-bottom: 10px;\">\n</td>\n</tr><% } %>`;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <% if(commercialName === 'Clementine') { %>\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } else { %>\n <p style=\"padding: 20px;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } %>\n </td>\n <% } %>`;\n\nconst footer = `<% if(commercialName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td colspan=\"7\" style=\"padding-bottom: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <!-- <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>-->\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!--<span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>-->\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(commercialName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!-- <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/pourcentage-fr/id1631156043\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.pourcentage\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a> -->\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `${newIban}<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n${logoClementine}\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"390\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"390\">\n <tr>\n <td width=\"390\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p>\n <p style=\"margin:0px 0; padding:0 0 4px; color:#6E6E71;\">\n Standard : <%- standardPhoneSignature %><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n Nos horaires : <%= horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 11, Boulevard Victor Hugo - Nice\n <% } %>\n </p>\n\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"350\">\n <tr>\n <td width=\"230\">\n <!-- image Télécharger l'app mobile -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n alt=\"Télécharger l'application mobile\"\n style=\"width: 152px; float:right\">\n \n <p style=\"float:right; margin-right: 45px\">\n <span style=\"margin:0; padding:0 0 4px; color:#6E6E71;\">Disponible sur<br/></span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </p>\n </td>\n <td width=\"120\">\n <!-- QR Code -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n style=\"width:128px\"\n alt=\"Prenez rendez-vous ici !\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\">\n <a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl && !isDataOfficer) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png\"\n alt=\"Demande de rdv téléphonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"]}
1
+ {"version":3,"file":"signature.js","sourceRoot":"","sources":["../../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG;;;;;;;;;GASb,CAAC;AAEJ,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;UAuBL,CAAC;AAEX,MAAM,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGd,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,OAAO;;;;;;;;IAQvC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiGN,MAAM;;;;;;;;;SASD,CAAC","sourcesContent":["const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>\n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Nos coordonnées bancaires </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n <% }else if (commercialName === 'Pourcentage' && [5, 7].includes(idTypeBrand)) { %> \n <p style=\"font-size: 15px; font-family: Arial; margin:0; padding:0px 0 4px; color:#6E6E71; margin-bottom: 10px; font-weight: bold;\">\n <span style=\"color: #A0A0A0\">Attention changement de RIB </span>IBAN : <%= iban %> - BIC : <%= bic %>\n </p>\n<% } %>\n `;\n\nconst avatar = `<% if (!forceRole && user?.avatar?.token) { %>\n <td\n class=\"avatar\"\n style=\"text-align:center; padding: 20px 0 20px 20px; position: relative;\"\n width=\"100\">\n <% if(commercialName === 'Clementine') { %>\n <p style=\"padding: 20px;background-image: url('https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_quotes.png');background-size: 26%;background-position: 81% -3%;background-repeat: no-repeat;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } else { %>\n <p style=\"padding: 20px;\">\n <img\n style=\"max-height: 90px;max-width: 90px; border-radius: 100%; margin-top: 10px\"\n alt=\"Avatar\"\n src=\"<%= hostS3 %>users/<%= user.id %>/<%= user.avatar.token %>\"\n />\n </p>\n <% } %>\n </td>\n <% } %>`;\n\nconst footer = `<% if(commercialName === 'Clementine') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td colspan=\"7\" style=\"padding-bottom: 12px\">\n <span style=\"text-align: left; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: left;\">\n Une question ? Découvrez votre <a href=\"https://www.clementine.fr/aide/\" style=\"color: #FF7E3C\">centre d'aide</a>\n </span>\n <span style=\"text-align: right; text-decoration: none; color: #A0A1A6; white-space: nowrap; float: right;\">\n Jusqu’à 500€ avec notre <a href=\"https://www.clementine.fr/parrainage/?utm_source=signature&utm_medium=email&utm_campaign=signature&utm_content=cta\" style=\"color: #FF7E3C\">programme de parrainage</a>\n </span>\n </td>\n </tr>\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.clementine.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"padding:0 10px 0 0\" width=\"170\">\n <!-- <a href=\"mailto:<%= supportMail %>\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_support2.png\"\n style=\"vertical-align: text-top;\"\n width=\"17\"\n alt=\"Support technique\"> Support technique\n </a>-->\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!--<span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>-->\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.youtube.com/channel/UCVnCpcLdRwuYBLvAphHsvig/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_youtube.png\"\n alt=\"YouTube\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.linkedin.com/company/compta-cl%C3%A9mentine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_linkedin.png\"\n alt=\"LinkedIn\"\n style=\"width: 20px\"></a>\n </td>\n <td style=\"padding:0 5px 0 0\" width=\"24\">\n <a href=\"https://www.instagram.com/comptaclementine/\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_instagram.png\"\n alt=\"Instagram\"\n style=\"width: 20px\"></a>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } else if(commercialName === 'Pourcentage') { %>\n <tr>\n <td\n style=\"clear:both; padding-top: 15px; font-size:17px; line-height:14px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n <table style=\"width: 100%\" width=\"100%\">\n <tr>\n <td style=\"padding:0 10px 0 0\" width=\"120\">\n <a href=\"https://app.pourcentage.fr/\" target=\"_blank\" style=\"text-decoration: none; color: #6E6E71; white-space: nowrap;\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_connect2.png\"\n style=\"vertical-align: text-top;\"\n width=\"20\"\n alt=\"Connexion\"> Connexion\n </a>\n </td>\n <td style=\"text-align: right; vertical-align: middle; color: #6E6E71\" width=\"430\">\n <!-- <span>Télécharger l'app</span>\n <a href=\"https://apps.apple.com/fr/app/pourcentage-fr/id1631156043\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.pourcentage\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a> -->\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <% } %>\n`;\n\nexport const signatureTemplate = `${newIban}<table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n<tr style=\"background: #F4F8FB\">\n ${avatar}\n <td\n class=\"infos\"\n style=\" padding: 20px 0 20px 30px;font-size: 17px; font-family: Arial; color:#000\"\n width=\"390\"\n colspan=\"2\">\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"390\">\n <tr>\n <td width=\"390\">\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <strong><span style=\"color:<%= primaryColor %>; font-weight: bold;\"><%= user?.firstname ?? '' %> <%= user?.lastname ?? '' %></span></strong>\n </p>\n\n <% if(roleSignature) { %>\n <p style=\"font-size: 17px; margin:0px 0; padding:0\">\n <span style=\"color: #6E6E71; font-weight: bold;\"><%= roleSignature %></span>\n </p>\n <% } %>\n </td>\n </tr>\n </table>\n <p style=\"margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2\"><!-- --></p>\n <p style=\"margin:0px 0; padding:0 0 4px; color:#6E6E71;\">\n Standard : <%- standardPhoneSignature %><br/>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n Nos horaires : <%= horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 11, Boulevard Victor Hugo - Nice\n <% } %>\n </p>\n\n </td>\n \n <td class=\"infos\" style=\"padding: 20px 20px 20px 0px; font-size: 17px; font-family: Arial; color:#000; <%= !user.calendlyUrl ? 'vertical-align: top;' : '' %>\"\n width=\"370\">\n <% if(['Clementine', 'Pourcentage', 'Comptalib'].includes(commercialName)) { %>\n <table\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n width=\"350\">\n <tr>\n <td width=\"230\">\n <!-- image Télécharger l'app mobile -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_download_app<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n alt=\"Télécharger l'application mobile\"\n style=\"width: 152px; float:right\">\n \n <p style=\"float:right; margin-right: 45px\">\n <span style=\"margin:0; padding:0 0 4px; color:#6E6E71;\">Disponible sur<br/></span>\n <a href=\"https://apps.apple.com/fr/app/clementine/id1119493780\" target=\"_blank\" style=\"vertical-align: middle;\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_appstore.png\"\n alt=\"App Store\"\n style=\"width: 20px\"></a>\n <a href=\"https://play.google.com/store/apps/details?id=com.clementine.myclementine&hl=fr\" target=\"_blank\" style=\"vertical-align: middle; margin-left: 10px\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_playstore.png\"\n alt=\"Play Store\"\n style=\"width: 20px\"></a>\n </p>\n </td>\n <td width=\"120\">\n <!-- QR Code -->\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_qrcode<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %><%= commercialName === 'Comptalib' ? '_comptalib' : '' %>.png\"\n style=\"width:128px\"\n alt=\"Prenez rendez-vous ici !\">\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <p style=\"margin:0; padding:0px 0 4px; color:#6E6E71; text-align: right\">\n <a href=\"https://www.smileyourpla.net/\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\"><img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_smileYourPlanet.png\"\n alt=\"Initiative Smile your planet\" height=\"36\"></a>\n <% if(user.calendlyUrl && !isDataOfficer) { %>\n <a href=\"<%= user.calendlyUrl %>\" style=\"display: inline-block; color:#6E6E71;\" target=\"_blank\">\n <img\n src=\"https://clementine-website.s3.eu-west-3.amazonaws.com/signaturemail_rdv_tel<%= commercialName === 'Pourcentage' ? '_pourcentage' : '' %>.png\"\n alt=\"Demande de rdv téléphonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n ${footer}\n\n <tr>\n <td\n style=\"clear:both; padding-top: 20px; font-size:14px; line-height:18px; color:#ADADAD; text-align: justify; font-family: Arial;\"\n colspan=\"4\">\n Les informations contenues dans ce courrier électronique et ses pièces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'êtes pas le(s) destinataire(s) ou avez reçu ce courrier électronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'expéditeur dès que possible. Ce courrier électronique ne peut pas être divulgué, utilisé ou copié par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>`;"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "1.1.276",
3
+ "version": "1.1.277",
4
4
  "description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
5
5
  "homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
6
6
  "main": "dist/cjs/index.js",
@@ -1,4 +1,5 @@
1
1
  import { Role } from './Role';
2
+ import { TimeCounterType } from './TimeCounterType';
2
3
 
3
4
  export enum TimeSlot {
4
5
  ONBOARDING = 1,
@@ -19,6 +20,7 @@ export type TimeSlotDetailType = {
19
20
  idRole: number[];
20
21
  forWholeService?: boolean
21
22
  idRoleExcluded?: number[];
23
+ idTimeCounterType: number;
22
24
  };
23
25
 
24
26
  export const TimeSlotDetail:TimeSlotDetailType[] = [
@@ -29,6 +31,7 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
29
31
  duration: 45,
30
32
  idRole: [Role.ON_BOARDER],
31
33
  forWholeService: true,
34
+ idTimeCounterType: TimeCounterType.ONBOARDING.id,
32
35
  },
33
36
  {
34
37
  id: TimeSlot.ONBOARDING_SHORT,
@@ -37,6 +40,7 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
37
40
  duration: 45,
38
41
  idRole: [Role.ON_BOARDER],
39
42
  forWholeService: true,
43
+ idTimeCounterType: TimeCounterType.ONBOARDING.id,
40
44
  },
41
45
  // {
42
46
  // id: TimeSlot.BILAN,
@@ -80,6 +84,7 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
80
84
  idRole:[Role.ACCOUNTANT],
81
85
  idRoleExcluded:[Role.MANAGER],
82
86
  forWholeService: false,
87
+ idTimeCounterType: TimeCounterType.CALENDLY.id,
83
88
  },
84
89
  {
85
90
  id: TimeSlot.BILLING,
@@ -88,5 +93,6 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
88
93
  duration: 45,
89
94
  idRole:[Role.FACTURATION],
90
95
  forWholeService: false,
96
+ idTimeCounterType: TimeCounterType.CALENDLY.id,
91
97
  },
92
98
  ];
@@ -13,4 +13,19 @@ export class CreateFile {
13
13
  @ApiProperty()
14
14
  @IsString()
15
15
  name: string;
16
- }
16
+ }
17
+
18
+ export type ResizeIfTooLargePayload = {
19
+ imageLink: string;
20
+ path: string;
21
+ resizeIfGreaterThan: {
22
+ size: number;
23
+ height: number;
24
+ width: number;
25
+ };
26
+ newFile: {
27
+ height?: number;
28
+ width?: number;
29
+ name: string;
30
+ }
31
+ };
@@ -9,20 +9,6 @@ const newIban = `<% if (commercialName === 'Clementine' && isFacturation) { %>
9
9
  <% } %>
10
10
  `;
11
11
 
12
- const logoClementine = `<% if (commercialName === 'Clementine') { %><tr>
13
- <td
14
- colspan="3"
15
- class="logo"
16
- style=""
17
- width="950">
18
- <img
19
- src="https://clementine-website.s3.eu-west-3.amazonaws.com/logo_2022.png"
20
- alt="Logo"
21
- height="32"
22
- style="padding-bottom: 10px;">
23
- </td>
24
- </tr><% } %>`;
25
-
26
12
  const avatar = `<% if (!forceRole && user?.avatar?.token) { %>
27
13
  <td
28
14
  class="avatar"
@@ -157,8 +143,6 @@ cellspacing="0"
157
143
  width="950"
158
144
  class="signatureClementine">
159
145
 
160
- ${logoClementine}
161
-
162
146
  <tr style="background: #F4F8FB">
163
147
  ${avatar}
164
148
  <td