@silexpert/core 1.0.30 → 1.0.34
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/Dashboard.d.ts +2 -1
- package/es/api/resources/Dashboard.d.ts.map +1 -1
- package/es/api/resources/Dashboard.js +3 -0
- package/es/api/resources/Dashboard.js.map +1 -1
- package/es/api/resources/Qonto.js +1 -1
- package/es/api/resources/Qonto.js.map +1 -1
- package/es/types/Enum/CommercialManagement.d.ts +1 -1
- package/es/types/Enum/CommercialManagement.d.ts.map +1 -1
- package/es/types/Enum/CommercialManagement.js +1 -1
- package/es/types/Enum/CommercialManagement.js.map +1 -1
- package/es/types/Enum/CustomerVat.d.ts +24 -0
- package/es/types/Enum/CustomerVat.d.ts.map +1 -0
- package/es/types/Enum/CustomerVat.js +26 -0
- package/es/types/Enum/CustomerVat.js.map +1 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts +1 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.d.ts.map +1 -1
- package/es/types/Interface/api/3cx/Query3cxSearch.js +6 -0
- package/es/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts +5 -0
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.js +24 -0
- package/es/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -0
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts +13 -0
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.d.ts.map +1 -0
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.js +2 -0
- package/es/types/Interface/api/dashboard/ReadVatDisbursed.js.map +1 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts +1 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryPaginatedMail.js +6 -0
- package/es/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/index.d.ts +3 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +3 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Dashboard.js +6 -0
- package/js/api/resources/Dashboard.js.map +1 -1
- package/js/api/resources/Qonto.js +1 -1
- package/js/api/resources/Qonto.js.map +1 -1
- package/js/types/Enum/CommercialManagement.js +1 -1
- package/js/types/Enum/CommercialManagement.js.map +1 -1
- package/js/types/Enum/CustomerVat.js +34 -0
- package/js/types/Enum/CustomerVat.js.map +1 -0
- package/js/types/Interface/api/3cx/Query3cxSearch.js +2 -0
- package/js/types/Interface/api/3cx/Query3cxSearch.js.map +1 -1
- package/js/types/Interface/api/dashboard/QueryVatDisbursed.js +31 -0
- package/js/types/Interface/api/dashboard/QueryVatDisbursed.js.map +1 -0
- package/js/types/Interface/api/dashboard/ReadVatDisbursed.js +6 -0
- package/js/types/Interface/api/dashboard/ReadVatDisbursed.js.map +1 -0
- package/js/types/Interface/api/mail/QueryPaginatedMail.js +2 -0
- package/js/types/Interface/api/mail/QueryPaginatedMail.js.map +1 -1
- package/js/types/index.js +36 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Dashboard.ts +6 -0
- package/ts/api/resources/Qonto.ts +1 -1
- package/ts/types/Enum/CommercialManagement.ts +1 -1
- package/ts/types/Enum/CustomerVat.ts +24 -0
- package/ts/types/Interface/api/3cx/Query3cxSearch.ts +5 -0
- package/ts/types/Interface/api/dashboard/QueryVatDisbursed.ts +12 -0
- package/ts/types/Interface/api/dashboard/ReadVatDisbursed.ts +14 -0
- package/ts/types/Interface/api/mail/QueryPaginatedMail.ts +5 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +1 -1
- package/ts/types/index.ts +3 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export enum CustomerVatType {
|
|
2
|
+
VAT_REFUND = 1,
|
|
3
|
+
VAT_TO_PAY = 2,
|
|
4
|
+
VAT_REPORT = 3,
|
|
5
|
+
VAT_TO_NIL = 4,
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export enum CustomerVatState {
|
|
9
|
+
WAITING = 0,
|
|
10
|
+
SIE_ACCEPTED = 1,
|
|
11
|
+
SIE_SENT = 2,
|
|
12
|
+
PROBLEM_CLIENT = 3,
|
|
13
|
+
DID_BY_CLIENT = 4,
|
|
14
|
+
NON_ATTRIBUTED = 5,
|
|
15
|
+
SENT_TO_CLIENT = 6,
|
|
16
|
+
REVIVE_CLIENT = 7,
|
|
17
|
+
BACK_IN_PROGESS = 8,
|
|
18
|
+
UNPAID = 9,
|
|
19
|
+
SIE_PROBLEM = 10,
|
|
20
|
+
ACCEPTED_BY_CLIENT = 11,
|
|
21
|
+
REJECTED_BY_CLIENT = 12,
|
|
22
|
+
TO_DO = 13,
|
|
23
|
+
WAITING_CLIENT = 14,
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';
|
|
2
|
+
|
|
3
|
+
export type VatDisbursedWithFutureDate = {
|
|
4
|
+
todo: boolean;
|
|
5
|
+
amount: number;
|
|
6
|
+
state: CustomerVatState;
|
|
7
|
+
type: CustomerVatType;
|
|
8
|
+
date: string
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export type ReadVatDisbursed = {
|
|
12
|
+
data: VatDisbursedWithFutureDate[];
|
|
13
|
+
total: number;
|
|
14
|
+
};
|
|
@@ -64,7 +64,7 @@ export interface IEstimateInvoice {
|
|
|
64
64
|
assetRelatedToThisEstimateInvoice?: IEstimateInvoice;
|
|
65
65
|
estimateInvoiceForThisAsset?: IEstimateInvoice;
|
|
66
66
|
estimateInvoiceForThisRepeat?: IEstimateInvoice;
|
|
67
|
-
|
|
67
|
+
reminder?: IInvoiceReminder;
|
|
68
68
|
relatedInvoice?: IEstimateInvoice;
|
|
69
69
|
recurrence?: IInvoiceRecurrence;
|
|
70
70
|
file?: IFile;
|
package/ts/types/index.ts
CHANGED
|
@@ -438,6 +438,7 @@ export * from './Enum/Call';
|
|
|
438
438
|
export * from './Enum/ConnectionError';
|
|
439
439
|
export * from './Enum/RecurrenceType';
|
|
440
440
|
export * from './Enum/Rules';
|
|
441
|
+
export * from './Enum/CustomerVat';
|
|
441
442
|
|
|
442
443
|
// Interfaces API
|
|
443
444
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -523,6 +524,8 @@ export * from './Interface/api/pdf/BillingDocumentData';
|
|
|
523
524
|
export * from './Interface/api/dashboard/QueryBalanceBankAccount';
|
|
524
525
|
export * from './Interface/api/dashboard/QueryTopBuys';
|
|
525
526
|
export * from './Interface/api/dashboard/QueryTopProviders';
|
|
527
|
+
export * from './Interface/api/dashboard/QueryVatDisbursed';
|
|
528
|
+
export * from './Interface/api/dashboard/ReadVatDisbursed';
|
|
526
529
|
export * from './Interface/api/dashboard/ReadBalanceBankAccount';
|
|
527
530
|
export * from './Interface/api/dashboard/QueryDeadline';
|
|
528
531
|
export * from './Interface/api/dashboard/ReadTopBuys';
|