@miguelmorales13/nestkit 0.26.0 → 0.28.0
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/dist/alerts/alert-on-failure.decorator.d.ts +5 -0
- package/dist/alerts/alert-sinks.d.ts +29 -0
- package/dist/alerts/alerts.module.d.ts +19 -0
- package/dist/alerts/alerts.options.d.ts +1 -0
- package/dist/alerts/alerts.service.d.ts +28 -0
- package/dist/alerts/alerts.types.d.ts +66 -0
- package/dist/alerts/index.cjs +276 -0
- package/dist/alerts/index.d.ts +10 -0
- package/dist/alerts/index.js +276 -0
- package/dist/alerts/logger-with-alerts.d.ts +18 -0
- package/dist/alerts/process-guards.d.ts +21 -0
- package/dist/alerts/runtime.d.ts +4 -0
- package/dist/audit/index.cjs +13 -13
- package/dist/audit/index.js +2 -2
- package/dist/auth/index.cjs +21 -21
- package/dist/auth/index.js +3 -3
- package/dist/auth/oauth/index.cjs +101 -101
- package/dist/auth/oauth/index.js +3 -3
- package/dist/bootstrap/apply-defaults.d.ts +9 -0
- package/dist/bootstrap/index.cjs +7 -6
- package/dist/bootstrap/index.js +6 -5
- package/dist/chunk-3TUMVLPJ.js +14 -0
- package/dist/{chunk-PA24P76K.js → chunk-45SW7FBE.js} +1 -1
- package/dist/{chunk-RF75KC63.cjs → chunk-47IYXZHW.cjs} +2 -2
- package/dist/{chunk-TUNDBBQF.js → chunk-4WWOKZIO.js} +4 -4
- package/dist/{chunk-2DUEQKOI.js → chunk-5LVGCTJ3.js} +4 -4
- package/dist/chunk-A6YGIZCQ.cjs +14 -0
- package/dist/chunk-A7FI6HXV.js +40 -0
- package/dist/chunk-CU4FUIVJ.cjs +8 -0
- package/dist/{chunk-FH5UNWWW.cjs → chunk-D35TBVRO.cjs} +4 -4
- package/dist/{chunk-4MGIQFAJ.js → chunk-D3DDJWUD.js} +5 -0
- package/dist/chunk-DVGPEBUL.js +8 -0
- package/dist/{chunk-VKOPDDCC.js → chunk-ENZ7LQRE.js} +1 -1
- package/dist/{chunk-3AUOOEQO.cjs → chunk-F77X4QUN.cjs} +2 -2
- package/dist/chunk-FBNV5X6C.js +61 -0
- package/dist/{chunk-APUFKA4K.cjs → chunk-FDZQCLLK.cjs} +6 -6
- package/dist/{chunk-DYHSOULW.js → chunk-IGSNB5BX.js} +1 -1
- package/dist/chunk-IVWPA6QH.cjs +90 -0
- package/dist/{chunk-LSDY6ETG.cjs → chunk-JJKGQNGD.cjs} +5 -5
- package/dist/{chunk-ALIKVFOV.cjs → chunk-JRFE7NSO.cjs} +12 -4
- package/dist/{chunk-HVHYZXBB.cjs → chunk-KNU5RN3O.cjs} +3 -3
- package/dist/{chunk-52IOOHNX.cjs → chunk-KQPJCVN3.cjs} +26 -26
- package/dist/chunk-LGFHLAY3.cjs +61 -0
- package/dist/{chunk-2REOCMUD.cjs → chunk-LRX7AMSS.cjs} +6 -1
- package/dist/{chunk-4PFAKLT3.js → chunk-MUWHGBIB.js} +1 -1
- package/dist/{chunk-ZJMLEP5H.js → chunk-NJYLQDB3.js} +1 -1
- package/dist/{chunk-IFNYRZP2.js → chunk-OSRH6KYZ.js} +4 -4
- package/dist/{chunk-6RAPVLJM.js → chunk-OTE77ONL.js} +1 -1
- package/dist/chunk-UDACUMLO.cjs +40 -0
- package/dist/{chunk-PFHHLB7B.js → chunk-UGAAJRPO.js} +10 -2
- package/dist/{chunk-SPTDXUED.cjs → chunk-URLDTS2Q.cjs} +2 -2
- package/dist/{chunk-W2T2VFLC.cjs → chunk-VALDHJOO.cjs} +5 -5
- package/dist/chunk-WFCQDOSN.js +90 -0
- package/dist/consent/consent.interceptor.d.ts +20 -0
- package/dist/consent/consent.module.d.ts +25 -0
- package/dist/consent/consent.options.d.ts +30 -0
- package/dist/consent/consent.port.d.ts +17 -0
- package/dist/consent/consent.service.d.ts +44 -0
- package/dist/consent/guard/index.cjs +13 -0
- package/dist/consent/guard/index.d.ts +31 -0
- package/dist/consent/guard/index.js +13 -0
- package/dist/consent/index.cjs +271 -0
- package/dist/consent/index.d.ts +13 -0
- package/dist/consent/index.js +271 -0
- package/dist/consent/memory.store.d.ts +7 -0
- package/dist/consent/shared/index.cjs +11 -0
- package/dist/consent/shared/index.d.ts +19 -0
- package/dist/consent/shared/index.js +11 -0
- package/dist/consent/typeorm.store.d.ts +22 -0
- package/dist/crud/index.cjs +4 -4
- package/dist/crud/index.js +3 -3
- package/dist/database/postgres/index.cjs +3 -3
- package/dist/database/postgres/index.js +2 -2
- package/dist/database/supabase/index.cjs +3 -3
- package/dist/database/supabase/index.js +2 -2
- package/dist/database/typeorm/index.cjs +2 -2
- package/dist/database/typeorm/index.js +1 -1
- package/dist/devices/device-check.interceptor.d.ts +20 -0
- package/dist/devices/devices.module.d.ts +28 -0
- package/dist/devices/devices.options.d.ts +53 -0
- package/dist/devices/devices.port.d.ts +62 -0
- package/dist/devices/devices.service.d.ts +58 -0
- package/dist/devices/index.cjs +327 -0
- package/dist/devices/index.d.ts +8 -0
- package/dist/devices/index.js +327 -0
- package/dist/devices/memory.store.d.ts +12 -0
- package/dist/email/index.cjs +2 -2
- package/dist/email/index.js +1 -1
- package/dist/email/nodemailer/index.cjs +2 -2
- package/dist/email/nodemailer/index.js +1 -1
- package/dist/email/resend/index.cjs +2 -2
- package/dist/email/resend/index.js +1 -1
- package/dist/entities/index.cjs +1 -1
- package/dist/entities/index.js +1 -1
- package/dist/errors/index.cjs +7 -7
- package/dist/errors/index.js +7 -7
- package/dist/events/buses.d.ts +27 -0
- package/dist/events/events.controller.d.ts +15 -0
- package/dist/events/events.module.d.ts +29 -0
- package/dist/events/events.options.d.ts +50 -0
- package/dist/events/events.service.d.ts +49 -0
- package/dist/events/events.types.d.ts +77 -0
- package/dist/events/index.cjs +557 -0
- package/dist/events/index.d.ts +10 -0
- package/dist/events/index.js +557 -0
- package/dist/events/memory-ticket.store.d.ts +9 -0
- package/dist/google-business/google-business-http.d.ts +41 -0
- package/dist/google-business/google-business.errors.d.ts +75 -0
- package/dist/google-business/google-business.mappers.d.ts +52 -0
- package/dist/google-business/google-business.module.d.ts +26 -0
- package/dist/google-business/google-business.options.d.ts +40 -0
- package/dist/google-business/google-business.ports.d.ts +18 -0
- package/dist/google-business/google-business.service.d.ts +120 -0
- package/dist/google-business/google-business.types.d.ts +155 -0
- package/dist/google-business/index.cjs +1025 -0
- package/dist/google-business/index.d.ts +15 -0
- package/dist/google-business/index.js +1025 -0
- package/dist/google-business/testing/google-simulator.d.ts +61 -0
- package/dist/hardening/body-limits.d.ts +24 -0
- package/dist/hardening/http.types.d.ts +26 -0
- package/dist/hardening/index.cjs +179 -0
- package/dist/hardening/index.d.ts +19 -0
- package/dist/hardening/index.js +179 -0
- package/dist/hardening/memory-rate-limit.store.d.ts +10 -0
- package/dist/hardening/origin-secret.d.ts +29 -0
- package/dist/hardening/rate-limit.decorator.d.ts +8 -0
- package/dist/hardening/rate-limit.guard.d.ts +18 -0
- package/dist/hardening/rate-limit.module.d.ts +23 -0
- package/dist/hardening/rate-limit.options.d.ts +35 -0
- package/dist/hardening/rate-limit.port.d.ts +11 -0
- package/dist/hardening/redis-rate-limit.store.d.ts +23 -0
- package/dist/hardening/trust-proxy.d.ts +22 -0
- package/dist/health/health.controller.d.ts +32 -0
- package/dist/health/health.module.d.ts +15 -0
- package/dist/health/health.options.d.ts +24 -0
- package/dist/health/index.cjs +103 -0
- package/dist/health/index.d.ts +5 -0
- package/dist/health/index.js +103 -0
- package/dist/i18n/index.cjs +3 -3
- package/dist/i18n/index.js +2 -2
- package/dist/idempotency/idempotency.interceptor.d.ts +1 -0
- package/dist/idempotency/idempotency.options.d.ts +15 -0
- package/dist/idempotency/index.cjs +214 -7
- package/dist/idempotency/index.d.ts +5 -0
- package/dist/idempotency/index.js +210 -3
- package/dist/idempotency/no-idempotency.decorator.d.ts +8 -0
- package/dist/idempotency/postgres.store.d.ts +49 -0
- package/dist/idempotency/redis.store.d.ts +59 -0
- package/dist/index.cjs +19 -18
- package/dist/index.js +32 -31
- package/dist/invoicing/index.cjs +2 -2
- package/dist/invoicing/index.js +1 -1
- package/dist/jobs/defer-job.d.ts +10 -0
- package/dist/jobs/index.cjs +318 -0
- package/dist/jobs/index.d.ts +8 -0
- package/dist/jobs/index.js +318 -0
- package/dist/jobs/jobs-admin.controller.d.ts +18 -0
- package/dist/jobs/jobs.module.d.ts +33 -0
- package/dist/jobs/jobs.options.d.ts +62 -0
- package/dist/jobs/jobs.service.d.ts +53 -0
- package/dist/jobs/jobs.sql.d.ts +11 -0
- package/dist/media/index.cjs +14 -14
- package/dist/media/index.js +1 -1
- package/dist/meta/index.cjs +3 -3
- package/dist/meta/index.js +1 -1
- package/dist/notifications/index.cjs +375 -0
- package/dist/notifications/index.d.ts +8 -0
- package/dist/notifications/index.js +375 -0
- package/dist/notifications/memory.stores.d.ts +23 -0
- package/dist/notifications/notifications.controller.d.ts +11 -0
- package/dist/notifications/notifications.module.d.ts +31 -0
- package/dist/notifications/notifications.options.d.ts +33 -0
- package/dist/notifications/notifications.port.d.ts +97 -0
- package/dist/notifications/notifier.service.d.ts +31 -0
- package/dist/payments/index.cjs +7 -7
- package/dist/payments/index.js +1 -1
- package/dist/pinterest/index.cjs +3 -3
- package/dist/pinterest/index.js +1 -1
- package/dist/privacy/anonymizer.d.ts +14 -0
- package/dist/privacy/index.cjs +768 -0
- package/dist/privacy/index.d.ts +13 -0
- package/dist/privacy/index.js +768 -0
- package/dist/privacy/memory.store.d.ts +15 -0
- package/dist/privacy/privacy.module.d.ts +30 -0
- package/dist/privacy/privacy.options.d.ts +43 -0
- package/dist/privacy/privacy.port.d.ts +25 -0
- package/dist/privacy/privacy.service.d.ts +69 -0
- package/dist/privacy/privacy.types.d.ts +125 -0
- package/dist/privacy/sql.d.ts +7 -0
- package/dist/privacy/sql.store.d.ts +21 -0
- package/dist/privacy/zip.d.ts +23 -0
- package/dist/push/index.cjs +13 -13
- package/dist/push/index.js +5 -5
- package/dist/resilience/alert-channels.d.ts +39 -0
- package/dist/resilience/alert-errors.interceptor.d.ts +10 -0
- package/dist/resilience/alert-on-failure.decorator.d.ts +10 -0
- package/dist/resilience/alert.service.d.ts +77 -0
- package/dist/resilience/index.cjs +863 -0
- package/dist/resilience/index.d.ts +18 -0
- package/dist/resilience/index.js +863 -0
- package/dist/resilience/memory-alert-store.d.ts +26 -0
- package/dist/resilience/provider-health.controller.d.ts +14 -0
- package/dist/resilience/provider-unavailable.exception.d.ts +11 -0
- package/dist/resilience/resilience.module.d.ts +34 -0
- package/dist/resilience/resilience.options.d.ts +28 -0
- package/dist/resilience/resilience.types.d.ts +167 -0
- package/dist/resilience/resilient-fetch.d.ts +38 -0
- package/dist/resilience/runtime.d.ts +24 -0
- package/dist/resilience/typeorm/alert.entity.d.ts +21 -0
- package/dist/resilience/typeorm/index.cjs +102 -0
- package/dist/resilience/typeorm/index.d.ts +3 -0
- package/dist/resilience/typeorm/index.js +102 -0
- package/dist/resilience/typeorm/typeorm-alert-store.d.ts +39 -0
- package/dist/resilience/validate-destination.d.ts +63 -0
- package/dist/response/index.cjs +3 -3
- package/dist/response/index.js +2 -2
- package/dist/scheduling/cron-lock.service.d.ts +36 -0
- package/dist/scheduling/cron-unico.decorator.d.ts +27 -0
- package/dist/scheduling/fallback.store.d.ts +34 -0
- package/dist/scheduling/index.cjs +392 -0
- package/dist/scheduling/index.d.ts +18 -0
- package/dist/scheduling/index.js +392 -0
- package/dist/scheduling/lock-store.port.d.ts +19 -0
- package/dist/scheduling/memory.store.d.ts +15 -0
- package/dist/scheduling/redis.module.d.ts +31 -0
- package/dist/scheduling/redis.store.d.ts +24 -0
- package/dist/scheduling/scheduling.module.d.ts +24 -0
- package/dist/scheduling/scheduling.options.d.ts +27 -0
- package/dist/scheduling/sql.store.d.ts +26 -0
- package/dist/secrets/index.cjs +274 -0
- package/dist/secrets/index.d.ts +8 -0
- package/dist/secrets/index.js +274 -0
- package/dist/secrets/secrets.errors.d.ts +6 -0
- package/dist/secrets/secrets.module.d.ts +21 -0
- package/dist/secrets/secrets.options.d.ts +32 -0
- package/dist/secrets/secrets.service.d.ts +54 -0
- package/dist/secrets/secrets.transformer.d.ts +33 -0
- package/dist/security/hash.d.ts +8 -0
- package/dist/security/index.cjs +119 -2
- package/dist/security/index.d.ts +5 -0
- package/dist/security/index.js +119 -2
- package/dist/security/mask.d.ts +22 -0
- package/dist/security/signed-grant.d.ts +30 -0
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/stripe/index.cjs +7 -7
- package/dist/stripe/index.js +1 -1
- package/dist/telegram/index.cjs +2 -2
- package/dist/telegram/index.js +1 -1
- package/dist/tenancy/app-role.d.ts +24 -0
- package/dist/tenancy/db-helpers.d.ts +12 -0
- package/dist/tenancy/index.cjs +205 -0
- package/dist/tenancy/index.d.ts +14 -0
- package/dist/tenancy/index.js +205 -0
- package/dist/tenancy/pg/index.cjs +34 -0
- package/dist/tenancy/pg/index.d.ts +2 -0
- package/dist/tenancy/pg/index.js +34 -0
- package/dist/tenancy/pg/with-tenant.d.ts +23 -0
- package/dist/tenancy/request-context.d.ts +18 -0
- package/dist/tenancy/rls-guardrail.d.ts +38 -0
- package/dist/tenancy/scope.d.ts +5 -0
- package/dist/tenancy/tenancy.errors.d.ts +5 -0
- package/dist/tenancy/tenancy.middleware.d.ts +8 -0
- package/dist/tenancy/tenancy.module.d.ts +37 -0
- package/dist/tenancy/tenancy.options.d.ts +34 -0
- package/dist/tenancy/typeorm/index.cjs +41 -0
- package/dist/tenancy/typeorm/index.d.ts +2 -0
- package/dist/tenancy/typeorm/index.js +41 -0
- package/dist/tenancy/typeorm/with-tenant.d.ts +23 -0
- package/dist/tiktok/index.cjs +3 -3
- package/dist/tiktok/index.js +1 -1
- package/dist/tracking/index.cjs +3 -3
- package/dist/tracking/index.js +2 -2
- package/dist/umami/index.cjs +4 -4
- package/dist/umami/index.js +1 -1
- package/dist/whatsapp/index.cjs +2 -2
- package/dist/whatsapp/index.js +1 -1
- package/package.json +107 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkLGFHLAY3cjs = require('../../chunk-LGFHLAY3.cjs');
|
|
4
|
+
require('../../chunk-LRX7AMSS.cjs');
|
|
5
|
+
|
|
6
|
+
// src/tenancy/typeorm/with-tenant.ts
|
|
7
|
+
async function run(ds, isolation, scope, fn, options) {
|
|
8
|
+
const runner = ds.createQueryRunner();
|
|
9
|
+
await runner.connect();
|
|
10
|
+
try {
|
|
11
|
+
await runner.startTransaction(isolation);
|
|
12
|
+
} catch (error) {
|
|
13
|
+
await runner.release();
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
if (isolation) await runner.query("SET TRANSACTION READ ONLY");
|
|
18
|
+
await _chunkLGFHLAY3cjs.applyScope.call(void 0, (sql, params) => runner.query(sql, params), scope, options);
|
|
19
|
+
const result = await fn(runner.manager);
|
|
20
|
+
await runner.commitTransaction();
|
|
21
|
+
return result;
|
|
22
|
+
} catch (error) {
|
|
23
|
+
try {
|
|
24
|
+
await runner.rollbackTransaction();
|
|
25
|
+
} catch (e) {
|
|
26
|
+
}
|
|
27
|
+
throw error;
|
|
28
|
+
} finally {
|
|
29
|
+
await runner.release();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function withTenant(ds, scope, fn, options) {
|
|
33
|
+
return run(ds, void 0, scope, fn, options);
|
|
34
|
+
}
|
|
35
|
+
function withTenantSnapshot(ds, scope, fn, options) {
|
|
36
|
+
return run(ds, "REPEATABLE READ", scope, fn, options);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
exports.withTenant = withTenant; exports.withTenantSnapshot = withTenantSnapshot;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
applyScope
|
|
3
|
+
} from "../../chunk-FBNV5X6C.js";
|
|
4
|
+
import "../../chunk-D3DDJWUD.js";
|
|
5
|
+
|
|
6
|
+
// src/tenancy/typeorm/with-tenant.ts
|
|
7
|
+
async function run(ds, isolation, scope, fn, options) {
|
|
8
|
+
const runner = ds.createQueryRunner();
|
|
9
|
+
await runner.connect();
|
|
10
|
+
try {
|
|
11
|
+
await runner.startTransaction(isolation);
|
|
12
|
+
} catch (error) {
|
|
13
|
+
await runner.release();
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
if (isolation) await runner.query("SET TRANSACTION READ ONLY");
|
|
18
|
+
await applyScope((sql, params) => runner.query(sql, params), scope, options);
|
|
19
|
+
const result = await fn(runner.manager);
|
|
20
|
+
await runner.commitTransaction();
|
|
21
|
+
return result;
|
|
22
|
+
} catch (error) {
|
|
23
|
+
try {
|
|
24
|
+
await runner.rollbackTransaction();
|
|
25
|
+
} catch {
|
|
26
|
+
}
|
|
27
|
+
throw error;
|
|
28
|
+
} finally {
|
|
29
|
+
await runner.release();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function withTenant(ds, scope, fn, options) {
|
|
33
|
+
return run(ds, void 0, scope, fn, options);
|
|
34
|
+
}
|
|
35
|
+
function withTenantSnapshot(ds, scope, fn, options) {
|
|
36
|
+
return run(ds, "REPEATABLE READ", scope, fn, options);
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
withTenant,
|
|
40
|
+
withTenantSnapshot
|
|
41
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ScopeOptions, TenantScope } from '../tenancy.options.js';
|
|
2
|
+
/** Structural `EntityManager`: the caller gets their real one back through the generic. */
|
|
3
|
+
export interface QueryRunnerLike<M = any> {
|
|
4
|
+
manager: M;
|
|
5
|
+
connect(): Promise<unknown>;
|
|
6
|
+
startTransaction(isolationLevel?: string): Promise<void>;
|
|
7
|
+
commitTransaction(): Promise<void>;
|
|
8
|
+
rollbackTransaction(): Promise<void>;
|
|
9
|
+
release(): Promise<void>;
|
|
10
|
+
query(sql: string, params?: any[]): Promise<unknown>;
|
|
11
|
+
}
|
|
12
|
+
/** Structural `DataSource`. */
|
|
13
|
+
export interface DataSourceLike<M = any> {
|
|
14
|
+
createQueryRunner(): QueryRunnerLike<M>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* TypeORM flavour. Same contract as `database/typeorm#withTenantScope` but takes `{tenantId,
|
|
18
|
+
* actorId}` + GUC names instead of a free-form map, and fails closed without a tenant. The manager
|
|
19
|
+
* handed to `fn` is bound to that one connection/transaction: never leak it past the callback.
|
|
20
|
+
*/
|
|
21
|
+
export declare function withTenant<T, M = any>(ds: DataSourceLike<M>, scope: TenantScope, fn: (manager: M) => Promise<T>, options?: ScopeOptions): Promise<T>;
|
|
22
|
+
/** Read-only `REPEATABLE READ` snapshot (see the `pg` flavour). */
|
|
23
|
+
export declare function withTenantSnapshot<T, M = any>(ds: DataSourceLike<M>, scope: TenantScope, fn: (manager: M) => Promise<T>, options?: ScopeOptions): Promise<T>;
|
package/dist/tiktok/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLRX7AMSScjs = require('../chunk-LRX7AMSS.cjs');
|
|
4
4
|
|
|
5
5
|
// src/tiktok/tiktok.service.ts
|
|
6
6
|
var _common = require('@nestjs/common');
|
|
@@ -126,7 +126,7 @@ var TikTokService = class {
|
|
|
126
126
|
return json.data;
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
TikTokService = exports.TikTokService =
|
|
129
|
+
TikTokService = exports.TikTokService = _chunkLRX7AMSScjs.__decorateClass.call(void 0, [
|
|
130
130
|
_common.Injectable.call(void 0, )
|
|
131
131
|
], TikTokService);
|
|
132
132
|
|
|
@@ -156,7 +156,7 @@ var TikTokModule = class {
|
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
-
TikTokModule = exports.TikTokModule =
|
|
159
|
+
TikTokModule = exports.TikTokModule = _chunkLRX7AMSScjs.__decorateClass.call(void 0, [
|
|
160
160
|
_common.Module.call(void 0, {})
|
|
161
161
|
], TikTokModule);
|
|
162
162
|
|
package/dist/tiktok/index.js
CHANGED
package/dist/tracking/index.cjs
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKNU5RN3Ocjs = require('../chunk-KNU5RN3O.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkSDWHKPXIcjs = require('../chunk-SDWHKPXI.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-LRX7AMSS.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.REQUEST_ID_HEADER =
|
|
15
|
+
exports.REQUEST_ID_HEADER = _chunkKNU5RN3Ocjs.REQUEST_ID_HEADER; exports.RequestContext = _chunkSDWHKPXIcjs.RequestContext; exports.RequestIdMiddleware = _chunkKNU5RN3Ocjs.RequestIdMiddleware; exports.TrackingModule = _chunkKNU5RN3Ocjs.TrackingModule;
|
package/dist/tracking/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
REQUEST_ID_HEADER,
|
|
3
3
|
RequestIdMiddleware,
|
|
4
4
|
TrackingModule
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-MUWHGBIB.js";
|
|
6
6
|
import {
|
|
7
7
|
RequestContext
|
|
8
8
|
} from "../chunk-ETRUVZTJ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-D3DDJWUD.js";
|
|
10
10
|
export {
|
|
11
11
|
REQUEST_ID_HEADER,
|
|
12
12
|
RequestContext,
|
package/dist/umami/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLRX7AMSScjs = require('../chunk-LRX7AMSS.cjs');
|
|
5
5
|
|
|
6
6
|
// src/umami/umami.module.ts
|
|
7
7
|
var _common = require('@nestjs/common');
|
|
@@ -81,9 +81,9 @@ var UmamiService = class {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
UmamiService = exports.UmamiService =
|
|
84
|
+
UmamiService = exports.UmamiService = _chunkLRX7AMSScjs.__decorateClass.call(void 0, [
|
|
85
85
|
_common.Injectable.call(void 0, ),
|
|
86
|
-
|
|
86
|
+
_chunkLRX7AMSScjs.__decorateParam.call(void 0, 0, _common.Inject.call(void 0, UMAMI_OPTIONS))
|
|
87
87
|
], UmamiService);
|
|
88
88
|
|
|
89
89
|
// src/umami/umami.module.ts
|
|
@@ -99,7 +99,7 @@ var UmamiModule = class {
|
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
|
-
UmamiModule = exports.UmamiModule =
|
|
102
|
+
UmamiModule = exports.UmamiModule = _chunkLRX7AMSScjs.__decorateClass.call(void 0, [
|
|
103
103
|
_common.Module.call(void 0, {})
|
|
104
104
|
], UmamiModule);
|
|
105
105
|
|
package/dist/umami/index.js
CHANGED
package/dist/whatsapp/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLRX7AMSScjs = require('../chunk-LRX7AMSS.cjs');
|
|
4
4
|
|
|
5
5
|
// src/whatsapp/whatsapp.module.ts
|
|
6
6
|
var _common = require('@nestjs/common');
|
|
@@ -46,7 +46,7 @@ function requireEnv(name) {
|
|
|
46
46
|
}
|
|
47
47
|
var WhatsAppModule = class {
|
|
48
48
|
};
|
|
49
|
-
WhatsAppModule = exports.WhatsAppModule =
|
|
49
|
+
WhatsAppModule = exports.WhatsAppModule = _chunkLRX7AMSScjs.__decorateClass.call(void 0, [
|
|
50
50
|
_common.Module.call(void 0, {
|
|
51
51
|
providers: [
|
|
52
52
|
{
|
package/dist/whatsapp/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miguelmorales13/nestkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -175,6 +175,101 @@
|
|
|
175
175
|
"types": "./dist/audit/index.d.ts",
|
|
176
176
|
"import": "./dist/audit/index.js",
|
|
177
177
|
"require": "./dist/audit/index.cjs"
|
|
178
|
+
},
|
|
179
|
+
"./consent": {
|
|
180
|
+
"types": "./dist/consent/index.d.ts",
|
|
181
|
+
"import": "./dist/consent/index.js",
|
|
182
|
+
"require": "./dist/consent/index.cjs"
|
|
183
|
+
},
|
|
184
|
+
"./consent/shared": {
|
|
185
|
+
"types": "./dist/consent/shared/index.d.ts",
|
|
186
|
+
"import": "./dist/consent/shared/index.js",
|
|
187
|
+
"require": "./dist/consent/shared/index.cjs"
|
|
188
|
+
},
|
|
189
|
+
"./consent/guard": {
|
|
190
|
+
"types": "./dist/consent/guard/index.d.ts",
|
|
191
|
+
"import": "./dist/consent/guard/index.js",
|
|
192
|
+
"require": "./dist/consent/guard/index.cjs"
|
|
193
|
+
},
|
|
194
|
+
"./resilience": {
|
|
195
|
+
"types": "./dist/resilience/index.d.ts",
|
|
196
|
+
"import": "./dist/resilience/index.js",
|
|
197
|
+
"require": "./dist/resilience/index.cjs"
|
|
198
|
+
},
|
|
199
|
+
"./resilience/typeorm": {
|
|
200
|
+
"types": "./dist/resilience/typeorm/index.d.ts",
|
|
201
|
+
"import": "./dist/resilience/typeorm/index.js",
|
|
202
|
+
"require": "./dist/resilience/typeorm/index.cjs"
|
|
203
|
+
},
|
|
204
|
+
"./google-business": {
|
|
205
|
+
"types": "./dist/google-business/index.d.ts",
|
|
206
|
+
"import": "./dist/google-business/index.js",
|
|
207
|
+
"require": "./dist/google-business/index.cjs"
|
|
208
|
+
},
|
|
209
|
+
"./scheduling": {
|
|
210
|
+
"types": "./dist/scheduling/index.d.ts",
|
|
211
|
+
"import": "./dist/scheduling/index.js",
|
|
212
|
+
"require": "./dist/scheduling/index.cjs"
|
|
213
|
+
},
|
|
214
|
+
"./secrets": {
|
|
215
|
+
"types": "./dist/secrets/index.d.ts",
|
|
216
|
+
"import": "./dist/secrets/index.js",
|
|
217
|
+
"require": "./dist/secrets/index.cjs"
|
|
218
|
+
},
|
|
219
|
+
"./alerts": {
|
|
220
|
+
"types": "./dist/alerts/index.d.ts",
|
|
221
|
+
"import": "./dist/alerts/index.js",
|
|
222
|
+
"require": "./dist/alerts/index.cjs"
|
|
223
|
+
},
|
|
224
|
+
"./hardening": {
|
|
225
|
+
"types": "./dist/hardening/index.d.ts",
|
|
226
|
+
"import": "./dist/hardening/index.js",
|
|
227
|
+
"require": "./dist/hardening/index.cjs"
|
|
228
|
+
},
|
|
229
|
+
"./health": {
|
|
230
|
+
"types": "./dist/health/index.d.ts",
|
|
231
|
+
"import": "./dist/health/index.js",
|
|
232
|
+
"require": "./dist/health/index.cjs"
|
|
233
|
+
},
|
|
234
|
+
"./tenancy": {
|
|
235
|
+
"types": "./dist/tenancy/index.d.ts",
|
|
236
|
+
"import": "./dist/tenancy/index.js",
|
|
237
|
+
"require": "./dist/tenancy/index.cjs"
|
|
238
|
+
},
|
|
239
|
+
"./tenancy/pg": {
|
|
240
|
+
"types": "./dist/tenancy/pg/index.d.ts",
|
|
241
|
+
"import": "./dist/tenancy/pg/index.js",
|
|
242
|
+
"require": "./dist/tenancy/pg/index.cjs"
|
|
243
|
+
},
|
|
244
|
+
"./tenancy/typeorm": {
|
|
245
|
+
"types": "./dist/tenancy/typeorm/index.d.ts",
|
|
246
|
+
"import": "./dist/tenancy/typeorm/index.js",
|
|
247
|
+
"require": "./dist/tenancy/typeorm/index.cjs"
|
|
248
|
+
},
|
|
249
|
+
"./jobs": {
|
|
250
|
+
"types": "./dist/jobs/index.d.ts",
|
|
251
|
+
"import": "./dist/jobs/index.js",
|
|
252
|
+
"require": "./dist/jobs/index.cjs"
|
|
253
|
+
},
|
|
254
|
+
"./events": {
|
|
255
|
+
"types": "./dist/events/index.d.ts",
|
|
256
|
+
"import": "./dist/events/index.js",
|
|
257
|
+
"require": "./dist/events/index.cjs"
|
|
258
|
+
},
|
|
259
|
+
"./notifications": {
|
|
260
|
+
"types": "./dist/notifications/index.d.ts",
|
|
261
|
+
"import": "./dist/notifications/index.js",
|
|
262
|
+
"require": "./dist/notifications/index.cjs"
|
|
263
|
+
},
|
|
264
|
+
"./devices": {
|
|
265
|
+
"types": "./dist/devices/index.d.ts",
|
|
266
|
+
"import": "./dist/devices/index.js",
|
|
267
|
+
"require": "./dist/devices/index.cjs"
|
|
268
|
+
},
|
|
269
|
+
"./privacy": {
|
|
270
|
+
"types": "./dist/privacy/index.d.ts",
|
|
271
|
+
"import": "./dist/privacy/index.js",
|
|
272
|
+
"require": "./dist/privacy/index.cjs"
|
|
178
273
|
}
|
|
179
274
|
},
|
|
180
275
|
"scripts": {
|
|
@@ -203,7 +298,9 @@
|
|
|
203
298
|
"@aws-sdk/lib-storage": "^3.0.0",
|
|
204
299
|
"typeorm": "^0.3.0 || ^1.0.0",
|
|
205
300
|
"@simplewebauthn/server": "^13.0.0 || ^14.0.0",
|
|
206
|
-
"web-push": "^3.6.0"
|
|
301
|
+
"web-push": "^3.6.0",
|
|
302
|
+
"@nestjs/schedule": "",
|
|
303
|
+
"undici": ""
|
|
207
304
|
},
|
|
208
305
|
"peerDependenciesMeta": {
|
|
209
306
|
"web-push": {
|
|
@@ -253,6 +350,12 @@
|
|
|
253
350
|
},
|
|
254
351
|
"typeorm": {
|
|
255
352
|
"optional": true
|
|
353
|
+
},
|
|
354
|
+
"@nestjs/schedule": {
|
|
355
|
+
"optional": true
|
|
356
|
+
},
|
|
357
|
+
"undici": {
|
|
358
|
+
"optional": true
|
|
256
359
|
}
|
|
257
360
|
},
|
|
258
361
|
"dependencies": {
|
|
@@ -266,6 +369,7 @@
|
|
|
266
369
|
"@aws-sdk/s3-request-presigner": "^3.1121.0",
|
|
267
370
|
"@nestjs/common": "^11.0.0",
|
|
268
371
|
"@nestjs/core": "^11.0.0",
|
|
372
|
+
"@nestjs/schedule": "^6.0.0",
|
|
269
373
|
"@nestjs/swagger": "^11.0.0",
|
|
270
374
|
"@simplewebauthn/server": "^14.0.2",
|
|
271
375
|
"@supabase/supabase-js": "^2.45.0",
|
|
@@ -290,6 +394,7 @@
|
|
|
290
394
|
"tsup": "^8.5.1",
|
|
291
395
|
"typeorm": "^1.1.0",
|
|
292
396
|
"typescript": "^5.6.0",
|
|
397
|
+
"undici": "^7.0.0",
|
|
293
398
|
"web-push": "^3.6.7"
|
|
294
399
|
},
|
|
295
400
|
"overrides": {
|