@pedro.araujo/ml-architecture-shared 0.1.122 → 0.1.123
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/user-notification-channel/create-user-notification-channel-request.dto.d.ts +1 -2
- package/dist/user-notification-channel/create-user-notification-channel-request.dto.d.ts.map +1 -1
- package/dist/user-notification-channel/create-user-notification-channel-request.schema.d.ts.map +1 -1
- package/dist/user-notification-channel/create-user-notification-channel-request.schema.js +2 -6
- package/dist/user-notification-channel/update-user-notification-channel-request.dto.d.ts +2 -3
- package/dist/user-notification-channel/update-user-notification-channel-request.dto.d.ts.map +1 -1
- package/dist/user-notification-channel/update-user-notification-channel-request.schema.d.ts.map +1 -1
- package/dist/user-notification-channel/update-user-notification-channel-request.schema.js +2 -6
- package/dist/user-notification-channel/user-notification-channel-response.dto.d.ts +6 -4
- package/dist/user-notification-channel/user-notification-channel-response.dto.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/user-notification-channel/create-user-notification-channel-request.dto.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notification-channel-request.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/create-user-notification-channel-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"create-user-notification-channel-request.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/create-user-notification-channel-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
package/dist/user-notification-channel/create-user-notification-channel-request.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-notification-channel-request.schema.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/create-user-notification-channel-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uCAAuC,EAAE,MAAM,mDAAmD,CAAC;AAE5G,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,
|
|
1
|
+
{"version":3,"file":"create-user-notification-channel-request.schema.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/create-user-notification-channel-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uCAAuC,EAAE,MAAM,mDAAmD,CAAC;AAE5G,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAI/F,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const CreateUserNotificationChannelSchema = z.object({
|
|
3
|
-
value: z
|
|
4
|
-
|
|
5
|
-
.length(11, "O valor deve ter exatamente 11 dígitos")
|
|
6
|
-
.regex(/^\d+$/, "O valor deve conter apenas números"),
|
|
7
|
-
notifyBeforeMinutes: z.coerce.number().int().positive(),
|
|
8
|
-
active: z.coerce.boolean(),
|
|
3
|
+
value: z.string(),
|
|
4
|
+
enabled: z.coerce.boolean(),
|
|
9
5
|
});
|
package/dist/user-notification-channel/update-user-notification-channel-request.dto.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-notification-channel-request.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/update-user-notification-channel-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uCAAuC;IACtD,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"update-user-notification-channel-request.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/update-user-notification-channel-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uCAAuC;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
package/dist/user-notification-channel/update-user-notification-channel-request.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-notification-channel-request.schema.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/update-user-notification-channel-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uCAAuC,EAAE,MAAM,mDAAmD,CAAC;AAE5G,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,
|
|
1
|
+
{"version":3,"file":"update-user-notification-channel-request.schema.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/update-user-notification-channel-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uCAAuC,EAAE,MAAM,mDAAmD,CAAC;AAE5G,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAI/F,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const UpdateUserNotificationChannelSchema = z.object({
|
|
3
|
-
value: z
|
|
4
|
-
|
|
5
|
-
.length(11, "O valor deve ter exatamente 11 dígitos")
|
|
6
|
-
.regex(/^\d+$/, "O valor deve conter apenas números"),
|
|
7
|
-
notifyBeforeMinutes: z.coerce.number().int().positive(),
|
|
8
|
-
active: z.coerce.boolean(),
|
|
3
|
+
value: z.string().optional(),
|
|
4
|
+
enabled: z.coerce.boolean().optional(),
|
|
9
5
|
});
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { NotificationChannelType } from "../notification-channel-type/notification-channel-type.enum.js";
|
|
1
2
|
export interface UserNotificationChannelResponseDTO {
|
|
2
|
-
|
|
3
|
-
value: string;
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
type: NotificationChannelType;
|
|
4
|
+
value: string | null;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
verifiedAt: Date | null;
|
|
7
|
+
exists: boolean;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=user-notification-channel-response.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-notification-channel-response.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/user-notification-channel-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,
|
|
1
|
+
{"version":3,"file":"user-notification-channel-response.dto.d.ts","sourceRoot":"","sources":["../../src/user-notification-channel/user-notification-channel-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AAEzG,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,uBAAuB,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB"}
|