washday-sdk 0.0.130 → 0.0.131
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/api/index.js +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
- package/src/interfaces/Api.ts +1 -1
package/dist/api/index.js
CHANGED
|
@@ -206,6 +206,7 @@ const WashdayClient = function WashdayClient(apiToken) {
|
|
|
206
206
|
verifyDiscountCodeCustomersApp: verifyDiscountCodeCustomersApp,
|
|
207
207
|
createDiscountCode: createDiscountCode,
|
|
208
208
|
deleteDiscountCodeById: deleteDiscountCodeById,
|
|
209
|
+
updateDiscountCodeById: updateDiscountCodeById,
|
|
209
210
|
});
|
|
210
211
|
this.automaticDiscount = bindMethods(this, {
|
|
211
212
|
getAutomaticDiscounts: getAutomaticDiscounts,
|
|
@@ -214,7 +215,6 @@ const WashdayClient = function WashdayClient(apiToken) {
|
|
|
214
215
|
createAutomaticDiscount: createAutomaticDiscount,
|
|
215
216
|
deleteAutomaticDiscountById: deleteAutomaticDiscountById,
|
|
216
217
|
updateAutomaticDiscountById: updateAutomaticDiscountById,
|
|
217
|
-
updateDiscountCodeById: updateDiscountCodeById,
|
|
218
218
|
});
|
|
219
219
|
this.csv = bindMethods(this, {
|
|
220
220
|
exportCustomersList: csvExportEndpoints.getModule.exportCustomersList,
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -212,6 +212,7 @@ const WashdayClient: WashdayClientConstructor = function WashdayClient(this: Was
|
|
|
212
212
|
verifyDiscountCodeCustomersApp: verifyDiscountCodeCustomersApp,
|
|
213
213
|
createDiscountCode: createDiscountCode,
|
|
214
214
|
deleteDiscountCodeById: deleteDiscountCodeById,
|
|
215
|
+
updateDiscountCodeById: updateDiscountCodeById,
|
|
215
216
|
});
|
|
216
217
|
this.automaticDiscount = bindMethods(this, {
|
|
217
218
|
getAutomaticDiscounts: getAutomaticDiscounts,
|
|
@@ -220,7 +221,6 @@ const WashdayClient: WashdayClientConstructor = function WashdayClient(this: Was
|
|
|
220
221
|
createAutomaticDiscount: createAutomaticDiscount,
|
|
221
222
|
deleteAutomaticDiscountById: deleteAutomaticDiscountById,
|
|
222
223
|
updateAutomaticDiscountById: updateAutomaticDiscountById,
|
|
223
|
-
updateDiscountCodeById: updateDiscountCodeById,
|
|
224
224
|
});
|
|
225
225
|
this.csv = bindMethods(this, {
|
|
226
226
|
exportCustomersList: csvExportEndpoints.getModule.exportCustomersList,
|
package/src/interfaces/Api.ts
CHANGED
|
@@ -198,6 +198,7 @@ export interface WashdayClientInstance {
|
|
|
198
198
|
verifyDiscountCodeCustomersApp: typeof verifyDiscountCodeCustomersApp;
|
|
199
199
|
createDiscountCode: typeof createDiscountCode;
|
|
200
200
|
deleteDiscountCodeById: typeof deleteDiscountCodeById;
|
|
201
|
+
updateDiscountCodeById: typeof updateDiscountCodeById;
|
|
201
202
|
};
|
|
202
203
|
automaticDiscount: {
|
|
203
204
|
getAutomaticDiscounts: typeof getAutomaticDiscounts;
|
|
@@ -206,7 +207,6 @@ export interface WashdayClientInstance {
|
|
|
206
207
|
createAutomaticDiscount: typeof createAutomaticDiscount;
|
|
207
208
|
deleteAutomaticDiscountById: typeof deleteAutomaticDiscountById;
|
|
208
209
|
updateAutomaticDiscountById: typeof updateAutomaticDiscountById;
|
|
209
|
-
updateDiscountCodeById: typeof updateDiscountCodeById;
|
|
210
210
|
};
|
|
211
211
|
csv: {
|
|
212
212
|
exportCustomersList: typeof csvExportEndpoints.getModule.exportCustomersList;
|