--
-- apm__update_package/9
--
create or replace function apm__update_package(
  character varying,
  character varying,
  character varying,
  character varying,
  character varying,
  boolean,
  boolean,
  character varying,
  integer
) returns varchar as $$

declare
  package_key            alias for $1;  
  pretty_name            alias for $2;  -- default null
  pretty_plural          alias for $3;  -- default null  
  package_uri            alias for $4;  -- default null  
  package_type           alias for $5;  -- default null  
  initial_install_p      alias for $6;  -- default null  
  singleton_p            alias for $7;  -- default null  
  spec_file_path         alias for $8;  -- default null  
  spec_file_mtime        alias for $9;  -- default null  
begin
 
    return apm_package_type__update_type(
    	package_key,
	pretty_name,
	pretty_plural,
	package_uri,
	package_type,
	initial_install_p,
	singleton_p,
	spec_file_path,
	spec_file_mtime
    );
   
end;$$ language plpgsql;


--
-- apm__update_package/11
--
create or replace function apm__update_package(
  character varying,
  character varying,
  character varying,
  character varying,
  character varying,
  boolean,
  boolean,
  boolean,
  boolean,
  character varying,
  integer
) returns varchar as $$

declare
  package_key            alias for $1;  
  pretty_name            alias for $2;  -- default null
  pretty_plural          alias for $3;  -- default null  
  package_uri            alias for $4;  -- default null  
  package_type           alias for $5;  -- default null  
  initial_install_p      alias for $6;  -- default null  
  singleton_p            alias for $7;  -- default null  
  implements_subsite_p   alias for $8;  -- default 'f'  
  inherit_templates_p   alias for $9;  -- default 'f'  
  spec_file_path         alias for $10;  -- default null
  spec_file_mtime        alias for $11;  -- default null
begin
 
    return apm_package_type__update_type(
    	package_key,
	pretty_name,
	pretty_plural,
	package_uri,
	package_type,
	initial_install_p,
	singleton_p,
        implements_subsite_p,
        inherit_templates_p,
	spec_file_path,
	spec_file_mtime
    );
   
end;$$ language plpgsql;