@grupo-argenta/schema-kit-nest 0.0.20 → 0.0.21
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/config/naming-strategy.d.ts +6 -0
- package/config/naming-strategy.js +17 -0
- package/config/redis.constants.d.ts +1 -0
- package/config/redis.constants.js +4 -0
- package/context-logger.service.d.ts +4 -0
- package/context-logger.service.js +23 -0
- package/decorators/date-range.d.ts +4 -0
- package/decorators/date-range.js +17 -0
- package/decorators/encrypted.d.ts +10 -0
- package/decorators/encrypted.js +15 -0
- package/decorators/file-column.d.ts +17 -0
- package/decorators/file-column.js +20 -0
- package/decorators/get-user.decorator.d.ts +6 -0
- package/decorators/get-user.decorator.js +12 -0
- package/decorators/luxon.d.ts +6 -0
- package/decorators/luxon.js +20 -0
- package/decorators/multipart.decorator.d.ts +4 -0
- package/decorators/multipart.decorator.js +51 -0
- package/decorators/post-get.decorator.d.ts +10 -0
- package/decorators/post-get.decorator.js +25 -0
- package/decorators/query-or-body.decorator.d.ts +8 -0
- package/decorators/query-or-body.decorator.js +15 -0
- package/decorators/when.decorator.d.ts +8 -0
- package/decorators/when.decorator.js +16 -0
- package/html/components/badge.d.ts +13 -0
- package/html/components/badge.js +29 -0
- package/html/components/colors.d.ts +11 -0
- package/html/components/colors.js +15 -0
- package/html/components/component.d.ts +11 -0
- package/html/components/component.js +35 -0
- package/html/components/default/default-footer.d.ts +6 -0
- package/html/components/default/default-footer.js +18 -0
- package/html/components/default/default-header.d.ts +13 -0
- package/html/components/default/default-header.js +30 -0
- package/html/components/env-badge.d.ts +7 -0
- package/html/components/env-badge.js +29 -0
- package/html/components/grid.d.ts +17 -0
- package/html/components/grid.js +44 -0
- package/html/components/shell.d.ts +18 -0
- package/html/components/shell.js +423 -0
- package/html/components/table.d.ts +16 -0
- package/html/components/table.js +55 -0
- package/html/components/unordered-list.d.ts +6 -0
- package/html/components/unordered-list.js +21 -0
- package/index.d.ts +49 -0
- package/index.js +65 -0
- package/interfaces/paginated-result.d.ts +21 -0
- package/interfaces/paginated-result.js +12 -0
- package/modules/auth/access-token.d.ts +27 -0
- package/modules/auth/access-token.js +14 -0
- package/modules/auth/known-module.d.ts +45 -0
- package/modules/auth/known-module.js +46 -0
- package/modules/auth/refresh-token.d.ts +18 -0
- package/modules/auth/refresh-token.js +2 -0
- package/modules/auth/token-type.d.ts +4 -0
- package/modules/auth/token-type.js +8 -0
- package/modules/encrypted-column/encrypted-column.module.d.ts +16 -0
- package/modules/encrypted-column/encrypted-column.module.js +35 -0
- package/modules/pubsub/pubsub-dynamic-topic.service.d.ts +77 -0
- package/modules/pubsub/pubsub-dynamic-topic.service.js +324 -0
- package/modules/pubsub/pubsub-redeliver-subscriber.service.d.ts +14 -0
- package/modules/pubsub/pubsub-redeliver-subscriber.service.js +77 -0
- package/modules/pubsub/pubsub-redeliver.service.d.ts +22 -0
- package/modules/pubsub/pubsub-redeliver.service.js +48 -0
- package/modules/pubsub/pubsub.constants.d.ts +2 -0
- package/modules/pubsub/pubsub.constants.js +5 -0
- package/modules/pubsub/pubsub.methods.d.ts +18 -0
- package/modules/pubsub/pubsub.methods.js +18 -0
- package/modules/pubsub/pubsub.methods.redelivery.d.ts +3 -0
- package/modules/pubsub/pubsub.methods.redelivery.js +2 -0
- package/modules/redis/redis.module.d.ts +10 -0
- package/modules/redis/redis.module.js +59 -0
- package/modules/redis/redis.options.d.ts +7 -0
- package/modules/redis/redis.options.js +4 -0
- package/modules/storage/storage.service.d.ts +16 -0
- package/modules/storage/storage.service.js +61 -0
- package/monitoramento/http-request-log/http-request-log.controller.d.ts +184 -0
- package/monitoramento/http-request-log/http-request-log.controller.js +32 -0
- package/monitoramento/http-request-log/http-request-log.dto.d.ts +220 -0
- package/monitoramento/http-request-log/http-request-log.dto.js +42 -0
- package/monitoramento/http-request-log/http-request-log.entity.d.ts +17 -0
- package/monitoramento/http-request-log/http-request-log.entity.js +87 -0
- package/monitoramento/http-request-log/http-request-log.module.d.ts +2 -0
- package/monitoramento/http-request-log/http-request-log.module.js +26 -0
- package/monitoramento/http-request-log/http-request-log.service.d.ts +8 -0
- package/monitoramento/http-request-log/http-request-log.service.js +35 -0
- package/monitoramento/index.d.ts +17 -0
- package/monitoramento/index.js +33 -0
- package/monitoramento/migrations/1792689106394-create_http_request_logs_table.d.ts +5 -0
- package/monitoramento/migrations/1792689106394-create_http_request_logs_table.js +96 -0
- package/monitoramento/migrations/1792689106395-create_pubsub_message_logs_table.d.ts +5 -0
- package/monitoramento/migrations/1792689106395-create_pubsub_message_logs_table.js +157 -0
- package/monitoramento/monitoramento.constants.d.ts +2 -0
- package/monitoramento/monitoramento.constants.js +5 -0
- package/monitoramento/monitoramento.entities.d.ts +1 -0
- package/monitoramento/monitoramento.entities.js +7 -0
- package/monitoramento/monitoramento.module.d.ts +6 -0
- package/monitoramento/monitoramento.module.js +61 -0
- package/monitoramento/monitoramento.options.d.ts +15 -0
- package/monitoramento/monitoramento.options.js +2 -0
- package/monitoramento/outbound-request.interceptor.d.ts +14 -0
- package/monitoramento/outbound-request.interceptor.js +113 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.controller.d.ts +257 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.controller.js +34 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.dto.d.ts +320 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.dto.js +57 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.entity.d.ts +44 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.entity.js +152 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.module.d.ts +2 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.module.js +26 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.service.d.ts +20 -0
- package/monitoramento/pubsub-message-log/pubsub-message-log.service.js +99 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.controller.d.ts +9 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.controller.js +45 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.module.d.ts +11 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.module.js +41 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.options.d.ts +10 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.options.js +4 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.service.d.ts +68 -0
- package/monitoramento/pubsub-self-check/pubsub-self-check.service.js +213 -0
- package/package.json +1 -1
- package/schema/abstract.entity.d.ts +28 -0
- package/schema/abstract.entity.js +68 -0
- package/schema/schema-builder.d.ts +131 -0
- package/schema/schema-builder.js +162 -0
- package/schema/schema.controller.d.ts +51 -0
- package/schema/schema.controller.js +121 -0
- package/schema/schema.service.d.ts +81 -0
- package/schema/schema.service.js +305 -0
- package/schema/typeorm-extensions.d.ts +6 -0
- package/schema/typeorm-extensions.js +6 -0
- package/schema/zod-extensions/cnpj.validator.d.ts +28 -0
- package/schema/zod-extensions/cnpj.validator.js +133 -0
- package/schema/zod-extensions/cpf-cnpj.validator.d.ts +2 -0
- package/schema/zod-extensions/cpf-cnpj.validator.js +8 -0
- package/schema/zod-extensions/cpf.validator.d.ts +18 -0
- package/schema/zod-extensions/cpf.validator.js +166 -0
- package/schema/zod-extensions.d.ts +50 -0
- package/schema/zod-extensions.js +144 -0
- package/schema-kit.module.d.ts +2 -0
- package/schema-kit.module.js +23 -0
- package/transformers/date-range.transformer.d.ts +6 -0
- package/transformers/date-range.transformer.js +44 -0
- package/transformers/encrypted.transformer.d.ts +11 -0
- package/transformers/encrypted.transformer.js +35 -0
- package/transformers/luxon.transformer.d.ts +3 -0
- package/transformers/luxon.transformer.js +12 -0
- package/utils/utils.d.ts +49 -0
- package/utils/utils.js +79 -0
- package/validators/ip-validator.d.ts +3 -0
- package/validators/ip-validator.js +8 -0
- package/validators/pubsub-delete.validator.d.ts +6 -0
- package/validators/pubsub-delete.validator.js +11 -0
- package/validators/url-validator.d.ts +3 -0
- package/validators/url-validator.js +8 -0
- package/validators/uuid-validator.d.ts +3 -0
- package/validators/uuid-validator.js +8 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { PubsubMessageLogService } from './pubsub-message-log.service';
|
|
2
|
+
import { PubsubMessageLog } from './pubsub-message-log.entity';
|
|
3
|
+
declare const PubsubMessageLogController_base: abstract new (_service: import("../..").SchemaService<PubsubMessageLog, Omit<{
|
|
4
|
+
direction: import("./pubsub-message-log.entity").PubsubMessageDirection;
|
|
5
|
+
topic: string;
|
|
6
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
7
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
8
|
+
durationMs?: number | null | undefined;
|
|
9
|
+
errorMessage?: string | null | undefined;
|
|
10
|
+
errorStack?: string | null | undefined;
|
|
11
|
+
originApi?: string | null | undefined;
|
|
12
|
+
subscription?: string | null | undefined;
|
|
13
|
+
messageId?: string | null | undefined;
|
|
14
|
+
orderingKey?: string | null | undefined;
|
|
15
|
+
handler?: string | null | undefined;
|
|
16
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
17
|
+
payload?: unknown;
|
|
18
|
+
payloadSizeBytes?: number | null | undefined;
|
|
19
|
+
contentType?: string | null | undefined;
|
|
20
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
21
|
+
deliveryAttempt?: number | null | undefined;
|
|
22
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
23
|
+
correlationId?: string | null | undefined;
|
|
24
|
+
traceId?: string | null | undefined;
|
|
25
|
+
uuid?: string | null | undefined;
|
|
26
|
+
}, "uuid"> & {
|
|
27
|
+
uuid?: string;
|
|
28
|
+
}, {
|
|
29
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
30
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
31
|
+
durationMs?: number | null | undefined;
|
|
32
|
+
errorMessage?: string | null | undefined;
|
|
33
|
+
errorStack?: string | null | undefined;
|
|
34
|
+
direction?: import("./pubsub-message-log.entity").PubsubMessageDirection | undefined;
|
|
35
|
+
topic?: string | undefined;
|
|
36
|
+
originApi?: string | null | undefined;
|
|
37
|
+
subscription?: string | null | undefined;
|
|
38
|
+
messageId?: string | null | undefined;
|
|
39
|
+
orderingKey?: string | null | undefined;
|
|
40
|
+
handler?: string | null | undefined;
|
|
41
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
42
|
+
payload?: unknown;
|
|
43
|
+
payloadSizeBytes?: number | null | undefined;
|
|
44
|
+
contentType?: string | null | undefined;
|
|
45
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
46
|
+
deliveryAttempt?: number | null | undefined;
|
|
47
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
48
|
+
correlationId?: string | null | undefined;
|
|
49
|
+
traceId?: string | null | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
page: number;
|
|
52
|
+
size: number;
|
|
53
|
+
sort: {
|
|
54
|
+
index: string;
|
|
55
|
+
order: "ASC" | "DESC";
|
|
56
|
+
}[];
|
|
57
|
+
query?: string | undefined;
|
|
58
|
+
lstUuids?: string[] | undefined;
|
|
59
|
+
lstFilter?: {
|
|
60
|
+
value: unknown;
|
|
61
|
+
index: string;
|
|
62
|
+
}[] | undefined;
|
|
63
|
+
}>) => {
|
|
64
|
+
readonly _service: import("../..").SchemaService<PubsubMessageLog, Omit<{
|
|
65
|
+
direction: import("./pubsub-message-log.entity").PubsubMessageDirection;
|
|
66
|
+
topic: string;
|
|
67
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
68
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
69
|
+
durationMs?: number | null | undefined;
|
|
70
|
+
errorMessage?: string | null | undefined;
|
|
71
|
+
errorStack?: string | null | undefined;
|
|
72
|
+
originApi?: string | null | undefined;
|
|
73
|
+
subscription?: string | null | undefined;
|
|
74
|
+
messageId?: string | null | undefined;
|
|
75
|
+
orderingKey?: string | null | undefined;
|
|
76
|
+
handler?: string | null | undefined;
|
|
77
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
78
|
+
payload?: unknown;
|
|
79
|
+
payloadSizeBytes?: number | null | undefined;
|
|
80
|
+
contentType?: string | null | undefined;
|
|
81
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
82
|
+
deliveryAttempt?: number | null | undefined;
|
|
83
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
84
|
+
correlationId?: string | null | undefined;
|
|
85
|
+
traceId?: string | null | undefined;
|
|
86
|
+
uuid?: string | null | undefined;
|
|
87
|
+
}, "uuid"> & {
|
|
88
|
+
uuid?: string;
|
|
89
|
+
}, {
|
|
90
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
91
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
92
|
+
durationMs?: number | null | undefined;
|
|
93
|
+
errorMessage?: string | null | undefined;
|
|
94
|
+
errorStack?: string | null | undefined;
|
|
95
|
+
direction?: import("./pubsub-message-log.entity").PubsubMessageDirection | undefined;
|
|
96
|
+
topic?: string | undefined;
|
|
97
|
+
originApi?: string | null | undefined;
|
|
98
|
+
subscription?: string | null | undefined;
|
|
99
|
+
messageId?: string | null | undefined;
|
|
100
|
+
orderingKey?: string | null | undefined;
|
|
101
|
+
handler?: string | null | undefined;
|
|
102
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
103
|
+
payload?: unknown;
|
|
104
|
+
payloadSizeBytes?: number | null | undefined;
|
|
105
|
+
contentType?: string | null | undefined;
|
|
106
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
107
|
+
deliveryAttempt?: number | null | undefined;
|
|
108
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
109
|
+
correlationId?: string | null | undefined;
|
|
110
|
+
traceId?: string | null | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
page: number;
|
|
113
|
+
size: number;
|
|
114
|
+
sort: {
|
|
115
|
+
index: string;
|
|
116
|
+
order: "ASC" | "DESC";
|
|
117
|
+
}[];
|
|
118
|
+
query?: string | undefined;
|
|
119
|
+
lstUuids?: string[] | undefined;
|
|
120
|
+
lstFilter?: {
|
|
121
|
+
value: unknown;
|
|
122
|
+
index: string;
|
|
123
|
+
}[] | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
beforeRoute(route: import("../../schema/schema.controller").BaseRoute, args: import("../../schema/schema.controller").BeforeRouteArgs<Omit<{
|
|
126
|
+
direction: import("./pubsub-message-log.entity").PubsubMessageDirection;
|
|
127
|
+
topic: string;
|
|
128
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
129
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
130
|
+
durationMs?: number | null | undefined;
|
|
131
|
+
errorMessage?: string | null | undefined;
|
|
132
|
+
errorStack?: string | null | undefined;
|
|
133
|
+
originApi?: string | null | undefined;
|
|
134
|
+
subscription?: string | null | undefined;
|
|
135
|
+
messageId?: string | null | undefined;
|
|
136
|
+
orderingKey?: string | null | undefined;
|
|
137
|
+
handler?: string | null | undefined;
|
|
138
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
139
|
+
payload?: unknown;
|
|
140
|
+
payloadSizeBytes?: number | null | undefined;
|
|
141
|
+
contentType?: string | null | undefined;
|
|
142
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
143
|
+
deliveryAttempt?: number | null | undefined;
|
|
144
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
145
|
+
correlationId?: string | null | undefined;
|
|
146
|
+
traceId?: string | null | undefined;
|
|
147
|
+
uuid?: string | null | undefined;
|
|
148
|
+
}, "uuid"> & {
|
|
149
|
+
uuid?: string;
|
|
150
|
+
}, {
|
|
151
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
152
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
153
|
+
durationMs?: number | null | undefined;
|
|
154
|
+
errorMessage?: string | null | undefined;
|
|
155
|
+
errorStack?: string | null | undefined;
|
|
156
|
+
direction?: import("./pubsub-message-log.entity").PubsubMessageDirection | undefined;
|
|
157
|
+
topic?: string | undefined;
|
|
158
|
+
originApi?: string | null | undefined;
|
|
159
|
+
subscription?: string | null | undefined;
|
|
160
|
+
messageId?: string | null | undefined;
|
|
161
|
+
orderingKey?: string | null | undefined;
|
|
162
|
+
handler?: string | null | undefined;
|
|
163
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
164
|
+
payload?: unknown;
|
|
165
|
+
payloadSizeBytes?: number | null | undefined;
|
|
166
|
+
contentType?: string | null | undefined;
|
|
167
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
168
|
+
deliveryAttempt?: number | null | undefined;
|
|
169
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
170
|
+
correlationId?: string | null | undefined;
|
|
171
|
+
traceId?: string | null | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
page: number;
|
|
174
|
+
size: number;
|
|
175
|
+
sort: {
|
|
176
|
+
index: string;
|
|
177
|
+
order: "ASC" | "DESC";
|
|
178
|
+
}[];
|
|
179
|
+
query?: string | undefined;
|
|
180
|
+
lstUuids?: string[] | undefined;
|
|
181
|
+
lstFilter?: {
|
|
182
|
+
value: unknown;
|
|
183
|
+
index: string;
|
|
184
|
+
}[] | undefined;
|
|
185
|
+
}>): void | Promise<void>;
|
|
186
|
+
afterRoute<R>(route: import("../../schema/schema.controller").BaseRoute, result: R): R | Promise<R>;
|
|
187
|
+
index(query: {
|
|
188
|
+
page: number;
|
|
189
|
+
size: number;
|
|
190
|
+
sort: {
|
|
191
|
+
index: string;
|
|
192
|
+
order: "ASC" | "DESC";
|
|
193
|
+
}[];
|
|
194
|
+
query?: string | undefined;
|
|
195
|
+
lstUuids?: string[] | undefined;
|
|
196
|
+
lstFilter?: {
|
|
197
|
+
value: unknown;
|
|
198
|
+
index: string;
|
|
199
|
+
}[] | undefined;
|
|
200
|
+
}, req?: import("express").Request): Promise<import("../..").IPaginatedResult<PubsubMessageLog>>;
|
|
201
|
+
findOne(uuid: string, req?: import("express").Request): Promise<PubsubMessageLog>;
|
|
202
|
+
create(dto: Omit<{
|
|
203
|
+
direction: import("./pubsub-message-log.entity").PubsubMessageDirection;
|
|
204
|
+
topic: string;
|
|
205
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
206
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
207
|
+
durationMs?: number | null | undefined;
|
|
208
|
+
errorMessage?: string | null | undefined;
|
|
209
|
+
errorStack?: string | null | undefined;
|
|
210
|
+
originApi?: string | null | undefined;
|
|
211
|
+
subscription?: string | null | undefined;
|
|
212
|
+
messageId?: string | null | undefined;
|
|
213
|
+
orderingKey?: string | null | undefined;
|
|
214
|
+
handler?: string | null | undefined;
|
|
215
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
216
|
+
payload?: unknown;
|
|
217
|
+
payloadSizeBytes?: number | null | undefined;
|
|
218
|
+
contentType?: string | null | undefined;
|
|
219
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
220
|
+
deliveryAttempt?: number | null | undefined;
|
|
221
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
222
|
+
correlationId?: string | null | undefined;
|
|
223
|
+
traceId?: string | null | undefined;
|
|
224
|
+
uuid?: string | null | undefined;
|
|
225
|
+
}, "uuid"> & {
|
|
226
|
+
uuid?: string;
|
|
227
|
+
}, req?: import("express").Request): Promise<PubsubMessageLog>;
|
|
228
|
+
patch(uuid: string, dto: {
|
|
229
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
230
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
231
|
+
durationMs?: number | null | undefined;
|
|
232
|
+
errorMessage?: string | null | undefined;
|
|
233
|
+
errorStack?: string | null | undefined;
|
|
234
|
+
direction?: import("./pubsub-message-log.entity").PubsubMessageDirection | undefined;
|
|
235
|
+
topic?: string | undefined;
|
|
236
|
+
originApi?: string | null | undefined;
|
|
237
|
+
subscription?: string | null | undefined;
|
|
238
|
+
messageId?: string | null | undefined;
|
|
239
|
+
orderingKey?: string | null | undefined;
|
|
240
|
+
handler?: string | null | undefined;
|
|
241
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
242
|
+
payload?: unknown;
|
|
243
|
+
payloadSizeBytes?: number | null | undefined;
|
|
244
|
+
contentType?: string | null | undefined;
|
|
245
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
246
|
+
deliveryAttempt?: number | null | undefined;
|
|
247
|
+
ackStatus?: import("./pubsub-message-log.entity").PubsubAckStatus | null | undefined;
|
|
248
|
+
correlationId?: string | null | undefined;
|
|
249
|
+
traceId?: string | null | undefined;
|
|
250
|
+
}, req?: import("express").Request): Promise<PubsubMessageLog>;
|
|
251
|
+
remove(uuid: string, req?: import("express").Request): Promise<void>;
|
|
252
|
+
};
|
|
253
|
+
export declare class PubsubMessageLogController extends PubsubMessageLogController_base {
|
|
254
|
+
private pubsubMessageLogService;
|
|
255
|
+
constructor(pubsubMessageLogService: PubsubMessageLogService);
|
|
256
|
+
}
|
|
257
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PubsubMessageLogController = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const schema_controller_1 = require("../../schema/schema.controller");
|
|
15
|
+
const pubsub_message_log_service_1 = require("./pubsub-message-log.service");
|
|
16
|
+
const pubsub_message_log_dto_1 = require("./pubsub-message-log.dto");
|
|
17
|
+
// Logs são gravados pela aplicação (via service); a API expõe apenas consulta
|
|
18
|
+
let PubsubMessageLogController = class PubsubMessageLogController extends (0, schema_controller_1.SchemaController)({
|
|
19
|
+
createSchema: pubsub_message_log_dto_1.CreatePubsubMessageLogSchema,
|
|
20
|
+
patchSchema: pubsub_message_log_dto_1.PatchPubsubMessageLogSchema,
|
|
21
|
+
indexParamsSchema: pubsub_message_log_dto_1.IndexPubsubMessageLogSchema,
|
|
22
|
+
routes: ['index', 'find'],
|
|
23
|
+
}) {
|
|
24
|
+
pubsubMessageLogService;
|
|
25
|
+
constructor(pubsubMessageLogService) {
|
|
26
|
+
super(pubsubMessageLogService);
|
|
27
|
+
this.pubsubMessageLogService = pubsubMessageLogService;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.PubsubMessageLogController = PubsubMessageLogController;
|
|
31
|
+
exports.PubsubMessageLogController = PubsubMessageLogController = __decorate([
|
|
32
|
+
(0, common_1.Controller)('monitoramento/pubsub-message-log'),
|
|
33
|
+
__metadata("design:paramtypes", [pubsub_message_log_service_1.PubsubMessageLogService])
|
|
34
|
+
], PubsubMessageLogController);
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { IIndexSchema } from '../../schema/schema-builder';
|
|
2
|
+
import z from 'zod';
|
|
3
|
+
import { PubsubAckStatus, PubsubMessageDirection } from './pubsub-message-log.entity';
|
|
4
|
+
export declare const modelSchemaPubsubMessageLog: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodUUID;
|
|
6
|
+
direction: z.ZodEnum<typeof PubsubMessageDirection>;
|
|
7
|
+
topic: z.ZodString;
|
|
8
|
+
originApi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
orderingKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
handler: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
15
|
+
payloadSizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
publishTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
18
|
+
deliveryAttempt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
ackStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>;
|
|
20
|
+
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>;
|
|
23
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
24
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
errorStack: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export declare const indexSchemaPubsubMessageLog: IIndexSchema;
|
|
29
|
+
declare const createValidator: z.ZodPipe<z.ZodObject<{
|
|
30
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>;
|
|
31
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
32
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
errorStack: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
direction: z.ZodEnum<typeof PubsubMessageDirection>;
|
|
36
|
+
topic: z.ZodString;
|
|
37
|
+
originApi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
orderingKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
handler: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
43
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
44
|
+
payloadSizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
publishTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
47
|
+
deliveryAttempt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
+
ackStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>;
|
|
49
|
+
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
uuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
52
|
+
}, z.core.$strip>, z.ZodTransform<Omit<{
|
|
53
|
+
direction: PubsubMessageDirection;
|
|
54
|
+
topic: string;
|
|
55
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
56
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
57
|
+
durationMs?: number | null | undefined;
|
|
58
|
+
errorMessage?: string | null | undefined;
|
|
59
|
+
errorStack?: string | null | undefined;
|
|
60
|
+
originApi?: string | null | undefined;
|
|
61
|
+
subscription?: string | null | undefined;
|
|
62
|
+
messageId?: string | null | undefined;
|
|
63
|
+
orderingKey?: string | null | undefined;
|
|
64
|
+
handler?: string | null | undefined;
|
|
65
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
66
|
+
payload?: unknown;
|
|
67
|
+
payloadSizeBytes?: number | null | undefined;
|
|
68
|
+
contentType?: string | null | undefined;
|
|
69
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
70
|
+
deliveryAttempt?: number | null | undefined;
|
|
71
|
+
ackStatus?: PubsubAckStatus | null | undefined;
|
|
72
|
+
correlationId?: string | null | undefined;
|
|
73
|
+
traceId?: string | null | undefined;
|
|
74
|
+
uuid?: string | null | undefined;
|
|
75
|
+
}, "uuid"> & {
|
|
76
|
+
uuid?: string;
|
|
77
|
+
}, {
|
|
78
|
+
direction: PubsubMessageDirection;
|
|
79
|
+
topic: string;
|
|
80
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
81
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
82
|
+
durationMs?: number | null | undefined;
|
|
83
|
+
errorMessage?: string | null | undefined;
|
|
84
|
+
errorStack?: string | null | undefined;
|
|
85
|
+
originApi?: string | null | undefined;
|
|
86
|
+
subscription?: string | null | undefined;
|
|
87
|
+
messageId?: string | null | undefined;
|
|
88
|
+
orderingKey?: string | null | undefined;
|
|
89
|
+
handler?: string | null | undefined;
|
|
90
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
91
|
+
payload?: unknown;
|
|
92
|
+
payloadSizeBytes?: number | null | undefined;
|
|
93
|
+
contentType?: string | null | undefined;
|
|
94
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
95
|
+
deliveryAttempt?: number | null | undefined;
|
|
96
|
+
ackStatus?: PubsubAckStatus | null | undefined;
|
|
97
|
+
correlationId?: string | null | undefined;
|
|
98
|
+
traceId?: string | null | undefined;
|
|
99
|
+
uuid?: string | null | undefined;
|
|
100
|
+
}>>, saveValidator: z.ZodObject<{
|
|
101
|
+
direction: z.ZodEnum<typeof PubsubMessageDirection>;
|
|
102
|
+
topic: z.ZodString;
|
|
103
|
+
originApi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
orderingKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
107
|
+
handler: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
109
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
110
|
+
payloadSizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
+
publishTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
113
|
+
deliveryAttempt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
114
|
+
ackStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>;
|
|
115
|
+
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>;
|
|
118
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
119
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
120
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
errorStack: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
uuid: z.ZodUUID;
|
|
123
|
+
}, z.core.$strip>, patchValidator: z.ZodObject<{
|
|
124
|
+
startedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
125
|
+
finishedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>>;
|
|
126
|
+
durationMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
127
|
+
errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
128
|
+
errorStack: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
129
|
+
direction: z.ZodOptional<z.ZodEnum<typeof PubsubMessageDirection>>;
|
|
130
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
131
|
+
originApi: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
132
|
+
subscription: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
133
|
+
messageId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
134
|
+
orderingKey: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
135
|
+
handler: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
136
|
+
attributes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
137
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
138
|
+
payloadSizeBytes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
139
|
+
contentType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
140
|
+
publishTime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>>;
|
|
141
|
+
deliveryAttempt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
142
|
+
ackStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>>;
|
|
143
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
144
|
+
traceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
145
|
+
}, z.core.$strip>, indexValidator: z.ZodObject<{
|
|
146
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
147
|
+
size: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
148
|
+
sort: z.ZodDefault<z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
149
|
+
index: z.ZodString;
|
|
150
|
+
order: z.ZodEnum<{
|
|
151
|
+
ASC: "ASC";
|
|
152
|
+
DESC: "DESC";
|
|
153
|
+
}>;
|
|
154
|
+
}, z.core.$strip>, z.ZodPreprocess<z.ZodObject<{
|
|
155
|
+
index: z.ZodString;
|
|
156
|
+
order: z.ZodEnum<{
|
|
157
|
+
ASC: "ASC";
|
|
158
|
+
DESC: "DESC";
|
|
159
|
+
}>;
|
|
160
|
+
}, z.core.$strip>, unknown>]>>, unknown>>>;
|
|
161
|
+
query: z.ZodOptional<z.ZodString>;
|
|
162
|
+
lstUuids: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodString, unknown>]>>, unknown>>;
|
|
163
|
+
lstFilter: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<z.ZodObject<{
|
|
164
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
165
|
+
index: z.ZodLiteral<string>;
|
|
166
|
+
}, z.core.$strip>[]>, z.ZodPreprocess<z.ZodUnion<z.ZodObject<{
|
|
167
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
168
|
+
index: z.ZodLiteral<string>;
|
|
169
|
+
}, z.core.$strip>[]>, unknown>]>>, unknown>>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
export type SavePubsubMessageLogDto = z.infer<typeof saveValidator>;
|
|
172
|
+
export type CreatePubsubMessageLogDto = z.infer<typeof createValidator>;
|
|
173
|
+
export type PatchPubsubMessageLogDto = z.infer<typeof patchValidator>;
|
|
174
|
+
export type IndexPubsubMessageLogParamsDto = z.infer<typeof indexValidator>;
|
|
175
|
+
export declare const CreatePubsubMessageLogSchema: z.ZodPipe<z.ZodObject<{
|
|
176
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>;
|
|
177
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
178
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
179
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
errorStack: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
+
direction: z.ZodEnum<typeof PubsubMessageDirection>;
|
|
182
|
+
topic: z.ZodString;
|
|
183
|
+
originApi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
186
|
+
orderingKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
|
+
handler: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
189
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
190
|
+
payloadSizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
191
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
192
|
+
publishTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
193
|
+
deliveryAttempt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
194
|
+
ackStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>;
|
|
195
|
+
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
196
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
uuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
198
|
+
}, z.core.$strip>, z.ZodTransform<Omit<{
|
|
199
|
+
direction: PubsubMessageDirection;
|
|
200
|
+
topic: string;
|
|
201
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
202
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
203
|
+
durationMs?: number | null | undefined;
|
|
204
|
+
errorMessage?: string | null | undefined;
|
|
205
|
+
errorStack?: string | null | undefined;
|
|
206
|
+
originApi?: string | null | undefined;
|
|
207
|
+
subscription?: string | null | undefined;
|
|
208
|
+
messageId?: string | null | undefined;
|
|
209
|
+
orderingKey?: string | null | undefined;
|
|
210
|
+
handler?: string | null | undefined;
|
|
211
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
212
|
+
payload?: unknown;
|
|
213
|
+
payloadSizeBytes?: number | null | undefined;
|
|
214
|
+
contentType?: string | null | undefined;
|
|
215
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
216
|
+
deliveryAttempt?: number | null | undefined;
|
|
217
|
+
ackStatus?: PubsubAckStatus | null | undefined;
|
|
218
|
+
correlationId?: string | null | undefined;
|
|
219
|
+
traceId?: string | null | undefined;
|
|
220
|
+
uuid?: string | null | undefined;
|
|
221
|
+
}, "uuid"> & {
|
|
222
|
+
uuid?: string;
|
|
223
|
+
}, {
|
|
224
|
+
direction: PubsubMessageDirection;
|
|
225
|
+
topic: string;
|
|
226
|
+
startedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | undefined;
|
|
227
|
+
finishedAt?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
228
|
+
durationMs?: number | null | undefined;
|
|
229
|
+
errorMessage?: string | null | undefined;
|
|
230
|
+
errorStack?: string | null | undefined;
|
|
231
|
+
originApi?: string | null | undefined;
|
|
232
|
+
subscription?: string | null | undefined;
|
|
233
|
+
messageId?: string | null | undefined;
|
|
234
|
+
orderingKey?: string | null | undefined;
|
|
235
|
+
handler?: string | null | undefined;
|
|
236
|
+
attributes?: Record<string, unknown> | null | undefined;
|
|
237
|
+
payload?: unknown;
|
|
238
|
+
payloadSizeBytes?: number | null | undefined;
|
|
239
|
+
contentType?: string | null | undefined;
|
|
240
|
+
publishTime?: import("luxon").DateTime<boolean> | import("luxon").DateTime<true> | import("luxon").DateTime<false> | null | undefined;
|
|
241
|
+
deliveryAttempt?: number | null | undefined;
|
|
242
|
+
ackStatus?: PubsubAckStatus | null | undefined;
|
|
243
|
+
correlationId?: string | null | undefined;
|
|
244
|
+
traceId?: string | null | undefined;
|
|
245
|
+
uuid?: string | null | undefined;
|
|
246
|
+
}>>;
|
|
247
|
+
export declare const SavePubsubMessageLogSchema: z.ZodObject<{
|
|
248
|
+
direction: z.ZodEnum<typeof PubsubMessageDirection>;
|
|
249
|
+
topic: z.ZodString;
|
|
250
|
+
originApi: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
251
|
+
subscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
252
|
+
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
|
+
orderingKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
254
|
+
handler: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
256
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
257
|
+
payloadSizeBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
258
|
+
contentType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
|
+
publishTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
260
|
+
deliveryAttempt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
261
|
+
ackStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>;
|
|
262
|
+
correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
|
+
traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
|
+
startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>;
|
|
265
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
266
|
+
durationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
267
|
+
errorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
|
+
errorStack: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
uuid: z.ZodUUID;
|
|
270
|
+
}, z.core.$strip>;
|
|
271
|
+
export declare const PatchPubsubMessageLogSchema: z.ZodObject<{
|
|
272
|
+
startedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>;
|
|
273
|
+
finishedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>>;
|
|
274
|
+
durationMs: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
275
|
+
errorMessage: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
276
|
+
errorStack: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
277
|
+
direction: z.ZodOptional<z.ZodEnum<typeof PubsubMessageDirection>>;
|
|
278
|
+
topic: z.ZodOptional<z.ZodString>;
|
|
279
|
+
originApi: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
280
|
+
subscription: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
281
|
+
messageId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
282
|
+
orderingKey: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
283
|
+
handler: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
284
|
+
attributes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
285
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
286
|
+
payloadSizeBytes: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
287
|
+
contentType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
288
|
+
publishTime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodCustom<import("luxon").DateTime<boolean>, import("luxon").DateTime<boolean>>, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<import("luxon").DateTime<true> | import("luxon").DateTime<false>, string>>]>>>>;
|
|
289
|
+
deliveryAttempt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
290
|
+
ackStatus: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof PubsubAckStatus>>>>;
|
|
291
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
292
|
+
traceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
export declare const IndexPubsubMessageLogSchema: z.ZodObject<{
|
|
295
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
296
|
+
size: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
297
|
+
sort: z.ZodDefault<z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
298
|
+
index: z.ZodString;
|
|
299
|
+
order: z.ZodEnum<{
|
|
300
|
+
ASC: "ASC";
|
|
301
|
+
DESC: "DESC";
|
|
302
|
+
}>;
|
|
303
|
+
}, z.core.$strip>, z.ZodPreprocess<z.ZodObject<{
|
|
304
|
+
index: z.ZodString;
|
|
305
|
+
order: z.ZodEnum<{
|
|
306
|
+
ASC: "ASC";
|
|
307
|
+
DESC: "DESC";
|
|
308
|
+
}>;
|
|
309
|
+
}, z.core.$strip>, unknown>]>>, unknown>>>;
|
|
310
|
+
query: z.ZodOptional<z.ZodString>;
|
|
311
|
+
lstUuids: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPreprocess<z.ZodString, unknown>]>>, unknown>>;
|
|
312
|
+
lstFilter: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<z.ZodObject<{
|
|
313
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
314
|
+
index: z.ZodLiteral<string>;
|
|
315
|
+
}, z.core.$strip>[]>, z.ZodPreprocess<z.ZodUnion<z.ZodObject<{
|
|
316
|
+
value: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
317
|
+
index: z.ZodLiteral<string>;
|
|
318
|
+
}, z.core.$strip>[]>, unknown>]>>, unknown>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
export {};
|