lancer-shared 1.2.255 → 1.2.257

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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const campaignNotificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>;
2
+ export declare const campaignNotificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>;
3
3
  export declare const chatbotChannelSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
@@ -27,7 +27,7 @@ export declare const chatbotSchema: z.ZodObject<{
27
27
  }>, "many">;
28
28
  selectedChannelId: z.ZodNullable<z.ZodString>;
29
29
  notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
30
- notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, z.ZodDefault<z.ZodBoolean>>;
30
+ notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
31
31
  organizationId: z.ZodString;
32
32
  campaignId: z.ZodString;
33
33
  createdAt: z.ZodNumber;
@@ -44,7 +44,7 @@ export declare const chatbotSchema: z.ZodObject<{
44
44
  name: string;
45
45
  }[];
46
46
  selectedChannelId: string | null;
47
- notificationSettings: Partial<Record<"boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean>>;
47
+ notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
48
48
  accessToken?: string | undefined;
49
49
  refreshToken?: string | undefined;
50
50
  }, {
@@ -58,7 +58,7 @@ export declare const chatbotSchema: z.ZodObject<{
58
58
  name: string;
59
59
  }[];
60
60
  selectedChannelId: string | null;
61
- notificationSettings: Partial<Record<"boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean | undefined>>;
61
+ notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
62
62
  notificationsEnabled?: boolean | undefined;
63
63
  accessToken?: string | undefined;
64
64
  refreshToken?: string | undefined;
@@ -79,7 +79,7 @@ export declare const createChatbotSchema: z.ZodObject<Pick<{
79
79
  }>, "many">;
80
80
  selectedChannelId: z.ZodNullable<z.ZodString>;
81
81
  notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
82
- notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, z.ZodDefault<z.ZodBoolean>>;
82
+ notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
83
83
  organizationId: z.ZodString;
84
84
  campaignId: z.ZodString;
85
85
  createdAt: z.ZodNumber;
@@ -121,7 +121,7 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
121
121
  }>, "many">;
122
122
  selectedChannelId: z.ZodNullable<z.ZodString>;
123
123
  notificationsEnabled: z.ZodDefault<z.ZodBoolean>;
124
- notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>, z.ZodDefault<z.ZodBoolean>>;
124
+ notificationSettings: z.ZodRecord<z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>, z.ZodDefault<z.ZodBoolean>>;
125
125
  organizationId: z.ZodString;
126
126
  campaignId: z.ZodString;
127
127
  createdAt: z.ZodNumber;
@@ -129,31 +129,31 @@ export declare const updateChatbotSchema: z.ZodObject<Pick<{
129
129
  }, "notificationsEnabled" | "selectedChannelId" | "notificationSettings">, "strip", z.ZodTypeAny, {
130
130
  notificationsEnabled: boolean;
131
131
  selectedChannelId: string | null;
132
- notificationSettings: Partial<Record<"boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean>>;
132
+ notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean>>;
133
133
  }, {
134
134
  selectedChannelId: string | null;
135
- notificationSettings: Partial<Record<"boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning", boolean | undefined>>;
135
+ notificationSettings: Partial<Record<"biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn", boolean | undefined>>;
136
136
  notificationsEnabled?: boolean | undefined;
137
137
  }>;
138
138
  export declare const sendNotificationRequestSchema: z.ZodObject<{
139
139
  organizationId: z.ZodString;
140
140
  campaignId: z.ZodString;
141
141
  leadId: z.ZodString;
142
- notificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects"]>;
142
+ notificationType: z.ZodEnum<["suitableLead", "proposalSent", "proposalViewed", "proposalReplied", "noConnects", "accountDisconnected", "biddingWarning", "boostAboveMaxConnects", "jobNoLongerAvailable", "privateJob", "jobAlreadyBiddedOn", "biddingFailed"]>;
143
143
  message: z.ZodOptional<z.ZodString>;
144
144
  isSleepModeActive: z.ZodOptional<z.ZodBoolean>;
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  campaignId: string;
147
147
  organizationId: string;
148
148
  leadId: string;
149
- notificationType: "boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning";
149
+ notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
150
150
  message?: string | undefined;
151
151
  isSleepModeActive?: boolean | undefined;
152
152
  }, {
153
153
  campaignId: string;
154
154
  organizationId: string;
155
155
  leadId: string;
156
- notificationType: "boostAboveMaxConnects" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning";
156
+ notificationType: "biddingFailed" | "boostAboveMaxConnects" | "privateJob" | "suitableLead" | "proposalSent" | "proposalViewed" | "proposalReplied" | "noConnects" | "accountDisconnected" | "biddingWarning" | "jobNoLongerAvailable" | "jobAlreadyBiddedOn";
157
157
  message?: string | undefined;
158
158
  isSleepModeActive?: boolean | undefined;
159
159
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.255",
3
+ "version": "1.2.257",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",