@silexpert/core 2.0.103 → 2.0.105

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.
Files changed (45) hide show
  1. package/README.md +3 -3
  2. package/dist/types/Enum/BalanceSheet.d.ts +4 -4
  3. package/dist/types/Enum/BalanceSheet.d.ts.map +1 -1
  4. package/dist/types/Enum/BalanceSheet.js +23 -4
  5. package/dist/types/Enum/BalanceSheet.js.map +1 -1
  6. package/dist/types/Enum/EInvoicingStatusCode.d.ts +1 -1
  7. package/dist/types/Enum/EInvoicingStatusCode.d.ts.map +1 -1
  8. package/dist/types/Enum/EInvoicingStatusCode.js +1 -0
  9. package/dist/types/Enum/EInvoicingStatusCode.js.map +1 -1
  10. package/dist/types/Enum/Phone.d.ts +234 -0
  11. package/dist/types/Enum/Phone.d.ts.map +1 -1
  12. package/dist/types/Enum/Phone.js +234 -0
  13. package/dist/types/Enum/Phone.js.map +1 -1
  14. package/dist/types/Interface/api/acd/Vat.d.ts +1 -0
  15. package/dist/types/Interface/api/acd/Vat.d.ts.map +1 -1
  16. package/dist/types/Interface/api/acd/Vat.js.map +1 -1
  17. package/dist/types/Interface/api/commercialManagement/Read.d.ts +1 -1
  18. package/dist/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  19. package/dist/types/Interface/api/commercialManagement/Read.js.map +1 -1
  20. package/dist/types/Interface/api/docoon/Create.d.ts +6 -9
  21. package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
  22. package/dist/types/Interface/api/docoon/Create.js +27 -0
  23. package/dist/types/Interface/api/docoon/Create.js.map +1 -1
  24. package/dist/types/Interface/api/docoon/DocoonInvoice.d.ts +1 -1
  25. package/dist/types/Interface/api/docoon/DocoonInvoice.d.ts.map +1 -1
  26. package/dist/types/Interface/api/docoon/DocoonInvoice.js.map +1 -1
  27. package/dist/types/Interface/api/society/CreateTestSociety.d.ts +2 -2
  28. package/dist/types/Interface/api/society/CreateTestSociety.d.ts.map +1 -1
  29. package/dist/types/Interface/api/society/CreateTestSociety.js +9 -4
  30. package/dist/types/Interface/api/society/CreateTestSociety.js.map +1 -1
  31. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts +4 -1
  32. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts.map +1 -1
  33. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js +3 -0
  34. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js.map +1 -1
  35. package/package.json +19 -24
  36. package/ts/types/Enum/BalanceSheet.ts +23 -4
  37. package/ts/types/Enum/EInvoicingStatusCode.ts +2 -0
  38. package/ts/types/Enum/Phone.ts +234 -0
  39. package/ts/types/Interface/api/acd/Vat.ts +1 -0
  40. package/ts/types/Interface/api/commercialManagement/Read.ts +1 -1
  41. package/ts/types/Interface/api/docoon/Create.ts +19 -9
  42. package/ts/types/Interface/api/docoon/DocoonInvoice.ts +1 -1
  43. package/ts/types/Interface/api/society/CreateTestSociety.ts +10 -5
  44. package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +4 -1
  45. package/package-lock.json +0 -89
@@ -23,6 +23,7 @@ export type AcdCompte = {
23
23
  CodeTVA: string | null;
24
24
  CompteHorsTaxe: string | null;
25
25
  CptInactif: boolean;
26
+ CptInterdit: boolean;
26
27
  UniteQte1: Array<string> | null;
27
28
  UniteQte2: Array<string> | null;
28
29
  ActivationAnalytique: boolean;
@@ -239,7 +239,7 @@ export type ReadEInvoice = {
239
239
  direction: 'In' | 'Out';
240
240
  type: string;
241
241
  flow: 'CustomerInvoice' | 'SupplierInvoice';
242
- syntax: 'UBL' | 'CII' | 'Factur-X';
242
+ syntax: 'UBL' | 'CII' | 'Factur-X' | 'CDAR';
243
243
  category: 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';
244
244
  name: string;
245
245
  status: EInvoicingFLowStatus;
@@ -48,15 +48,6 @@ export type CreateStructure = CreateLegalEntityStructure & {
48
48
  parentStructureId: string;
49
49
  };
50
50
 
51
- export type RelaunchDirectoryLine = {
52
- directoryLineId: string;
53
- directoryLineInfo: {
54
- name: string;
55
- dateFrom: string;
56
- dateTo?: string | null;
57
- addressingIdentifier: string;
58
- };
59
- };
60
51
  export class ImportDocoonInvoice {
61
52
  @ApiPropertyOptional()
62
53
  @IsDateString()
@@ -107,3 +98,22 @@ export class AcceptEInvoice {
107
98
  @IsOptional()
108
99
  idThirdParty?: number;
109
100
  }
101
+
102
+ export class RelaunchDirectoryLine {
103
+ @ApiProperty()
104
+ @IsString()
105
+ directoryLineId: string;
106
+
107
+ @ApiProperty()
108
+ @IsString()
109
+ dateFrom: string;
110
+
111
+ @ApiPropertyOptional()
112
+ @IsString()
113
+ @IsOptional()
114
+ dateTo?: string;
115
+
116
+ @ApiProperty()
117
+ @IsString()
118
+ addressingIdentifier: string;
119
+ }
@@ -208,7 +208,7 @@ export type DocoonFlowAcknowledgementDetails = {
208
208
 
209
209
  export type DocoonFlowType = 'CustomerInvoice' | 'SupplierInvoice';
210
210
  export type DocoonFlowDirection = 'In' | 'Out';
211
- export type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X';
211
+ export type DocoonFlowSyntax = 'UBL' | 'CII' | 'Factur-X' | 'CDAR';
212
212
  export type DocoonFlowCategory = 'FLUX1' | 'FLUX2' | 'FLUX3' | 'FLUX4' | 'FLUX5' | 'FLUX6';
213
213
 
214
214
  export type DocoonFlowDocType = 'Original' | 'ReadableView';
@@ -1,3 +1,4 @@
1
+ import { IsDateString, IsOptional } from 'class-validator';
1
2
  import { ApiPropertyOptional } from '@nestjs/swagger';
2
3
  import { ComptaType } from '../../../Enum/ComptaType.js';
3
4
  import { VatRegime } from '../../../Enum/VatRegime.js';
@@ -22,11 +23,15 @@ export class CreateTestSocietyPrestation {
22
23
  }
23
24
 
24
25
  export class CreateTestSocietyExercice {
25
- @ApiPropertyOptional()
26
- startDate?: Date;
27
-
28
- @ApiPropertyOptional()
29
- endDate?: Date;
26
+ @ApiPropertyOptional({ type: String, format: 'date' })
27
+ @IsOptional()
28
+ @IsDateString()
29
+ startDate?: string;
30
+
31
+ @ApiPropertyOptional({ type: String, format: 'date' })
32
+ @IsOptional()
33
+ @IsDateString()
34
+ endDate?: string;
30
35
 
31
36
  @ApiPropertyOptional({ type: [CreateTestSocietyPrestation] })
32
37
  prestations?: CreateTestSocietyPrestation[];
@@ -1,5 +1,5 @@
1
1
  import { ISociety } from './ISociety.js';
2
- import { FinishProcess, IFile } from '../../index.js';
2
+ import { FinishProcess, IFile, ReadDocoonDirectoryLineFlowError } from '../../index.js';
3
3
 
4
4
  export class IEInvoicingKycAndMandate {
5
5
  id?: number;
@@ -14,6 +14,9 @@ export class IEInvoicingKycAndMandate {
14
14
  onboardingStatus?: string | null; // DRAFT | IN_PROGRESS | COMPLETED | REJECTED | ACTION_NEEDED | EXPIRED | CANCELLED
15
15
  sentToDocoon: boolean;
16
16
  docoonDirectoryLineId?: string | null; // id at docoon
17
+ docoonDirectoryLineStatus?: string | null; // ACTIVE | INACTIVE | PENDING | ERROR
18
+ docoonDirectoryLineStatusMessage?: string | null;
19
+ doccoonDirectoryLineStatusDetails?: ReadDocoonDirectoryLineFlowError | null;
17
20
  isCDAR: boolean;
18
21
  payloadRequest?: FinishProcess;
19
22
  payloadSignature?: FinishProcess;
package/package-lock.json DELETED
@@ -1,89 +0,0 @@
1
- {
2
- "name": "@silexpert/core",
3
- "version": "1.1.217",
4
- "lockfileVersion": 1,
5
- "requires": true,
6
- "dependencies": {
7
- "arg": {
8
- "version": "4.1.3",
9
- "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
10
- "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
11
- "dev": true
12
- },
13
- "axios": {
14
- "version": "0.22.0",
15
- "requires": {
16
- "follow-redirects": "^1.14.4"
17
- }
18
- },
19
- "babel-plugin-replace-import-extension": {
20
- "version": "1.1.3",
21
- "resolved": "https://registry.npmjs.org/babel-plugin-replace-import-extension/-/babel-plugin-replace-import-extension-1.1.3.tgz",
22
- "integrity": "sha512-NmHOpGOLqSnZgefu/rmCviGIlp51WLGk8OY9CiQmp9qrpBy6jFVNvxIP4jR9WXZlNOPfBdGpuhPJe8upV4DTGw==",
23
- "dev": true
24
- },
25
- "buffer-from": {
26
- "version": "1.1.2",
27
- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
28
- "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
29
- "dev": true
30
- },
31
- "create-require": {
32
- "version": "1.1.1",
33
- "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
34
- "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==",
35
- "dev": true
36
- },
37
- "diff": {
38
- "version": "4.0.2",
39
- "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
40
- "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
41
- "dev": true
42
- },
43
- "follow-redirects": {
44
- "version": "1.15.3",
45
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
46
- "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q=="
47
- },
48
- "make-error": {
49
- "version": "1.3.6",
50
- "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
51
- "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
52
- "dev": true
53
- },
54
- "source-map": {
55
- "version": "0.6.1",
56
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
57
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
58
- "dev": true
59
- },
60
- "source-map-support": {
61
- "version": "0.5.21",
62
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
63
- "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
64
- "dev": true,
65
- "requires": {
66
- "buffer-from": "^1.0.0",
67
- "source-map": "^0.6.0"
68
- }
69
- },
70
- "ts-node": {
71
- "version": "9.1.1",
72
- "dev": true,
73
- "requires": {
74
- "arg": "^4.1.0",
75
- "create-require": "^1.1.0",
76
- "diff": "^4.0.1",
77
- "make-error": "^1.1.1",
78
- "source-map-support": "^0.5.17",
79
- "yn": "3.1.1"
80
- }
81
- },
82
- "yn": {
83
- "version": "3.1.1",
84
- "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
85
- "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
86
- "dev": true
87
- }
88
- }
89
- }