arky-sdk 0.4.4 → 0.4.7

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
@@ -447,6 +447,26 @@ var createBusinessApi = (apiConfig) => {
447
447
  payload,
448
448
  options
449
449
  );
450
+ },
451
+ async getBusinessEvents(params, options) {
452
+ return apiConfig.httpClient.get(
453
+ `/v1/businesses/${apiConfig.businessId}/events`,
454
+ {
455
+ ...options,
456
+ params: {
457
+ entity: params.entity,
458
+ limit: params.limit,
459
+ cursor: params.cursor
460
+ }
461
+ }
462
+ );
463
+ },
464
+ async updateBusinessEventPayload(params, options) {
465
+ return apiConfig.httpClient.put(
466
+ `/v1/businesses/${apiConfig.businessId}/events/${params.eventId}`,
467
+ { payload: params.payload },
468
+ options
469
+ );
450
470
  }
451
471
  };
452
472
  };
@@ -1823,7 +1843,7 @@ function nameToKey(name) {
1823
1843
  }
1824
1844
 
1825
1845
  // src/index.ts
1826
- var SDK_VERSION = "0.3.167";
1846
+ var SDK_VERSION = "0.3.168";
1827
1847
  var SUPPORTED_FRAMEWORKS = [
1828
1848
  "astro",
1829
1849
  "react",