@labdigital/commercetools-mock 2.18.2 → 2.19.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 +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/repositories/customer/actions.ts +18 -0
- package/src/services/customer.test.ts +36 -0
package/dist/index.js
CHANGED
|
@@ -3262,9 +3262,15 @@ var CustomerUpdateHandler = class extends AbstractUpdateHandler {
|
|
|
3262
3262
|
setFirstName(_context, resource, { firstName }) {
|
|
3263
3263
|
resource.firstName = firstName;
|
|
3264
3264
|
}
|
|
3265
|
+
setKey(_context, resource, { key }) {
|
|
3266
|
+
resource.key = key;
|
|
3267
|
+
}
|
|
3265
3268
|
setLastName(_context, resource, { lastName }) {
|
|
3266
3269
|
resource.lastName = lastName;
|
|
3267
3270
|
}
|
|
3271
|
+
setSalutation(_context, resource, { salutation }) {
|
|
3272
|
+
resource.salutation = salutation;
|
|
3273
|
+
}
|
|
3268
3274
|
setVatId(_context, resource, { vatId }) {
|
|
3269
3275
|
resource.vatId = vatId;
|
|
3270
3276
|
}
|