@silexpert/core 1.0.87 → 1.0.89
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/es/api/resources/CustomerActivity.d.ts +3 -0
- package/es/api/resources/CustomerActivity.d.ts.map +1 -1
- package/es/api/resources/CustomerActivity.js +6 -0
- package/es/api/resources/CustomerActivity.js.map +1 -1
- package/es/api/resources/prestation.d.ts +5 -2
- package/es/api/resources/prestation.d.ts.map +1 -1
- package/es/api/resources/prestation.js +22 -0
- package/es/api/resources/prestation.js.map +1 -1
- package/es/types/Enum/FolderFile.d.ts +1 -0
- package/es/types/Enum/FolderFile.d.ts.map +1 -1
- package/es/types/Enum/FolderFile.js +1 -0
- package/es/types/Enum/FolderFile.js.map +1 -1
- package/es/types/Enum/LetterRecoveryState.d.ts +23 -0
- package/es/types/Enum/LetterRecoveryState.d.ts.map +1 -0
- package/es/types/Enum/LetterRecoveryState.js +23 -0
- package/es/types/Enum/LetterRecoveryState.js.map +1 -0
- package/es/types/Enum/Log.d.ts +2 -1
- package/es/types/Enum/Log.d.ts.map +1 -1
- package/es/types/Enum/Log.js +1 -0
- package/es/types/Enum/Log.js.map +1 -1
- package/es/types/Enum/TimeCounterType.d.ts +13 -6
- package/es/types/Enum/TimeCounterType.d.ts.map +1 -1
- package/es/types/Enum/TimeCounterType.js +13 -6
- package/es/types/Enum/TimeCounterType.js.map +1 -1
- package/es/types/Enum/TypePayment.d.ts +9 -0
- package/es/types/Enum/TypePayment.d.ts.map +1 -1
- package/es/types/Enum/TypePayment.js +10 -0
- package/es/types/Enum/TypePayment.js.map +1 -1
- package/es/types/Interface/api/customerActivity/Create.d.ts +4 -0
- package/es/types/Interface/api/customerActivity/Create.d.ts.map +1 -0
- package/es/types/Interface/api/customerActivity/Create.js +19 -0
- package/es/types/Interface/api/customerActivity/Create.js.map +1 -0
- package/es/types/Interface/api/customerActivity/Query.d.ts +4 -0
- package/es/types/Interface/api/customerActivity/Query.d.ts.map +1 -0
- package/es/types/Interface/api/customerActivity/Query.js +20 -0
- package/es/types/Interface/api/customerActivity/Query.js.map +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts +1 -0
- package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
- package/es/types/Interface/api/gedFile/updateGedFile.js +4 -0
- package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/es/types/Interface/api/iDocus/iDocus.d.ts +3 -2
- package/es/types/Interface/api/iDocus/iDocus.d.ts.map +1 -1
- package/es/types/Interface/api/iDocus/iDocus.js.map +1 -1
- package/es/types/Interface/api/prestation/QueryPrestation.d.ts +4 -0
- package/es/types/Interface/api/prestation/QueryPrestation.d.ts.map +1 -0
- package/es/types/Interface/api/prestation/QueryPrestation.js +20 -0
- package/es/types/Interface/api/prestation/QueryPrestation.js.map +1 -0
- package/es/types/Interface/models/IInpiPayment.d.ts +1 -1
- package/es/types/Interface/models/IInpiPayment.js.map +1 -1
- package/es/types/index.d.ts +4 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -1
- package/es/types/index.js.map +1 -1
- package/js/api/resources/CustomerActivity.js +10 -0
- package/js/api/resources/CustomerActivity.js.map +1 -1
- package/js/api/resources/prestation.js +20 -0
- package/js/api/resources/prestation.js.map +1 -1
- package/js/types/Enum/FolderFile.js +1 -0
- package/js/types/Enum/FolderFile.js.map +1 -1
- package/js/types/Enum/LetterRecoveryState.js +28 -0
- package/js/types/Enum/LetterRecoveryState.js.map +1 -0
- package/js/types/Enum/Log.js +1 -0
- package/js/types/Enum/Log.js.map +1 -1
- package/js/types/Enum/TimeCounterType.js +13 -6
- package/js/types/Enum/TimeCounterType.js.map +1 -1
- package/js/types/Enum/TypePayment.js +12 -0
- package/js/types/Enum/TypePayment.js.map +1 -1
- package/js/types/Interface/api/customerActivity/Create.js +29 -0
- package/js/types/Interface/api/customerActivity/Create.js.map +1 -0
- package/js/types/Interface/api/customerActivity/Query.js +29 -0
- package/js/types/Interface/api/customerActivity/Query.js.map +1 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js +2 -0
- package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
- package/js/types/Interface/api/prestation/QueryPrestation.js +29 -0
- package/js/types/Interface/api/prestation/QueryPrestation.js.map +1 -0
- package/js/types/index.js +63 -27
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CustomerActivity.ts +9 -0
- package/ts/api/resources/prestation.ts +28 -2
- package/ts/types/Enum/FolderFile.ts +1 -0
- package/ts/types/Enum/LetterRecoveryState.ts +22 -0
- package/ts/types/Enum/Log.ts +1 -0
- package/ts/types/Enum/TimeCounterType.ts +13 -6
- package/ts/types/Enum/TypePayment.ts +11 -1
- package/ts/types/Interface/api/customerActivity/Create.ts +8 -0
- package/ts/types/Interface/api/customerActivity/Query.ts +9 -0
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +3 -0
- package/ts/types/Interface/api/iDocus/iDocus.ts +3 -2
- package/ts/types/Interface/api/prestation/QueryPrestation.ts +9 -0
- package/ts/types/Interface/models/IInpiPayment.ts +1 -1
- package/ts/types/index.ts +4 -1
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +0 -46
- package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +0 -1
- package/es/types/Interface/api/pdf/BillingDocumentData.js +0 -2
- package/es/types/Interface/api/pdf/BillingDocumentData.js.map +0 -1
- package/js/types/Interface/api/pdf/BillingDocumentData.js +0 -6
- package/js/types/Interface/api/pdf/BillingDocumentData.js.map +0 -1
- package/ts/types/Interface/api/pdf/BillingDocumentData.ts +0 -46
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const LetterRecoveryState = {
|
|
2
|
+
N_A: {
|
|
3
|
+
id: 0,
|
|
4
|
+
name: 'N/A',
|
|
5
|
+
},
|
|
6
|
+
MAIL_OK: {
|
|
7
|
+
id: 1,
|
|
8
|
+
name: 'Mail ok',
|
|
9
|
+
},
|
|
10
|
+
REFUS_M: {
|
|
11
|
+
id: 2,
|
|
12
|
+
name: 'Refus (m)',
|
|
13
|
+
},
|
|
14
|
+
LETTER_OK: {
|
|
15
|
+
id: 3,
|
|
16
|
+
name: 'Courrier ok',
|
|
17
|
+
},
|
|
18
|
+
REFUS_C: {
|
|
19
|
+
id: 4,
|
|
20
|
+
name: 'Refus (c)',
|
|
21
|
+
},
|
|
22
|
+
};
|
package/ts/types/Enum/Log.ts
CHANGED
|
@@ -201,42 +201,49 @@ export const TimeCounterType = {
|
|
|
201
201
|
id: 29,
|
|
202
202
|
label: 'Entretien physique',
|
|
203
203
|
aberrantTime: 30,
|
|
204
|
-
limitedRoles:
|
|
204
|
+
limitedRoles: null,
|
|
205
205
|
color: 'success',
|
|
206
206
|
},
|
|
207
207
|
VISIO_UPKEEP: {
|
|
208
208
|
id: 30,
|
|
209
209
|
label: 'Entretien visio-conférence',
|
|
210
210
|
aberrantTime: 30,
|
|
211
|
-
limitedRoles:
|
|
211
|
+
limitedRoles: null,
|
|
212
212
|
color: 'success',
|
|
213
213
|
},
|
|
214
214
|
PREQUALIF_TEL: {
|
|
215
215
|
id: 31,
|
|
216
216
|
label: 'Pré-qualification téléphonique',
|
|
217
217
|
aberrantTime: 30,
|
|
218
|
-
limitedRoles:
|
|
218
|
+
limitedRoles: null,
|
|
219
219
|
color: 'success',
|
|
220
220
|
},
|
|
221
221
|
HUMAN_RESSOURCES_POINT: {
|
|
222
222
|
id: 32,
|
|
223
223
|
label: 'Point RH',
|
|
224
224
|
aberrantTime: 30,
|
|
225
|
-
limitedRoles:
|
|
225
|
+
limitedRoles: null,
|
|
226
226
|
color: 'cerulean',
|
|
227
227
|
},
|
|
228
228
|
ADMINISTRATIV: {
|
|
229
229
|
id: 33,
|
|
230
230
|
label: 'Administratif',
|
|
231
231
|
aberrantTime: 30,
|
|
232
|
-
limitedRoles:
|
|
232
|
+
limitedRoles: null,
|
|
233
233
|
color: 'iris',
|
|
234
234
|
},
|
|
235
235
|
INTEGRATION_DAY: {
|
|
236
236
|
id: 34,
|
|
237
237
|
label: 'Journée d’intégration',
|
|
238
238
|
aberrantTime: 30,
|
|
239
|
-
limitedRoles:
|
|
239
|
+
limitedRoles: null,
|
|
240
240
|
color: 'orange',
|
|
241
241
|
},
|
|
242
|
+
COMMERCIAL_MISSION: {
|
|
243
|
+
id: 35,
|
|
244
|
+
label: 'Missions Commerciales',
|
|
245
|
+
aberrantTime: 60,
|
|
246
|
+
limitedRoles: null,
|
|
247
|
+
color: 'error',
|
|
248
|
+
},
|
|
242
249
|
};
|
|
@@ -6,4 +6,14 @@ export enum TypePayment {
|
|
|
6
6
|
CCREDIT = 5,
|
|
7
7
|
CTICKET = 6,
|
|
8
8
|
CVOUCHER = 7,
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export enum TypePaymentCashBased {
|
|
12
|
+
CCARD = 511001,
|
|
13
|
+
CTICKET = 511002,
|
|
14
|
+
CVOUCHER = 511002,
|
|
15
|
+
CCREDIT = 511003,
|
|
16
|
+
CCHECK = 511004,
|
|
17
|
+
CTRANSFER = 511005,
|
|
18
|
+
CCASH = 530,
|
|
19
|
+
}
|
|
@@ -23,13 +23,14 @@ export type HookPayload = {
|
|
|
23
23
|
|
|
24
24
|
type Document = {
|
|
25
25
|
external_id: number, // L'Id du document chez vous
|
|
26
|
-
|
|
26
|
+
file_url: string, // Le base 64 du document, on peut aussi fonctionner par URL
|
|
27
27
|
document_type: 'purchases' | 'sales' | 'bank', // Le type de doc
|
|
28
28
|
sender: string, // Votre client
|
|
29
|
-
|
|
29
|
+
callback_url: string, // L'URL sur laquelle vous envoyer le callback une fois le traitement fini
|
|
30
30
|
account_numbers?: string[] // Les comptes bancaires à traiter sur le relevé (si bank)
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export type PayloadIDocus = {
|
|
34
34
|
document: Document
|
|
35
|
+
status?: number // retour de l'envoi à I Docus
|
|
35
36
|
};
|
package/ts/types/index.ts
CHANGED
|
@@ -375,6 +375,7 @@ export * from './Enum/Vehicle';
|
|
|
375
375
|
export * from './Enum/VehicleType';
|
|
376
376
|
export * from './Enum/BalanceSheet';
|
|
377
377
|
export * from './Enum/LetterState';
|
|
378
|
+
export * from './Enum/LetterRecoveryState';
|
|
378
379
|
export * from './Enum/SponsorshipState';
|
|
379
380
|
export * from './Enum/Ged';
|
|
380
381
|
export * from './Enum/SendInBlueList';
|
|
@@ -548,7 +549,6 @@ export * from './Interface/api/accountingFiles/OcrValue';
|
|
|
548
549
|
export * from './Interface/api/stock/StockEntries';
|
|
549
550
|
export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
|
|
550
551
|
export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats';
|
|
551
|
-
export * from './Interface/api/pdf/BillingDocumentData';
|
|
552
552
|
export * from './Interface/api/dashboard/QueryBalanceBankAccount';
|
|
553
553
|
export * from './Interface/api/dashboard/QueryTopBuys';
|
|
554
554
|
export * from './Interface/api/dashboard/QueryTopProviders';
|
|
@@ -812,6 +812,8 @@ export * from './Interface/api/3cx/Read3cxSearch';
|
|
|
812
812
|
export * from './Interface/api/3cx/Create3cxLog';
|
|
813
813
|
export * from './Interface/api/amount/FormattedAmount';
|
|
814
814
|
export * from './Interface/api/customerActivity/CreateCustomerActivityReport';
|
|
815
|
+
export * from './Interface/api/customerActivity/Query';
|
|
816
|
+
export * from './Interface/api/customerActivity/Create';
|
|
815
817
|
export * from './Interface/api/alert/CreateAlert';
|
|
816
818
|
export * from './Interface/api/commercialManagement/Create';
|
|
817
819
|
export * from './Interface/api/commercialManagement/Read';
|
|
@@ -834,6 +836,7 @@ export * from './Interface/api/file/Read';
|
|
|
834
836
|
export * from './Interface/api/societyConfig/update';
|
|
835
837
|
export * from './Interface/api/wallet/UpdateAttribution';
|
|
836
838
|
export * from './Interface/api/prestation/CreatePrestation';
|
|
839
|
+
export * from './Interface/api/prestation/QueryPrestation';
|
|
837
840
|
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
838
841
|
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
839
842
|
export * from './Interface/api/wallet/QueryWallet';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ISociety } from '../../models/ISociety';
|
|
2
|
-
interface BillingDocumentItemVat {
|
|
3
|
-
computeMethod: 'percentage';
|
|
4
|
-
vatPercentageValue: number;
|
|
5
|
-
}
|
|
6
|
-
export interface BillingDocumentItem {
|
|
7
|
-
name: string;
|
|
8
|
-
comment: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
discount: number;
|
|
11
|
-
code: string;
|
|
12
|
-
price: number;
|
|
13
|
-
unit: string;
|
|
14
|
-
vat: BillingDocumentItemVat;
|
|
15
|
-
}
|
|
16
|
-
export interface BillingDocumentRecipient {
|
|
17
|
-
id?: number;
|
|
18
|
-
fullname: string | null;
|
|
19
|
-
company: string;
|
|
20
|
-
address?: string | null;
|
|
21
|
-
zipCode?: string | null;
|
|
22
|
-
city?: string | null;
|
|
23
|
-
phone?: string | null;
|
|
24
|
-
nTva?: string | null;
|
|
25
|
-
thirdPartyCountry: {
|
|
26
|
-
name: string;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export interface BillingDocumentReferences {
|
|
30
|
-
createdDate: Date | null;
|
|
31
|
-
ref: string | null;
|
|
32
|
-
paymentPlan: string | null;
|
|
33
|
-
dueDate: Date | null;
|
|
34
|
-
}
|
|
35
|
-
export declare type BillingDocumentData = {
|
|
36
|
-
society: Partial<ISociety>;
|
|
37
|
-
deposit: number;
|
|
38
|
-
template: number | null;
|
|
39
|
-
generalComment: string | null;
|
|
40
|
-
generalDiscount: number | null;
|
|
41
|
-
recipient: BillingDocumentRecipient;
|
|
42
|
-
references: BillingDocumentReferences;
|
|
43
|
-
items: BillingDocumentItem[];
|
|
44
|
-
};
|
|
45
|
-
export {};
|
|
46
|
-
//# sourceMappingURL=BillingDocumentData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,sBAAsB,CAAC;CAC7B;AACD,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAA;CACF;AACD,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB;AAED,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,wBAAwB,CAAC;IACpC,UAAU,EAAE,yBAAyB,CAAC;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\nexport interface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\nexport interface BillingDocumentRecipient {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n}\nexport interface BillingDocumentReferences {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: BillingDocumentRecipient;\n references: BillingDocumentReferences,\n items: BillingDocumentItem[]\n};"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingDocumentData.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ISociety } from '../../models/ISociety';
|
|
2
|
-
|
|
3
|
-
interface BillingDocumentItemVat {
|
|
4
|
-
computeMethod: 'percentage',
|
|
5
|
-
vatPercentageValue: number,
|
|
6
|
-
}
|
|
7
|
-
export interface BillingDocumentItem {
|
|
8
|
-
name: string,
|
|
9
|
-
comment: string,
|
|
10
|
-
quantity: number,
|
|
11
|
-
discount: number,
|
|
12
|
-
code: string,
|
|
13
|
-
price: number,
|
|
14
|
-
unit: string,
|
|
15
|
-
vat: BillingDocumentItemVat,
|
|
16
|
-
}
|
|
17
|
-
export interface BillingDocumentRecipient {
|
|
18
|
-
id?: number;
|
|
19
|
-
fullname: string | null;
|
|
20
|
-
company: string;
|
|
21
|
-
address?: string | null;
|
|
22
|
-
zipCode?: string | null;
|
|
23
|
-
city?: string | null;
|
|
24
|
-
phone?: string | null;
|
|
25
|
-
nTva?: string | null;
|
|
26
|
-
thirdPartyCountry: {
|
|
27
|
-
name: string;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export interface BillingDocumentReferences {
|
|
31
|
-
createdDate: Date | null;
|
|
32
|
-
ref: string | null;
|
|
33
|
-
paymentPlan: string | null;
|
|
34
|
-
dueDate: Date | null;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type BillingDocumentData = {
|
|
38
|
-
society: Partial<ISociety>,
|
|
39
|
-
deposit: number;
|
|
40
|
-
template: number | null;
|
|
41
|
-
generalComment: string | null;
|
|
42
|
-
generalDiscount: number | null;
|
|
43
|
-
recipient: BillingDocumentRecipient;
|
|
44
|
-
references: BillingDocumentReferences,
|
|
45
|
-
items: BillingDocumentItem[]
|
|
46
|
-
};
|