lancer-shared 1.2.85 → 1.2.86

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.
@@ -12989,7 +12989,7 @@ const updateChatbotSchema = chatbotSchema.pick({
12989
12989
  notificationsEnabled: true,
12990
12990
  notificationSettings: true,
12991
12991
  });
12992
- const sendNotifictionRequestSchema = z.object({
12992
+ const sendNotificationRequestSchema = z.object({
12993
12993
  organizationId: z.string(),
12994
12994
  campaignId: z.string(),
12995
12995
  leadId: z.string(),
@@ -13914,7 +13914,7 @@ exports.selectAgencyException = selectAgencyException;
13914
13914
  exports.selectContractorException = selectContractorException;
13915
13915
  exports.selectorNotFoundError = selectorNotFoundError;
13916
13916
  exports.sendAlertPayloadSchema = sendAlertPayloadSchema;
13917
- exports.sendNotifictionRequestSchema = sendNotifictionRequestSchema;
13917
+ exports.sendNotificationRequestSchema = sendNotificationRequestSchema;
13918
13918
  exports.subscribePayloadSchema = subscribePayloadSchema;
13919
13919
  exports.subscriptionSchema = subscriptionSchema;
13920
13920
  exports.subscriptionSourceEnum = subscriptionSourceEnum;
@@ -121,7 +121,7 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
121
121
  notificationSettings: Partial<Record<"suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected", boolean | undefined>>;
122
122
  notificationsEnabled?: boolean | undefined;
123
123
  }>;
124
- export declare const sendNotifictionRequestSchema: z.ZodObject<{
124
+ export declare const sendNotificationRequestSchema: z.ZodObject<{
125
125
  organizationId: z.ZodString;
126
126
  campaignId: z.ZodString;
127
127
  leadId: z.ZodString;
@@ -138,7 +138,7 @@ export declare const sendNotifictionRequestSchema: z.ZodObject<{
138
138
  notificationType: "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected";
139
139
  }>;
140
140
  export type CampaignNotificationType = z.infer<typeof campaignNotificationType>;
141
- export interface SendNotificationRequest extends z.infer<typeof sendNotifictionRequestSchema> {
141
+ export interface SendNotificationRequest extends z.infer<typeof sendNotificationRequestSchema> {
142
142
  notificationType: CampaignNotificationType;
143
143
  }
144
144
  export declare const CAMPAIGN_NOTIFICATION_TYPES: Record<CampaignNotificationType, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.85",
3
+ "version": "1.2.86",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",