arky-sdk 0.5.1 → 0.5.2

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
@@ -1121,11 +1121,11 @@ var createDatabaseApi = (apiConfig) => {
1121
1121
  var createLocationApi = (apiConfig) => {
1122
1122
  return {
1123
1123
  async getCountries(options) {
1124
- return apiConfig.httpClient.get(`/v1/platform/location/countries`, options);
1124
+ return apiConfig.httpClient.get(`/v1/platform/countries`, options);
1125
1125
  },
1126
- async getCountryStates(countryCode, options) {
1126
+ async getCountry(countryCode, options) {
1127
1127
  return apiConfig.httpClient.get(
1128
- `/v1/platform/location/countries/${countryCode}/states`,
1128
+ `/v1/platform/countries/${countryCode}`,
1129
1129
  options
1130
1130
  );
1131
1131
  }
@@ -1356,8 +1356,8 @@ var createPlatformApi = (apiConfig) => {
1356
1356
  async getCurrencies(options) {
1357
1357
  return apiConfig.httpClient.get("/v1/platform/currencies", options);
1358
1358
  },
1359
- async getWorkflowIntegrations(options) {
1360
- return apiConfig.httpClient.get("/v1/platform/workflow/integrations", options);
1359
+ async getIntegrationCatalogue(options) {
1360
+ return apiConfig.httpClient.get("/v1/platform/integration-catalogue", options);
1361
1361
  }
1362
1362
  };
1363
1363
  };
@@ -1414,7 +1414,7 @@ function createEventsApi(apiConfig) {
1414
1414
  );
1415
1415
  },
1416
1416
  async getWebhookEvents(options) {
1417
- return apiConfig.httpClient.get(`/v1/platform/events/metadata`, options);
1417
+ return apiConfig.httpClient.get(`/v1/platform/events`, options);
1418
1418
  }
1419
1419
  };
1420
1420
  }