@forklaunch/implementation-messaging-twilio 1.1.2 → 1.1.4

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,6 +1,6 @@
1
1
  import { SmsStatusEnum } from '@forklaunch/implementation-messaging-base/enum';
2
2
  import { BaseSmsDtos, BaseSmsEntities } from '@forklaunch/implementation-messaging-base/types';
3
- export type TwilioSmsEntities = BaseSmsEntities<typeof SmsStatusEnum>;
3
+ export type TwilioSmsEntities = BaseSmsEntities;
4
4
  export type TwilioSmsDtos = BaseSmsDtos<typeof SmsStatusEnum>;
5
5
  export type TwilioStatusCallbackDto = {
6
6
  MessageSid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"twilio.types.d.ts","sourceRoot":"","sources":["../../../domain/types/twilio.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,eAAe,EAChB,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,OAAO,aAAa,CAAC,CAAC;AACtE,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AAG9D,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAGF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC"}
1
+ {"version":3,"file":"twilio.types.d.ts","sourceRoot":"","sources":["../../../domain/types/twilio.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,eAAe,EAChB,MAAM,iDAAiD,CAAC;AAIzD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AAG9D,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAGF,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC"}
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  // twilio sms mapper entity/dto types — twilio pins the record status to the
8
8
  // canonical SmsStatusEnum since provider statuses are mapped onto it
9
- export type TwilioSmsEntities = BaseSmsEntities<typeof SmsStatusEnum>;
9
+ export type TwilioSmsEntities = BaseSmsEntities;
10
10
  export type TwilioSmsDtos = BaseSmsDtos<typeof SmsStatusEnum>;
11
11
 
12
12
  // form-encoded payload posted by Twilio delivery-status callbacks
@@ -53,8 +53,7 @@ export class TwilioSmsService<
53
53
  SchemaValidator extends AnySchemaValidator,
54
54
  Entities extends TwilioSmsEntities = TwilioSmsEntities,
55
55
  Dto extends TwilioSmsDtos = TwilioSmsDtos
56
- > implements SmsService<typeof SmsStatusEnum>
57
- {
56
+ > implements SmsService<typeof SmsStatusEnum> {
58
57
  private evaluatedTelemetryOptions: {
59
58
  logging?: boolean;
60
59
  metrics?: boolean;
@@ -10,7 +10,7 @@ export declare const SmsRecord: import("@mikro-orm/core").EntitySchemaWithMeta<"
10
10
  readonly body: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
11
11
  readonly '~c': "pii";
12
12
  }, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>;
13
- readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<any, import("@mikro-orm/core").EmptyOptions & {
13
+ readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
14
14
  readonly '~c': "none";
15
15
  }, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>;
16
16
  readonly providerMessageId: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
@@ -40,7 +40,7 @@ export declare const SmsRecord: import("@mikro-orm/core").EntitySchemaWithMeta<"
40
40
  readonly body: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
41
41
  readonly '~c': "pii";
42
42
  }, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>;
43
- readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<any, import("@mikro-orm/core").EmptyOptions & {
43
+ readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
44
44
  readonly '~c': "none";
45
45
  }, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>;
46
46
  readonly providerMessageId: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
@@ -70,7 +70,7 @@ export declare const SmsRecord: import("@mikro-orm/core").EntitySchemaWithMeta<"
70
70
  readonly body: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
71
71
  readonly '~c': "pii";
72
72
  }, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>, ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type") | keyof import("@mikro-orm/core").PropertyOptions<any>>;
73
- readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<any, import("@mikro-orm/core").EmptyOptions & {
73
+ readonly status: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions & {
74
74
  readonly '~c': "none";
75
75
  }, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>, "accessor" | "array" | "autoincrement" | "check" | "collation" | "columnType" | "columnTypes" | "comment" | "compliance" | "concurrencyCheck" | "customOrder" | "default" | "defaultRaw" | "extra" | "fieldName" | "fieldNames" | "formula" | "generated" | "getter" | "getterName" | "groups" | "hidden" | "hydrate" | "ignoreSchemaChanges" | "index" | "lazy" | "length" | "name" | "nativeEnumName" | "nullable" | "onCreate" | "onUpdate" | "persist" | "precision" | "primary" | "ref" | "returning" | "runtimeType" | "scale" | "serializedName" | "serializedPrimaryKey" | "serializer" | "setter" | "type" | "unique" | "unsigned" | "version" | ("$type" | "lazyRef" | "strictNullable" | "~options" | "~type")>;
76
76
  readonly providerMessageId: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
@@ -1 +1 @@
1
- {"version":3,"file":"sms.service.d.ts","sourceRoot":"","sources":["../../services/sms.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAEL,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAe,MAAM,iBAAiB,CAAC;AAE7D,OAAO,EAEL,aAAa,EACb,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,8BAA8B,CAAC;AAGtC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,kBAClB,MAAM,KACpB,aAmBF,CAAC;AAIF,qBAAa,gBAAgB,CAC3B,eAAe,SAAS,kBAAkB,EAC1C,QAAQ,SAAS,iBAAiB,GAAG,iBAAiB,EACtD,GAAG,SAAS,aAAa,GAAG,aAAa,CACzC,YAAW,UAAU,CAAC,OAAO,aAAa,CAAC;IAuBzC,QAAQ,CAAC,OAAO,CAAC,EAAE;QACjB,SAAS,CAAC,EAAE,gBAAgB,CAAC;KAC9B;IAvBH,OAAO,CAAC,yBAAyB,CAI/B;IACF,SAAS,CAAC,QA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AAe,EAAE,eAAe,CAAC;IACpD,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC;IAE5E,YACE,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,EAAE,EAAE,aAAa,EACjB,sBAAsB,EAAE,sBAAsB,CAAC,iBAAiB,CAAC,EACjE,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,UAAU,CAAC,OAAO,aAAa,EAAE,QAAQ,EAAE,GAAG,CAAC,EAC/C,OAAO,CAAC,EAAE;QACjB,SAAS,CAAC,EAAE,gBAAgB,CAAC;KAC9B,YAAA,EAgBF;IAEK,OAAO,CACX,MAAM,EAAE,UAAU,EAClB,EAAE,CAAC,EAAE,aAAa,EAClB,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CA4DjC;IAEK,YAAY,CAChB,EAAE,EAAE,EAAE,EAAE,KAAK,EACb,EAAE,CAAC,EAAE,aAAa,GACjB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAajC;IAED;;;OAGG;IACG,qBAAqB,CACzB,OAAO,EAAE,uBAAuB,EAChC,EAAE,CAAC,EAAE,aAAa,GACjB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAyBjC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/implementation-messaging-twilio",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Twilio implementation for forklaunch messaging",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -63,21 +63,21 @@
63
63
  "lib/**"
64
64
  ],
65
65
  "dependencies": {
66
- "@forklaunch/common": "^1.2.26",
67
- "@forklaunch/core": "^1.5.19",
68
- "@forklaunch/internal": "^1.2.29",
69
- "@forklaunch/validator": "^1.2.27",
70
- "@mikro-orm/core": "7.1.15",
66
+ "@forklaunch/common": "^1.2.27",
67
+ "@forklaunch/core": "^1.6.5",
68
+ "@forklaunch/internal": "^1.2.30",
69
+ "@forklaunch/validator": "^1.2.28",
70
+ "@mikro-orm/core": "7.2.1",
71
71
  "@sinclair/typebox": "^0.34.52",
72
72
  "ajv": "^8.20.0",
73
- "zod": "^4.5.4",
74
- "@forklaunch/implementation-messaging-base": "^1.1.2",
75
- "@forklaunch/interfaces-messaging": "^1.1.2"
73
+ "zod": "^4.6.5",
74
+ "@forklaunch/implementation-messaging-base": "^1.1.4",
75
+ "@forklaunch/interfaces-messaging": "^1.1.4"
76
76
  },
77
77
  "devDependencies": {
78
- "@mikro-orm/sqlite": "7.1.15",
78
+ "@mikro-orm/sqlite": "7.2.1",
79
79
  "depcheck": "^1.4.7",
80
- "prettier": "^3.9.6",
80
+ "prettier": "^3.9.8",
81
81
  "typedoc": "^0.28.20",
82
82
  "typescript": "^7.0.2",
83
83
  "uuid": "^14.0.2"