@develit-services/notification 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- export { a as auditLog } from '../shared/notification.BJyMXKGH.cjs';
1
+ export { a as auditLog } from '../shared/notification.BWLPh6Gb.cjs';
2
2
  import 'drizzle-orm/sqlite-core';
@@ -1,2 +1,2 @@
1
- export { a as auditLog } from '../shared/notification.BJyMXKGH.mjs';
1
+ export { a as auditLog } from '../shared/notification.BWLPh6Gb.mjs';
2
2
  import 'drizzle-orm/sqlite-core';
@@ -1,2 +1,2 @@
1
- export { a as auditLog } from '../shared/notification.BJyMXKGH.js';
1
+ export { a as auditLog } from '../shared/notification.BWLPh6Gb.js';
2
2
  import 'drizzle-orm/sqlite-core';
@@ -1,9 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
- import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.B6BS7SD_.cjs';
3
+ import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.2rSOcFrr.cjs';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { DrizzleD1Database } from 'drizzle-orm/d1';
6
- import '../shared/notification.BJyMXKGH.cjs';
6
+ import '../shared/notification.BWLPh6Gb.cjs';
7
7
  import 'drizzle-orm/sqlite-core';
8
8
  import 'zod';
9
9
  import 'zod/v4';
@@ -1,9 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
- import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.jZ826xHp.mjs';
3
+ import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.C1quYqlT.mjs';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { DrizzleD1Database } from 'drizzle-orm/d1';
6
- import '../shared/notification.BJyMXKGH.mjs';
6
+ import '../shared/notification.BWLPh6Gb.mjs';
7
7
  import 'drizzle-orm/sqlite-core';
8
8
  import 'zod';
9
9
  import 'zod/v4';
@@ -1,9 +1,9 @@
1
1
  import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
2
2
  import { IRPCResponse } from '@develit-io/backend-sdk';
3
- import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.CQ6qviKt.js';
3
+ import { S as SlackConnector, I as IEmailConnector, a as ISmsConnector, t as tables, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, d as SendSmsInput, e as SendSmsOutput, f as SendSlackInput, g as SendSlackOutput } from '../shared/notification.oEdhCsu_.js';
4
4
  import { WorkerEntrypoint } from 'cloudflare:workers';
5
5
  import { DrizzleD1Database } from 'drizzle-orm/d1';
6
- import '../shared/notification.BJyMXKGH.js';
6
+ import '../shared/notification.BWLPh6Gb.js';
7
7
  import 'drizzle-orm/sqlite-core';
8
8
  import 'zod';
9
9
  import 'zod/v4';
@@ -2,7 +2,7 @@ import { createInternalError, uuidv4, develitWorker, cloudflareQueue, action, se
2
2
  import { s as schema } from '../shared/notification.C0X8Orrh.mjs';
3
3
  import 'drizzle-orm';
4
4
  import 'drizzle-orm/sqlite-core';
5
- import { E as EcomailConnector, T as TwilioConnector, S as SlackConnector, s as sendEmailInputSchema, a as sendSmsInputSchema, b as sendSlackInputSchema } from '../shared/notification.DkjmuyrV.mjs';
5
+ import { E as EcomailConnector, T as TwilioConnector, S as SlackConnector, s as sendEmailInputSchema, a as sendSmsInputSchema, b as sendSlackInputSchema } from '../shared/notification.CM_WoR0y.mjs';
6
6
  import { WorkerEntrypoint } from 'cloudflare:workers';
7
7
  import { drizzle } from 'drizzle-orm/d1';
8
8
  import 'zod';
@@ -1,4 +1,4 @@
1
- import { N as NotificationServiceWranglerConfig } from '../shared/notification.ko9XPJGs.cjs';
1
+ import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.cjs';
2
2
 
3
3
  declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
4
4
  vars: {
@@ -1,4 +1,4 @@
1
- import { N as NotificationServiceWranglerConfig } from '../shared/notification.ko9XPJGs.mjs';
1
+ import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.mjs';
2
2
 
3
3
  declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
4
4
  vars: {
@@ -1,4 +1,4 @@
1
- import { N as NotificationServiceWranglerConfig } from '../shared/notification.ko9XPJGs.js';
1
+ import { N as NotificationServiceWranglerConfig } from '../shared/notification.BB9Jl8DI.js';
2
2
 
3
3
  declare function defineNotificationServiceWrangler(config: NotificationServiceWranglerConfig): {
4
4
  vars: {
@@ -1,4 +1,4 @@
1
- import { s as schema } from './notification.BJyMXKGH.cjs';
1
+ import { s as schema } from './notification.BWLPh6Gb.cjs';
2
2
  import z$1, { z } from 'zod';
3
3
  import { z as z$2 } from 'zod/v4';
4
4
  import { InternalError } from '@develit-io/backend-sdk';
@@ -225,5 +225,5 @@ declare class SlackConnector {
225
225
  sendNotificationToAllSlack(message: string): Promise<void>;
226
226
  }
227
227
 
228
- export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iContactSchema as k, iAttachmentSchema as l, iEmailSchema as m, sendSlackInputSchema as o, sendSmsInputSchema as p, sendEmailInputSchema as s, tables as t };
229
- export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as n, IPushNotification as q, ISlack as r };
228
+ export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
229
+ export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
26
26
  interface NotificationServiceEnv extends NotificationEnv {
27
27
  }
28
28
 
29
- export type { NotificationServiceWranglerConfig as N, NotificationServiceEnvironmentConfig as a, NotificationServiceEnv as b };
29
+ export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
26
26
  interface NotificationServiceEnv extends NotificationEnv {
27
27
  }
28
28
 
29
- export type { NotificationServiceWranglerConfig as N, NotificationServiceEnvironmentConfig as a, NotificationServiceEnv as b };
29
+ export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
@@ -26,4 +26,4 @@ interface NotificationServiceWranglerConfig {
26
26
  interface NotificationServiceEnv extends NotificationEnv {
27
27
  }
28
28
 
29
- export type { NotificationServiceWranglerConfig as N, NotificationServiceEnvironmentConfig as a, NotificationServiceEnv as b };
29
+ export type { NotificationServiceWranglerConfig as N, NotificationServiceEnv as a, NotificationServiceEnvironmentConfig as b };
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
119
119
  }, {}, {
120
120
  length: number | undefined;
121
121
  }>;
122
- id: drizzle_orm_sqlite_core.SQLiteColumn<{
123
- name: "id";
124
- tableName: "audit_log";
125
- dataType: "string";
126
- columnType: "SQLiteText";
127
- data: string;
128
- driverParam: string;
129
- notNull: true;
130
- hasDefault: false;
131
- isPrimaryKey: true;
132
- isAutoincrement: false;
133
- hasRuntimeDefault: false;
134
- enumValues: [string, ...string[]];
135
- baseColumn: never;
136
- identity: undefined;
137
- generated: undefined;
138
- }, {}, {
139
- length: number | undefined;
140
- }>;
141
- createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
142
- name: "created_at";
143
- tableName: "audit_log";
144
- dataType: "date";
145
- columnType: "SQLiteTimestamp";
146
- data: Date;
147
- driverParam: number;
148
- notNull: false;
149
- hasDefault: true;
150
- isPrimaryKey: false;
151
- isAutoincrement: false;
152
- hasRuntimeDefault: false;
153
- enumValues: undefined;
154
- baseColumn: never;
155
- identity: undefined;
156
- generated: undefined;
157
- }, {}, {}>;
158
- updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
159
- name: "updated_at";
160
- tableName: "audit_log";
161
- dataType: "date";
162
- columnType: "SQLiteTimestamp";
163
- data: Date;
164
- driverParam: number;
165
- notNull: false;
166
- hasDefault: true;
167
- isPrimaryKey: false;
168
- isAutoincrement: false;
169
- hasRuntimeDefault: false;
170
- enumValues: undefined;
171
- baseColumn: never;
172
- identity: undefined;
173
- generated: undefined;
174
- }, {}, {}>;
175
- deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
176
- name: "deleted_at";
177
- tableName: "audit_log";
178
- dataType: "date";
179
- columnType: "SQLiteTimestamp";
180
- data: Date;
181
- driverParam: number;
182
- notNull: false;
183
- hasDefault: true;
184
- isPrimaryKey: false;
185
- isAutoincrement: false;
186
- hasRuntimeDefault: false;
187
- enumValues: undefined;
188
- baseColumn: never;
189
- identity: undefined;
190
- generated: undefined;
191
- }, {}, {}>;
122
+ id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
123
+ createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
124
+ createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
125
+ updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
126
+ updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
127
+ deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
128
+ deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
192
129
  };
193
130
  dialect: "sqlite";
194
131
  }>;
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
119
119
  }, {}, {
120
120
  length: number | undefined;
121
121
  }>;
122
- id: drizzle_orm_sqlite_core.SQLiteColumn<{
123
- name: "id";
124
- tableName: "audit_log";
125
- dataType: "string";
126
- columnType: "SQLiteText";
127
- data: string;
128
- driverParam: string;
129
- notNull: true;
130
- hasDefault: false;
131
- isPrimaryKey: true;
132
- isAutoincrement: false;
133
- hasRuntimeDefault: false;
134
- enumValues: [string, ...string[]];
135
- baseColumn: never;
136
- identity: undefined;
137
- generated: undefined;
138
- }, {}, {
139
- length: number | undefined;
140
- }>;
141
- createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
142
- name: "created_at";
143
- tableName: "audit_log";
144
- dataType: "date";
145
- columnType: "SQLiteTimestamp";
146
- data: Date;
147
- driverParam: number;
148
- notNull: false;
149
- hasDefault: true;
150
- isPrimaryKey: false;
151
- isAutoincrement: false;
152
- hasRuntimeDefault: false;
153
- enumValues: undefined;
154
- baseColumn: never;
155
- identity: undefined;
156
- generated: undefined;
157
- }, {}, {}>;
158
- updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
159
- name: "updated_at";
160
- tableName: "audit_log";
161
- dataType: "date";
162
- columnType: "SQLiteTimestamp";
163
- data: Date;
164
- driverParam: number;
165
- notNull: false;
166
- hasDefault: true;
167
- isPrimaryKey: false;
168
- isAutoincrement: false;
169
- hasRuntimeDefault: false;
170
- enumValues: undefined;
171
- baseColumn: never;
172
- identity: undefined;
173
- generated: undefined;
174
- }, {}, {}>;
175
- deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
176
- name: "deleted_at";
177
- tableName: "audit_log";
178
- dataType: "date";
179
- columnType: "SQLiteTimestamp";
180
- data: Date;
181
- driverParam: number;
182
- notNull: false;
183
- hasDefault: true;
184
- isPrimaryKey: false;
185
- isAutoincrement: false;
186
- hasRuntimeDefault: false;
187
- enumValues: undefined;
188
- baseColumn: never;
189
- identity: undefined;
190
- generated: undefined;
191
- }, {}, {}>;
122
+ id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
123
+ createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
124
+ createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
125
+ updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
126
+ updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
127
+ deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
128
+ deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
192
129
  };
193
130
  dialect: "sqlite";
194
131
  }>;
@@ -119,76 +119,13 @@ declare const auditLog: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
119
119
  }, {}, {
120
120
  length: number | undefined;
121
121
  }>;
122
- id: drizzle_orm_sqlite_core.SQLiteColumn<{
123
- name: "id";
124
- tableName: "audit_log";
125
- dataType: "string";
126
- columnType: "SQLiteText";
127
- data: string;
128
- driverParam: string;
129
- notNull: true;
130
- hasDefault: false;
131
- isPrimaryKey: true;
132
- isAutoincrement: false;
133
- hasRuntimeDefault: false;
134
- enumValues: [string, ...string[]];
135
- baseColumn: never;
136
- identity: undefined;
137
- generated: undefined;
138
- }, {}, {
139
- length: number | undefined;
140
- }>;
141
- createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
142
- name: "created_at";
143
- tableName: "audit_log";
144
- dataType: "date";
145
- columnType: "SQLiteTimestamp";
146
- data: Date;
147
- driverParam: number;
148
- notNull: false;
149
- hasDefault: true;
150
- isPrimaryKey: false;
151
- isAutoincrement: false;
152
- hasRuntimeDefault: false;
153
- enumValues: undefined;
154
- baseColumn: never;
155
- identity: undefined;
156
- generated: undefined;
157
- }, {}, {}>;
158
- updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
159
- name: "updated_at";
160
- tableName: "audit_log";
161
- dataType: "date";
162
- columnType: "SQLiteTimestamp";
163
- data: Date;
164
- driverParam: number;
165
- notNull: false;
166
- hasDefault: true;
167
- isPrimaryKey: false;
168
- isAutoincrement: false;
169
- hasRuntimeDefault: false;
170
- enumValues: undefined;
171
- baseColumn: never;
172
- identity: undefined;
173
- generated: undefined;
174
- }, {}, {}>;
175
- deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
176
- name: "deleted_at";
177
- tableName: "audit_log";
178
- dataType: "date";
179
- columnType: "SQLiteTimestamp";
180
- data: Date;
181
- driverParam: number;
182
- notNull: false;
183
- hasDefault: true;
184
- isPrimaryKey: false;
185
- isAutoincrement: false;
186
- hasRuntimeDefault: false;
187
- enumValues: undefined;
188
- baseColumn: never;
189
- identity: undefined;
190
- generated: undefined;
191
- }, {}, {}>;
122
+ id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
123
+ createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
124
+ createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
125
+ updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
126
+ updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
127
+ deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
128
+ deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
192
129
  };
193
130
  dialect: "sqlite";
194
131
  }>;
@@ -1,4 +1,4 @@
1
- import { s as schema } from './notification.BJyMXKGH.mjs';
1
+ import { s as schema } from './notification.BWLPh6Gb.mjs';
2
2
  import z$1, { z } from 'zod';
3
3
  import { z as z$2 } from 'zod/v4';
4
4
  import { InternalError } from '@develit-io/backend-sdk';
@@ -225,5 +225,5 @@ declare class SlackConnector {
225
225
  sendNotificationToAllSlack(message: string): Promise<void>;
226
226
  }
227
227
 
228
- export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iContactSchema as k, iAttachmentSchema as l, iEmailSchema as m, sendSlackInputSchema as o, sendSmsInputSchema as p, sendEmailInputSchema as s, tables as t };
229
- export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as n, IPushNotification as q, ISlack as r };
228
+ export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
229
+ export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
@@ -266,4 +266,4 @@ class SlackConnector {
266
266
  }
267
267
  }
268
268
 
269
- export { EcomailConnector as E, IEmailConnector as I, SlackConnector as S, TwilioConnector as T, sendSmsInputSchema as a, sendSlackInputSchema as b, iAttachmentSchema as c, iEmailSchema as d, ISmsConnector as e, iContactSchema as i, sendEmailInputSchema as s };
269
+ export { EcomailConnector as E, IEmailConnector as I, SlackConnector as S, TwilioConnector as T, sendSmsInputSchema as a, sendSlackInputSchema as b, ISmsConnector as c, iContactSchema as d, iEmailSchema as e, iAttachmentSchema as i, sendEmailInputSchema as s };
@@ -1,4 +1,4 @@
1
- import { s as schema } from './notification.BJyMXKGH.js';
1
+ import { s as schema } from './notification.BWLPh6Gb.js';
2
2
  import z$1, { z } from 'zod';
3
3
  import { z as z$2 } from 'zod/v4';
4
4
  import { InternalError } from '@develit-io/backend-sdk';
@@ -225,5 +225,5 @@ declare class SlackConnector {
225
225
  sendNotificationToAllSlack(message: string): Promise<void>;
226
226
  }
227
227
 
228
- export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iContactSchema as k, iAttachmentSchema as l, iEmailSchema as m, sendSlackInputSchema as o, sendSmsInputSchema as p, sendEmailInputSchema as s, tables as t };
229
- export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as n, IPushNotification as q, ISlack as r };
228
+ export { IEmailConnector as I, SlackConnector as S, ISmsConnector as a, iAttachmentSchema as n, iContactSchema as o, iEmailSchema as p, sendSlackInputSchema as q, sendSmsInputSchema as r, sendEmailInputSchema as s, tables as t };
229
+ export type { NotificationQueueMessage as N, SendEmailInput as b, SendEmailOutput as c, SendSmsInput as d, SendSmsOutput as e, SendSlackInput as f, SendSlackOutput as g, IEmail as h, IContact as i, ISms as j, IAttachment as k, IPushNotification as l, ISlack as m };
package/dist/types.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.B6BS7SD_.cjs';
2
- export { n as IAttachment, q as IPushNotification, r as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, l as iAttachmentSchema, k as iContactSchema, m as iEmailSchema, s as sendEmailInputSchema, o as sendSlackInputSchema, p as sendSmsInputSchema } from './shared/notification.B6BS7SD_.cjs';
1
+ import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.2rSOcFrr.cjs';
2
+ export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.2rSOcFrr.cjs';
3
3
  import { InternalError } from '@develit-io/backend-sdk';
4
4
  import twilio from 'twilio';
5
- import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
6
- export { b as NotificationServiceEnv, a as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.ko9XPJGs.cjs';
7
- import './shared/notification.BJyMXKGH.cjs';
5
+ import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
6
+ export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.cjs';
7
+ import './shared/notification.BWLPh6Gb.cjs';
8
8
  import 'drizzle-orm/sqlite-core';
9
9
  import 'zod';
10
10
  import 'zod/v4';
package/dist/types.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.jZ826xHp.mjs';
2
- export { n as IAttachment, q as IPushNotification, r as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, l as iAttachmentSchema, k as iContactSchema, m as iEmailSchema, s as sendEmailInputSchema, o as sendSlackInputSchema, p as sendSmsInputSchema } from './shared/notification.jZ826xHp.mjs';
1
+ import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.C1quYqlT.mjs';
2
+ export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.C1quYqlT.mjs';
3
3
  import { InternalError } from '@develit-io/backend-sdk';
4
4
  import twilio from 'twilio';
5
- import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
6
- export { b as NotificationServiceEnv, a as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.ko9XPJGs.mjs';
7
- import './shared/notification.BJyMXKGH.mjs';
5
+ import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
6
+ export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.mjs';
7
+ import './shared/notification.BWLPh6Gb.mjs';
8
8
  import 'drizzle-orm/sqlite-core';
9
9
  import 'zod';
10
10
  import 'zod/v4';
package/dist/types.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.CQ6qviKt.js';
2
- export { n as IAttachment, q as IPushNotification, r as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, l as iAttachmentSchema, k as iContactSchema, m as iEmailSchema, s as sendEmailInputSchema, o as sendSlackInputSchema, p as sendSmsInputSchema } from './shared/notification.CQ6qviKt.js';
1
+ import { I as IEmailConnector, h as IEmail, i as IContact, a as ISmsConnector, j as ISms, t as tables } from './shared/notification.oEdhCsu_.js';
2
+ export { k as IAttachment, l as IPushNotification, m as ISlack, N as NotificationQueueMessage, b as SendEmailInput, c as SendEmailOutput, f as SendSlackInput, g as SendSlackOutput, d as SendSmsInput, e as SendSmsOutput, S as SlackConnector, n as iAttachmentSchema, o as iContactSchema, p as iEmailSchema, s as sendEmailInputSchema, q as sendSlackInputSchema, r as sendSmsInputSchema } from './shared/notification.oEdhCsu_.js';
3
3
  import { InternalError } from '@develit-io/backend-sdk';
4
4
  import twilio from 'twilio';
5
- import { InferSelectModel, InferInsertModel } from 'drizzle-orm';
6
- export { b as NotificationServiceEnv, a as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.ko9XPJGs.js';
7
- import './shared/notification.BJyMXKGH.js';
5
+ import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
6
+ export { a as NotificationServiceEnv, b as NotificationServiceEnvironmentConfig, N as NotificationServiceWranglerConfig } from './shared/notification.BB9Jl8DI.js';
7
+ import './shared/notification.BWLPh6Gb.js';
8
8
  import 'drizzle-orm/sqlite-core';
9
9
  import 'zod';
10
10
  import 'zod/v4';
package/dist/types.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { E as EcomailConnector, I as IEmailConnector, e as ISmsConnector, S as SlackConnector, T as TwilioConnector, c as iAttachmentSchema, i as iContactSchema, d as iEmailSchema, s as sendEmailInputSchema, b as sendSlackInputSchema, a as sendSmsInputSchema } from './shared/notification.DkjmuyrV.mjs';
1
+ export { E as EcomailConnector, I as IEmailConnector, c as ISmsConnector, S as SlackConnector, T as TwilioConnector, i as iAttachmentSchema, d as iContactSchema, e as iEmailSchema, s as sendEmailInputSchema, b as sendSlackInputSchema, a as sendSmsInputSchema } from './shared/notification.CM_WoR0y.mjs';
2
2
  import 'zod';
3
3
  import '@develit-io/backend-sdk';
4
4
  import 'zod/v4';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/notification",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,9 +33,9 @@
33
33
  "dev": "wrangler dev --port 9236 --persist-to ../../.wrangler/state -c ./wrangler.jsonc -c ../../apps/secrets-store/wrangler.jsonc",
34
34
  "wrangler:generate": "bunx develit wrangler:generate --types",
35
35
  "db:init": "wrangler d1 execute develit-notification --local --persist-to ../../.wrangler/state --command=\"SELECT 'Creating database...' AS status;\"",
36
- "db:generate": "drizzle-kit generate",
37
- "db:migrate": "drizzle-kit migrate",
38
- "db:explore": "drizzle-kit studio",
36
+ "db:generate": "NODE_OPTIONS='--import tsx' drizzle-kit generate",
37
+ "db:migrate": "NODE_OPTIONS='--import tsx' drizzle-kit migrate",
38
+ "db:explore": "NODE_OPTIONS='--import tsx' drizzle-kit studio",
39
39
  "types": "bash typegen.sh",
40
40
  "lint": "biome check",
41
41
  "lint:fix": "biome check --fix",
@@ -45,15 +45,12 @@
45
45
  "test:int": "vitest integration",
46
46
  "build": "unbuild"
47
47
  },
48
- "peerDependencies": {
49
- "@develit-io/backend-sdk": "9.1.6",
50
- "drizzle-kit": "0.31.8",
51
- "drizzle-orm": "0.45.0",
52
- "drizzle-seed": "*",
53
- "wrangler": "4.50.0",
54
- "zod": "4.1.13"
55
- },
56
48
  "dependencies": {
57
- "twilio": "^5.10.7"
49
+ "twilio": "^5.12.0"
50
+ },
51
+ "peerDependencies": {
52
+ "@develit-io/backend-sdk": "^9.8.1",
53
+ "drizzle-orm": "^0.45.0",
54
+ "zod": "^4.1.13"
58
55
  }
59
56
  }