lancer-shared 1.2.175 → 1.2.177

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.
@@ -13005,7 +13005,7 @@ const updateOrganizationProfileSchema = organizationProfileSchema
13005
13005
  id: stringType(),
13006
13006
  });
13007
13007
  const createOrganizationProfileSchema = organizationProfileSchema.pick({
13008
- name: true,
13008
+ title: true,
13009
13009
  });
13010
13010
  const createOrganizationSchema = organizationSchema.pick({
13011
13011
  name: true,
@@ -13103,6 +13103,7 @@ const campaignSchema = z.object({
13103
13103
  priority: z.number().nullable(),
13104
13104
  coverLetterTemplate: coverLetterTemplateSchema.nullable(),
13105
13105
  organizationProfileId: z.string().nullable(),
13106
+ lastSyncedProposalsAt: numberType().nullable(),
13106
13107
  });
13107
13108
  const upworkAccountConnectStatusSchema = z.union([
13108
13109
  z.literal('processing'),
@@ -320,6 +320,7 @@ export declare const campaignSchema: z.ZodObject<{
320
320
  instructions: string;
321
321
  }>>;
322
322
  organizationProfileId: z.ZodNullable<z.ZodString>;
323
+ lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
323
324
  }, "strip", z.ZodTypeAny, {
324
325
  id: string;
325
326
  name: string;
@@ -413,6 +414,7 @@ export declare const campaignSchema: z.ZodObject<{
413
414
  instructions: string;
414
415
  } | null;
415
416
  organizationProfileId: string | null;
417
+ lastSyncedProposalsAt: number | null;
416
418
  status?: "active" | "draft" | "paused" | "error" | undefined;
417
419
  }, {
418
420
  id: string;
@@ -500,6 +502,7 @@ export declare const campaignSchema: z.ZodObject<{
500
502
  instructions: string;
501
503
  } | null;
502
504
  organizationProfileId: string | null;
505
+ lastSyncedProposalsAt: number | null;
503
506
  status?: "active" | "draft" | "paused" | "error" | undefined;
504
507
  boostingEnabled?: boolean | null | undefined;
505
508
  maximumBoost?: number | null | undefined;
@@ -828,6 +831,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
828
831
  instructions: string;
829
832
  }>>;
830
833
  organizationProfileId: z.ZodNullable<z.ZodString>;
834
+ lastSyncedProposalsAt: z.ZodNullable<z.ZodNumber>;
831
835
  }, "id" | "createdAt" | "updatedAt" | "bidConfig">, "strip", z.ZodTypeAny, {
832
836
  name: string;
833
837
  filters: {
@@ -912,6 +916,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
912
916
  instructions: string;
913
917
  } | null;
914
918
  organizationProfileId: string | null;
919
+ lastSyncedProposalsAt: number | null;
915
920
  status?: "active" | "draft" | "paused" | "error" | undefined;
916
921
  }, {
917
922
  name: string;
@@ -990,6 +995,7 @@ export declare const createCampaignSchema: z.ZodObject<Omit<{
990
995
  instructions: string;
991
996
  } | null;
992
997
  organizationProfileId: string | null;
998
+ lastSyncedProposalsAt: number | null;
993
999
  status?: "active" | "draft" | "paused" | "error" | undefined;
994
1000
  boostingEnabled?: boolean | null | undefined;
995
1001
  maximumBoost?: number | null | undefined;
@@ -1297,6 +1303,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1297
1303
  instructions: string;
1298
1304
  }>>>;
1299
1305
  organizationProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1306
+ lastSyncedProposalsAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1300
1307
  }, "strip", z.ZodTypeAny, {
1301
1308
  status?: "active" | "draft" | "paused" | "error" | undefined;
1302
1309
  id?: string | undefined;
@@ -1389,6 +1396,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1389
1396
  instructions: string;
1390
1397
  } | null | undefined;
1391
1398
  organizationProfileId?: string | null | undefined;
1399
+ lastSyncedProposalsAt?: number | null | undefined;
1392
1400
  }, {
1393
1401
  status?: "active" | "draft" | "paused" | "error" | undefined;
1394
1402
  id?: string | undefined;
@@ -1481,6 +1489,7 @@ export declare const updateCampaignSchema: z.ZodObject<{
1481
1489
  instructions: string;
1482
1490
  } | null | undefined;
1483
1491
  organizationProfileId?: string | null | undefined;
1492
+ lastSyncedProposalsAt?: number | null | undefined;
1484
1493
  }>;
1485
1494
  export type BiddingHourlyRateStrategy = z.infer<typeof biddingHourlyRateStrategyEnum>;
1486
1495
  export interface Campaign extends z.infer<typeof campaignSchema> {
@@ -643,10 +643,10 @@ export declare const createOrganizationProfileSchema: z.ZodObject<Pick<{
643
643
  description: string;
644
644
  }>, "many">;
645
645
  createdAt: z.ZodNumber;
646
- }, "name">, "strip", z.ZodTypeAny, {
647
- name: string;
646
+ }, "title">, "strip", z.ZodTypeAny, {
647
+ title: string;
648
648
  }, {
649
- name: string;
649
+ title: string;
650
650
  }>;
651
651
  export type OrganizationProfile = z.infer<typeof organizationProfileSchema>;
652
652
  export type UpdateOrganizationProfile = z.infer<typeof updateOrganizationProfileSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.175",
3
+ "version": "1.2.177",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",