lancer-shared 1.2.54 → 1.2.56

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.
@@ -6533,6 +6533,7 @@ const ROUTES = {
6533
6533
  CONNECTS_SAVED: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/connects-saved`,
6534
6534
  BIDDER_ACCOUNTS: {
6535
6535
  BASE: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/bidder-account`,
6536
+ CONNECT: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/bidder-account/connect`,
6536
6537
  },
6537
6538
  LEADS: {
6538
6539
  BASE: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads`,
@@ -12401,7 +12402,7 @@ const systemSchema = objectType({
12401
12402
  });
12402
12403
 
12403
12404
  const agentTaskRequestSchema = z.object({
12404
- userId: z.string(),
12405
+ userId: z.string().nullable(),
12405
12406
  organizationId: z.string(),
12406
12407
  campaignId: z.string(),
12407
12408
  lead: leadSchema,
@@ -120,6 +120,7 @@ export declare const ROUTES: {
120
120
  readonly CONNECTS_SAVED: (organizationId: string, campaignId: string) => string;
121
121
  readonly BIDDER_ACCOUNTS: {
122
122
  readonly BASE: (organizationId: string, campaignId: string) => string;
123
+ readonly CONNECT: (organizationId: string, campaignId: string) => string;
123
124
  };
124
125
  readonly LEADS: {
125
126
  readonly BASE: (organizationId: string, campaignId: string) => string;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const agentTaskRequestSchema: z.ZodObject<{
3
- userId: z.ZodString;
3
+ userId: z.ZodNullable<z.ZodString>;
4
4
  organizationId: z.ZodString;
5
5
  campaignId: z.ZodString;
6
6
  lead: z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -583,7 +583,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
583
583
  wonAmount?: number | undefined;
584
584
  }>;
585
585
  }, "strip", z.ZodTypeAny, {
586
- userId: string;
586
+ userId: string | null;
587
587
  organizationId: string;
588
588
  campaignId: string;
589
589
  lead: {
@@ -716,7 +716,7 @@ export declare const agentTaskRequestSchema: z.ZodObject<{
716
716
  wonAmount?: number | undefined;
717
717
  };
718
718
  }, {
719
- userId: string;
719
+ userId: string | null;
720
720
  organizationId: string;
721
721
  campaignId: string;
722
722
  lead: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.54",
3
+ "version": "1.2.56",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",