cozy-client 47.4.0 → 47.5.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.
@@ -2782,7 +2782,7 @@ var CozyClient = /*#__PURE__*/function () {
2782
2782
  CozyClient.hooks = CozyClient.hooks || {};
2783
2783
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2784
2784
 
2785
- CozyClient.version = "47.4.0";
2785
+ CozyClient.version = "47.5.0";
2786
2786
 
2787
2787
  _microee.default.mixin(CozyClient);
2788
2788
 
@@ -387,6 +387,12 @@
387
387
  "label": "other_invoice",
388
388
  "purpose": "invoice"
389
389
  },
390
+ {
391
+ "label": "tax_certificate",
392
+ "purpose": "attestation",
393
+ "sourceCategory": "gov",
394
+ "subjects": ["tax"]
395
+ },
390
396
  {
391
397
  "label": "tax_return",
392
398
  "purpose": "report",
@@ -51,7 +51,7 @@ var THEME_ACTIVITY_LABELS = ['personal_sporting_licence', 'fidelity_card', 'libr
51
51
  */
52
52
 
53
53
  exports.THEME_ACTIVITY_LABELS = THEME_ACTIVITY_LABELS;
54
- var THEME_FINANCE_LABELS = ['fine', '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', 'expense_claim', 'other_bank_document', 'other_revenue'];
54
+ var THEME_FINANCE_LABELS = ['fine', 'tax_certificate', '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', 'expense_claim', 'other_bank_document', 'other_revenue'];
55
55
  /**
56
56
  * @type {Array<import("../../types").InvoiceLabels>}
57
57
  */
@@ -156,7 +156,7 @@ var ICON_BANK_CHECK_LABELS = ['bank_details'];
156
156
  * @type {Array<import("../../types").iconBankLabels>}
157
157
  */
158
158
 
159
- var ICON_BANK_LABELS = ['other_administrative_document', 'other_tax_document', 'real_estate_tax', 'tax_notice', 'tax_return', 'tax_timetable'];
159
+ var ICON_BANK_LABELS = ['other_administrative_document', 'other_tax_document', 'real_estate_tax', 'tax_certificate', 'tax_notice', 'tax_return', 'tax_timetable'];
160
160
  /**
161
161
  * @type {Array<import("../../types").iconCarLabels>}
162
162
  */
@@ -107,6 +107,7 @@
107
107
  "school_insurance_certificate": "Certificate of school insurance |||| Certificates of school insurance",
108
108
  "single_parent_benefit": "Single parent benefit |||| Single parent benefits",
109
109
  "student_card": "Student card |||| Student cards",
110
+ "tax_certificate": "Tax certificate |||| Tax certificates",
110
111
  "tax_notice": "Tax notice |||| Tax notices",
111
112
  "tax_return": "Tax return |||| Tax returns",
112
113
  "tax_timetable": "Payment Plans Installment Agreement |||| Payment Plans Installment Agreements",
@@ -107,6 +107,7 @@
107
107
  "school_insurance_certificate": "Attestation d'assurance scolaire |||| Attestations d'assurance scolaire",
108
108
  "single_parent_benefit": "Allocation parent isolé |||| Allocations parent isolé",
109
109
  "student_card": "Carte d'étudiant |||| Cartes d'étudiant",
110
+ "tax_certificate": "Attestation fiscale |||| Attestations fiscales",
110
111
  "tax_notice": "Impôts - Avis d'imposition",
111
112
  "tax_return": "Impôts - Déclaration de revenus |||| Impôts - Déclarations de revenus",
112
113
  "tax_timetable": "Impôts - Echéancier |||| Impôts - Echéanciers",
package/dist/types.js CHANGED
@@ -683,7 +683,7 @@ var _dsl = require("./queries/dsl");
683
683
  *
684
684
  * @typedef {'driver_license'|'vehicle_registration'|'car_insurance'|'mechanic_invoice'|'transport_invoice'|'other_transport_document'|'transport_card'|'note_transport_document'} TransportLabels
685
685
  *
686
- * @typedef {'fine'|'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'|'expense_claim'} FinanceLabels
686
+ * @typedef {'fine'|'tax_certificate'|'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'|'expense_claim'} FinanceLabels
687
687
  *
688
688
  * @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'|'expense_claim'|'energy_contract'|'grocery_invoice'} InvoiceLabels
689
689
  *
@@ -729,7 +729,7 @@ var _dsl = require("./queries/dsl");
729
729
  *
730
730
  * @typedef {'bank_details'} iconBankCheckLabels
731
731
  *
732
- * @typedef {'other_administrative_document'|'other_tax_document'|'real_estate_tax'|'tax_notice'|'tax_return'|'tax_timetable'} iconBankLabels
732
+ * @typedef {'other_administrative_document'|'other_tax_document'|'real_estate_tax'|'tax_certificate'|'tax_notice'|'tax_return'|'tax_timetable'} iconBankLabels
733
733
  *
734
734
  * @typedef {'car_insurance'|'driver_license'|'other_transport_document'|'transport_card'|'transport_invoice'|'vehicle_registration'} iconCarLabels
735
735
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "47.4.0",
3
+ "version": "47.5.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.node.js",
6
6
  "browser": "dist/index.js",
@@ -75,5 +75,5 @@
75
75
  "react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
76
76
  },
77
77
  "sideEffects": false,
78
- "gitHead": "0528e1fd5c61a1954db47790da15bc474321e730"
78
+ "gitHead": "1bf1593c5ee875519f1e987792087e144442ea2a"
79
79
  }
package/types/types.d.ts CHANGED
@@ -1221,11 +1221,11 @@ export type WorkStudyLabels = "resume" | "diploma" | "work_contract" | "pay_shee
1221
1221
  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";
1222
1222
  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" | "real_estate_insurance" | "condition_report" | "note_house_document";
1223
1223
  export type TransportLabels = "driver_license" | "transport_card" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "note_transport_document";
1224
- 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" | "expense_claim" | "fine" | "note_finance";
1224
+ export type FinanceLabels = "pay_sheet" | "single_parent_benefit" | "other_revenue" | "real_estate_tax" | "tax_certificate" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "bank_details" | "bank_statement" | "loan_agreement" | "other_bank_document" | "receipt" | "payment_proof_family_allowance" | "expense_claim" | "fine" | "note_finance";
1225
1225
  export type InvoiceLabels = "health_invoice" | "transport_invoice" | "work_invoice" | "phone_invoice" | "isp_invoice" | "telecom_invoice" | "energy_invoice" | "water_invoice" | "energy_contract" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "grocery_invoice" | "other_invoice" | "expense_claim" | "note_invoice";
1226
1226
  export type ActivityLabels = "fidelity_card" | "library_card" | "personal_sporting_licence" | "other_activity_document" | "note_activity_document";
1227
1227
  export type OthersLabels = "other_administrative_document" | "note_other";
1228
- 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" | "energy_contract" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "grocery_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" | "real_estate_insurance" | "person_insurance" | "other_administrative_document" | "expense_claim" | "fine" | "condition_report" | "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";
1228
+ 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" | "energy_contract" | "appliance_invoice" | "web_service_invoice" | "restaurant_invoice" | "grocery_invoice" | "other_invoice" | "tax_certificate" | "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" | "real_estate_insurance" | "person_insurance" | "other_administrative_document" | "expense_claim" | "fine" | "condition_report" | "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";
1229
1229
  export type iconPeopleLabels = "resume" | "national_id_card" | "other_identity_document" | "work_disability_recognition";
1230
1230
  export type iconWorkLabels = "work_contract" | "employment_center_certificate" | "unemployment_benefit" | "student_card" | "motivation_letter" | "other_work_document" | "school_attendance_certificate" | "school_insurance_certificate";
1231
1231
  export type iconJusticeLabels = "fine";
@@ -1243,7 +1243,7 @@ export type iconHomeLabels = "mechanic_invoice" | "house_sale_agreeement" | "bui
1243
1243
  export type iconBenefitLabels = "pay_sheet" | "pension" | "other_revenue" | "loan_agreement" | "payment_proof_family_allowance";
1244
1244
  export type iconEuroLabels = "other_bank_document";
1245
1245
  export type iconBankCheckLabels = "bank_details";
1246
- export type iconBankLabels = "real_estate_tax" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "other_administrative_document";
1246
+ export type iconBankLabels = "real_estate_tax" | "tax_certificate" | "tax_return" | "tax_notice" | "tax_timetable" | "other_tax_document" | "other_administrative_document";
1247
1247
  export type iconCarLabels = "driver_license" | "transport_card" | "vehicle_registration" | "car_insurance" | "transport_invoice" | "other_transport_document";
1248
1248
  export type iconLightningLabels = "energy_invoice" | "energy_contract";
1249
1249
  export type iconTelecomLabels = "isp_invoice" | "telecom_invoice" | "web_service_invoice";