cozy-client 38.8.1 → 38.9.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/dist/CozyClient.js +1 -1
- package/dist/assets/qualifications.json +27 -0
- package/dist/models/document/documentTypeData.js +9 -9
- package/dist/models/document/documentTypeDataHelpers.js +15 -2
- package/dist/models/document/documentTypeDataHelpers.spec.jsx +15 -1
- package/dist/models/document/locales/en.json +9 -0
- package/dist/models/document/locales/fr.json +9 -0
- package/dist/types.js +10 -10
- package/package.json +2 -2
- package/types/models/document/documentTypeDataHelpers.d.ts +1 -0
- package/types/types.d.ts +11 -11
package/dist/CozyClient.js
CHANGED
|
@@ -2677,7 +2677,7 @@ var CozyClient = /*#__PURE__*/function () {
|
|
|
2677
2677
|
CozyClient.hooks = CozyClient.hooks || {};
|
|
2678
2678
|
CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
|
|
2679
2679
|
|
|
2680
|
-
CozyClient.version = "38.
|
|
2680
|
+
CozyClient.version = "38.9.0";
|
|
2681
2681
|
|
|
2682
2682
|
_microee.default.mixin(CozyClient);
|
|
2683
2683
|
|
|
@@ -490,6 +490,33 @@
|
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"label": "other_administrative_document"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"label": "note_identity_document"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"label": "note_family_document"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"label": "note_work_document"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"label": "note_health_document"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"label": "note_house_document"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"label": "note_transport_document"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"label": "note_activity_document"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"label": "note_finance"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"label": "note_invoice"
|
|
493
520
|
}
|
|
494
521
|
],
|
|
495
522
|
"purposeKnownValues": [
|
|
@@ -30,47 +30,47 @@ var buildItemsByLabel = function buildItemsByLabel(labels) {
|
|
|
30
30
|
*/
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var identityLabels = ['identity_photo', 'national_id_card', 'passport', 'residence_permit', 'electoral_card', 'family_record_book', 'birth_certificate', 'driver_license', 'citizen_registration_certificate', 'other_identity_document'];
|
|
33
|
+
var identityLabels = ['identity_photo', 'national_id_card', 'passport', 'residence_permit', 'electoral_card', 'family_record_book', 'birth_certificate', 'driver_license', 'citizen_registration_certificate', 'note_identity_document', 'other_identity_document'];
|
|
34
34
|
/**
|
|
35
35
|
* @type {Array<import("../../types").FamilyLabel>}
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
|
-
var familyLabels = ['family_record_book', 'birth_certificate', 'wedding', 'pacs', 'single_parent_benefit', 'divorce', 'large_family_card', 'caf', 'payment_proof_family_allowance', 'other_family_document'];
|
|
38
|
+
var familyLabels = ['family_record_book', 'birth_certificate', 'wedding', 'pacs', 'single_parent_benefit', 'divorce', 'large_family_card', 'caf', 'payment_proof_family_allowance', 'note_family_document', 'other_family_document'];
|
|
39
39
|
/**
|
|
40
40
|
* @type {Array<import("../../types").WorkStudyLabels>}
|
|
41
41
|
*/
|
|
42
42
|
|
|
43
|
-
var workStudyLabels = ['diploma', 'work_contract', 'pay_sheet', 'unemployment_benefit', 'employment_center_certificate', 'pension', 'work_disability_recognition', 'gradebook', 'student_card', 'school_attendance_certificate', 'school_insurance_certificate', 'resume', 'motivation_letter', 'other_work_document'];
|
|
43
|
+
var workStudyLabels = ['diploma', 'work_contract', 'pay_sheet', 'unemployment_benefit', 'employment_center_certificate', 'pension', 'work_disability_recognition', 'gradebook', 'student_card', 'school_attendance_certificate', 'school_insurance_certificate', 'resume', 'motivation_letter', 'note_work_document', 'other_work_document'];
|
|
44
44
|
/**
|
|
45
45
|
* @type {Array<import("../../types").HealthLabels>}
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
|
-
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'];
|
|
48
|
+
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', 'note_health_document', 'other_health_document'];
|
|
49
49
|
/**
|
|
50
50
|
* @type {Array<import("../../types").HomeLabels>}
|
|
51
51
|
*/
|
|
52
52
|
|
|
53
|
-
var homeLabels = ['phone_invoice', 'isp_invoice', 'telecom_invoice', 'energy_invoice', 'water_invoice', 'other_invoice', 'work_invoice', 'house_sale_agreeement', 'building_permit', 'technical_diagnostic_record', 'unfit_for_habitation_declaration', 'lease', 'rent_receipt', 'accommodation_proof', 'house_insurance', 'work_quote', 'other_house_document'];
|
|
53
|
+
var homeLabels = ['phone_invoice', 'isp_invoice', 'telecom_invoice', 'energy_invoice', 'water_invoice', 'other_invoice', 'work_invoice', 'house_sale_agreeement', 'building_permit', 'technical_diagnostic_record', 'unfit_for_habitation_declaration', 'lease', 'rent_receipt', 'accommodation_proof', 'house_insurance', 'work_quote', 'note_house_document', 'other_house_document'];
|
|
54
54
|
/**
|
|
55
55
|
* @type {Array<import("../../types").TransportLabels>}
|
|
56
56
|
*/
|
|
57
57
|
|
|
58
|
-
var transportLabels = ['driver_license', 'vehicle_registration', 'car_insurance', 'transport_card', 'mechanic_invoice', 'transport_invoice', 'other_transport_document'];
|
|
58
|
+
var transportLabels = ['driver_license', 'vehicle_registration', 'car_insurance', 'transport_card', 'mechanic_invoice', 'transport_invoice', 'note_transport_document', 'other_transport_document'];
|
|
59
59
|
/**
|
|
60
60
|
* @type {Array<import("../../types").ActivityLabels>}
|
|
61
61
|
*/
|
|
62
62
|
|
|
63
|
-
var activityLabels = ['personal_sporting_licence', 'fidelity_card', 'library_card', 'other_activity_document'];
|
|
63
|
+
var activityLabels = ['personal_sporting_licence', 'fidelity_card', 'library_card', 'note_activity_document', 'other_activity_document'];
|
|
64
64
|
/**
|
|
65
65
|
* @type {Array<import("../../types").FinanceLabels>}
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
|
-
var financeLabels = ['tax_return', 'tax_notice', 'tax_timetable', 'real_estate_tax', 'pay_sheet', 'receipt', 'single_parent_benefit', 'other_tax_document', 'bank_details', 'bank_statement', 'loan_agreement', 'payment_proof_family_allowance', 'other_bank_document', 'other_revenue'];
|
|
68
|
+
var financeLabels = ['tax_return', 'tax_notice', 'tax_timetable', 'real_estate_tax', 'pay_sheet', 'receipt', 'single_parent_benefit', 'other_tax_document', 'bank_details', 'bank_statement', 'loan_agreement', 'payment_proof_family_allowance', 'note_finance', 'other_bank_document', 'other_revenue'];
|
|
69
69
|
/**
|
|
70
70
|
* @type {Array<import("../../types").InvoiceLabels>}
|
|
71
71
|
*/
|
|
72
72
|
|
|
73
|
-
var invoiceLabels = ['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'];
|
|
73
|
+
var invoiceLabels = ['phone_invoice', 'isp_invoice', 'telecom_invoice', 'energy_invoice', 'water_invoice', 'appliance_invoice', 'web_service_invoice', 'restaurant_invoice', 'work_invoice', 'transport_invoice', 'health_invoice', 'note_invoice', 'other_invoice'];
|
|
74
74
|
/**
|
|
75
75
|
* @type {Array<import("../../types").OthersLabels>}
|
|
76
76
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getThemeByItem = void 0;
|
|
6
|
+
exports.isQualificationNote = exports.getThemeByItem = void 0;
|
|
7
7
|
|
|
8
8
|
var _documentTypeData = require("./documentTypeData");
|
|
9
9
|
|
|
@@ -35,5 +35,18 @@ var getThemeByItem = function getThemeByItem(item) {
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a qualification is a note
|
|
40
|
+
*
|
|
41
|
+
* @param {import("../../types").QualificationAttributes} item - Qualification item
|
|
42
|
+
* @returns {boolean}
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
exports.getThemeByItem = getThemeByItem;
|
|
47
|
+
|
|
48
|
+
var isQualificationNote = function isQualificationNote(item) {
|
|
49
|
+
return item.label.toLowerCase().startsWith('note_');
|
|
50
|
+
};
|
|
38
51
|
|
|
39
|
-
exports.
|
|
52
|
+
exports.isQualificationNote = isQualificationNote;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getThemeByItem } from './documentTypeDataHelpers'
|
|
1
|
+
import { getThemeByItem, isQualificationNote } from './documentTypeDataHelpers'
|
|
2
2
|
|
|
3
3
|
describe('DocumentTypeDataHelpers', () => {
|
|
4
4
|
it('should test getThemeByItem and return defaultTheme', () => {
|
|
@@ -25,4 +25,18 @@ describe('DocumentTypeDataHelpers', () => {
|
|
|
25
25
|
const theme = getThemeByItem(item)
|
|
26
26
|
expect(theme.id).toBe('theme1')
|
|
27
27
|
})
|
|
28
|
+
|
|
29
|
+
describe('isQualificationNote', () => {
|
|
30
|
+
it('should return true for a qualification with a label starting with "note_"', () => {
|
|
31
|
+
const qualification = { label: 'note_example' }
|
|
32
|
+
const result = isQualificationNote(qualification)
|
|
33
|
+
expect(result).toBe(true)
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
it('should return false for a qualification with a label not starting with "note_"', () => {
|
|
37
|
+
const qualification = { label: 'example_note' }
|
|
38
|
+
const result = isQualificationNote(qualification)
|
|
39
|
+
expect(result).toBe(false)
|
|
40
|
+
})
|
|
41
|
+
})
|
|
28
42
|
})
|
|
@@ -61,6 +61,15 @@
|
|
|
61
61
|
"national_health_insurance_card": "National health insurance card |||| National health insurance cards",
|
|
62
62
|
"national_health_insurance_right_certificate": "National health insurance right certificate |||| National health insurance right certificates",
|
|
63
63
|
"national_id_card": "ID card |||| ID cards",
|
|
64
|
+
"note_identity_document": "Note / reminder |||| Notes / reminders",
|
|
65
|
+
"note_family_document": "Note / reminder |||| Notes / reminders",
|
|
66
|
+
"note_work_document": "Note / reminder |||| Notes / reminders",
|
|
67
|
+
"note_health_document": "Note / reminder |||| Notes / reminders",
|
|
68
|
+
"note_house_document": "Note / reminder |||| Notes / reminders",
|
|
69
|
+
"note_transport_document": "Note / reminder |||| Notes / reminders",
|
|
70
|
+
"note_activity_document": "Note / reminder |||| Notes / reminders",
|
|
71
|
+
"note_finance": "Note / reminder |||| Notes / reminders",
|
|
72
|
+
"note_invoice": "Note / reminder |||| Notes / reminders",
|
|
64
73
|
"other_activity_document": "Other sports document |||| Other sports documents",
|
|
65
74
|
"other_bank_document": "Other banking document |||| Other banking documents",
|
|
66
75
|
"other_family_document": "Other family document |||| Other family documents",
|
|
@@ -61,6 +61,15 @@
|
|
|
61
61
|
"national_health_insurance_card": "Carte vitale |||| Cartes vitales",
|
|
62
62
|
"national_health_insurance_right_certificate": "Attestation de droits de l'Assurance Maladie (vitale) |||| Attestations de droits de l'Assurance Maladie (vitale)",
|
|
63
63
|
"national_id_card": "Carte d'identité |||| Cartes d'identité",
|
|
64
|
+
"note_identity_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
65
|
+
"note_family_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
66
|
+
"note_work_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
67
|
+
"note_health_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
68
|
+
"note_house_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
69
|
+
"note_transport_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
70
|
+
"note_activity_document": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
71
|
+
"note_finance": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
72
|
+
"note_invoice": "Note / aide-mémoire |||| Notes / aide-mémoires",
|
|
64
73
|
"other_activity_document": "Autre document sportif |||| Autres documents sportifs",
|
|
65
74
|
"other_bank_document": "Autre document bancaire |||| Autres documents bancaires",
|
|
66
75
|
"other_family_document": "Autre document de famille |||| Autres documents de famille",
|
package/dist/types.js
CHANGED
|
@@ -418,25 +418,25 @@ var _dsl = require("./queries/dsl");
|
|
|
418
418
|
*/
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
|
-
* @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'|'electoral_card'} IdentityLabel
|
|
421
|
+
* @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'|'electoral_card'|'note_identity_document'} IdentityLabel
|
|
422
422
|
*
|
|
423
|
-
* @typedef {'family_record_book'|'birth_certificate'|'wedding'|'pacs'|'divorce'|'large_family_card'|'caf'|'other_family_document'|'payment_proof_family_allowance'|'single_parent_benefit'} FamilyLabel
|
|
423
|
+
* @typedef {'family_record_book'|'birth_certificate'|'wedding'|'pacs'|'divorce'|'large_family_card'|'caf'|'other_family_document'|'payment_proof_family_allowance'|'single_parent_benefit'|'note_family_document'} FamilyLabel
|
|
424
424
|
*
|
|
425
|
-
* @typedef {'diploma'|'work_contract'|'pay_sheet'|'unemployment_benefit'|'pension'|'gradebook'|'student_card'|'resume'|'motivation_letter'|'other_work_document'|'work_disability_recognition'|'school_attendance_certificate'|'employment_center_certificate'|'school_insurance_certificate'} WorkStudyLabels
|
|
425
|
+
* @typedef {'diploma'|'work_contract'|'pay_sheet'|'unemployment_benefit'|'pension'|'gradebook'|'student_card'|'resume'|'motivation_letter'|'other_work_document'|'work_disability_recognition'|'school_attendance_certificate'|'employment_center_certificate'|'school_insurance_certificate'|'note_work_document'} WorkStudyLabels
|
|
426
426
|
*
|
|
427
|
-
* @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
|
|
427
|
+
* @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'|'note_health_document'} HealthLabels
|
|
428
428
|
*
|
|
429
|
-
* @typedef {'phone_invoice'|'isp_invoice'|'telecom_invoice'|'energy_invoice'|'water_invoice'|'other_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'} HomeLabels
|
|
429
|
+
* @typedef {'phone_invoice'|'isp_invoice'|'telecom_invoice'|'energy_invoice'|'water_invoice'|'other_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'|'note_house_document'} HomeLabels
|
|
430
430
|
*
|
|
431
|
-
* @typedef {'driver_license'|'vehicle_registration'|'car_insurance'|'mechanic_invoice'|'transport_invoice'|'other_transport_document'|'transport_card'} TransportLabels
|
|
431
|
+
* @typedef {'driver_license'|'vehicle_registration'|'car_insurance'|'mechanic_invoice'|'transport_invoice'|'other_transport_document'|'transport_card'|'note_transport_document'} TransportLabels
|
|
432
432
|
*
|
|
433
|
-
* @typedef {'tax_return'|'tax_notice'|'tax_timetable'|'pay_sheet'|'receipt'|'other_tax_document'|'bank_details'|'bank_statement'|'loan_agreement'|'other_bank_document'|'payment_proof_family_allowance'|'other_revenue'|'single_parent_benefit'|'real_estate_tax'} FinanceLabels
|
|
433
|
+
* @typedef {'tax_return'|'tax_notice'|'tax_timetable'|'pay_sheet'|'receipt'|'other_tax_document'|'bank_details'|'bank_statement'|'loan_agreement'|'other_bank_document'|'payment_proof_family_allowance'|'other_revenue'|'single_parent_benefit'|'real_estate_tax'|'note_finance'} FinanceLabels
|
|
434
434
|
*
|
|
435
|
-
* @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
|
|
435
|
+
* @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'|'note_invoice'} InvoiceLabels
|
|
436
436
|
*
|
|
437
|
-
* @typedef {'personal_sporting_licence'|'other_activity_document'|'fidelity_card'|'library_card'} ActivityLabels
|
|
437
|
+
* @typedef {'personal_sporting_licence'|'other_activity_document'|'fidelity_card'|'library_card'|'note_activity_document'} ActivityLabels
|
|
438
438
|
*
|
|
439
|
-
* @typedef {'other_administrative_document'} OthersLabels
|
|
439
|
+
* @typedef {'other_administrative_document'|'note_other'} OthersLabels
|
|
440
440
|
*
|
|
441
441
|
* @typedef {IdentityLabel|FamilyLabel|WorkStudyLabels|HealthLabels|HomeLabels|TransportLabels|FinanceLabels|InvoiceLabels|ActivityLabels|OthersLabels} ItemsLabels
|
|
442
442
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.9.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
|
|
74
74
|
},
|
|
75
75
|
"sideEffects": false,
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "ebdd4e54118ce268578778b8e11ce7241641e108"
|
|
77
77
|
}
|
package/types/types.d.ts
CHANGED
|
@@ -696,17 +696,17 @@ export type QualificationAttributes = {
|
|
|
696
696
|
sourceSubCategory?: string;
|
|
697
697
|
subjects?: Array<string>;
|
|
698
698
|
};
|
|
699
|
-
export type IdentityLabel = "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document" | "electoral_card" | "citizen_registration_certificate" | "personal_sporting_licence";
|
|
700
|
-
export type FamilyLabel = "family_record_book" | "birth_certificate" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document" | "single_parent_benefit" | "payment_proof_family_allowance";
|
|
701
|
-
export type WorkStudyLabels = "resume" | "diploma" | "work_contract" | "pay_sheet" | "employment_center_certificate" | "unemployment_benefit" | "pension" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "work_disability_recognition" | "school_attendance_certificate" | "school_insurance_certificate";
|
|
702
|
-
export type HealthLabels = "health_book" | "health_certificate" | "pregnancy_medical_certificate" | "work_disability_recognition" | "national_health_insurance_card" | "national_health_insurance_right_certificate" | "health_insurance_card" | "prescription" | "health_invoice" | "other_health_document";
|
|
703
|
-
export type HomeLabels = "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "other_invoice" | "unfit_for_habitation_declaration" | "accommodation_proof";
|
|
704
|
-
export type TransportLabels = "driver_license" | "transport_card" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document";
|
|
705
|
-
export type FinanceLabels = "pay_sheet" | "single_parent_benefit" | "other_revenue" | "real_estate_tax" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "receipt" | "payment_proof_family_allowance";
|
|
706
|
-
export type InvoiceLabels = "health_invoice" | "transport_invoice" | "work_invoice" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice";
|
|
707
|
-
export type ActivityLabels = "fidelity_card" | "library_card" | "personal_sporting_licence" | "other_activity_document";
|
|
708
|
-
export type OthersLabels = "other_administrative_document";
|
|
709
|
-
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" | "fidelity_card" | "library_card" | "single_parent_benefit" | "transport_card" | "electoral_card" | "employment_center_certificate" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "health_book" | "health_certificate" | "pregnancy_medical_certificate" | "work_disability_recognition" | "national_health_insurance_card" | "national_health_insurance_right_certificate" | "health_insurance_card" | "prescription" | "health_invoice" | "other_health_document" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "house_sale_agreeement" | "real_estate_tax" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "receipt" | "payment_proof_family_allowance" | "school_attendance_certificate" | "school_insurance_certificate" | "unfit_for_habitation_declaration" | "accommodation_proof" | "citizen_registration_certificate" | "personal_sporting_licence" | "other_activity_document" | "other_administrative_document";
|
|
699
|
+
export type IdentityLabel = "identity_photo" | "national_id_card" | "passport" | "residence_permit" | "family_record_book" | "birth_certificate" | "driver_license" | "other_identity_document" | "electoral_card" | "citizen_registration_certificate" | "personal_sporting_licence" | "note_identity_document";
|
|
700
|
+
export type FamilyLabel = "family_record_book" | "birth_certificate" | "wedding" | "pacs" | "divorce" | "large_family_card" | "caf" | "other_family_document" | "single_parent_benefit" | "payment_proof_family_allowance" | "note_family_document";
|
|
701
|
+
export type WorkStudyLabels = "resume" | "diploma" | "work_contract" | "pay_sheet" | "employment_center_certificate" | "unemployment_benefit" | "pension" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "work_disability_recognition" | "school_attendance_certificate" | "school_insurance_certificate" | "note_work_document";
|
|
702
|
+
export type HealthLabels = "health_book" | "health_certificate" | "pregnancy_medical_certificate" | "work_disability_recognition" | "national_health_insurance_card" | "national_health_insurance_right_certificate" | "health_insurance_card" | "prescription" | "health_invoice" | "other_health_document" | "note_health_document";
|
|
703
|
+
export type HomeLabels = "house_sale_agreeement" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "other_invoice" | "unfit_for_habitation_declaration" | "accommodation_proof" | "note_house_document";
|
|
704
|
+
export type TransportLabels = "driver_license" | "transport_card" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "note_transport_document";
|
|
705
|
+
export type FinanceLabels = "pay_sheet" | "single_parent_benefit" | "other_revenue" | "real_estate_tax" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "receipt" | "payment_proof_family_allowance" | "note_finance";
|
|
706
|
+
export type InvoiceLabels = "health_invoice" | "transport_invoice" | "work_invoice" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice" | "note_invoice";
|
|
707
|
+
export type ActivityLabels = "fidelity_card" | "library_card" | "personal_sporting_licence" | "other_activity_document" | "note_activity_document";
|
|
708
|
+
export type OthersLabels = "other_administrative_document" | "note_other";
|
|
709
|
+
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" | "fidelity_card" | "library_card" | "single_parent_benefit" | "transport_card" | "electoral_card" | "employment_center_certificate" | "unemployment_benefit" | "pension" | "other_revenue" | "gradebook" | "student_card" | "motivation_letter" | "other_work_document" | "health_book" | "health_certificate" | "pregnancy_medical_certificate" | "work_disability_recognition" | "national_health_insurance_card" | "national_health_insurance_right_certificate" | "health_insurance_card" | "prescription" | "health_invoice" | "other_health_document" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "house_sale_agreeement" | "real_estate_tax" | "building_permit" | "technical_diagnostic_record" | "lease" | "rent_receipt" | "house_insurance" | "work_quote" | "work_invoice" | "other_house_document" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "other_invoice" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "receipt" | "payment_proof_family_allowance" | "school_attendance_certificate" | "school_insurance_certificate" | "unfit_for_habitation_declaration" | "accommodation_proof" | "citizen_registration_certificate" | "personal_sporting_licence" | "other_activity_document" | "other_administrative_document" | "note_identity_document" | "note_family_document" | "note_work_document" | "note_health_document" | "note_house_document" | "note_transport_document" | "note_activity_document" | "note_finance" | "note_invoice" | "note_other";
|
|
710
710
|
/**
|
|
711
711
|
* See https://github.com/cozy/DACC
|
|
712
712
|
*/
|