cozy-client 27.6.5 → 27.7.0
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 +11 -0
- package/dist/CozyClient.js +1 -1
- package/dist/assets/qualifications.json +89 -25
- package/dist/models/document/documentTypeData.js +6 -6
- package/dist/models/document/locales/en.json +13 -4
- package/dist/models/document/locales/fr.json +16 -7
- package/dist/types.js +6 -6
- package/package.json +2 -2
- package/types/types.d.ts +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [27.7.0](https://github.com/cozy/cozy-client/compare/v27.6.5...v27.7.0) (2022-01-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add of missing papers targeted for v1 ([25e4953](https://github.com/cozy/cozy-client/commit/25e4953cee9de7f7043aea33a2f2b67841435529))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [27.6.5](https://github.com/cozy/cozy-client/compare/v27.6.4...v27.6.5) (2021-12-20)
|
|
7
18
|
|
|
8
19
|
|
package/dist/CozyClient.js
CHANGED
|
@@ -2452,7 +2452,7 @@ var CozyClient = /*#__PURE__*/function () {
|
|
|
2452
2452
|
CozyClient.hooks = CozyClient.hooks || {};
|
|
2453
2453
|
CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
|
|
2454
2454
|
|
|
2455
|
-
CozyClient.version = "27.
|
|
2455
|
+
CozyClient.version = "27.7.0";
|
|
2456
2456
|
|
|
2457
2457
|
_microee.default.mixin(CozyClient);
|
|
2458
2458
|
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"label": "other_identity_document",
|
|
52
|
-
"purpose": "attestation"
|
|
52
|
+
"purpose": "attestation",
|
|
53
|
+
"subjects": ["identity"]
|
|
53
54
|
},
|
|
54
55
|
{
|
|
55
56
|
"label": "wedding",
|
|
@@ -86,7 +87,8 @@
|
|
|
86
87
|
"subjects": ["right"]
|
|
87
88
|
},
|
|
88
89
|
{
|
|
89
|
-
"label": "other_family_document"
|
|
90
|
+
"label": "other_family_document",
|
|
91
|
+
"subjects": ["family"]
|
|
90
92
|
},
|
|
91
93
|
{
|
|
92
94
|
"label": "diploma",
|
|
@@ -133,7 +135,7 @@
|
|
|
133
135
|
"label": "student_card",
|
|
134
136
|
"purpose": "attestation",
|
|
135
137
|
"sourceCategory": "education",
|
|
136
|
-
"subjects": ["identity"]
|
|
138
|
+
"subjects": ["identity", "right", "employment", "education"]
|
|
137
139
|
},
|
|
138
140
|
{
|
|
139
141
|
"label": "resume",
|
|
@@ -146,39 +148,59 @@
|
|
|
146
148
|
"subjects": ["employment"]
|
|
147
149
|
},
|
|
148
150
|
{
|
|
149
|
-
"label": "other_work_document"
|
|
151
|
+
"label": "other_work_document",
|
|
152
|
+
"purpose": "employment"
|
|
150
153
|
},
|
|
151
154
|
{
|
|
152
155
|
"label": "health_book",
|
|
153
156
|
"purpose": "attestation",
|
|
154
157
|
"sourceCategory": "health",
|
|
155
|
-
"subjects": ["
|
|
158
|
+
"subjects": ["capacity", "vaccine"]
|
|
156
159
|
},
|
|
157
160
|
{
|
|
158
161
|
"label": "health_certificate",
|
|
159
162
|
"purpose": "attestation",
|
|
160
163
|
"sourceCategory": "health",
|
|
161
|
-
"subjects": ["
|
|
164
|
+
"subjects": ["capacity", "vaccine"]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"label": "pregnancy_medical_certificate",
|
|
168
|
+
"purpose": "attestation",
|
|
169
|
+
"sourceCategory": "health",
|
|
170
|
+
"subjects": ["pregnancy"]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"label": "work_disability_recognition",
|
|
174
|
+
"purpose": "attestation",
|
|
175
|
+
"sourceCategory": "health",
|
|
176
|
+
"subjects": ["right"]
|
|
162
177
|
},
|
|
163
178
|
{
|
|
164
179
|
"label": "national_health_insurance_card",
|
|
165
180
|
"purpose": "attestation",
|
|
166
181
|
"sourceCategory": "gov",
|
|
167
182
|
"sourceSubCategory": "health",
|
|
168
|
-
"subjects": ["
|
|
183
|
+
"subjects": ["insurance"]
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"label": "national_health_insurance_right_certificate",
|
|
187
|
+
"purpose": "attestation",
|
|
188
|
+
"sourceCategory": "gov",
|
|
189
|
+
"sourceSubCategory": "health",
|
|
190
|
+
"subjects": ["right", "insurance"]
|
|
169
191
|
},
|
|
170
192
|
{
|
|
171
193
|
"label": "health_insurance_card",
|
|
172
194
|
"purpose": "attestation",
|
|
173
195
|
"sourceCategory": "insurance",
|
|
174
196
|
"sourceSubCategory": "health",
|
|
175
|
-
"subjects": ["
|
|
197
|
+
"subjects": ["insurance"]
|
|
176
198
|
},
|
|
177
199
|
{
|
|
178
200
|
"label": "prescription",
|
|
179
201
|
"purpose": "attestation",
|
|
180
202
|
"sourceCategory": "health",
|
|
181
|
-
"subjects": ["
|
|
203
|
+
"subjects": ["right", "medecine"]
|
|
182
204
|
},
|
|
183
205
|
{
|
|
184
206
|
"label": "health_invoice",
|
|
@@ -186,14 +208,15 @@
|
|
|
186
208
|
"sourceCategory": "health"
|
|
187
209
|
},
|
|
188
210
|
{
|
|
189
|
-
"label": "other_health_document"
|
|
211
|
+
"label": "other_health_document",
|
|
212
|
+
"subjects": ["health"]
|
|
190
213
|
},
|
|
191
214
|
{
|
|
192
215
|
"label": "vehicle_registration",
|
|
193
216
|
"purpose": "attestation",
|
|
194
217
|
"sourceCategory": "gov",
|
|
195
218
|
"sourceSubCategory": "transport",
|
|
196
|
-
"subjects": ["
|
|
219
|
+
"subjects": ["vehicule", "indentity", "right"]
|
|
197
220
|
},
|
|
198
221
|
{
|
|
199
222
|
"label": "car_insurance",
|
|
@@ -213,7 +236,8 @@
|
|
|
213
236
|
"sourceCategory": "transport"
|
|
214
237
|
},
|
|
215
238
|
{
|
|
216
|
-
"label": "other_transport_document"
|
|
239
|
+
"label": "other_transport_document",
|
|
240
|
+
"sourceCategory": "transport"
|
|
217
241
|
},
|
|
218
242
|
{
|
|
219
243
|
"label": "house_sale_agreeement",
|
|
@@ -266,7 +290,8 @@
|
|
|
266
290
|
"subjects": ["building", "house"]
|
|
267
291
|
},
|
|
268
292
|
{
|
|
269
|
-
"label": "other_house_document"
|
|
293
|
+
"label": "other_house_document",
|
|
294
|
+
"subjects": ["house"]
|
|
270
295
|
},
|
|
271
296
|
{
|
|
272
297
|
"label": "phone_invoice",
|
|
@@ -338,15 +363,13 @@
|
|
|
338
363
|
},
|
|
339
364
|
{
|
|
340
365
|
"label": "other_tax_document",
|
|
341
|
-
"sourceCategory": "gov",
|
|
342
|
-
"sourceSubCategory": "tax",
|
|
343
366
|
"subjects": ["tax"]
|
|
344
367
|
},
|
|
345
368
|
{
|
|
346
369
|
"label": "bank_details",
|
|
347
370
|
"purpose": "attestation",
|
|
348
371
|
"sourceCategory": "bank",
|
|
349
|
-
"subjects": ["
|
|
372
|
+
"subjects": ["bank_account"]
|
|
350
373
|
},
|
|
351
374
|
{
|
|
352
375
|
"label": "bank_statement",
|
|
@@ -366,25 +389,66 @@
|
|
|
366
389
|
{
|
|
367
390
|
"label": "receipt",
|
|
368
391
|
"purpose": "report"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"label": "payment_proof_family_allowance",
|
|
395
|
+
"purpose": "attestation",
|
|
396
|
+
"sourceCategory": "gov",
|
|
397
|
+
"sourceSubCategory": "tax",
|
|
398
|
+
"subjects": ["subvention"]
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"label": "school_attendance_certificate",
|
|
402
|
+
"purpose": "attestation",
|
|
403
|
+
"sourceCategory": "education",
|
|
404
|
+
"subjects": ["identity", "right", "education"]
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"label": "unfit_for_habitation_declaration",
|
|
408
|
+
"purpose": "attestation",
|
|
409
|
+
"sourceCategory": "gov",
|
|
410
|
+
"sourceSubCategory": "real_estate",
|
|
411
|
+
"subjects": ["compliance"]
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"label": "accommodation_proof",
|
|
415
|
+
"purpose": "attestation",
|
|
416
|
+
"sourceCategory": "individual",
|
|
417
|
+
"subjects": ["address"]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"label": "citizen_registration_certificate",
|
|
421
|
+
"purpose": "attestation",
|
|
422
|
+
"sourceCategory": "gov",
|
|
423
|
+
"sourceSubCategory": "civil_registration",
|
|
424
|
+
"subjects": ["achievement","education"]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"label": "personal_sporting_licence",
|
|
428
|
+
"purpose": "attestation",
|
|
429
|
+
"sourceCategory": "gov",
|
|
430
|
+
"sourceSubCategory": "sport",
|
|
431
|
+
"subjects": ["permit", "invoice"]
|
|
369
432
|
}
|
|
370
433
|
],
|
|
371
434
|
"purposeKnownValues": [
|
|
372
|
-
"attestation", "contract", "invoice", "report", "description", "evaluation"
|
|
435
|
+
"attestation", "contract", "invoice", "report", "description", "evaluation", "employment"
|
|
373
436
|
],
|
|
374
437
|
"sourceCategoryKnownValues": [
|
|
375
|
-
"bank", "insurance", "retail", "telecom", "energy", "water", "health", "gov",
|
|
438
|
+
"bank", "insurance", "retail", "telecom", "energy", "water", "health", "gov", "association",
|
|
376
439
|
"education", "employer", "transport", "goods", "alimentation", "building",
|
|
377
|
-
"real_estate", "web"
|
|
440
|
+
"real_estate", "web", "individual"
|
|
378
441
|
],
|
|
379
442
|
"sourceSubCategoryKnownValues": [
|
|
380
443
|
"civil_registration", "immigration", "transport", "family", "tax", "health",
|
|
381
|
-
"real_estate", "mobile", "internet"
|
|
444
|
+
"real_estate", "mobile", "internet", "citizen", "sport"
|
|
382
445
|
],
|
|
383
446
|
"subjectsKnownValues": [
|
|
384
|
-
"identity", "permit", "family", "driving", "right", "subvention", "achievement",
|
|
385
|
-
"degree", "work", "employment", "revenues", "history", "insurance",
|
|
386
|
-
"medical_act", "car", "moto", "truck", "boat", "subscription", "buy/sale",
|
|
387
|
-
"house", "compliance", "building", "food", "real_estate", "tax",
|
|
388
|
-
"education", "statement", "course", "internet", "phone", "vaccine", "capacity"
|
|
447
|
+
"identity", "permit", "family", "address", "driving", "right", "subvention", "achievement",
|
|
448
|
+
"degree", "work", "employment", "revenues", "history", "insurance",
|
|
449
|
+
"medical_act", "vehicule", "car", "moto", "truck", "boat", "subscription", "buy/sale",
|
|
450
|
+
"house", "compliance", "building", "food", "real_estate", "tax", "address",
|
|
451
|
+
"education", "statement", "course", "internet", "phone", "vaccine", "capacity",
|
|
452
|
+
"health", "drugs", "child", "pregnancy", "bank_account"
|
|
389
453
|
]
|
|
390
454
|
}
|
|
@@ -32,27 +32,27 @@ var buildItemsByLabel = function buildItemsByLabel(labels) {
|
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var identityLabels = ['identity_photo', 'national_id_card', 'passport', 'residence_permit', 'family_record_book', 'birth_certificate', 'driver_license', 'other_identity_document'];
|
|
35
|
+
var identityLabels = ['identity_photo', 'national_id_card', 'passport', 'residence_permit', 'family_record_book', 'birth_certificate', 'driver_license', 'citizen_registration_certificate', 'personal_sporting_licence', 'other_identity_document'];
|
|
36
36
|
/**
|
|
37
37
|
* @type {Array<FamilyLabel>}
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
|
-
var familyLabels = ['family_record_book', 'birth_certificate', 'wedding', 'pacs', 'divorce', 'large_family_card', 'caf', 'other_family_document'];
|
|
40
|
+
var familyLabels = ['family_record_book', 'birth_certificate', 'wedding', 'pacs', 'divorce', 'large_family_card', 'caf', 'payment_proof_family_allowance', 'other_family_document'];
|
|
41
41
|
/**
|
|
42
42
|
* @type {Array<WorkStudyLabels>}
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
|
-
var workStudyLabels = ['diploma', 'work_contract', 'pay_sheet', 'unemployment_benefit', 'pension', 'other_revenue', 'gradebook', 'student_card', 'resume', 'motivation_letter', 'other_work_document'];
|
|
45
|
+
var workStudyLabels = ['diploma', 'work_contract', 'pay_sheet', 'unemployment_benefit', 'pension', 'work_disability_recognition', 'other_revenue', 'gradebook', 'student_card', 'school_attendance_certificate', 'resume', 'motivation_letter', 'other_work_document'];
|
|
46
46
|
/**
|
|
47
47
|
* @type {Array<HealthLabels>}
|
|
48
48
|
*/
|
|
49
49
|
|
|
50
|
-
var healthLabels = ['health_certificate', 'health_book', 'national_health_insurance_card', 'health_insurance_card', 'prescription', 'health_invoice'];
|
|
50
|
+
var healthLabels = ['health_certificate', 'health_book', 'national_health_insurance_card', 'national_health_insurance_right_certificate', 'health_insurance_card', 'prescription', 'health_invoice', 'work_disability_recognition', 'pregnancy_medical_certificate', 'other_health_document'];
|
|
51
51
|
/**
|
|
52
52
|
* @type {Array<HomeLabels>}
|
|
53
53
|
*/
|
|
54
54
|
|
|
55
|
-
var homeLabels = ['phone_invoice', 'isp_invoice', 'telecom_invoice', 'energy_invoice', 'water_invoice', 'house_sale_agreeement', 'building_permit', 'technical_diagnostic_record', 'lease', 'rent_receipt', 'house_insurance', 'work_quote', 'work_invoice', 'other_house_document'];
|
|
55
|
+
var homeLabels = ['phone_invoice', 'isp_invoice', 'telecom_invoice', 'energy_invoice', 'water_invoice', 'house_sale_agreeement', 'building_permit', 'technical_diagnostic_record', 'unfit_for_habitation_declaration', 'lease', 'rent_receipt', 'accommodation_proof', 'house_insurance', 'work_quote', 'work_invoice', 'other_house_document'];
|
|
56
56
|
/**
|
|
57
57
|
* @type {Array<TransportLabels>}
|
|
58
58
|
*/
|
|
@@ -62,7 +62,7 @@ var transportLabels = ['driver_license', 'vehicle_registration', 'car_insurance'
|
|
|
62
62
|
* @type {Array<FinanceLabels>}
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
|
-
var financeLabels = ['tax_return', 'tax_notice', 'tax_timetable', 'receipt', 'other_tax_document', 'bank_details', 'bank_statement', 'loan_agreement', 'other_bank_document'];
|
|
65
|
+
var financeLabels = ['tax_return', 'tax_notice', 'tax_timetable', 'receipt', 'other_tax_document', 'bank_details', 'bank_statement', 'loan_agreement', 'payment_proof_family_allowance', 'other_bank_document'];
|
|
66
66
|
/**
|
|
67
67
|
* @type {Array<InvoiceLabels>}
|
|
68
68
|
*/
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"items": {
|
|
20
20
|
"identity": "Identity",
|
|
21
21
|
"family": "Family",
|
|
22
|
-
"work_study": "Work",
|
|
22
|
+
"work_study": "Work & Study",
|
|
23
23
|
"health": "Health",
|
|
24
24
|
"home": "Home",
|
|
25
25
|
"transport": "Transport",
|
|
@@ -31,13 +31,15 @@
|
|
|
31
31
|
"residence_permit": "Residence permit",
|
|
32
32
|
"family_record_book": "Family record book",
|
|
33
33
|
"birth_certificate": "Birth certificate",
|
|
34
|
+
"citizen_registration_certificate": "Certificate of citizen registration",
|
|
34
35
|
"driver_license": "Driving license",
|
|
35
36
|
"other_identity_document": "Other identity",
|
|
36
37
|
"wedding": "Wedding contract",
|
|
37
38
|
"pacs": "Civil union",
|
|
38
39
|
"divorce": "Divorce",
|
|
39
40
|
"large_family_card": " Large Family Card",
|
|
40
|
-
"caf": "Social benefit",
|
|
41
|
+
"caf": "Social benefit rate",
|
|
42
|
+
"payment_proof_family_allowance": "family allowance payment proof",
|
|
41
43
|
"other_family_document": "Other family document",
|
|
42
44
|
"diploma": "Diploma",
|
|
43
45
|
"work_contract": "Work contract",
|
|
@@ -47,12 +49,16 @@
|
|
|
47
49
|
"other_revenue": "Other revenues",
|
|
48
50
|
"gradebook": "Gradebook",
|
|
49
51
|
"student_card": "Student card",
|
|
52
|
+
"school_attendance_certificate": "Certificate of school attendance",
|
|
50
53
|
"resume": "Resume",
|
|
51
54
|
"motivation_letter": "Motivation letter",
|
|
52
55
|
"other_work_document": "Other work document",
|
|
53
56
|
"health_book": "Health book",
|
|
54
57
|
"health_certificate": "Health/Vaccination certificate",
|
|
55
|
-
"
|
|
58
|
+
"disability_recognition": "Recognition of disability",
|
|
59
|
+
"pregnancy_medical_certificate": "Certificate of pregnancy",
|
|
60
|
+
"national_health_insurance_card": "National health insurance card",
|
|
61
|
+
"national_health_insurance_right_certificate": "National health insurance right certificate",
|
|
56
62
|
"health_insurance_card": "Insurance card",
|
|
57
63
|
"prescription": "Prescription",
|
|
58
64
|
"health_invoice": "Health invoice",
|
|
@@ -75,7 +81,9 @@
|
|
|
75
81
|
"technical_diagnostic_record": "Technical diagnostic record",
|
|
76
82
|
"lease": "Lease",
|
|
77
83
|
"house_insurance": "Home insurance",
|
|
84
|
+
"unfit_for_habitation_declaration": "Declaration of unfit for habitation",
|
|
78
85
|
"rent_receipt": "Rent receipt",
|
|
86
|
+
"accommodation_proof": "Proof of accommodation",
|
|
79
87
|
"work_quote": "Work quote",
|
|
80
88
|
"work_invoice": "Work invoice",
|
|
81
89
|
"other_house_document": "Other house document",
|
|
@@ -89,12 +97,13 @@
|
|
|
89
97
|
"loan_agreement": "Loan agreement",
|
|
90
98
|
"other_bank_document": "Other banking document",
|
|
91
99
|
"invoices": "Invoices",
|
|
100
|
+
"personal_sporting_licence": "Sporting licence",
|
|
92
101
|
"other_invoice": "Other invoice"
|
|
93
102
|
},
|
|
94
103
|
"themes": {
|
|
95
104
|
"identity": "Identity",
|
|
96
105
|
"family": "Family",
|
|
97
|
-
"work_study": "Work",
|
|
106
|
+
"work_study": "Work & Study",
|
|
98
107
|
"health": "Health",
|
|
99
108
|
"home": "Home",
|
|
100
109
|
"transport": "Transport",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"items": {
|
|
20
20
|
"identity": "Identité",
|
|
21
21
|
"family": "Famille",
|
|
22
|
-
"work_study": "Travail",
|
|
22
|
+
"work_study": "Travail & Études",
|
|
23
23
|
"health": "Santé",
|
|
24
24
|
"home": "Logement",
|
|
25
25
|
"transport": "Transport",
|
|
@@ -31,13 +31,15 @@
|
|
|
31
31
|
"residence_permit": "Titre de séjour",
|
|
32
32
|
"family_record_book": "Livret de famille",
|
|
33
33
|
"birth_certificate": "Certificat de naissance",
|
|
34
|
+
"citizen_registration_certificate": "Attestation de recensement citoyen",
|
|
34
35
|
"driver_license": "Permis",
|
|
35
36
|
"other_identity_document": "Autre identité",
|
|
36
37
|
"wedding": "Contrat de mariage",
|
|
37
38
|
"pacs": "Attestation de PACS",
|
|
38
39
|
"divorce": "Attestation de divorce",
|
|
39
40
|
"large_family_card": "Carte famille nombreuse",
|
|
40
|
-
"caf": "CAF",
|
|
41
|
+
"caf": "Attestation de quotient familial (CAF)",
|
|
42
|
+
"payment_proof_family_allowance": "Attestation de paiement CAF",
|
|
41
43
|
"other_family_document": "Autre document de famille",
|
|
42
44
|
"diploma": "Diplôme",
|
|
43
45
|
"work_contract": "Contrat de travail",
|
|
@@ -47,12 +49,16 @@
|
|
|
47
49
|
"other_revenue": "Autres revenues",
|
|
48
50
|
"gradebook": "Bulletin de notes",
|
|
49
51
|
"student_card": "Carte d'étudiant",
|
|
52
|
+
"school_attendance_certificate": "Certificat de scolarité",
|
|
50
53
|
"resume": "CV",
|
|
51
54
|
"motivation_letter": "Lettre de motivation",
|
|
52
55
|
"other_work_document": "Autre document de travail",
|
|
53
56
|
"health_book": "Carnet de santé",
|
|
54
57
|
"health_certificate": "Certificat de santé/vaccination",
|
|
58
|
+
"work_disability_recognition": "Reconnaissance de handicap - RQTH",
|
|
59
|
+
"pregnancy_medical_certificate": "Certificat de grossesse",
|
|
55
60
|
"national_health_insurance_card": "Carte vitale",
|
|
61
|
+
"national_health_insurance_right_certificate": "Attestation de droits de l'Assurance Maladie (vitale)",
|
|
56
62
|
"health_insurance_card": "Carte de mutuelle",
|
|
57
63
|
"prescription": "Ordonnance",
|
|
58
64
|
"health_invoice": "Facture médicale",
|
|
@@ -74,27 +80,30 @@
|
|
|
74
80
|
"building_permit": "Permis de construire",
|
|
75
81
|
"technical_diagnostic_record": "Dossier de diagnostic technique",
|
|
76
82
|
"lease": "Bail",
|
|
83
|
+
"unfit_for_habitation_declaration": "Arrêté d'insalubrité",
|
|
77
84
|
"house_insurance": "Assurance logement",
|
|
78
85
|
"rent_receipt": "Quittance de loyer",
|
|
86
|
+
"accommodation_proof": "Attestation d'hébergement",
|
|
79
87
|
"work_quote": "Devis de travaux",
|
|
80
88
|
"work_invoice": "Facture de travaux",
|
|
81
89
|
"other_house_document": "Autre document de logement",
|
|
82
|
-
"tax_return": "Déclaration
|
|
83
|
-
"tax_notice": "Avis d'imposition",
|
|
84
|
-
"tax_timetable": "Echéancier
|
|
90
|
+
"tax_return": "Impôts - Déclaration de revenus",
|
|
91
|
+
"tax_notice": "Impôts - Avis d'imposition",
|
|
92
|
+
"tax_timetable": "Impôts - Echéancier",
|
|
85
93
|
"receipt": "Accusé de réception",
|
|
86
|
-
"other_tax_document": "Autre document
|
|
94
|
+
"other_tax_document": "Impôts - Autre document",
|
|
87
95
|
"bank_details": "IBAN",
|
|
88
96
|
"bank_statement": "Relevé de compte",
|
|
89
97
|
"loan_agreement": "Contrat de prêt",
|
|
90
98
|
"other_bank_document": "Autre document bancaire",
|
|
91
99
|
"invoices": "Factures",
|
|
100
|
+
"personal_sporting_licence": "Licences sportives",
|
|
92
101
|
"other_invoice": "Autre facture"
|
|
93
102
|
},
|
|
94
103
|
"themes": {
|
|
95
104
|
"identity": "Identité",
|
|
96
105
|
"family": "Famille",
|
|
97
|
-
"work_study": "Travail",
|
|
106
|
+
"work_study": "Travail & Études",
|
|
98
107
|
"health": "Santé",
|
|
99
108
|
"home": "Logement",
|
|
100
109
|
"transport": "Transport",
|
package/dist/types.js
CHANGED
|
@@ -276,19 +276,19 @@ var _dsl = require("./queries/dsl");
|
|
|
276
276
|
*/
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
|
-
* @typedef {'identity_photo'|'national_id_card'|'passport'|'residence_permit'|'family_record_book'|'birth_certificate'|'driver_license'|'other_identity_document'} IdentityLabel
|
|
279
|
+
* @typedef {'identity_photo'|'national_id_card'|'passport'|'residence_permit'|'family_record_book'|'birth_certificate'|'driver_license'|'other_identity_document'|'citizen_registration_certificate'|'personal_sporting_licence'} IdentityLabel
|
|
280
280
|
*
|
|
281
|
-
* @typedef {'family_record_book'|'birth_certificate'|'wedding'|'pacs'|'divorce'|'large_family_card'|'caf'|'other_family_document'} FamilyLabel
|
|
281
|
+
* @typedef {'family_record_book'|'birth_certificate'|'wedding'|'pacs'|'divorce'|'large_family_card'|'caf'|'other_family_document'|'payment_proof_family_allowance'} FamilyLabel
|
|
282
282
|
*
|
|
283
|
-
* @typedef {'diploma'|'work_contract'|'pay_sheet'|'unemployment_benefit'|'pension'|'other_revenue'|'gradebook'|'student_card'|'resume'|'motivation_letter'|'other_work_document'} WorkStudyLabels
|
|
283
|
+
* @typedef {'diploma'|'work_contract'|'pay_sheet'|'unemployment_benefit'|'pension'|'other_revenue'|'gradebook'|'student_card'|'resume'|'motivation_letter'|'other_work_document'|'work_disability_recognition'|'school_attendance_certificate'} WorkStudyLabels
|
|
284
284
|
*
|
|
285
|
-
* @typedef {'health_certificate'|'health_book'|'national_health_insurance_card'|'health_insurance_card'|'prescription'|'health_invoice'} HealthLabels
|
|
285
|
+
* @typedef {'health_certificate'|'health_book'|'national_health_insurance_card'|'health_insurance_card'|'prescription'|'health_invoice'|'national_health_insurance_right_certificate'|'work_disability_recognition'|'pregnancy_medical_certificate'|'other_health_document'} HealthLabels
|
|
286
286
|
*
|
|
287
|
-
* @typedef {'phone_invoice'|'isp_invoice'|'telecom_invoice'|'energy_invoice'|'water_invoice'|'house_sale_agreeement'|'building_permit'|'technical_diagnostic_record'|'lease'|'rent_receipt'|'house_insurance'|'work_quote'|'work_invoice'|'other_house_document'} HomeLabels
|
|
287
|
+
* @typedef {'phone_invoice'|'isp_invoice'|'telecom_invoice'|'energy_invoice'|'water_invoice'|'house_sale_agreeement'|'building_permit'|'technical_diagnostic_record'|'lease'|'rent_receipt'|'house_insurance'|'work_quote'|'work_invoice'|'other_house_document'|'unfit_for_habitation_declaration'|'accommodation_proof'|'house_insurance'} HomeLabels
|
|
288
288
|
*
|
|
289
289
|
* @typedef {'driver_license'|'vehicle_registration'|'car_insurance'|'mechanic_invoice'|'transport_invoice'|'other_transport_document'} TransportLabels
|
|
290
290
|
*
|
|
291
|
-
* @typedef {'tax_return'|'tax_notice'|'tax_timetable'|'receipt'|'other_tax_document'|'bank_details'|'bank_statement'|'loan_agreement'|'other_bank_document'} FinanceLabels
|
|
291
|
+
* @typedef {'tax_return'|'tax_notice'|'tax_timetable'|'receipt'|'other_tax_document'|'bank_details'|'bank_statement'|'loan_agreement'|'other_bank_document'|'payment_proof_family_allowance'} FinanceLabels
|
|
292
292
|
*
|
|
293
293
|
* @typedef {'phone_invoice'|'isp_invoice'|'telecom_invoice'|'energy_invoice'|'water_invoice'|'appliance_invoice'|'web_service_invoice'|'restaurant_invoice'|'work_invoice'|'transport_invoice'|'health_invoice'|'other_invoice'} InvoiceLabels
|
|
294
294
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"react-native-inappbrowser-reborn": "^3.5.1"
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "b301a3deef6018f8aa91ffcbcf1ad660b68711cd"
|
|
73
73
|
}
|
package/types/types.d.ts
CHANGED
|
@@ -315,13 +315,13 @@ export type QualificationAttributes = {
|
|
|
315
315
|
sourceSubCategory?: string;
|
|
316
316
|
subjects?: Array<string>;
|
|
317
317
|
};
|
|
318
|
-
export type IdentityLabel = "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document";
|
|
319
|
-
export type FamilyLabel = "family_record_book" | "birth_certificate" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document";
|
|
320
|
-
export type WorkStudyLabels = "resume" | "diploma" | "work_contract" | "pay_sheet" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document";
|
|
321
|
-
export type HealthLabels = "health_certificate" | "health_book" | "national_health_insurance_card" | "health_insurance_card" | "prescription" | "health_invoice";
|
|
322
|
-
export type HomeLabels = "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document";
|
|
318
|
+
export type IdentityLabel = "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document" | "citizen_registration_certificate" | "personal_sporting_licence";
|
|
319
|
+
export type FamilyLabel = "family_record_book" | "birth_certificate" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document" | "payment_proof_family_allowance";
|
|
320
|
+
export type WorkStudyLabels = "resume" | "diploma" | "work_contract" | "pay_sheet" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "work_disability_recognition" | "school_attendance_certificate";
|
|
321
|
+
export type HealthLabels = "work_disability_recognition" | "health_certificate" | "health_book" | "national_health_insurance_card" | "health_insurance_card" | "prescription" | "health_invoice" | "national_health_insurance_right_certificate" | "pregnancy_medical_certificate" | "other_health_document";
|
|
322
|
+
export type HomeLabels = "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "unfit_for_habitation_declaration" | "accommodation_proof";
|
|
323
323
|
export type TransportLabels = "driver_license" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document";
|
|
324
|
-
export type FinanceLabels = "tax_return" | "tax_notice" | "tax_timetable" | "receipt" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document";
|
|
324
|
+
export type FinanceLabels = "payment_proof_family_allowance" | "tax_return" | "tax_notice" | "tax_timetable" | "receipt" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document";
|
|
325
325
|
export type InvoiceLabels = "health_invoice" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "work_invoice" | "transport_invoice" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice";
|
|
326
|
-
export type ItemsLabels = "resume" | "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document" | "diploma" | "work_contract" | "pay_sheet" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "health_certificate" | "health_book" | "national_health_insurance_card" | "health_insurance_card" | "prescription" | "health_invoice" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "tax_return" | "tax_notice" | "tax_timetable" | "receipt" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice";
|
|
326
|
+
export type ItemsLabels = "resume" | "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document" | "citizen_registration_certificate" | "personal_sporting_licence" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document" | "payment_proof_family_allowance" | "diploma" | "work_contract" | "pay_sheet" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "work_disability_recognition" | "school_attendance_certificate" | "health_certificate" | "health_book" | "national_health_insurance_card" | "health_insurance_card" | "prescription" | "health_invoice" | "national_health_insurance_right_certificate" | "pregnancy_medical_certificate" | "other_health_document" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "unfit_for_habitation_declaration" | "accommodation_proof" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "tax_return" | "tax_notice" | "tax_timetable" | "receipt" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice";
|
|
327
327
|
import { QueryDefinition } from "./queries/dsl";
|