@nomalism-com/types 0.47.21 → 0.47.23
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/dist/index.cjs
CHANGED
|
@@ -1640,9 +1640,17 @@ var createManySchedulePrintJobBody = joi34.object().keys({
|
|
|
1640
1640
|
// src/modules/sms/allowedDevice/interfaces.ts
|
|
1641
1641
|
var interfaces_exports31 = {};
|
|
1642
1642
|
__export(interfaces_exports31, {
|
|
1643
|
-
Route: () => Route37
|
|
1643
|
+
Route: () => Route37,
|
|
1644
|
+
apkTypeEnum: () => apkTypeEnum,
|
|
1645
|
+
apkTypes: () => apkTypes
|
|
1644
1646
|
});
|
|
1645
1647
|
var Route37 = "allowed_device";
|
|
1648
|
+
var apkTypeEnum = {
|
|
1649
|
+
sms: "sms",
|
|
1650
|
+
ticket: "ticket",
|
|
1651
|
+
app: "app"
|
|
1652
|
+
};
|
|
1653
|
+
var apkTypes = Object.keys(apkTypeEnum);
|
|
1646
1654
|
|
|
1647
1655
|
// src/modules/sms/allowedDevice/route.schema.ts
|
|
1648
1656
|
var route_schema_exports35 = {};
|
package/dist/index.js
CHANGED
|
@@ -1640,9 +1640,17 @@ var createManySchedulePrintJobBody = joi34.object().keys({
|
|
|
1640
1640
|
// src/modules/sms/allowedDevice/interfaces.ts
|
|
1641
1641
|
var interfaces_exports31 = {};
|
|
1642
1642
|
__export(interfaces_exports31, {
|
|
1643
|
-
Route: () => Route37
|
|
1643
|
+
Route: () => Route37,
|
|
1644
|
+
apkTypeEnum: () => apkTypeEnum,
|
|
1645
|
+
apkTypes: () => apkTypes
|
|
1644
1646
|
});
|
|
1645
1647
|
var Route37 = "allowed_device";
|
|
1648
|
+
var apkTypeEnum = {
|
|
1649
|
+
sms: "sms",
|
|
1650
|
+
ticket: "ticket",
|
|
1651
|
+
app: "app"
|
|
1652
|
+
};
|
|
1653
|
+
var apkTypes = Object.keys(apkTypeEnum);
|
|
1646
1654
|
|
|
1647
1655
|
// src/modules/sms/allowedDevice/route.schema.ts
|
|
1648
1656
|
var route_schema_exports35 = {};
|
|
@@ -3,11 +3,17 @@ import * as IShared from "../../../shared/interface";
|
|
|
3
3
|
export type Entity = AllowedDevice;
|
|
4
4
|
export declare const Route = "allowed_device";
|
|
5
5
|
export type ICreateRequest = Pick<Entity, "key">;
|
|
6
|
-
export
|
|
6
|
+
export declare const apkTypeEnum: {
|
|
7
|
+
sms: "sms";
|
|
8
|
+
ticket: "ticket";
|
|
9
|
+
app: "app";
|
|
10
|
+
};
|
|
11
|
+
export type IApkType = (typeof apkTypeEnum)[keyof typeof apkTypeEnum];
|
|
12
|
+
export declare const apkTypes: string[];
|
|
7
13
|
export type IUpdateRequest = Pick<Entity, "name" | "allow_app" | "allow_sms" | "allow_ticket">;
|
|
8
14
|
export interface ICreateResponse {
|
|
9
15
|
name: string;
|
|
10
|
-
allowed:
|
|
16
|
+
allowed: IApkType[];
|
|
11
17
|
}
|
|
12
18
|
export interface IRepository {
|
|
13
19
|
find(): Promise<Entity[]>;
|
|
@@ -31,11 +31,11 @@ export interface IFindResponse {
|
|
|
31
31
|
message: string;
|
|
32
32
|
status: string;
|
|
33
33
|
created_at: Date;
|
|
34
|
-
document_link
|
|
35
|
-
error
|
|
36
|
-
processed_at
|
|
37
|
-
sent_at
|
|
38
|
-
sent_by
|
|
34
|
+
document_link: string | null;
|
|
35
|
+
error: string | null;
|
|
36
|
+
processed_at: Date | null;
|
|
37
|
+
sent_at: Date | null;
|
|
38
|
+
sent_by: string | null;
|
|
39
39
|
}
|
|
40
40
|
export interface IRepository {
|
|
41
41
|
claim(): Promise<IClaimResponse[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.47.
|
|
4
|
+
"version": "0.47.23",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|