repzo 1.0.19 → 1.0.20
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/changelog.md +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +1 -1
- package/package.json +1 -1
- package/src/types/index.ts +1 -0
- package/test.ts +8 -8
- package/tsconfig.json +17 -17
package/changelog.md
CHANGED
package/lib/types/index.d.ts
CHANGED
|
@@ -3458,6 +3458,7 @@ export declare namespace Service {
|
|
|
3458
3458
|
creator?: string[] | string;
|
|
3459
3459
|
clients?: string[] | string;
|
|
3460
3460
|
withPrintDetails?: boolean;
|
|
3461
|
+
"serial_number.formatted"?: string[] | string;
|
|
3461
3462
|
[key: string]: any;
|
|
3462
3463
|
populatedKeys?: PopulatedKeys[];
|
|
3463
3464
|
};
|
package/lib/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -3419,6 +3419,7 @@ export namespace Service {
|
|
|
3419
3419
|
creator?: string[] | string;
|
|
3420
3420
|
clients?: string[] | string;
|
|
3421
3421
|
withPrintDetails?: boolean;
|
|
3422
|
+
"serial_number.formatted"?: string[] | string;
|
|
3422
3423
|
[key: string]: any; // integration_meta.
|
|
3423
3424
|
populatedKeys?: PopulatedKeys[];
|
|
3424
3425
|
};
|
package/test.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Repzo from "./src/index.js";
|
|
2
|
-
let repzo = new Repzo("");
|
|
3
|
-
let clients = repzo.client.find({ search: "Mecca" });
|
|
4
|
-
console.log(clients);
|
|
5
|
-
repzo.client.create({ name: "kf" });
|
|
6
|
-
repzo.headers["ho"] = "faf";
|
|
7
|
-
repzo.client.update("", {});
|
|
8
|
-
// repzo.
|
|
1
|
+
import Repzo from "./src/index.js";
|
|
2
|
+
let repzo = new Repzo("");
|
|
3
|
+
let clients = repzo.client.find({ search: "Mecca" });
|
|
4
|
+
console.log(clients);
|
|
5
|
+
repzo.client.create({ name: "kf" });
|
|
6
|
+
repzo.headers["ho"] = "faf";
|
|
7
|
+
repzo.client.update("", {});
|
|
8
|
+
// repzo.
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"outDir": "./lib",
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"target": "ES2020",
|
|
6
|
-
"module": "ES2020",
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"moduleResolution": "Node",
|
|
9
|
-
"resolveJsonModule": true,
|
|
10
|
-
"noImplicitThis": false,
|
|
11
|
-
"strict": true,
|
|
12
|
-
"declaration": true
|
|
13
|
-
},
|
|
14
|
-
"ts-node": { "esm": true },
|
|
15
|
-
"include": ["src/**/*"],
|
|
16
|
-
"exclude": ["node_modules", "test/**/*", "**/*.spec.ts"]
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "./lib",
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"target": "ES2020",
|
|
6
|
+
"module": "ES2020",
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"moduleResolution": "Node",
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"noImplicitThis": false,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"declaration": true
|
|
13
|
+
},
|
|
14
|
+
"ts-node": { "esm": true },
|
|
15
|
+
"include": ["src/**/*"],
|
|
16
|
+
"exclude": ["node_modules", "test/**/*", "**/*.spec.ts"]
|
|
17
|
+
}
|