arky-sdk 0.3.64 → 0.3.65

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
@@ -1195,6 +1195,15 @@ var createDatabaseApi = (apiConfig) => {
1195
1195
  };
1196
1196
  };
1197
1197
 
1198
+ // src/api/scripts.ts
1199
+ var createScriptsApi = (apiConfig) => {
1200
+ return {
1201
+ async runScript(params, options) {
1202
+ return apiConfig.httpClient.post(`/v1/operations/scripts`, params, options);
1203
+ }
1204
+ };
1205
+ };
1206
+
1198
1207
  // src/utils/currency.ts
1199
1208
  function getCurrencySymbol(currency) {
1200
1209
  const currencySymbols = {
@@ -1550,7 +1559,7 @@ async function injectSvgIntoElement(mediaObject, targetElement, className) {
1550
1559
  }
1551
1560
 
1552
1561
  // src/index.ts
1553
- var SDK_VERSION = "0.3.64";
1562
+ var SDK_VERSION = "0.3.65";
1554
1563
  var SUPPORTED_FRAMEWORKS = [
1555
1564
  "astro",
1556
1565
  "react",
@@ -1587,6 +1596,7 @@ function createArkySDK(config) {
1587
1596
  eshop: createEshopApi(apiConfig),
1588
1597
  reservation: createReservationApi(apiConfig),
1589
1598
  database: createDatabaseApi(apiConfig),
1599
+ scripts: createScriptsApi(apiConfig),
1590
1600
  setBusinessId: (businessId) => {
1591
1601
  apiConfig.businessId = businessId;
1592
1602
  },