@dofe/infra-shared-services 0.1.1 → 0.1.2

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 (113) hide show
  1. package/dist/email/email.module.d.ts.map +1 -1
  2. package/dist/email/email.module.js.map +1 -1
  3. package/dist/email/email.service.d.ts.map +1 -1
  4. package/dist/email/email.service.js.map +1 -1
  5. package/dist/file-storage/bucket-resolver.d.ts.map +1 -1
  6. package/dist/file-storage/bucket-resolver.js.map +1 -1
  7. package/dist/file-storage/file-storage.factory.d.ts.map +1 -1
  8. package/dist/file-storage/file-storage.factory.js.map +1 -1
  9. package/dist/file-storage/file-storage.module.d.ts.map +1 -1
  10. package/dist/file-storage/file-storage.module.js.map +1 -1
  11. package/dist/file-storage/file-storage.service.d.ts.map +1 -1
  12. package/dist/file-storage/file-storage.service.js.map +1 -1
  13. package/dist/file-storage/index.d.ts.map +1 -1
  14. package/dist/file-storage/index.js.map +1 -1
  15. package/dist/file-storage/types.d.ts.map +1 -1
  16. package/dist/file-storage/types.js.map +1 -1
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/ip-geo/continent-mapping.d.ts.map +1 -1
  22. package/dist/ip-geo/continent-mapping.js.map +1 -1
  23. package/dist/ip-geo/ip-geo.module.d.ts.map +1 -1
  24. package/dist/ip-geo/ip-geo.module.js.map +1 -1
  25. package/dist/ip-geo/ip-geo.service.d.ts.map +1 -1
  26. package/dist/ip-geo/ip-geo.service.js.map +1 -1
  27. package/dist/ip-info/ip-info.client.d.ts.map +1 -1
  28. package/dist/ip-info/ip-info.client.js +2 -2
  29. package/dist/ip-info/ip-info.client.js.map +1 -1
  30. package/dist/ip-info/ip-info.module.d.ts.map +1 -1
  31. package/dist/ip-info/ip-info.module.js.map +1 -1
  32. package/dist/ip-info/ip-info.service.d.ts.map +1 -1
  33. package/dist/ip-info/ip-info.service.js.map +1 -1
  34. package/dist/notification/index.d.ts +4 -0
  35. package/dist/notification/index.d.ts.map +1 -0
  36. package/dist/{system-health → notification}/index.js +6 -8
  37. package/dist/notification/index.js.map +1 -0
  38. package/dist/notification/notification.module.d.ts +3 -0
  39. package/dist/notification/notification.module.d.ts.map +1 -0
  40. package/dist/notification/notification.module.js +24 -0
  41. package/dist/notification/notification.module.js.map +1 -0
  42. package/dist/notification/notification.service.d.ts +14 -0
  43. package/dist/notification/notification.service.d.ts.map +1 -0
  44. package/dist/notification/notification.service.js +87 -0
  45. package/dist/notification/notification.service.js.map +1 -0
  46. package/dist/notification/notification.types.d.ts +11 -0
  47. package/dist/notification/notification.types.d.ts.map +1 -0
  48. package/dist/notification/notification.types.js +3 -0
  49. package/dist/notification/notification.types.js.map +1 -0
  50. package/dist/ocr/ocr.module.d.ts.map +1 -1
  51. package/dist/ocr/ocr.module.js.map +1 -1
  52. package/dist/ocr/ocr.service.d.ts.map +1 -1
  53. package/dist/ocr/ocr.service.js.map +1 -1
  54. package/dist/sms/sms.factory.d.ts.map +1 -1
  55. package/dist/sms/sms.factory.js.map +1 -1
  56. package/dist/sms/sms.module.d.ts.map +1 -1
  57. package/dist/sms/sms.module.js.map +1 -1
  58. package/dist/sms/sms.service.d.ts.map +1 -1
  59. package/dist/sms/sms.service.js.map +1 -1
  60. package/dist/sms/types.d.ts.map +1 -1
  61. package/dist/sms/types.js.map +1 -1
  62. package/dist/streaming-asr/streaming-asr.module.d.ts.map +1 -1
  63. package/dist/streaming-asr/streaming-asr.module.js.map +1 -1
  64. package/dist/streaming-asr/streaming-asr.service.d.ts.map +1 -1
  65. package/dist/streaming-asr/streaming-asr.service.js.map +1 -1
  66. package/dist/streaming-asr/types.d.ts.map +1 -1
  67. package/dist/streaming-asr/types.js.map +1 -1
  68. package/dist/system-health/system-health.controller.d.ts.map +1 -1
  69. package/dist/system-health/system-health.controller.js.map +1 -1
  70. package/dist/system-health/system-health.module.d.ts.map +1 -1
  71. package/dist/system-health/system-health.module.js.map +1 -1
  72. package/dist/system-health/system-health.service.d.ts.map +1 -1
  73. package/dist/system-health/system-health.service.js.map +1 -1
  74. package/dist/uploader/uploader.module.d.ts.map +1 -1
  75. package/dist/uploader/uploader.module.js.map +1 -1
  76. package/dist/uploader/uploader.service.d.ts.map +1 -1
  77. package/dist/uploader/uploader.service.js.map +1 -1
  78. package/package.json +8 -8
  79. package/dist/email/dto/email.dto.d.ts +0 -70
  80. package/dist/email/dto/email.dto.d.ts.map +0 -1
  81. package/dist/email/dto/email.dto.js +0 -58
  82. package/dist/email/dto/email.dto.js.map +0 -1
  83. package/dist/email/index.d.ts +0 -5
  84. package/dist/email/index.d.ts.map +0 -1
  85. package/dist/email/index.js +0 -26
  86. package/dist/email/index.js.map +0 -1
  87. package/dist/ip-geo/index.d.ts +0 -33
  88. package/dist/ip-geo/index.d.ts.map +0 -1
  89. package/dist/ip-geo/index.js +0 -41
  90. package/dist/ip-geo/index.js.map +0 -1
  91. package/dist/ip-info/index.d.ts +0 -7
  92. package/dist/ip-info/index.d.ts.map +0 -1
  93. package/dist/ip-info/index.js +0 -13
  94. package/dist/ip-info/index.js.map +0 -1
  95. package/dist/ocr/index.d.ts +0 -33
  96. package/dist/ocr/index.d.ts.map +0 -1
  97. package/dist/ocr/index.js +0 -53
  98. package/dist/ocr/index.js.map +0 -1
  99. package/dist/sms/index.d.ts +0 -5
  100. package/dist/sms/index.d.ts.map +0 -1
  101. package/dist/sms/index.js +0 -29
  102. package/dist/sms/index.js.map +0 -1
  103. package/dist/streaming-asr/index.d.ts +0 -45
  104. package/dist/streaming-asr/index.d.ts.map +0 -1
  105. package/dist/streaming-asr/index.js +0 -66
  106. package/dist/streaming-asr/index.js.map +0 -1
  107. package/dist/system-health/index.d.ts +0 -7
  108. package/dist/system-health/index.d.ts.map +0 -1
  109. package/dist/system-health/index.js.map +0 -1
  110. package/dist/uploader/index.d.ts +0 -3
  111. package/dist/uploader/index.d.ts.map +0 -1
  112. package/dist/uploader/index.js +0 -8
  113. package/dist/uploader/index.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dofe/infra-shared-services",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "peerDependencies": {
@@ -11,7 +11,7 @@
11
11
  "@nestjs/event-emitter": "^3.0.0",
12
12
  "@nestjs/platform-fastify": "^11.0.0",
13
13
  "@prisma/client": "^7.0.0",
14
- "@dofe/infra-contracts": "^0.1.1",
14
+ "@dofe/infra-contracts": "^0.1.2",
15
15
  "axios": "^1.7.0",
16
16
  "ioredis": "^5.0.0",
17
17
  "reflect-metadata": "^0.2.0",
@@ -24,12 +24,12 @@
24
24
  "@nestjs/jwt": "^11.0.2"
25
25
  },
26
26
  "dependencies": {
27
- "@dofe/infra-common": "^0.1.1",
28
- "@dofe/infra-jwt": "^0.1.1",
29
- "@dofe/infra-prisma": "^0.1.1",
30
- "@dofe/infra-rabbitmq": "^0.1.1",
31
- "@dofe/infra-redis": "^0.1.1",
32
- "@dofe/infra-utils": "^0.1.1"
27
+ "@dofe/infra-common": "^0.1.2",
28
+ "@dofe/infra-jwt": "^0.1.2",
29
+ "@dofe/infra-prisma": "^0.1.2",
30
+ "@dofe/infra-rabbitmq": "^0.1.2",
31
+ "@dofe/infra-redis": "^0.1.2",
32
+ "@dofe/infra-utils": "^0.1.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "rimraf": "^5.0.0",
@@ -1,70 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const EmailKeysSchema: z.ZodObject<{
3
- accessKey: z.ZodString;
4
- accessSecret: z.ZodString;
5
- host: z.ZodString;
6
- port: z.ZodNumber;
7
- secure: z.ZodBoolean;
8
- user: z.ZodString;
9
- pass: z.ZodString;
10
- }, z.core.$strip>;
11
- export declare const EmailTemplateSchema: z.ZodObject<{
12
- name: z.ZodString;
13
- subject: z.ZodString;
14
- from: z.ZodString;
15
- templateInvokeName: z.ZodString;
16
- codeExpire: z.ZodOptional<z.ZodNumber>;
17
- frequency: z.ZodOptional<z.ZodNumber>;
18
- sub: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19
- }, z.core.$strip>;
20
- export declare const EmailConfigSchema: z.ZodObject<{
21
- vendor: z.ZodString;
22
- apiUser: z.ZodString;
23
- apiKey: z.ZodString;
24
- domain: z.ZodString;
25
- name: z.ZodString;
26
- templates: z.ZodArray<z.ZodObject<{
27
- name: z.ZodString;
28
- subject: z.ZodString;
29
- from: z.ZodString;
30
- templateInvokeName: z.ZodString;
31
- codeExpire: z.ZodOptional<z.ZodNumber>;
32
- frequency: z.ZodOptional<z.ZodNumber>;
33
- sub: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>;
36
- export declare const EmailSubValuesSchema: z.ZodObject<{
37
- name: z.ZodString;
38
- code: z.ZodString;
39
- }, z.core.$strip>;
40
- export declare const SignalMessageSchema: z.ZodObject<{
41
- to: z.ZodString;
42
- subject: z.ZodOptional<z.ZodString>;
43
- templateInvokeName: z.ZodString;
44
- sub: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
45
- options: z.ZodOptional<z.ZodAny>;
46
- queueMailId: z.ZodOptional<z.ZodString>;
47
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
48
- }, z.core.$strip>;
49
- export declare const EmailAccountSchema: z.ZodObject<{
50
- email: z.ZodString;
51
- name: z.ZodString;
52
- }, z.core.$strip>;
53
- export declare const EmailAccountInputSchema: z.ZodObject<{
54
- email: z.ZodOptional<z.ZodString>;
55
- name: z.ZodOptional<z.ZodString>;
56
- }, z.core.$strip>;
57
- export type EmailKeys = z.infer<typeof EmailKeysSchema>;
58
- export type EmailTemplate = z.infer<typeof EmailTemplateSchema>;
59
- export type EmailConfig = z.infer<typeof EmailConfigSchema>;
60
- export type EmailSubValues = z.infer<typeof EmailSubValuesSchema>;
61
- export type SignalMessage = z.infer<typeof SignalMessageSchema>;
62
- export type EmailAccount = z.infer<typeof EmailAccountSchema>;
63
- export declare namespace PardxEmailSender {
64
- type EmailKeys = z.infer<typeof EmailKeysSchema>;
65
- type Config = z.infer<typeof EmailConfigSchema>;
66
- type SignalMessage = z.infer<typeof SignalMessageSchema>;
67
- type RegisterEmailSub = z.infer<typeof EmailSubValuesSchema>;
68
- type EmailTemplate = z.infer<typeof EmailTemplateSchema>;
69
- }
70
- //# sourceMappingURL=email.dto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email.dto.d.ts","sourceRoot":"","sources":["../../../src/email/dto/email.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,eAAe;;;;;;;;iBAQ1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;iBAQ9B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAO5B,CAAC;AAMH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;iBAQ9B,CAAC;AAMH,eAAO,MAAM,kBAAkB;;;iBAG7B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAA+B,CAAC;AAMpE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAM9D,yBAAiB,gBAAgB,CAAC;IAChC,KAAY,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;IACxD,KAAY,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IACvD,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAChE,KAAY,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;IACpE,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;CACjE"}
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmailAccountInputSchema = exports.EmailAccountSchema = exports.SignalMessageSchema = exports.EmailSubValuesSchema = exports.EmailConfigSchema = exports.EmailTemplateSchema = exports.EmailKeysSchema = void 0;
4
- const zod_1 = require("zod");
5
- // ============================================================================
6
- // Email Configuration Schemas
7
- // ============================================================================
8
- exports.EmailKeysSchema = zod_1.z.object({
9
- accessKey: zod_1.z.string(),
10
- accessSecret: zod_1.z.string(),
11
- host: zod_1.z.string(),
12
- port: zod_1.z.number(),
13
- secure: zod_1.z.boolean(),
14
- user: zod_1.z.string(),
15
- pass: zod_1.z.string(),
16
- });
17
- exports.EmailTemplateSchema = zod_1.z.object({
18
- name: zod_1.z.string(),
19
- subject: zod_1.z.string(),
20
- from: zod_1.z.string(),
21
- templateInvokeName: zod_1.z.string(),
22
- codeExpire: zod_1.z.number().optional(),
23
- frequency: zod_1.z.number().optional(),
24
- sub: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).nullable().optional(),
25
- });
26
- exports.EmailConfigSchema = zod_1.z.object({
27
- vendor: zod_1.z.string(),
28
- apiUser: zod_1.z.string(),
29
- apiKey: zod_1.z.string(),
30
- domain: zod_1.z.string(),
31
- name: zod_1.z.string(),
32
- templates: zod_1.z.array(exports.EmailTemplateSchema),
33
- });
34
- // ============================================================================
35
- // Email Message Schemas
36
- // ============================================================================
37
- exports.EmailSubValuesSchema = zod_1.z.object({
38
- name: zod_1.z.string(),
39
- code: zod_1.z.string(),
40
- });
41
- exports.SignalMessageSchema = zod_1.z.object({
42
- to: zod_1.z.string().email(),
43
- subject: zod_1.z.string().optional(),
44
- templateInvokeName: zod_1.z.string(),
45
- sub: zod_1.z.record(zod_1.z.string(), zod_1.z.array(zod_1.z.string())),
46
- options: zod_1.z.any().optional(),
47
- queueMailId: zod_1.z.string().optional(),
48
- metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional(),
49
- });
50
- // ============================================================================
51
- // Email Account Schemas
52
- // ============================================================================
53
- exports.EmailAccountSchema = zod_1.z.object({
54
- email: zod_1.z.string().email(),
55
- name: zod_1.z.string(),
56
- });
57
- exports.EmailAccountInputSchema = exports.EmailAccountSchema.partial();
58
- //# sourceMappingURL=email.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"email.dto.js","sourceRoot":"","sources":["../../../src/email/dto/email.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,+EAA+E;AAC/E,8BAA8B;AAC9B,+EAA+E;AAElE,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;IACnB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC9B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAmB,CAAC;CACxC,CAAC,CAAC;AAEH,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAElE,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACtB,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC9B,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IAC9C,OAAO,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC3B,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnD,CAAC,CAAC;AAEH,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAElE,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;IACzB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEU,QAAA,uBAAuB,GAAG,0BAAkB,CAAC,OAAO,EAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- export { EmailServiceModule } from './email.module';
2
- export { EmailService } from './email.service';
3
- export { EmailService as SendCloudService } from './email.service';
4
- export * from './dto/email.dto';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/email/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnE,cAAc,iBAAiB,CAAC"}
@@ -1,26 +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
- exports.SendCloudService = exports.EmailService = exports.EmailServiceModule = void 0;
18
- var email_module_1 = require("./email.module");
19
- Object.defineProperty(exports, "EmailServiceModule", { enumerable: true, get: function () { return email_module_1.EmailServiceModule; } });
20
- var email_service_1 = require("./email.service");
21
- Object.defineProperty(exports, "EmailService", { enumerable: true, get: function () { return email_service_1.EmailService; } });
22
- // 向后兼容别名
23
- var email_service_2 = require("./email.service");
24
- Object.defineProperty(exports, "SendCloudService", { enumerable: true, get: function () { return email_service_2.EmailService; } });
25
- __exportStar(require("./dto/email.dto"), exports);
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/email/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAAoD;AAA3C,kHAAA,kBAAkB,OAAA;AAC3B,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,SAAS;AACT,iDAAmE;AAA1D,iHAAA,YAAY,OAAoB;AACzC,kDAAgC"}
@@ -1,33 +0,0 @@
1
- /**
2
- * @fileoverview IP 地理位置服务导出入口(Infra 层)
3
- *
4
- * 本模块提供纯 infra 层的 IP 地理位置服务:
5
- * - IpGeoService: IP 地理位置查询服务
6
- * - IpGeoModule: NestJS 模块
7
- * - getContinentByCountry: 静态大洲映射函数
8
- *
9
- * @example
10
- * ```typescript
11
- * import { IpGeoModule, IpGeoService } from '@dofe/infra-shared-services';
12
- *
13
- * @Module({
14
- * imports: [IpGeoModule],
15
- * })
16
- * export class MyModule {}
17
- *
18
- * @Injectable()
19
- * class MyService {
20
- * constructor(private readonly ipGeo: IpGeoService) {}
21
- *
22
- * async getRegion(ip: string) {
23
- * return await this.ipGeo.getContinent(ip);
24
- * }
25
- * }
26
- * ```
27
- *
28
- * @module ip-geo
29
- */
30
- export { IpGeoModule } from './ip-geo.module';
31
- export { IpGeoService } from './ip-geo.service';
32
- export { getContinentByCountry, Continent, CONTINENT_COUNTRIES, COUNTRY_TO_CONTINENT, } from './continent-mapping';
33
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ip-geo/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EACL,qBAAqB,EACrB,SAAS,EACT,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COUNTRY_TO_CONTINENT = exports.CONTINENT_COUNTRIES = exports.getContinentByCountry = exports.IpGeoService = exports.IpGeoModule = void 0;
4
- /**
5
- * @fileoverview IP 地理位置服务导出入口(Infra 层)
6
- *
7
- * 本模块提供纯 infra 层的 IP 地理位置服务:
8
- * - IpGeoService: IP 地理位置查询服务
9
- * - IpGeoModule: NestJS 模块
10
- * - getContinentByCountry: 静态大洲映射函数
11
- *
12
- * @example
13
- * ```typescript
14
- * import { IpGeoModule, IpGeoService } from '@dofe/infra-shared-services';
15
- *
16
- * @Module({
17
- * imports: [IpGeoModule],
18
- * })
19
- * export class MyModule {}
20
- *
21
- * @Injectable()
22
- * class MyService {
23
- * constructor(private readonly ipGeo: IpGeoService) {}
24
- *
25
- * async getRegion(ip: string) {
26
- * return await this.ipGeo.getContinent(ip);
27
- * }
28
- * }
29
- * ```
30
- *
31
- * @module ip-geo
32
- */
33
- var ip_geo_module_1 = require("./ip-geo.module");
34
- Object.defineProperty(exports, "IpGeoModule", { enumerable: true, get: function () { return ip_geo_module_1.IpGeoModule; } });
35
- var ip_geo_service_1 = require("./ip-geo.service");
36
- Object.defineProperty(exports, "IpGeoService", { enumerable: true, get: function () { return ip_geo_service_1.IpGeoService; } });
37
- var continent_mapping_1 = require("./continent-mapping");
38
- Object.defineProperty(exports, "getContinentByCountry", { enumerable: true, get: function () { return continent_mapping_1.getContinentByCountry; } });
39
- Object.defineProperty(exports, "CONTINENT_COUNTRIES", { enumerable: true, get: function () { return continent_mapping_1.CONTINENT_COUNTRIES; } });
40
- Object.defineProperty(exports, "COUNTRY_TO_CONTINENT", { enumerable: true, get: function () { return continent_mapping_1.COUNTRY_TO_CONTINENT; } });
41
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ip-geo/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,iDAA8C;AAArC,4GAAA,WAAW,OAAA;AACpB,mDAAgD;AAAvC,8GAAA,YAAY,OAAA;AACrB,yDAK6B;AAJ3B,0HAAA,qBAAqB,OAAA;AAErB,wHAAA,mBAAmB,OAAA;AACnB,yHAAA,oBAAoB,OAAA"}
@@ -1,7 +0,0 @@
1
- /**
2
- * IP Info Service - Public API
3
- */
4
- export { IpInfoService } from './ip-info.service';
5
- export { IpInfoClient, type IpInfoApiResponse } from './ip-info.client';
6
- export { IpInfoModule } from './ip-info.module';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ip-info/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IpInfoModule = exports.IpInfoClient = exports.IpInfoService = void 0;
4
- /**
5
- * IP Info Service - Public API
6
- */
7
- var ip_info_service_1 = require("./ip-info.service");
8
- Object.defineProperty(exports, "IpInfoService", { enumerable: true, get: function () { return ip_info_service_1.IpInfoService; } });
9
- var ip_info_client_1 = require("./ip-info.client");
10
- Object.defineProperty(exports, "IpInfoClient", { enumerable: true, get: function () { return ip_info_client_1.IpInfoClient; } });
11
- var ip_info_module_1 = require("./ip-info.module");
12
- Object.defineProperty(exports, "IpInfoModule", { enumerable: true, get: function () { return ip_info_module_1.IpInfoModule; } });
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ip-info/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,qDAAkD;AAAzC,gHAAA,aAAa,OAAA;AACtB,mDAAwE;AAA/D,8GAAA,YAAY,OAAA;AACrB,mDAAgD;AAAvC,8GAAA,YAAY,OAAA"}
@@ -1,33 +0,0 @@
1
- /**
2
- * @fileoverview OCR 服务导出
3
- *
4
- * 本模块提供 OCR 文本提取能力的统一封装。
5
- *
6
- * @module ocr
7
- *
8
- * @example
9
- * ```typescript
10
- * // 导入模块
11
- * import { OcrModule, OcrService } from '@app/shared-services/ocr';
12
- *
13
- * // 在 NestJS 模块中使用
14
- * @Module({
15
- * imports: [OcrModule],
16
- * })
17
- * export class MyModule {}
18
- *
19
- * // 在服务中注入使用
20
- * @Injectable()
21
- * class MyService {
22
- * constructor(private readonly ocrService: OcrService) {}
23
- *
24
- * async extractText(fileUrl: string) {
25
- * const result = await this.ocrService.extractText(fileUrl, 'pdf');
26
- * return result.text;
27
- * }
28
- * }
29
- * ```
30
- */
31
- export { OcrModule } from './ocr.module';
32
- export * from './ocr.service';
33
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ocr/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzC,cAAc,eAAe,CAAC"}
package/dist/ocr/index.js DELETED
@@ -1,53 +0,0 @@
1
- "use strict";
2
- /**
3
- * @fileoverview OCR 服务导出
4
- *
5
- * 本模块提供 OCR 文本提取能力的统一封装。
6
- *
7
- * @module ocr
8
- *
9
- * @example
10
- * ```typescript
11
- * // 导入模块
12
- * import { OcrModule, OcrService } from '@app/shared-services/ocr';
13
- *
14
- * // 在 NestJS 模块中使用
15
- * @Module({
16
- * imports: [OcrModule],
17
- * })
18
- * export class MyModule {}
19
- *
20
- * // 在服务中注入使用
21
- * @Injectable()
22
- * class MyService {
23
- * constructor(private readonly ocrService: OcrService) {}
24
- *
25
- * async extractText(fileUrl: string) {
26
- * const result = await this.ocrService.extractText(fileUrl, 'pdf');
27
- * return result.text;
28
- * }
29
- * }
30
- * ```
31
- */
32
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
33
- if (k2 === undefined) k2 = k;
34
- var desc = Object.getOwnPropertyDescriptor(m, k);
35
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
36
- desc = { enumerable: true, get: function() { return m[k]; } };
37
- }
38
- Object.defineProperty(o, k2, desc);
39
- }) : (function(o, m, k, k2) {
40
- if (k2 === undefined) k2 = k;
41
- o[k2] = m[k];
42
- }));
43
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
44
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
45
- };
46
- Object.defineProperty(exports, "__esModule", { value: true });
47
- exports.OcrModule = void 0;
48
- // 模块导出
49
- var ocr_module_1 = require("./ocr.module");
50
- Object.defineProperty(exports, "OcrModule", { enumerable: true, get: function () { return ocr_module_1.OcrModule; } });
51
- // 服务导出
52
- __exportStar(require("./ocr.service"), exports);
53
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ocr/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAElB,OAAO;AACP,gDAA8B"}
@@ -1,5 +0,0 @@
1
- export { SmsServiceModule } from './sms.module';
2
- export { SmsService } from './sms.service';
3
- export { SmsClientFactory } from './sms.factory';
4
- export * from './types';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD,cAAc,SAAS,CAAC"}
package/dist/sms/index.js DELETED
@@ -1,29 +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
- exports.SmsClientFactory = exports.SmsService = exports.SmsServiceModule = void 0;
18
- // Module
19
- var sms_module_1 = require("./sms.module");
20
- Object.defineProperty(exports, "SmsServiceModule", { enumerable: true, get: function () { return sms_module_1.SmsServiceModule; } });
21
- // Service
22
- var sms_service_1 = require("./sms.service");
23
- Object.defineProperty(exports, "SmsService", { enumerable: true, get: function () { return sms_service_1.SmsService; } });
24
- // Factory
25
- var sms_factory_1 = require("./sms.factory");
26
- Object.defineProperty(exports, "SmsClientFactory", { enumerable: true, get: function () { return sms_factory_1.SmsClientFactory; } });
27
- // Types (从 types.ts 导出,包含来自 @dofe/infra-clients 的 re-exports)
28
- __exportStar(require("./types"), exports);
29
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/sms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,SAAS;AACT,2CAAgD;AAAvC,8GAAA,gBAAgB,OAAA;AAEzB,UAAU;AACV,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AAEnB,UAAU;AACV,6CAAiD;AAAxC,+GAAA,gBAAgB,OAAA;AAEzB,8DAA8D;AAC9D,0CAAwB"}
@@ -1,45 +0,0 @@
1
- /**
2
- * @fileoverview 流式语音识别服务导出
3
- *
4
- * 本模块提供流式语音识别的业务服务。
5
- *
6
- * 核心功能:
7
- * - 创建和管理流式识别会话
8
- * - 实时音频数据传输
9
- * - 实时识别结果处理
10
- * - 与会议记录的集成
11
- *
12
- * @module streaming-asr
13
- *
14
- * @example
15
- * ```typescript
16
- * // 导入模块
17
- * import {
18
- * StreamingAsrServiceModule,
19
- * StreamingAsrService,
20
- * } from '@app/shared-services/streaming-asr';
21
- *
22
- * // 在 NestJS 模块中使用
23
- * @Module({
24
- * imports: [StreamingAsrServiceModule],
25
- * })
26
- * export class MyModule {}
27
- *
28
- * // 在服务中注入使用
29
- * @Injectable()
30
- * class MyService {
31
- * constructor(private readonly streamingAsr: StreamingAsrService) {}
32
- *
33
- * async startSession() {
34
- * const session = await this.streamingAsr.createSession({
35
- * userId: 'user-uuid',
36
- * });
37
- * return session;
38
- * }
39
- * }
40
- * ```
41
- */
42
- export { StreamingAsrServiceModule } from './streaming-asr.module';
43
- export * from './streaming-asr.service';
44
- export * from './types';
45
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/streaming-asr/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAGH,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGnE,cAAc,yBAAyB,CAAC;AAGxC,cAAc,SAAS,CAAC"}
@@ -1,66 +0,0 @@
1
- "use strict";
2
- /**
3
- * @fileoverview 流式语音识别服务导出
4
- *
5
- * 本模块提供流式语音识别的业务服务。
6
- *
7
- * 核心功能:
8
- * - 创建和管理流式识别会话
9
- * - 实时音频数据传输
10
- * - 实时识别结果处理
11
- * - 与会议记录的集成
12
- *
13
- * @module streaming-asr
14
- *
15
- * @example
16
- * ```typescript
17
- * // 导入模块
18
- * import {
19
- * StreamingAsrServiceModule,
20
- * StreamingAsrService,
21
- * } from '@app/shared-services/streaming-asr';
22
- *
23
- * // 在 NestJS 模块中使用
24
- * @Module({
25
- * imports: [StreamingAsrServiceModule],
26
- * })
27
- * export class MyModule {}
28
- *
29
- * // 在服务中注入使用
30
- * @Injectable()
31
- * class MyService {
32
- * constructor(private readonly streamingAsr: StreamingAsrService) {}
33
- *
34
- * async startSession() {
35
- * const session = await this.streamingAsr.createSession({
36
- * userId: 'user-uuid',
37
- * });
38
- * return session;
39
- * }
40
- * }
41
- * ```
42
- */
43
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
44
- if (k2 === undefined) k2 = k;
45
- var desc = Object.getOwnPropertyDescriptor(m, k);
46
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
47
- desc = { enumerable: true, get: function() { return m[k]; } };
48
- }
49
- Object.defineProperty(o, k2, desc);
50
- }) : (function(o, m, k, k2) {
51
- if (k2 === undefined) k2 = k;
52
- o[k2] = m[k];
53
- }));
54
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
55
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
56
- };
57
- Object.defineProperty(exports, "__esModule", { value: true });
58
- exports.StreamingAsrServiceModule = void 0;
59
- // 模块导出
60
- var streaming_asr_module_1 = require("./streaming-asr.module");
61
- Object.defineProperty(exports, "StreamingAsrServiceModule", { enumerable: true, get: function () { return streaming_asr_module_1.StreamingAsrServiceModule; } });
62
- // 服务导出
63
- __exportStar(require("./streaming-asr.service"), exports);
64
- // 类型导出
65
- __exportStar(require("./types"), exports);
66
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/streaming-asr/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA;AAElC,OAAO;AACP,0DAAwC;AAExC,OAAO;AACP,0CAAwB"}
@@ -1,7 +0,0 @@
1
- /**
2
- * System Health 模块导出
3
- */
4
- export { SystemHealthModule } from './system-health.module';
5
- export * from './system-health.service';
6
- export * from './system-health.controller';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/system-health/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system-health/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAC3B,0DAAwC;AACxC,6DAA2C"}
@@ -1,3 +0,0 @@
1
- export { UploaderModule } from './uploader.module';
2
- export { UploaderService, TokenRequest, SignatureData, } from './uploader.service';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/uploader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,eAAe,EACf,YAAY,EACZ,aAAa,GACd,MAAM,oBAAoB,CAAC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploaderService = exports.UploaderModule = void 0;
4
- var uploader_module_1 = require("./uploader.module");
5
- Object.defineProperty(exports, "UploaderModule", { enumerable: true, get: function () { return uploader_module_1.UploaderModule; } });
6
- var uploader_service_1 = require("./uploader.service");
7
- Object.defineProperty(exports, "UploaderService", { enumerable: true, get: function () { return uploader_service_1.UploaderService; } });
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/uploader/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,uDAI4B;AAH1B,mHAAA,eAAe,OAAA"}