@types/jsuite
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Installation

npm install --save @types/jsuite

Summary

This package contains type definitions for jsuite (https://github.com/darrenthill/jsuite).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsuite.

index.d.ts

/// <reference types="suitescript"/>
/// <reference types="jquery" />

interface Iconfig {
    logging?: boolean | undefined;
    smartConvert?: boolean | undefined;
    searchId?: string | undefined;
    recordType?: string | undefined;
    filterExpression?: any;
    columns?: string | undefined;
    start?: number | undefined;
    end?: number | undefined;
    maxUnitsUsage?: number | undefined;
}
declare namespace jSuite {
    function getVersion(): string;
    function setLogging(toggle: boolean): void;
    function getRoleCenter(): any;
    function getUser(): any;
    function getScriptParameter(paramName: string): any;
    function getDeploymentId(): any;
    function getScriptId(): any;
    function isProduction(): any;
    function clearSublist(transaction: nlobjRecord, listType: string): void;
    function getCompanyPreference(paramName: string): any;
    function roundNum(num: number, length: number): number;
    function isNumber(n: any): boolean;
    function runSearch(config?: Iconfig): any;
    function lookupField(dataIn: any): string;
    function submitField(dataIn: any): any;
    function asyncLookupField(config: any, callback: any): void;
    function asyncSubmitField(config: any): JQueryXHR;
    function audit(title: string, message: string): void;
    function debug(title: string, message: string): void;
    function error(title: string, message: string): void;
    function emergency(title: string, message: string): void;
}

Additional Details

Credits

These definitions were written by Darren Hill.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jsuite

Weekly Downloads

44

Version

0.0.10

License

MIT

Unpacked Size

5.67 kB

Total Files

5

Last publish

Collaborators

  • types