@dofe/infra-clients 0.1.22 → 0.1.26

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.
Files changed (1) hide show
  1. package/package.json +315 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dofe/infra-clients",
3
- "version": "0.1.22",
3
+ "version": "0.1.26",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {
@@ -8,41 +8,327 @@
8
8
  "types": "./dist/index.d.ts",
9
9
  "default": "./dist/index.js"
10
10
  },
11
- "./*": {
12
- "types": [
13
- "./dist/internal/*.d.ts",
14
- "./dist/internal/*/index.d.ts"
15
- ],
16
- "default": [
17
- "./dist/internal/*.js",
18
- "./dist/internal/*/index.js",
19
- "./dist/internal/*"
20
- ]
11
+ "./agentx": {
12
+ "types": "./dist/internal/agentx/index.d.ts",
13
+ "default": "./dist/internal/agentx/index.js"
14
+ },
15
+ "./agentx/agentx-client.module": {
16
+ "types": "./dist/internal/agentx/agentx-client.module.d.ts",
17
+ "default": "./dist/internal/agentx/agentx-client.module.js"
18
+ },
19
+ "./agentx/agentx-client.service": {
20
+ "types": "./dist/internal/agentx/agentx-client.service.d.ts",
21
+ "default": "./dist/internal/agentx/agentx-client.service.js"
22
+ },
23
+ "./agentx/agentx-file-client.service": {
24
+ "types": "./dist/internal/agentx/agentx-file-client.service.d.ts",
25
+ "default": "./dist/internal/agentx/agentx-file-client.service.js"
26
+ },
27
+ "./agentx/interfaces/file.interface": {
28
+ "types": "./dist/internal/agentx/interfaces/file.interface.d.ts",
29
+ "default": "./dist/internal/agentx/interfaces/file.interface.js"
30
+ },
31
+ "./agentx/interfaces/task.interface": {
32
+ "types": "./dist/internal/agentx/interfaces/task.interface.d.ts",
33
+ "default": "./dist/internal/agentx/interfaces/task.interface.js"
34
+ },
35
+ "./ai": {
36
+ "types": "./dist/internal/ai/index.d.ts",
37
+ "default": "./dist/internal/ai/index.js"
38
+ },
39
+ "./ai-provider": {
40
+ "types": "./dist/internal/ai-provider/index.d.ts",
41
+ "default": "./dist/internal/ai-provider/index.js"
42
+ },
43
+ "./ai-provider/ai-provider.client": {
44
+ "types": "./dist/internal/ai-provider/ai-provider.client.d.ts",
45
+ "default": "./dist/internal/ai-provider/ai-provider.client.js"
46
+ },
47
+ "./ai-provider/ai-provider.module": {
48
+ "types": "./dist/internal/ai-provider/ai-provider.module.d.ts",
49
+ "default": "./dist/internal/ai-provider/ai-provider.module.js"
50
+ },
51
+ "./ai/risk-detection.client": {
52
+ "types": "./dist/internal/ai/risk-detection.client.d.ts",
53
+ "default": "./dist/internal/ai/risk-detection.client.js"
54
+ },
55
+ "./ai/risk-detection.module": {
56
+ "types": "./dist/internal/ai/risk-detection.module.d.ts",
57
+ "default": "./dist/internal/ai/risk-detection.module.js"
58
+ },
59
+ "./channel-verify": {
60
+ "types": "./dist/internal/channel-verify/index.d.ts",
61
+ "default": "./dist/internal/channel-verify/index.js"
62
+ },
63
+ "./channel-verify/channel-verify.client": {
64
+ "types": "./dist/internal/channel-verify/channel-verify.client.d.ts",
65
+ "default": "./dist/internal/channel-verify/channel-verify.client.js"
66
+ },
67
+ "./complexity-classifier": {
68
+ "types": "./dist/internal/complexity-classifier/index.d.ts",
69
+ "default": "./dist/internal/complexity-classifier/index.js"
70
+ },
71
+ "./complexity-classifier/complexity-classifier.module": {
72
+ "types": "./dist/internal/complexity-classifier/complexity-classifier.module.d.ts",
73
+ "default": "./dist/internal/complexity-classifier/complexity-classifier.module.js"
74
+ },
75
+ "./complexity-classifier/complexity-classifier.service": {
76
+ "types": "./dist/internal/complexity-classifier/complexity-classifier.service.d.ts",
77
+ "default": "./dist/internal/complexity-classifier/complexity-classifier.service.js"
78
+ },
79
+ "./complexity-classifier/complexity-classifier.types": {
80
+ "types": "./dist/internal/complexity-classifier/complexity-classifier.types.d.ts",
81
+ "default": "./dist/internal/complexity-classifier/complexity-classifier.types.js"
82
+ },
83
+ "./crypt": {
84
+ "types": "./dist/internal/crypt/index.d.ts",
85
+ "default": "./dist/internal/crypt/index.js"
86
+ },
87
+ "./crypt/crypt.client": {
88
+ "types": "./dist/internal/crypt/crypt.client.d.ts",
89
+ "default": "./dist/internal/crypt/crypt.client.js"
90
+ },
91
+ "./crypt/crypt.module": {
92
+ "types": "./dist/internal/crypt/crypt.module.d.ts",
93
+ "default": "./dist/internal/crypt/crypt.module.js"
94
+ },
95
+ "./email": {
96
+ "types": "./dist/internal/email/index.d.ts",
97
+ "default": "./dist/internal/email/index.js"
98
+ },
99
+ "./email/dto/email.dto": {
100
+ "types": "./dist/internal/email/dto/email.dto.d.ts",
101
+ "default": "./dist/internal/email/dto/email.dto.js"
102
+ },
103
+ "./email/sendcloud.client": {
104
+ "types": "./dist/internal/email/sendcloud.client.d.ts",
105
+ "default": "./dist/internal/email/sendcloud.client.js"
106
+ },
107
+ "./exchange-rate": {
108
+ "types": "./dist/internal/exchange-rate/index.d.ts",
109
+ "default": "./dist/internal/exchange-rate/index.js"
110
+ },
111
+ "./exchange-rate/exchange-rate.client": {
112
+ "types": "./dist/internal/exchange-rate/exchange-rate.client.d.ts",
113
+ "default": "./dist/internal/exchange-rate/exchange-rate.client.js"
114
+ },
115
+ "./exchange-rate/exchange-rate.module": {
116
+ "types": "./dist/internal/exchange-rate/exchange-rate.module.d.ts",
117
+ "default": "./dist/internal/exchange-rate/exchange-rate.module.js"
118
+ },
119
+ "./file-storage": {
120
+ "types": "./dist/internal/file-storage/index.d.ts",
121
+ "default": "./dist/internal/file-storage/index.js"
122
+ },
123
+ "./file-storage/config/file.config": {
124
+ "types": "./dist/internal/file-storage/config/file.config.d.ts",
125
+ "default": "./dist/internal/file-storage/config/file.config.js"
126
+ },
127
+ "./file-storage/dto/file.dto": {
128
+ "types": "./dist/internal/file-storage/dto/file.dto.d.ts",
129
+ "default": "./dist/internal/file-storage/dto/file.dto.js"
130
+ },
131
+ "./file-storage/file-gcs.client": {
132
+ "types": "./dist/internal/file-storage/file-gcs.client.d.ts",
133
+ "default": "./dist/internal/file-storage/file-gcs.client.js"
134
+ },
135
+ "./file-storage/file-qiniu.client": {
136
+ "types": "./dist/internal/file-storage/file-qiniu.client.d.ts",
137
+ "default": "./dist/internal/file-storage/file-qiniu.client.js"
138
+ },
139
+ "./file-storage/file-s3.client": {
140
+ "types": "./dist/internal/file-storage/file-s3.client.d.ts",
141
+ "default": "./dist/internal/file-storage/file-s3.client.js"
142
+ },
143
+ "./file-storage/file-storage.interface": {
144
+ "types": "./dist/internal/file-storage/file-storage.interface.d.ts",
145
+ "default": "./dist/internal/file-storage/file-storage.interface.js"
146
+ },
147
+ "./file-storage/file-tos.client": {
148
+ "types": "./dist/internal/file-storage/file-tos.client.d.ts",
149
+ "default": "./dist/internal/file-storage/file-tos.client.js"
150
+ },
151
+ "./file-storage/file-us3.client": {
152
+ "types": "./dist/internal/file-storage/file-us3.client.d.ts",
153
+ "default": "./dist/internal/file-storage/file-us3.client.js"
154
+ },
155
+ "./health-check": {
156
+ "types": "./dist/internal/health-check/index.d.ts",
157
+ "default": "./dist/internal/health-check/index.js"
158
+ },
159
+ "./health-check/health-check.client": {
160
+ "types": "./dist/internal/health-check/health-check.client.d.ts",
161
+ "default": "./dist/internal/health-check/health-check.client.js"
162
+ },
163
+ "./health-check/health-check.module": {
164
+ "types": "./dist/internal/health-check/health-check.module.d.ts",
165
+ "default": "./dist/internal/health-check/health-check.module.js"
166
+ },
167
+ "./ip-info": {
168
+ "types": "./dist/internal/ip-info/index.d.ts",
169
+ "default": "./dist/internal/ip-info/index.js"
170
+ },
171
+ "./ip-info/dto/ip-info.dto": {
172
+ "types": "./dist/internal/ip-info/dto/ip-info.dto.d.ts",
173
+ "default": "./dist/internal/ip-info/dto/ip-info.dto.js"
174
+ },
175
+ "./ip-info/ip-info.client": {
176
+ "types": "./dist/internal/ip-info/ip-info.client.d.ts",
177
+ "default": "./dist/internal/ip-info/ip-info.client.js"
178
+ },
179
+ "./ip-info/ip-info.module": {
180
+ "types": "./dist/internal/ip-info/ip-info.module.d.ts",
181
+ "default": "./dist/internal/ip-info/ip-info.module.js"
182
+ },
183
+ "./ocr": {
184
+ "types": "./dist/internal/ocr/index.d.ts",
185
+ "default": "./dist/internal/ocr/index.js"
186
+ },
187
+ "./ocr/dto/ocr.dto": {
188
+ "types": "./dist/internal/ocr/dto/ocr.dto.d.ts",
189
+ "default": "./dist/internal/ocr/dto/ocr.dto.js"
190
+ },
191
+ "./ocr/ocr.client": {
192
+ "types": "./dist/internal/ocr/ocr.client.d.ts",
193
+ "default": "./dist/internal/ocr/ocr.client.js"
194
+ },
195
+ "./ocr/ocr.module": {
196
+ "types": "./dist/internal/ocr/ocr.module.d.ts",
197
+ "default": "./dist/internal/ocr/ocr.module.js"
198
+ },
199
+ "./openai": {
200
+ "types": "./dist/internal/openai/index.d.ts",
201
+ "default": "./dist/internal/openai/index.js"
202
+ },
203
+ "./openai/openai.client": {
204
+ "types": "./dist/internal/openai/openai.client.d.ts",
205
+ "default": "./dist/internal/openai/openai.client.js"
206
+ },
207
+ "./openai/openai.module": {
208
+ "types": "./dist/internal/openai/openai.module.d.ts",
209
+ "default": "./dist/internal/openai/openai.module.js"
21
210
  },
22
211
  "./plugin": {
23
212
  "types": "./dist/plugin/index.d.ts",
24
213
  "default": "./dist/plugin/index.js"
25
214
  },
26
- "./plugin/*": {
27
- "types": [
28
- "./dist/plugin/*.d.ts",
29
- "./dist/plugin/*/index.d.ts"
30
- ],
31
- "default": [
32
- "./dist/plugin/*.js",
33
- "./dist/plugin/*/index.js",
34
- "./dist/plugin/*"
35
- ]
215
+ "./plugin/decorators/inject-client.decorator": {
216
+ "types": "./dist/plugin/decorators/inject-client.decorator.d.ts",
217
+ "default": "./dist/plugin/decorators/inject-client.decorator.js"
218
+ },
219
+ "./plugin/interceptors/http-logging.interceptor": {
220
+ "types": "./dist/plugin/interceptors/http-logging.interceptor.d.ts",
221
+ "default": "./dist/plugin/interceptors/http-logging.interceptor.js"
222
+ },
223
+ "./plugin/interfaces/client.interface": {
224
+ "types": "./dist/plugin/interfaces/client.interface.d.ts",
225
+ "default": "./dist/plugin/interfaces/client.interface.js"
226
+ },
227
+ "./plugin/utils/retry.util": {
228
+ "types": "./dist/plugin/utils/retry.util.d.ts",
229
+ "default": "./dist/plugin/utils/retry.util.js"
230
+ },
231
+ "./routing-llm": {
232
+ "types": "./dist/internal/routing-llm/index.d.ts",
233
+ "default": "./dist/internal/routing-llm/index.js"
234
+ },
235
+ "./routing-llm/interfaces/routing-llm.interface": {
236
+ "types": "./dist/internal/routing-llm/interfaces/routing-llm.interface.d.ts",
237
+ "default": "./dist/internal/routing-llm/interfaces/routing-llm.interface.js"
238
+ },
239
+ "./routing-llm/routing-llm.client": {
240
+ "types": "./dist/internal/routing-llm/routing-llm.client.d.ts",
241
+ "default": "./dist/internal/routing-llm/routing-llm.client.js"
242
+ },
243
+ "./routing-llm/routing-llm.module": {
244
+ "types": "./dist/internal/routing-llm/routing-llm.module.d.ts",
245
+ "default": "./dist/internal/routing-llm/routing-llm.module.js"
246
+ },
247
+ "./sms": {
248
+ "types": "./dist/internal/sms/index.d.ts",
249
+ "default": "./dist/internal/sms/index.js"
250
+ },
251
+ "./sms/dto/sms.dto": {
252
+ "types": "./dist/internal/sms/dto/sms.dto.d.ts",
253
+ "default": "./dist/internal/sms/dto/sms.dto.js"
254
+ },
255
+ "./sms/sms-aliyun.client": {
256
+ "types": "./dist/internal/sms/sms-aliyun.client.d.ts",
257
+ "default": "./dist/internal/sms/sms-aliyun.client.js"
258
+ },
259
+ "./sms/sms-http.client": {
260
+ "types": "./dist/internal/sms/sms-http.client.d.ts",
261
+ "default": "./dist/internal/sms/sms-http.client.js"
262
+ },
263
+ "./sms/sms-tencent.client": {
264
+ "types": "./dist/internal/sms/sms-tencent.client.d.ts",
265
+ "default": "./dist/internal/sms/sms-tencent.client.js"
266
+ },
267
+ "./sms/sms-volcengine.client": {
268
+ "types": "./dist/internal/sms/sms-volcengine.client.d.ts",
269
+ "default": "./dist/internal/sms/sms-volcengine.client.js"
270
+ },
271
+ "./sms/sms-zxjc.client": {
272
+ "types": "./dist/internal/sms/sms-zxjc.client.d.ts",
273
+ "default": "./dist/internal/sms/sms-zxjc.client.js"
274
+ },
275
+ "./sse": {
276
+ "types": "./dist/internal/sse/index.d.ts",
277
+ "default": "./dist/internal/sse/index.js"
278
+ },
279
+ "./sse/sse.client": {
280
+ "types": "./dist/internal/sse/sse.client.d.ts",
281
+ "default": "./dist/internal/sse/sse.client.js"
282
+ },
283
+ "./sse/sse.module": {
284
+ "types": "./dist/internal/sse/sse.module.d.ts",
285
+ "default": "./dist/internal/sse/sse.module.js"
286
+ },
287
+ "./third-party-sse": {
288
+ "types": "./dist/internal/third-party-sse/index.d.ts",
289
+ "default": "./dist/internal/third-party-sse/index.js"
290
+ },
291
+ "./third-party-sse/third-party-sse.client": {
292
+ "types": "./dist/internal/third-party-sse/third-party-sse.client.d.ts",
293
+ "default": "./dist/internal/third-party-sse/third-party-sse.client.js"
294
+ },
295
+ "./third-party-sse/third-party-sse.module": {
296
+ "types": "./dist/internal/third-party-sse/third-party-sse.module.d.ts",
297
+ "default": "./dist/internal/third-party-sse/third-party-sse.module.js"
298
+ },
299
+ "./verify": {
300
+ "types": "./dist/internal/verify/index.d.ts",
301
+ "default": "./dist/internal/verify/index.js"
302
+ },
303
+ "./verify/verify.client": {
304
+ "types": "./dist/internal/verify/verify.client.d.ts",
305
+ "default": "./dist/internal/verify/verify.client.js"
306
+ },
307
+ "./verify/verify.module": {
308
+ "types": "./dist/internal/verify/verify.module.d.ts",
309
+ "default": "./dist/internal/verify/verify.module.js"
310
+ },
311
+ "./wechat": {
312
+ "types": "./dist/internal/wechat/index.d.ts",
313
+ "default": "./dist/internal/wechat/index.js"
314
+ },
315
+ "./wechat/wechat.client": {
316
+ "types": "./dist/internal/wechat/wechat.client.d.ts",
317
+ "default": "./dist/internal/wechat/wechat.client.js"
318
+ },
319
+ "./wechat/wechat.module": {
320
+ "types": "./dist/internal/wechat/wechat.module.d.ts",
321
+ "default": "./dist/internal/wechat/wechat.module.js"
36
322
  }
37
323
  },
38
324
  "peerDependencies": {
39
- "@alicloud/dysmsapi20170525": "^3.0.0",
325
+ "@alicloud/dysmsapi20170525": "^3.0.0 || ^4.0.0",
40
326
  "@alicloud/openapi-client": "^0.4.0",
41
327
  "@aws-sdk/client-s3": "^3.978.0",
42
328
  "@aws-sdk/client-sts": "^3.1024.0",
43
329
  "@aws-sdk/s3-request-presigner": "^3.978.0",
44
- "@dofe/infra-contracts": "^0.1.21",
45
- "@dofe/infra-docker": "^0.1.21",
330
+ "@dofe/infra-contracts": "^0.1.25",
331
+ "@dofe/infra-docker": "^0.1.25",
46
332
  "@google-cloud/storage": "^7.12.0",
47
333
  "@larksuiteoapi/node-sdk": "^1.30.0",
48
334
  "@nestjs/axios": "^4.0.0",
@@ -70,9 +356,9 @@
70
356
  "zod": "^4.3.6"
71
357
  },
72
358
  "dependencies": {
73
- "@dofe/infra-common": "^0.1.21",
74
- "@dofe/infra-redis": "^0.1.21",
75
- "@dofe/infra-utils": "^0.1.21"
359
+ "@dofe/infra-common": "^0.1.25",
360
+ "@dofe/infra-redis": "^0.1.25",
361
+ "@dofe/infra-utils": "^0.1.25"
76
362
  },
77
363
  "devDependencies": {
78
364
  "rimraf": "^6.1.3",
@@ -89,6 +375,7 @@
89
375
  "scripts": {
90
376
  "build": "tsc",
91
377
  "typecheck": "tsc --noEmit",
92
- "clean": "rimraf dist"
378
+ "clean": "rimraf dist",
379
+ "postbuild": "node ../../scripts/generate-exports.mjs"
93
380
  }
94
381
  }