@factpulse/sdk 3.0.18 → 3.0.19
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/.openapi-generator/FILES +2 -2
- package/CHANGELOG.md +3 -3
- package/dist/esm/models/{facture-electronique-rest-api-schemas-convert-validation-error.d.ts → facture-electronique-rest-api-schemas-ereporting-validation-error.d.ts} +6 -14
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/validate-ereporting-response.d.ts +3 -3
- package/dist/esm/models/validation-info.d.ts +2 -2
- package/dist/models/{facture-electronique-rest-api-schemas-convert-validation-error.d.ts → facture-electronique-rest-api-schemas-ereporting-validation-error.d.ts} +6 -14
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/validate-ereporting-response.d.ts +3 -3
- package/dist/models/validation-info.d.ts +2 -2
- package/docs/FactureElectroniqueRestApiSchemasEreportingValidationError.md +25 -0
- package/docs/ValidateEReportingResponse.md +2 -2
- package/docs/ValidationInfo.md +1 -1
- package/models/{facture-electronique-rest-api-schemas-convert-validation-error.ts → facture-electronique-rest-api-schemas-ereporting-validation-error.ts} +6 -14
- package/models/index.ts +1 -1
- package/models/validate-ereporting-response.ts +3 -3
- package/models/validation-info.ts +2 -2
- package/package.json +1 -1
- package/docs/FactureElectroniqueRestApiSchemasConvertValidationError.md +0 -35
- /package/dist/esm/models/{facture-electronique-rest-api-schemas-convert-validation-error.js → facture-electronique-rest-api-schemas-ereporting-validation-error.js} +0 -0
- /package/dist/models/{facture-electronique-rest-api-schemas-convert-validation-error.js → facture-electronique-rest-api-schemas-ereporting-validation-error.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -166,7 +166,7 @@ docs/ExtractionInfo.md
|
|
|
166
166
|
docs/FacturXInvoice.md
|
|
167
167
|
docs/FacturXPDFInfo.md
|
|
168
168
|
docs/FactureElectroniqueModelsInvoiceTypeCode.md
|
|
169
|
-
docs/
|
|
169
|
+
docs/FactureElectroniqueRestApiSchemasEreportingValidationError.md
|
|
170
170
|
docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
|
|
171
171
|
docs/FieldStatus.md
|
|
172
172
|
docs/FileInfo.md
|
|
@@ -449,7 +449,7 @@ models/extraction-info.ts
|
|
|
449
449
|
models/factur-xinvoice.ts
|
|
450
450
|
models/factur-xpdfinfo.ts
|
|
451
451
|
models/facture-electronique-models-invoice-type-code.ts
|
|
452
|
-
models/facture-electronique-rest-api-schemas-
|
|
452
|
+
models/facture-electronique-rest-api-schemas-ereporting-validation-error.ts
|
|
453
453
|
models/facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts
|
|
454
454
|
models/field-status.ts
|
|
455
455
|
models/file-info.ts
|
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [3.0.
|
|
10
|
+
## [3.0.19] - 2026-01-14
|
|
11
11
|
|
|
12
12
|
### Added
|
|
13
13
|
- Version initiale du SDK typescript
|
|
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
24
24
|
- Guide d'authentification JWT
|
|
25
25
|
- Configuration avancée (timeout, proxy, debug)
|
|
26
26
|
|
|
27
|
-
[Unreleased]: https://github.com/factpulse/sdk-typescript/compare/v3.0.
|
|
28
|
-
[3.0.
|
|
27
|
+
[Unreleased]: https://github.com/factpulse/sdk-typescript/compare/v3.0.19...HEAD
|
|
28
|
+
[3.0.19]: https://github.com/factpulse/sdk-typescript/releases/tag/v3.0.19
|
|
@@ -10,24 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Validation error detail.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface FactureElectroniqueRestApiSchemasEreportingValidationError {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Field path with error
|
|
18
18
|
*/
|
|
19
|
-
'
|
|
20
|
-
'bt_code'?: string | null;
|
|
19
|
+
'field': string;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
'severity': string;
|
|
25
|
-
/**
|
|
26
|
-
* Message d\'erreur
|
|
21
|
+
* Error message
|
|
27
22
|
*/
|
|
28
23
|
'message': string;
|
|
29
|
-
'
|
|
30
|
-
'suggested_field'?: string | null;
|
|
31
|
-
'explanation'?: string | null;
|
|
32
|
-
'confidence'?: number | null;
|
|
24
|
+
'code'?: string | null;
|
|
33
25
|
}
|
|
@@ -140,7 +140,7 @@ export * from './extraction-info';
|
|
|
140
140
|
export * from './factur-xinvoice';
|
|
141
141
|
export * from './factur-xpdfinfo';
|
|
142
142
|
export * from './facture-electronique-models-invoice-type-code';
|
|
143
|
-
export * from './facture-electronique-rest-api-schemas-
|
|
143
|
+
export * from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
144
144
|
export * from './facture-electronique-rest-api-schemas-processing-chorus-pro-credentials';
|
|
145
145
|
export * from './field-status';
|
|
146
146
|
export * from './file-info';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -140,7 +140,7 @@ export * from './extraction-info';
|
|
|
140
140
|
export * from './factur-xinvoice';
|
|
141
141
|
export * from './factur-xpdfinfo';
|
|
142
142
|
export * from './facture-electronique-models-invoice-type-code';
|
|
143
|
-
export * from './facture-electronique-rest-api-schemas-
|
|
143
|
+
export * from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
144
144
|
export * from './facture-electronique-rest-api-schemas-processing-chorus-pro-credentials';
|
|
145
145
|
export * from './field-status';
|
|
146
146
|
export * from './file-info';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { FactureElectroniqueRestApiSchemasEreportingValidationError } from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
13
13
|
/**
|
|
14
14
|
* Response after validating e-reporting data.
|
|
15
15
|
*/
|
|
@@ -29,11 +29,11 @@ export interface ValidateEReportingResponse {
|
|
|
29
29
|
/**
|
|
30
30
|
* List of validation errors (if any)
|
|
31
31
|
*/
|
|
32
|
-
'errors'?: Array<
|
|
32
|
+
'errors'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
33
33
|
/**
|
|
34
34
|
* List of validation warnings (if any)
|
|
35
35
|
*/
|
|
36
|
-
'warnings'?: Array<
|
|
36
|
+
'warnings'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
37
37
|
/**
|
|
38
38
|
* Status message
|
|
39
39
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ValidationError } from './validation-error';
|
|
13
13
|
/**
|
|
14
14
|
* Informations sur la validation.
|
|
15
15
|
*/
|
|
@@ -34,5 +34,5 @@ export interface ValidationInfo {
|
|
|
34
34
|
* XML embarque dans PDF
|
|
35
35
|
*/
|
|
36
36
|
'xml_embedded'?: boolean;
|
|
37
|
-
'errors'?: Array<
|
|
37
|
+
'errors'?: Array<ValidationError>;
|
|
38
38
|
}
|
|
@@ -10,24 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Validation error detail.
|
|
14
14
|
*/
|
|
15
|
-
export interface
|
|
15
|
+
export interface FactureElectroniqueRestApiSchemasEreportingValidationError {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Field path with error
|
|
18
18
|
*/
|
|
19
|
-
'
|
|
20
|
-
'bt_code'?: string | null;
|
|
19
|
+
'field': string;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
'severity': string;
|
|
25
|
-
/**
|
|
26
|
-
* Message d\'erreur
|
|
21
|
+
* Error message
|
|
27
22
|
*/
|
|
28
23
|
'message': string;
|
|
29
|
-
'
|
|
30
|
-
'suggested_field'?: string | null;
|
|
31
|
-
'explanation'?: string | null;
|
|
32
|
-
'confidence'?: number | null;
|
|
24
|
+
'code'?: string | null;
|
|
33
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ export * from './extraction-info';
|
|
|
140
140
|
export * from './factur-xinvoice';
|
|
141
141
|
export * from './factur-xpdfinfo';
|
|
142
142
|
export * from './facture-electronique-models-invoice-type-code';
|
|
143
|
-
export * from './facture-electronique-rest-api-schemas-
|
|
143
|
+
export * from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
144
144
|
export * from './facture-electronique-rest-api-schemas-processing-chorus-pro-credentials';
|
|
145
145
|
export * from './field-status';
|
|
146
146
|
export * from './file-info';
|
package/dist/models/index.js
CHANGED
|
@@ -156,7 +156,7 @@ __exportStar(require("./extraction-info"), exports);
|
|
|
156
156
|
__exportStar(require("./factur-xinvoice"), exports);
|
|
157
157
|
__exportStar(require("./factur-xpdfinfo"), exports);
|
|
158
158
|
__exportStar(require("./facture-electronique-models-invoice-type-code"), exports);
|
|
159
|
-
__exportStar(require("./facture-electronique-rest-api-schemas-
|
|
159
|
+
__exportStar(require("./facture-electronique-rest-api-schemas-ereporting-validation-error"), exports);
|
|
160
160
|
__exportStar(require("./facture-electronique-rest-api-schemas-processing-chorus-pro-credentials"), exports);
|
|
161
161
|
__exportStar(require("./field-status"), exports);
|
|
162
162
|
__exportStar(require("./file-info"), exports);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { FactureElectroniqueRestApiSchemasEreportingValidationError } from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
13
13
|
/**
|
|
14
14
|
* Response after validating e-reporting data.
|
|
15
15
|
*/
|
|
@@ -29,11 +29,11 @@ export interface ValidateEReportingResponse {
|
|
|
29
29
|
/**
|
|
30
30
|
* List of validation errors (if any)
|
|
31
31
|
*/
|
|
32
|
-
'errors'?: Array<
|
|
32
|
+
'errors'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
33
33
|
/**
|
|
34
34
|
* List of validation warnings (if any)
|
|
35
35
|
*/
|
|
36
|
-
'warnings'?: Array<
|
|
36
|
+
'warnings'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
37
37
|
/**
|
|
38
38
|
* Status message
|
|
39
39
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ValidationError } from './validation-error';
|
|
13
13
|
/**
|
|
14
14
|
* Informations sur la validation.
|
|
15
15
|
*/
|
|
@@ -34,5 +34,5 @@ export interface ValidationInfo {
|
|
|
34
34
|
* XML embarque dans PDF
|
|
35
35
|
*/
|
|
36
36
|
'xml_embedded'?: boolean;
|
|
37
|
-
'errors'?: Array<
|
|
37
|
+
'errors'?: Array<ValidationError>;
|
|
38
38
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# FactureElectroniqueRestApiSchemasEreportingValidationError
|
|
2
|
+
|
|
3
|
+
Validation error detail.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**field** | **string** | Field path with error | [default to undefined]
|
|
10
|
+
**message** | **string** | Error message | [default to undefined]
|
|
11
|
+
**code** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { FactureElectroniqueRestApiSchemasEreportingValidationError } from '@factpulse/sdk';
|
|
17
|
+
|
|
18
|
+
const instance: FactureElectroniqueRestApiSchemasEreportingValidationError = {
|
|
19
|
+
field,
|
|
20
|
+
message,
|
|
21
|
+
code,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**valid** | **boolean** | Whether the data is valid | [default to undefined]
|
|
10
10
|
**reportId** | **string** | Report identifier | [default to undefined]
|
|
11
11
|
**flowType** | **string** | Flux type | [default to undefined]
|
|
12
|
-
**errors** | [**Array<
|
|
13
|
-
**warnings** | [**Array<
|
|
12
|
+
**errors** | [**Array<FactureElectroniqueRestApiSchemasEreportingValidationError>**](FactureElectroniqueRestApiSchemasEreportingValidationError.md) | List of validation errors (if any) | [optional] [default to undefined]
|
|
13
|
+
**warnings** | [**Array<FactureElectroniqueRestApiSchemasEreportingValidationError>**](FactureElectroniqueRestApiSchemasEreportingValidationError.md) | List of validation warnings (if any) | [optional] [default to undefined]
|
|
14
14
|
**message** | **string** | Status message | [default to undefined]
|
|
15
15
|
|
|
16
16
|
## Example
|
package/docs/ValidationInfo.md
CHANGED
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**schematron_rules_total** | **number** | Total regles | [default to undefined]
|
|
12
12
|
**pdfa_compliant** | **boolean** | PDF/A-3 conforme | [optional] [default to true]
|
|
13
13
|
**xml_embedded** | **boolean** | XML embarque dans PDF | [optional] [default to true]
|
|
14
|
-
**errors** | [**Array<
|
|
14
|
+
**errors** | [**Array<ValidationError>**](ValidationError.md) | | [optional] [default to undefined]
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
@@ -15,25 +15,17 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Validation error detail.
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface FactureElectroniqueRestApiSchemasEreportingValidationError {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Field path with error
|
|
23
23
|
*/
|
|
24
|
-
'
|
|
25
|
-
'bt_code'?: string | null;
|
|
24
|
+
'field': string;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
'severity': string;
|
|
30
|
-
/**
|
|
31
|
-
* Message d\'erreur
|
|
26
|
+
* Error message
|
|
32
27
|
*/
|
|
33
28
|
'message': string;
|
|
34
|
-
'
|
|
35
|
-
'suggested_field'?: string | null;
|
|
36
|
-
'explanation'?: string | null;
|
|
37
|
-
'confidence'?: number | null;
|
|
29
|
+
'code'?: string | null;
|
|
38
30
|
}
|
|
39
31
|
|
package/models/index.ts
CHANGED
|
@@ -140,7 +140,7 @@ export * from './extraction-info';
|
|
|
140
140
|
export * from './factur-xinvoice';
|
|
141
141
|
export * from './factur-xpdfinfo';
|
|
142
142
|
export * from './facture-electronique-models-invoice-type-code';
|
|
143
|
-
export * from './facture-electronique-rest-api-schemas-
|
|
143
|
+
export * from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
144
144
|
export * from './facture-electronique-rest-api-schemas-processing-chorus-pro-credentials';
|
|
145
145
|
export * from './field-status';
|
|
146
146
|
export * from './file-info';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import type {
|
|
18
|
+
import type { FactureElectroniqueRestApiSchemasEreportingValidationError } from './facture-electronique-rest-api-schemas-ereporting-validation-error';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Response after validating e-reporting data.
|
|
@@ -36,11 +36,11 @@ export interface ValidateEReportingResponse {
|
|
|
36
36
|
/**
|
|
37
37
|
* List of validation errors (if any)
|
|
38
38
|
*/
|
|
39
|
-
'errors'?: Array<
|
|
39
|
+
'errors'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
40
40
|
/**
|
|
41
41
|
* List of validation warnings (if any)
|
|
42
42
|
*/
|
|
43
|
-
'warnings'?: Array<
|
|
43
|
+
'warnings'?: Array<FactureElectroniqueRestApiSchemasEreportingValidationError>;
|
|
44
44
|
/**
|
|
45
45
|
* Status message
|
|
46
46
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import type {
|
|
18
|
+
import type { ValidationError } from './validation-error';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Informations sur la validation.
|
|
@@ -41,6 +41,6 @@ export interface ValidationInfo {
|
|
|
41
41
|
* XML embarque dans PDF
|
|
42
42
|
*/
|
|
43
43
|
'xml_embedded'?: boolean;
|
|
44
|
-
'errors'?: Array<
|
|
44
|
+
'errors'?: Array<ValidationError>;
|
|
45
45
|
}
|
|
46
46
|
|
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# FactureElectroniqueRestApiSchemasConvertValidationError
|
|
2
|
-
|
|
3
|
-
Erreur de validation Schematron avec suggestion de correction.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**rule** | **string** | Code de la regle (BR-XX, BR-FR-XX) | [default to undefined]
|
|
10
|
-
**bt_code** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**severity** | **string** | Gravite: error, warning | [default to undefined]
|
|
12
|
-
**message** | **string** | Message d\'erreur | [default to undefined]
|
|
13
|
-
**suggested_value** | **string** | | [optional] [default to undefined]
|
|
14
|
-
**suggested_field** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**explanation** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**confidence** | **number** | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { FactureElectroniqueRestApiSchemasConvertValidationError } from '@factpulse/sdk';
|
|
22
|
-
|
|
23
|
-
const instance: FactureElectroniqueRestApiSchemasConvertValidationError = {
|
|
24
|
-
rule,
|
|
25
|
-
bt_code,
|
|
26
|
-
severity,
|
|
27
|
-
message,
|
|
28
|
-
suggested_value,
|
|
29
|
-
suggested_field,
|
|
30
|
-
explanation,
|
|
31
|
-
confidence,
|
|
32
|
-
};
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
File without changes
|