up
This commit is contained in:
21
app/frontend/bindings/bordrobot/lib/company/company.js
Normal file
21
app/frontend/bindings/bordrobot/lib/company/company.js
Normal file
@@ -0,0 +1,21 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "@wailsio/runtime";
|
||||
|
||||
/**
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function Create() {
|
||||
return $Call.ByID(3291066869);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function Edit() {
|
||||
return $Call.ByID(3331081401);
|
||||
}
|
||||
12
app/frontend/bindings/bordrobot/lib/company/index.js
Normal file
12
app/frontend/bindings/bordrobot/lib/company/index.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import * as Company from "./company.js";
|
||||
export {
|
||||
Company
|
||||
};
|
||||
|
||||
export {
|
||||
Company
|
||||
} from "./models.js";
|
||||
63
app/frontend/bindings/bordrobot/lib/company/models.js
Normal file
63
app/frontend/bindings/bordrobot/lib/company/models.js
Normal file
@@ -0,0 +1,63 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Create as $Create } from "@wailsio/runtime";
|
||||
|
||||
export class Company {
|
||||
/**
|
||||
* Creates a new Company instance.
|
||||
* @param {Partial<Company>} [$$source = {}] - The source object to create the Company.
|
||||
*/
|
||||
constructor($$source = {}) {
|
||||
if (!("Id" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {number}
|
||||
*/
|
||||
this["Id"] = 0;
|
||||
}
|
||||
if (!("Name" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {string}
|
||||
*/
|
||||
this["Name"] = "";
|
||||
}
|
||||
if (!("MemberNumber" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {string}
|
||||
*/
|
||||
this["MemberNumber"] = "";
|
||||
}
|
||||
if (!("Username" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {string}
|
||||
*/
|
||||
this["Username"] = "";
|
||||
}
|
||||
if (!("Password" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {string}
|
||||
*/
|
||||
this["Password"] = "";
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new Company instance from a string or object.
|
||||
* @param {any} [$$source = {}]
|
||||
* @returns {Company}
|
||||
*/
|
||||
static createFrom($$source = {}) {
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
return new Company(/** @type {Partial<Company>} */($$parsedSource));
|
||||
}
|
||||
}
|
||||
8
app/frontend/bindings/bordrobot/lib/srv/index.js
Normal file
8
app/frontend/bindings/bordrobot/lib/srv/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
import * as Srv from "./srv.js";
|
||||
export {
|
||||
Srv
|
||||
};
|
||||
65
app/frontend/bindings/bordrobot/lib/srv/srv.js
Normal file
65
app/frontend/bindings/bordrobot/lib/srv/srv.js
Normal file
@@ -0,0 +1,65 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import { Call as $Call, CancellablePromise as $CancellablePromise, Create as $Create } from "@wailsio/runtime";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore: Unused imports
|
||||
import * as company$0 from "../company/models.js";
|
||||
|
||||
/**
|
||||
* @returns {$CancellablePromise<company$0.Company[]>}
|
||||
*/
|
||||
export function Companies() {
|
||||
return $Call.ByID(3083458084).then(/** @type {($result: any) => any} */(($result) => {
|
||||
return $$createType1($result);
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @param {string} memberNumber
|
||||
* @param {string} username
|
||||
* @param {string} password
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function CreateCompany(name, memberNumber, username, password) {
|
||||
return $Call.ByID(1901112960, name, memberNumber, username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} id
|
||||
* @param {string} name
|
||||
* @param {string} memberNumber
|
||||
* @param {string} username
|
||||
* @param {string} password
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function EditCompany(id, name, memberNumber, username, password) {
|
||||
return $Call.ByID(2617513428, id, name, memberNumber, username, password);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {number} companyID
|
||||
* @param {number} month
|
||||
* @param {number} year
|
||||
* @param {boolean} devMode
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function Rpa(companyID, month, year, devMode) {
|
||||
return $Call.ByID(202161926, companyID, month, year, devMode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {$CancellablePromise<string>}
|
||||
*/
|
||||
export function UploadExcel() {
|
||||
return $Call.ByID(3720689099);
|
||||
}
|
||||
|
||||
// Private type creation functions
|
||||
const $$createType0 = company$0.Company.createFrom;
|
||||
const $$createType1 = $Create.Array($$createType0);
|
||||
Reference in New Issue
Block a user