@defra/fcp-sfd-frontend-engine 0.13.0 → 0.14.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/index.cjs
CHANGED
|
@@ -278,11 +278,28 @@ var updateCustomerEmailMutation = `
|
|
|
278
278
|
}
|
|
279
279
|
`;
|
|
280
280
|
|
|
281
|
+
// src/mutations/personal/update-customer-phone.js
|
|
282
|
+
var updateCustomerPhoneMutation = `
|
|
283
|
+
mutation UpdateCustomerPhone($input: UpdateCustomerPhoneInput!) {
|
|
284
|
+
updateCustomerPhone(input: $input) {
|
|
285
|
+
customer {
|
|
286
|
+
info {
|
|
287
|
+
phone {
|
|
288
|
+
landline
|
|
289
|
+
mobile
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
`;
|
|
296
|
+
|
|
281
297
|
// src/mutations/mutations.js
|
|
282
298
|
var mutations = {
|
|
283
299
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
284
300
|
updateCustomerName: updateCustomerNameMutation,
|
|
285
|
-
updateCustomerEmail: updateCustomerEmailMutation
|
|
301
|
+
updateCustomerEmail: updateCustomerEmailMutation,
|
|
302
|
+
updateCustomerPhone: updateCustomerPhoneMutation
|
|
286
303
|
};
|
|
287
304
|
|
|
288
305
|
// src/presenters/base-presenter.js
|
package/dist/index.js
CHANGED
|
@@ -238,11 +238,28 @@ var updateCustomerEmailMutation = `
|
|
|
238
238
|
}
|
|
239
239
|
`;
|
|
240
240
|
|
|
241
|
+
// src/mutations/personal/update-customer-phone.js
|
|
242
|
+
var updateCustomerPhoneMutation = `
|
|
243
|
+
mutation UpdateCustomerPhone($input: UpdateCustomerPhoneInput!) {
|
|
244
|
+
updateCustomerPhone(input: $input) {
|
|
245
|
+
customer {
|
|
246
|
+
info {
|
|
247
|
+
phone {
|
|
248
|
+
landline
|
|
249
|
+
mobile
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
`;
|
|
256
|
+
|
|
241
257
|
// src/mutations/mutations.js
|
|
242
258
|
var mutations = {
|
|
243
259
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
244
260
|
updateCustomerName: updateCustomerNameMutation,
|
|
245
|
-
updateCustomerEmail: updateCustomerEmailMutation
|
|
261
|
+
updateCustomerEmail: updateCustomerEmailMutation,
|
|
262
|
+
updateCustomerPhone: updateCustomerPhoneMutation
|
|
246
263
|
};
|
|
247
264
|
|
|
248
265
|
// src/presenters/base-presenter.js
|
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { updateBusinessEmailMutation } from './business/update-business-email.js'
|
|
2
2
|
import { updateCustomerNameMutation } from './personal/update-customer-name.js'
|
|
3
3
|
import { updateCustomerEmailMutation } from './personal/update-customer-email.js'
|
|
4
|
+
import { updateCustomerPhoneMutation } from './personal/update-customer-phone.js'
|
|
4
5
|
|
|
5
6
|
export const mutations = {
|
|
6
7
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
7
8
|
updateCustomerName: updateCustomerNameMutation,
|
|
8
|
-
updateCustomerEmail: updateCustomerEmailMutation
|
|
9
|
+
updateCustomerEmail: updateCustomerEmailMutation,
|
|
10
|
+
updateCustomerPhone: updateCustomerPhoneMutation
|
|
9
11
|
}
|