text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  let _ = require('lodash');
  const pip_services3_commons_node_1 = require("pip-services3-commons-node");
  const pip_services3_aws_node_1 = require("pip-services3-aws-node");
  class OrganizationsLambdaClientV1 extends pip_services3_aws_node_1.CommandableLambdaClient {
      constructor(config) {
          super('organizations');
          if (config != null)
              this.configure(pip_services3_commons_node_1.ConfigParams.fromValue(config));
      }
      getOrganizations(correlationId, filter, paging, callback) {
          this.callCommand('get_organizations', correlationId, {
              filter: filter,
              paging: paging
          }, callback);
      }
      getOrganizationById(correlationId, orgId, callback) {
          this.callCommand('get_organization_by_id', correlationId, {
              org_id: orgId
          }, callback);
      }
      getOrganizationByCode(correlationId, code, callback) {
          this.callCommand('get_organization_by_code', correlationId, {
              code: code
          }, callback);
      }
      generateCode(correlationId, orgId, callback) {
          this.callCommand('generate_code', correlationId, {
              org_id: orgId
          }, callback);
      }
      createOrganization(correlationId, organization, callback) {
          this.callCommand('create_organization', correlationId, {
              organization: organization
          }, callback);
      }
      updateOrganization(correlationId, organization, callback) {
          this.callCommand('update_organization', correlationId, {
              organization: organization
          }, callback);
      }
      deleteOrganizationById(correlationId, orgId, callback) {
          this.callCommand('delete_organization_by_id', correlationId, {
              org_id: orgId
          }, callback);
      }
  }
  exports.OrganizationsLambdaClientV1 = OrganizationsLambdaClientV1;
  //# sourceMappingURL=OrganizationsLambdaClientV1.js.map