@m5kdev/frontend 0.8.0 → 0.8.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.
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +79 -0
- package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +580 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +14 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +10 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +289 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +86 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +101 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +19 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +30 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +23 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +153 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +91 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +6 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +35 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +43 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +73 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +26 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +54 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +77 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +17 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +426 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +11 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +8 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +29 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +21 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +49 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +18 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +68 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +183 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +27 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +25 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +12 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +66 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +15 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +51 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +20 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +13 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +13 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.ts +31 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/unstable-core-do-not-import.d-ClFRzVsT.d.ts +912 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/unstable-core-do-not-import.d-ClFRzVsT.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/batch.d.ts +9 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/batch.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/cache.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/cache.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/types.d.ts +37 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/casing.d.ts +17 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/casing.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column-builder.d.ts +116 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column-builder.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column.d.ts +69 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/entity.d.ts +5 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/entity.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/columns/common.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/libsql/driver-core.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/libsql/driver-core.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/migrator.d.ts +15 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/migrator.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/columns/common.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/operations.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/operations.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/columns/common.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/sequence.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/sequence.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/query-builder.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/query-builder.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/select.types.d.ts +38 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/select.types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-promise.d.ts +14 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-promise.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/relations.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/relations.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/runnable-query.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/runnable-query.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/session.d.ts +10 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/session.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/columns/common.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/conditions.d.ts +287 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/conditions.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/select.d.ts +43 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/select.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/sql.d.ts +225 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/sql.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/columns/common.d.ts +18 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/columns/common.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/db.d.ts +258 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/db.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/dialect.d.ts +132 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/dialect.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/indexes.d.ts +8 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/indexes.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/count.d.ts +31 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/count.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/delete.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/delete.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/insert.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/insert.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query.d.ts +60 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/raw.d.ts +34 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/raw.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.d.ts +476 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/update.d.ts +154 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/update.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/session.d.ts +112 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/session.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/subquery.d.ts +23 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/subquery.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view-base.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view-base.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view.d.ts +21 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/subquery.d.ts +24 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/subquery.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/table.d.ts +71 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/table.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/utils.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/utils.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.internal.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +299 -0
- package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +132 -0
- package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +766 -0
- package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/resend@6.5.2_@react-email_render@2.0.0_react-dom@19.2.1_react@19.2.1__react@19.2.1_/node_modules/resend/dist/index.d.ts +1295 -0
- package/dist/node_modules/.pnpm/resend@6.5.2_@react-email_render@2.0.0_react-dom@19.2.1_react@19.2.1__react@19.2.1_/node_modules/resend/dist/index.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +55 -0
- package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts.map +1 -0
- package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +573 -0
- package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +610 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +71 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +8 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +2455 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +106 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +30 -0
- package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +38 -0
- package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +13 -0
- package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.grants.d.ts +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +47 -0
- package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +126 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +34 -0
- package/dist/packages/backend/dist/src/modules/base/base.service.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +6 -0
- package/dist/packages/backend/dist/src/modules/base/base.types.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +2788 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +53 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +63 -0
- package/dist/packages/backend/dist/src/modules/email/email.service.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/types.d.ts +344 -0
- package/dist/packages/backend/dist/src/types.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/utils/errors.d.ts +60 -0
- package/dist/packages/backend/dist/src/utils/errors.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/utils/logger.d.ts +8 -0
- package/dist/packages/backend/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/packages/backend/dist/src/utils/trpc.d.ts +23 -0
- package/dist/packages/backend/dist/src/utils/trpc.d.ts.map +1 -0
- package/dist/src/modules/billing/hooks/useSubscription.d.ts +3 -1
- package/dist/src/modules/billing/hooks/useSubscription.d.ts.map +1 -1
- package/dist/src/types.d.ts +1 -1
- package/package.json +22 -22
|
@@ -0,0 +1,1295 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/resend@6.5.2_@react-email+render@2.0.0_react-dom@19.2.1_react@19.2.1__react@19.2.1_/node_modules/resend/dist/index.d.mts
|
|
4
|
+
//#region src/api-keys/interfaces/api-key.d.ts
|
|
5
|
+
interface ApiKey {
|
|
6
|
+
created_at: string;
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
} //#endregion
|
|
10
|
+
//#region src/domains/interfaces/domain.d.ts
|
|
11
|
+
type DomainRegion = 'us-east-1' | 'eu-west-1' | 'sa-east-1' | 'ap-northeast-1';
|
|
12
|
+
type DomainCapabilityStatus = 'enabled' | 'disabled';
|
|
13
|
+
interface DomainCapabilities {
|
|
14
|
+
sending: DomainCapabilityStatus;
|
|
15
|
+
receiving: DomainCapabilityStatus;
|
|
16
|
+
}
|
|
17
|
+
type DomainStatus = 'pending' | 'verified' | 'failed' | 'temporary_failure' | 'not_started';
|
|
18
|
+
type DomainRecords = DomainSpfRecord | DomainDkimRecord | ReceivingRecord;
|
|
19
|
+
interface DomainSpfRecord {
|
|
20
|
+
record: 'SPF';
|
|
21
|
+
name: string;
|
|
22
|
+
value: string;
|
|
23
|
+
type: 'MX' | 'TXT';
|
|
24
|
+
ttl: string;
|
|
25
|
+
status: DomainStatus;
|
|
26
|
+
routing_policy?: string;
|
|
27
|
+
priority?: number;
|
|
28
|
+
proxy_status?: 'enable' | 'disable';
|
|
29
|
+
}
|
|
30
|
+
interface DomainDkimRecord {
|
|
31
|
+
record: 'DKIM';
|
|
32
|
+
name: string;
|
|
33
|
+
value: string;
|
|
34
|
+
type: 'CNAME' | 'TXT';
|
|
35
|
+
ttl: string;
|
|
36
|
+
status: DomainStatus;
|
|
37
|
+
routing_policy?: string;
|
|
38
|
+
priority?: number;
|
|
39
|
+
proxy_status?: 'enable' | 'disable';
|
|
40
|
+
}
|
|
41
|
+
interface ReceivingRecord {
|
|
42
|
+
record: 'Receiving';
|
|
43
|
+
name: string;
|
|
44
|
+
value: string;
|
|
45
|
+
type: 'MX';
|
|
46
|
+
ttl: string;
|
|
47
|
+
status: DomainStatus;
|
|
48
|
+
priority: number;
|
|
49
|
+
}
|
|
50
|
+
interface Domain {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
status: DomainStatus;
|
|
54
|
+
created_at: string;
|
|
55
|
+
region: DomainRegion;
|
|
56
|
+
capabilities: DomainCapabilities;
|
|
57
|
+
} //#endregion
|
|
58
|
+
//#region src/common/interfaces/domain-api-options.interface.d.ts
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/interfaces.d.ts
|
|
61
|
+
type RESEND_ERROR_CODE_KEY = 'missing_required_field' | 'invalid_idempotency_key' | 'invalid_idempotent_request' | 'concurrent_idempotent_requests' | 'invalid_access' | 'invalid_parameter' | 'invalid_region' | 'rate_limit_exceeded' | 'missing_api_key' | 'invalid_api_key' | 'suspended_api_key' | 'invalid_from_address' | 'validation_error' | 'not_found' | 'method_not_allowed' | 'application_error' | 'internal_server_error';
|
|
62
|
+
type Response<T> = ({
|
|
63
|
+
data: T;
|
|
64
|
+
error: null;
|
|
65
|
+
} | {
|
|
66
|
+
error: ErrorResponse;
|
|
67
|
+
data: null;
|
|
68
|
+
}) & {
|
|
69
|
+
headers: Record<string, string> | null;
|
|
70
|
+
};
|
|
71
|
+
type ErrorResponse = {
|
|
72
|
+
message: string;
|
|
73
|
+
statusCode: number | null;
|
|
74
|
+
name: RESEND_ERROR_CODE_KEY;
|
|
75
|
+
};
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region src/common/interfaces/get-option.interface.d.ts
|
|
78
|
+
interface GetOptions {
|
|
79
|
+
query?: Record<string, unknown>;
|
|
80
|
+
headers?: HeadersInit;
|
|
81
|
+
} //#endregion
|
|
82
|
+
//#region src/common/interfaces/idempotent-request.interface.d.ts
|
|
83
|
+
interface IdempotentRequest {
|
|
84
|
+
/**
|
|
85
|
+
* Unique key that ensures the same operation is not processed multiple times.
|
|
86
|
+
* Allows for safe retries without duplicating operations.
|
|
87
|
+
* If provided, will be sent as the `Idempotency-Key` header.
|
|
88
|
+
*/
|
|
89
|
+
idempotencyKey?: string;
|
|
90
|
+
} //#endregion
|
|
91
|
+
//#region src/common/interfaces/pagination-options.interface.d.ts
|
|
92
|
+
type PaginationOptions = {
|
|
93
|
+
/**
|
|
94
|
+
* Maximum number of items to return (1-100, default: 20)
|
|
95
|
+
*/
|
|
96
|
+
limit?: number;
|
|
97
|
+
} & ({
|
|
98
|
+
/**
|
|
99
|
+
* Get items after this cursor (cannot be used with 'before')
|
|
100
|
+
*/
|
|
101
|
+
after?: string;
|
|
102
|
+
before?: never;
|
|
103
|
+
} | {
|
|
104
|
+
/**
|
|
105
|
+
* Get items before this cursor (cannot be used with 'after')
|
|
106
|
+
*/
|
|
107
|
+
before?: string;
|
|
108
|
+
after?: never;
|
|
109
|
+
});
|
|
110
|
+
type PaginatedData<Data> = {
|
|
111
|
+
object: 'list';
|
|
112
|
+
data: Data;
|
|
113
|
+
has_more: boolean;
|
|
114
|
+
}; //#endregion
|
|
115
|
+
//#region src/common/interfaces/patch-option.interface.d.ts
|
|
116
|
+
interface PatchOptions {
|
|
117
|
+
query?: {
|
|
118
|
+
[key: string]: unknown;
|
|
119
|
+
};
|
|
120
|
+
headers?: HeadersInit;
|
|
121
|
+
} //#endregion
|
|
122
|
+
//#region src/common/interfaces/post-option.interface.d.ts
|
|
123
|
+
interface PostOptions {
|
|
124
|
+
query?: {
|
|
125
|
+
[key: string]: unknown;
|
|
126
|
+
};
|
|
127
|
+
headers?: HeadersInit;
|
|
128
|
+
} //#endregion
|
|
129
|
+
//#region src/common/interfaces/put-option.interface.d.ts
|
|
130
|
+
interface PutOptions {
|
|
131
|
+
query?: {
|
|
132
|
+
[key: string]: unknown;
|
|
133
|
+
};
|
|
134
|
+
headers?: HeadersInit;
|
|
135
|
+
} //#endregion
|
|
136
|
+
//#region src/common/interfaces/require-at-least-one.d.ts
|
|
137
|
+
type RequireAtLeastOne<T> = { [K in keyof T]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<keyof T, K>>> }[keyof T]; //#endregion
|
|
138
|
+
//#region src/api-keys/interfaces/create-api-key-options.interface.d.ts
|
|
139
|
+
interface CreateApiKeyOptions {
|
|
140
|
+
name: string;
|
|
141
|
+
permission?: 'full_access' | 'sending_access';
|
|
142
|
+
domain_id?: string;
|
|
143
|
+
}
|
|
144
|
+
interface CreateApiKeyRequestOptions extends PostOptions {}
|
|
145
|
+
interface CreateApiKeyResponseSuccess {
|
|
146
|
+
token: string;
|
|
147
|
+
id: string;
|
|
148
|
+
}
|
|
149
|
+
type CreateApiKeyResponse = Response<CreateApiKeyResponseSuccess>; //#endregion
|
|
150
|
+
//#region src/api-keys/interfaces/list-api-keys.interface.d.ts
|
|
151
|
+
type ListApiKeysOptions = PaginationOptions;
|
|
152
|
+
type ListApiKeysResponseSuccess = {
|
|
153
|
+
object: 'list';
|
|
154
|
+
has_more: boolean;
|
|
155
|
+
data: Pick<ApiKey, 'name' | 'id' | 'created_at'>[];
|
|
156
|
+
};
|
|
157
|
+
type ListApiKeysResponse = Response<ListApiKeysResponseSuccess>; //#endregion
|
|
158
|
+
//#region src/api-keys/interfaces/remove-api-keys.interface.d.ts
|
|
159
|
+
type RemoveApiKeyResponseSuccess = {};
|
|
160
|
+
type RemoveApiKeyResponse = Response<RemoveApiKeyResponseSuccess>; //#endregion
|
|
161
|
+
//#region src/emails/interfaces/create-email-options.interface.d.ts
|
|
162
|
+
interface EmailRenderOptions$1 {
|
|
163
|
+
/**
|
|
164
|
+
* The React component used to write the message.
|
|
165
|
+
*
|
|
166
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
167
|
+
*/
|
|
168
|
+
react: React$1.ReactNode;
|
|
169
|
+
/**
|
|
170
|
+
* The HTML version of the message.
|
|
171
|
+
*
|
|
172
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
173
|
+
*/
|
|
174
|
+
html: string;
|
|
175
|
+
/**
|
|
176
|
+
* The plain text version of the message.
|
|
177
|
+
*
|
|
178
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
179
|
+
*/
|
|
180
|
+
text: string;
|
|
181
|
+
}
|
|
182
|
+
interface EmailTemplateOptions {
|
|
183
|
+
template: {
|
|
184
|
+
id: string;
|
|
185
|
+
variables?: Record<string, string | number>;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
interface CreateEmailBaseOptionsWithTemplate extends Omit<CreateEmailBaseOptions, 'from' | 'subject'> {
|
|
189
|
+
from?: string;
|
|
190
|
+
subject?: string;
|
|
191
|
+
}
|
|
192
|
+
interface CreateEmailBaseOptions {
|
|
193
|
+
/**
|
|
194
|
+
* Filename and content of attachments (max 40mb per email)
|
|
195
|
+
*
|
|
196
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
197
|
+
*/
|
|
198
|
+
attachments?: Attachment[];
|
|
199
|
+
/**
|
|
200
|
+
* Blind carbon copy recipient email address. For multiple addresses, send as an array of strings.
|
|
201
|
+
*
|
|
202
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
203
|
+
*/
|
|
204
|
+
bcc?: string | string[];
|
|
205
|
+
/**
|
|
206
|
+
* Carbon copy recipient email address. For multiple addresses, send as an array of strings.
|
|
207
|
+
*
|
|
208
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
209
|
+
*/
|
|
210
|
+
cc?: string | string[];
|
|
211
|
+
/**
|
|
212
|
+
* Sender email address. To include a friendly name, use the format `"Your Name <sender@domain.com>"`
|
|
213
|
+
*
|
|
214
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
215
|
+
*/
|
|
216
|
+
from: string;
|
|
217
|
+
/**
|
|
218
|
+
* Custom headers to add to the email.
|
|
219
|
+
*
|
|
220
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
221
|
+
*/
|
|
222
|
+
headers?: Record<string, string>;
|
|
223
|
+
/**
|
|
224
|
+
* Reply-to email address. For multiple addresses, send as an array of strings.
|
|
225
|
+
*
|
|
226
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
227
|
+
*/
|
|
228
|
+
replyTo?: string | string[];
|
|
229
|
+
/**
|
|
230
|
+
* Email subject.
|
|
231
|
+
*
|
|
232
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
233
|
+
*/
|
|
234
|
+
subject: string;
|
|
235
|
+
/**
|
|
236
|
+
* Email tags
|
|
237
|
+
*
|
|
238
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
239
|
+
*/
|
|
240
|
+
tags?: Tag[];
|
|
241
|
+
/**
|
|
242
|
+
* Recipient email address. For multiple addresses, send as an array of strings. Max 50.
|
|
243
|
+
*
|
|
244
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
245
|
+
*/
|
|
246
|
+
to: string | string[];
|
|
247
|
+
/**
|
|
248
|
+
* The id of the topic you want to send to
|
|
249
|
+
*
|
|
250
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
251
|
+
*/
|
|
252
|
+
topicId?: string | null;
|
|
253
|
+
/**
|
|
254
|
+
* Schedule email to be sent later.
|
|
255
|
+
* The date should be in ISO 8601 format (e.g: 2024-08-05T11:52:01.858Z).
|
|
256
|
+
*
|
|
257
|
+
* @link https://resend.com/docs/api-reference/emails/send-email#body-parameters
|
|
258
|
+
*/
|
|
259
|
+
scheduledAt?: string;
|
|
260
|
+
}
|
|
261
|
+
type CreateEmailOptions = ((RequireAtLeastOne<EmailRenderOptions$1> & CreateEmailBaseOptions) & {
|
|
262
|
+
template?: never;
|
|
263
|
+
}) | ((EmailTemplateOptions & CreateEmailBaseOptionsWithTemplate) & {
|
|
264
|
+
react?: never;
|
|
265
|
+
html?: never;
|
|
266
|
+
text?: never;
|
|
267
|
+
});
|
|
268
|
+
interface CreateEmailRequestOptions extends PostOptions, IdempotentRequest {}
|
|
269
|
+
interface CreateEmailResponseSuccess {
|
|
270
|
+
/** The ID of the newly created email. */
|
|
271
|
+
id: string;
|
|
272
|
+
}
|
|
273
|
+
type CreateEmailResponse = Response<CreateEmailResponseSuccess>;
|
|
274
|
+
interface Attachment {
|
|
275
|
+
/** Content of an attached file. */
|
|
276
|
+
content?: string | Buffer;
|
|
277
|
+
/** Name of attached file. */
|
|
278
|
+
filename?: string | false | undefined;
|
|
279
|
+
/** Path where the attachment file is hosted */
|
|
280
|
+
path?: string;
|
|
281
|
+
/** Optional content type for the attachment, if not set will be derived from the filename property */
|
|
282
|
+
contentType?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Optional content ID for the attachment, to be used as a reference in the HTML content.
|
|
285
|
+
* If set, this attachment will be sent as an inline attachment and you can reference it in the HTML content using the `cid:` prefix.
|
|
286
|
+
*/
|
|
287
|
+
contentId?: string;
|
|
288
|
+
}
|
|
289
|
+
type Tag = {
|
|
290
|
+
/**
|
|
291
|
+
* The name of the email tag. It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
|
|
292
|
+
*/
|
|
293
|
+
name: string;
|
|
294
|
+
/**
|
|
295
|
+
* The value of the email tag. It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-). It can contain no more than 256 characters.
|
|
296
|
+
*/
|
|
297
|
+
value: string;
|
|
298
|
+
}; //#endregion
|
|
299
|
+
//#region src/batch/interfaces/create-batch-options.interface.d.ts
|
|
300
|
+
type CreateBatchOptions = CreateEmailOptions[];
|
|
301
|
+
interface CreateBatchRequestOptions extends PostOptions, IdempotentRequest {
|
|
302
|
+
/**
|
|
303
|
+
* @default 'strict'
|
|
304
|
+
*/
|
|
305
|
+
batchValidation?: 'strict' | 'permissive';
|
|
306
|
+
}
|
|
307
|
+
type CreateBatchSuccessResponse<Options extends CreateBatchRequestOptions = CreateBatchRequestOptions> = {
|
|
308
|
+
data: {
|
|
309
|
+
/** The ID of the newly created email. */id: string;
|
|
310
|
+
}[];
|
|
311
|
+
} & (Options['batchValidation'] extends 'permissive' ? {
|
|
312
|
+
/**
|
|
313
|
+
* Only present when header "x-batch-validation" is set to 'permissive'.
|
|
314
|
+
*/
|
|
315
|
+
errors: {
|
|
316
|
+
/**
|
|
317
|
+
* The index of the failed email in the batch
|
|
318
|
+
*/
|
|
319
|
+
index: number;
|
|
320
|
+
/**
|
|
321
|
+
* The error message for the failed email
|
|
322
|
+
*/
|
|
323
|
+
message: string;
|
|
324
|
+
}[];
|
|
325
|
+
} : Record<string, never>);
|
|
326
|
+
type CreateBatchResponse<Options extends CreateBatchRequestOptions> = Response<CreateBatchSuccessResponse<Options>>; //#endregion
|
|
327
|
+
//#region src/broadcasts/interfaces/broadcast.d.ts
|
|
328
|
+
interface Broadcast {
|
|
329
|
+
id: string;
|
|
330
|
+
name: string;
|
|
331
|
+
segment_id: string | null;
|
|
332
|
+
audience_id: string | null;
|
|
333
|
+
from: string | null;
|
|
334
|
+
subject: string | null;
|
|
335
|
+
reply_to: string[] | null;
|
|
336
|
+
preview_text: string | null;
|
|
337
|
+
status: 'draft' | 'sent' | 'queued';
|
|
338
|
+
created_at: string;
|
|
339
|
+
scheduled_at: string | null;
|
|
340
|
+
sent_at: string | null;
|
|
341
|
+
topic_id?: string | null;
|
|
342
|
+
html: string | null;
|
|
343
|
+
text: string | null;
|
|
344
|
+
} //#endregion
|
|
345
|
+
//#region src/broadcasts/interfaces/create-broadcast-options.interface.d.ts
|
|
346
|
+
interface EmailRenderOptions {
|
|
347
|
+
/**
|
|
348
|
+
* The React component used to write the message.
|
|
349
|
+
*
|
|
350
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
351
|
+
*/
|
|
352
|
+
react: React$1.ReactNode;
|
|
353
|
+
/**
|
|
354
|
+
* The HTML version of the message.
|
|
355
|
+
*
|
|
356
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
357
|
+
*/
|
|
358
|
+
html: string;
|
|
359
|
+
/**
|
|
360
|
+
* The plain text version of the message.
|
|
361
|
+
*
|
|
362
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
363
|
+
*/
|
|
364
|
+
text: string;
|
|
365
|
+
}
|
|
366
|
+
interface SegmentOptions {
|
|
367
|
+
/**
|
|
368
|
+
* The id of the segment you want to send to
|
|
369
|
+
*
|
|
370
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
371
|
+
*/
|
|
372
|
+
segmentId: string;
|
|
373
|
+
/**
|
|
374
|
+
* @deprecated Use segmentId instead
|
|
375
|
+
*/
|
|
376
|
+
audienceId: string;
|
|
377
|
+
}
|
|
378
|
+
interface CreateBroadcastBaseOptions {
|
|
379
|
+
/**
|
|
380
|
+
* The name of the broadcast
|
|
381
|
+
*
|
|
382
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
383
|
+
*/
|
|
384
|
+
name?: string;
|
|
385
|
+
/**
|
|
386
|
+
* A short snippet of text displayed as a preview in recipients' inboxes, often shown below or beside the subject line.
|
|
387
|
+
*
|
|
388
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
389
|
+
*/
|
|
390
|
+
previewText?: string;
|
|
391
|
+
/**
|
|
392
|
+
* Sender email address. To include a friendly name, use the format `"Your Name <sender@domain.com>"`
|
|
393
|
+
*
|
|
394
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
395
|
+
*/
|
|
396
|
+
from: string;
|
|
397
|
+
/**
|
|
398
|
+
* Reply-to email address. For multiple addresses, send as an array of strings.
|
|
399
|
+
*
|
|
400
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
401
|
+
*/
|
|
402
|
+
replyTo?: string | string[];
|
|
403
|
+
/**
|
|
404
|
+
* Email subject.
|
|
405
|
+
*
|
|
406
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
407
|
+
*/
|
|
408
|
+
subject: string;
|
|
409
|
+
/**
|
|
410
|
+
* The id of the topic you want to send to
|
|
411
|
+
*
|
|
412
|
+
* @link https://resend.com/docs/api-reference/broadcasts/create#body-parameters
|
|
413
|
+
*/
|
|
414
|
+
topicId?: string | null;
|
|
415
|
+
}
|
|
416
|
+
type CreateBroadcastOptions = RequireAtLeastOne<EmailRenderOptions> & RequireAtLeastOne<SegmentOptions> & CreateBroadcastBaseOptions;
|
|
417
|
+
interface CreateBroadcastRequestOptions extends PostOptions {}
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region src/broadcasts/interfaces/get-broadcast.interface.d.ts
|
|
420
|
+
interface GetBroadcastResponseSuccess extends Broadcast {
|
|
421
|
+
object: 'broadcast';
|
|
422
|
+
}
|
|
423
|
+
type GetBroadcastResponse = Response<GetBroadcastResponseSuccess>; //#endregion
|
|
424
|
+
//#region src/broadcasts/interfaces/list-broadcasts.interface.d.ts
|
|
425
|
+
type ListBroadcastsOptions = PaginationOptions;
|
|
426
|
+
type ListBroadcastsResponseSuccess = {
|
|
427
|
+
object: 'list';
|
|
428
|
+
has_more: boolean;
|
|
429
|
+
data: Pick<Broadcast, 'id' | 'name' | 'audience_id' | 'segment_id' | 'status' | 'created_at' | 'scheduled_at' | 'sent_at'>[];
|
|
430
|
+
};
|
|
431
|
+
type ListBroadcastsResponse = Response<ListBroadcastsResponseSuccess>; //#endregion
|
|
432
|
+
//#region src/broadcasts/interfaces/remove-broadcast.interface.d.ts
|
|
433
|
+
interface RemoveBroadcastResponseSuccess extends Pick<Broadcast, 'id'> {
|
|
434
|
+
object: 'broadcast';
|
|
435
|
+
deleted: boolean;
|
|
436
|
+
}
|
|
437
|
+
type RemoveBroadcastResponse = Response<RemoveBroadcastResponseSuccess>; //#endregion
|
|
438
|
+
//#region src/broadcasts/interfaces/send-broadcast-options.interface.d.ts
|
|
439
|
+
interface SendBroadcastBaseOptions {
|
|
440
|
+
/**
|
|
441
|
+
* Schedule email to be sent later.
|
|
442
|
+
* The date should be in ISO 8601 format (e.g: 2024-08-05T11:52:01.858Z)
|
|
443
|
+
* or relative time (eg: in 2 days).
|
|
444
|
+
*
|
|
445
|
+
* @link https://resend.com/docs/api-reference/broadcasts/send#body-parameters
|
|
446
|
+
*/
|
|
447
|
+
scheduledAt?: string;
|
|
448
|
+
}
|
|
449
|
+
type SendBroadcastOptions = SendBroadcastBaseOptions;
|
|
450
|
+
interface SendBroadcastResponseSuccess {
|
|
451
|
+
/** The ID of the sent broadcast. */
|
|
452
|
+
id: string;
|
|
453
|
+
}
|
|
454
|
+
type SendBroadcastResponse = Response<SendBroadcastResponseSuccess>; //#endregion
|
|
455
|
+
//#region src/broadcasts/interfaces/update-broadcast.interface.d.ts
|
|
456
|
+
interface UpdateBroadcastResponseSuccess {
|
|
457
|
+
id: string;
|
|
458
|
+
}
|
|
459
|
+
type UpdateBroadcastOptions = {
|
|
460
|
+
name?: string;
|
|
461
|
+
segmentId?: string;
|
|
462
|
+
/**
|
|
463
|
+
* @deprecated Use segmentId instead
|
|
464
|
+
*/
|
|
465
|
+
audienceId?: string;
|
|
466
|
+
from?: string;
|
|
467
|
+
html?: string;
|
|
468
|
+
react?: React.ReactNode;
|
|
469
|
+
text?: string;
|
|
470
|
+
subject?: string;
|
|
471
|
+
replyTo?: string[];
|
|
472
|
+
previewText?: string;
|
|
473
|
+
topicId?: string | null;
|
|
474
|
+
};
|
|
475
|
+
type UpdateBroadcastResponse = Response<UpdateBroadcastResponseSuccess>; //#endregion
|
|
476
|
+
//#region src/contacts/interfaces/contact.d.ts
|
|
477
|
+
interface Contact {
|
|
478
|
+
created_at: string;
|
|
479
|
+
id: string;
|
|
480
|
+
email: string;
|
|
481
|
+
first_name: string | null;
|
|
482
|
+
last_name: string | null;
|
|
483
|
+
unsubscribed: boolean;
|
|
484
|
+
}
|
|
485
|
+
type SelectingField = {
|
|
486
|
+
/**
|
|
487
|
+
* The contact id.
|
|
488
|
+
*
|
|
489
|
+
* @link https://resend.com/docs/api-reference/contacts/delete-contact#body-parameters
|
|
490
|
+
*/
|
|
491
|
+
id: string;
|
|
492
|
+
/**
|
|
493
|
+
* The contact email.
|
|
494
|
+
*
|
|
495
|
+
* @link https://resend.com/docs/api-reference/contacts/delete-contact#body-parameters
|
|
496
|
+
*/
|
|
497
|
+
email?: undefined | null;
|
|
498
|
+
} | {
|
|
499
|
+
/**
|
|
500
|
+
* The contact id.
|
|
501
|
+
*
|
|
502
|
+
* @link https://resend.com/docs/api-reference/contacts/delete-contact#body-parameters
|
|
503
|
+
*/
|
|
504
|
+
id?: undefined | null;
|
|
505
|
+
/**
|
|
506
|
+
* The contact email.
|
|
507
|
+
*
|
|
508
|
+
* @link https://resend.com/docs/api-reference/contacts/delete-contact#body-parameters
|
|
509
|
+
*/
|
|
510
|
+
email: string;
|
|
511
|
+
}; //#endregion
|
|
512
|
+
//#region src/contacts/interfaces/create-contact-options.interface.d.ts
|
|
513
|
+
interface CreateContactPropertiesOptions {
|
|
514
|
+
[key: string]: string | number | null;
|
|
515
|
+
}
|
|
516
|
+
interface CreateContactOptions {
|
|
517
|
+
audienceId?: string;
|
|
518
|
+
email: string;
|
|
519
|
+
unsubscribed?: boolean;
|
|
520
|
+
firstName?: string;
|
|
521
|
+
lastName?: string;
|
|
522
|
+
properties?: CreateContactPropertiesOptions;
|
|
523
|
+
}
|
|
524
|
+
interface CreateContactRequestOptions extends PostOptions {}
|
|
525
|
+
interface CreateContactResponseSuccess extends Pick<Contact, 'id'> {
|
|
526
|
+
object: 'contact';
|
|
527
|
+
}
|
|
528
|
+
type CreateContactResponse = Response<CreateContactResponseSuccess>; //#endregion
|
|
529
|
+
//#region src/contacts/interfaces/get-contact.interface.d.ts
|
|
530
|
+
type GetContactOptions = string | ({
|
|
531
|
+
audienceId?: string;
|
|
532
|
+
} & SelectingField);
|
|
533
|
+
type ContactPropertyValue = {
|
|
534
|
+
type: 'string';
|
|
535
|
+
value: string;
|
|
536
|
+
} | {
|
|
537
|
+
type: 'number';
|
|
538
|
+
value: number;
|
|
539
|
+
};
|
|
540
|
+
interface ContactProperties$1 {
|
|
541
|
+
[key: string]: ContactPropertyValue;
|
|
542
|
+
}
|
|
543
|
+
interface GetContactResponseSuccess extends Pick<Contact, 'id' | 'email' | 'created_at' | 'first_name' | 'last_name' | 'unsubscribed'> {
|
|
544
|
+
object: 'contact';
|
|
545
|
+
properties: ContactProperties$1;
|
|
546
|
+
}
|
|
547
|
+
type GetContactResponse = Response<GetContactResponseSuccess>; //#endregion
|
|
548
|
+
//#region src/contacts/interfaces/list-contacts.interface.d.ts
|
|
549
|
+
type ListContactsOptions = PaginationOptions & {
|
|
550
|
+
segmentId?: string;
|
|
551
|
+
/**
|
|
552
|
+
* @deprecated Use segmentId instead to filter by segment
|
|
553
|
+
*/
|
|
554
|
+
audienceId?: string;
|
|
555
|
+
};
|
|
556
|
+
interface ListContactsResponseSuccess {
|
|
557
|
+
object: 'list';
|
|
558
|
+
data: Contact[];
|
|
559
|
+
has_more: boolean;
|
|
560
|
+
}
|
|
561
|
+
type ListContactsResponse = Response<ListContactsResponseSuccess>; //#endregion
|
|
562
|
+
//#region src/contacts/interfaces/remove-contact.interface.d.ts
|
|
563
|
+
type RemoveContactsResponseSuccess = {
|
|
564
|
+
object: 'contact';
|
|
565
|
+
deleted: boolean;
|
|
566
|
+
contact: string;
|
|
567
|
+
};
|
|
568
|
+
type RemoveContactOptions = string | (SelectingField & {
|
|
569
|
+
audienceId?: string;
|
|
570
|
+
});
|
|
571
|
+
type RemoveContactsResponse = Response<RemoveContactsResponseSuccess>; //#endregion
|
|
572
|
+
//#region src/contacts/interfaces/update-contact.interface.d.ts
|
|
573
|
+
interface UpdateContactPropertiesOptions {
|
|
574
|
+
[key: string]: string | number | null;
|
|
575
|
+
}
|
|
576
|
+
type UpdateContactOptions = {
|
|
577
|
+
audienceId?: string;
|
|
578
|
+
unsubscribed?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* Use `null` to clear the `firstName`
|
|
581
|
+
*/
|
|
582
|
+
firstName?: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* Use `null` to clear the `lastName`
|
|
585
|
+
*/
|
|
586
|
+
lastName?: string | null;
|
|
587
|
+
properties?: UpdateContactPropertiesOptions;
|
|
588
|
+
} & SelectingField;
|
|
589
|
+
type UpdateContactResponseSuccess = Pick<Contact, 'id'> & {
|
|
590
|
+
object: 'contact';
|
|
591
|
+
};
|
|
592
|
+
type UpdateContactResponse = Response<UpdateContactResponseSuccess>; //#endregion
|
|
593
|
+
//#region src/domains/interfaces/create-domain-options.interface.d.ts
|
|
594
|
+
interface CreateDomainOptions {
|
|
595
|
+
name: string;
|
|
596
|
+
region?: DomainRegion;
|
|
597
|
+
customReturnPath?: string;
|
|
598
|
+
capabilities?: Partial<DomainCapabilities>;
|
|
599
|
+
}
|
|
600
|
+
interface CreateDomainRequestOptions extends PostOptions {}
|
|
601
|
+
interface CreateDomainResponseSuccess extends Pick<Domain, 'name' | 'id' | 'status' | 'created_at' | 'region'> {
|
|
602
|
+
records: DomainRecords[];
|
|
603
|
+
capabilities: DomainCapabilities;
|
|
604
|
+
}
|
|
605
|
+
type CreateDomainResponse = Response<CreateDomainResponseSuccess>; //#endregion
|
|
606
|
+
//#region src/domains/interfaces/get-domain.interface.d.ts
|
|
607
|
+
interface GetDomainResponseSuccess extends Pick<Domain, 'id' | 'name' | 'created_at' | 'region' | 'status' | 'capabilities'> {
|
|
608
|
+
object: 'domain';
|
|
609
|
+
records: DomainRecords[];
|
|
610
|
+
}
|
|
611
|
+
type GetDomainResponse = Response<GetDomainResponseSuccess>; //#endregion
|
|
612
|
+
//#region src/domains/interfaces/list-domains.interface.d.ts
|
|
613
|
+
type ListDomainsOptions = PaginationOptions;
|
|
614
|
+
type ListDomainsResponseSuccess = {
|
|
615
|
+
data: Domain[];
|
|
616
|
+
object: 'list';
|
|
617
|
+
has_more: boolean;
|
|
618
|
+
};
|
|
619
|
+
type ListDomainsResponse = Response<ListDomainsResponseSuccess>; //#endregion
|
|
620
|
+
//#region src/domains/interfaces/remove-domain.interface.d.ts
|
|
621
|
+
type RemoveDomainsResponseSuccess = Pick<Domain, 'id'> & {
|
|
622
|
+
object: 'domain';
|
|
623
|
+
deleted: boolean;
|
|
624
|
+
};
|
|
625
|
+
type RemoveDomainsResponse = Response<RemoveDomainsResponseSuccess>; //#endregion
|
|
626
|
+
//#region src/domains/interfaces/update-domain.interface.d.ts
|
|
627
|
+
interface UpdateDomainsOptions {
|
|
628
|
+
id: string;
|
|
629
|
+
clickTracking?: boolean;
|
|
630
|
+
openTracking?: boolean;
|
|
631
|
+
tls?: 'enforced' | 'opportunistic';
|
|
632
|
+
capabilities?: Partial<DomainCapabilities>;
|
|
633
|
+
}
|
|
634
|
+
type UpdateDomainsResponseSuccess = Pick<Domain, 'id'> & {
|
|
635
|
+
object: 'domain';
|
|
636
|
+
};
|
|
637
|
+
type UpdateDomainsResponse = Response<UpdateDomainsResponseSuccess>; //#endregion
|
|
638
|
+
//#region src/domains/interfaces/verify-domain.interface.d.ts
|
|
639
|
+
type VerifyDomainsResponseSuccess = Pick<Domain, 'id'> & {
|
|
640
|
+
object: 'domain';
|
|
641
|
+
};
|
|
642
|
+
type VerifyDomainsResponse = Response<VerifyDomainsResponseSuccess>; //#endregion
|
|
643
|
+
//#region src/common/interfaces/attachment.interface.d.ts
|
|
644
|
+
interface Attachment$1 {
|
|
645
|
+
id: string;
|
|
646
|
+
filename?: string;
|
|
647
|
+
size: number;
|
|
648
|
+
content_type: string;
|
|
649
|
+
content_disposition: 'inline' | 'attachment';
|
|
650
|
+
content_id?: string;
|
|
651
|
+
download_url: string;
|
|
652
|
+
expires_at: string;
|
|
653
|
+
} //#endregion
|
|
654
|
+
//#region src/emails/attachments/interfaces/get-attachment.interface.d.ts
|
|
655
|
+
interface GetAttachmentOptions {
|
|
656
|
+
emailId: string;
|
|
657
|
+
id: string;
|
|
658
|
+
}
|
|
659
|
+
type GetAttachmentResponseSuccess = {
|
|
660
|
+
object: 'attachment';
|
|
661
|
+
} & Attachment$1;
|
|
662
|
+
type GetAttachmentResponse = Response<GetAttachmentResponseSuccess>; //#endregion
|
|
663
|
+
//#region src/emails/attachments/interfaces/list-attachments.interface.d.ts
|
|
664
|
+
type ListAttachmentsOptions = PaginationOptions & {
|
|
665
|
+
emailId: string;
|
|
666
|
+
};
|
|
667
|
+
interface ListAttachmentsResponseSuccess {
|
|
668
|
+
object: 'list';
|
|
669
|
+
has_more: boolean;
|
|
670
|
+
data: Attachment$1[];
|
|
671
|
+
}
|
|
672
|
+
type ListAttachmentsResponse = Response<ListAttachmentsResponseSuccess>; //#endregion
|
|
673
|
+
//#region src/emails/interfaces/cancel-email-options.interface.d.ts
|
|
674
|
+
interface CancelEmailResponseSuccess {
|
|
675
|
+
object: 'email';
|
|
676
|
+
id: string;
|
|
677
|
+
}
|
|
678
|
+
type CancelEmailResponse = Response<CancelEmailResponseSuccess>; //#endregion
|
|
679
|
+
//#region src/emails/interfaces/get-email-options.interface.d.ts
|
|
680
|
+
interface GetEmailResponseSuccess {
|
|
681
|
+
bcc: string[] | null;
|
|
682
|
+
cc: string[] | null;
|
|
683
|
+
created_at: string;
|
|
684
|
+
from: string;
|
|
685
|
+
html: string | null;
|
|
686
|
+
id: string;
|
|
687
|
+
last_event: 'bounced' | 'canceled' | 'clicked' | 'complained' | 'delivered' | 'delivery_delayed' | 'failed' | 'opened' | 'queued' | 'scheduled' | 'sent';
|
|
688
|
+
reply_to: string[] | null;
|
|
689
|
+
subject: string;
|
|
690
|
+
text: string | null;
|
|
691
|
+
tags?: {
|
|
692
|
+
name: string;
|
|
693
|
+
value: string;
|
|
694
|
+
}[];
|
|
695
|
+
to: string[];
|
|
696
|
+
topic_id?: string | null;
|
|
697
|
+
scheduled_at: string | null;
|
|
698
|
+
object: 'email';
|
|
699
|
+
}
|
|
700
|
+
type GetEmailResponse = Response<GetEmailResponseSuccess>; //#endregion
|
|
701
|
+
//#region src/emails/interfaces/update-email-options.interface.d.ts
|
|
702
|
+
interface UpdateEmailOptions {
|
|
703
|
+
id: string;
|
|
704
|
+
scheduledAt: string;
|
|
705
|
+
}
|
|
706
|
+
interface UpdateEmailResponseSuccess {
|
|
707
|
+
id: string;
|
|
708
|
+
object: 'email';
|
|
709
|
+
}
|
|
710
|
+
type UpdateEmailResponse = Response<UpdateEmailResponseSuccess>; //#endregion
|
|
711
|
+
//#region src/emails/receiving/interfaces/get-receiving-email.interface.d.ts
|
|
712
|
+
interface GetReceivingEmailResponseSuccess {
|
|
713
|
+
object: 'email';
|
|
714
|
+
id: string;
|
|
715
|
+
to: string[];
|
|
716
|
+
from: string;
|
|
717
|
+
created_at: string;
|
|
718
|
+
subject: string;
|
|
719
|
+
bcc: string[] | null;
|
|
720
|
+
cc: string[] | null;
|
|
721
|
+
reply_to: string[] | null;
|
|
722
|
+
html: string | null;
|
|
723
|
+
text: string | null;
|
|
724
|
+
headers: Record<string, string>;
|
|
725
|
+
message_id: string;
|
|
726
|
+
attachments: Array<{
|
|
727
|
+
id: string;
|
|
728
|
+
filename: string;
|
|
729
|
+
size: number;
|
|
730
|
+
content_type: string;
|
|
731
|
+
content_id: string;
|
|
732
|
+
content_disposition: string;
|
|
733
|
+
}>;
|
|
734
|
+
}
|
|
735
|
+
type GetReceivingEmailResponse = Response<GetReceivingEmailResponseSuccess>; //#endregion
|
|
736
|
+
//#region src/emails/receiving/interfaces/list-receiving-emails.interface.d.ts
|
|
737
|
+
type ListReceivingEmailsOptions = PaginationOptions;
|
|
738
|
+
type ListReceivingEmail = Omit<GetReceivingEmailResponseSuccess, 'html' | 'text' | 'headers' | 'object'>;
|
|
739
|
+
interface ListReceivingEmailsResponseSuccess {
|
|
740
|
+
object: 'list';
|
|
741
|
+
has_more: boolean;
|
|
742
|
+
data: ListReceivingEmail[];
|
|
743
|
+
}
|
|
744
|
+
type ListReceivingEmailsResponse = {
|
|
745
|
+
data: ListReceivingEmailsResponseSuccess;
|
|
746
|
+
error: null;
|
|
747
|
+
} | {
|
|
748
|
+
data: null;
|
|
749
|
+
error: ErrorResponse;
|
|
750
|
+
}; //#endregion
|
|
751
|
+
//#region src/api-keys/api-keys.d.ts
|
|
752
|
+
declare class ApiKeys {
|
|
753
|
+
private readonly resend;
|
|
754
|
+
constructor(resend: Resend);
|
|
755
|
+
create(payload: CreateApiKeyOptions, options?: CreateApiKeyRequestOptions): Promise<CreateApiKeyResponse>;
|
|
756
|
+
list(options?: ListApiKeysOptions): Promise<ListApiKeysResponse>;
|
|
757
|
+
remove(id: string): Promise<RemoveApiKeyResponse>;
|
|
758
|
+
} //#endregion
|
|
759
|
+
//#region src/batch/batch.d.ts
|
|
760
|
+
declare class Batch {
|
|
761
|
+
private readonly resend;
|
|
762
|
+
constructor(resend: Resend);
|
|
763
|
+
send<Options extends CreateBatchRequestOptions>(payload: CreateBatchOptions, options?: Options): Promise<CreateBatchResponse<Options>>;
|
|
764
|
+
create<Options extends CreateBatchRequestOptions>(payload: CreateBatchOptions, options?: Options): Promise<CreateBatchResponse<Options>>;
|
|
765
|
+
} //#endregion
|
|
766
|
+
//#region src/broadcasts/broadcasts.d.ts
|
|
767
|
+
declare class Broadcasts {
|
|
768
|
+
private readonly resend;
|
|
769
|
+
constructor(resend: Resend);
|
|
770
|
+
create(payload: CreateBroadcastOptions, options?: CreateBroadcastRequestOptions): Promise<SendBroadcastResponse>;
|
|
771
|
+
send(id: string, payload?: SendBroadcastOptions): Promise<SendBroadcastResponse>;
|
|
772
|
+
list(options?: ListBroadcastsOptions): Promise<ListBroadcastsResponse>;
|
|
773
|
+
get(id: string): Promise<GetBroadcastResponse>;
|
|
774
|
+
remove(id: string): Promise<RemoveBroadcastResponse>;
|
|
775
|
+
update(id: string, payload: UpdateBroadcastOptions): Promise<UpdateBroadcastResponse>;
|
|
776
|
+
} //#endregion
|
|
777
|
+
//#region src/contact-properties/interfaces/contact-property.d.ts
|
|
778
|
+
type StringBaseContactProperty = {
|
|
779
|
+
type: 'string';
|
|
780
|
+
fallbackValue: string | null;
|
|
781
|
+
};
|
|
782
|
+
type NumberBaseContactProperty = {
|
|
783
|
+
type: 'number';
|
|
784
|
+
fallbackValue: number | null;
|
|
785
|
+
};
|
|
786
|
+
type ContactProperty = {
|
|
787
|
+
id: string;
|
|
788
|
+
createdAt: string;
|
|
789
|
+
key: string;
|
|
790
|
+
} & (StringBaseContactProperty | NumberBaseContactProperty); //#endregion
|
|
791
|
+
//#region src/contact-properties/interfaces/create-contact-property-options.interface.d.ts
|
|
792
|
+
type StringBaseContactPropertyOptions = {
|
|
793
|
+
type: 'string';
|
|
794
|
+
fallbackValue?: string | null;
|
|
795
|
+
};
|
|
796
|
+
type NumberBaseContactPropertyOptions = {
|
|
797
|
+
type: 'number';
|
|
798
|
+
fallbackValue?: number | null;
|
|
799
|
+
};
|
|
800
|
+
type CreateContactPropertyOptions = {
|
|
801
|
+
key: string;
|
|
802
|
+
} & (StringBaseContactPropertyOptions | NumberBaseContactPropertyOptions);
|
|
803
|
+
type CreateContactPropertyResponseSuccess = Pick<ContactProperty, 'id'> & {
|
|
804
|
+
object: 'contact_property';
|
|
805
|
+
};
|
|
806
|
+
type CreateContactPropertyResponse = Response<CreateContactPropertyResponseSuccess>; //#endregion
|
|
807
|
+
//#region src/contact-properties/interfaces/delete-contact-property-options.interface.d.ts
|
|
808
|
+
type RemoveContactPropertyResponseSuccess = Pick<ContactProperty, 'id'> & {
|
|
809
|
+
object: 'contact_property';
|
|
810
|
+
deleted: boolean;
|
|
811
|
+
};
|
|
812
|
+
type RemoveContactPropertyResponse = Response<RemoveContactPropertyResponseSuccess>; //#endregion
|
|
813
|
+
//#region src/contact-properties/interfaces/get-contact-property.interface.d.ts
|
|
814
|
+
type GetContactPropertyResponse = Response<ContactProperty & {
|
|
815
|
+
object: 'contact_property';
|
|
816
|
+
}>; //#endregion
|
|
817
|
+
//#region src/contact-properties/interfaces/list-contact-properties-options.interface.d.ts
|
|
818
|
+
type ListContactPropertiesOptions = PaginationOptions;
|
|
819
|
+
type ListContactPropertiesResponse = Response<{
|
|
820
|
+
object: 'list';
|
|
821
|
+
has_more: boolean;
|
|
822
|
+
data: ContactProperty[];
|
|
823
|
+
}>; //#endregion
|
|
824
|
+
//#region src/contact-properties/interfaces/update-contact-property-options.interface.d.ts
|
|
825
|
+
type UpdateContactPropertyOptions = {
|
|
826
|
+
id: string;
|
|
827
|
+
fallbackValue?: string | number | null;
|
|
828
|
+
};
|
|
829
|
+
type UpdateContactPropertyResponseSuccess = Pick<ContactProperty, 'id'> & {
|
|
830
|
+
object: 'contact_property';
|
|
831
|
+
};
|
|
832
|
+
type UpdateContactPropertyResponse = Response<UpdateContactPropertyResponseSuccess>; //#endregion
|
|
833
|
+
//#region src/contact-properties/contact-properties.d.ts
|
|
834
|
+
declare class ContactProperties {
|
|
835
|
+
private readonly resend;
|
|
836
|
+
constructor(resend: Resend);
|
|
837
|
+
create(options: CreateContactPropertyOptions): Promise<CreateContactPropertyResponse>;
|
|
838
|
+
list(options?: ListContactPropertiesOptions): Promise<ListContactPropertiesResponse>;
|
|
839
|
+
get(id: string): Promise<GetContactPropertyResponse>;
|
|
840
|
+
update(payload: UpdateContactPropertyOptions): Promise<UpdateContactPropertyResponse>;
|
|
841
|
+
remove(id: string): Promise<RemoveContactPropertyResponse>;
|
|
842
|
+
} //#endregion
|
|
843
|
+
//#region src/contacts/segments/interfaces/contact-segments.interface.d.ts
|
|
844
|
+
type ContactSegmentsBaseOptions = {
|
|
845
|
+
contactId: string;
|
|
846
|
+
email?: never;
|
|
847
|
+
} | {
|
|
848
|
+
contactId?: never;
|
|
849
|
+
email: string;
|
|
850
|
+
}; //#endregion
|
|
851
|
+
//#region src/contacts/segments/interfaces/add-contact-segment.interface.d.ts
|
|
852
|
+
type AddContactSegmentOptions = ContactSegmentsBaseOptions & {
|
|
853
|
+
segmentId: string;
|
|
854
|
+
};
|
|
855
|
+
interface AddContactSegmentResponseSuccess {
|
|
856
|
+
id: string;
|
|
857
|
+
}
|
|
858
|
+
type AddContactSegmentResponse = Response<AddContactSegmentResponseSuccess>; //#endregion
|
|
859
|
+
//#region src/segments/interfaces/segment.d.ts
|
|
860
|
+
interface Segment {
|
|
861
|
+
created_at: string;
|
|
862
|
+
id: string;
|
|
863
|
+
name: string;
|
|
864
|
+
} //#endregion
|
|
865
|
+
//#region src/contacts/segments/interfaces/list-contact-segments.interface.d.ts
|
|
866
|
+
type ListContactSegmentsOptions = PaginationOptions & ContactSegmentsBaseOptions;
|
|
867
|
+
type ListContactSegmentsResponseSuccess = PaginatedData<Segment[]>;
|
|
868
|
+
type ListContactSegmentsResponse = Response<ListContactSegmentsResponseSuccess>; //#endregion
|
|
869
|
+
//#region src/contacts/segments/interfaces/remove-contact-segment.interface.d.ts
|
|
870
|
+
type RemoveContactSegmentOptions = ContactSegmentsBaseOptions & {
|
|
871
|
+
segmentId: string;
|
|
872
|
+
};
|
|
873
|
+
interface RemoveContactSegmentResponseSuccess {
|
|
874
|
+
id: string;
|
|
875
|
+
deleted: boolean;
|
|
876
|
+
}
|
|
877
|
+
type RemoveContactSegmentResponse = Response<RemoveContactSegmentResponseSuccess>; //#endregion
|
|
878
|
+
//#region src/contacts/segments/contact-segments.d.ts
|
|
879
|
+
declare class ContactSegments {
|
|
880
|
+
private readonly resend;
|
|
881
|
+
constructor(resend: Resend);
|
|
882
|
+
list(options: ListContactSegmentsOptions): Promise<ListContactSegmentsResponse>;
|
|
883
|
+
add(options: AddContactSegmentOptions): Promise<AddContactSegmentResponse>;
|
|
884
|
+
remove(options: RemoveContactSegmentOptions): Promise<RemoveContactSegmentResponse>;
|
|
885
|
+
} //#endregion
|
|
886
|
+
//#region src/contacts/topics/interfaces/list-contact-topics.interface.d.ts
|
|
887
|
+
interface ListContactTopicsBaseOptions {
|
|
888
|
+
id?: string;
|
|
889
|
+
email?: string;
|
|
890
|
+
}
|
|
891
|
+
type ListContactTopicsOptions = ListContactTopicsBaseOptions & PaginationOptions;
|
|
892
|
+
interface ContactTopic {
|
|
893
|
+
id: string;
|
|
894
|
+
name: string;
|
|
895
|
+
description: string | null;
|
|
896
|
+
subscription: 'opt_in' | 'opt_out';
|
|
897
|
+
}
|
|
898
|
+
type ListContactTopicsResponseSuccess = PaginatedData<ContactTopic[]>;
|
|
899
|
+
type ListContactTopicsResponse = Response<ListContactTopicsResponseSuccess>; //#endregion
|
|
900
|
+
//#region src/contacts/topics/interfaces/update-contact-topics.interface.d.ts
|
|
901
|
+
interface UpdateContactTopicsBaseOptions {
|
|
902
|
+
id?: string;
|
|
903
|
+
email?: string;
|
|
904
|
+
}
|
|
905
|
+
interface UpdateContactTopicsOptions extends UpdateContactTopicsBaseOptions {
|
|
906
|
+
topics: {
|
|
907
|
+
id: string;
|
|
908
|
+
subscription: 'opt_in' | 'opt_out';
|
|
909
|
+
}[];
|
|
910
|
+
}
|
|
911
|
+
interface UpdateContactTopicsResponseSuccess {
|
|
912
|
+
id: string;
|
|
913
|
+
}
|
|
914
|
+
type UpdateContactTopicsResponse = Response<UpdateContactTopicsResponseSuccess>; //#endregion
|
|
915
|
+
//#region src/contacts/topics/contact-topics.d.ts
|
|
916
|
+
declare class ContactTopics {
|
|
917
|
+
private readonly resend;
|
|
918
|
+
constructor(resend: Resend);
|
|
919
|
+
update(payload: UpdateContactTopicsOptions): Promise<UpdateContactTopicsResponse>;
|
|
920
|
+
list(options: ListContactTopicsOptions): Promise<ListContactTopicsResponse>;
|
|
921
|
+
} //#endregion
|
|
922
|
+
//#region src/contacts/contacts.d.ts
|
|
923
|
+
declare class Contacts {
|
|
924
|
+
private readonly resend;
|
|
925
|
+
readonly topics: ContactTopics;
|
|
926
|
+
readonly segments: ContactSegments;
|
|
927
|
+
constructor(resend: Resend);
|
|
928
|
+
create(payload: CreateContactOptions, options?: CreateContactRequestOptions): Promise<CreateContactResponse>;
|
|
929
|
+
list(options?: ListContactsOptions): Promise<ListContactsResponse>;
|
|
930
|
+
get(options: GetContactOptions): Promise<GetContactResponse>;
|
|
931
|
+
update(options: UpdateContactOptions): Promise<UpdateContactResponse>;
|
|
932
|
+
remove(payload: RemoveContactOptions): Promise<RemoveContactsResponse>;
|
|
933
|
+
} //#endregion
|
|
934
|
+
//#region src/domains/domains.d.ts
|
|
935
|
+
declare class Domains {
|
|
936
|
+
private readonly resend;
|
|
937
|
+
constructor(resend: Resend);
|
|
938
|
+
create(payload: CreateDomainOptions, options?: CreateDomainRequestOptions): Promise<CreateDomainResponse>;
|
|
939
|
+
list(options?: ListDomainsOptions): Promise<ListDomainsResponse>;
|
|
940
|
+
get(id: string): Promise<GetDomainResponse>;
|
|
941
|
+
update(payload: UpdateDomainsOptions): Promise<UpdateDomainsResponse>;
|
|
942
|
+
remove(id: string): Promise<RemoveDomainsResponse>;
|
|
943
|
+
verify(id: string): Promise<VerifyDomainsResponse>;
|
|
944
|
+
} //#endregion
|
|
945
|
+
//#region src/emails/attachments/attachments.d.ts
|
|
946
|
+
declare class Attachments {
|
|
947
|
+
private readonly resend;
|
|
948
|
+
constructor(resend: Resend);
|
|
949
|
+
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
950
|
+
list(options: ListAttachmentsOptions): Promise<ListAttachmentsResponse>;
|
|
951
|
+
} //#endregion
|
|
952
|
+
//#region src/emails/interfaces/list-emails-options.interface.d.ts
|
|
953
|
+
type ListEmailsOptions = PaginationOptions;
|
|
954
|
+
type ListEmail = Omit<GetEmailResponseSuccess, 'html' | 'text' | 'tags' | 'object'>;
|
|
955
|
+
type ListEmailsResponseSuccess = {
|
|
956
|
+
object: 'list';
|
|
957
|
+
has_more: boolean;
|
|
958
|
+
data: ListEmail[];
|
|
959
|
+
};
|
|
960
|
+
type ListEmailsResponse = Response<ListEmailsResponseSuccess>; //#endregion
|
|
961
|
+
//#region src/emails/receiving/attachments/attachments.d.ts
|
|
962
|
+
declare class Attachments$1 {
|
|
963
|
+
private readonly resend;
|
|
964
|
+
constructor(resend: Resend);
|
|
965
|
+
get(options: GetAttachmentOptions): Promise<GetAttachmentResponse>;
|
|
966
|
+
list(options: ListAttachmentsOptions): Promise<ListAttachmentsResponse>;
|
|
967
|
+
} //#endregion
|
|
968
|
+
//#region src/emails/receiving/receiving.d.ts
|
|
969
|
+
declare class Receiving {
|
|
970
|
+
private readonly resend;
|
|
971
|
+
readonly attachments: Attachments$1;
|
|
972
|
+
constructor(resend: Resend);
|
|
973
|
+
get(id: string): Promise<GetReceivingEmailResponse>;
|
|
974
|
+
list(options?: ListReceivingEmailsOptions): Promise<ListReceivingEmailsResponse>;
|
|
975
|
+
} //#endregion
|
|
976
|
+
//#region src/emails/emails.d.ts
|
|
977
|
+
declare class Emails {
|
|
978
|
+
private readonly resend;
|
|
979
|
+
readonly attachments: Attachments;
|
|
980
|
+
readonly receiving: Receiving;
|
|
981
|
+
constructor(resend: Resend);
|
|
982
|
+
send(payload: CreateEmailOptions, options?: CreateEmailRequestOptions): Promise<CreateEmailResponse>;
|
|
983
|
+
create(payload: CreateEmailOptions, options?: CreateEmailRequestOptions): Promise<CreateEmailResponse>;
|
|
984
|
+
get(id: string): Promise<GetEmailResponse>;
|
|
985
|
+
list(options?: ListEmailsOptions): Promise<ListEmailsResponse>;
|
|
986
|
+
update(payload: UpdateEmailOptions): Promise<UpdateEmailResponse>;
|
|
987
|
+
cancel(id: string): Promise<CancelEmailResponse>;
|
|
988
|
+
} //#endregion
|
|
989
|
+
//#region src/segments/interfaces/create-segment-options.interface.d.ts
|
|
990
|
+
interface CreateSegmentOptions {
|
|
991
|
+
name: string;
|
|
992
|
+
}
|
|
993
|
+
interface CreateSegmentRequestOptions extends PostOptions {}
|
|
994
|
+
interface CreateSegmentResponseSuccess extends Pick<Segment, 'name' | 'id'> {
|
|
995
|
+
object: 'segment';
|
|
996
|
+
}
|
|
997
|
+
type CreateSegmentResponse = Response<CreateSegmentResponseSuccess>; //#endregion
|
|
998
|
+
//#region src/segments/interfaces/get-segment.interface.d.ts
|
|
999
|
+
interface GetSegmentResponseSuccess extends Pick<Segment, 'id' | 'name' | 'created_at'> {
|
|
1000
|
+
object: 'segment';
|
|
1001
|
+
}
|
|
1002
|
+
type GetSegmentResponse = Response<GetSegmentResponseSuccess>; //#endregion
|
|
1003
|
+
//#region src/segments/interfaces/list-segments.interface.d.ts
|
|
1004
|
+
type ListSegmentsOptions = PaginationOptions;
|
|
1005
|
+
type ListSegmentsResponseSuccess = {
|
|
1006
|
+
object: 'list';
|
|
1007
|
+
data: Segment[];
|
|
1008
|
+
has_more: boolean;
|
|
1009
|
+
};
|
|
1010
|
+
type ListSegmentsResponse = Response<ListSegmentsResponseSuccess>; //#endregion
|
|
1011
|
+
//#region src/segments/interfaces/remove-segment.interface.d.ts
|
|
1012
|
+
interface RemoveSegmentResponseSuccess extends Pick<Segment, 'id'> {
|
|
1013
|
+
object: 'segment';
|
|
1014
|
+
deleted: boolean;
|
|
1015
|
+
}
|
|
1016
|
+
type RemoveSegmentResponse = Response<RemoveSegmentResponseSuccess>; //#endregion
|
|
1017
|
+
//#region src/segments/segments.d.ts
|
|
1018
|
+
declare class Segments {
|
|
1019
|
+
private readonly resend;
|
|
1020
|
+
constructor(resend: Resend);
|
|
1021
|
+
create(payload: CreateSegmentOptions, options?: CreateSegmentRequestOptions): Promise<CreateSegmentResponse>;
|
|
1022
|
+
list(options?: ListSegmentsOptions): Promise<ListSegmentsResponse>;
|
|
1023
|
+
get(id: string): Promise<GetSegmentResponse>;
|
|
1024
|
+
remove(id: string): Promise<RemoveSegmentResponse>;
|
|
1025
|
+
} //#endregion
|
|
1026
|
+
//#region src/templates/interfaces/template.d.ts
|
|
1027
|
+
interface Template {
|
|
1028
|
+
id: string;
|
|
1029
|
+
name: string;
|
|
1030
|
+
subject: string | null;
|
|
1031
|
+
html: string;
|
|
1032
|
+
text: string | null;
|
|
1033
|
+
status: 'draft' | 'published';
|
|
1034
|
+
variables: TemplateVariable[] | null;
|
|
1035
|
+
alias: string | null;
|
|
1036
|
+
from: string | null;
|
|
1037
|
+
reply_to: string[] | null;
|
|
1038
|
+
published_at: string | null;
|
|
1039
|
+
created_at: string;
|
|
1040
|
+
updated_at: string;
|
|
1041
|
+
has_unpublished_versions: boolean;
|
|
1042
|
+
current_version_id: string;
|
|
1043
|
+
}
|
|
1044
|
+
interface TemplateVariable {
|
|
1045
|
+
key: string;
|
|
1046
|
+
fallback_value: string | number | null;
|
|
1047
|
+
type: 'string' | 'number';
|
|
1048
|
+
created_at: string;
|
|
1049
|
+
updated_at: string;
|
|
1050
|
+
} //#endregion
|
|
1051
|
+
//#region src/templates/interfaces/create-template-options.interface.d.ts
|
|
1052
|
+
type TemplateContentCreationOptions = RequireAtLeastOne<{
|
|
1053
|
+
html: string;
|
|
1054
|
+
react: React.ReactNode;
|
|
1055
|
+
}>;
|
|
1056
|
+
type TemplateVariableCreationOptions = Pick<TemplateVariable, 'key' | 'type'> & ({
|
|
1057
|
+
type: 'string';
|
|
1058
|
+
fallbackValue?: string | null;
|
|
1059
|
+
} | {
|
|
1060
|
+
type: 'number';
|
|
1061
|
+
fallbackValue?: number | null;
|
|
1062
|
+
});
|
|
1063
|
+
type TemplateOptionalFieldsForCreation = Partial<Pick<Template, 'subject' | 'text' | 'alias' | 'from'>> & {
|
|
1064
|
+
replyTo?: string[] | string;
|
|
1065
|
+
variables?: TemplateVariableCreationOptions[];
|
|
1066
|
+
};
|
|
1067
|
+
type CreateTemplateOptions = Pick<Template, 'name'> & TemplateOptionalFieldsForCreation & TemplateContentCreationOptions;
|
|
1068
|
+
interface CreateTemplateResponseSuccess extends Pick<Template, 'id'> {
|
|
1069
|
+
object: 'template';
|
|
1070
|
+
}
|
|
1071
|
+
type CreateTemplateResponse = Response<CreateTemplateResponseSuccess>; //#endregion
|
|
1072
|
+
//#region src/templates/interfaces/duplicate-template.interface.d.ts
|
|
1073
|
+
interface DuplicateTemplateResponseSuccess extends Pick<Template, 'id'> {
|
|
1074
|
+
object: 'template';
|
|
1075
|
+
}
|
|
1076
|
+
type DuplicateTemplateResponse = Response<DuplicateTemplateResponseSuccess>; //#endregion
|
|
1077
|
+
//#region src/templates/interfaces/publish-template.interface.d.ts
|
|
1078
|
+
interface PublishTemplateResponseSuccess extends Pick<Template, 'id'> {
|
|
1079
|
+
object: 'template';
|
|
1080
|
+
}
|
|
1081
|
+
type PublishTemplateResponse = Response<PublishTemplateResponseSuccess>; //#endregion
|
|
1082
|
+
//#region src/templates/chainable-template-result.d.ts
|
|
1083
|
+
declare class ChainableTemplateResult<T extends CreateTemplateResponse | DuplicateTemplateResponse> implements PromiseLike<T> {
|
|
1084
|
+
private readonly promise;
|
|
1085
|
+
private readonly publishFn;
|
|
1086
|
+
constructor(promise: Promise<T>, publishFn: (id: string) => Promise<PublishTemplateResponse>);
|
|
1087
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null): PromiseLike<TResult1 | TResult2>;
|
|
1088
|
+
publish(): Promise<PublishTemplateResponse>;
|
|
1089
|
+
} //#endregion
|
|
1090
|
+
//#region src/templates/interfaces/get-template.interface.d.ts
|
|
1091
|
+
interface GetTemplateResponseSuccess extends Template {
|
|
1092
|
+
object: 'template';
|
|
1093
|
+
}
|
|
1094
|
+
type GetTemplateResponse = Response<GetTemplateResponseSuccess>; //#endregion
|
|
1095
|
+
//#region src/templates/interfaces/list-templates.interface.d.ts
|
|
1096
|
+
interface TemplateListItem extends Pick<Template, 'id' | 'name' | 'created_at' | 'updated_at' | 'status' | 'published_at' | 'alias'> {}
|
|
1097
|
+
interface ListTemplatesResponseSuccess {
|
|
1098
|
+
object: 'list';
|
|
1099
|
+
data: TemplateListItem[];
|
|
1100
|
+
has_more: boolean;
|
|
1101
|
+
}
|
|
1102
|
+
type ListTemplatesResponse = Response<ListTemplatesResponseSuccess>; //#endregion
|
|
1103
|
+
//#region src/templates/interfaces/remove-template.interface.d.ts
|
|
1104
|
+
interface RemoveTemplateResponseSuccess {
|
|
1105
|
+
object: 'template';
|
|
1106
|
+
id: string;
|
|
1107
|
+
deleted: boolean;
|
|
1108
|
+
}
|
|
1109
|
+
type RemoveTemplateResponse = Response<RemoveTemplateResponseSuccess>; //#endregion
|
|
1110
|
+
//#region src/templates/interfaces/update-template.interface.d.ts
|
|
1111
|
+
type TemplateVariableUpdateOptions = Pick<TemplateVariable, 'key' | 'type'> & ({
|
|
1112
|
+
type: 'string';
|
|
1113
|
+
fallbackValue?: string | null;
|
|
1114
|
+
} | {
|
|
1115
|
+
type: 'number';
|
|
1116
|
+
fallbackValue?: number | null;
|
|
1117
|
+
});
|
|
1118
|
+
interface UpdateTemplateOptions extends Partial<Pick<Template, 'name' | 'subject' | 'html' | 'text' | 'from' | 'alias'>> {
|
|
1119
|
+
variables?: TemplateVariableUpdateOptions[];
|
|
1120
|
+
replyTo?: string[] | string;
|
|
1121
|
+
}
|
|
1122
|
+
interface UpdateTemplateResponseSuccess extends Pick<Template, 'id'> {
|
|
1123
|
+
object: 'template';
|
|
1124
|
+
}
|
|
1125
|
+
type UpdateTemplateResponse = Response<UpdateTemplateResponseSuccess>; //#endregion
|
|
1126
|
+
//#region src/templates/templates.d.ts
|
|
1127
|
+
declare class Templates {
|
|
1128
|
+
private readonly resend;
|
|
1129
|
+
private renderAsync?;
|
|
1130
|
+
constructor(resend: Resend);
|
|
1131
|
+
create(payload: CreateTemplateOptions): ChainableTemplateResult<CreateTemplateResponse>;
|
|
1132
|
+
private performCreate;
|
|
1133
|
+
remove(identifier: string): Promise<RemoveTemplateResponse>;
|
|
1134
|
+
get(identifier: string): Promise<GetTemplateResponse>;
|
|
1135
|
+
list(options?: PaginationOptions): Promise<ListTemplatesResponse>;
|
|
1136
|
+
duplicate(identifier: string): ChainableTemplateResult<DuplicateTemplateResponse>;
|
|
1137
|
+
publish(identifier: string): Promise<PublishTemplateResponse>;
|
|
1138
|
+
update(identifier: string, payload: UpdateTemplateOptions): Promise<UpdateTemplateResponse>;
|
|
1139
|
+
} //#endregion
|
|
1140
|
+
//#region src/topics/interfaces/topic.d.ts
|
|
1141
|
+
interface Topic {
|
|
1142
|
+
id: string;
|
|
1143
|
+
name: string;
|
|
1144
|
+
description?: string;
|
|
1145
|
+
defaultSubscription: 'opt_in' | 'opt_out';
|
|
1146
|
+
created_at: string;
|
|
1147
|
+
} //#endregion
|
|
1148
|
+
//#region src/topics/interfaces/create-topic-options.interface.d.ts
|
|
1149
|
+
interface CreateTopicOptions {
|
|
1150
|
+
name: string;
|
|
1151
|
+
description?: string;
|
|
1152
|
+
defaultSubscription: 'opt_in' | 'opt_out';
|
|
1153
|
+
}
|
|
1154
|
+
type CreateTopicResponseSuccess = Pick<Topic, 'id'>;
|
|
1155
|
+
type CreateTopicResponse = Response<CreateTopicResponseSuccess>; //#endregion
|
|
1156
|
+
//#region src/topics/interfaces/get-contact.interface.d.ts
|
|
1157
|
+
type GetTopicResponseSuccess = Topic;
|
|
1158
|
+
type GetTopicResponse = Response<GetTopicResponseSuccess>; //#endregion
|
|
1159
|
+
//#region src/topics/interfaces/list-topics.interface.d.ts
|
|
1160
|
+
interface ListTopicsResponseSuccess {
|
|
1161
|
+
data: Topic[];
|
|
1162
|
+
}
|
|
1163
|
+
type ListTopicsResponse = Response<ListTopicsResponseSuccess>; //#endregion
|
|
1164
|
+
//#region src/topics/interfaces/remove-topic.interface.d.ts
|
|
1165
|
+
type RemoveTopicResponseSuccess = Pick<Topic, 'id'> & {
|
|
1166
|
+
object: 'topic';
|
|
1167
|
+
deleted: boolean;
|
|
1168
|
+
};
|
|
1169
|
+
type RemoveTopicResponse = Response<RemoveTopicResponseSuccess>; //#endregion
|
|
1170
|
+
//#region src/topics/interfaces/update-topic.interface.d.ts
|
|
1171
|
+
interface UpdateTopicOptions {
|
|
1172
|
+
id: string;
|
|
1173
|
+
name?: string;
|
|
1174
|
+
description?: string;
|
|
1175
|
+
}
|
|
1176
|
+
type UpdateTopicResponseSuccess = Pick<Topic, 'id'>;
|
|
1177
|
+
type UpdateTopicResponse = Response<UpdateTopicResponseSuccess>; //#endregion
|
|
1178
|
+
//#region src/topics/topics.d.ts
|
|
1179
|
+
declare class Topics {
|
|
1180
|
+
private readonly resend;
|
|
1181
|
+
constructor(resend: Resend);
|
|
1182
|
+
create(payload: CreateTopicOptions): Promise<CreateTopicResponse>;
|
|
1183
|
+
list(): Promise<ListTopicsResponse>;
|
|
1184
|
+
get(id: string): Promise<GetTopicResponse>;
|
|
1185
|
+
update(payload: UpdateTopicOptions): Promise<UpdateTopicResponse>;
|
|
1186
|
+
remove(id: string): Promise<RemoveTopicResponse>;
|
|
1187
|
+
} //#endregion
|
|
1188
|
+
//#region src/webhooks/interfaces/webhook-event.interface.d.ts
|
|
1189
|
+
type WebhookEvent = 'email.sent' | 'email.delivered' | 'email.delivery_delayed' | 'email.complained' | 'email.bounced' | 'email.opened' | 'email.clicked' | 'email.received' | 'email.failed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'domain.created' | 'domain.updated' | 'domain.deleted'; //#endregion
|
|
1190
|
+
//#region src/webhooks/interfaces/create-webhook-options.interface.d.ts
|
|
1191
|
+
interface CreateWebhookOptions {
|
|
1192
|
+
endpoint: string;
|
|
1193
|
+
events: WebhookEvent[];
|
|
1194
|
+
}
|
|
1195
|
+
interface CreateWebhookRequestOptions extends PostOptions {}
|
|
1196
|
+
interface CreateWebhookResponseSuccess {
|
|
1197
|
+
object: 'webhook';
|
|
1198
|
+
id: string;
|
|
1199
|
+
signing_secret: string;
|
|
1200
|
+
}
|
|
1201
|
+
type CreateWebhookResponse = Response<CreateWebhookResponseSuccess>; //#endregion
|
|
1202
|
+
//#region src/webhooks/interfaces/get-webhook.interface.d.ts
|
|
1203
|
+
interface GetWebhookResponseSuccess {
|
|
1204
|
+
object: 'webhook';
|
|
1205
|
+
id: string;
|
|
1206
|
+
created_at: string;
|
|
1207
|
+
status: 'enabled' | 'disabled';
|
|
1208
|
+
endpoint: string;
|
|
1209
|
+
events: WebhookEvent[] | null;
|
|
1210
|
+
signing_secret: string;
|
|
1211
|
+
}
|
|
1212
|
+
type GetWebhookResponse = Response<GetWebhookResponseSuccess>; //#endregion
|
|
1213
|
+
//#region src/webhooks/interfaces/list-webhooks.interface.d.ts
|
|
1214
|
+
type ListWebhooksOptions = PaginationOptions;
|
|
1215
|
+
interface Webhook {
|
|
1216
|
+
id: string;
|
|
1217
|
+
endpoint: string;
|
|
1218
|
+
created_at: string;
|
|
1219
|
+
status: 'enabled' | 'disabled';
|
|
1220
|
+
events: WebhookEvent[] | null;
|
|
1221
|
+
}
|
|
1222
|
+
type ListWebhooksResponseSuccess = {
|
|
1223
|
+
object: 'list';
|
|
1224
|
+
has_more: boolean;
|
|
1225
|
+
data: Webhook[];
|
|
1226
|
+
};
|
|
1227
|
+
type ListWebhooksResponse = Response<ListWebhooksResponseSuccess>; //#endregion
|
|
1228
|
+
//#region src/webhooks/interfaces/remove-webhook.interface.d.ts
|
|
1229
|
+
type RemoveWebhookResponseSuccess = Pick<Webhook, 'id'> & {
|
|
1230
|
+
object: 'webhook';
|
|
1231
|
+
deleted: boolean;
|
|
1232
|
+
};
|
|
1233
|
+
type RemoveWebhookResponse = Response<RemoveWebhookResponseSuccess>; //#endregion
|
|
1234
|
+
//#region src/webhooks/interfaces/update-webhook.interface.d.ts
|
|
1235
|
+
interface UpdateWebhookOptions {
|
|
1236
|
+
endpoint?: string;
|
|
1237
|
+
events?: WebhookEvent[];
|
|
1238
|
+
status?: 'enabled' | 'disabled';
|
|
1239
|
+
}
|
|
1240
|
+
interface UpdateWebhookResponseSuccess {
|
|
1241
|
+
object: 'webhook';
|
|
1242
|
+
id: string;
|
|
1243
|
+
}
|
|
1244
|
+
type UpdateWebhookResponse = Response<UpdateWebhookResponseSuccess>; //#endregion
|
|
1245
|
+
//#region src/webhooks/webhooks.d.ts
|
|
1246
|
+
interface Headers {
|
|
1247
|
+
id: string;
|
|
1248
|
+
timestamp: string;
|
|
1249
|
+
signature: string;
|
|
1250
|
+
}
|
|
1251
|
+
interface VerifyWebhookOptions {
|
|
1252
|
+
payload: string;
|
|
1253
|
+
headers: Headers;
|
|
1254
|
+
webhookSecret: string;
|
|
1255
|
+
}
|
|
1256
|
+
declare class Webhooks {
|
|
1257
|
+
private readonly resend;
|
|
1258
|
+
constructor(resend: Resend);
|
|
1259
|
+
create(payload: CreateWebhookOptions, options?: CreateWebhookRequestOptions): Promise<CreateWebhookResponse>;
|
|
1260
|
+
get(id: string): Promise<GetWebhookResponse>;
|
|
1261
|
+
list(options?: ListWebhooksOptions): Promise<ListWebhooksResponse>;
|
|
1262
|
+
update(id: string, payload: UpdateWebhookOptions): Promise<UpdateWebhookResponse>;
|
|
1263
|
+
remove(id: string): Promise<RemoveWebhookResponse>;
|
|
1264
|
+
verify(payload: VerifyWebhookOptions): unknown;
|
|
1265
|
+
} //#endregion
|
|
1266
|
+
//#region src/resend.d.ts
|
|
1267
|
+
declare class Resend {
|
|
1268
|
+
readonly key?: string | undefined;
|
|
1269
|
+
private readonly headers;
|
|
1270
|
+
readonly apiKeys: ApiKeys;
|
|
1271
|
+
readonly segments: Segments;
|
|
1272
|
+
/**
|
|
1273
|
+
* @deprecated Use segments instead
|
|
1274
|
+
*/
|
|
1275
|
+
readonly audiences: Segments;
|
|
1276
|
+
readonly batch: Batch;
|
|
1277
|
+
readonly broadcasts: Broadcasts;
|
|
1278
|
+
readonly contacts: Contacts;
|
|
1279
|
+
readonly contactProperties: ContactProperties;
|
|
1280
|
+
readonly domains: Domains;
|
|
1281
|
+
readonly emails: Emails;
|
|
1282
|
+
readonly webhooks: Webhooks;
|
|
1283
|
+
readonly templates: Templates;
|
|
1284
|
+
readonly topics: Topics;
|
|
1285
|
+
constructor(key?: string | undefined);
|
|
1286
|
+
fetchRequest<T>(path: string, options?: {}): Promise<Response<T>>;
|
|
1287
|
+
post<T>(path: string, entity?: unknown, options?: PostOptions & IdempotentRequest): Promise<Response<T>>;
|
|
1288
|
+
get<T>(path: string, options?: GetOptions): Promise<Response<T>>;
|
|
1289
|
+
put<T>(path: string, entity: unknown, options?: PutOptions): Promise<Response<T>>;
|
|
1290
|
+
patch<T>(path: string, entity: unknown, options?: PatchOptions): Promise<Response<T>>;
|
|
1291
|
+
delete<T>(path: string, query?: unknown): Promise<Response<T>>;
|
|
1292
|
+
} //#endregion
|
|
1293
|
+
//#endregion
|
|
1294
|
+
export { Resend };
|
|
1295
|
+
//# sourceMappingURL=index.d.ts.map
|