-
Notifications
You must be signed in to change notification settings - Fork 17
/
data-provider-configurations.tsx
723 lines (714 loc) · 27.3 KB
/
data-provider-configurations.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
import React from 'react';
import AgentConnectFi from '../pages/AgentConnectFi';
import AgentConnectFs from '../pages/AgentConnectFs';
import AidantsConnect from '../pages/AidantsConnect';
import ApiCaptchetat from '../pages/ApiCaptchetat';
import ApiDroitsCnam from '../pages/ApiDroitsCnam';
import ApiEntreprise from '../pages/ApiEntreprise';
import ApiHistovec from '../pages/ApiHistovec';
import ApiIndemnisationPoleEmploi from '../pages/ApiIndemnisationPoleEmploi';
import ApiIndemnitesJournalieresCnam from '../pages/ApiIndemnitesJournalieresCnam';
import ApiIngres from '../pages/ApiIngres';
import ApiPrestationsSociales from '../pages/ApiPrestationsSociales';
import ApiPrestationsSocialesFc from '../pages/ApiPrestationsSocialesFc';
import ApiProSanteConnect from '../pages/ApiProSanteConnect';
import ApiServiceNational from '../pages/ApiServiceNational';
import ApiStatutDemandeurEmploi from '../pages/ApiStatutDemandeurEmploi';
import ApiStatutEtudiant from '../pages/ApiStatutEtudiant';
import ApiStatutEtudiantBoursier from '../pages/ApiStatutEtudiantBoursier';
import ApiScolarite from '../pages/ApiScolarite';
import CartoBio from '../pages/CartoBio';
import ApiCprProProduction from '../pages/DgfipPages/ApiCprProProduction';
import ApiCprProSandbox from '../pages/DgfipPages/ApiCprProSandbox';
import ApiEContactsProduction from '../pages/DgfipPages/ApiEContactsProduction';
import ApiEContactsSandbox from '../pages/DgfipPages/ApiEContactsSandbox';
import ApiEnsuDocumentsProduction from '../pages/DgfipPages/ApiEnsuDocumentsProduction';
import ApiEnsuDocumentsSandbox from '../pages/DgfipPages/ApiEnsuDocumentsSandbox';
import ApiEProProduction from '../pages/DgfipPages/ApiEProProduction';
import ApiEProSandbox from '../pages/DgfipPages/ApiEProSandbox';
import ApiFicobaProduction from '../pages/DgfipPages/ApiFicobaProduction';
import ApiFicobaUnique from '../pages/DgfipPages/ApiFicobaUnique';
import ApiFicobaSandbox from '../pages/DgfipPages/ApiFicobaSandbox';
import ApiHermesProduction from '../pages/DgfipPages/ApiHermesProduction';
import ApiHermesSandbox from '../pages/DgfipPages/ApiHermesSandbox';
import ApiImpotParticulierFcProduction from '../pages/DgfipPages/ApiImpotParticulierFcProduction';
import ApiImpotParticulierFcSandbox from '../pages/DgfipPages/ApiImpotParticulierFcSandbox';
import ApiImpotParticulierFcUnique from '../pages/DgfipPages/ApiImpotParticulierFcUnique';
import ApiImpotParticulierProduction from '../pages/DgfipPages/ApiImpotParticulierProduction';
import ApiImpotParticulierSandbox from '../pages/DgfipPages/ApiImpotParticulierSandbox';
import ApiImpotParticulierUnique from '../pages/DgfipPages/ApiImpotParticulierUnique';
import ApiImprimfipProduction from '../pages/DgfipPages/ApiImprimfipProduction';
import ApiImprimfipSandbox from '../pages/DgfipPages/ApiImprimfipSandbox';
import ApiInfinoeProduction from '../pages/DgfipPages/ApiInfinoeProduction';
import ApiInfinoeSandbox from '../pages/DgfipPages/ApiInfinoeSandbox';
import ApiMireProduction from '../pages/DgfipPages/ApiMireProduction';
import ApiMireSandbox from '../pages/DgfipPages/ApiMireSandbox';
import ApiOcfiProduction from '../pages/DgfipPages/ApiOcfiProduction';
import ApiOcfiSandbox from '../pages/DgfipPages/ApiOcfiSandbox';
import ApiOpaleProduction from '../pages/DgfipPages/ApiOpaleProduction';
import ApiOpaleSandbox from '../pages/DgfipPages/ApiOpaleSandbox';
import ApiR2PProduction from '../pages/DgfipPages/ApiR2PProduction';
import ApiR2PSandbox from '../pages/DgfipPages/ApiR2PSandbox';
import ApiR2PUnique from '../pages/DgfipPages/ApiR2PUnique';
import ApiRobfProduction from '../pages/DgfipPages/ApiRobfProduction';
import ApiRobfSandbox from '../pages/DgfipPages/ApiRobfSandbox';
import ApiSatelitProduction from '../pages/DgfipPages/ApiSatelitProduction';
import ApiSatelitSandbox from '../pages/DgfipPages/ApiSatelitSandbox';
import ApiSfipProduction from '../pages/DgfipPages/ApiSfipProduction';
import ApiSfipSandbox from '../pages/DgfipPages/ApiSfipSandbox';
import ApiSfipUnique from '../pages/DgfipPages/ApiSfipUnique';
import FranceConnect from '../pages/FranceConnect';
import HubeePortail from '../pages/HubeePortail';
import HubeePortailDila from '../pages/HubeePortailDila';
import LeTaxi from '../pages/LeTaxi';
import ApiDeclarationAutoEntrepreneur from '../pages/UrssafPages/ApiDeclarationAutoEntrepreneur';
import ApiDeclarationCesu from '../pages/UrssafPages/ApiDeclarationCesu';
import ApiTiersDePrestation from '../pages/UrssafPages/ApiTiersDePrestation';
import { ScopeConfiguration } from '../components/organisms/form-sections/DonneesSection/Scopes';
import ApiInfinoeUnique from '../pages/DgfipPages/ApiInfinoeUnique';
export type FullDataProviderConfiguration = {
label: string;
icon: string | null;
email: string | null;
type: DataProviderType;
scopesConfiguration: ScopeConfiguration[];
groups: {
[k: string]: {
label: string;
scopes: string[];
};
};
editeurs: { name: string; siret: string }[];
demarches: {
[k: string]: {
label: string;
about: string;
state: any;
team_members?: any;
};
};
cguLink: string;
donneesDescription: string;
cadreJuridiqueDescription: string;
defaultFondementJuridiqueTitle: string;
defaultFondementJuridiqueUrl: string;
};
export enum DataProviderType {
api = 'api',
service = 'service',
}
export type DataProviderConfiguration = {
label: string;
icon: string | null;
email: string | null;
type: DataProviderType;
component?: React.FC;
url?: string;
};
export const TargetAPI = {
aidants_connect: 'aidants_connect',
hubee_portail: 'hubee_portail',
hubee_portail_dila: 'hubee_portail_dila',
franceconnect: 'franceconnect',
api_entreprise: 'api_entreprise',
api_impot_particulier_sandbox: 'api_impot_particulier_sandbox',
api_impot_particulier_production: 'api_impot_particulier_production',
api_impot_particulier_unique: 'api_impot_particulier_unique',
api_impot_particulier_fc_sandbox: 'api_impot_particulier_fc_sandbox',
api_impot_particulier_fc_production: 'api_impot_particulier_fc_production',
api_impot_particulier_fc_unique: 'api_impot_particulier_fc_unique',
api_r2p_sandbox: 'api_r2p_sandbox',
api_r2p_production: 'api_r2p_production',
api_r2p_unique: 'api_r2p_unique',
api_hermes_sandbox: 'api_hermes_sandbox',
api_hermes_production: 'api_hermes_production',
api_e_contacts_sandbox: 'api_e_contacts_sandbox',
api_e_contacts_production: 'api_e_contacts_production',
api_opale_sandbox: 'api_opale_sandbox',
api_opale_production: 'api_opale_production',
api_mire_sandbox: 'api_mire_sandbox',
api_mire_production: 'api_mire_production',
api_ocfi_sandbox: 'api_ocfi_sandbox',
api_ocfi_production: 'api_ocfi_production',
api_e_pro_sandbox: 'api_e_pro_sandbox',
api_e_pro_production: 'api_e_pro_production',
api_robf_sandbox: 'api_robf_sandbox',
api_robf_production: 'api_robf_production',
api_cpr_pro_sandbox: 'api_cpr_pro_sandbox',
api_cpr_pro_production: 'api_cpr_pro_production',
api_imprimfip_sandbox: 'api_imprimfip_sandbox',
api_imprimfip_production: 'api_imprimfip_production',
api_infinoe_sandbox: 'api_infinoe_sandbox',
api_infinoe_production: 'api_infinoe_production',
api_infinoe_unique: 'api_infinoe_unique',
api_ficoba_sandbox: 'api_ficoba_sandbox',
api_ficoba_production: 'api_ficoba_production',
api_ficoba_unique: 'api_ficoba_unique',
api_droits_cnam: 'api_droits_cnam',
le_taxi: 'le_taxi',
cartobio: 'cartobio',
api_service_national: 'api_service_national',
api_tiers_de_prestation: 'api_tiers_de_prestation',
api_pro_sante_connect: 'api_pro_sante_connect',
api_declaration_auto_entrepreneur: 'api_declaration_auto_entrepreneur',
api_indemnites_journalieres_cnam: 'api_indemnites_journalieres_cnam',
api_declaration_cesu: 'api_declaration_cesu',
api_histovec: 'api_histovec',
api_prestations_sociales: 'api_prestations_sociales',
api_prestations_sociales_fc: 'api_prestations_sociales_fc',
api_ensu_documents_sandbox: 'api_ensu_documents_sandbox',
api_ensu_documents_production: 'api_ensu_documents_production',
api_ingres: 'api_ingres',
api_statut_etudiant: 'api_statut_etudiant',
api_statut_demandeur_emploi: 'api_statut_demandeur_emploi',
api_captchetat: 'api_captchetat',
api_statut_etudiant_boursier: 'api_statut_etudiant_boursier',
api_scolarite: 'api_scolarite',
api_indemnisation_pole_emploi: 'api_indemnisation_pole_emploi',
agent_connect_fi: 'agent_connect_fi',
agent_connect_fs: 'agent_connect_fs',
api_satelit_sandbox: 'api_satelit_sandbox',
api_satelit_production: 'api_satelit_production',
api_sfip_sandbox: 'api_sfip_sandbox',
api_sfip_production: 'api_sfip_production',
api_sfip_unique: 'api_sfip_unique',
};
export const DATA_PROVIDER_CONFIGURATIONS: Record<
string,
DataProviderConfiguration
> = {
[TargetAPI.aidants_connect]: {
label: 'Aidants Connect',
icon: 'aidants-connect_logo.png',
email: '[email protected]',
type: DataProviderType.service,
component: AidantsConnect,
},
[TargetAPI.hubee_portail]: {
label: 'Portail HubEE - Démarche CertDC',
icon: 'logo-hubee.png',
email: '[email protected]',
type: DataProviderType.service,
component: HubeePortail,
url: 'https://portail.hubee.numerique.gouv.fr/',
},
[TargetAPI.hubee_portail_dila]: {
label: 'Portail HubEE - Démarches DILA',
icon: 'logo-hubee.png',
email: '[email protected]',
type: DataProviderType.service,
component: HubeePortailDila,
url: 'https://portail.hubee.numerique.gouv.fr/',
},
[TargetAPI.franceconnect]: {
label: 'FranceConnect',
icon: 'logo-fc.png',
email: '[email protected]',
type: DataProviderType.api,
component: FranceConnect,
},
[TargetAPI.api_entreprise]: {
label: 'API Entreprise',
icon: null,
email: '[email protected]',
type: DataProviderType.api,
component: ApiEntreprise,
url: 'https://entreprise.api.gouv.fr/compte',
},
[TargetAPI.api_impot_particulier_sandbox]: {
label: 'API Impôt particulier (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierSandbox,
},
[TargetAPI.api_impot_particulier_production]: {
label: 'API Impôt particulier (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierProduction,
},
[TargetAPI.api_impot_particulier_unique]: {
label: 'API Impôt particulier (Formulaire Unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierUnique,
},
[TargetAPI.api_impot_particulier_fc_sandbox]: {
label: 'API Impôt particulier (FC) (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierFcSandbox,
},
[TargetAPI.api_impot_particulier_fc_production]: {
label: 'API Impôt particulier (FC) (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierFcProduction,
},
[TargetAPI.api_impot_particulier_fc_unique]: {
label: 'API Impôt particulier (FC) (Formulaire Unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImpotParticulierFcUnique,
},
[TargetAPI.api_r2p_sandbox]: {
label: 'API R2P (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiR2PSandbox,
},
[TargetAPI.api_r2p_production]: {
label: 'API R2P (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiR2PProduction,
},
[TargetAPI.api_r2p_unique]: {
label: 'API R2P (Formulaire Unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiR2PUnique,
},
[TargetAPI.api_hermes_sandbox]: {
label: 'API Hermes (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiHermesSandbox,
},
[TargetAPI.api_hermes_production]: {
label: 'API Hermes (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiHermesProduction,
},
[TargetAPI.api_e_contacts_sandbox]: {
label: 'API E-Contacts (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEContactsSandbox,
},
[TargetAPI.api_e_contacts_production]: {
label: 'API E-Contacts (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEContactsProduction,
},
[TargetAPI.api_opale_sandbox]: {
label: 'API OPALE (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiOpaleSandbox,
},
[TargetAPI.api_opale_production]: {
label: 'API OPALE (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiOpaleProduction,
},
[TargetAPI.api_mire_sandbox]: {
label: 'API MIRE (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiMireSandbox,
},
[TargetAPI.api_mire_production]: {
label: 'API MIRE (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiMireProduction,
},
[TargetAPI.api_ocfi_sandbox]: {
label: 'API OCFI (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiOcfiSandbox,
},
[TargetAPI.api_ocfi_production]: {
label: 'API OCFI (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiOcfiProduction,
},
[TargetAPI.api_e_pro_sandbox]: {
label: 'API E-PRO (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEProSandbox,
},
[TargetAPI.api_e_pro_production]: {
label: 'API E-PRO (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEProProduction,
},
[TargetAPI.api_robf_sandbox]: {
label: 'API ROBF (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiRobfSandbox,
},
[TargetAPI.api_robf_production]: {
label: 'API ROBF (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiRobfProduction,
},
[TargetAPI.api_cpr_pro_sandbox]: {
label: 'API CPR PRO - ADELIE (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiCprProSandbox,
},
[TargetAPI.api_cpr_pro_production]: {
label: 'API CPR PRO - ADELIE (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiCprProProduction,
},
[TargetAPI.api_imprimfip_sandbox]: {
label: 'API IMPRIM’FIP (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImprimfipSandbox,
},
[TargetAPI.api_imprimfip_production]: {
label: 'API IMPRIM’FIP (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiImprimfipProduction,
},
[TargetAPI.api_infinoe_sandbox]: {
label: 'API INFINOE (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiInfinoeSandbox,
},
[TargetAPI.api_infinoe_production]: {
label: 'API INFINOE (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiInfinoeProduction,
},
[TargetAPI.api_infinoe_unique]: {
label: 'API INFINOE (Formulaire unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiInfinoeUnique,
},
[TargetAPI.api_ficoba_sandbox]: {
label: 'API FICOBA (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiFicobaSandbox,
},
[TargetAPI.api_ficoba_production]: {
label: 'API FICOBA (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiFicobaProduction,
},
[TargetAPI.api_ficoba_unique]: {
label: 'API FICOBA (Formulaire Unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiFicobaUnique,
},
[TargetAPI.api_droits_cnam]: {
label: 'API Droits CNAM',
icon: 'logo-cnam.jpg',
email: '[email protected]',
type: DataProviderType.api,
component: ApiDroitsCnam,
},
[TargetAPI.le_taxi]: {
label: 'API le.Taxi',
icon: 'logo-le.taxi.svg',
email: '[email protected]',
type: DataProviderType.api,
component: LeTaxi,
},
[TargetAPI.cartobio]: {
label: 'CartoBio - Territoires',
icon: 'logo-cartobio-text.svg',
email: '[email protected]',
type: DataProviderType.api,
component: CartoBio,
},
[TargetAPI.api_service_national]: {
label: 'API Service National',
icon: null,
email: '[email protected]',
type: DataProviderType.api,
component: ApiServiceNational,
},
[TargetAPI.api_tiers_de_prestation]: {
label: 'API Tiers de prestation',
icon: 'logo-urssaf.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiTiersDePrestation,
},
[TargetAPI.api_pro_sante_connect]: {
label: 'API Pro Santé Connect',
icon: 'logo-ans.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiProSanteConnect,
},
[TargetAPI.api_declaration_auto_entrepreneur]: {
label: 'API Tierce Déclaration auto-entrepreneur',
icon: 'logo-urssaf.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiDeclarationAutoEntrepreneur,
},
[TargetAPI.api_indemnites_journalieres_cnam]: {
label: 'API Indemnités Journalières (CNAM)',
icon: 'logo-cnam.jpg',
email: '[email protected]',
type: DataProviderType.api,
component: ApiIndemnitesJournalieresCnam,
},
[TargetAPI.api_declaration_cesu]: {
label: 'API Tierce Déclaration CESU',
icon: 'logo-urssaf.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiDeclarationCesu,
},
[TargetAPI.api_histovec]: {
label: 'API Historique d’un véhicule',
icon: 'logo-minint.png',
email: null,
type: DataProviderType.api,
component: ApiHistovec,
},
[TargetAPI.api_prestations_sociales]: {
label: 'API prestations sociales',
icon: null,
email: '[email protected]',
type: DataProviderType.api,
component: ApiPrestationsSociales,
},
[TargetAPI.api_prestations_sociales_fc]: {
label: 'API prestations sociales (FC)',
icon: null,
email: null,
type: DataProviderType.api,
component: ApiPrestationsSocialesFc,
},
[TargetAPI.api_ensu_documents_sandbox]: {
label: 'API ENSU Documents (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEnsuDocumentsSandbox,
},
[TargetAPI.api_ensu_documents_production]: {
label: 'API ENSU Documents (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiEnsuDocumentsProduction,
},
[TargetAPI.api_ingres]: {
label: 'API INGRES',
icon: null,
email: '[email protected]',
type: DataProviderType.api,
component: ApiIngres,
},
[TargetAPI.api_statut_etudiant]: {
label: 'API Statut étudiant',
icon: 'logo-mesri.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiStatutEtudiant,
},
[TargetAPI.api_statut_demandeur_emploi]: {
label: 'API statut demandeur d’emploi',
icon: 'logo-pole-emploi.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiStatutDemandeurEmploi,
},
[TargetAPI.api_captchetat]: {
label: 'API CaptchEtat',
icon: 'logo-aife.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiCaptchetat,
},
[TargetAPI.api_statut_etudiant_boursier]: {
label: 'API Statut étudiant boursier',
icon: 'logo-cnous.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiStatutEtudiantBoursier,
},
[TargetAPI.api_scolarite]: {
label: 'API Scolarité',
icon: 'logo-menj.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiScolarite,
},
[TargetAPI.api_indemnisation_pole_emploi]: {
label: 'API Indemnisation France Travail',
icon: 'logo-pole-emploi.png',
email: '[email protected]',
type: DataProviderType.api,
component: ApiIndemnisationPoleEmploi,
},
[TargetAPI.agent_connect_fi]: {
label: 'ProConnect - fournisseur d’identité',
icon: 'logo-agentconnect.png',
email: '[email protected]',
type: DataProviderType.api,
component: AgentConnectFi,
},
[TargetAPI.agent_connect_fs]: {
label: 'ProConnect - fournisseur de service',
icon: 'logo-agentconnect.png',
email: '[email protected]',
type: DataProviderType.api,
component: AgentConnectFs,
},
[TargetAPI.api_satelit_sandbox]: {
label: 'API Satelit (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiSatelitSandbox,
},
[TargetAPI.api_satelit_production]: {
label: 'API Satelit (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiSatelitProduction,
},
[TargetAPI.api_sfip_sandbox]: {
label: 'API Courtier fonctionnel SFiP (Bac à sable)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiSfipSandbox,
},
[TargetAPI.api_sfip_production]: {
label: 'API Courtier fonctionnel SFiP (Production)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiSfipProduction,
},
[TargetAPI.api_sfip_unique]: {
label: 'API Courtier fonctionnel SFiP (Formulaire Unique)',
icon: 'logo-dgfip.jpg',
email: `[email protected], [email protected]`,
type: DataProviderType.api,
component: ApiSfipUnique,
},
};
export const HIDDEN_DATA_PROVIDER_KEYS = [
'api_hermes_sandbox',
'api_hermes_production',
'api_e_contacts_sandbox',
'api_e_contacts_production',
'api_opale_sandbox',
'api_opale_production',
'api_mire_sandbox',
'api_mire_production',
'api_ocfi_sandbox',
'api_ocfi_production',
'api_e_pro_sandbox',
'api_e_pro_production',
'api_robf_sandbox',
'api_robf_production',
'api_cpr_pro_sandbox',
'api_cpr_pro_production',
'api_infinoe_sandbox',
'api_infinoe_production',
'api_sfip_sandbox',
'api_sfip_production',
'api_sfip_unique',
];
// Centralise this 2 Const for Login Page and WelcomeMessageRouter
export const APISDGFIP = [
'api_impot_particulier_sandbox',
'api_impot_particulier_production',
'api_r2p_sandbox',
'api_r2p_production',
'api_hermes_sandbox',
'api_hermes_production',
'api_e_contacts_sandbox',
'api_e_contacts_production',
'api_opale_sandbox',
'api_opale_production',
'api_mire_sandbox',
'api_mire_production',
'api_ocfi_sandbox',
'api_ocfi_production',
'api_e_pro_sandbox',
'api_e_pro_production',
'api_robf_sandbox',
'api_robf_production',
'api_cpr_pro_sandbox',
'api_cpr_pro_production',
'api_imprimfip_sandbox',
'api_imprimfip_production',
'api_infinoe_sandbox',
'api_infinoe_production',
'api_ficoba_sandbox',
'api_ficoba_production',
'api_ensu_documents_sandbox',
'api_ensu_documents_production',
'api_satelit_sandbox',
'api_satelit_production',
'api_sfip_sandbox',
'api_sfip_production',
];
export const APISFRANCECONNECTED = [
'api_impot_particulier_fc_sandbox',
'api_impot_particulier_fc_production',
'api_impot_particulier_fc_unique',
'api_droits_cnam',
'api_prestations_sociales',
'api_statut_etudiant',
'api_statut_demandeur_emploi',
'api_statut_etudiant_boursier',
'api_indemnisation_pole_emploi',
];