From de89b6b8934e94471e862a9d26fb15d3dad93293 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Tue, 4 Oct 2022 03:13:08 +0000
Subject: [PATCH] publish: fix(deps): update dependency cozy-jobs-cli to
 v1.19.2

generated from commit a72e6a833b9576c57672f25ea56ea1dd15c708b3
---
 index.js           | 11 +++--------
 onDeleteAccount.js |  7 ++-----
 package.json       |  2 +-
 3 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/index.js b/index.js
index c4e1c73..72fd962 100644
--- a/index.js
+++ b/index.js
@@ -124,8 +124,7 @@ async function start(fields, cozyParameters) {
       user.firstname,
       user.address,
       user.postalCode,
-      user.inseeCode,
-      user.city
+      user.inseeCode
     )
 
     // handle user contract start date in order to preperly request data
@@ -223779,7 +223778,7 @@ function consulterDonneesTechniquesContractuelles(pointId, appLogin) {
 function rechercherPoint(appLogin, name, postalCode, inseeCode, address) {
   log(
     'info',
-    `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}`
+    `Query rechercherPoint - postal code / insee code: ${postalCode} / ${inseeCode}`
   )
   return `<?xml version='1.0' encoding='utf-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -223955,7 +223954,6 @@ const { default: axios } = __webpack_require__(1558)
  * @param {string} address
  * @param {string} postalCode
  * @param {string} inseeCode
- * @param {string} city
  * @returns {Promise<Consent>}
  */
 async function createBoConsent(
@@ -223966,8 +223964,7 @@ async function createBoConsent(
   firstname,
   address,
   postalCode,
-  inseeCode,
-  city
+  inseeCode
 ) {
   log('info', `Query createBoConsent`)
   const headers = {
@@ -223986,7 +223983,6 @@ async function createBoConsent(
         address,
         postalCode,
         inseeCode,
-        city,
       },
       headers
     )
@@ -228463,7 +228459,6 @@ async function verifyUserIdentity(
     inseeCode,
     postalCode: fields.postalCode,
     address: fields.address,
-    city: fields.city,
   }
 }
 
diff --git a/onDeleteAccount.js b/onDeleteAccount.js
index bcf1adb..ac8ae28 100644
--- a/onDeleteAccount.js
+++ b/onDeleteAccount.js
@@ -223109,7 +223109,7 @@ function consulterDonneesTechniquesContractuelles(pointId, appLogin) {
 function rechercherPoint(appLogin, name, postalCode, inseeCode, address) {
   log(
     'info',
-    `Query rechercherPoint - postal code : ${postalCode} / insee code: ${inseeCode}`
+    `Query rechercherPoint - postal code / insee code: ${postalCode} / ${inseeCode}`
   )
   return `<?xml version='1.0' encoding='utf-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
@@ -223285,7 +223285,6 @@ const { default: axios } = __webpack_require__(1558)
  * @param {string} address
  * @param {string} postalCode
  * @param {string} inseeCode
- * @param {string} city
  * @returns {Promise<Consent>}
  */
 async function createBoConsent(
@@ -223296,8 +223295,7 @@ async function createBoConsent(
   firstname,
   address,
   postalCode,
-  inseeCode,
-  city
+  inseeCode
 ) {
   log('info', `Query createBoConsent`)
   const headers = {
@@ -223316,7 +223314,6 @@ async function createBoConsent(
         address,
         postalCode,
         inseeCode,
-        city,
       },
       headers
     )
diff --git a/package.json b/package.json
index 3bab086..f3d6ad1 100644
--- a/package.json
+++ b/package.json
@@ -54,7 +54,7 @@
     "xml2js": "^0.4.23"
   },
   "devDependencies": {
-    "cozy-jobs-cli": "1.19.1",
+    "cozy-jobs-cli": "1.19.2",
     "cozy-konnector-build": "1.3.4",
     "eslint-config-cozy-app": "1.3.3",
     "eslint-plugin-prettier": "^4.0.0",
-- 
GitLab