dymo-api 1.0.18 → 1.0.19
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.
- package/index.d.ts +14 -14
- package/index.ts +1 -33
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
pass: string;
|
|
13
|
-
};
|
|
1
|
+
export interface ConfigurationOptions {
|
|
2
|
+
rootApiKey?: string;
|
|
3
|
+
apiKey?: string;
|
|
4
|
+
local?: boolean;
|
|
5
|
+
serverEmailConfig?: {
|
|
6
|
+
host: string;
|
|
7
|
+
port: number;
|
|
8
|
+
secure: boolean;
|
|
9
|
+
auth: {
|
|
10
|
+
user: string;
|
|
11
|
+
pass: string;
|
|
14
12
|
};
|
|
15
|
-
}
|
|
13
|
+
};
|
|
14
|
+
}
|
|
16
15
|
|
|
16
|
+
declare module "dymo-api" {
|
|
17
17
|
class DymoAPI {
|
|
18
18
|
private rootApiKey: string | null;
|
|
19
19
|
private apiKey: string | null;
|
package/index.ts
CHANGED
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
class DymoAPI {
|
|
4
|
-
private configuration: ConfigurationOptions;
|
|
5
|
-
|
|
6
|
-
constructor(configuration: ConfigurationOptions = {}) {
|
|
7
|
-
this.configuration = configuration;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
async initializeTokens(): Promise<void> {
|
|
11
|
-
// Implementación aquí
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
async isValidData(data: any): Promise<any> {
|
|
15
|
-
// Implementación aquí
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
async getPrayerTimes(data: any): Promise<any> {
|
|
19
|
-
// Implementación aquí
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
async inputSatinizer(data: any): Promise<any> {
|
|
23
|
-
// Implementación aquí
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
async isValidPwd(data: any): Promise<any> {
|
|
27
|
-
// Implementación aquí
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async newURLEncrypt(data: any): Promise<any> {
|
|
31
|
-
// Implementación aquí
|
|
32
|
-
}
|
|
33
|
-
}
|
|
1
|
+
import { DymoAPI } from "./src/dymo-api";
|
|
34
2
|
|
|
35
3
|
export { DymoAPI };
|