mglib-sos2001
Advanced tools
Comparing version 1.0.75 to 1.0.76
@@ -1,3 +0,2 @@ | ||
import { mglib, YODA } from './MGLib_SOS2001_WEBAPI'; | ||
export default mglib; | ||
export { YODA }; | ||
import * as sos2001_webapi from './MGLib_SOS2001_WEBAPI'; | ||
export { sos2001_webapi }; |
"use strict"; | ||
var MGLib_SOS2001_WEBAPI_1 = require("./MGLib_SOS2001_WEBAPI"); | ||
exports.YODA = MGLib_SOS2001_WEBAPI_1.YODA; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = MGLib_SOS2001_WEBAPI_1.mglib; | ||
var sos2001_webapi = require("./MGLib_SOS2001_WEBAPI"); | ||
exports.sos2001_webapi = sos2001_webapi; |
@@ -1,2 +0,1 @@ | ||
import 'whatwg-fetch'; | ||
export declare namespace YODA { | ||
@@ -57,3 +56,3 @@ const YODA_CONST_ERROR_CODE_SESSION_EXPIRED = 551; | ||
protected ___configureTableRequestOptions___(options: RequestOptions, startIndex?: number, pageSize?: number, sorting?: string): void; | ||
protected execute(command: string, parms: any, options?: RequestOptions, successHandler?: (data: any) => void, errorHandler?: (error: any) => void): Promise<any>; | ||
protected execute(command: string, parms: any, options?: RequestOptions, successHandler?: (data: any) => void, errorHandler?: (error: any) => void): any; | ||
private _checkErrors(res); | ||
@@ -93,3 +92,2 @@ private _manageResult(data); | ||
DesSocieta?: string; | ||
Prodotto?: number; | ||
DesProdotto?: string; | ||
@@ -103,9 +101,2 @@ Rapporto?: string; | ||
Indirizzo?: string; | ||
BlackList?: string; | ||
LisIns?: string; | ||
PrgOri?: number; | ||
PrgSinon?: number; | ||
DescList?: string; | ||
NomeSuPiuListe?: string; | ||
EnteOriginante?: string; | ||
FlgBloccoFondi?: string; | ||
@@ -118,2 +109,6 @@ LivelloRischio?: number; | ||
Note?: string; | ||
LisIns?: string; | ||
DescList?: string; | ||
PrgOri?: number; | ||
PrgSinon?: number; | ||
NomeBlackList?: string; | ||
@@ -222,2 +217,20 @@ } | ||
} | ||
interface Item extends Object { | ||
key: number; | ||
Cod_ban?: number; | ||
Lis_ins?: string; | ||
Prg_ori?: number; | ||
Aut_man?: string; | ||
Prg_si2?: number; | ||
Prg_dat?: number; | ||
Rag_Soc?: string; | ||
} | ||
interface SearchView extends Object { | ||
length: number; | ||
items: Item[]; | ||
} | ||
interface SosAnaView extends Object { | ||
Progressivo: number; | ||
RagioneSociale?: string; | ||
} | ||
interface TerroristList extends Object { | ||
@@ -237,2 +250,5 @@ length: number; | ||
class TestClient extends YODA.BaseProxy { | ||
/** List Sos Ana */ | ||
listSosAna(_yoda_svc_options?: YODA.RequestOptions): Promise<YODA.YodaServiceResult<SosAnaView[]>>; | ||
static ACTION_ListSosAna: string; | ||
/** List of clients */ | ||
@@ -247,2 +263,5 @@ clientSearch(filter: string, pageNumber: number, sizePerPage: number, _yoda_svc_options?: YODA.RequestOptions): Promise<YODA.YodaServiceResult<ClientList>>; | ||
static ACTION_TerroristGet: string; | ||
/** List of items for the search page */ | ||
searchPage(filter: string, pageNumber: number, sizePerPage: number, _yoda_svc_options?: YODA.RequestOptions): Promise<YODA.YodaServiceResult<SearchView[]>>; | ||
static ACTION_SearchPage: string; | ||
/** List of items for the items page */ | ||
@@ -249,0 +268,0 @@ detailsPage(cod_Ban: number, lis_Ins: string, prg_Ori: number, aut_Man: string, prg_Si2: number, pageNumber: number, itemsPerPage: number, _yoda_svc_options?: YODA.RequestOptions): Promise<YODA.YodaServiceResult<DetailView[]>>; |
@@ -11,5 +11,5 @@ //velocity | ||
// | ||
// Created by MGCode on: 01-02-2017 14:29:47 | ||
// Created by MGCode on: 15-03-2017 15:15:35 | ||
// -------------------------------------------------------- | ||
require("whatwg-fetch"); | ||
//import 'whatwg-fetch'; | ||
var YODA; | ||
@@ -175,2 +175,10 @@ (function (YODA) { | ||
} | ||
/** List Sos Ana */ | ||
TestClient.prototype.listSosAna = function (_yoda_svc_options) { | ||
if (_yoda_svc_options == null) | ||
_yoda_svc_options = { verb: "GET" }; | ||
else | ||
_yoda_svc_options.verb = "GET"; | ||
return this.execute("Test/ListSosAna", {}, _yoda_svc_options); | ||
}; | ||
/** List of clients */ | ||
@@ -200,2 +208,10 @@ TestClient.prototype.clientSearch = function (filter, pageNumber, sizePerPage, _yoda_svc_options) { | ||
}; | ||
/** List of items for the search page */ | ||
TestClient.prototype.searchPage = function (filter, pageNumber, sizePerPage, _yoda_svc_options) { | ||
if (_yoda_svc_options == null) | ||
_yoda_svc_options = { verb: "GET" }; | ||
else | ||
_yoda_svc_options.verb = "GET"; | ||
return this.execute("Test/SearchPage", { filter: filter, pageNumber: pageNumber, sizePerPage: sizePerPage }, _yoda_svc_options); | ||
}; | ||
/** List of items for the items page */ | ||
@@ -220,2 +236,4 @@ TestClient.prototype.detailsPage = function (cod_Ban, lis_Ins, prg_Ori, aut_Man, prg_Si2, pageNumber, itemsPerPage, _yoda_svc_options) { | ||
}(YODA.BaseProxy)); | ||
// TABLE ACTION: ListSosAna | ||
TestClient.ACTION_ListSosAna = "Test/ListSosAna"; | ||
// TABLE ACTION: ClientSearch | ||
@@ -227,2 +245,4 @@ TestClient.ACTION_ClientSearch = "Test/ClientSearch"; | ||
TestClient.ACTION_TerroristGet = "Test/TerroristGet"; | ||
// TABLE ACTION: SearchPage | ||
TestClient.ACTION_SearchPage = "Test/SearchPage"; | ||
// TABLE ACTION: DetailsPage | ||
@@ -229,0 +249,0 @@ TestClient.ACTION_DetailsPage = "Test/DetailsPage"; |
{ | ||
"name": "mglib-sos2001", | ||
"version": "1.0.75", | ||
"description": "mglib-sos2001", | ||
"version": "1.0.76", | ||
"description": "sos2001", | ||
"main": "index.js", | ||
"scripts": {}, | ||
"keywords": [], | ||
"author": "@vgmr", | ||
"license": "ISC", | ||
"dependencies": { | ||
"whatwg-fetch": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^7.0.4", | ||
"@types/whatwg-fetch": "0.0.33", | ||
"@types/whatwg-streams": "0.0.2" | ||
"@types/node": "^7.0.5" | ||
} | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
import {mglib,YODA} from './MGLib_SOS2001_WEBAPI'; | ||
export default mglib; | ||
export {YODA}; | ||
import * as sos2001_webapi from './MGLib_SOS2001_WEBAPI'; export {sos2001_webapi}; |
@@ -6,6 +6,6 @@ //velocity | ||
// | ||
// Created by MGCode on: 01-02-2017 14:29:47 | ||
// Created by MGCode on: 15-03-2017 15:15:35 | ||
// -------------------------------------------------------- | ||
import 'whatwg-fetch'; | ||
//import 'whatwg-fetch'; | ||
@@ -236,3 +236,2 @@ export namespace YODA { | ||
DesSocieta? : string; | ||
Prodotto? : number; | ||
DesProdotto? : string; | ||
@@ -246,9 +245,2 @@ Rapporto? : string; | ||
Indirizzo? : string; | ||
BlackList? : string; | ||
LisIns? : string; | ||
PrgOri? : number; | ||
PrgSinon? : number; | ||
DescList? : string; | ||
NomeSuPiuListe? : string; | ||
EnteOriginante? : string; | ||
FlgBloccoFondi? : string; | ||
@@ -261,2 +253,6 @@ LivelloRischio? : number; | ||
Note? : string; | ||
LisIns? : string; | ||
DescList? : string; | ||
PrgOri? : number; | ||
PrgSinon? : number; | ||
NomeBlackList? : string; | ||
@@ -316,3 +312,3 @@ } | ||
} | ||
export interface Item extends Object{ | ||
export interface Item extends Object{ | ||
key : number; | ||
@@ -366,2 +362,20 @@ Id? : number; | ||
} | ||
export interface Item extends Object{ | ||
key : number; | ||
Cod_ban? : number; | ||
Lis_ins? : string; | ||
Prg_ori? : number; | ||
Aut_man? : string; | ||
Prg_si2? : number; | ||
Prg_dat? : number; | ||
Rag_Soc? : string; | ||
} | ||
export interface SearchView extends Object{ | ||
length : number; | ||
items : Item[]; | ||
} | ||
export interface SosAnaView extends Object{ | ||
Progressivo : number; | ||
RagioneSociale? : string; | ||
} | ||
export interface TerroristList extends Object{ | ||
@@ -405,2 +419,17 @@ length : number; | ||
/** List Sos Ana */ | ||
listSosAna( _yoda_svc_options?: YODA.RequestOptions) : Promise<YODA.YodaServiceResult<SosAnaView[]>> { | ||
if ( _yoda_svc_options == null ) _yoda_svc_options = {verb : "GET"}; else _yoda_svc_options.verb = "GET"; | ||
return this.execute("Test/ListSosAna", {} , _yoda_svc_options); | ||
} | ||
// TABLE ACTION: ListSosAna | ||
static ACTION_ListSosAna = "Test/ListSosAna"; | ||
/** List of clients */ | ||
@@ -451,2 +480,17 @@ clientSearch( filter: string, pageNumber: number, sizePerPage: number, _yoda_svc_options?: YODA.RequestOptions) : Promise<YODA.YodaServiceResult<ClientList>> { | ||
/** List of items for the search page */ | ||
searchPage( filter: string, pageNumber: number, sizePerPage: number, _yoda_svc_options?: YODA.RequestOptions) : Promise<YODA.YodaServiceResult<SearchView[]>> { | ||
if ( _yoda_svc_options == null ) _yoda_svc_options = {verb : "GET"}; else _yoda_svc_options.verb = "GET"; | ||
return this.execute("Test/SearchPage", {filter:filter,pageNumber:pageNumber,sizePerPage:sizePerPage} , _yoda_svc_options); | ||
} | ||
// TABLE ACTION: SearchPage | ||
static ACTION_SearchPage = "Test/SearchPage"; | ||
/** List of items for the items page */ | ||
@@ -453,0 +497,0 @@ detailsPage( cod_Ban: number, lis_Ins: string, prg_Ori: number, aut_Man: string, prg_Si2: number, pageNumber: number, itemsPerPage: number, _yoda_svc_options?: YODA.RequestOptions) : Promise<YODA.YodaServiceResult<DetailView[]>> { |
@@ -22,2 +22,2 @@ { | ||
] | ||
} | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
78268
0
1
10
974
2
0
- Removedwhatwg-fetch@^1.0.0
- Removedwhatwg-fetch@1.1.1(transitive)