@factpulse/sdk 3.0.6 → 3.0.8
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/CHANGELOG.md +3 -3
- package/dist/esm/models/scheme-id.d.ts +30 -12
- package/dist/esm/models/scheme-id.js +30 -12
- package/dist/models/scheme-id.d.ts +30 -12
- package/dist/models/scheme-id.js +30 -12
- package/docs/DocumentConversionApi.md +2 -2
- package/docs/SchemeID.md +10 -10
- package/models/scheme-id.ts +30 -12
- package/package.json +1 -1
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.8] - 2025-12-29
|
|
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.8...HEAD
|
|
28
|
+
[3.0.8]: https://github.com/factpulse/sdk-typescript/releases/tag/v3.0.8
|
|
@@ -14,30 +14,48 @@
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const SchemeID: {
|
|
16
16
|
/**
|
|
17
|
-
* FR_SIREN - French SIREN (most common for France
|
|
17
|
+
* FR_SIREN - French SIREN (most common for France)
|
|
18
18
|
*/
|
|
19
19
|
readonly FR_SIREN: "0225";
|
|
20
20
|
/**
|
|
21
|
+
* FR_SIRET - French SIRET
|
|
22
|
+
*/
|
|
23
|
+
readonly FR_SIRET: "0009";
|
|
24
|
+
/**
|
|
25
|
+
* FR_SIREN_OLD - French SIREN (old code, for legal organization ID)
|
|
26
|
+
*/
|
|
27
|
+
readonly FR_SIREN_OLD: "0002";
|
|
28
|
+
/**
|
|
21
29
|
* GLN - Global Location Number (GLN)
|
|
22
30
|
*/
|
|
23
|
-
readonly GLN: "
|
|
31
|
+
readonly GLN: "0088";
|
|
24
32
|
/**
|
|
25
33
|
* DUNS - Data Universal Numbering System (DUNS)
|
|
26
34
|
*/
|
|
27
|
-
readonly DUNS: "
|
|
35
|
+
readonly DUNS: "0060";
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
37
|
+
* FR_VAT_INTRA - French intra-community VAT number
|
|
30
38
|
*/
|
|
31
|
-
readonly
|
|
39
|
+
readonly FR_VAT_INTRA: "9957";
|
|
32
40
|
/**
|
|
33
41
|
* GLEIF - Global Legal Entity Identifier Foundation (GLEIF)
|
|
34
42
|
*/
|
|
35
|
-
readonly GLEIF: "
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
readonly GLEIF: "0199";
|
|
44
|
+
/**
|
|
45
|
+
* DT_DIRECTORY_ID - Directory ID for tax administration
|
|
46
|
+
*/
|
|
47
|
+
readonly DT_DIRECTORY_ID: "0231";
|
|
48
|
+
/**
|
|
49
|
+
* EMAIL - Email-based electronic address (BT-34/BT-49)
|
|
50
|
+
*/
|
|
51
|
+
readonly EMAIL: "EM";
|
|
52
|
+
/**
|
|
53
|
+
* ODETTE - ODETTE network identifier
|
|
54
|
+
*/
|
|
55
|
+
readonly ODETTE: "0177";
|
|
56
|
+
/**
|
|
57
|
+
* FR_CHORUS_PRO_ROUTING - Chorus Pro routing code
|
|
58
|
+
*/
|
|
59
|
+
readonly FR_CHORUS_PRO_ROUTING: "0224";
|
|
42
60
|
};
|
|
43
61
|
export type SchemeID = typeof SchemeID[keyof typeof SchemeID];
|
|
@@ -16,29 +16,47 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export const SchemeID = {
|
|
18
18
|
/**
|
|
19
|
-
* FR_SIREN - French SIREN (most common for France
|
|
19
|
+
* FR_SIREN - French SIREN (most common for France)
|
|
20
20
|
*/
|
|
21
21
|
FR_SIREN: '0225',
|
|
22
22
|
/**
|
|
23
|
+
* FR_SIRET - French SIRET
|
|
24
|
+
*/
|
|
25
|
+
FR_SIRET: '0009',
|
|
26
|
+
/**
|
|
27
|
+
* FR_SIREN_OLD - French SIREN (old code, for legal organization ID)
|
|
28
|
+
*/
|
|
29
|
+
FR_SIREN_OLD: '0002',
|
|
30
|
+
/**
|
|
23
31
|
* GLN - Global Location Number (GLN)
|
|
24
32
|
*/
|
|
25
|
-
GLN: '
|
|
33
|
+
GLN: '0088',
|
|
26
34
|
/**
|
|
27
35
|
* DUNS - Data Universal Numbering System (DUNS)
|
|
28
36
|
*/
|
|
29
|
-
DUNS: '
|
|
37
|
+
DUNS: '0060',
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* FR_VAT_INTRA - French intra-community VAT number
|
|
32
40
|
*/
|
|
33
|
-
|
|
41
|
+
FR_VAT_INTRA: '9957',
|
|
34
42
|
/**
|
|
35
43
|
* GLEIF - Global Legal Entity Identifier Foundation (GLEIF)
|
|
36
44
|
*/
|
|
37
|
-
GLEIF: '
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
GLEIF: '0199',
|
|
46
|
+
/**
|
|
47
|
+
* DT_DIRECTORY_ID - Directory ID for tax administration
|
|
48
|
+
*/
|
|
49
|
+
DT_DIRECTORY_ID: '0231',
|
|
50
|
+
/**
|
|
51
|
+
* EMAIL - Email-based electronic address (BT-34/BT-49)
|
|
52
|
+
*/
|
|
53
|
+
EMAIL: 'EM',
|
|
54
|
+
/**
|
|
55
|
+
* ODETTE - ODETTE network identifier
|
|
56
|
+
*/
|
|
57
|
+
ODETTE: '0177',
|
|
58
|
+
/**
|
|
59
|
+
* FR_CHORUS_PRO_ROUTING - Chorus Pro routing code
|
|
60
|
+
*/
|
|
61
|
+
FR_CHORUS_PRO_ROUTING: '0224'
|
|
44
62
|
};
|
|
@@ -14,30 +14,48 @@
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const SchemeID: {
|
|
16
16
|
/**
|
|
17
|
-
* FR_SIREN - French SIREN (most common for France
|
|
17
|
+
* FR_SIREN - French SIREN (most common for France)
|
|
18
18
|
*/
|
|
19
19
|
readonly FR_SIREN: "0225";
|
|
20
20
|
/**
|
|
21
|
+
* FR_SIRET - French SIRET
|
|
22
|
+
*/
|
|
23
|
+
readonly FR_SIRET: "0009";
|
|
24
|
+
/**
|
|
25
|
+
* FR_SIREN_OLD - French SIREN (old code, for legal organization ID)
|
|
26
|
+
*/
|
|
27
|
+
readonly FR_SIREN_OLD: "0002";
|
|
28
|
+
/**
|
|
21
29
|
* GLN - Global Location Number (GLN)
|
|
22
30
|
*/
|
|
23
|
-
readonly GLN: "
|
|
31
|
+
readonly GLN: "0088";
|
|
24
32
|
/**
|
|
25
33
|
* DUNS - Data Universal Numbering System (DUNS)
|
|
26
34
|
*/
|
|
27
|
-
readonly DUNS: "
|
|
35
|
+
readonly DUNS: "0060";
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
37
|
+
* FR_VAT_INTRA - French intra-community VAT number
|
|
30
38
|
*/
|
|
31
|
-
readonly
|
|
39
|
+
readonly FR_VAT_INTRA: "9957";
|
|
32
40
|
/**
|
|
33
41
|
* GLEIF - Global Legal Entity Identifier Foundation (GLEIF)
|
|
34
42
|
*/
|
|
35
|
-
readonly GLEIF: "
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
readonly GLEIF: "0199";
|
|
44
|
+
/**
|
|
45
|
+
* DT_DIRECTORY_ID - Directory ID for tax administration
|
|
46
|
+
*/
|
|
47
|
+
readonly DT_DIRECTORY_ID: "0231";
|
|
48
|
+
/**
|
|
49
|
+
* EMAIL - Email-based electronic address (BT-34/BT-49)
|
|
50
|
+
*/
|
|
51
|
+
readonly EMAIL: "EM";
|
|
52
|
+
/**
|
|
53
|
+
* ODETTE - ODETTE network identifier
|
|
54
|
+
*/
|
|
55
|
+
readonly ODETTE: "0177";
|
|
56
|
+
/**
|
|
57
|
+
* FR_CHORUS_PRO_ROUTING - Chorus Pro routing code
|
|
58
|
+
*/
|
|
59
|
+
readonly FR_CHORUS_PRO_ROUTING: "0224";
|
|
42
60
|
};
|
|
43
61
|
export type SchemeID = typeof SchemeID[keyof typeof SchemeID];
|
package/dist/models/scheme-id.js
CHANGED
|
@@ -19,29 +19,47 @@ exports.SchemeID = void 0;
|
|
|
19
19
|
*/
|
|
20
20
|
exports.SchemeID = {
|
|
21
21
|
/**
|
|
22
|
-
* FR_SIREN - French SIREN (most common for France
|
|
22
|
+
* FR_SIREN - French SIREN (most common for France)
|
|
23
23
|
*/
|
|
24
24
|
FR_SIREN: '0225',
|
|
25
25
|
/**
|
|
26
|
+
* FR_SIRET - French SIRET
|
|
27
|
+
*/
|
|
28
|
+
FR_SIRET: '0009',
|
|
29
|
+
/**
|
|
30
|
+
* FR_SIREN_OLD - French SIREN (old code, for legal organization ID)
|
|
31
|
+
*/
|
|
32
|
+
FR_SIREN_OLD: '0002',
|
|
33
|
+
/**
|
|
26
34
|
* GLN - Global Location Number (GLN)
|
|
27
35
|
*/
|
|
28
|
-
GLN: '
|
|
36
|
+
GLN: '0088',
|
|
29
37
|
/**
|
|
30
38
|
* DUNS - Data Universal Numbering System (DUNS)
|
|
31
39
|
*/
|
|
32
|
-
DUNS: '
|
|
40
|
+
DUNS: '0060',
|
|
33
41
|
/**
|
|
34
|
-
*
|
|
42
|
+
* FR_VAT_INTRA - French intra-community VAT number
|
|
35
43
|
*/
|
|
36
|
-
|
|
44
|
+
FR_VAT_INTRA: '9957',
|
|
37
45
|
/**
|
|
38
46
|
* GLEIF - Global Legal Entity Identifier Foundation (GLEIF)
|
|
39
47
|
*/
|
|
40
|
-
GLEIF: '
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
GLEIF: '0199',
|
|
49
|
+
/**
|
|
50
|
+
* DT_DIRECTORY_ID - Directory ID for tax administration
|
|
51
|
+
*/
|
|
52
|
+
DT_DIRECTORY_ID: '0231',
|
|
53
|
+
/**
|
|
54
|
+
* EMAIL - Email-based electronic address (BT-34/BT-49)
|
|
55
|
+
*/
|
|
56
|
+
EMAIL: 'EM',
|
|
57
|
+
/**
|
|
58
|
+
* ODETTE - ODETTE network identifier
|
|
59
|
+
*/
|
|
60
|
+
ODETTE: '0177',
|
|
61
|
+
/**
|
|
62
|
+
* FR_CHORUS_PRO_ROUTING - Chorus Pro routing code
|
|
63
|
+
*/
|
|
64
|
+
FR_CHORUS_PRO_ROUTING: '0224'
|
|
47
65
|
};
|
|
@@ -63,7 +63,7 @@ const { status, data } = await apiInstance.convertDocumentApiV1ConvertPost(
|
|
|
63
63
|
### HTTP response details
|
|
64
64
|
| Status code | Description | Response headers |
|
|
65
65
|
|-------------|-------------|------------------|
|
|
66
|
-
|**200** |
|
|
66
|
+
|**200** | Successful Response | - |
|
|
67
67
|
|**202** | Données manquantes | - |
|
|
68
68
|
|**422** | Validation échouée | - |
|
|
69
69
|
|**400** | Fichier invalide | - |
|
|
@@ -289,7 +289,7 @@ const { status, data } = await apiInstance.resumeConversionApiV1ConvertConversio
|
|
|
289
289
|
### HTTP response details
|
|
290
290
|
| Status code | Description | Response headers |
|
|
291
291
|
|-------------|-------------|------------------|
|
|
292
|
-
|**200** |
|
|
292
|
+
|**200** | Successful Response | - |
|
|
293
293
|
|**404** | Conversion non trouvée ou expirée | - |
|
|
294
294
|
|**422** | Validation toujours en échec | - |
|
|
295
295
|
|
package/docs/SchemeID.md
CHANGED
|
@@ -6,24 +6,24 @@ Identification scheme codes (Electronic Address Scheme - EAS), mainly for electr
|
|
|
6
6
|
|
|
7
7
|
* `FR_SIREN` (value: `'0225'`)
|
|
8
8
|
|
|
9
|
-
* `
|
|
9
|
+
* `FR_SIRET` (value: `'0009'`)
|
|
10
10
|
|
|
11
|
-
* `
|
|
11
|
+
* `FR_SIREN_OLD` (value: `'0002'`)
|
|
12
12
|
|
|
13
|
-
* `
|
|
13
|
+
* `GLN` (value: `'0088'`)
|
|
14
14
|
|
|
15
|
-
* `
|
|
15
|
+
* `DUNS` (value: `'0060'`)
|
|
16
16
|
|
|
17
|
-
* `
|
|
17
|
+
* `FR_VAT_INTRA` (value: `'9957'`)
|
|
18
18
|
|
|
19
|
-
* `
|
|
19
|
+
* `GLEIF` (value: `'0199'`)
|
|
20
20
|
|
|
21
|
-
* `
|
|
21
|
+
* `DT_DIRECTORY_ID` (value: `'0231'`)
|
|
22
22
|
|
|
23
|
-
* `
|
|
23
|
+
* `EMAIL` (value: `'EM'`)
|
|
24
24
|
|
|
25
|
-
* `
|
|
25
|
+
* `ODETTE` (value: `'0177'`)
|
|
26
26
|
|
|
27
|
-
* `
|
|
27
|
+
* `FR_CHORUS_PRO_ROUTING` (value: `'0224'`)
|
|
28
28
|
|
|
29
29
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/models/scheme-id.ts
CHANGED
|
@@ -20,31 +20,49 @@
|
|
|
20
20
|
|
|
21
21
|
export const SchemeID = {
|
|
22
22
|
/**
|
|
23
|
-
* FR_SIREN - French SIREN (most common for France
|
|
23
|
+
* FR_SIREN - French SIREN (most common for France)
|
|
24
24
|
*/
|
|
25
25
|
FR_SIREN: '0225',
|
|
26
26
|
/**
|
|
27
|
+
* FR_SIRET - French SIRET
|
|
28
|
+
*/
|
|
29
|
+
FR_SIRET: '0009',
|
|
30
|
+
/**
|
|
31
|
+
* FR_SIREN_OLD - French SIREN (old code, for legal organization ID)
|
|
32
|
+
*/
|
|
33
|
+
FR_SIREN_OLD: '0002',
|
|
34
|
+
/**
|
|
27
35
|
* GLN - Global Location Number (GLN)
|
|
28
36
|
*/
|
|
29
|
-
GLN: '
|
|
37
|
+
GLN: '0088',
|
|
30
38
|
/**
|
|
31
39
|
* DUNS - Data Universal Numbering System (DUNS)
|
|
32
40
|
*/
|
|
33
|
-
DUNS: '
|
|
41
|
+
DUNS: '0060',
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
43
|
+
* FR_VAT_INTRA - French intra-community VAT number
|
|
36
44
|
*/
|
|
37
|
-
|
|
45
|
+
FR_VAT_INTRA: '9957',
|
|
38
46
|
/**
|
|
39
47
|
* GLEIF - Global Legal Entity Identifier Foundation (GLEIF)
|
|
40
48
|
*/
|
|
41
|
-
GLEIF: '
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
GLEIF: '0199',
|
|
50
|
+
/**
|
|
51
|
+
* DT_DIRECTORY_ID - Directory ID for tax administration
|
|
52
|
+
*/
|
|
53
|
+
DT_DIRECTORY_ID: '0231',
|
|
54
|
+
/**
|
|
55
|
+
* EMAIL - Email-based electronic address (BT-34/BT-49)
|
|
56
|
+
*/
|
|
57
|
+
EMAIL: 'EM',
|
|
58
|
+
/**
|
|
59
|
+
* ODETTE - ODETTE network identifier
|
|
60
|
+
*/
|
|
61
|
+
ODETTE: '0177',
|
|
62
|
+
/**
|
|
63
|
+
* FR_CHORUS_PRO_ROUTING - Chorus Pro routing code
|
|
64
|
+
*/
|
|
65
|
+
FR_CHORUS_PRO_ROUTING: '0224'
|
|
48
66
|
} as const;
|
|
49
67
|
|
|
50
68
|
export type SchemeID = typeof SchemeID[keyof typeof SchemeID];
|