expo-backend-types 0.24.0-EXPO-288-EB-Imagenes.1 → 0.25.0-EXPO-251-EB-Whatsapp.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/i18n/es.d.ts +78 -24
- package/dist/src/i18n/es.js +78 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/arg-city.dto.d.ts +2 -2
- package/dist/src/message/dto/create-template.dto.d.ts +93 -0
- package/dist/src/message/dto/create-template.dto.js +24 -0
- package/dist/src/message/dto/delete-template.dto.d.ts +18 -0
- package/dist/src/message/dto/delete-template.dto.js +15 -0
- package/dist/src/message/dto/find-messages-by-phone.dto.d.ts +316 -0
- package/dist/src/message/dto/find-messages-by-phone.dto.js +24 -0
- package/dist/src/message/dto/find-template-by-id.dto.d.ts +245 -0
- package/dist/src/message/dto/find-template-by-id.dto.js +23 -0
- package/dist/src/message/dto/find-templates.dto.d.ts +109 -0
- package/dist/src/message/dto/find-templates.dto.js +20 -0
- package/dist/src/message/dto/get-last-message-timestamp.dto.d.ts +18 -0
- package/dist/src/message/dto/get-last-message-timestamp.dto.js +15 -0
- package/dist/src/message/dto/message.dto.d.ts +46 -16
- package/dist/src/message/dto/message.dto.js +1 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +76 -0
- package/dist/src/message/dto/non-read-messages.dto.js +21 -0
- package/dist/src/message/dto/read-messages.dto.d.ts +18 -0
- package/dist/src/message/dto/read-messages.dto.js +15 -0
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +40 -0
- package/dist/src/message/dto/send-message-to-phone.dto.js +23 -0
- package/dist/src/message/dto/send-template-to-tags.dto.d.ts +40 -0
- package/dist/src/message/dto/send-template-to-tags.dto.js +23 -0
- package/dist/src/message/dto/template.dto.d.ts +154 -0
- package/dist/src/message/dto/template.dto.js +63 -0
- package/dist/src/message/dto/update-template.dto.d.ts +88 -0
- package/dist/src/message/dto/update-template.dto.js +23 -0
- package/dist/src/message/exports.d.ts +9 -0
- package/dist/src/message/exports.js +9 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
- package/dist/src/webhook/dto/webhook.dto.d.ts +86 -0
- package/dist/src/webhook/dto/webhook.dto.js +3 -0
- package/dist/types/prisma-schema/default.d.ts +1 -1
- package/dist/types/prisma-schema/edge.d.ts +1 -1
- package/dist/types/prisma-schema/edge.js +7 -11
- package/dist/types/prisma-schema/index-browser.js +4 -7
- package/dist/types/prisma-schema/index.d.ts +1036 -805
- package/dist/types/prisma-schema/index.js +7 -11
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +1 -14
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
- package/dist/types/prisma-schema/runtime/edge.js +18 -21
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
- package/dist/types/prisma-schema/runtime/library.js +61 -64
- package/dist/types/prisma-schema/runtime/react-native.js +28 -31
- package/dist/types/prisma-schema/runtime/wasm.js +19 -22
- package/dist/types/prisma-schema/wasm.d.ts +1 -1
- package/dist/types/prisma-schema/wasm.js +4 -7
- package/dist/types/schema.d.ts +524 -44
- package/package.json +4 -5
- package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
- package/dist/src/image/dto/delete-image.dto.js +0 -12
- package/dist/src/image/dto/image.dto.d.ts +0 -24
- package/dist/src/image/dto/image.dto.js +0 -18
- package/dist/src/image/dto/update-image.dto.d.ts +0 -18
- package/dist/src/image/dto/update-image.dto.js +0 -15
- package/dist/src/image/exports.d.ts +0 -3
- package/dist/src/image/exports.js +0 -20
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.25.0-EXPO-251-EB-Whatsapp.1",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -44,8 +44,9 @@
|
|
44
44
|
"@nestjs/jwt": "^10.2.0",
|
45
45
|
"@nestjs/platform-express": "^10.0.0",
|
46
46
|
"@nestjs/swagger": "^7.3.1",
|
47
|
-
"@prisma/client": "^5.
|
47
|
+
"@prisma/client": "^5.14.0",
|
48
48
|
"bcrypt": "^5.1.1",
|
49
|
+
"body-parser": "^1.20.3",
|
49
50
|
"class-transformer": "^0.5.1",
|
50
51
|
"class-validator": "^0.14.1",
|
51
52
|
"country-state-city": "^3.2.1",
|
@@ -54,7 +55,6 @@
|
|
54
55
|
"fast-csv": "^5.0.2",
|
55
56
|
"i18n-js": "^4.4.3",
|
56
57
|
"json-to-pretty-yaml": "^1.2.2",
|
57
|
-
"multer": "^1.4.5-lts.1",
|
58
58
|
"jszip": "^3.10.1",
|
59
59
|
"openapi3-ts": "^4.4.0",
|
60
60
|
"patch-package": "^8.0.0",
|
@@ -74,7 +74,6 @@
|
|
74
74
|
"@types/jest": "^29.5.2",
|
75
75
|
"@types/json-to-pretty-yaml": "^1.2.1",
|
76
76
|
"@types/luxon": "^3.4.2",
|
77
|
-
"@types/multer": "^1.4.12",
|
78
77
|
"@types/node": "^20.3.1",
|
79
78
|
"@types/supertest": "^6.0.0",
|
80
79
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
@@ -90,7 +89,7 @@
|
|
90
89
|
"luxon": "^3.5.0",
|
91
90
|
"openapi-typescript": "^7.0.0-rc.0",
|
92
91
|
"prettier": "^3.0.0",
|
93
|
-
"prisma": "^5.
|
92
|
+
"prisma": "^5.14.0",
|
94
93
|
"source-map-support": "^0.5.21",
|
95
94
|
"supertest": "^6.3.3",
|
96
95
|
"ts-jest": "^29.1.0",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const deleteImageResponseSchema: z.ZodObject<{
|
3
|
-
message: z.ZodString;
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
5
|
-
message: string;
|
6
|
-
}, {
|
7
|
-
message: string;
|
8
|
-
}>;
|
9
|
-
declare const DeleteImageResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
message: z.ZodString;
|
11
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
-
message: string;
|
13
|
-
}, {
|
14
|
-
message: string;
|
15
|
-
}>>;
|
16
|
-
export declare class DeleteImageResponseDto extends DeleteImageResponseDto_base {
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeleteImageResponseDto = exports.deleteImageResponseSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
-
const zod_1 = require("zod");
|
6
|
-
exports.deleteImageResponseSchema = zod_1.z.object({
|
7
|
-
message: zod_1.z.string(),
|
8
|
-
});
|
9
|
-
class DeleteImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteImageResponseSchema) {
|
10
|
-
}
|
11
|
-
exports.DeleteImageResponseDto = DeleteImageResponseDto;
|
12
|
-
//# sourceMappingURL=delete-image.dto.js.map
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const imageSchema: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
url: z.ZodString;
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
6
|
-
id: string;
|
7
|
-
url: string;
|
8
|
-
}, {
|
9
|
-
id: string;
|
10
|
-
url: string;
|
11
|
-
}>;
|
12
|
-
declare const ImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
-
id: z.ZodString;
|
14
|
-
url: z.ZodString;
|
15
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
|
-
id: string;
|
17
|
-
url: string;
|
18
|
-
}, {
|
19
|
-
id: string;
|
20
|
-
url: string;
|
21
|
-
}>>;
|
22
|
-
export declare class ImageDto extends ImageDto_base {
|
23
|
-
}
|
24
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ImageDto = exports.imageSchema = void 0;
|
4
|
-
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
const zod_1 = require("zod");
|
7
|
-
exports.imageSchema = zod_1.z.object({
|
8
|
-
id: zod_1.z.string().uuid({
|
9
|
-
message: (0, translate_1.translate)('model.image.id.uuid'),
|
10
|
-
}),
|
11
|
-
url: zod_1.z.string().url({
|
12
|
-
message: (0, translate_1.translate)('model.image.url.url'),
|
13
|
-
}),
|
14
|
-
});
|
15
|
-
class ImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.imageSchema) {
|
16
|
-
}
|
17
|
-
exports.ImageDto = ImageDto;
|
18
|
-
//# sourceMappingURL=image.dto.js.map
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const updateImageResponseSchema: z.ZodObject<{
|
3
|
-
message: z.ZodString;
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
5
|
-
message: string;
|
6
|
-
}, {
|
7
|
-
message: string;
|
8
|
-
}>;
|
9
|
-
declare const UpdateImageResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
message: z.ZodString;
|
11
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
-
message: string;
|
13
|
-
}, {
|
14
|
-
message: string;
|
15
|
-
}>>;
|
16
|
-
export declare class UpdateImageResponseDto extends UpdateImageResponseDto_base {
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.UpdateImageResponseDto = exports.updateImageResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
-
const zod_1 = __importDefault(require("zod"));
|
9
|
-
exports.updateImageResponseSchema = zod_1.default.object({
|
10
|
-
message: zod_1.default.string(),
|
11
|
-
});
|
12
|
-
class UpdateImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageResponseSchema) {
|
13
|
-
}
|
14
|
-
exports.UpdateImageResponseDto = UpdateImageResponseDto;
|
15
|
-
//# sourceMappingURL=update-image.dto.js.map
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/delete-image.dto"), exports);
|
18
|
-
__exportStar(require("./dto/image.dto"), exports);
|
19
|
-
__exportStar(require("./dto/update-image.dto"), exports);
|
20
|
-
//# sourceMappingURL=exports.js.map
|