import {
  __esm,
  __objRest
} from "./chunk-OBKEW4AQ.mjs";

// src/resources/api-keys/index.ts
function createApiKeysResource(instanceId, client) {
  return {
    list() {
      return client.get(`/instances/${instanceId}/api-keys`);
    },
    create(_a) {
      var data = __objRest(_a, []);
      return client.post(`/instances/${instanceId}/api-keys`, data);
    },
    get(id) {
      return client.get(`/instances/${instanceId}/api-keys/${id}`);
    },
    delete(id) {
      return client.delete(`/instances/${instanceId}/api-keys/${id}`);
    }
  };
}
var init_api_keys = __esm({
  "src/resources/api-keys/index.ts"() {
  }
});

export {
  createApiKeysResource,
  init_api_keys
};
