26 lines
717 B
JavaScript
26 lines
717 B
JavaScript
// @ts-check
|
|
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
|
// This file is automatically generated. DO NOT EDIT
|
|
|
|
import {Call} from '@wailsio/runtime';
|
|
|
|
/**
|
|
* @function Companies
|
|
* @returns {Promise<Company[], void>}
|
|
**/
|
|
export async function Companies() {
|
|
return Call.ByName("dbsrv.Srv.Companies", ...Array.prototype.slice.call(arguments, 0));
|
|
}
|
|
|
|
/**
|
|
* @function CreateCompany
|
|
* @param name {string}
|
|
* @param memberNumber {string}
|
|
* @param username {string}
|
|
* @param password {string}
|
|
* @returns {Promise<void>}
|
|
**/
|
|
export async function CreateCompany(name, memberNumber, username, password) {
|
|
return Call.ByName("dbsrv.Srv.CreateCompany", ...Array.prototype.slice.call(arguments, 0));
|
|
}
|