cozy-client 48.20.0 → 48.22.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.
@@ -2844,7 +2844,7 @@ var CozyClient = /*#__PURE__*/function () {
2844
2844
  CozyClient.hooks = CozyClient.hooks || {};
2845
2845
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2846
2846
 
2847
- CozyClient.version = "48.20.0";
2847
+ CozyClient.version = "48.22.0";
2848
2848
 
2849
2849
  _microee.default.mixin(CozyClient);
2850
2850
 
@@ -112,10 +112,6 @@
112
112
  "label": "fidelity_card",
113
113
  "sourceCategory": "shopping"
114
114
  },
115
- {
116
- "label": "library_card",
117
- "sourceCategory": "individual"
118
- },
119
115
  {
120
116
  "label": "single_parent_benefit",
121
117
  "purpose": "attestation",
@@ -45,7 +45,7 @@ var THEME_TRANSPORT_LABELS = ['driver_license', 'vehicle_registration', 'car_ins
45
45
  */
46
46
 
47
47
  exports.THEME_TRANSPORT_LABELS = THEME_TRANSPORT_LABELS;
48
- var THEME_ACTIVITY_LABELS = ['personal_sporting_licence', 'fidelity_card', 'library_card', 'note_activity_document', 'other_activity_document'];
48
+ var THEME_ACTIVITY_LABELS = ['personal_sporting_licence', 'fidelity_card', 'note_activity_document', 'other_activity_document'];
49
49
  /**
50
50
  * @type {Array<import("../../types").FinanceLabels>}
51
51
  */
@@ -92,11 +92,6 @@ var ICON_GLOBE_LABELS = ['residence_permit'];
92
92
  */
93
93
 
94
94
  var ICON_PLANE_LABELS = ['passport'];
95
- /**
96
- * @type {Array<import("../../types").iconLibraryLabels>}
97
- */
98
-
99
- var ICON_LIBRARY_LABELS = ['library_card'];
100
95
  /**
101
96
  * @type {Array<import("../../types").iconImageLabels>}
102
97
  */
@@ -280,9 +275,6 @@ var iconLabelPairs = [{
280
275
  }, {
281
276
  icon: 'laudry',
282
277
  labels: ICON_LAUDRY_LABELS
283
- }, {
284
- icon: 'library',
285
- labels: ICON_LIBRARY_LABELS
286
278
  }, {
287
279
  icon: 'lightning',
288
280
  labels: ICON_LIGHTNING_LABELS
@@ -39,7 +39,7 @@
39
39
  "expense_claim": "Expense claim |||| Expense claims",
40
40
  "family_record_book": "Family record book |||| Family record books",
41
41
  "family": "Family",
42
- "fidelity_card": "Fidelity card |||| Fidelity cards",
42
+ "fidelity_card": "Benefit card |||| Benefit cards",
43
43
  "fine": "Fine |||| Fines",
44
44
  "gradebook": "Gradebook |||| Gradebooks",
45
45
  "grocery_invoice": "Grocery invoice |||| Grocery invoices",
@@ -57,7 +57,6 @@
57
57
  "isp_invoice": "ISP invoice |||| ISP invoices",
58
58
  "large_family_card": " Large Family Card |||| Large Family Cards",
59
59
  "lease": "Lease |||| Leases",
60
- "library_card": "library card |||| library cards",
61
60
  "loan_agreement": "Loan agreement |||| Loan agreements",
62
61
  "mechanic_invoice": "Repair bill |||| Repair bills",
63
62
  "motivation_letter": "Motivation letter |||| Motivation letters",
@@ -33,13 +33,13 @@
33
33
  "divorce": "Attestation de divorce |||| Attestations de divorce",
34
34
  "driver_license": "Permis de conduire",
35
35
  "electoral_card": "Carte électorale |||| Cartes électorales",
36
- "employment_center_certificate": "Attestation de Pôle emploi |||| Attestations de Pôle emploi",
36
+ "employment_center_certificate": "Attestation de France Travail |||| Attestations de France Travail",
37
37
  "energy_contract": "Contrat de fournisseur d'énergies |||| Contrats de fournisseur d'énergies",
38
38
  "energy_invoice": "Facture d'énergie |||| Factures d'énergie",
39
39
  "expense_claim": "Note de frais |||| Notes de frais",
40
40
  "family_record_book": "Livret de famille |||| Livrets de famille",
41
41
  "family": "Famille",
42
- "fidelity_card": "Carte de fidélité |||| Cartes de fidélité",
42
+ "fidelity_card": "Carte avantage |||| Cartes avantages",
43
43
  "fine": "Amende |||| Amendes",
44
44
  "gradebook": "Bulletin de notes |||| Bulletins de notes",
45
45
  "grocery_invoice": "Facture de courses |||| Factures de courses",
@@ -57,7 +57,6 @@
57
57
  "isp_invoice": "Facture d'internet |||| Factures d'internet",
58
58
  "large_family_card": "Carte famille nombreuse |||| Cartes famille nombreuse",
59
59
  "lease": "Bail |||| Baux",
60
- "library_card": "Carte de bibliothèque |||| Cartes de bibliothèque",
61
60
  "loan_agreement": "Contrat de prêt |||| Contrats de prêt",
62
61
  "mechanic_invoice": "Facture de réparation |||| Factures de réparation",
63
62
  "motivation_letter": "Lettre de motivation |||| Lettres de motivation",
package/dist/types.js CHANGED
@@ -739,7 +739,7 @@ var _dsl = require("./queries/dsl");
739
739
  *
740
740
  * @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
741
741
  *
742
- * @typedef {'personal_sporting_licence'|'other_activity_document'|'fidelity_card'|'library_card'|'note_activity_document'} ActivityLabels
742
+ * @typedef {'personal_sporting_licence'|'other_activity_document'|'fidelity_card'|'note_activity_document'} ActivityLabels
743
743
  *
744
744
  * @typedef {'other_administrative_document'|'note_other'} OthersLabels
745
745
  *
@@ -757,8 +757,6 @@ var _dsl = require("./queries/dsl");
757
757
  *
758
758
  * @typedef {'passport'} iconPlaneLabels
759
759
  *
760
- * @typedef {'library_card'} iconLibraryLabels
761
- *
762
760
  * @typedef {'identity_photo'} iconImageLabels
763
761
  *
764
762
  * @typedef {'fidelity_card'|'grocery_invoice'} iconShopLabels
@@ -811,7 +809,7 @@ var _dsl = require("./queries/dsl");
811
809
  */
812
810
 
813
811
  /**
814
- * @typedef {'bank-check'|'bank'|'benefit'|'bill'|'car'|'child'|'email'|'euro'|'exchange'|'file-type-note'|'fitness'|'globe'|'gouv'|'heart'|'home'|'image'|'justice'|'laudry'|'library'|'lightning'|'people'|'plane'|'remboursement'|'restaurant'|'school'|'shop'|'team'|'telecom'|'telephone'|'water'|'work'} IconQualificationLabels
812
+ * @typedef {'bank-check'|'bank'|'benefit'|'bill'|'car'|'child'|'email'|'euro'|'exchange'|'file-type-note'|'fitness'|'globe'|'gouv'|'heart'|'home'|'image'|'justice'|'laudry'|'lightning'|'people'|'plane'|'remboursement'|'restaurant'|'school'|'shop'|'team'|'telecom'|'telephone'|'water'|'work'} IconQualificationLabels
815
813
  */
816
814
 
817
815
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "48.20.0",
3
+ "version": "48.22.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": "a398b87e14332cac787cb4009e3d80abfdbbd848"
78
+ "gitHead": "89fd8effab3faeb723334a85c8dfeb2d87352172"
79
79
  }
package/types/types.d.ts CHANGED
@@ -1352,15 +1352,14 @@ export type HomeLabels = "house_sale_agreeement" | "building_permit" | "technica
1352
1352
  export type TransportLabels = "driver_license" | "transport_card" | "vehicle_registration" | "car_insurance" | "mechanic_invoice" | "transport_invoice" | "other_transport_document" | "note_transport_document";
1353
1353
  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";
1354
1354
  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";
1355
- export type ActivityLabels = "fidelity_card" | "library_card" | "personal_sporting_licence" | "other_activity_document" | "note_activity_document";
1355
+ export type ActivityLabels = "fidelity_card" | "personal_sporting_licence" | "other_activity_document" | "note_activity_document";
1356
1356
  export type OthersLabels = "other_administrative_document" | "note_other";
1357
- 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";
1357
+ 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" | "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";
1358
1358
  export type iconPeopleLabels = "resume" | "national_id_card" | "other_identity_document" | "work_disability_recognition";
1359
1359
  export type iconWorkLabels = "work_contract" | "employment_center_certificate" | "unemployment_benefit" | "student_card" | "motivation_letter" | "other_work_document" | "school_attendance_certificate" | "school_insurance_certificate";
1360
1360
  export type iconJusticeLabels = "fine";
1361
1361
  export type iconGlobeLabels = "residence_permit";
1362
1362
  export type iconPlaneLabels = "passport";
1363
- export type iconLibraryLabels = "library_card";
1364
1363
  export type iconImageLabels = "identity_photo";
1365
1364
  export type iconShopLabels = "fidelity_card" | "grocery_invoice";
1366
1365
  export type iconGouvLabels = "electoral_card";
@@ -1386,7 +1385,7 @@ export type iconFitnessLabels = "personal_sporting_licence" | "other_activity_do
1386
1385
  export type iconHeartLabels = "health_book" | "health_certificate" | "pregnancy_medical_certificate" | "national_health_insurance_card" | "national_health_insurance_right_certificate" | "health_insurance_card" | "prescription" | "health_invoice" | "other_health_document" | "person_insurance";
1387
1386
  export type iconExchangeLabels = "bank_statement";
1388
1387
  export type iconFileTypeNoteLabels = "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";
1389
- export type IconQualificationLabels = "image" | "work" | "car" | "telecom" | "water" | "bank" | "child" | "bank-check" | "benefit" | "bill" | "email" | "euro" | "exchange" | "file-type-note" | "fitness" | "globe" | "gouv" | "heart" | "home" | "justice" | "laudry" | "library" | "lightning" | "people" | "plane" | "remboursement" | "restaurant" | "school" | "shop" | "team" | "telephone";
1388
+ export type IconQualificationLabels = "image" | "work" | "car" | "telecom" | "water" | "bank" | "child" | "bank-check" | "benefit" | "bill" | "email" | "euro" | "exchange" | "file-type-note" | "fitness" | "globe" | "gouv" | "heart" | "home" | "justice" | "laudry" | "lightning" | "people" | "plane" | "remboursement" | "restaurant" | "school" | "shop" | "team" | "telephone";
1390
1389
  export type iconLabelPairs = {
1391
1390
  icon: IconQualificationLabels;
1392
1391
  labels: Array<string>;