expo-backend-types 0.24.0-EXPO-251-EB-Whatsapp.1 → 0.24.0-EXPO-288-EB-Imagenes.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/dist/src/i18n/es.d.ts +24 -51
  2. package/dist/src/i18n/es.js +24 -51
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/image/dto/delete-image.dto.d.ts +18 -0
  5. package/dist/src/image/dto/delete-image.dto.js +12 -0
  6. package/dist/src/image/dto/image.dto.d.ts +24 -0
  7. package/dist/src/image/dto/image.dto.js +18 -0
  8. package/dist/src/image/dto/update-image.dto.d.ts +18 -0
  9. package/dist/src/image/dto/update-image.dto.js +15 -0
  10. package/dist/src/image/exports.d.ts +3 -0
  11. package/dist/src/image/exports.js +20 -0
  12. package/dist/src/location/dto/arg-city.dto.d.ts +2 -2
  13. package/dist/src/message/dto/message.dto.d.ts +16 -46
  14. package/dist/src/message/dto/message.dto.js +1 -1
  15. package/dist/src/message/exports.d.ts +0 -9
  16. package/dist/src/message/exports.js +0 -9
  17. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +36 -36
  18. package/dist/types/prisma-schema/default.d.ts +1 -1
  19. package/dist/types/prisma-schema/edge.d.ts +1 -1
  20. package/dist/types/prisma-schema/edge.js +11 -7
  21. package/dist/types/prisma-schema/index-browser.js +7 -4
  22. package/dist/types/prisma-schema/index.d.ts +803 -1034
  23. package/dist/types/prisma-schema/index.js +11 -7
  24. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  25. package/dist/types/prisma-schema/package.json +14 -1
  26. package/dist/types/prisma-schema/runtime/edge-esm.js +21 -18
  27. package/dist/types/prisma-schema/runtime/edge.js +21 -18
  28. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  29. package/dist/types/prisma-schema/runtime/library.d.ts +297 -87
  30. package/dist/types/prisma-schema/runtime/library.js +64 -61
  31. package/dist/types/prisma-schema/runtime/react-native.js +31 -28
  32. package/dist/types/prisma-schema/runtime/wasm.js +22 -19
  33. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  34. package/dist/types/prisma-schema/wasm.js +7 -4
  35. package/dist/types/schema.d.ts +47 -326
  36. package/package.json +5 -3
  37. package/dist/src/message/dto/create-template.dto.d.ts +0 -93
  38. package/dist/src/message/dto/create-template.dto.js +0 -24
  39. package/dist/src/message/dto/delete-template.dto.d.ts +0 -18
  40. package/dist/src/message/dto/delete-template.dto.js +0 -15
  41. package/dist/src/message/dto/find-messages-by-phone.dto.d.ts +0 -316
  42. package/dist/src/message/dto/find-messages-by-phone.dto.js +0 -24
  43. package/dist/src/message/dto/find-template-by-id.dto.d.ts +0 -245
  44. package/dist/src/message/dto/find-template-by-id.dto.js +0 -23
  45. package/dist/src/message/dto/find-templates.dto.d.ts +0 -109
  46. package/dist/src/message/dto/find-templates.dto.js +0 -20
  47. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +0 -40
  48. package/dist/src/message/dto/send-message-to-phone.dto.js +0 -23
  49. package/dist/src/message/dto/send-template-to-tags.dto.d.ts +0 -40
  50. package/dist/src/message/dto/send-template-to-tags.dto.js +0 -23
  51. package/dist/src/message/dto/template.dto.d.ts +0 -154
  52. package/dist/src/message/dto/template.dto.js +0 -63
  53. package/dist/src/message/dto/update-template.dto.d.ts +0 -88
  54. package/dist/src/message/dto/update-template.dto.js +0 -23
@@ -1,245 +0,0 @@
1
- import z from 'zod';
2
- export declare const findTemplateByIdResponseSchema: z.ZodObject<{
3
- template: z.ZodObject<Pick<{
4
- name: z.ZodEffects<z.ZodString, string, string>;
5
- content: z.ZodString;
6
- buttons: z.ZodArray<z.ZodString, "many">;
7
- id: z.ZodString;
8
- language: z.ZodString;
9
- components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10
- type: z.ZodLiteral<"BODY">;
11
- text: z.ZodString;
12
- }, "strip", z.ZodTypeAny, {
13
- type: "BODY";
14
- text: string;
15
- }, {
16
- type: "BODY";
17
- text: string;
18
- }>, z.ZodObject<{
19
- type: z.ZodLiteral<"BUTTONS">;
20
- buttons: z.ZodArray<z.ZodObject<{
21
- text: z.ZodString;
22
- type: z.ZodLiteral<"QUICK_REPLY">;
23
- }, "strip", z.ZodTypeAny, {
24
- type: "QUICK_REPLY";
25
- text: string;
26
- }, {
27
- type: "QUICK_REPLY";
28
- text: string;
29
- }>, "many">;
30
- }, "strip", z.ZodTypeAny, {
31
- type: "BUTTONS";
32
- buttons: {
33
- type: "QUICK_REPLY";
34
- text: string;
35
- }[];
36
- }, {
37
- type: "BUTTONS";
38
- buttons: {
39
- type: "QUICK_REPLY";
40
- text: string;
41
- }[];
42
- }>]>, "many">;
43
- allow_category_change: z.ZodBoolean;
44
- category: z.ZodNativeEnum<{
45
- MARKETING: "MARKETING";
46
- UTILITY: "UTILITY";
47
- AUTHENTICATION: "AUTHENTICATION";
48
- }>;
49
- status: z.ZodNativeEnum<{
50
- APRROVED: "APRROVED";
51
- PENDING: "PENDING";
52
- REJECTED: "REJECTED";
53
- }>;
54
- }, "id" | "name" | "status" | "language" | "components" | "category">, "strip", z.ZodTypeAny, {
55
- id: string;
56
- name: string;
57
- status: "APRROVED" | "PENDING" | "REJECTED";
58
- language: string;
59
- components: ({
60
- type: "BUTTONS";
61
- buttons: {
62
- type: "QUICK_REPLY";
63
- text: string;
64
- }[];
65
- } | {
66
- type: "BODY";
67
- text: string;
68
- })[];
69
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
70
- }, {
71
- id: string;
72
- name: string;
73
- status: "APRROVED" | "PENDING" | "REJECTED";
74
- language: string;
75
- components: ({
76
- type: "BUTTONS";
77
- buttons: {
78
- type: "QUICK_REPLY";
79
- text: string;
80
- }[];
81
- } | {
82
- type: "BODY";
83
- text: string;
84
- })[];
85
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
86
- }>;
87
- }, "strip", z.ZodTypeAny, {
88
- template: {
89
- id: string;
90
- name: string;
91
- status: "APRROVED" | "PENDING" | "REJECTED";
92
- language: string;
93
- components: ({
94
- type: "BUTTONS";
95
- buttons: {
96
- type: "QUICK_REPLY";
97
- text: string;
98
- }[];
99
- } | {
100
- type: "BODY";
101
- text: string;
102
- })[];
103
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
104
- };
105
- }, {
106
- template: {
107
- id: string;
108
- name: string;
109
- status: "APRROVED" | "PENDING" | "REJECTED";
110
- language: string;
111
- components: ({
112
- type: "BUTTONS";
113
- buttons: {
114
- type: "QUICK_REPLY";
115
- text: string;
116
- }[];
117
- } | {
118
- type: "BODY";
119
- text: string;
120
- })[];
121
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
122
- };
123
- }>;
124
- declare const FindTemplateByIdResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
125
- template: z.ZodObject<{
126
- id: z.ZodString;
127
- name: z.ZodEffects<z.ZodString, string, string>;
128
- status: z.ZodNativeEnum<{
129
- APRROVED: "APRROVED";
130
- PENDING: "PENDING";
131
- REJECTED: "REJECTED";
132
- }>;
133
- language: z.ZodString;
134
- components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
135
- type: z.ZodLiteral<"BODY">;
136
- text: z.ZodString;
137
- }, "strip", z.ZodTypeAny, {
138
- type: "BODY";
139
- text: string;
140
- }, {
141
- type: "BODY";
142
- text: string;
143
- }>, z.ZodObject<{
144
- type: z.ZodLiteral<"BUTTONS">;
145
- buttons: z.ZodArray<z.ZodObject<{
146
- text: z.ZodString;
147
- type: z.ZodLiteral<"QUICK_REPLY">;
148
- }, "strip", z.ZodTypeAny, {
149
- type: "QUICK_REPLY";
150
- text: string;
151
- }, {
152
- type: "QUICK_REPLY";
153
- text: string;
154
- }>, "many">;
155
- }, "strip", z.ZodTypeAny, {
156
- type: "BUTTONS";
157
- buttons: {
158
- type: "QUICK_REPLY";
159
- text: string;
160
- }[];
161
- }, {
162
- type: "BUTTONS";
163
- buttons: {
164
- type: "QUICK_REPLY";
165
- text: string;
166
- }[];
167
- }>]>, "many">;
168
- category: z.ZodNativeEnum<{
169
- MARKETING: "MARKETING";
170
- UTILITY: "UTILITY";
171
- AUTHENTICATION: "AUTHENTICATION";
172
- }>;
173
- }, z.UnknownKeysParam, z.ZodTypeAny, {
174
- id: string;
175
- name: string;
176
- status: "APRROVED" | "PENDING" | "REJECTED";
177
- language: string;
178
- components: ({
179
- type: "BUTTONS";
180
- buttons: {
181
- type: "QUICK_REPLY";
182
- text: string;
183
- }[];
184
- } | {
185
- type: "BODY";
186
- text: string;
187
- })[];
188
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
189
- }, {
190
- id: string;
191
- name: string;
192
- status: "APRROVED" | "PENDING" | "REJECTED";
193
- language: string;
194
- components: ({
195
- type: "BUTTONS";
196
- buttons: {
197
- type: "QUICK_REPLY";
198
- text: string;
199
- }[];
200
- } | {
201
- type: "BODY";
202
- text: string;
203
- })[];
204
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
205
- }>;
206
- }, z.UnknownKeysParam, z.ZodTypeAny, {
207
- template: {
208
- id: string;
209
- name: string;
210
- status: "APRROVED" | "PENDING" | "REJECTED";
211
- language: string;
212
- components: ({
213
- type: "BUTTONS";
214
- buttons: {
215
- type: "QUICK_REPLY";
216
- text: string;
217
- }[];
218
- } | {
219
- type: "BODY";
220
- text: string;
221
- })[];
222
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
223
- };
224
- }, {
225
- template: {
226
- id: string;
227
- name: string;
228
- status: "APRROVED" | "PENDING" | "REJECTED";
229
- language: string;
230
- components: ({
231
- type: "BUTTONS";
232
- buttons: {
233
- type: "QUICK_REPLY";
234
- text: string;
235
- }[];
236
- } | {
237
- type: "BODY";
238
- text: string;
239
- })[];
240
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
241
- };
242
- }>>;
243
- export declare class FindTemplateByIdResponseDto extends FindTemplateByIdResponseDto_base {
244
- }
245
- export {};
@@ -1,23 +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.FindTemplateByIdResponseDto = exports.findTemplateByIdResponseSchema = void 0;
7
- const template_dto_1 = require("./template.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const zod_1 = __importDefault(require("zod"));
10
- exports.findTemplateByIdResponseSchema = zod_1.default.object({
11
- template: template_dto_1.templateSchema.pick({
12
- name: true,
13
- language: true,
14
- status: true,
15
- id: true,
16
- category: true,
17
- components: true,
18
- }),
19
- });
20
- class FindTemplateByIdResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findTemplateByIdResponseSchema) {
21
- }
22
- exports.FindTemplateByIdResponseDto = FindTemplateByIdResponseDto;
23
- //# sourceMappingURL=find-template-by-id.dto.js.map
@@ -1,109 +0,0 @@
1
- import z from 'zod';
2
- export declare const findTemplatesResponseSchema: z.ZodObject<{
3
- templates: z.ZodArray<z.ZodObject<Pick<{
4
- name: z.ZodEffects<z.ZodString, string, string>;
5
- content: z.ZodString;
6
- buttons: z.ZodArray<z.ZodString, "many">;
7
- id: z.ZodString;
8
- language: z.ZodString;
9
- components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10
- type: z.ZodLiteral<"BODY">;
11
- text: z.ZodString;
12
- }, "strip", z.ZodTypeAny, {
13
- type: "BODY";
14
- text: string;
15
- }, {
16
- type: "BODY";
17
- text: string;
18
- }>, z.ZodObject<{
19
- type: z.ZodLiteral<"BUTTONS">;
20
- buttons: z.ZodArray<z.ZodObject<{
21
- text: z.ZodString;
22
- type: z.ZodLiteral<"QUICK_REPLY">;
23
- }, "strip", z.ZodTypeAny, {
24
- type: "QUICK_REPLY";
25
- text: string;
26
- }, {
27
- type: "QUICK_REPLY";
28
- text: string;
29
- }>, "many">;
30
- }, "strip", z.ZodTypeAny, {
31
- type: "BUTTONS";
32
- buttons: {
33
- type: "QUICK_REPLY";
34
- text: string;
35
- }[];
36
- }, {
37
- type: "BUTTONS";
38
- buttons: {
39
- type: "QUICK_REPLY";
40
- text: string;
41
- }[];
42
- }>]>, "many">;
43
- allow_category_change: z.ZodBoolean;
44
- category: z.ZodNativeEnum<{
45
- MARKETING: "MARKETING";
46
- UTILITY: "UTILITY";
47
- AUTHENTICATION: "AUTHENTICATION";
48
- }>;
49
- status: z.ZodNativeEnum<{
50
- APRROVED: "APRROVED";
51
- PENDING: "PENDING";
52
- REJECTED: "REJECTED";
53
- }>;
54
- }, "id" | "name" | "status">, "strip", z.ZodTypeAny, {
55
- id: string;
56
- name: string;
57
- status: "APRROVED" | "PENDING" | "REJECTED";
58
- }, {
59
- id: string;
60
- name: string;
61
- status: "APRROVED" | "PENDING" | "REJECTED";
62
- }>, "many">;
63
- }, "strip", z.ZodTypeAny, {
64
- templates: {
65
- id: string;
66
- name: string;
67
- status: "APRROVED" | "PENDING" | "REJECTED";
68
- }[];
69
- }, {
70
- templates: {
71
- id: string;
72
- name: string;
73
- status: "APRROVED" | "PENDING" | "REJECTED";
74
- }[];
75
- }>;
76
- declare const FindTemplatesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
77
- templates: z.ZodArray<z.ZodObject<{
78
- id: z.ZodString;
79
- name: z.ZodEffects<z.ZodString, string, string>;
80
- status: z.ZodNativeEnum<{
81
- APRROVED: "APRROVED";
82
- PENDING: "PENDING";
83
- REJECTED: "REJECTED";
84
- }>;
85
- }, z.UnknownKeysParam, z.ZodTypeAny, {
86
- id: string;
87
- name: string;
88
- status: "APRROVED" | "PENDING" | "REJECTED";
89
- }, {
90
- id: string;
91
- name: string;
92
- status: "APRROVED" | "PENDING" | "REJECTED";
93
- }>, "many">;
94
- }, z.UnknownKeysParam, z.ZodTypeAny, {
95
- templates: {
96
- id: string;
97
- name: string;
98
- status: "APRROVED" | "PENDING" | "REJECTED";
99
- }[];
100
- }, {
101
- templates: {
102
- id: string;
103
- name: string;
104
- status: "APRROVED" | "PENDING" | "REJECTED";
105
- }[];
106
- }>>;
107
- export declare class FindTemplatesResponseDto extends FindTemplatesResponseDto_base {
108
- }
109
- export {};
@@ -1,20 +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.FindTemplatesResponseDto = exports.findTemplatesResponseSchema = void 0;
7
- const template_dto_1 = require("./template.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const zod_1 = __importDefault(require("zod"));
10
- exports.findTemplatesResponseSchema = zod_1.default.object({
11
- templates: zod_1.default.array(template_dto_1.templateSchema.pick({
12
- name: true,
13
- id: true,
14
- status: true,
15
- })),
16
- });
17
- class FindTemplatesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findTemplatesResponseSchema) {
18
- }
19
- exports.FindTemplatesResponseDto = FindTemplatesResponseDto;
20
- //# sourceMappingURL=find-templates.dto.js.map
@@ -1,40 +0,0 @@
1
- import z from 'zod';
2
- export declare const sendMessageToPhoneSchema: z.ZodObject<{
3
- phone: z.ZodEffects<z.ZodString, string, string>;
4
- message: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- message: string;
7
- phone: string;
8
- }, {
9
- message: string;
10
- phone: string;
11
- }>;
12
- declare const SendMessageToPhoneDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
- phone: z.ZodEffects<z.ZodString, string, string>;
14
- message: z.ZodString;
15
- }, z.UnknownKeysParam, z.ZodTypeAny, {
16
- message: string;
17
- phone: string;
18
- }, {
19
- message: string;
20
- phone: string;
21
- }>>;
22
- export declare class SendMessageToPhoneDto extends SendMessageToPhoneDto_base {
23
- }
24
- export declare const sendMessageToPhoneResponseSchema: z.ZodObject<{
25
- success: z.ZodBoolean;
26
- }, "strip", z.ZodTypeAny, {
27
- success: boolean;
28
- }, {
29
- success: boolean;
30
- }>;
31
- declare const SendMessageToPhoneResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
32
- success: z.ZodBoolean;
33
- }, z.UnknownKeysParam, z.ZodTypeAny, {
34
- success: boolean;
35
- }, {
36
- success: boolean;
37
- }>>;
38
- export declare class SendMessageToPhoneResponseDto extends SendMessageToPhoneResponseDto_base {
39
- }
40
- export {};
@@ -1,23 +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.SendMessageToPhoneResponseDto = exports.sendMessageToPhoneResponseSchema = exports.SendMessageToPhoneDto = exports.sendMessageToPhoneSchema = void 0;
7
- const profile_dto_1 = require("../../profile/dto/profile.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const zod_1 = __importDefault(require("zod"));
10
- exports.sendMessageToPhoneSchema = zod_1.default.object({
11
- phone: profile_dto_1.profileSchema.shape.phoneNumber,
12
- message: zod_1.default.string(),
13
- });
14
- class SendMessageToPhoneDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendMessageToPhoneSchema) {
15
- }
16
- exports.SendMessageToPhoneDto = SendMessageToPhoneDto;
17
- exports.sendMessageToPhoneResponseSchema = zod_1.default.object({
18
- success: zod_1.default.boolean(),
19
- });
20
- class SendMessageToPhoneResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendMessageToPhoneResponseSchema) {
21
- }
22
- exports.SendMessageToPhoneResponseDto = SendMessageToPhoneResponseDto;
23
- //# sourceMappingURL=send-message-to-phone.dto.js.map
@@ -1,40 +0,0 @@
1
- import z from 'zod';
2
- export declare const sendTemplateToTagsSchema: z.ZodObject<{
3
- tags: z.ZodArray<z.ZodString, "many">;
4
- templateName: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- templateName: string;
7
- tags: string[];
8
- }, {
9
- templateName: string;
10
- tags: string[];
11
- }>;
12
- declare const SendTemplateToTagsDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
- tags: z.ZodArray<z.ZodString, "many">;
14
- templateName: z.ZodString;
15
- }, z.UnknownKeysParam, z.ZodTypeAny, {
16
- templateName: string;
17
- tags: string[];
18
- }, {
19
- templateName: string;
20
- tags: string[];
21
- }>>;
22
- export declare class SendTemplateToTagsDto extends SendTemplateToTagsDto_base {
23
- }
24
- export declare const sendTemplateToTagsResponseSchema: z.ZodObject<{
25
- success: z.ZodBoolean;
26
- }, "strip", z.ZodTypeAny, {
27
- success: boolean;
28
- }, {
29
- success: boolean;
30
- }>;
31
- declare const SendTemplateToTagsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
32
- success: z.ZodBoolean;
33
- }, z.UnknownKeysParam, z.ZodTypeAny, {
34
- success: boolean;
35
- }, {
36
- success: boolean;
37
- }>>;
38
- export declare class SendTemplateToTagsResponseDto extends SendTemplateToTagsResponseDto_base {
39
- }
40
- export {};
@@ -1,23 +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.SendTemplateToTagsResponseDto = exports.sendTemplateToTagsResponseSchema = exports.SendTemplateToTagsDto = exports.sendTemplateToTagsSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const tag_dto_1 = require("../../tag/dto/tag.dto");
9
- const zod_1 = __importDefault(require("zod"));
10
- exports.sendTemplateToTagsSchema = zod_1.default.object({
11
- tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
12
- templateName: zod_1.default.string(),
13
- });
14
- class SendTemplateToTagsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendTemplateToTagsSchema) {
15
- }
16
- exports.SendTemplateToTagsDto = SendTemplateToTagsDto;
17
- exports.sendTemplateToTagsResponseSchema = zod_1.default.object({
18
- success: zod_1.default.boolean(),
19
- });
20
- class SendTemplateToTagsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendTemplateToTagsResponseSchema) {
21
- }
22
- exports.SendTemplateToTagsResponseDto = SendTemplateToTagsResponseDto;
23
- //# sourceMappingURL=send-template-to-tags.dto.js.map
@@ -1,154 +0,0 @@
1
- import z from 'zod';
2
- declare const buttonsSchema: z.ZodObject<{
3
- type: z.ZodLiteral<"BUTTONS">;
4
- buttons: z.ZodArray<z.ZodObject<{
5
- text: z.ZodString;
6
- type: z.ZodLiteral<"QUICK_REPLY">;
7
- }, "strip", z.ZodTypeAny, {
8
- type: "QUICK_REPLY";
9
- text: string;
10
- }, {
11
- type: "QUICK_REPLY";
12
- text: string;
13
- }>, "many">;
14
- }, "strip", z.ZodTypeAny, {
15
- type: "BUTTONS";
16
- buttons: {
17
- type: "QUICK_REPLY";
18
- text: string;
19
- }[];
20
- }, {
21
- type: "BUTTONS";
22
- buttons: {
23
- type: "QUICK_REPLY";
24
- text: string;
25
- }[];
26
- }>;
27
- declare const componentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
28
- type: z.ZodLiteral<"BODY">;
29
- text: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- type: "BODY";
32
- text: string;
33
- }, {
34
- type: "BODY";
35
- text: string;
36
- }>, z.ZodObject<{
37
- type: z.ZodLiteral<"BUTTONS">;
38
- buttons: z.ZodArray<z.ZodObject<{
39
- text: z.ZodString;
40
- type: z.ZodLiteral<"QUICK_REPLY">;
41
- }, "strip", z.ZodTypeAny, {
42
- type: "QUICK_REPLY";
43
- text: string;
44
- }, {
45
- type: "QUICK_REPLY";
46
- text: string;
47
- }>, "many">;
48
- }, "strip", z.ZodTypeAny, {
49
- type: "BUTTONS";
50
- buttons: {
51
- type: "QUICK_REPLY";
52
- text: string;
53
- }[];
54
- }, {
55
- type: "BUTTONS";
56
- buttons: {
57
- type: "QUICK_REPLY";
58
- text: string;
59
- }[];
60
- }>]>;
61
- export declare const templateSchema: z.ZodObject<{
62
- name: z.ZodEffects<z.ZodString, string, string>;
63
- content: z.ZodString;
64
- buttons: z.ZodArray<z.ZodString, "many">;
65
- id: z.ZodString;
66
- language: z.ZodString;
67
- components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
68
- type: z.ZodLiteral<"BODY">;
69
- text: z.ZodString;
70
- }, "strip", z.ZodTypeAny, {
71
- type: "BODY";
72
- text: string;
73
- }, {
74
- type: "BODY";
75
- text: string;
76
- }>, z.ZodObject<{
77
- type: z.ZodLiteral<"BUTTONS">;
78
- buttons: z.ZodArray<z.ZodObject<{
79
- text: z.ZodString;
80
- type: z.ZodLiteral<"QUICK_REPLY">;
81
- }, "strip", z.ZodTypeAny, {
82
- type: "QUICK_REPLY";
83
- text: string;
84
- }, {
85
- type: "QUICK_REPLY";
86
- text: string;
87
- }>, "many">;
88
- }, "strip", z.ZodTypeAny, {
89
- type: "BUTTONS";
90
- buttons: {
91
- type: "QUICK_REPLY";
92
- text: string;
93
- }[];
94
- }, {
95
- type: "BUTTONS";
96
- buttons: {
97
- type: "QUICK_REPLY";
98
- text: string;
99
- }[];
100
- }>]>, "many">;
101
- allow_category_change: z.ZodBoolean;
102
- category: z.ZodNativeEnum<{
103
- MARKETING: "MARKETING";
104
- UTILITY: "UTILITY";
105
- AUTHENTICATION: "AUTHENTICATION";
106
- }>;
107
- status: z.ZodNativeEnum<{
108
- APRROVED: "APRROVED";
109
- PENDING: "PENDING";
110
- REJECTED: "REJECTED";
111
- }>;
112
- }, "strip", z.ZodTypeAny, {
113
- id: string;
114
- name: string;
115
- content: string;
116
- buttons: string[];
117
- status: "APRROVED" | "PENDING" | "REJECTED";
118
- language: string;
119
- components: ({
120
- type: "BUTTONS";
121
- buttons: {
122
- type: "QUICK_REPLY";
123
- text: string;
124
- }[];
125
- } | {
126
- type: "BODY";
127
- text: string;
128
- })[];
129
- allow_category_change: boolean;
130
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
131
- }, {
132
- id: string;
133
- name: string;
134
- content: string;
135
- buttons: string[];
136
- status: "APRROVED" | "PENDING" | "REJECTED";
137
- language: string;
138
- components: ({
139
- type: "BUTTONS";
140
- buttons: {
141
- type: "QUICK_REPLY";
142
- text: string;
143
- }[];
144
- } | {
145
- type: "BODY";
146
- text: string;
147
- })[];
148
- allow_category_change: boolean;
149
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
150
- }>;
151
- export type Buttons = z.infer<typeof buttonsSchema>;
152
- export type TemplateType = z.infer<typeof templateSchema>;
153
- export type Components = z.infer<typeof componentSchema>;
154
- export {};