@opensearch-project/opensearch
Version:
The official OpenSearch client for Node.js
47 lines (40 loc) • 1.77 kB
JavaScript
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
*/
/*
* This file was generated from the OpenSearch API Spec. Do NOT edit it
* manually. If you want to make changes, either update the spec or
* modify the API generator.
*/
'use strict';
/** @namespace API-Snapshot */
function SnapshotApi(bindObj) {
this.cleanupRepository = require('./cleanupRepository').bind(bindObj);
this.clone = require('./clone').bind(bindObj);
this.create = require('./create').bind(bindObj);
this.createRepository = require('./createRepository').bind(bindObj);
this.delete = require('./delete').bind(bindObj);
this.deleteRepository = require('./deleteRepository').bind(bindObj);
this.get = require('./get').bind(bindObj);
this.getRepository = require('./getRepository').bind(bindObj);
this.restore = require('./restore').bind(bindObj);
this.status = require('./status').bind(bindObj);
this.verifyRepository = require('./verifyRepository').bind(bindObj);
// Deprecated: Use cleanupRepository instead.
this.cleanup_repository = require('./cleanupRepository').bind(bindObj);
// Deprecated: Use createRepository instead.
this.create_repository = require('./createRepository').bind(bindObj);
// Deprecated: Use deleteRepository instead.
this.delete_repository = require('./deleteRepository').bind(bindObj);
// Deprecated: Use getRepository instead.
this.get_repository = require('./getRepository').bind(bindObj);
// Deprecated: Use verifyRepository instead.
this.verify_repository = require('./verifyRepository').bind(bindObj);
}
module.exports = SnapshotApi;