@defra/fcp-sfd-frontend-engine 0.11.0 → 0.12.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
|
@@ -257,10 +257,26 @@ var updateCustomerNameMutation = `
|
|
|
257
257
|
}
|
|
258
258
|
`;
|
|
259
259
|
|
|
260
|
+
// src/mutations/personal/update-customer-email.js
|
|
261
|
+
var updateCustomerEmailMutation = `
|
|
262
|
+
mutation UpdateCustomerEmail($input: UpdateCustomerEmailInput!) {
|
|
263
|
+
updateCustomerEmail(input: $input) {
|
|
264
|
+
customer {
|
|
265
|
+
info {
|
|
266
|
+
email {
|
|
267
|
+
address
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
`;
|
|
274
|
+
|
|
260
275
|
// src/mutations/mutations.js
|
|
261
276
|
var mutations = {
|
|
262
277
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
263
|
-
updateCustomerName: updateCustomerNameMutation
|
|
278
|
+
updateCustomerName: updateCustomerNameMutation,
|
|
279
|
+
updateCustomerEmail: updateCustomerEmailMutation
|
|
264
280
|
};
|
|
265
281
|
|
|
266
282
|
// src/presenters/base-presenter.js
|
package/dist/index.js
CHANGED
|
@@ -217,10 +217,26 @@ var updateCustomerNameMutation = `
|
|
|
217
217
|
}
|
|
218
218
|
`;
|
|
219
219
|
|
|
220
|
+
// src/mutations/personal/update-customer-email.js
|
|
221
|
+
var updateCustomerEmailMutation = `
|
|
222
|
+
mutation UpdateCustomerEmail($input: UpdateCustomerEmailInput!) {
|
|
223
|
+
updateCustomerEmail(input: $input) {
|
|
224
|
+
customer {
|
|
225
|
+
info {
|
|
226
|
+
email {
|
|
227
|
+
address
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
`;
|
|
234
|
+
|
|
220
235
|
// src/mutations/mutations.js
|
|
221
236
|
var mutations = {
|
|
222
237
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
223
|
-
updateCustomerName: updateCustomerNameMutation
|
|
238
|
+
updateCustomerName: updateCustomerNameMutation,
|
|
239
|
+
updateCustomerEmail: updateCustomerEmailMutation
|
|
224
240
|
};
|
|
225
241
|
|
|
226
242
|
// src/presenters/base-presenter.js
|
package/package.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { updateBusinessEmailMutation } from './business/update-business-email.js'
|
|
2
2
|
import { updateCustomerNameMutation } from './personal/update-customer-name.js'
|
|
3
|
+
import { updateCustomerEmailMutation } from './personal/update-customer-email.js'
|
|
3
4
|
|
|
4
5
|
export const mutations = {
|
|
5
6
|
updateBusinessEmail: updateBusinessEmailMutation,
|
|
6
|
-
updateCustomerName: updateCustomerNameMutation
|
|
7
|
+
updateCustomerName: updateCustomerNameMutation,
|
|
8
|
+
updateCustomerEmail: updateCustomerEmailMutation
|
|
7
9
|
}
|