@silexpert/core 1.3.23 → 1.3.25
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/cjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/cjs/api/resources/AccountingFiles.js +13 -12
- package/dist/cjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/cjs/api/resources/BankAccount.d.ts +1 -0
- package/dist/cjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankAccount.js +8 -0
- package/dist/cjs/api/resources/BankAccount.js.map +1 -1
- package/dist/cjs/api/resources/CommercialSetting.d.ts +1 -3
- package/dist/cjs/api/resources/CommercialSetting.d.ts.map +1 -1
- package/dist/cjs/api/resources/CommercialSetting.js +0 -6
- package/dist/cjs/api/resources/CommercialSetting.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +2 -0
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +6 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/Reminder.d.ts +3 -15
- package/dist/cjs/api/resources/Reminder.d.ts.map +1 -1
- package/dist/cjs/api/resources/Reminder.js +0 -18
- package/dist/cjs/api/resources/Reminder.js.map +1 -1
- package/dist/cjs/types/Enum/AIPrompt.d.ts.map +1 -1
- package/dist/cjs/types/Enum/AIPrompt.js +2 -13
- package/dist/cjs/types/Enum/AIPrompt.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +2 -17
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +10 -81
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts +1 -14
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js +10 -85
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/society/QuerySociety.js +2 -1
- package/dist/cjs/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAIQuestion.d.ts +2 -2
- package/dist/cjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAIQuestion.js.map +1 -1
- package/dist/cjs/types/Interface/models/IEstimateInvoice.d.ts +0 -3
- package/dist/cjs/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/dist/cjs/types/Interface/models/IInvoiceReminderAttachment.d.ts +3 -3
- package/dist/cjs/types/Interface/models/IInvoiceReminderAttachment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IInvoiceReminderAttachment.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.d.ts +2 -3
- package/dist/cjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -3
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -3
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.d.ts.map +1 -1
- package/dist/mjs/api/resources/AccountingFiles.js +13 -10
- package/dist/mjs/api/resources/AccountingFiles.js.map +1 -1
- package/dist/mjs/api/resources/BankAccount.d.ts +1 -0
- package/dist/mjs/api/resources/BankAccount.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankAccount.js +8 -0
- package/dist/mjs/api/resources/BankAccount.js.map +1 -1
- package/dist/mjs/api/resources/CommercialSetting.d.ts +1 -3
- package/dist/mjs/api/resources/CommercialSetting.d.ts.map +1 -1
- package/dist/mjs/api/resources/CommercialSetting.js +0 -6
- package/dist/mjs/api/resources/CommercialSetting.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -0
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +6 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/Reminder.d.ts +3 -15
- package/dist/mjs/api/resources/Reminder.d.ts.map +1 -1
- package/dist/mjs/api/resources/Reminder.js +0 -18
- package/dist/mjs/api/resources/Reminder.js.map +1 -1
- package/dist/mjs/types/Enum/AIPrompt.d.ts.map +1 -1
- package/dist/mjs/types/Enum/AIPrompt.js +2 -13
- package/dist/mjs/types/Enum/AIPrompt.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +2 -17
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +9 -89
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts +1 -14
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js +8 -93
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/QuerySociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/society/QuerySociety.js +2 -1
- package/dist/mjs/types/Interface/api/society/QuerySociety.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAIQuestion.d.ts +2 -2
- package/dist/mjs/types/Interface/models/IAIQuestion.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAIQuestion.js.map +1 -1
- package/dist/mjs/types/Interface/models/IEstimateInvoice.d.ts +0 -3
- package/dist/mjs/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/dist/mjs/types/Interface/models/IInvoiceReminderAttachment.d.ts +3 -3
- package/dist/mjs/types/Interface/models/IInvoiceReminderAttachment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IInvoiceReminderAttachment.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.d.ts +2 -3
- package/dist/mjs/types/Interface/models/ISociety.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISociety.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -3
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -3
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/AccountingFiles.ts +14 -10
- package/ts/api/resources/BankAccount.ts +9 -0
- package/ts/api/resources/CommercialSetting.ts +1 -9
- package/ts/api/resources/Payment.ts +8 -0
- package/ts/api/resources/Reminder.ts +2 -26
- package/ts/types/Enum/AIPrompt.ts +2 -13
- package/ts/types/Enum/BalanceSheet.ts +1 -1
- package/ts/types/Interface/api/commercialManagement/Create.ts +2 -61
- package/ts/types/Interface/api/commercialManagement/Update.ts +1 -64
- package/ts/types/Interface/api/society/QuerySociety.ts +2 -1
- package/ts/types/Interface/models/IAIQuestion.ts +2 -2
- package/ts/types/Interface/models/IEstimateInvoice.ts +0 -3
- package/ts/types/Interface/models/IInvoiceReminderAttachment.ts +3 -3
- package/ts/types/Interface/models/ISociety.ts +2 -2
- package/ts/types/index.ts +0 -3
- package/dist/cjs/types/Interface/models/IInvoiceReminder.d.ts +0 -27
- package/dist/cjs/types/Interface/models/IInvoiceReminder.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IInvoiceReminder.js +0 -3
- package/dist/cjs/types/Interface/models/IInvoiceReminder.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyCgv.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISocietyCgv.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyCgv.js +0 -3
- package/dist/cjs/types/Interface/models/ISocietyCgv.js.map +0 -1
- package/dist/mjs/types/Interface/models/IInvoiceReminder.d.ts +0 -27
- package/dist/mjs/types/Interface/models/IInvoiceReminder.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IInvoiceReminder.js +0 -2
- package/dist/mjs/types/Interface/models/IInvoiceReminder.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyCgv.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISocietyCgv.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyCgv.js +0 -2
- package/dist/mjs/types/Interface/models/ISocietyCgv.js.map +0 -1
- package/ts/types/Interface/models/IInvoiceReminder.ts +0 -30
- package/ts/types/Interface/models/ISocietyCgv.ts +0 -8
|
@@ -26,12 +26,16 @@ export class AccountingFiles extends Resource {
|
|
|
26
26
|
sendAccountingFiles.append('withSocketReturn', params.withSocketReturn.toString());
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
// params.files.forEach((file) => {
|
|
30
|
+
// const encodedFile = new File([file], encodeURIComponent(file.name), {
|
|
31
|
+
// type: file.type,
|
|
32
|
+
// lastModified: file.lastModified ?? new Date().getUTCDate(),
|
|
33
|
+
// });
|
|
34
|
+
// sendAccountingFiles.append('files', encodedFile);
|
|
35
|
+
// });
|
|
36
|
+
|
|
29
37
|
params.files.forEach((file) => {
|
|
30
|
-
|
|
31
|
-
type: file.type,
|
|
32
|
-
lastModified: file.lastModified ?? new Date().getUTCDate(),
|
|
33
|
-
});
|
|
34
|
-
sendAccountingFiles.append('files', encodedFile);
|
|
38
|
+
sendAccountingFiles.append('files', file);
|
|
35
39
|
});
|
|
36
40
|
|
|
37
41
|
return this.axios.$post('/society/accountingFiles', sendAccountingFiles, {
|
|
@@ -49,11 +53,11 @@ export class AccountingFiles extends Resource {
|
|
|
49
53
|
if (value || value === false || value === 0) {
|
|
50
54
|
if (key === 'files') {
|
|
51
55
|
value.forEach((file: File) => {
|
|
52
|
-
const encodedFile = new File([file], encodeURIComponent(file.name), {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
});
|
|
56
|
-
formData.append('files',
|
|
56
|
+
// const encodedFile = new File([file], encodeURIComponent(file.name), {
|
|
57
|
+
// type: file.type,
|
|
58
|
+
// lastModified: file.lastModified ?? new Date().getUTCDate(),
|
|
59
|
+
// });
|
|
60
|
+
formData.append('files', file);
|
|
57
61
|
});
|
|
58
62
|
} else formData.append(key, `${value}`);
|
|
59
63
|
}
|
|
@@ -57,4 +57,13 @@ export class BankAccount extends Resource {
|
|
|
57
57
|
merge(idSociety: number, idBankAccountDest: number, payload: UpdateBankAccountMerge): Promise<true> {
|
|
58
58
|
return this.axios.$put(`societies/${idSociety}/bank-accounts/${idBankAccountDest}/merge`, payload);
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
getCloserPdf(idSociety: number, idExercice: number): Promise<Buffer> {
|
|
62
|
+
return this.axios.$get(`societies/${idSociety}/exercices/${idExercice}/closer`, {
|
|
63
|
+
responseType: 'arraybuffer',
|
|
64
|
+
headers: {
|
|
65
|
+
Accept: 'application/pdf',
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
60
69
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateCommercialSetting, ISocietyGescom } from '../../types';
|
|
2
2
|
import { Resource } from '../Resource';
|
|
3
3
|
|
|
4
4
|
export class CommercialSetting extends Resource {
|
|
@@ -13,12 +13,4 @@ export class CommercialSetting extends Resource {
|
|
|
13
13
|
updateOrCreate(payload: CreateCommercialSetting): Promise<ISocietyGescom | null> {
|
|
14
14
|
return this.axios.$post('/commercial-management/settings', payload);
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
getCgv(): Promise<string | null> {
|
|
18
|
-
return this.axios.$get('/commercial-management/settings/cgv');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
updateOrCreateCgv(payload: CreateCgv): Promise<ISocietyCgv> {
|
|
22
|
-
return this.axios.$post('/commercial-management/settings/cgv', payload);
|
|
23
|
-
}
|
|
24
16
|
}
|
|
@@ -147,4 +147,12 @@ export class Payment extends Resource {
|
|
|
147
147
|
): Promise<IPayment[]> {
|
|
148
148
|
return this.axios.$get('/payments', { params: query, signal });
|
|
149
149
|
}
|
|
150
|
+
|
|
151
|
+
delete(id: number): Promise<true> {
|
|
152
|
+
return this.axios.$delete(`/payments/${id}`);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
forceDelete(id: number): Promise<true> {
|
|
156
|
+
return this.axios.$delete(`/payments/force/${id}`);
|
|
157
|
+
}
|
|
150
158
|
}
|
|
@@ -1,44 +1,20 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
import {
|
|
3
3
|
CreateReminder,
|
|
4
|
-
CreateReminder2,
|
|
5
4
|
CreateReminderAttachment,
|
|
6
5
|
CreateScheduleReminder,
|
|
7
|
-
IInvoiceReminder,
|
|
8
6
|
IReminder,
|
|
9
7
|
IReminderAttachment,
|
|
10
8
|
IScheduledReminder,
|
|
11
9
|
UpdateReminder,
|
|
12
|
-
UpdateReminder2,
|
|
13
10
|
} from '../../types';
|
|
14
11
|
|
|
15
12
|
export class Reminder extends Resource {
|
|
16
|
-
|
|
17
|
-
* @deprecated
|
|
18
|
-
*/
|
|
19
|
-
create(idEstimateInvoice: number, payload: CreateReminder): Promise<IInvoiceReminder> {
|
|
20
|
-
return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}/reminders`, payload);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated
|
|
25
|
-
*/
|
|
26
|
-
update(id: number, idEstimateInvoice: number, payload: UpdateReminder): Promise<IInvoiceReminder> {
|
|
27
|
-
return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated
|
|
32
|
-
*/
|
|
33
|
-
delete(id: number, idEstimateInvoice: number): Promise<true> {
|
|
34
|
-
return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
createReminder(payload: CreateReminder2): Promise<IReminder> {
|
|
13
|
+
createReminder(payload: CreateReminder): Promise<IReminder> {
|
|
38
14
|
return this.axios.$post('/commercial-management/reminders', payload);
|
|
39
15
|
}
|
|
40
16
|
|
|
41
|
-
updateReminder(id: number, payload:
|
|
17
|
+
updateReminder(id: number, payload: UpdateReminder): Promise<IReminder> {
|
|
42
18
|
return this.axios.$put(`/commercial-management/reminders/${id}`, payload);
|
|
43
19
|
}
|
|
44
20
|
|
|
@@ -37,19 +37,8 @@ export const AIPrompt: Record<AIPromptKey, AIPromptInfo> = {
|
|
|
37
37
|
dans un français irréprochable et un style concis.
|
|
38
38
|
Si le contexte ne contient pas les informations pertinentes pour répondre à la question, veuillez l'indiquer clairement plutôt que d'inventer des informations.
|
|
39
39
|
Si la question est en dehors de votre domaine d'expertise, indiquez-le clairement et indiquez que la catégorie et sous-catégorie sont "hors sujet".
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- 'sub_category': la sous-catégorie spécifique de la question
|
|
43
|
-
- 'response': votre réponse détaillée à la question selon les critères mentionnés ci-dessus en texte brut pas de html, markdown ou autre pas de retour à la ligne
|
|
44
|
-
- 'references': les références utilisées si demandée uniquement des liens url ';' comme séparateur
|
|
45
|
-
Ce texte doit être au format JSON brut, sans balises HTML, sans code, sans markdown et sans commentaires.
|
|
46
|
-
Par exemple:
|
|
47
|
-
{
|
|
48
|
-
"category": "comptabilité",
|
|
49
|
-
"sub_category": "société",
|
|
50
|
-
"response": "La société doit respecter les obligations comptables en matière de tenue de livres et de conservation des documents.",
|
|
51
|
-
"references": "https://www.legifrance.gouv.fr;https://www.service-public.fr"
|
|
52
|
-
}
|
|
40
|
+
Utilisez toujours la recherche web pour trouver des informations pertinentes et à jour.
|
|
41
|
+
Citez vos sources de manière précise et professionnelle, en fournissant uniquement des liens URL séparés par des points-virgules.
|
|
53
42
|
`,
|
|
54
43
|
},
|
|
55
44
|
} as const;
|
|
@@ -774,7 +774,7 @@ export const BALANCE_SHEET_LIST_PASSIVE: BalanceSheetList = [
|
|
|
774
774
|
{
|
|
775
775
|
name: 'Emprunts et dettes auprès établissements de crédits (1)',
|
|
776
776
|
key: 'loansCredits',
|
|
777
|
-
accounts: ['164', '512', '514', '517', '5186', '519', '53', '58'], // Ben.P. 10/12/24 suppression 16884 car déjà pris en dessous
|
|
777
|
+
accounts: ['164', '511', '512', '514', '517', '5186', '519', '53', '58'], // Ben.P. 10/12/24 suppression 16884 car déjà pris en dessous
|
|
778
778
|
isSubcategory: true,
|
|
779
779
|
total: 0,
|
|
780
780
|
type: 'passive',
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsArray,
|
|
3
3
|
IsBoolean,
|
|
4
|
-
IsDate,
|
|
5
4
|
IsDateString,
|
|
6
5
|
IsEnum,
|
|
7
6
|
IsIn,
|
|
@@ -541,68 +540,10 @@ export class CreateInvoiceDocument extends CommercialDocumentInputs {
|
|
|
541
540
|
assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes
|
|
542
541
|
advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes
|
|
543
542
|
language?: InvoiceLanguage;
|
|
544
|
-
reminder?:
|
|
543
|
+
reminder?: CreateReminder | null;
|
|
545
544
|
recurrence?: CreateRecurrence | null;
|
|
546
545
|
}
|
|
547
546
|
|
|
548
|
-
export class CreateCgv {
|
|
549
|
-
@ApiProperty()
|
|
550
|
-
cgv: string | null;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export class CreateReminder {
|
|
554
|
-
@ApiProperty()
|
|
555
|
-
@IsBoolean()
|
|
556
|
-
@ToBoolean()
|
|
557
|
-
beforeThree: boolean;
|
|
558
|
-
|
|
559
|
-
@ApiProperty()
|
|
560
|
-
@IsBoolean()
|
|
561
|
-
@ToBoolean()
|
|
562
|
-
dueDate: boolean;
|
|
563
|
-
|
|
564
|
-
@ApiProperty()
|
|
565
|
-
@IsBoolean()
|
|
566
|
-
@ToBoolean()
|
|
567
|
-
afterThree: boolean;
|
|
568
|
-
|
|
569
|
-
@ApiProperty()
|
|
570
|
-
@IsBoolean()
|
|
571
|
-
@ToBoolean()
|
|
572
|
-
afterSeven: boolean;
|
|
573
|
-
|
|
574
|
-
@ApiPropertyOptional()
|
|
575
|
-
@IsBoolean()
|
|
576
|
-
@ToBoolean()
|
|
577
|
-
@IsOptional()
|
|
578
|
-
withSignature?: boolean;
|
|
579
|
-
|
|
580
|
-
@ApiProperty()
|
|
581
|
-
@IsString()
|
|
582
|
-
email: string;
|
|
583
|
-
|
|
584
|
-
@ApiPropertyOptional()
|
|
585
|
-
@IsString()
|
|
586
|
-
@IsOptional()
|
|
587
|
-
subject?: string;
|
|
588
|
-
|
|
589
|
-
@ApiPropertyOptional()
|
|
590
|
-
@IsString()
|
|
591
|
-
@IsOptional()
|
|
592
|
-
message?: string;
|
|
593
|
-
|
|
594
|
-
@ApiPropertyOptional()
|
|
595
|
-
@IsDate()
|
|
596
|
-
@IsOptional()
|
|
597
|
-
customizedDate?: Date;
|
|
598
|
-
|
|
599
|
-
@ApiPropertyOptional()
|
|
600
|
-
@IsOptional()
|
|
601
|
-
@IsArray()
|
|
602
|
-
@IsInt({ each: true })
|
|
603
|
-
idFiles?: number[];
|
|
604
|
-
}
|
|
605
|
-
|
|
606
547
|
export class CreateRecurrence {
|
|
607
548
|
@ApiProperty()
|
|
608
549
|
@IsEnum(RecurrenceType)
|
|
@@ -800,7 +741,7 @@ export class UpdateSaleDocumentTemplate {
|
|
|
800
741
|
isDefault?: boolean;
|
|
801
742
|
}
|
|
802
743
|
|
|
803
|
-
export class
|
|
744
|
+
export class CreateReminder {
|
|
804
745
|
@ApiPropertyOptional()
|
|
805
746
|
@IsString()
|
|
806
747
|
@Length(0, 255)
|
|
@@ -49,69 +49,6 @@ export class UpdateCommercialDocument {
|
|
|
49
49
|
mailSent?: Date | null;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export class UpdateReminder {
|
|
53
|
-
@ApiPropertyOptional()
|
|
54
|
-
@IsBoolean()
|
|
55
|
-
@ToBoolean()
|
|
56
|
-
@IsOptional()
|
|
57
|
-
beforeThree: boolean;
|
|
58
|
-
|
|
59
|
-
@ApiPropertyOptional()
|
|
60
|
-
@IsBoolean()
|
|
61
|
-
@ToBoolean()
|
|
62
|
-
@IsOptional()
|
|
63
|
-
dueDate: boolean;
|
|
64
|
-
|
|
65
|
-
@ApiPropertyOptional()
|
|
66
|
-
@IsBoolean()
|
|
67
|
-
@ToBoolean()
|
|
68
|
-
@IsOptional()
|
|
69
|
-
afterThree: boolean;
|
|
70
|
-
|
|
71
|
-
@ApiPropertyOptional()
|
|
72
|
-
@IsBoolean()
|
|
73
|
-
@ToBoolean()
|
|
74
|
-
@IsOptional()
|
|
75
|
-
afterSeven: boolean;
|
|
76
|
-
|
|
77
|
-
@ApiPropertyOptional()
|
|
78
|
-
@IsBoolean()
|
|
79
|
-
@ToBoolean()
|
|
80
|
-
@IsOptional()
|
|
81
|
-
withSignature?: boolean;
|
|
82
|
-
|
|
83
|
-
@ApiPropertyOptional()
|
|
84
|
-
@IsString()
|
|
85
|
-
@IsOptional()
|
|
86
|
-
subject?: string;
|
|
87
|
-
|
|
88
|
-
@ApiPropertyOptional()
|
|
89
|
-
@IsString()
|
|
90
|
-
@IsOptional()
|
|
91
|
-
message?: string;
|
|
92
|
-
|
|
93
|
-
@ApiPropertyOptional()
|
|
94
|
-
@IsString()
|
|
95
|
-
@IsOptional()
|
|
96
|
-
email?: string;
|
|
97
|
-
|
|
98
|
-
@ApiPropertyOptional()
|
|
99
|
-
@IsDate()
|
|
100
|
-
@IsOptional()
|
|
101
|
-
customizedDate?: Date;
|
|
102
|
-
|
|
103
|
-
@ApiPropertyOptional()
|
|
104
|
-
@IsNumber()
|
|
105
|
-
@IsOptional()
|
|
106
|
-
customizedDayDiff?: number;
|
|
107
|
-
|
|
108
|
-
@ApiPropertyOptional()
|
|
109
|
-
@IsOptional()
|
|
110
|
-
@IsArray()
|
|
111
|
-
@IsInt({ each: true })
|
|
112
|
-
idFiles?: number[];
|
|
113
|
-
}
|
|
114
|
-
|
|
115
52
|
export class UpdateRecurrence {
|
|
116
53
|
@ApiPropertyOptional()
|
|
117
54
|
@IsEnum(RecurrenceType)
|
|
@@ -145,7 +82,7 @@ export class UpdateRecurrence {
|
|
|
145
82
|
idSaleEmail?: number;
|
|
146
83
|
}
|
|
147
84
|
|
|
148
|
-
export class
|
|
85
|
+
export class UpdateReminder {
|
|
149
86
|
@ApiProperty()
|
|
150
87
|
@IsString()
|
|
151
88
|
@IsOptional()
|
|
@@ -5,8 +5,8 @@ export interface IAIQuestion {
|
|
|
5
5
|
question: string;
|
|
6
6
|
answer: string;
|
|
7
7
|
references?: string | null;
|
|
8
|
-
category
|
|
9
|
-
subCategory
|
|
8
|
+
category: string;
|
|
9
|
+
subCategory: string;
|
|
10
10
|
totalTokens: number;
|
|
11
11
|
idUser: number;
|
|
12
12
|
createdAt?: Date | string;
|
|
@@ -4,7 +4,6 @@ import { IThirdParty } from './IThirdParty';
|
|
|
4
4
|
import { IFrequency } from './IFrequency';
|
|
5
5
|
import { IEstimateInvoiceType } from './IEstimateInvoiceType';
|
|
6
6
|
import { ISociety } from './ISociety';
|
|
7
|
-
import { IInvoiceReminder } from './IInvoiceReminder';
|
|
8
7
|
import { IFile } from './IFile';
|
|
9
8
|
import { IInvoiceRecurrence } from './IInvoiceRecurrence';
|
|
10
9
|
import { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';
|
|
@@ -68,8 +67,6 @@ export interface IEstimateInvoice {
|
|
|
68
67
|
assetRelatedToThisEstimateInvoice?: IEstimateInvoice;
|
|
69
68
|
estimateInvoiceForThisAsset?: IEstimateInvoice;
|
|
70
69
|
estimateInvoiceForThisRepeat?: IEstimateInvoice;
|
|
71
|
-
/** @deprecated use reminder2 */
|
|
72
|
-
reminder?: IInvoiceReminder;
|
|
73
70
|
reminder2?: IReminder | null;
|
|
74
71
|
relatedInvoice?: IEstimateInvoice;
|
|
75
72
|
recurrence?: IInvoiceRecurrence;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IFile } from './IFile';
|
|
2
|
-
import {
|
|
2
|
+
import { IReminder } from './IReminder';
|
|
3
3
|
|
|
4
|
-
export interface
|
|
4
|
+
export interface IReminderAttachment {
|
|
5
5
|
id?: number;
|
|
6
6
|
idFile: number;
|
|
7
7
|
idReminder: number;
|
|
@@ -10,5 +10,5 @@ export interface IInvoiceReminderAttachment {
|
|
|
10
10
|
|
|
11
11
|
// associations
|
|
12
12
|
file: IFile;
|
|
13
|
-
|
|
13
|
+
reminder: IReminder;
|
|
14
14
|
}
|
|
@@ -16,7 +16,6 @@ import { IComptaType } from './IComptaType';
|
|
|
16
16
|
import { ISubscriptionType } from './ISubscriptionType';
|
|
17
17
|
import { ISocietyConfig } from './ISocietyConfig';
|
|
18
18
|
import { ISocietyGescom } from './ISocietyGescom';
|
|
19
|
-
import { ISocietyCgv } from './ISocietyCgv';
|
|
20
19
|
import { IFormalism } from './IFormalism';
|
|
21
20
|
import { ISocietyNote } from './ISocietyNote';
|
|
22
21
|
import { ITaxSystem } from './ITaxSystem';
|
|
@@ -66,6 +65,7 @@ import {
|
|
|
66
65
|
IThirdPartySociety,
|
|
67
66
|
ICalendarEvent,
|
|
68
67
|
IRegulation,
|
|
68
|
+
IGeneralConditionOfSale,
|
|
69
69
|
} from '../..';
|
|
70
70
|
import { IBrandType } from './IBrandType';
|
|
71
71
|
import { IFile } from './IFile';
|
|
@@ -205,7 +205,7 @@ export interface ISociety {
|
|
|
205
205
|
typeSubscription?: ISubscriptionType;
|
|
206
206
|
config?: ISocietyConfig;
|
|
207
207
|
gescom?: ISocietyGescom;
|
|
208
|
-
|
|
208
|
+
generalConditionsOfSales?: IGeneralConditionOfSale[];
|
|
209
209
|
formalism?: IFormalism;
|
|
210
210
|
notes?: ISocietyNote;
|
|
211
211
|
taxSystem?: ITaxSystem;
|
package/ts/types/index.ts
CHANGED
|
@@ -165,7 +165,6 @@ export * from './Interface/models/ISociety';
|
|
|
165
165
|
export * from './Interface/models/ISocietyApproval';
|
|
166
166
|
export * from './Interface/models/ISocietyBank';
|
|
167
167
|
export * from './Interface/models/ISocietyBudgetConnection';
|
|
168
|
-
export * from './Interface/models/ISocietyCgv';
|
|
169
168
|
export * from './Interface/models/ISocietyConfig';
|
|
170
169
|
export * from './Interface/models/ISocietyConfigBalanceSheet';
|
|
171
170
|
export * from './Interface/models/ISocietyDetail';
|
|
@@ -175,7 +174,6 @@ export * from './Interface/models/ISocietyJuridical';
|
|
|
175
174
|
export * from './Interface/models/ISocietyNote';
|
|
176
175
|
export * from './Interface/models/ISocietyPartner';
|
|
177
176
|
export * from './Interface/models/ISocietyProceding';
|
|
178
|
-
export * from './Interface/models/IInvoiceReminder';
|
|
179
177
|
export * from './Interface/models/ISocietySocial';
|
|
180
178
|
export * from './Interface/models/ISocietySoftware';
|
|
181
179
|
export * from './Interface/models/ISocietyStat';
|
|
@@ -322,7 +320,6 @@ export * from './Interface/models/IUserHumanResourceLibrary';
|
|
|
322
320
|
export * from './Interface/models/ISaleEmail';
|
|
323
321
|
export * from './Interface/models/IGeneralConditionOfSale';
|
|
324
322
|
export * from './Interface/models/ISaleDocumentTemplate';
|
|
325
|
-
export * from './Interface/models/IInvoiceReminderAttachment';
|
|
326
323
|
export * from './Interface/models/IReminder';
|
|
327
324
|
export * from './Interface/models/IScheduledReminder';
|
|
328
325
|
export * from './Interface/models/IReminderAttachment';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ISociety } from './ISociety';
|
|
2
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
3
|
-
import { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use IReminder
|
|
6
|
-
*/
|
|
7
|
-
export interface IInvoiceReminder {
|
|
8
|
-
id?: number;
|
|
9
|
-
beforeThree: boolean | null;
|
|
10
|
-
dueDate: boolean | null;
|
|
11
|
-
afterThree: boolean | null;
|
|
12
|
-
afterSeven: boolean | null;
|
|
13
|
-
lastReminder: Date | null;
|
|
14
|
-
subject?: string | null;
|
|
15
|
-
message?: string | null;
|
|
16
|
-
email: string | null;
|
|
17
|
-
customizedDate?: Date | null;
|
|
18
|
-
withSignature?: boolean;
|
|
19
|
-
idSociety: number;
|
|
20
|
-
idEstimateInvoice: number | null;
|
|
21
|
-
createdAt?: Date | null;
|
|
22
|
-
updatedAt?: Date | null;
|
|
23
|
-
society?: ISociety;
|
|
24
|
-
estimateInvoice?: IEstimateInvoice;
|
|
25
|
-
attachments?: IInvoiceReminderAttachment[];
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=IInvoiceReminder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInvoiceReminder.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IInvoiceReminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,WAAW,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAC5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInvoiceReminder.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IInvoiceReminder.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';\n\n// societyRelance\n/**\n * @deprecated use IReminder\n */\nexport interface IInvoiceReminder {\n id?: number;\n beforeThree: boolean | null;\n dueDate: boolean | null;\n afterThree: boolean | null;\n afterSeven: boolean | null;\n lastReminder: Date | null;\n subject?: string | null;\n message?: string | null;\n email: string | null;\n customizedDate?: Date | null;\n withSignature?: boolean;\n idSociety: number;\n idEstimateInvoice: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n estimateInvoice?: IEstimateInvoice;\n attachments?: IInvoiceReminderAttachment[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyCgv.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyCgv.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyCgv.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyCgv.ts"],"names":[],"mappings":"","sourcesContent":["// societyCgv\nexport interface ISocietyCgv {\n id?: number;\n cgv: string;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ISociety } from './ISociety';
|
|
2
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
3
|
-
import { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated use IReminder
|
|
6
|
-
*/
|
|
7
|
-
export interface IInvoiceReminder {
|
|
8
|
-
id?: number;
|
|
9
|
-
beforeThree: boolean | null;
|
|
10
|
-
dueDate: boolean | null;
|
|
11
|
-
afterThree: boolean | null;
|
|
12
|
-
afterSeven: boolean | null;
|
|
13
|
-
lastReminder: Date | null;
|
|
14
|
-
subject?: string | null;
|
|
15
|
-
message?: string | null;
|
|
16
|
-
email: string | null;
|
|
17
|
-
customizedDate?: Date | null;
|
|
18
|
-
withSignature?: boolean;
|
|
19
|
-
idSociety: number;
|
|
20
|
-
idEstimateInvoice: number | null;
|
|
21
|
-
createdAt?: Date | null;
|
|
22
|
-
updatedAt?: Date | null;
|
|
23
|
-
society?: ISociety;
|
|
24
|
-
estimateInvoice?: IEstimateInvoice;
|
|
25
|
-
attachments?: IInvoiceReminderAttachment[];
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=IInvoiceReminder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInvoiceReminder.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IInvoiceReminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,WAAW,CAAC,EAAE,0BAA0B,EAAE,CAAC;CAC5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInvoiceReminder.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IInvoiceReminder.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';\n\n// societyRelance\n/**\n * @deprecated use IReminder\n */\nexport interface IInvoiceReminder {\n id?: number;\n beforeThree: boolean | null;\n dueDate: boolean | null;\n afterThree: boolean | null;\n afterSeven: boolean | null;\n lastReminder: Date | null;\n subject?: string | null;\n message?: string | null;\n email: string | null;\n customizedDate?: Date | null;\n withSignature?: boolean;\n idSociety: number;\n idEstimateInvoice: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n estimateInvoice?: IEstimateInvoice;\n attachments?: IInvoiceReminderAttachment[];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyCgv.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyCgv.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyCgv.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietyCgv.ts"],"names":[],"mappings":"","sourcesContent":["// societyCgv\nexport interface ISocietyCgv {\n id?: number;\n cgv: string;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ISociety } from './ISociety';
|
|
2
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
3
|
-
import { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';
|
|
4
|
-
|
|
5
|
-
// societyRelance
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated use IReminder
|
|
8
|
-
*/
|
|
9
|
-
export interface IInvoiceReminder {
|
|
10
|
-
id?: number;
|
|
11
|
-
beforeThree: boolean | null;
|
|
12
|
-
dueDate: boolean | null;
|
|
13
|
-
afterThree: boolean | null;
|
|
14
|
-
afterSeven: boolean | null;
|
|
15
|
-
lastReminder: Date | null;
|
|
16
|
-
subject?: string | null;
|
|
17
|
-
message?: string | null;
|
|
18
|
-
email: string | null;
|
|
19
|
-
customizedDate?: Date | null;
|
|
20
|
-
withSignature?: boolean;
|
|
21
|
-
idSociety: number;
|
|
22
|
-
idEstimateInvoice: number | null;
|
|
23
|
-
createdAt?: Date | null;
|
|
24
|
-
updatedAt?: Date | null;
|
|
25
|
-
|
|
26
|
-
// Associations
|
|
27
|
-
society?: ISociety;
|
|
28
|
-
estimateInvoice?: IEstimateInvoice;
|
|
29
|
-
attachments?: IInvoiceReminderAttachment[];
|
|
30
|
-
}
|