visualvault-api 1.2.0 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +23 -140
  3. package/dist/VVRestApi.cjs +2552 -0
  4. package/dist/VVRestApi.cjs.map +1 -0
  5. package/dist/VVRestApi.d.cts +386 -0
  6. package/dist/VVRestApi.d.ts +386 -0
  7. package/dist/VVRestApi.js +2522 -0
  8. package/dist/VVRestApi.js.map +1 -0
  9. package/{lib/VVRestApi/VVRestApiNodeJs → dist}/config.yml +3 -3
  10. package/dist/constants.cjs +45 -0
  11. package/dist/constants.cjs.map +1 -0
  12. package/dist/constants.d.cts +48 -0
  13. package/dist/constants.d.ts +48 -0
  14. package/dist/constants.js +20 -0
  15. package/dist/constants.js.map +1 -0
  16. package/dist/index.cjs +2572 -0
  17. package/dist/index.cjs.map +1 -0
  18. package/dist/index.d.cts +2 -0
  19. package/dist/index.d.ts +2 -0
  20. package/dist/index.js +2541 -0
  21. package/dist/index.js.map +1 -0
  22. package/package.json +46 -70
  23. package/lib/VVRestApi/VVRestApiNodeJs/DocApi.js +0 -66
  24. package/lib/VVRestApi/VVRestApiNodeJs/FormsApi.js +0 -51
  25. package/lib/VVRestApi/VVRestApiNodeJs/NotificationsApi.js +0 -39
  26. package/lib/VVRestApi/VVRestApiNodeJs/ObjectsApi.js +0 -138
  27. package/lib/VVRestApi/VVRestApiNodeJs/StudioApi.js +0 -156
  28. package/lib/VVRestApi/VVRestApiNodeJs/VVRestApi.js +0 -1974
  29. package/lib/VVRestApi/VVRestApiNodeJs/app.js +0 -128
  30. package/lib/VVRestApi/VVRestApiNodeJs/common.js +0 -1598
  31. package/lib/VVRestApi/VVRestApiNodeJs/dts/express.d.ts +0 -125
  32. package/lib/VVRestApi/VVRestApiNodeJs/dts/node.d.ts +0 -1090
  33. package/lib/VVRestApi/VVRestApiNodeJs/files/237de37cf014ee1199a400d49e26e066.js +0 -51
  34. package/lib/VVRestApi/VVRestApiNodeJs/files/437833dc404aed118b0e644bf02b9c8a.js +0 -1
  35. package/lib/VVRestApi/VVRestApiNodeJs/log.js +0 -20
  36. package/lib/VVRestApi/VVRestApiNodeJs/public/favicon.ico +0 -0
  37. package/lib/VVRestApi/VVRestApiNodeJs/routes/scheduledscripts.js +0 -203
  38. package/lib/VVRestApi/VVRestApiNodeJs/routes/scripts.js +0 -215
  39. package/lib/VVRestApi/VVRestApiNodeJs/routes/testScheduledScripts.js +0 -131
  40. package/lib/VVRestApi/VVRestApiNodeJs/samples/SampleScheduledScript.js +0 -90
  41. package/lib/VVRestApi/VVRestApiNodeJs/samples/SendEmailScript.js +0 -51
  42. package/lib/VVRestApi/VVRestApiNodeJs/samples/fileTest.js +0 -60
  43. package/lib/VVRestApi/VVRestApiNodeJs/samples/sampleFormValidationScript.js +0 -126
  44. package/lib/VVRestApi/VVRestApiNodeJs/views/error.ejs +0 -8
  45. package/lib/VVRestApi/VVRestApiNodeJs/views/index.ejs +0 -8
@@ -1,125 +0,0 @@
1
- ///<reference path='.\node.d.ts' />
2
-
3
- declare module "express" {
4
- export function createServer(): ExpressServer;
5
- export function static (path: string): any;
6
- import http = module("http");
7
- export var listen;
8
-
9
- // Connect middleware
10
- export function bodyParser(options?: any): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
11
- export function errorHandler(opts?: any): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
12
- export function methodOverride(): (req: ExpressServerRequest, res: ExpressServerResponse, next) => void;
13
-
14
- export interface ExpressSettings {
15
- env?: string;
16
- views?: string;
17
- }
18
-
19
- export interface ExpressServer {
20
- set (name: string): any;
21
- set (name: string, val: any): any;
22
- enable(name: string): ExpressServer;
23
- disable(name: string): ExpressServer;
24
- enabled(name: string): bool;
25
- disabled(name: string): bool;
26
- configure(env: string, callback: () => void ): ExpressServer;
27
- configure(env: string, env2: string, callback: () => void ): ExpressServer;
28
- configure(callback: () => void ): ExpressServer;
29
- settings: ExpressSettings;
30
- engine(ext: string, callback: any): void;
31
- param(param: Function): ExpressServer;
32
- param(name: string, callback: Function): ExpressServer;
33
- param(name: string, expressParam: any): ExpressServer;
34
- param(name: any[], callback: Function): ExpressServer;
35
- get (name: string): any;
36
- get (path: string, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
37
- get (path: RegExp, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
38
- get (path: string, callbacks: any, callback: () => void ): void;
39
- post(path: string, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
40
- post(path: RegExp, handler: (req: ExpressServerRequest, res: ExpressServerResponse) => void ): void;
41
- post(path: string, callbacks: any, callback: () => void ): void;
42
- all(path: string, callback: Function): void;
43
- all(path: string, callback: Function, callback2: Function): void;
44
- locals: any;
45
- render(view: string, callback: (err: Error, html) => void ): void;
46
- render(view: string, opts: any, callback: (err: Error, html) => void ): void;
47
- routes: any;
48
- router: (req: ExpressServerRequest, res: ExpressServerResponse, next?: Function) => void;
49
- listen(port: number, hostname: string, backlog: number, callback: Function): void;
50
- listen(port: number, callback: Function): void;
51
- listen(path: string, callback?: Function): void;
52
- listen(handle: any, listeningListener?: Function): void;
53
- use(route: string, callback: Function): ExpressServer;
54
- use(route: string, server: ExpressServer): ExpressServer;
55
- use(callback: Function): ExpressServer;
56
- use(server: ExpressServer): ExpressServer;
57
- }
58
-
59
- export class ExpressServerRequest extends http.ServerRequest {
60
- params: any;
61
- query: any;
62
- body: any;
63
- files: any;
64
- param(name: string): any;
65
- route: any;
66
- cookies: any;
67
- signedCookies: any;
68
- get (field: string): string;
69
- accepts(types: string): any;
70
- accepts(types: string[]): any;
71
- accepted: any;
72
- is(type: string): bool;
73
- ip: string;
74
- ips: string[];
75
- path: string;
76
- host: string;
77
- fresh: bool;
78
- stale: bool;
79
- xhr: bool;
80
- protocol: string;
81
- secure: bool;
82
- subdomains: string[];
83
- acceptedLanguages: string[];
84
- acceptedCharsets: string[];
85
- acceptsCharset(charset: string): bool;
86
- acceptsLanguage(lang: string): bool;
87
- }
88
-
89
- export class ExpressServerResponse extends http.ServerResponse {
90
- status(code: number): any;
91
- set (field: any): void;
92
- set (field: string, value: string): void;
93
- header(field: any): void;
94
- header(field: string, value: string): void;
95
- get (field: string): any;
96
- cookie(name: string, value: any, options?: any): void;
97
- clearcookie(name: string, options?: any): void;
98
- redirect(status: number, url: string): void;
99
- redirect(url: string): void;
100
- charset: string;
101
- send(bodyOrStatus: any);
102
- send(body: any, status: any);
103
- send(body: any, headers: any, status: number);
104
- json(bodyOrStatus: any);
105
- json(body: any, status: any);
106
- json(body: any, headers: any, status: number);
107
- jsonp(bodyOrStatus: any);
108
- jsonp(body: any, status: any);
109
- jsonp(body: any, headers: any, status: number);
110
- type(type: string): void;
111
- format(object: any): void;
112
- attachment(filename?: string);
113
- sendfile(path: string): void;
114
- sendfile(path: string, options: any): void;
115
- sendfile(path: string, options: any, fn: (err: Error) => void ): void;
116
- download(path: string): void;
117
- download(path: string, filename: string): void;
118
- download(path: string, filename: string, fn: (err: Error) => void ): void;
119
- links(links: any): void;
120
- locals: any;
121
- render(view: string, locals: any): void;
122
- render(view: string, callback: (err: Error, html: any) => void ): void;
123
- render(view: string, locals: any, callback: (err: Error, html: any) => void ): void;
124
- }
125
- }