@factpulse/sdk 3.0.23 → 3.0.25

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 (78) hide show
  1. package/.openapi-generator/FILES +2 -10
  2. package/CHANGELOG.md +3 -3
  3. package/api/afnorpdppadirectory-service-api.ts +127 -457
  4. package/dist/api/afnorpdppadirectory-service-api.d.ts +72 -192
  5. package/dist/api/afnorpdppadirectory-service-api.js +126 -419
  6. package/dist/esm/api/afnorpdppadirectory-service-api.d.ts +72 -192
  7. package/dist/esm/api/afnorpdppadirectory-service-api.js +127 -420
  8. package/dist/esm/models/chorus-pro-credentials.d.ts +7 -19
  9. package/dist/esm/models/chorus-pro-destination.d.ts +2 -2
  10. package/dist/esm/models/{facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts → facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts} +20 -8
  11. package/dist/esm/models/get-chorus-pro-id-request.d.ts +2 -2
  12. package/dist/esm/models/get-invoice-request.d.ts +2 -2
  13. package/dist/esm/models/get-structure-request.d.ts +2 -2
  14. package/dist/esm/models/index.d.ts +1 -5
  15. package/dist/esm/models/index.js +1 -5
  16. package/dist/esm/models/search-structure-request.d.ts +2 -2
  17. package/dist/esm/models/submit-invoice-request.d.ts +2 -2
  18. package/dist/esm/src/helpers/client.d.ts +16 -3
  19. package/dist/esm/src/helpers/client.js +23 -6
  20. package/dist/models/chorus-pro-credentials.d.ts +7 -19
  21. package/dist/models/chorus-pro-destination.d.ts +2 -2
  22. package/dist/models/{facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.d.ts → facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.d.ts} +20 -8
  23. package/dist/models/get-chorus-pro-id-request.d.ts +2 -2
  24. package/dist/models/get-invoice-request.d.ts +2 -2
  25. package/dist/models/get-structure-request.d.ts +2 -2
  26. package/dist/models/index.d.ts +1 -5
  27. package/dist/models/index.js +1 -5
  28. package/dist/models/search-structure-request.d.ts +2 -2
  29. package/dist/models/submit-invoice-request.d.ts +2 -2
  30. package/dist/src/helpers/client.d.ts +16 -3
  31. package/dist/src/helpers/client.js +23 -6
  32. package/docs/AFNORPDPPADirectoryServiceApi.md +42 -153
  33. package/docs/ChorusProCredentials.md +9 -9
  34. package/docs/ChorusProDestination.md +1 -1
  35. package/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +29 -0
  36. package/docs/GetChorusProIdRequest.md +1 -1
  37. package/docs/GetInvoiceRequest.md +1 -1
  38. package/docs/GetStructureRequest.md +1 -1
  39. package/docs/SearchStructureRequest.md +1 -1
  40. package/docs/SubmitInvoiceRequest.md +1 -1
  41. package/models/chorus-pro-credentials.ts +7 -19
  42. package/models/chorus-pro-destination.ts +2 -2
  43. package/models/{facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.ts → facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.ts} +20 -8
  44. package/models/get-chorus-pro-id-request.ts +2 -2
  45. package/models/get-invoice-request.ts +2 -2
  46. package/models/get-structure-request.ts +2 -2
  47. package/models/index.ts +1 -5
  48. package/models/search-structure-request.ts +2 -2
  49. package/models/submit-invoice-request.ts +2 -2
  50. package/package.json +1 -1
  51. package/src/helpers/client.ts +25 -6
  52. package/dist/esm/models/accept-language.d.ts +0 -19
  53. package/dist/esm/models/accept-language.js +0 -20
  54. package/dist/esm/models/directory-line-include.d.ts +0 -21
  55. package/dist/esm/models/directory-line-include.js +0 -22
  56. package/dist/esm/models/routing-code-include.d.ts +0 -19
  57. package/dist/esm/models/routing-code-include.js +0 -20
  58. package/dist/esm/models/siret-include.d.ts +0 -18
  59. package/dist/esm/models/siret-include.js +0 -19
  60. package/dist/models/accept-language.d.ts +0 -19
  61. package/dist/models/accept-language.js +0 -23
  62. package/dist/models/directory-line-include.d.ts +0 -21
  63. package/dist/models/directory-line-include.js +0 -25
  64. package/dist/models/routing-code-include.d.ts +0 -19
  65. package/dist/models/routing-code-include.js +0 -23
  66. package/dist/models/siret-include.d.ts +0 -18
  67. package/dist/models/siret-include.js +0 -22
  68. package/docs/AcceptLanguage.md +0 -11
  69. package/docs/DirectoryLineInclude.md +0 -15
  70. package/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -29
  71. package/docs/RoutingCodeInclude.md +0 -11
  72. package/docs/SiretInclude.md +0 -9
  73. package/models/accept-language.ts +0 -29
  74. package/models/directory-line-include.ts +0 -31
  75. package/models/routing-code-include.ts +0 -29
  76. package/models/siret-include.ts +0 -28
  77. /package/dist/esm/models/{facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js → facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js} +0 -0
  78. /package/dist/models/{facture-electronique-rest-api-schemas-processing-chorus-pro-credentials.js → facture-electronique-rest-api-schemas-chorus-pro-chorus-pro-credentials.js} +0 -0
@@ -551,19 +551,36 @@ class FactPulseClient {
551
551
  });
552
552
  }
553
553
  // ==================== AFNOR Directory ====================
554
- rechercherSiretAfnor(siret) {
554
+ /** Gets a facility by SIRET in the AFNOR directory. */
555
+ getSiretAfnor(siret) {
555
556
  return __awaiter(this, void 0, void 0, function* () {
556
- return this.makeAfnorRequest('GET', `/directory/siret/${siret}`);
557
+ return this.makeAfnorRequest('GET', `/directory/v1/siret/code-insee:${siret}`);
557
558
  });
558
559
  }
559
- rechercherSirenAfnor(siren) {
560
+ /** Gets a legal unit by SIREN in the AFNOR directory. */
561
+ getSirenAfnor(siren) {
560
562
  return __awaiter(this, void 0, void 0, function* () {
561
- return this.makeAfnorRequest('GET', `/directory/siren/${siren}`);
563
+ return this.makeAfnorRequest('GET', `/directory/v1/siren/code-insee:${siren}`);
562
564
  });
563
565
  }
564
- listerCodesRoutageAfnor(siren) {
566
+ /** Searches for legal units (SIREN) in the AFNOR directory. */
567
+ searchSirenAfnor() {
568
+ return __awaiter(this, arguments, void 0, function* (options = {}) {
569
+ const { filters = {}, limit = 25 } = options;
570
+ return this.makeAfnorRequest('POST', '/directory/v1/siren/search', { data: { filters, limit } });
571
+ });
572
+ }
573
+ /** Searches for routing codes in the AFNOR directory. */
574
+ searchRoutingCodesAfnor() {
575
+ return __awaiter(this, arguments, void 0, function* (options = {}) {
576
+ const { filters = {}, limit = 25 } = options;
577
+ return this.makeAfnorRequest('POST', '/directory/v1/routing-code/search', { data: { filters, limit } });
578
+ });
579
+ }
580
+ /** Gets a routing code by SIRET and routing identifier. */
581
+ getRoutingCodeAfnor(siret, routingIdentifier) {
565
582
  return __awaiter(this, void 0, void 0, function* () {
566
- return this.makeAfnorRequest('GET', `/directory/siren/${siren}/routing-codes`);
583
+ return this.makeAfnorRequest('GET', `/directory/v1/routing-code/siret:${siret}/code:${routingIdentifier}`);
567
584
  });
568
585
  }
569
586
  // ==================== AFNOR Flow ====================
@@ -40,18 +40,11 @@ import {
40
40
  const configuration = new Configuration();
41
41
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
42
42
 
43
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
44
-
45
- const { status, data } = await apiInstance.createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost(
46
- acceptLanguage
47
- );
43
+ const { status, data } = await apiInstance.createDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLinePost();
48
44
  ```
49
45
 
50
46
  ### Parameters
51
-
52
- |Name | Type | Description | Notes|
53
- |------------- | ------------- | ------------- | -------------|
54
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
47
+ This endpoint does not have any parameters.
55
48
 
56
49
 
57
50
  ### Return type
@@ -60,7 +53,7 @@ const { status, data } = await apiInstance.createDirectoryLineProxyApiV1AfnorDir
60
53
 
61
54
  ### Authorization
62
55
 
63
- [HTTPBearer](../README.md#HTTPBearer)
56
+ No authorization required
64
57
 
65
58
  ### HTTP request headers
66
59
 
@@ -102,18 +95,11 @@ import {
102
95
  const configuration = new Configuration();
103
96
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
104
97
 
105
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
106
-
107
- const { status, data } = await apiInstance.createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost(
108
- acceptLanguage
109
- );
98
+ const { status, data } = await apiInstance.createRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodePost();
110
99
  ```
111
100
 
112
101
  ### Parameters
113
-
114
- |Name | Type | Description | Notes|
115
- |------------- | ------------- | ------------- | -------------|
116
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
102
+ This endpoint does not have any parameters.
117
103
 
118
104
 
119
105
  ### Return type
@@ -122,7 +108,7 @@ const { status, data } = await apiInstance.createRoutingCodeProxyApiV1AfnorDirec
122
108
 
123
109
  ### Authorization
124
110
 
125
- [HTTPBearer](../README.md#HTTPBearer)
111
+ No authorization required
126
112
 
127
113
  ### HTTP request headers
128
114
 
@@ -165,11 +151,9 @@ const configuration = new Configuration();
165
151
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
166
152
 
167
153
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
168
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
169
154
 
170
155
  const { status, data } = await apiInstance.deleteDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceDelete(
171
- idInstance,
172
- acceptLanguage
156
+ idInstance
173
157
  );
174
158
  ```
175
159
 
@@ -178,7 +162,6 @@ const { status, data } = await apiInstance.deleteDirectoryLineProxyApiV1AfnorDir
178
162
  |Name | Type | Description | Notes|
179
163
  |------------- | ------------- | ------------- | -------------|
180
164
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
181
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
182
165
 
183
166
 
184
167
  ### Return type
@@ -187,7 +170,7 @@ const { status, data } = await apiInstance.deleteDirectoryLineProxyApiV1AfnorDir
187
170
 
188
171
  ### Authorization
189
172
 
190
- [HTTPBearer](../README.md#HTTPBearer)
173
+ No authorization required
191
174
 
192
175
  ### HTTP request headers
193
176
 
@@ -276,15 +259,9 @@ const configuration = new Configuration();
276
259
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
277
260
 
278
261
  let addressingIdentifier: string; //Addressing identifier (SIREN, SIRET or routing code) (default to undefined)
279
- let fields: Array<string>; //Fields of the Directory Line resource. (optional) (default to undefined)
280
- let include: Array<DirectoryLineInclude>; //Relations to include in the response. (optional) (default to undefined)
281
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
282
262
 
283
263
  const { status, data } = await apiInstance.getDirectoryLineByCodeProxyApiV1AfnorDirectoryV1DirectoryLineCodeAddressingIdentifierGet(
284
- addressingIdentifier,
285
- fields,
286
- include,
287
- acceptLanguage
264
+ addressingIdentifier
288
265
  );
289
266
  ```
290
267
 
@@ -293,9 +270,6 @@ const { status, data } = await apiInstance.getDirectoryLineByCodeProxyApiV1Afnor
293
270
  |Name | Type | Description | Notes|
294
271
  |------------- | ------------- | ------------- | -------------|
295
272
  | **addressingIdentifier** | [**string**] | Addressing identifier (SIREN, SIRET or routing code) | defaults to undefined|
296
- | **fields** | **Array&lt;string&gt;** | Fields of the Directory Line resource. | (optional) defaults to undefined|
297
- | **include** | **Array&lt;DirectoryLineInclude&gt;** | Relations to include in the response. | (optional) defaults to undefined|
298
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
299
273
 
300
274
 
301
275
  ### Return type
@@ -304,7 +278,7 @@ const { status, data } = await apiInstance.getDirectoryLineByCodeProxyApiV1Afnor
304
278
 
305
279
  ### Authorization
306
280
 
307
- [HTTPBearer](../README.md#HTTPBearer)
281
+ No authorization required
308
282
 
309
283
  ### HTTP request headers
310
284
 
@@ -346,13 +320,9 @@ const configuration = new Configuration();
346
320
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
347
321
 
348
322
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
349
- let fields: Array<string>; //Fields of the Directory Line resource. (optional) (default to undefined)
350
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
351
323
 
352
324
  const { status, data } = await apiInstance.getDirectoryLineByIdInstanceProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstanceGet(
353
- idInstance,
354
- fields,
355
- acceptLanguage
325
+ idInstance
356
326
  );
357
327
  ```
358
328
 
@@ -361,8 +331,6 @@ const { status, data } = await apiInstance.getDirectoryLineByIdInstanceProxyApiV
361
331
  |Name | Type | Description | Notes|
362
332
  |------------- | ------------- | ------------- | -------------|
363
333
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
364
- | **fields** | **Array&lt;string&gt;** | Fields of the Directory Line resource. | (optional) defaults to undefined|
365
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
366
334
 
367
335
 
368
336
  ### Return type
@@ -371,7 +339,7 @@ const { status, data } = await apiInstance.getDirectoryLineByIdInstanceProxyApiV
371
339
 
372
340
  ### Authorization
373
341
 
374
- [HTTPBearer](../README.md#HTTPBearer)
342
+ No authorization required
375
343
 
376
344
  ### HTTP request headers
377
345
 
@@ -413,13 +381,9 @@ const configuration = new Configuration();
413
381
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
414
382
 
415
383
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
416
- let fields: Array<string>; //Fields of the Routing Code resource (optional) (default to undefined)
417
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
418
384
 
419
385
  const { status, data } = await apiInstance.getRoutingCodeByIdInstanceProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstanceGet(
420
- idInstance,
421
- fields,
422
- acceptLanguage
386
+ idInstance
423
387
  );
424
388
  ```
425
389
 
@@ -428,8 +392,6 @@ const { status, data } = await apiInstance.getRoutingCodeByIdInstanceProxyApiV1A
428
392
  |Name | Type | Description | Notes|
429
393
  |------------- | ------------- | ------------- | -------------|
430
394
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
431
- | **fields** | **Array&lt;string&gt;** | Fields of the Routing Code resource | (optional) defaults to undefined|
432
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
433
395
 
434
396
 
435
397
  ### Return type
@@ -438,7 +400,7 @@ const { status, data } = await apiInstance.getRoutingCodeByIdInstanceProxyApiV1A
438
400
 
439
401
  ### Authorization
440
402
 
441
- [HTTPBearer](../README.md#HTTPBearer)
403
+ No authorization required
442
404
 
443
405
  ### HTTP request headers
444
406
 
@@ -481,16 +443,10 @@ const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
481
443
 
482
444
  let siret: string; //14-digit SIRET number (INSEE establishment identifier) (default to undefined)
483
445
  let routingIdentifier: string; //Routing code identifier (default to undefined)
484
- let fields: Array<string>; //Fields of the Routing Code resource (optional) (default to undefined)
485
- let include: Array<RoutingCodeInclude>; //Relations to include in the response. (optional) (default to undefined)
486
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
487
446
 
488
447
  const { status, data } = await apiInstance.getRoutingCodeBySiretAndCodeProxyApiV1AfnorDirectoryV1RoutingCodeSiretSiretCodeRoutingIdentifierGet(
489
448
  siret,
490
- routingIdentifier,
491
- fields,
492
- include,
493
- acceptLanguage
449
+ routingIdentifier
494
450
  );
495
451
  ```
496
452
 
@@ -500,9 +456,6 @@ const { status, data } = await apiInstance.getRoutingCodeBySiretAndCodeProxyApiV
500
456
  |------------- | ------------- | ------------- | -------------|
501
457
  | **siret** | [**string**] | 14-digit SIRET number (INSEE establishment identifier) | defaults to undefined|
502
458
  | **routingIdentifier** | [**string**] | Routing code identifier | defaults to undefined|
503
- | **fields** | **Array&lt;string&gt;** | Fields of the Routing Code resource | (optional) defaults to undefined|
504
- | **include** | **Array&lt;RoutingCodeInclude&gt;** | Relations to include in the response. | (optional) defaults to undefined|
505
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
506
459
 
507
460
 
508
461
  ### Return type
@@ -511,7 +464,7 @@ const { status, data } = await apiInstance.getRoutingCodeBySiretAndCodeProxyApiV
511
464
 
512
465
  ### Authorization
513
466
 
514
- [HTTPBearer](../README.md#HTTPBearer)
467
+ No authorization required
515
468
 
516
469
  ### HTTP request headers
517
470
 
@@ -553,13 +506,9 @@ const configuration = new Configuration();
553
506
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
554
507
 
555
508
  let siren: string; //9-digit SIREN number (INSEE company identifier) (default to undefined)
556
- let fields: Array<string>; //Fields of the SIREN resource (optional) (default to undefined)
557
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
558
509
 
559
510
  const { status, data } = await apiInstance.getSirenByCodeInseeProxyApiV1AfnorDirectoryV1SirenCodeInseeSirenGet(
560
- siren,
561
- fields,
562
- acceptLanguage
511
+ siren
563
512
  );
564
513
  ```
565
514
 
@@ -568,8 +517,6 @@ const { status, data } = await apiInstance.getSirenByCodeInseeProxyApiV1AfnorDir
568
517
  |Name | Type | Description | Notes|
569
518
  |------------- | ------------- | ------------- | -------------|
570
519
  | **siren** | [**string**] | 9-digit SIREN number (INSEE company identifier) | defaults to undefined|
571
- | **fields** | **Array&lt;string&gt;** | Fields of the SIREN resource | (optional) defaults to undefined|
572
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
573
520
 
574
521
 
575
522
  ### Return type
@@ -578,7 +525,7 @@ const { status, data } = await apiInstance.getSirenByCodeInseeProxyApiV1AfnorDir
578
525
 
579
526
  ### Authorization
580
527
 
581
- [HTTPBearer](../README.md#HTTPBearer)
528
+ No authorization required
582
529
 
583
530
  ### HTTP request headers
584
531
 
@@ -620,13 +567,9 @@ const configuration = new Configuration();
620
567
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
621
568
 
622
569
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
623
- let fields: Array<string>; //Fields of the SIREN resource (optional) (default to undefined)
624
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
625
570
 
626
571
  const { status, data } = await apiInstance.getSirenByIdInstanceProxyApiV1AfnorDirectoryV1SirenIdInstanceIdInstanceGet(
627
- idInstance,
628
- fields,
629
- acceptLanguage
572
+ idInstance
630
573
  );
631
574
  ```
632
575
 
@@ -635,8 +578,6 @@ const { status, data } = await apiInstance.getSirenByIdInstanceProxyApiV1AfnorDi
635
578
  |Name | Type | Description | Notes|
636
579
  |------------- | ------------- | ------------- | -------------|
637
580
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
638
- | **fields** | **Array&lt;string&gt;** | Fields of the SIREN resource | (optional) defaults to undefined|
639
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
640
581
 
641
582
 
642
583
  ### Return type
@@ -645,7 +586,7 @@ const { status, data } = await apiInstance.getSirenByIdInstanceProxyApiV1AfnorDi
645
586
 
646
587
  ### Authorization
647
588
 
648
- [HTTPBearer](../README.md#HTTPBearer)
589
+ No authorization required
649
590
 
650
591
  ### HTTP request headers
651
592
 
@@ -687,15 +628,9 @@ const configuration = new Configuration();
687
628
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
688
629
 
689
630
  let siret: string; //14-digit SIRET number (INSEE establishment identifier) (default to undefined)
690
- let fields: Array<string>; //Fields of a SIRET resource. (optional) (default to undefined)
691
- let include: Array<SiretInclude>; //Relations to include in the response. (optional) (default to undefined)
692
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
693
631
 
694
632
  const { status, data } = await apiInstance.getSiretByCodeInseeProxyApiV1AfnorDirectoryV1SiretCodeInseeSiretGet(
695
- siret,
696
- fields,
697
- include,
698
- acceptLanguage
633
+ siret
699
634
  );
700
635
  ```
701
636
 
@@ -704,9 +639,6 @@ const { status, data } = await apiInstance.getSiretByCodeInseeProxyApiV1AfnorDir
704
639
  |Name | Type | Description | Notes|
705
640
  |------------- | ------------- | ------------- | -------------|
706
641
  | **siret** | [**string**] | 14-digit SIRET number (INSEE establishment identifier) | defaults to undefined|
707
- | **fields** | **Array&lt;string&gt;** | Fields of a SIRET resource. | (optional) defaults to undefined|
708
- | **include** | **Array&lt;SiretInclude&gt;** | Relations to include in the response. | (optional) defaults to undefined|
709
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
710
642
 
711
643
 
712
644
  ### Return type
@@ -715,7 +647,7 @@ const { status, data } = await apiInstance.getSiretByCodeInseeProxyApiV1AfnorDir
715
647
 
716
648
  ### Authorization
717
649
 
718
- [HTTPBearer](../README.md#HTTPBearer)
650
+ No authorization required
719
651
 
720
652
  ### HTTP request headers
721
653
 
@@ -757,13 +689,9 @@ const configuration = new Configuration();
757
689
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
758
690
 
759
691
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
760
- let fields: Array<string>; //Fields of a SIRET resource. (optional) (default to undefined)
761
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
762
692
 
763
693
  const { status, data } = await apiInstance.getSiretByIdInstanceProxyApiV1AfnorDirectoryV1SiretIdInstanceIdInstanceGet(
764
- idInstance,
765
- fields,
766
- acceptLanguage
694
+ idInstance
767
695
  );
768
696
  ```
769
697
 
@@ -772,8 +700,6 @@ const { status, data } = await apiInstance.getSiretByIdInstanceProxyApiV1AfnorDi
772
700
  |Name | Type | Description | Notes|
773
701
  |------------- | ------------- | ------------- | -------------|
774
702
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
775
- | **fields** | **Array&lt;string&gt;** | Fields of a SIRET resource. | (optional) defaults to undefined|
776
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
777
703
 
778
704
 
779
705
  ### Return type
@@ -782,7 +708,7 @@ const { status, data } = await apiInstance.getSiretByIdInstanceProxyApiV1AfnorDi
782
708
 
783
709
  ### Authorization
784
710
 
785
- [HTTPBearer](../README.md#HTTPBearer)
711
+ No authorization required
786
712
 
787
713
  ### HTTP request headers
788
714
 
@@ -824,11 +750,9 @@ const configuration = new Configuration();
824
750
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
825
751
 
826
752
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
827
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
828
753
 
829
754
  const { status, data } = await apiInstance.patchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineIdInstanceIdInstancePatch(
830
- idInstance,
831
- acceptLanguage
755
+ idInstance
832
756
  );
833
757
  ```
834
758
 
@@ -837,7 +761,6 @@ const { status, data } = await apiInstance.patchDirectoryLineProxyApiV1AfnorDire
837
761
  |Name | Type | Description | Notes|
838
762
  |------------- | ------------- | ------------- | -------------|
839
763
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
840
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
841
764
 
842
765
 
843
766
  ### Return type
@@ -846,7 +769,7 @@ const { status, data } = await apiInstance.patchDirectoryLineProxyApiV1AfnorDire
846
769
 
847
770
  ### Authorization
848
771
 
849
- [HTTPBearer](../README.md#HTTPBearer)
772
+ No authorization required
850
773
 
851
774
  ### HTTP request headers
852
775
 
@@ -888,11 +811,9 @@ const configuration = new Configuration();
888
811
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
889
812
 
890
813
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
891
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
892
814
 
893
815
  const { status, data } = await apiInstance.patchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePatch(
894
- idInstance,
895
- acceptLanguage
816
+ idInstance
896
817
  );
897
818
  ```
898
819
 
@@ -901,7 +822,6 @@ const { status, data } = await apiInstance.patchRoutingCodeProxyApiV1AfnorDirect
901
822
  |Name | Type | Description | Notes|
902
823
  |------------- | ------------- | ------------- | -------------|
903
824
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
904
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
905
825
 
906
826
 
907
827
  ### Return type
@@ -910,7 +830,7 @@ const { status, data } = await apiInstance.patchRoutingCodeProxyApiV1AfnorDirect
910
830
 
911
831
  ### Authorization
912
832
 
913
- [HTTPBearer](../README.md#HTTPBearer)
833
+ No authorization required
914
834
 
915
835
  ### HTTP request headers
916
836
 
@@ -953,11 +873,9 @@ const configuration = new Configuration();
953
873
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
954
874
 
955
875
  let idInstance: string; //AFNOR instance ID (UUID) (default to undefined)
956
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
957
876
 
958
877
  const { status, data } = await apiInstance.putRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeIdInstanceIdInstancePut(
959
- idInstance,
960
- acceptLanguage
878
+ idInstance
961
879
  );
962
880
  ```
963
881
 
@@ -966,7 +884,6 @@ const { status, data } = await apiInstance.putRoutingCodeProxyApiV1AfnorDirector
966
884
  |Name | Type | Description | Notes|
967
885
  |------------- | ------------- | ------------- | -------------|
968
886
  | **idInstance** | [**string**] | AFNOR instance ID (UUID) | defaults to undefined|
969
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
970
887
 
971
888
 
972
889
  ### Return type
@@ -975,7 +892,7 @@ const { status, data } = await apiInstance.putRoutingCodeProxyApiV1AfnorDirector
975
892
 
976
893
  ### Authorization
977
894
 
978
- [HTTPBearer](../README.md#HTTPBearer)
895
+ No authorization required
979
896
 
980
897
  ### HTTP request headers
981
898
 
@@ -1017,18 +934,11 @@ import {
1017
934
  const configuration = new Configuration();
1018
935
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
1019
936
 
1020
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
1021
-
1022
- const { status, data } = await apiInstance.searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost(
1023
- acceptLanguage
1024
- );
937
+ const { status, data } = await apiInstance.searchDirectoryLineProxyApiV1AfnorDirectoryV1DirectoryLineSearchPost();
1025
938
  ```
1026
939
 
1027
940
  ### Parameters
1028
-
1029
- |Name | Type | Description | Notes|
1030
- |------------- | ------------- | ------------- | -------------|
1031
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
941
+ This endpoint does not have any parameters.
1032
942
 
1033
943
 
1034
944
  ### Return type
@@ -1037,7 +947,7 @@ const { status, data } = await apiInstance.searchDirectoryLineProxyApiV1AfnorDir
1037
947
 
1038
948
  ### Authorization
1039
949
 
1040
- [HTTPBearer](../README.md#HTTPBearer)
950
+ No authorization required
1041
951
 
1042
952
  ### HTTP request headers
1043
953
 
@@ -1079,18 +989,11 @@ import {
1079
989
  const configuration = new Configuration();
1080
990
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
1081
991
 
1082
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
1083
-
1084
- const { status, data } = await apiInstance.searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost(
1085
- acceptLanguage
1086
- );
992
+ const { status, data } = await apiInstance.searchRoutingCodeProxyApiV1AfnorDirectoryV1RoutingCodeSearchPost();
1087
993
  ```
1088
994
 
1089
995
  ### Parameters
1090
-
1091
- |Name | Type | Description | Notes|
1092
- |------------- | ------------- | ------------- | -------------|
1093
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
996
+ This endpoint does not have any parameters.
1094
997
 
1095
998
 
1096
999
  ### Return type
@@ -1099,7 +1002,7 @@ const { status, data } = await apiInstance.searchRoutingCodeProxyApiV1AfnorDirec
1099
1002
 
1100
1003
  ### Authorization
1101
1004
 
1102
- [HTTPBearer](../README.md#HTTPBearer)
1005
+ No authorization required
1103
1006
 
1104
1007
  ### HTTP request headers
1105
1008
 
@@ -1141,18 +1044,11 @@ import {
1141
1044
  const configuration = new Configuration();
1142
1045
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
1143
1046
 
1144
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
1145
-
1146
- const { status, data } = await apiInstance.searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost(
1147
- acceptLanguage
1148
- );
1047
+ const { status, data } = await apiInstance.searchSirenProxyApiV1AfnorDirectoryV1SirenSearchPost();
1149
1048
  ```
1150
1049
 
1151
1050
  ### Parameters
1152
-
1153
- |Name | Type | Description | Notes|
1154
- |------------- | ------------- | ------------- | -------------|
1155
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
1051
+ This endpoint does not have any parameters.
1156
1052
 
1157
1053
 
1158
1054
  ### Return type
@@ -1161,7 +1057,7 @@ const { status, data } = await apiInstance.searchSirenProxyApiV1AfnorDirectoryV1
1161
1057
 
1162
1058
  ### Authorization
1163
1059
 
1164
- [HTTPBearer](../README.md#HTTPBearer)
1060
+ No authorization required
1165
1061
 
1166
1062
  ### HTTP request headers
1167
1063
 
@@ -1203,18 +1099,11 @@ import {
1203
1099
  const configuration = new Configuration();
1204
1100
  const apiInstance = new AFNORPDPPADirectoryServiceApi(configuration);
1205
1101
 
1206
- let acceptLanguage: AcceptLanguage; //Specifies the language in which the resource is requested. (optional) (default to undefined)
1207
-
1208
- const { status, data } = await apiInstance.searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost(
1209
- acceptLanguage
1210
- );
1102
+ const { status, data } = await apiInstance.searchSiretProxyApiV1AfnorDirectoryV1SiretSearchPost();
1211
1103
  ```
1212
1104
 
1213
1105
  ### Parameters
1214
-
1215
- |Name | Type | Description | Notes|
1216
- |------------- | ------------- | ------------- | -------------|
1217
- | **acceptLanguage** | **AcceptLanguage** | Specifies the language in which the resource is requested. | (optional) defaults to undefined|
1106
+ This endpoint does not have any parameters.
1218
1107
 
1219
1108
 
1220
1109
  ### Return type
@@ -1223,7 +1112,7 @@ const { status, data } = await apiInstance.searchSiretProxyApiV1AfnorDirectoryV1
1223
1112
 
1224
1113
  ### Authorization
1225
1114
 
1226
- [HTTPBearer](../README.md#HTTPBearer)
1115
+ No authorization required
1227
1116
 
1228
1117
  ### HTTP request headers
1229
1118
 
@@ -1,16 +1,16 @@
1
1
  # ChorusProCredentials
2
2
 
3
- Chorus Pro credentials for Zero-Trust mode. **Zero-Trust Mode**: Credentials are passed in each request and are NEVER stored. **Security**: - Credentials are never persisted in the database - They are used only for the duration of the request - Secure transmission via HTTPS **Use cases**: - High-security environments (banks, administrations) - Strict GDPR compliance - Tests with temporary credentials - Users who don\'t want to store their credentials
3
+ Optional Chorus Pro credentials. **MODE 1 - JWT retrieval (recommended):** Do not provide this `credentials` field in the payload. Credentials will be automatically retrieved via client_uid from JWT (0-trust). **MODE 2 - Credentials in payload:** Provide all required fields below. Useful for tests or third-party integrations.
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
- **pisteClientId** | **string** | PISTE Client ID (government API portal) | [default to undefined]
10
- **pisteClientSecret** | **string** | PISTE Client Secret | [default to undefined]
11
- **chorusProLogin** | **string** | Chorus Pro login | [default to undefined]
12
- **chorusProPassword** | **string** | Chorus Pro password | [default to undefined]
13
- **sandbox** | **boolean** | Use sandbox environment (true) or production (false) | [optional] [default to true]
9
+ **pisteClientId** | **string** | | [optional] [default to undefined]
10
+ **pisteClientSecret** | **string** | | [optional] [default to undefined]
11
+ **chorusLogin** | **string** | | [optional] [default to undefined]
12
+ **chorusPassword** | **string** | | [optional] [default to undefined]
13
+ **sandboxMode** | **boolean** | [MODE 2] Use sandbox mode (default: True) | [optional] [default to true]
14
14
 
15
15
  ## Example
16
16
 
@@ -20,9 +20,9 @@ import { ChorusProCredentials } from '@factpulse/sdk';
20
20
  const instance: ChorusProCredentials = {
21
21
  pisteClientId,
22
22
  pisteClientSecret,
23
- chorusProLogin,
24
- chorusProPassword,
25
- sandbox,
23
+ chorusLogin,
24
+ chorusPassword,
25
+ sandboxMode,
26
26
  };
27
27
  ```
28
28
 
@@ -7,7 +7,7 @@ Specific configuration for Chorus Pro destination.
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **type** | **string** | | [optional] [default to TypeEnum_ChorusPro]
10
- **credentials** | [**FactureElectroniqueRestApiSchemasProcessingChorusProCredentials**](FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md) | | [optional] [default to undefined]
10
+ **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] [default to undefined]
11
11
 
12
12
  ## Example
13
13