arky-sdk 0.5.10 → 0.5.11

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
@@ -980,13 +980,6 @@ var createBookingApi = (apiConfig) => {
980
980
  options
981
981
  );
982
982
  },
983
- async bulkSchedule(params, options) {
984
- return apiConfig.httpClient.post(
985
- `/v1/businesses/${apiConfig.businessId}/services/bulk-schedule`,
986
- params,
987
- options
988
- );
989
- },
990
983
  async getService(params, options) {
991
984
  const businessId = params.businessId || apiConfig.businessId;
992
985
  let identifier;
@@ -1335,7 +1328,14 @@ var createAudienceApi = (apiConfig) => {
1335
1328
  }
1336
1329
  );
1337
1330
  },
1338
- async revokeSubscription(params, options) {
1331
+ async addSubscriber(params, options) {
1332
+ return apiConfig.httpClient.post(
1333
+ `/v1/businesses/${apiConfig.businessId}/audiences/${params.id}/subscribers`,
1334
+ { email: params.email },
1335
+ options
1336
+ );
1337
+ },
1338
+ async removeSubscriber(params, options) {
1339
1339
  return apiConfig.httpClient.delete(
1340
1340
  `/v1/businesses/${apiConfig.businessId}/audiences/${params.id}/subscribers/${params.accountId}`,
1341
1341
  options