@silexpert/core 1.0.88 → 1.0.90
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/BankCollectingState.d.ts +11 -0
- package/es/types/Enum/BankCollectingState.d.ts.map +1 -0
- package/es/types/Enum/BankCollectingState.js +26 -0
- package/es/types/Enum/BankCollectingState.js.map +1 -0
- 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/Phone.d.ts +38 -0
- package/es/types/Enum/Phone.d.ts.map +1 -0
- package/es/types/Enum/Phone.js +38 -0
- package/es/types/Enum/Phone.js.map +1 -0
- 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/file/TFile.d.ts +1 -0
- package/es/types/Interface/api/file/TFile.d.ts.map +1 -1
- package/es/types/Interface/api/file/TFile.js.map +1 -1
- 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/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/api/society/SocietyWithStatsCaParams.d.ts +1 -0
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.d.ts.map +1 -1
- package/es/types/Interface/api/society/SocietyWithStatsCaParams.js.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +2 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/Interface/models/ISociety.d.ts +2 -1
- package/es/types/Interface/models/ISociety.d.ts.map +1 -1
- package/es/types/Interface/models/ISociety.js.map +1 -1
- package/es/types/index.d.ts +6 -1
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +6 -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/BankCollectingState.js +28 -0
- package/js/types/Enum/BankCollectingState.js.map +1 -0
- 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/Phone.js +43 -0
- package/js/types/Enum/Phone.js.map +1 -0
- 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/Interface/api/taxDeadline/QueryTaxDeadline.js +5 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/index.js +87 -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/BankCollectingState.ts +24 -0
- package/ts/types/Enum/FolderFile.ts +1 -0
- package/ts/types/Enum/LetterRecoveryState.ts +22 -0
- package/ts/types/Enum/Phone.ts +37 -0
- 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/file/TFile.ts +2 -1
- package/ts/types/Interface/api/gedFile/updateGedFile.ts +3 -0
- package/ts/types/Interface/api/prestation/QueryPrestation.ts +9 -0
- package/ts/types/Interface/api/society/SocietyWithStatsCaParams.ts +2 -1
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +4 -1
- package/ts/types/Interface/models/ISociety.ts +2 -1
- package/ts/types/index.ts +6 -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
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const PhonePrefix = {
|
|
2
|
+
FRANCE: {
|
|
3
|
+
id: 1,
|
|
4
|
+
prefix: '+33',
|
|
5
|
+
text: '+33 (France)',
|
|
6
|
+
},
|
|
7
|
+
GUADELOUPE: {
|
|
8
|
+
id: 2,
|
|
9
|
+
prefix: '+590',
|
|
10
|
+
text: '+590 (Guadeloupe)',
|
|
11
|
+
},
|
|
12
|
+
GUYANE: {
|
|
13
|
+
id: 3,
|
|
14
|
+
prefix: '+594',
|
|
15
|
+
text: '+594 (Guyane)',
|
|
16
|
+
},
|
|
17
|
+
MARTINIQUE: {
|
|
18
|
+
id: 4,
|
|
19
|
+
prefix: '+596',
|
|
20
|
+
text: '+596 (Martinique)',
|
|
21
|
+
},
|
|
22
|
+
NEW_CALEDONIA: {
|
|
23
|
+
id: 5,
|
|
24
|
+
prefix: '+687',
|
|
25
|
+
text: '+687 (Nouvelle-Calédonie)',
|
|
26
|
+
},
|
|
27
|
+
REUNION: {
|
|
28
|
+
id: 6,
|
|
29
|
+
prefix: '+262',
|
|
30
|
+
text: '+262 (La Réunion)',
|
|
31
|
+
},
|
|
32
|
+
GERMANY: {
|
|
33
|
+
id: 7,
|
|
34
|
+
prefix: '+49',
|
|
35
|
+
text: '+49 (Allemagne)',
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -8,6 +8,7 @@ export interface SocietyWithStatsCaParams extends ISociety {
|
|
|
8
8
|
requiredInfos?: ReadInvalidFieldState[],
|
|
9
9
|
stateOfProgress?: string,
|
|
10
10
|
isBillingOk?: boolean,
|
|
11
|
-
|
|
11
|
+
labAcceptation?: boolean,
|
|
12
|
+
labValidationDate?: Date | null,
|
|
12
13
|
regulates?: IRegulate[]
|
|
13
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IsOptional, IsEnum } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { VatRegime, ToDoOrDone } from '../../..';
|
|
3
|
+
import { VatRegime, ToDoOrDone, BankCollectingState } from '../../..';
|
|
4
4
|
import { ComptaType } from '../../../Enum/ComptaType';
|
|
5
5
|
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
6
6
|
import { Supervision } from '../../../Enum/Supervision';
|
|
@@ -49,6 +49,9 @@ export class QueryTaxDeadline {
|
|
|
49
49
|
@ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })
|
|
50
50
|
idSupervisionState?: Supervision;
|
|
51
51
|
|
|
52
|
+
@ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })
|
|
53
|
+
bankCollectingState?: BankCollectingState[];
|
|
54
|
+
|
|
52
55
|
@ApiPropertyOptional({ description: 'Statuts de l\'IS/IR' })
|
|
53
56
|
@IsOptional()
|
|
54
57
|
@IsEnum(ToDoOrDone)
|
|
@@ -48,7 +48,7 @@ import { ISms } from './ISms';
|
|
|
48
48
|
import { IUser } from './IUser';
|
|
49
49
|
import { ISocietyEvent } from './ISocietyEvent';
|
|
50
50
|
import {
|
|
51
|
-
ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule,
|
|
51
|
+
ComptaType, CountryId, INafCode, IPartneredAccountantCompanyService, Sector, UnpaidDetail, IPartneredAccountantToSociety, IMail, IAccountingTransaction, IFecFile, IGedFile, IBusinessPartner, IPaymentSchedule, IRegulate,
|
|
52
52
|
} from '../..';
|
|
53
53
|
import { IBrandType } from './IBrandType';
|
|
54
54
|
|
|
@@ -199,6 +199,7 @@ export interface ISociety {
|
|
|
199
199
|
logs?: ILog[];
|
|
200
200
|
sms?: ISms[];
|
|
201
201
|
users?: IUser[];
|
|
202
|
+
regulates?: IRegulate[];
|
|
202
203
|
brandType?: IBrandType;
|
|
203
204
|
partneredAccountantCompaniesServices: IPartneredAccountantCompanyService[];
|
|
204
205
|
partneredAccountantRelated: IPartneredAccountantToSociety;
|
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';
|
|
@@ -459,6 +460,8 @@ export * from './Enum/ReportService';
|
|
|
459
460
|
export * from './Enum/RegulateType';
|
|
460
461
|
export * from './Enum/ProcessingState';
|
|
461
462
|
export * from './Enum/InpiType';
|
|
463
|
+
export * from './Enum/BankCollectingState';
|
|
464
|
+
export * from './Enum/Phone';
|
|
462
465
|
|
|
463
466
|
// Interfaces API
|
|
464
467
|
export * from './Interface/api/partnerTransactionType/ReadPartnerTransactionType';
|
|
@@ -548,7 +551,6 @@ export * from './Interface/api/accountingFiles/OcrValue';
|
|
|
548
551
|
export * from './Interface/api/stock/StockEntries';
|
|
549
552
|
export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
|
|
550
553
|
export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats';
|
|
551
|
-
export * from './Interface/api/pdf/BillingDocumentData';
|
|
552
554
|
export * from './Interface/api/dashboard/QueryBalanceBankAccount';
|
|
553
555
|
export * from './Interface/api/dashboard/QueryTopBuys';
|
|
554
556
|
export * from './Interface/api/dashboard/QueryTopProviders';
|
|
@@ -812,6 +814,8 @@ export * from './Interface/api/3cx/Read3cxSearch';
|
|
|
812
814
|
export * from './Interface/api/3cx/Create3cxLog';
|
|
813
815
|
export * from './Interface/api/amount/FormattedAmount';
|
|
814
816
|
export * from './Interface/api/customerActivity/CreateCustomerActivityReport';
|
|
817
|
+
export * from './Interface/api/customerActivity/Query';
|
|
818
|
+
export * from './Interface/api/customerActivity/Create';
|
|
815
819
|
export * from './Interface/api/alert/CreateAlert';
|
|
816
820
|
export * from './Interface/api/commercialManagement/Create';
|
|
817
821
|
export * from './Interface/api/commercialManagement/Read';
|
|
@@ -834,6 +838,7 @@ export * from './Interface/api/file/Read';
|
|
|
834
838
|
export * from './Interface/api/societyConfig/update';
|
|
835
839
|
export * from './Interface/api/wallet/UpdateAttribution';
|
|
836
840
|
export * from './Interface/api/prestation/CreatePrestation';
|
|
841
|
+
export * from './Interface/api/prestation/QueryPrestation';
|
|
837
842
|
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
838
843
|
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
839
844
|
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
|
-
};
|