@silexpert/core 1.2.80 → 1.2.81
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/Reminder.d.ts +17 -2
- package/dist/cjs/api/resources/Reminder.d.ts.map +1 -1
- package/dist/cjs/api/resources/Reminder.js +31 -2
- package/dist/cjs/api/resources/Reminder.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +17 -7
- package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js +66 -11
- package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts +7 -0
- package/dist/cjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js +36 -1
- package/dist/cjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/cjs/types/Interface/models/IEstimateInvoice.d.ts +3 -0
- 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/IInvoiceReminder.d.ts +3 -0
- package/dist/cjs/types/Interface/models/IInvoiceReminder.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IInvoiceReminder.js.map +1 -1
- package/dist/cjs/types/Interface/models/IReminder.d.ts +18 -0
- package/dist/cjs/types/Interface/models/IReminder.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IReminder.js +3 -0
- package/dist/cjs/types/Interface/models/IReminder.js.map +1 -0
- package/dist/cjs/types/Interface/models/IReminderAttachment.d.ts +12 -0
- package/dist/cjs/types/Interface/models/IReminderAttachment.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IReminderAttachment.js +3 -0
- package/dist/cjs/types/Interface/models/IReminderAttachment.js.map +1 -0
- package/dist/cjs/types/Interface/models/IScheduledReminder.d.ts +8 -0
- package/dist/cjs/types/Interface/models/IScheduledReminder.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IScheduledReminder.js +3 -0
- package/dist/cjs/types/Interface/models/IScheduledReminder.js.map +1 -0
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts +3 -3
- package/dist/cjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Reminder.d.ts +17 -2
- package/dist/mjs/api/resources/Reminder.d.ts.map +1 -1
- package/dist/mjs/api/resources/Reminder.js +31 -2
- package/dist/mjs/api/resources/Reminder.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +17 -7
- package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js +73 -14
- package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts +7 -0
- package/dist/mjs/types/Interface/api/commercialManagement/Update.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js +40 -1
- package/dist/mjs/types/Interface/api/commercialManagement/Update.js.map +1 -1
- package/dist/mjs/types/Interface/models/IEstimateInvoice.d.ts +3 -0
- 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/IInvoiceReminder.d.ts +3 -0
- package/dist/mjs/types/Interface/models/IInvoiceReminder.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IInvoiceReminder.js.map +1 -1
- package/dist/mjs/types/Interface/models/IReminder.d.ts +18 -0
- package/dist/mjs/types/Interface/models/IReminder.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IReminder.js +2 -0
- package/dist/mjs/types/Interface/models/IReminder.js.map +1 -0
- package/dist/mjs/types/Interface/models/IReminderAttachment.d.ts +12 -0
- package/dist/mjs/types/Interface/models/IReminderAttachment.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IReminderAttachment.js +2 -0
- package/dist/mjs/types/Interface/models/IReminderAttachment.js.map +1 -0
- package/dist/mjs/types/Interface/models/IScheduledReminder.d.ts +8 -0
- package/dist/mjs/types/Interface/models/IScheduledReminder.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IScheduledReminder.js +2 -0
- package/dist/mjs/types/Interface/models/IScheduledReminder.js.map +1 -0
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts +3 -3
- package/dist/mjs/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/dist/mjs/types/index.d.ts +3 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Reminder.ts +51 -5
- package/ts/types/Interface/api/commercialManagement/Create.ts +55 -12
- package/ts/types/Interface/api/commercialManagement/Update.ts +30 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +3 -0
- package/ts/types/Interface/models/IInvoiceReminder.ts +3 -0
- package/ts/types/Interface/models/IReminder.ts +20 -0
- package/ts/types/Interface/models/IReminderAttachment.ts +14 -0
- package/ts/types/Interface/models/IScheduledReminder.ts +7 -0
- package/ts/types/Interface/models/ISocietyGescom.ts +3 -3
- package/ts/types/index.ts +3 -0
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { CreateReminder, IInvoiceReminder, UpdateReminder } from '../../types';
|
|
2
|
+
import { CreateReminder, CreateReminder2, CreateReminderAttachment, CreateScheduleReminder, IInvoiceReminder, IReminder, IReminderAttachment, IScheduledReminder, UpdateReminder, UpdateReminder2 } from '../../types';
|
|
3
3
|
export declare class Reminder extends Resource {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated
|
|
6
|
+
*/
|
|
4
7
|
create(idEstimateInvoice: number, payload: CreateReminder): Promise<IInvoiceReminder>;
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
5
11
|
update(id: number, idEstimateInvoice: number, payload: UpdateReminder): Promise<IInvoiceReminder>;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
6
15
|
delete(id: number, idEstimateInvoice: number): Promise<true>;
|
|
7
|
-
|
|
16
|
+
createReminder(payload: CreateReminder2): Promise<IReminder>;
|
|
17
|
+
updateReminder(id: number, payload: UpdateReminder2): Promise<IReminder>;
|
|
18
|
+
deleteReminder(id: number): Promise<true>;
|
|
19
|
+
createAttachment(idReminder: number, payload: CreateReminderAttachment): Promise<IReminderAttachment>;
|
|
20
|
+
deleteAttachment(id: number, idReminder: number): Promise<true>;
|
|
21
|
+
createSchedule(idReminder: number, payload: CreateScheduleReminder): Promise<IScheduledReminder>;
|
|
22
|
+
deleteSchedule(id: number, idReminder: number): Promise<true>;
|
|
8
23
|
}
|
|
9
24
|
//# sourceMappingURL=Reminder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reminder.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Reminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,
|
|
1
|
+
{"version":3,"file":"Reminder.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Reminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EAChB,SAAS,EACT,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,qBAAa,QAAS,SAAQ,QAAQ;IACpC;;OAEG;IACH,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIrF;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIjG;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI5D,cAAc,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,SAAS,CAAC;IAI5D,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,SAAS,CAAC;IAIxE,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMzC,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIrG,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAM/D,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAIhG,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG9D"}
|
|
@@ -3,17 +3,46 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Reminder = void 0;
|
|
4
4
|
const Resource_1 = require("../Resource");
|
|
5
5
|
class Reminder extends Resource_1.Resource {
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated
|
|
8
|
+
*/
|
|
6
9
|
create(idEstimateInvoice, payload) {
|
|
7
10
|
return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}/reminders`, payload);
|
|
8
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
9
15
|
update(id, idEstimateInvoice, payload) {
|
|
10
16
|
return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);
|
|
11
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated
|
|
20
|
+
*/
|
|
12
21
|
delete(id, idEstimateInvoice) {
|
|
13
22
|
return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);
|
|
14
23
|
}
|
|
15
|
-
|
|
16
|
-
return this.axios.$
|
|
24
|
+
createReminder(payload) {
|
|
25
|
+
return this.axios.$post('/commercial-management/reminders', payload);
|
|
26
|
+
}
|
|
27
|
+
updateReminder(id, payload) {
|
|
28
|
+
return this.axios.$put(`/commercial-management/reminders/${id}`, payload);
|
|
29
|
+
}
|
|
30
|
+
deleteReminder(id) {
|
|
31
|
+
return this.axios.$delete(`/commercial-management/reminders/${id}`);
|
|
32
|
+
}
|
|
33
|
+
// ATTACHMENTS
|
|
34
|
+
createAttachment(idReminder, payload) {
|
|
35
|
+
return this.axios.$post(`/commercial-management/reminders/${idReminder}/attachments`, payload);
|
|
36
|
+
}
|
|
37
|
+
deleteAttachment(id, idReminder) {
|
|
38
|
+
return this.axios.$delete(`/commercial-management/reminders/${idReminder}/attachments/${id}`);
|
|
39
|
+
}
|
|
40
|
+
// SCHEDULES
|
|
41
|
+
createSchedule(idReminder, payload) {
|
|
42
|
+
return this.axios.$post(`/commercial-management/reminders/${idReminder}/schedules`, payload);
|
|
43
|
+
}
|
|
44
|
+
deleteSchedule(id, idReminder) {
|
|
45
|
+
return this.axios.$delete(`/commercial-management/reminders/${idReminder}/schedules/${id}`);
|
|
17
46
|
}
|
|
18
47
|
}
|
|
19
48
|
exports.Reminder = Reminder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reminder.js","sourceRoot":"","sources":["../../../../ts/api/resources/Reminder.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;
|
|
1
|
+
{"version":3,"file":"Reminder.js","sourceRoot":"","sources":["../../../../ts/api/resources/Reminder.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AAcvC,MAAa,QAAS,SAAQ,mBAAQ;IACpC;;OAEG;IACH,MAAM,CAAC,iBAAyB,EAAE,OAAuB;QACvD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oCAAoC,iBAAiB,YAAY,EAAE,OAAO,CAAC,CAAC;IACtG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,iBAAyB,EAAE,OAAuB;QACnE,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oCAAoC,iBAAiB,cAAc,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3G,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAU,EAAE,iBAAyB;QAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oCAAoC,iBAAiB,cAAc,EAAE,EAAE,CAAC,CAAC;IACrG,CAAC;IAED,cAAc,CAAC,OAAwB;QACrC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,kCAAkC,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAED,cAAc,CAAC,EAAU;QACvB,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oCAAoC,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,cAAc;IAEd,gBAAgB,CAAC,UAAkB,EAAE,OAAiC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oCAAoC,UAAU,cAAc,EAAE,OAAO,CAAC,CAAC;IACjG,CAAC;IAED,gBAAgB,CAAC,EAAU,EAAE,UAAkB;QAC7C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oCAAoC,UAAU,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,YAAY;IAEZ,cAAc,CAAC,UAAkB,EAAE,OAA+B;QAChE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oCAAoC,UAAU,YAAY,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAED,cAAc,CAAC,EAAU,EAAE,UAAkB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,oCAAoC,UAAU,cAAc,EAAE,EAAE,CAAC,CAAC;IAC9F,CAAC;CACF;AArDD,4BAqDC","sourcesContent":["import { Resource } from '../Resource';\nimport {\n CreateReminder,\n CreateReminder2,\n CreateReminderAttachment,\n CreateScheduleReminder,\n IInvoiceReminder,\n IReminder,\n IReminderAttachment,\n IScheduledReminder,\n UpdateReminder,\n UpdateReminder2,\n} from '../../types';\n\nexport class Reminder extends Resource {\n /**\n * @deprecated\n */\n create(idEstimateInvoice: number, payload: CreateReminder): Promise<IInvoiceReminder> {\n return this.axios.$post(`/commercial-management/documents/${idEstimateInvoice}/reminders`, payload);\n }\n\n /**\n * @deprecated\n */\n update(id: number, idEstimateInvoice: number, payload: UpdateReminder): Promise<IInvoiceReminder> {\n return this.axios.$put(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`, payload);\n }\n\n /**\n * @deprecated\n */\n delete(id: number, idEstimateInvoice: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/documents/${idEstimateInvoice}/reminders/${id}`);\n }\n\n createReminder(payload: CreateReminder2): Promise<IReminder> {\n return this.axios.$post('/commercial-management/reminders', payload);\n }\n\n updateReminder(id: number, payload: UpdateReminder2): Promise<IReminder> {\n return this.axios.$put(`/commercial-management/reminders/${id}`, payload);\n }\n\n deleteReminder(id: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/reminders/${id}`);\n }\n\n // ATTACHMENTS\n\n createAttachment(idReminder: number, payload: CreateReminderAttachment): Promise<IReminderAttachment> {\n return this.axios.$post(`/commercial-management/reminders/${idReminder}/attachments`, payload);\n }\n\n deleteAttachment(id: number, idReminder: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/reminders/${idReminder}/attachments/${id}`);\n }\n\n // SCHEDULES\n\n createSchedule(idReminder: number, payload: CreateScheduleReminder): Promise<IScheduledReminder> {\n return this.axios.$post(`/commercial-management/reminders/${idReminder}/schedules`, payload);\n }\n\n deleteSchedule(id: number, idReminder: number): Promise<true> {\n return this.axios.$delete(`/commercial-management/reminders/${idReminder}/schedules/${id}`);\n }\n}\n"]}
|
|
@@ -60,11 +60,10 @@ export declare class CreateCommercialSetting {
|
|
|
60
60
|
externalBorderThickness?: number;
|
|
61
61
|
externalBorderType?: string;
|
|
62
62
|
externalBorderColor?: string;
|
|
63
|
-
reminderCustomizedDayDiff?: number | null;
|
|
64
63
|
idRibFile?: number | null;
|
|
65
64
|
idSignatureFile?: number | null;
|
|
66
65
|
idGeneralConditionOfSale?: number | null;
|
|
67
|
-
|
|
66
|
+
idReminder?: number | null;
|
|
68
67
|
logoUrl?: string;
|
|
69
68
|
paymentType?: string;
|
|
70
69
|
bonPour?: boolean;
|
|
@@ -136,7 +135,7 @@ export declare class CreateInvoiceDocument extends CommercialDocumentInputs {
|
|
|
136
135
|
assetMarginVatIds?: number[];
|
|
137
136
|
advanceProducts?: ReadProductEditing[];
|
|
138
137
|
language?: InvoiceLanguage;
|
|
139
|
-
reminder?:
|
|
138
|
+
reminder?: CreateReminder2 | null;
|
|
140
139
|
recurrence?: CreateRecurrence | null;
|
|
141
140
|
}
|
|
142
141
|
export declare class CreateCgv {
|
|
@@ -154,10 +153,6 @@ export declare class CreateReminder {
|
|
|
154
153
|
customizedDate?: Date;
|
|
155
154
|
idFiles?: number[];
|
|
156
155
|
}
|
|
157
|
-
export declare class CreateReminderForTemplate extends CreateReminder {
|
|
158
|
-
idSaleEmail?: number | null;
|
|
159
|
-
customizedDayDiff?: number | null;
|
|
160
|
-
}
|
|
161
156
|
export declare class CreateRecurrence {
|
|
162
157
|
type: number;
|
|
163
158
|
startDate: string;
|
|
@@ -225,4 +220,19 @@ export declare class UpdateSaleDocumentTemplate {
|
|
|
225
220
|
idEstimateInvoiceType?: number;
|
|
226
221
|
isDefault?: boolean;
|
|
227
222
|
}
|
|
223
|
+
export declare class CreateReminder2 {
|
|
224
|
+
email: string | null;
|
|
225
|
+
content: string | null;
|
|
226
|
+
subject: string | null;
|
|
227
|
+
attachments: number[];
|
|
228
|
+
schedules: number[];
|
|
229
|
+
idEstimateInvoice: number | null;
|
|
230
|
+
idSaleEmail: number | null;
|
|
231
|
+
}
|
|
232
|
+
export declare class CreateReminderAttachment {
|
|
233
|
+
idFile: number;
|
|
234
|
+
}
|
|
235
|
+
export declare class CreateScheduleReminder {
|
|
236
|
+
day: number;
|
|
237
|
+
}
|
|
228
238
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":"AAeA,OAAO,EAAkB,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGrE,OAAO,EACL,oBAAoB,EAEpB,OAAO,EACP,eAAe,EACf,aAAa,EACd,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;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AAG,qBAAqB,CAAC;IAIxD,qBAAqB,EAAE,mBAAmB,CAAC;IAK3C,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,0BAA0B;IAIrC,QAAQ,CAAC,EAAE,eAAe,CAAC;IAK3B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,qBAAqB,GAAG,qBAAqB,CAAC;IAKzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAM/B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,eAAe;IAK1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAMvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAMvB,WAAW,EAAE,MAAM,EAAE,CAAC;IAKtB,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAKjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,qBAAa,wBAAwB;IAGnC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,sBAAsB;IAGjC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateSaleDocumentTemplate = exports.CreateSaleDocumentTemplate = exports.UpdateGeneralConditionOfSale = exports.CreateGeneralConditionOfSale = exports.UpdateSaleEmail = exports.CreateSaleEmail = exports.CreateRegenerateDocument = exports.CreateRecurrence = exports.
|
|
12
|
+
exports.CreateScheduleReminder = exports.CreateReminderAttachment = exports.CreateReminder2 = exports.UpdateSaleDocumentTemplate = exports.CreateSaleDocumentTemplate = exports.UpdateGeneralConditionOfSale = exports.CreateGeneralConditionOfSale = exports.UpdateSaleEmail = exports.CreateSaleEmail = exports.CreateRegenerateDocument = exports.CreateRecurrence = exports.CreateReminder = exports.CreateCgv = exports.CreateInvoiceDocument = exports.CreatePreSaleDocument = exports.CommercialDocumentInputs = exports.CreateCommercialMailWithMultipleFiles = exports.CreateCommercialMail = exports.CreateCommercialSetting = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const __1 = require("../../..");
|
|
15
15
|
const utils_1 = require("../../../../utils");
|
|
@@ -349,12 +349,6 @@ __decorate([
|
|
|
349
349
|
(0, class_validator_1.IsString)(),
|
|
350
350
|
__metadata("design:type", String)
|
|
351
351
|
], CreateCommercialSetting.prototype, "externalBorderColor", void 0);
|
|
352
|
-
__decorate([
|
|
353
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
354
|
-
(0, class_validator_1.IsOptional)(),
|
|
355
|
-
(0, class_validator_1.IsNumber)(),
|
|
356
|
-
__metadata("design:type", Object)
|
|
357
|
-
], CreateCommercialSetting.prototype, "reminderCustomizedDayDiff", void 0);
|
|
358
352
|
__decorate([
|
|
359
353
|
(0, utils_1.ApiPropertyOptional)(),
|
|
360
354
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -378,7 +372,7 @@ __decorate([
|
|
|
378
372
|
(0, class_validator_1.IsOptional)(),
|
|
379
373
|
(0, class_validator_1.IsInt)(),
|
|
380
374
|
__metadata("design:type", Object)
|
|
381
|
-
], CreateCommercialSetting.prototype, "
|
|
375
|
+
], CreateCommercialSetting.prototype, "idReminder", void 0);
|
|
382
376
|
__decorate([
|
|
383
377
|
(0, utils_1.ApiPropertyOptional)(),
|
|
384
378
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -688,9 +682,6 @@ __decorate([
|
|
|
688
682
|
(0, class_validator_1.IsInt)({ each: true }),
|
|
689
683
|
__metadata("design:type", Array)
|
|
690
684
|
], CreateReminder.prototype, "idFiles", void 0);
|
|
691
|
-
class CreateReminderForTemplate extends CreateReminder {
|
|
692
|
-
}
|
|
693
|
-
exports.CreateReminderForTemplate = CreateReminderForTemplate;
|
|
694
685
|
class CreateRecurrence {
|
|
695
686
|
}
|
|
696
687
|
exports.CreateRecurrence = CreateRecurrence;
|
|
@@ -913,4 +904,68 @@ __decorate([
|
|
|
913
904
|
(0, boolean_transform_1.ToBoolean)(),
|
|
914
905
|
__metadata("design:type", Boolean)
|
|
915
906
|
], UpdateSaleDocumentTemplate.prototype, "isDefault", void 0);
|
|
907
|
+
class CreateReminder2 {
|
|
908
|
+
}
|
|
909
|
+
exports.CreateReminder2 = CreateReminder2;
|
|
910
|
+
__decorate([
|
|
911
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
912
|
+
(0, class_validator_1.IsString)(),
|
|
913
|
+
(0, class_validator_1.Length)(0, 255),
|
|
914
|
+
(0, class_validator_1.IsOptional)(),
|
|
915
|
+
__metadata("design:type", Object)
|
|
916
|
+
], CreateReminder2.prototype, "email", void 0);
|
|
917
|
+
__decorate([
|
|
918
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
919
|
+
(0, class_validator_1.IsString)(),
|
|
920
|
+
(0, class_validator_1.IsOptional)(),
|
|
921
|
+
__metadata("design:type", Object)
|
|
922
|
+
], CreateReminder2.prototype, "content", void 0);
|
|
923
|
+
__decorate([
|
|
924
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
925
|
+
(0, class_validator_1.IsString)(),
|
|
926
|
+
(0, class_validator_1.Length)(0, 255),
|
|
927
|
+
(0, class_validator_1.IsOptional)(),
|
|
928
|
+
__metadata("design:type", Object)
|
|
929
|
+
], CreateReminder2.prototype, "subject", void 0);
|
|
930
|
+
__decorate([
|
|
931
|
+
(0, utils_1.ApiPropertyOptional)({ comment: 'ids of file to attach' }),
|
|
932
|
+
(0, class_validator_1.IsArray)(),
|
|
933
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
934
|
+
(0, class_validator_1.IsOptional)(),
|
|
935
|
+
__metadata("design:type", Array)
|
|
936
|
+
], CreateReminder2.prototype, "attachments", void 0);
|
|
937
|
+
__decorate([
|
|
938
|
+
(0, utils_1.ApiProperty)({ comment: 'days between due date and remind' }),
|
|
939
|
+
(0, class_validator_1.IsArray)(),
|
|
940
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
941
|
+
__metadata("design:type", Array)
|
|
942
|
+
], CreateReminder2.prototype, "schedules", void 0);
|
|
943
|
+
__decorate([
|
|
944
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
945
|
+
(0, class_validator_1.IsInt)(),
|
|
946
|
+
(0, class_validator_1.IsOptional)(),
|
|
947
|
+
__metadata("design:type", Object)
|
|
948
|
+
], CreateReminder2.prototype, "idEstimateInvoice", void 0);
|
|
949
|
+
__decorate([
|
|
950
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
951
|
+
(0, class_validator_1.IsInt)(),
|
|
952
|
+
(0, class_validator_1.IsOptional)(),
|
|
953
|
+
__metadata("design:type", Object)
|
|
954
|
+
], CreateReminder2.prototype, "idSaleEmail", void 0);
|
|
955
|
+
class CreateReminderAttachment {
|
|
956
|
+
}
|
|
957
|
+
exports.CreateReminderAttachment = CreateReminderAttachment;
|
|
958
|
+
__decorate([
|
|
959
|
+
(0, utils_1.ApiProperty)(),
|
|
960
|
+
(0, class_validator_1.IsInt)(),
|
|
961
|
+
__metadata("design:type", Number)
|
|
962
|
+
], CreateReminderAttachment.prototype, "idFile", void 0);
|
|
963
|
+
class CreateScheduleReminder {
|
|
964
|
+
}
|
|
965
|
+
exports.CreateScheduleReminder = CreateScheduleReminder;
|
|
966
|
+
__decorate([
|
|
967
|
+
(0, utils_1.ApiProperty)(),
|
|
968
|
+
(0, class_validator_1.IsInt)(),
|
|
969
|
+
__metadata("design:type", Number)
|
|
970
|
+
], CreateScheduleReminder.prototype, "day", void 0);
|
|
916
971
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sour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AAC;;4DACV;AAK3B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACG;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DAC8C;AAKzD;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;yEACG;AAM/B;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6DACQ","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsIn,\n IsInt,\n IsNumber,\n IsObject,\n IsOptional,\n IsString,\n Min,\n} from 'class-validator';\nimport { BorderLineType, IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport {\n AccountingCategoryId,\n EmailType,\n FontIds,\n InvoiceLanguage,\n LogoAlignment,\n} from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n reminderCustomizedDayDiff?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGeneralConditionOfSale?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReminderSaleEmail?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsString()\n recaptcha: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n addSignatureToMail?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldSaveToCustomTemplate?: boolean;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: \"Date d'expiration pour la facture d'acompte\" })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage;\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage;\n reminder?: CreateReminderForTemplate | null;\n recurrence?: CreateRecurrence | null;\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n withSignature: boolean;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n customizedDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idFiles?: number[];\n}\n\nexport class CreateReminderForTemplate extends CreateReminder {\n idSaleEmail?: number | null;\n customizedDayDiff?: number | null;\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n shouldSendEmailOnCreation: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSaleEmail?: number;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string;\n dueDate: Date | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n file?: IFile;\n language: InvoiceLanguage;\n };\n logoUrl: string | null;\n companyName: string;\n fileUrl: string | null;\n hostS3: string;\n hasVat: boolean;\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAcyB;AACzB,gCAAqE;AACrE,6CAAqE;AACrE,sFAA2E;AAC3E,6EAM4C;AAC5C,mEAAoE;AACpE,iEAA8D;AAO9D,MAAa,uBAAuB;CAyTnC;AAzTD,0DAyTC;AAlTC;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,EAAE;QACN,OAAO,EAAE,4BAA4B;KACtC,CAAC;;wDACsB;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACa;AAKxB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEAC0B;AAKrC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS;AAKpB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACiB;AAK5B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACkB;AAK7B;IAHC,IAAA,2BAAmB,GAAE;IAC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IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;oDACc;AAG7B,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;wDACO;AAGjB,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,uBAAK,GAAE;;mDACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsIn,\n IsInt,\n IsNumber,\n IsObject,\n IsOptional,\n IsString,\n Length,\n Min,\n} from 'class-validator';\nimport { BorderLineType, IFile, ReadProductEditing } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport {\n AccountingCategoryId,\n EmailType,\n FontIds,\n InvoiceLanguage,\n LogoAlignment,\n} from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\nimport { IProductInvoice } from '../../models/IProductInvoice';\nimport { ISocietyGescom } from '../../models/ISocietyGescom';\nimport { IThirdParty } from '../../models/IThirdParty';\n\nexport type IProductInvoiceToCreate = IProductInvoice & { save?: boolean };\n\nexport class CreateCommercialSetting {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @Min(0, {\n message: 'Capital should be positive',\n })\n capital?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n tvaCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n rcs?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n numberTradeDirectory?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bank?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n iban?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bic?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n mailContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phoneContact?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n website?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commercialName?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n penalties?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n discount?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n recoveryCost?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n vatMention?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n generatedBy?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n acceptCheque?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n mentionAutoent?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startInvoice?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n startEstimate?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n dayOfValidity?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paymentsAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stripePaymentByDefault?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayLogo?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n invoiceCgv?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n color?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeInvoiceText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n freeEstimateText?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoAlignment?: LogoAlignment | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idFont?: FontIds | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isEdgingDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n edgingColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n fontColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isCoordinatesFrameDisplayed?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areLinesSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areExternalBordersHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n areColumnsSeparationHidden?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n accountingCategory?: AccountingCategoryId;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideEmailHeader?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldHideBrandName?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n customerBlockBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n customerBlockBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n lineSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n lineSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lineSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n columnSeparationThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n columnSeparationType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n columnSeparationColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n externalBorderThickness?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(BorderLineType)\n externalBorderType?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n externalBorderColor?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idRibFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSignatureFile?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idGeneralConditionOfSale?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idReminder?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n logoUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n paymentType?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n bonPour?: boolean;\n}\n\nexport class CreateCommercialMail {\n @ApiProperty()\n @IsString()\n to: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n cc?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n bcc?: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsString()\n recaptcha: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n addSignatureToMail?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n shouldSaveToCustomTemplate?: boolean;\n}\n\nexport class CreateCommercialMailWithMultipleFiles extends CreateCommercialMail {\n idsFile: number[];\n}\n\nexport class CommercialDocumentInputs {\n @ApiProperty()\n legalForm: string | null;\n\n @ApiProperty()\n capital: number | null;\n\n @ApiProperty()\n siren: string | null;\n\n @ApiProperty()\n rcs: string | null;\n\n @ApiProperty()\n vatCode: string | null;\n\n @ApiProperty()\n nafCode: string | null;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n thirdParty: IThirdParty;\n\n @ApiProperty()\n @IsDateString()\n emissionDate: string;\n\n @ApiProperty()\n @IsDateString()\n dueDate: string;\n\n @ApiProperty({ description: \"Date d'expiration pour la facture d'acompte\" })\n expirationDate: string | null;\n\n @ApiProperty({ description: 'Conditions de réglement' })\n termsOfPayment: string | null;\n\n @ApiProperty()\n @IsArray()\n products: Array<IProductInvoiceToCreate>;\n\n @ApiProperty({ description: 'Escompte' })\n discount: string | null;\n\n @ApiProperty()\n comment: string | null;\n\n @ApiProperty({ description: 'Pénalité de retard' })\n penalties: string | null;\n\n @ApiPropertyOptional({ description: 'Remise globale' })\n generalDiscount2: number | null;\n\n @ApiProperty({ description: 'Indemnité forfaitaire' })\n compensation: string | null;\n\n @ApiProperty()\n vatMention: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n disableVat: boolean;\n\n @ApiProperty()\n title: string | null;\n\n @ApiProperty({ description: 'Commercial name of seller' })\n @IsString()\n name: string;\n\n @ApiProperty({ description: 'Commercial number address of seller' })\n number?: string | null;\n\n @ApiProperty({ description: 'Commercial street address of seller' })\n street: string | null;\n\n @ApiProperty({ description: 'Commercial zip code address of seller' })\n zipCode: string | null;\n\n @ApiProperty({ description: 'Commercial city address of seller' })\n city: string | null;\n\n @ApiProperty()\n settings: ISocietyGescom;\n\n @ApiProperty()\n cgv: string | null;\n\n @ApiProperty()\n logoUrl: string | null;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isStripeAllowed: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDraft: boolean;\n\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n accountingCategory: AccountingCategoryId;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n shouldPayTaxAfterDebit?: boolean;\n\n @ApiPropertyOptional({ description: 'Moyen de paiement' })\n paymentType?: string | null;\n}\n\nexport class CreatePreSaleDocument extends CommercialDocumentInputs {\n paymentLink?: '#';\n deposit?: undefined;\n fromEstimateId: undefined;\n assetMarginVatIds?: [];\n advanceProducts?: [];\n language?: InvoiceLanguage;\n}\nexport class CreateInvoiceDocument extends CommercialDocumentInputs {\n paymentLink?: string;\n deposit?: number;\n fromInvoiceId?: number | null; // Nécessaire lors de la création d'un avoir à partir d'une facture\n fromEstimateId: number | null; // Nécessaire lors du passage d'un devis à facture\n assetMarginVatIds?: number[]; // Laisser vide côté front, utilisé pour l'affichage des tva sur marge sur les acomptes\n advanceProducts?: ReadProductEditing[]; // Laisser vide côté front, utilisé pour l'affichage des bases TVA sur les acomptes\n language?: InvoiceLanguage;\n reminder?: CreateReminder2 | null;\n recurrence?: CreateRecurrence | null;\n}\n\nexport class CreateCgv {\n @ApiProperty()\n cgv: string | null;\n}\n\nexport class CreateReminder {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n beforeThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n dueDate: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterThree: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n afterSeven: boolean;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n withSignature: boolean;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n customizedDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idFiles?: number[];\n}\n\nexport class CreateRecurrence {\n @ApiProperty()\n @IsEnum(RecurrenceType)\n type: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n isActive: boolean;\n\n @ApiProperty()\n @ToBoolean()\n @IsBoolean()\n shouldSendEmailOnCreation: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSaleEmail?: number;\n}\n\nexport class CreateRegenerateDocument {\n @ApiProperty()\n @IsString()\n label: string;\n\n @ApiProperty()\n @IsString()\n reference: string;\n\n @ApiProperty()\n @IsString()\n title: string;\n}\n\nexport type CreateMailHeader = {\n payload: {\n reference: string;\n dueDate: Date | null;\n idEstimateInvoiceType: EstimateInvoiceType;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n file?: IFile;\n language: InvoiceLanguage;\n };\n logoUrl: string | null;\n companyName: string;\n fileUrl: string | null;\n hostS3: string;\n hasVat: boolean;\n};\n\nexport class CreateSaleEmail {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n subject: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsEnum(EmailType)\n type: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class UpdateSaleEmail {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EmailType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateGeneralConditionOfSale {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n content: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateGeneralConditionOfSale {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n content?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateSaleDocumentTemplate {\n @ApiProperty()\n @IsIn(Object.values(InvoiceLanguage))\n language: InvoiceLanguage;\n\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsObject()\n template: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiProperty()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType: EstimateInvoiceType;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isDefault: boolean;\n}\n\nexport class UpdateSaleDocumentTemplate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsIn(Object.values(InvoiceLanguage))\n language?: InvoiceLanguage;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n name?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n template?: CreateInvoiceDocument | CreatePreSaleDocument;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(EstimateInvoiceType)\n idEstimateInvoiceType?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isDefault?: boolean;\n}\n\nexport class CreateReminder2 {\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n email: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n content: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n subject: string | null;\n\n @ApiPropertyOptional({ comment: 'ids of file to attach' })\n @IsArray()\n @IsInt({ each: true })\n @IsOptional()\n attachments: number[];\n\n @ApiProperty({ comment: 'days between due date and remind' })\n @IsArray()\n @IsInt({ each: true })\n schedules: number[];\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idEstimateInvoice: number | null;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSaleEmail: number | null;\n}\n\nexport class CreateReminderAttachment {\n @ApiProperty()\n @IsInt()\n idFile: number;\n}\n\nexport class CreateScheduleReminder {\n @ApiProperty()\n @IsInt()\n day: number;\n}\n"]}
|
|
@@ -27,4 +27,11 @@ export declare class UpdateRecurrence {
|
|
|
27
27
|
shouldSendEmailOnCreation?: boolean;
|
|
28
28
|
idSaleEmail?: number;
|
|
29
29
|
}
|
|
30
|
+
export declare class UpdateReminder2 {
|
|
31
|
+
email: string | null;
|
|
32
|
+
content: string | null;
|
|
33
|
+
subject: string | null;
|
|
34
|
+
idEstimateInvoice: number | null;
|
|
35
|
+
idSaleEmail: number | null;
|
|
36
|
+
}
|
|
30
37
|
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":"AAgBA,qBAAa,wBAAwB;IAKnC,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,eAAe,CAAC,EAAE,IAAI,CAAC;IAMvB,SAAS,CAAC,EAAE,OAAO,CAAC;IAMpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,MAAM,CAAC,EAAE,OAAO,CAAC;IAKjB,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB;AAED,qBAAa,cAAc;IAKzB,WAAW,EAAE,OAAO,CAAC;IAMrB,OAAO,EAAE,OAAO,CAAC;IAMjB,UAAU,EAAE,OAAO,CAAC;IAMpB,UAAU,EAAE,OAAO,CAAC;IAMpB,aAAa,CAAC,EAAE,OAAO,CAAC;IAKxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,cAAc,CAAC,EAAE,IAAI,CAAC;IAKtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAM3B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAKpC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,eAAe;IAK1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAMvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAKvB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAKjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateRecurrence = exports.UpdateReminder = exports.UpdateCommercialDocument = void 0;
|
|
12
|
+
exports.UpdateReminder2 = exports.UpdateRecurrence = exports.UpdateReminder = exports.UpdateCommercialDocument = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
@@ -172,4 +172,39 @@ __decorate([
|
|
|
172
172
|
(0, class_validator_1.IsOptional)(),
|
|
173
173
|
__metadata("design:type", Number)
|
|
174
174
|
], UpdateRecurrence.prototype, "idSaleEmail", void 0);
|
|
175
|
+
class UpdateReminder2 {
|
|
176
|
+
}
|
|
177
|
+
exports.UpdateReminder2 = UpdateReminder2;
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
180
|
+
(0, class_validator_1.IsString)(),
|
|
181
|
+
(0, class_validator_1.Length)(0, 255),
|
|
182
|
+
(0, class_validator_1.IsOptional)(),
|
|
183
|
+
__metadata("design:type", Object)
|
|
184
|
+
], UpdateReminder2.prototype, "email", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
187
|
+
(0, class_validator_1.IsString)(),
|
|
188
|
+
(0, class_validator_1.IsOptional)(),
|
|
189
|
+
__metadata("design:type", Object)
|
|
190
|
+
], UpdateReminder2.prototype, "content", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
193
|
+
(0, class_validator_1.IsString)(),
|
|
194
|
+
(0, class_validator_1.Length)(0, 255),
|
|
195
|
+
(0, class_validator_1.IsOptional)(),
|
|
196
|
+
__metadata("design:type", Object)
|
|
197
|
+
], UpdateReminder2.prototype, "subject", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
200
|
+
(0, class_validator_1.IsInt)(),
|
|
201
|
+
(0, class_validator_1.IsOptional)(),
|
|
202
|
+
__metadata("design:type", Object)
|
|
203
|
+
], UpdateReminder2.prototype, "idEstimateInvoice", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
206
|
+
(0, class_validator_1.IsInt)(),
|
|
207
|
+
(0, class_validator_1.IsOptional)(),
|
|
208
|
+
__metadata("design:type", Object)
|
|
209
|
+
], UpdateReminder2.prototype, "idSaleEmail", void 0);
|
|
175
210
|
//# sourceMappingURL=Update.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercialManagement/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAWyB;AACzB,6CAAwD;AACxD,sFAA2E;AAC3E,iEAA8D;AAE9D,MAAa,wBAAwB;CAkCpC;AAlCD,4DAkCC;AA7BC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACK,IAAI;iEAAC;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACO;AAMpB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACI;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;0DACU;AAGzB,MAAa,cAAc;CA6D1B;AA7DD,wCA6DC;AAxDC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mDACQ;AAM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C,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;mDACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;iDACI;AAMjB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,6BAAS,GAAE;IACX,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAKnB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACuB;AAKpC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAGvB,MAAa,eAAe;CA2B3B;AA3BD,0CA2BC;AAtBC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,4BAAU,GAAE;;8CACQ;AAKrB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACU;AAMvB;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,GAAG,CAAC;IACd,IAAA,4BAAU,GAAE;;gDACU;AAKvB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;0DACoB;AAKjC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;oDACc","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDateString,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsString,\n Length,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RecurrenceType } from '../../../Enum/RecurrenceType';\n\nexport class UpdateCommercialDocument {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCanceled?: boolean;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n acceptationDate?: Date;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRefused?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isPaid?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isUsed?: boolean;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n mailSent?: Date | null;\n}\n\nexport class UpdateReminder {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n beforeThree: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n dueDate: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n afterThree: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n afterSeven: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n withSignature?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n subject?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n message?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n email?: string;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n customizedDate?: Date;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n customizedDayDiff?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idFiles?: number[];\n}\n\nexport class UpdateRecurrence {\n @ApiPropertyOptional()\n @IsEnum(RecurrenceType)\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsBoolean()\n @IsOptional()\n isActive?: boolean;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsOptional()\n shouldSendEmailOnCreation?: boolean;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idSaleEmail?: number;\n}\n\nexport class UpdateReminder2 {\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n email: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n content: string | null;\n\n @ApiPropertyOptional()\n @IsString()\n @Length(0, 255)\n @IsOptional()\n subject: string | null;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idEstimateInvoice: number | null;\n\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSaleEmail: number | null;\n}\n"]}
|
|
@@ -9,6 +9,7 @@ import { IFile } from './IFile';
|
|
|
9
9
|
import { IInvoiceRecurrence } from './IInvoiceRecurrence';
|
|
10
10
|
import { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';
|
|
11
11
|
import { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement';
|
|
12
|
+
import { IReminder } from './IReminder';
|
|
12
13
|
export interface IEstimateInvoice {
|
|
13
14
|
id?: number;
|
|
14
15
|
label: string | null;
|
|
@@ -62,7 +63,9 @@ export interface IEstimateInvoice {
|
|
|
62
63
|
assetRelatedToThisEstimateInvoice?: IEstimateInvoice;
|
|
63
64
|
estimateInvoiceForThisAsset?: IEstimateInvoice;
|
|
64
65
|
estimateInvoiceForThisRepeat?: IEstimateInvoice;
|
|
66
|
+
/** @deprecated use reminder2 */
|
|
65
67
|
reminder?: IInvoiceReminder;
|
|
68
|
+
reminder2?: IReminder | null;
|
|
66
69
|
relatedInvoice?: IEstimateInvoice;
|
|
67
70
|
recurrence?: IInvoiceRecurrence;
|
|
68
71
|
file?: IFile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"IEstimateInvoice.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,K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,gBAAgB,CAAC;IAClC,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProductInvoice } from './IProductInvoice';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { IInvoiceReminder } from './IInvoiceReminder';\nimport { IFile } from './IFile';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence';\nimport { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';\nimport { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n paymentType: string | null;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n accountingCategory: AccountingCategoryId;\n shouldPayTaxAfterDebit: boolean;\n language: InvoiceLanguage;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idEstimateInvoiceType: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n reminder?: IInvoiceReminder;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProductInvoice } from './IProductInvoice';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { IInvoiceReminder } from './IInvoiceReminder';\nimport { IFile } from './IFile';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence';\nimport { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';\nimport { AccountingCategoryId, InvoiceLanguage } from '../../Enum/CommercialManagement';\nimport { IReminder } from './IReminder';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n paymentType: string | null;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n accountingCategory: AccountingCategoryId;\n shouldPayTaxAfterDebit: boolean;\n language: InvoiceLanguage;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idEstimateInvoiceType: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n /** @deprecated use reminder2 */\n reminder?: IInvoiceReminder;\n reminder2?: IReminder | null;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ISociety } from './ISociety';
|
|
2
2
|
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
3
3
|
import { IInvoiceReminderAttachment } from './IInvoiceReminderAttachment';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use IReminder
|
|
6
|
+
*/
|
|
4
7
|
export interface IInvoiceReminder {
|
|
5
8
|
id?: number;
|
|
6
9
|
beforeThree: boolean | null;
|
|
@@ -1 +1 @@
|
|
|
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,MA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AAG,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 +1 @@
|
|
|
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\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
|
+
{"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"]}
|