@silexpert/core 2.0.21 → 2.0.23-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/Exercice.d.ts +8 -2
- package/dist/api/resources/Exercice.d.ts.map +1 -1
- package/dist/api/resources/Exercice.js +12 -2
- package/dist/api/resources/Exercice.js.map +1 -1
- package/dist/types/Enum/AIPrompt.d.ts +1 -0
- package/dist/types/Enum/AIPrompt.d.ts.map +1 -1
- package/dist/types/Enum/AIPrompt.js +10 -0
- package/dist/types/Enum/AIPrompt.js.map +1 -1
- package/dist/types/Enum/BalanceSheet.d.ts +8 -1
- package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/types/Enum/BalanceSheet.js +11 -3
- package/dist/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/types/Enum/CommercialManagement.d.ts +4 -0
- package/dist/types/Enum/CommercialManagement.d.ts.map +1 -1
- package/dist/types/Enum/CommercialManagement.js +23 -0
- package/dist/types/Enum/CommercialManagement.js.map +1 -1
- package/dist/types/Enum/Ged.d.ts +4 -2
- package/dist/types/Enum/Ged.d.ts.map +1 -1
- package/dist/types/Enum/Ged.js +30 -18
- package/dist/types/Enum/Ged.js.map +1 -1
- package/dist/types/Interface/api/exercice/Create.d.ts +4 -0
- package/dist/types/Interface/api/exercice/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/exercice/Create.js +18 -0
- package/dist/types/Interface/api/exercice/Create.js.map +1 -1
- package/dist/types/Interface/models/IRefund.d.ts +4 -0
- package/dist/types/Interface/models/IRefund.d.ts.map +1 -1
- package/dist/types/Interface/models/IRefund.js +4 -0
- package/dist/types/Interface/models/IRefund.js.map +1 -1
- package/dist/utils/email/templates/signature.d.ts +1 -1
- package/dist/utils/email/templates/signature.d.ts.map +1 -1
- package/dist/utils/email/templates/signature.js +8 -4
- package/dist/utils/email/templates/signature.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Exercice.ts +16 -2
- package/ts/types/Enum/AIPrompt.ts +11 -0
- package/ts/types/Enum/BalanceSheet.ts +19 -11
- package/ts/types/Enum/CommercialManagement.ts +27 -0
- package/ts/types/Enum/Ged.ts +239 -227
- package/ts/types/Interface/api/exercice/Create.ts +15 -0
- package/ts/types/Interface/models/IRefund.ts +4 -0
- package/ts/utils/email/templates/signature.ts +8 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/exercice/Create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBAAa,cAAc;IAGzB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAMd,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAMhC,KAAK,CAAC,EAAE,OAAO,CAAC;IAMhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,YAAY,CAAC,EAAE,OAAO,CAAC;IAMvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAM9B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAKlC,SAAS,EAAE,MAAM,CAAC;IAMlB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,qBAAqB;IAIhC,QAAQ,EAAE,OAAO,CAAC;IAKlB,QAAQ,EAAE,OAAO,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,UAAU,EAAE,MAAM,CAAC;IAKnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB"}
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/exercice/Create.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBAAa,cAAc;IAGzB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAMd,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAMhC,KAAK,CAAC,EAAE,OAAO,CAAC;IAMhB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAMlB,YAAY,CAAC,EAAE,OAAO,CAAC;IAMvB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,WAAW,CAAC,EAAE,OAAO,CAAC;IAMtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAM3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAM9B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAKlC,SAAS,EAAE,MAAM,CAAC;IAMlB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,qBAAqB;IAIhC,QAAQ,EAAE,OAAO,CAAC;IAKlB,QAAQ,EAAE,OAAO,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAKf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,UAAU,EAAE,MAAM,CAAC;IAKnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAKlC,SAAS,CAAC,EAAE,OAAO,CAAC;IAOpB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -183,4 +183,22 @@ __decorate([
|
|
|
183
183
|
IsOptional(),
|
|
184
184
|
__metadata("design:type", Array)
|
|
185
185
|
], CreateProjectExercice.prototype, "files", void 0);
|
|
186
|
+
export class GenerateProjectExercice {
|
|
187
|
+
isPreview;
|
|
188
|
+
withReporting;
|
|
189
|
+
}
|
|
190
|
+
__decorate([
|
|
191
|
+
ApiPropertyOptional(),
|
|
192
|
+
IsOptional(),
|
|
193
|
+
IsBoolean(),
|
|
194
|
+
ToBoolean(),
|
|
195
|
+
__metadata("design:type", Boolean)
|
|
196
|
+
], GenerateProjectExercice.prototype, "isPreview", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
ApiPropertyOptional(),
|
|
199
|
+
IsOptional(),
|
|
200
|
+
IsBoolean(),
|
|
201
|
+
ToBoolean(),
|
|
202
|
+
__metadata("design:type", Boolean)
|
|
203
|
+
], GenerateProjectExercice.prototype, "withReporting", void 0);
|
|
186
204
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/exercice/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,OAAO,cAAc;IAGzB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAMd,MAAM,CAAW;IAKjB,QAAQ,CAAwB;IAMhC,KAAK,CAAW;IAMhB,SAAS,CAAW;IAMpB,OAAO,CAAW;IAMlB,YAAY,CAAW;IAMvB,WAAW,CAAW;IAMtB,WAAW,CAAW;IAMtB,gBAAgB,CAAW;IAM3B,mBAAmB,CAAW;IAM9B,uBAAuB,CAAW;IAKlC,SAAS,CAAS;IAMlB,SAAS,CAAW;IAMpB,WAAW,CAAW;CACvB;AAvFC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;iDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;+CAAC;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,oBAAoB,CAAC;;gDACG;AAMhC;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6CACG;AAMhB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACO;AAMpB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+CACK;AAMlB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;oDACU;AAMvB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACS;AAMtB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACS;AAMtB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACc;AAM3B;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;2DACiB;AAM9B;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACqB;AAKlC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iDACK;AAMlB;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACO;AAMpB;IAJC,mBAAmB,CAAC,EAAE,WAAW,EAAE,qDAAqD,EAAE,CAAC;IAC3F,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mDACS;AAGxB,MAAM,OAAO,qBAAqB;IAIhC,QAAQ,CAAU;IAKlB,QAAQ,CAAU;IAIlB,MAAM,CAAS;IAKf,MAAM,CAAU;IAIhB,UAAU,CAAS;IAKnB,cAAc,CAAU;IAIxB,KAAK,CAAW;CACjB;AA5BC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;uDACM;AAKlB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;uDACM;AAIlB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACK;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;yDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACa;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACG","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';\nimport { type TFile } from '../file/TFile.js';\nimport { ExercicePriorityType } from '../../../Enum/Exercice.js';\n\nexport class CreateExercice {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ExercicePriorityType)\n priority?: ExercicePriorityType;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n close?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n allAnnote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n current?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withApproval?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reviewGuide?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n summaryNote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n receiptJeDeclare?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n annualFolderEdition?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n processClossingExercice?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDefault?: boolean;\n\n @ApiPropertyOptional({ description: 'Simulate exercise creation, return null if it is ok' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBlankMode?: boolean;\n}\n\nexport class CreateProjectExercice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n withCA12: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n with2572: boolean;\n\n @ApiProperty()\n @IsString()\n mailTo: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailCc?: string;\n\n @ApiProperty()\n @IsString()\n mailObject: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n files?: TFile[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/exercice/Create.ts"],"names":[],"mappings":"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","sourcesContent":["import { IsBoolean, IsDate, IsEnum, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform.js';\nimport { type TFile } from '../file/TFile.js';\nimport { ExercicePriorityType } from '../../../Enum/Exercice.js';\n\nexport class CreateExercice {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBack?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ExercicePriorityType)\n priority?: ExercicePriorityType;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n close?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n allAnnote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n current?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withApproval?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reviewGuide?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n summaryNote?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n receiptJeDeclare?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n annualFolderEdition?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n processClossingExercice?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDefault?: boolean;\n\n @ApiPropertyOptional({ description: 'Simulate exercise creation, return null if it is ok' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isBlankMode?: boolean;\n}\n\nexport class CreateProjectExercice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n withCA12: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n with2572: boolean;\n\n @ApiProperty()\n @IsString()\n mailTo: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailCc?: string;\n\n @ApiProperty()\n @IsString()\n mailObject: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idBalanceSheet?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n files?: TFile[];\n}\n\nexport class GenerateProjectExercice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isPreview?: boolean;\n\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withReporting?: boolean;\n}\n"]}
|
|
@@ -8,14 +8,17 @@ export declare class IRefund {
|
|
|
8
8
|
refundDate: Date | null;
|
|
9
9
|
refundAt?: Date | null;
|
|
10
10
|
processed: boolean;
|
|
11
|
+
processedAsset?: boolean;
|
|
11
12
|
isAmountChecked?: boolean;
|
|
12
13
|
idRefundMotif: number;
|
|
13
14
|
idSociety: number;
|
|
14
15
|
idUserDemand: number;
|
|
15
16
|
refundBy?: number | null;
|
|
17
|
+
assetBy?: number | null;
|
|
16
18
|
idFile?: number | null;
|
|
17
19
|
idUserAgreement?: number | null;
|
|
18
20
|
dateAgreement?: Date | null;
|
|
21
|
+
assetAt?: Date | null;
|
|
19
22
|
exceptionalAgreement?: boolean | null;
|
|
20
23
|
agreement?: number | null;
|
|
21
24
|
createdAt?: Date | null;
|
|
@@ -24,6 +27,7 @@ export declare class IRefund {
|
|
|
24
27
|
file?: IFile;
|
|
25
28
|
userDemand?: IUser;
|
|
26
29
|
refundByUser?: IUser | null;
|
|
30
|
+
assetByUser?: IUser | null;
|
|
27
31
|
agreementUser?: IUser | null;
|
|
28
32
|
}
|
|
29
33
|
//# sourceMappingURL=IRefund.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,qBAAa,OAAO;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,qBAAa,OAAO;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -6,14 +6,17 @@ export class IRefund {
|
|
|
6
6
|
refundDate;
|
|
7
7
|
refundAt;
|
|
8
8
|
processed;
|
|
9
|
+
processedAsset;
|
|
9
10
|
isAmountChecked;
|
|
10
11
|
idRefundMotif;
|
|
11
12
|
idSociety;
|
|
12
13
|
idUserDemand;
|
|
13
14
|
refundBy;
|
|
15
|
+
assetBy;
|
|
14
16
|
idFile; //non obligatoire désormais, utilisé avant pour rattacher le RIB
|
|
15
17
|
idUserAgreement;
|
|
16
18
|
dateAgreement;
|
|
19
|
+
assetAt;
|
|
17
20
|
exceptionalAgreement;
|
|
18
21
|
agreement;
|
|
19
22
|
createdAt;
|
|
@@ -22,6 +25,7 @@ export class IRefund {
|
|
|
22
25
|
file;
|
|
23
26
|
userDemand;
|
|
24
27
|
refundByUser;
|
|
28
|
+
assetByUser;
|
|
25
29
|
agreementUser;
|
|
26
30
|
}
|
|
27
31
|
//# sourceMappingURL=IRefund.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRefund.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAIA,UAAU;AACV,MAAM,OAAO,OAAO;IAClB,EAAE,CAAU;IACZ,MAAM,CAAgB;IACtB,OAAO,CAAgB;IACvB,UAAU,CAAc;IACxB,QAAQ,CAAe;IACvB,SAAS,CAAU;IACnB,eAAe,CAAW;IAC1B,aAAa,CAAS;IACtB,SAAS,CAAS;IAClB,YAAY,CAAS;IACrB,QAAQ,CAAiB;IACzB,MAAM,CAAiB,CAAC,gEAAgE;IACxF,eAAe,CAAiB;IAChC,aAAa,CAAe;IAC5B,oBAAoB,CAAkB;IACtC,SAAS,CAAiB;IAC1B,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,OAAO,CAAY;IACnB,IAAI,CAAS;IACb,UAAU,CAAS;IACnB,YAAY,CAAgB;IAC5B,aAAa,CAAgB;CAC9B","sourcesContent":["import { ISociety } from './ISociety.js';\nimport { IFile } from './IFile.js';\nimport { IUser } from './IUser.js';\n\n// refunds\nexport class IRefund {\n id?: number;\n amount: number | null;\n comment: string | null;\n refundDate: Date | null;\n refundAt?: Date | null;\n processed: boolean;\n isAmountChecked?: boolean;\n idRefundMotif: number;\n idSociety: number;\n idUserDemand: number;\n refundBy?: number | null;\n idFile?: number | null; //non obligatoire désormais, utilisé avant pour rattacher le RIB\n idUserAgreement?: number | null;\n dateAgreement?: Date | null;\n exceptionalAgreement?: boolean | null;\n agreement?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n society?: ISociety;\n file?: IFile;\n userDemand?: IUser;\n refundByUser?: IUser | null;\n agreementUser?: IUser | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IRefund.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAIA,UAAU;AACV,MAAM,OAAO,OAAO;IAClB,EAAE,CAAU;IACZ,MAAM,CAAgB;IACtB,OAAO,CAAgB;IACvB,UAAU,CAAc;IACxB,QAAQ,CAAe;IACvB,SAAS,CAAU;IACnB,cAAc,CAAW;IACzB,eAAe,CAAW;IAC1B,aAAa,CAAS;IACtB,SAAS,CAAS;IAClB,YAAY,CAAS;IACrB,QAAQ,CAAiB;IACzB,OAAO,CAAiB;IACxB,MAAM,CAAiB,CAAC,gEAAgE;IACxF,eAAe,CAAiB;IAChC,aAAa,CAAe;IAC5B,OAAO,CAAe;IACtB,oBAAoB,CAAkB;IACtC,SAAS,CAAiB;IAC1B,SAAS,CAAe;IACxB,SAAS,CAAe;IACxB,OAAO,CAAY;IACnB,IAAI,CAAS;IACb,UAAU,CAAS;IACnB,YAAY,CAAgB;IAC5B,WAAW,CAAgB;IAC3B,aAAa,CAAgB;CAC9B","sourcesContent":["import { ISociety } from './ISociety.js';\nimport { IFile } from './IFile.js';\nimport { IUser } from './IUser.js';\n\n// refunds\nexport class IRefund {\n id?: number;\n amount: number | null;\n comment: string | null;\n refundDate: Date | null;\n refundAt?: Date | null;\n processed: boolean;\n processedAsset?: boolean;\n isAmountChecked?: boolean;\n idRefundMotif: number;\n idSociety: number;\n idUserDemand: number;\n refundBy?: number | null;\n assetBy?: number | null;\n idFile?: number | null; //non obligatoire désormais, utilisé avant pour rattacher le RIB\n idUserAgreement?: number | null;\n dateAgreement?: Date | null;\n assetAt?: Date | null;\n exceptionalAgreement?: boolean | null;\n agreement?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n society?: ISociety;\n file?: IFile;\n userDemand?: IUser;\n refundByUser?: IUser | null;\n assetByUser?: IUser | null;\n agreementUser?: IUser | null;\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const signatureTemplate = "<% 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\u00E9es 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 <table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n<tr style=\"background: #F4F8FB\">\n <% 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 <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 : 35, avenue Jean M\u00E9decin - 06000 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\u00E9l\u00E9charger 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\u00E9l\u00E9charger 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\u00E9l\u00E9phonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n <% 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\u00E9couvrez 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\u2019\u00E0 500\u20AC 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\u00E9l\u00E9charger 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\u00E9l\u00E9charger 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\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 \u00E9lectronique et ses pi\u00E8ces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'\u00EAtes pas le(s) destinataire(s) ou avez re\u00E7u ce courrier \u00E9lectronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'exp\u00E9diteur d\u00E8s que possible. Ce courrier \u00E9lectronique ne peut pas \u00EAtre divulgu\u00E9, utilis\u00E9 ou copi\u00E9 par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>";
|
|
1
|
+
export declare const signatureTemplate = "<% 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\u00E9es 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 <table\nborder=\"0\"\ncellpadding=\"0\"\ncellspacing=\"0\"\nwidth=\"950\"\nclass=\"signatureClementine\">\n\n<tr style=\"background: #F4F8FB\">\n <% 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 <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 <% if (standardPhoneSignature) { %>\n Standard : <%- standardPhoneSignature %><br/>\n <% } %>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n <% if (brandName !== 'Teamsystem Facture') { %>\n Nos horaires : <%- horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 35, avenue Jean M\u00E9decin - 06000 NICE\n <% } %>\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\u00E9l\u00E9charger 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\u00E9l\u00E9charger 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\u00E9l\u00E9phonique\">\n </a>\n <% } %>\n </p>\n </td>\n </tr>\n </table>\n <% } %>\n </td>\n </tr>\n \n <% 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\u00E9couvrez 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\u2019\u00E0 500\u20AC 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\u00E9l\u00E9charger 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\u00E9l\u00E9charger 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\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 \u00E9lectronique et ses pi\u00E8ces jointes sont confidentielles et couvertes par le secret professionnel. Si vous n'\u00EAtes pas le(s) destinataire(s) ou avez re\u00E7u ce courrier \u00E9lectronique par erreur, merci de bien vouloir supprimer l'email et d'en informer l'exp\u00E9diteur d\u00E8s que possible. Ce courrier \u00E9lectronique ne peut pas \u00EAtre divulgu\u00E9, utilis\u00E9 ou copi\u00E9 par quelqu'un d'autre que le(s) destinataire(s).\n </td>\n</tr>\n</table>";
|
|
2
2
|
//# sourceMappingURL=signature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../ts/utils/email/templates/signature.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,iBAAiB,42aAsHrB,CAAC"}
|
|
@@ -168,14 +168,18 @@ class="signatureClementine">
|
|
|
168
168
|
</table>
|
|
169
169
|
<p style="margin:16px 0; color:#6E6E71; border-top: 2px solid #6E6E71; width: 100px; opacity: 0.2"><!-- --></p>
|
|
170
170
|
<p style="margin:0px 0; padding:0 0 4px; color:#6E6E71;">
|
|
171
|
-
|
|
171
|
+
<% if (standardPhoneSignature) { %>
|
|
172
|
+
Standard : <%- standardPhoneSignature %><br/>
|
|
173
|
+
<% } %>
|
|
172
174
|
<% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>
|
|
173
175
|
Ligne directe : <%- phoneSignature %><br/>
|
|
174
176
|
<% } %>
|
|
175
|
-
|
|
177
|
+
<% if (brandName !== 'Teamsystem Facture') { %>
|
|
178
|
+
Nos horaires : <%- horaires %>
|
|
176
179
|
|
|
177
|
-
|
|
178
|
-
|
|
180
|
+
<% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>
|
|
181
|
+
<br/>Adresse : 35, avenue Jean Médecin - 06000 NICE
|
|
182
|
+
<% } %>
|
|
179
183
|
<% } %>
|
|
180
184
|
</p>
|
|
181
185
|
|
|
@@ -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,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 : 35, avenue Jean Médecin - 06000 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>`;\n"]}
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqGN,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 <% if (standardPhoneSignature) { %>\n Standard : <%- standardPhoneSignature %><br/>\n <% } %>\n <% if(phoneSignature && phoneSignature !== standardPhoneSignature) { %>\n Ligne directe : <%- phoneSignature %><br/>\n <% } %>\n <% if (brandName !== 'Teamsystem Facture') { %>\n Nos horaires : <%- horaires %>\n\n <% if(['Pourcentage ECE - AMEX', 'Pourcentage ECF'].includes(brandName)) { %>\n <br/>Adresse : 35, avenue Jean Médecin - 06000 NICE\n <% } %>\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>`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23-0",
|
|
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
|
"type": "module",
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
UpdateOrCreateAdjustment,
|
|
8
8
|
CreateProjectExercice,
|
|
9
9
|
QuerySocietyExercice,
|
|
10
|
+
GenerateProjectExercice,
|
|
11
|
+
IGedFile,
|
|
10
12
|
} from '../../types/index.js';
|
|
11
13
|
import { Resource } from '../Resource.js';
|
|
12
14
|
|
|
@@ -43,8 +45,8 @@ export class Exercice extends Resource {
|
|
|
43
45
|
return this.axios.$delete(`/exercices/${id}`);
|
|
44
46
|
}
|
|
45
47
|
|
|
46
|
-
generateBalanceSheetProject(idSociety: number, idExercice: number): Promise<boolean> {
|
|
47
|
-
return this.axios.$post(`/societies/${idSociety}/exercices/${idExercice}/project/generate
|
|
48
|
+
generateBalanceSheetProject(idSociety: number, idExercice: number, params?: GenerateProjectExercice): Promise<boolean> {
|
|
49
|
+
return this.axios.$post(`/societies/${idSociety}/exercices/${idExercice}/project/generate`, params);
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
sendBalanceSheetProject(idSociety: number, idExercice: number, params: CreateProjectExercice): Promise<boolean> {
|
|
@@ -71,4 +73,16 @@ export class Exercice extends Resource {
|
|
|
71
73
|
isFeasible(idExercice: number): Promise<boolean> {
|
|
72
74
|
return this.axios.$get(`exercices/${idExercice}/is-feasible`);
|
|
73
75
|
}
|
|
76
|
+
|
|
77
|
+
checkProjectAcceptation(idSociety: number): Promise<IGedFile[]> {
|
|
78
|
+
return this.axios.$get(`/societies/${idSociety}/project-acceptation`);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @description This endpoint is only to send the preview project email for CADOR balanceSheet (on clementinier), the accountant will upload the document from cador directly in the GED and the project will be send to the client with the email template in brevo
|
|
83
|
+
* For the other clients, the preview project will be send with the endpoint generateProject
|
|
84
|
+
*/
|
|
85
|
+
sendProjectAcceptationEmail(idSociety: number, idExercice: number): Promise<void> {
|
|
86
|
+
return this.axios.$post(`/societies/${idSociety}/exercices/${idExercice}/project/send-cador-preview-mail`);
|
|
87
|
+
}
|
|
74
88
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export enum AIPromptKey {
|
|
2
2
|
BANK_STATEMENT = 'bank_statement',
|
|
3
|
+
BANK_STATEMENT_WITH_SCHEMA = 'bank_statement_with_schema',
|
|
3
4
|
BANK_STATEMENT_PERIOD = 'bank_statement_period',
|
|
4
5
|
BANK_STATEMENT_FILE_NAME = 'bank_statement_file_name',
|
|
5
6
|
BANK_STATEMENT_INFOS = 'bank_statement_infos',
|
|
@@ -32,6 +33,16 @@ export const AIPrompt: Record<AIPromptKey, AIPromptInfo> = {
|
|
|
32
33
|
Assurez-vous que le JSON soit strictement conforme à ce format, sans aucun commentaire ou texte supplémentaire.
|
|
33
34
|
`,
|
|
34
35
|
},
|
|
36
|
+
[AIPromptKey.BANK_STATEMENT_WITH_SCHEMA]: {
|
|
37
|
+
userPrompt:
|
|
38
|
+
'Voici des lignes issues d’un relevé de compte bancaire (cela peut être un relevé français). Pouvez-vous extraire toutes les transactions présentes dans ce document ?',
|
|
39
|
+
systemPrompt: `
|
|
40
|
+
Analysez ce relevé de compte bancaire et extrayez toutes les transactions sous forme d'un objet JSON structuré.
|
|
41
|
+
Le relevé peut contenir des informations telles que la date de la transaction, le libellé (il faut conserver exactement le même texte que dans le relevé, sans modification, traduction ou altération), le montant débité et le montant crédité (ou alors un montant en positif pour le crédit et un montant en négatif pour le débit).
|
|
42
|
+
Garder exactement le même ordre de transaction que dans le relevé.
|
|
43
|
+
Assurez-vous que le JSON soit strictement conforme au format attendu, sans aucun commentaire ou texte supplémentaire.
|
|
44
|
+
`,
|
|
45
|
+
},
|
|
35
46
|
[AIPromptKey.BANK_STATEMENT_INFOS]: {
|
|
36
47
|
userPrompt:
|
|
37
48
|
'Voici des lignes issues d’un relevé de compte bancaire (cela peut être un relevé français). Pouvez-vous extraire les données concernant le solde précédent, la date de début et la date de fin du compte bancaire?',
|
|
@@ -35,6 +35,7 @@ export enum BalanceSheetState {
|
|
|
35
35
|
ABANDONED_FORECAST = 28,
|
|
36
36
|
ESTABLISH_REFUSED = 29,
|
|
37
37
|
STANDBY = 30,
|
|
38
|
+
PROJECT_SENT = 31,
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export const BalanceSheetDetails = [
|
|
@@ -84,6 +85,13 @@ export const BalanceSheetDetails = [
|
|
|
84
85
|
textColor: 'red--text red--lighten-3',
|
|
85
86
|
forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],
|
|
86
87
|
},
|
|
88
|
+
{
|
|
89
|
+
text: 'Projet envoyé',
|
|
90
|
+
value: BalanceSheetState.PROJECT_SENT,
|
|
91
|
+
color: 'green',
|
|
92
|
+
textColor: 'green--text',
|
|
93
|
+
forRoles: [['admin'], ['super_admin'], ['controle_interne']],
|
|
94
|
+
},
|
|
87
95
|
{
|
|
88
96
|
text: 'À superviser',
|
|
89
97
|
value: BalanceSheetState.TO_SUPERVISE,
|
|
@@ -234,14 +242,14 @@ export const BalanceSheetDetails = [
|
|
|
234
242
|
forRoles: [['front_office'], ['expert'], ['satisfaction']],
|
|
235
243
|
},
|
|
236
244
|
{
|
|
237
|
-
text:
|
|
245
|
+
text: 'Accepté SIE en l\'état',
|
|
238
246
|
value: BalanceSheetState.ACCEPTED_BY_SIE_IN_STATE,
|
|
239
247
|
color: 'green darken-3',
|
|
240
248
|
colorText: 'green--text',
|
|
241
249
|
forRoles: [['front_office'], ['expert']],
|
|
242
250
|
},
|
|
243
251
|
{
|
|
244
|
-
text:
|
|
252
|
+
text: 'Refus d\'établir',
|
|
245
253
|
value: BalanceSheetState.ESTABLISH_REFUSED,
|
|
246
254
|
color: 'orange darken-1',
|
|
247
255
|
colorText: 'orange--text text--darken-1',
|
|
@@ -272,7 +280,7 @@ export const ForecastBalanceSheetDetails = [
|
|
|
272
280
|
forRoles: [['front_office'], ['expert']],
|
|
273
281
|
},
|
|
274
282
|
{
|
|
275
|
-
text:
|
|
283
|
+
text: 'Prévisionnel d\' abandonné',
|
|
276
284
|
value: BalanceSheetState.ABANDONED_FORECAST,
|
|
277
285
|
color: 'green darken-3',
|
|
278
286
|
colorText: 'green--text',
|
|
@@ -320,7 +328,7 @@ export type BalanceSheetList = BalanceSheetField[];
|
|
|
320
328
|
|
|
321
329
|
export enum BalanceSheetLabel {
|
|
322
330
|
CAPITAL_SOUSCRIT = 'Capital souscrit - non appelé',
|
|
323
|
-
FRAIS_ETABLISSEMENT =
|
|
331
|
+
FRAIS_ETABLISSEMENT = 'Frais d\'établissement',
|
|
324
332
|
CONCESSIONS_BREVETS = 'Concessions, brevets, licences, marques, procédés, logiciels, droits et valeurs similaires',
|
|
325
333
|
FOND_COMMERCIAL = 'Fonds commercial',
|
|
326
334
|
AUTRES_IMMOBILISATIONS_INCORPORELLES = 'Autres immobilisations inc.',
|
|
@@ -331,7 +339,7 @@ export enum BalanceSheetLabel {
|
|
|
331
339
|
INSTALLATIONS_TECHNIQUES = 'Installations techniques, matériels, et outillage industriels',
|
|
332
340
|
AUTRES_IMMOBILISATIONS_CORPORELLES = 'Autres immobilisations corp.',
|
|
333
341
|
IMMOBILISATIONS_CORPORELLES_EN_COURS = 'Immobilisations corporelles en cours',
|
|
334
|
-
TITRES_IMMOBILISES_DE_LACTIVITE =
|
|
342
|
+
TITRES_IMMOBILISES_DE_LACTIVITE = 'Titres immobilisés de l\'activité de portefeuille',
|
|
335
343
|
AVANCES_ET_ACOMPTES_CORPORELLES = 'Avances et acomptes',
|
|
336
344
|
CREANCES_RATTACHEES_PARTICIPATIONS = 'Créances rattachées à des participations',
|
|
337
345
|
AUTRES_TITRES_IMMOBILISES = 'Autres titres immobilisés',
|
|
@@ -350,7 +358,7 @@ export enum BalanceSheetLabel {
|
|
|
350
358
|
VALEUR_MOBILIERE_PLACEMENT_ACTION_PROPRE = 'Actions propres',
|
|
351
359
|
VALEUR_MOBILIERE_PLACEMENT = 'Valeurs mobilières de placement',
|
|
352
360
|
DISPONIBILITES = 'Disponibilités',
|
|
353
|
-
CHARGES_CONSTATEES_AVANCE =
|
|
361
|
+
CHARGES_CONSTATEES_AVANCE = 'Charges constatées d\'avance',
|
|
354
362
|
TOTAL_2 = 'Total (II)',
|
|
355
363
|
PRIMES_DE_REMBOURSEMENT_DES_EMPRUNTS = 'Primes de remboursement des emprunts (IV)',
|
|
356
364
|
ECARTS_DE_CONVERSIONS = 'Ecarts de conversion Actif (V)',
|
|
@@ -724,15 +732,15 @@ export const BALANCE_SHEET_LIST_ACTIVE: BalanceSheetList = [
|
|
|
724
732
|
export enum BalanceSheetPassiveLabel {
|
|
725
733
|
CAPITAL = 'Capital (dont versé...)',
|
|
726
734
|
RESERVE_LEGALE = 'Réserve légale',
|
|
727
|
-
PRIMES_EMISSION =
|
|
735
|
+
PRIMES_EMISSION = 'Primes d\'émission, de fusion, d\'apport',
|
|
728
736
|
ECART_DE_REEVALUATION = 'Ecart de réévaluation',
|
|
729
|
-
ECART_EQUIVALENCE =
|
|
737
|
+
ECART_EQUIVALENCE = 'Ecart d\'équivalence',
|
|
730
738
|
RESERVES_STATUAIRES = 'Réserves statutaires ou contractuelles',
|
|
731
739
|
RESERVES_REGLEMENTEES = 'Réserves réglementées',
|
|
732
740
|
AUTRES_RESERVES = 'Autres',
|
|
733
741
|
REPORT_A_NOUVEAU = 'Report à nouveau',
|
|
734
|
-
RESULTAT_DE_L_EXERCICE =
|
|
735
|
-
SUBVENTIONS_INVESTISSEMENT =
|
|
742
|
+
RESULTAT_DE_L_EXERCICE = 'Résultat de l\'exercice (bénéfice ou perte)',
|
|
743
|
+
SUBVENTIONS_INVESTISSEMENT = 'Subventions d\'investissement',
|
|
736
744
|
PROVISIONS_REFLEMENTEES = 'Provisions réglementées',
|
|
737
745
|
PROVISIONS_POUR_RISQUES = 'Provisions pour risques',
|
|
738
746
|
PROVISIONS_POUR_CHARGES = 'Provisions pour charges',
|
|
@@ -745,7 +753,7 @@ export enum BalanceSheetPassiveLabel {
|
|
|
745
753
|
DETTES_FISCALES_ET_SOCIALES = 'Dettes fiscales et sociales',
|
|
746
754
|
DETTES_SUR_IMMOBILISATIONS_ET_COMPTES_RATTACHES = 'Dettes sur immobilisations et Comptes rattachés',
|
|
747
755
|
AUTRES_DETTES = 'Autres dettes',
|
|
748
|
-
PRODUITS_CONSTATES_D_AVANCE =
|
|
756
|
+
PRODUITS_CONSTATES_D_AVANCE = 'Produits constatés d\'avance',
|
|
749
757
|
ECART_PASSIF = 'Ecarts de conversion passif (IV)',
|
|
750
758
|
TOTAL_GENERAL = 'Total général (I+II+III+IV)',
|
|
751
759
|
CONCOURS = '(1) Dont concours bancaires courants et soldes créditeurs de banques',
|
|
@@ -226,3 +226,30 @@ export const DefaultEmailTemplateList: Array<Omit<ISaleEmail, 'idSociety'>> = [
|
|
|
226
226
|
isDefault: false,
|
|
227
227
|
},
|
|
228
228
|
];
|
|
229
|
+
|
|
230
|
+
export const CommercialDiscountsList: string[] = ['Non applicable', 'Aucun escompte en cas de paiement anticipé'];
|
|
231
|
+
|
|
232
|
+
export const CommercialPenaltiesList: string[] = [
|
|
233
|
+
'Non applicable',
|
|
234
|
+
'3 fois le taux légal',
|
|
235
|
+
'Taux directeur de la BCE + 10 points',
|
|
236
|
+
];
|
|
237
|
+
|
|
238
|
+
export const CommercialVatMentionList: string[] = [
|
|
239
|
+
'TVA: Non concerné',
|
|
240
|
+
'TVA: Non applicable',
|
|
241
|
+
'TVA non applicable, art. 293 B du CGI',
|
|
242
|
+
'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',
|
|
243
|
+
"Non soumis à TVA selon l'article 261C du CGI",
|
|
244
|
+
'Article 261 D du code général des impôts (CGI)',
|
|
245
|
+
'Exonération de TVA, article 283-2 du Code général des impôts',
|
|
246
|
+
'Exonération de la TVA : Article 262 ter I du CGI',
|
|
247
|
+
'Mention de TVA 261.4.4 1 du CGI',
|
|
248
|
+
"Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
249
|
+
"Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
250
|
+
"Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
251
|
+
'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',
|
|
252
|
+
'Facture soumise au régime de l’auto-liquidation de la TVA',
|
|
253
|
+
];
|
|
254
|
+
|
|
255
|
+
export const CommercialRecoveryCostList = ['Non applicable', '40€'];
|