lancer-shared 1.2.310 → 1.2.312
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.
- package/dist/bundle.cjs.js +108 -136
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +103 -135
- package/dist/bundle.esm.js.map +1 -1
- package/dist/constants/routes.d.ts +8 -0
- package/dist/schemas/campaign/campaign-analytics.d.ts +32 -0
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/scraper/scrape-payload.d.ts +43 -0
- package/dist/schemas/upwork-talent/index.d.ts +562 -0
- package/package.json +1 -1
|
@@ -68,6 +68,7 @@ export declare const ROUTES: {
|
|
|
68
68
|
readonly BY_PROVIDER: (provider: string) => string;
|
|
69
69
|
readonly BY_PROVIDER_AND_ID: (provider: string, id: string) => string;
|
|
70
70
|
readonly REFRESH_PROXY: (bidderId: string) => string;
|
|
71
|
+
readonly REFRESH_WITH_IPROYAL_PROXY: (bidderId: string) => string;
|
|
71
72
|
readonly AGENCIES: "admin/bidder-accounts/agencies";
|
|
72
73
|
readonly ASSIGN_IPROYAL_PROXY: (bidderId: string) => string;
|
|
73
74
|
};
|
|
@@ -302,6 +303,13 @@ export declare const ROUTES: {
|
|
|
302
303
|
readonly TOP_10_CATEGORIES_BY_AVG_PAID_PER_PROJECT: "upwork-analytics/top-10-categories-by-avg-paid-per-project";
|
|
303
304
|
readonly TOP_20_CATEGORIES_BY_AVG_HOURLY_RATE_PAID: "upwork-analytics/top-20-categories-by-avg-hourly-rate-paid";
|
|
304
305
|
};
|
|
306
|
+
readonly UPWORK_TALENT: {
|
|
307
|
+
readonly BASE: "upwork-talent";
|
|
308
|
+
readonly SEARCH: "upwork-talent/search";
|
|
309
|
+
readonly BY_ID: (id: string) => string;
|
|
310
|
+
readonly COUNTRIES: "upwork-talent/countries";
|
|
311
|
+
readonly SKILLS: "upwork-talent/skills";
|
|
312
|
+
};
|
|
305
313
|
readonly BIDDER_INSTANCES: {
|
|
306
314
|
readonly BASE: "bidder-instances";
|
|
307
315
|
readonly BY_ID: (id: string) => string;
|
|
@@ -964,6 +964,7 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
964
964
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
965
965
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
966
966
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
967
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
967
968
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
968
969
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
969
970
|
expenses: z.ZodObject<{
|
|
@@ -987,18 +988,21 @@ export declare const campaignStatusActivitySchema: z.ZodObject<z.objectUtil.exte
|
|
|
987
988
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
988
989
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
989
990
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
991
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
990
992
|
}, "strip", z.ZodTypeAny, {
|
|
991
993
|
contractorName: string | null;
|
|
992
994
|
specialisedProfile: string | null;
|
|
993
995
|
agencyName: string | null;
|
|
994
996
|
bidderId: string | null;
|
|
995
997
|
bidAs: "agency" | "freelancer" | null;
|
|
998
|
+
selectedPortfoliosIds: string[] | null;
|
|
996
999
|
}, {
|
|
997
1000
|
contractorName: string | null;
|
|
998
1001
|
specialisedProfile: string | null;
|
|
999
1002
|
agencyName: string | null;
|
|
1000
1003
|
bidderId: string | null;
|
|
1001
1004
|
bidAs: "agency" | "freelancer" | null;
|
|
1005
|
+
selectedPortfoliosIds: string[] | null;
|
|
1002
1006
|
}>>;
|
|
1003
1007
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1004
1008
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1625,6 +1629,7 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1625
1629
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
1626
1630
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
1627
1631
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
1632
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
1628
1633
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
1629
1634
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
1630
1635
|
expenses: z.ZodObject<{
|
|
@@ -1648,18 +1653,21 @@ export declare const leadAnalysisActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
1648
1653
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
1649
1654
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
1650
1655
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
1656
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1651
1657
|
}, "strip", z.ZodTypeAny, {
|
|
1652
1658
|
contractorName: string | null;
|
|
1653
1659
|
specialisedProfile: string | null;
|
|
1654
1660
|
agencyName: string | null;
|
|
1655
1661
|
bidderId: string | null;
|
|
1656
1662
|
bidAs: "agency" | "freelancer" | null;
|
|
1663
|
+
selectedPortfoliosIds: string[] | null;
|
|
1657
1664
|
}, {
|
|
1658
1665
|
contractorName: string | null;
|
|
1659
1666
|
specialisedProfile: string | null;
|
|
1660
1667
|
agencyName: string | null;
|
|
1661
1668
|
bidderId: string | null;
|
|
1662
1669
|
bidAs: "agency" | "freelancer" | null;
|
|
1670
|
+
selectedPortfoliosIds: string[] | null;
|
|
1663
1671
|
}>>;
|
|
1664
1672
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
1665
1673
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2717,6 +2725,7 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2717
2725
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
2718
2726
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
2719
2727
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
2728
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
2720
2729
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
2721
2730
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
2722
2731
|
expenses: z.ZodObject<{
|
|
@@ -2740,18 +2749,21 @@ export declare const leadStatusActivitySchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
2740
2749
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
2741
2750
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
2742
2751
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
2752
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2743
2753
|
}, "strip", z.ZodTypeAny, {
|
|
2744
2754
|
contractorName: string | null;
|
|
2745
2755
|
specialisedProfile: string | null;
|
|
2746
2756
|
agencyName: string | null;
|
|
2747
2757
|
bidderId: string | null;
|
|
2748
2758
|
bidAs: "agency" | "freelancer" | null;
|
|
2759
|
+
selectedPortfoliosIds: string[] | null;
|
|
2749
2760
|
}, {
|
|
2750
2761
|
contractorName: string | null;
|
|
2751
2762
|
specialisedProfile: string | null;
|
|
2752
2763
|
agencyName: string | null;
|
|
2753
2764
|
bidderId: string | null;
|
|
2754
2765
|
bidAs: "agency" | "freelancer" | null;
|
|
2766
|
+
selectedPortfoliosIds: string[] | null;
|
|
2755
2767
|
}>>;
|
|
2756
2768
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
2757
2769
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -3809,6 +3821,7 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3809
3821
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
3810
3822
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
3811
3823
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
3824
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
3812
3825
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
3813
3826
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
3814
3827
|
expenses: z.ZodObject<{
|
|
@@ -3832,18 +3845,21 @@ export declare const proposalSentActivitySchema: z.ZodObject<z.objectUtil.extend
|
|
|
3832
3845
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
3833
3846
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
3834
3847
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
3848
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
3835
3849
|
}, "strip", z.ZodTypeAny, {
|
|
3836
3850
|
contractorName: string | null;
|
|
3837
3851
|
specialisedProfile: string | null;
|
|
3838
3852
|
agencyName: string | null;
|
|
3839
3853
|
bidderId: string | null;
|
|
3840
3854
|
bidAs: "agency" | "freelancer" | null;
|
|
3855
|
+
selectedPortfoliosIds: string[] | null;
|
|
3841
3856
|
}, {
|
|
3842
3857
|
contractorName: string | null;
|
|
3843
3858
|
specialisedProfile: string | null;
|
|
3844
3859
|
agencyName: string | null;
|
|
3845
3860
|
bidderId: string | null;
|
|
3846
3861
|
bidAs: "agency" | "freelancer" | null;
|
|
3862
|
+
selectedPortfoliosIds: string[] | null;
|
|
3847
3863
|
}>>;
|
|
3848
3864
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
3849
3865
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -4898,6 +4914,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4898
4914
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
4899
4915
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
4900
4916
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
4917
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
4901
4918
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
4902
4919
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
4903
4920
|
expenses: z.ZodObject<{
|
|
@@ -4921,18 +4938,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
4921
4938
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
4922
4939
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
4923
4940
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
4941
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
4924
4942
|
}, "strip", z.ZodTypeAny, {
|
|
4925
4943
|
contractorName: string | null;
|
|
4926
4944
|
specialisedProfile: string | null;
|
|
4927
4945
|
agencyName: string | null;
|
|
4928
4946
|
bidderId: string | null;
|
|
4929
4947
|
bidAs: "agency" | "freelancer" | null;
|
|
4948
|
+
selectedPortfoliosIds: string[] | null;
|
|
4930
4949
|
}, {
|
|
4931
4950
|
contractorName: string | null;
|
|
4932
4951
|
specialisedProfile: string | null;
|
|
4933
4952
|
agencyName: string | null;
|
|
4934
4953
|
bidderId: string | null;
|
|
4935
4954
|
bidAs: "agency" | "freelancer" | null;
|
|
4955
|
+
selectedPortfoliosIds: string[] | null;
|
|
4936
4956
|
}>>;
|
|
4937
4957
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
4938
4958
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -5558,6 +5578,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5558
5578
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
5559
5579
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
5560
5580
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
5581
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
5561
5582
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
5562
5583
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
5563
5584
|
expenses: z.ZodObject<{
|
|
@@ -5581,18 +5602,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
5581
5602
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
5582
5603
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
5583
5604
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
5605
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
5584
5606
|
}, "strip", z.ZodTypeAny, {
|
|
5585
5607
|
contractorName: string | null;
|
|
5586
5608
|
specialisedProfile: string | null;
|
|
5587
5609
|
agencyName: string | null;
|
|
5588
5610
|
bidderId: string | null;
|
|
5589
5611
|
bidAs: "agency" | "freelancer" | null;
|
|
5612
|
+
selectedPortfoliosIds: string[] | null;
|
|
5590
5613
|
}, {
|
|
5591
5614
|
contractorName: string | null;
|
|
5592
5615
|
specialisedProfile: string | null;
|
|
5593
5616
|
agencyName: string | null;
|
|
5594
5617
|
bidderId: string | null;
|
|
5595
5618
|
bidAs: "agency" | "freelancer" | null;
|
|
5619
|
+
selectedPortfoliosIds: string[] | null;
|
|
5596
5620
|
}>>;
|
|
5597
5621
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
5598
5622
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -6649,6 +6673,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6649
6673
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
6650
6674
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
6651
6675
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
6676
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
6652
6677
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
6653
6678
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
6654
6679
|
expenses: z.ZodObject<{
|
|
@@ -6672,18 +6697,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
6672
6697
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
6673
6698
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
6674
6699
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
6700
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
6675
6701
|
}, "strip", z.ZodTypeAny, {
|
|
6676
6702
|
contractorName: string | null;
|
|
6677
6703
|
specialisedProfile: string | null;
|
|
6678
6704
|
agencyName: string | null;
|
|
6679
6705
|
bidderId: string | null;
|
|
6680
6706
|
bidAs: "agency" | "freelancer" | null;
|
|
6707
|
+
selectedPortfoliosIds: string[] | null;
|
|
6681
6708
|
}, {
|
|
6682
6709
|
contractorName: string | null;
|
|
6683
6710
|
specialisedProfile: string | null;
|
|
6684
6711
|
agencyName: string | null;
|
|
6685
6712
|
bidderId: string | null;
|
|
6686
6713
|
bidAs: "agency" | "freelancer" | null;
|
|
6714
|
+
selectedPortfoliosIds: string[] | null;
|
|
6687
6715
|
}>>;
|
|
6688
6716
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
6689
6717
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -7740,6 +7768,7 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7740
7768
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
7741
7769
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
7742
7770
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
7771
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
7743
7772
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
7744
7773
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
7745
7774
|
expenses: z.ZodObject<{
|
|
@@ -7763,18 +7792,21 @@ export declare const campaignActivitySchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
7763
7792
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
7764
7793
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
7765
7794
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
7795
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
7766
7796
|
}, "strip", z.ZodTypeAny, {
|
|
7767
7797
|
contractorName: string | null;
|
|
7768
7798
|
specialisedProfile: string | null;
|
|
7769
7799
|
agencyName: string | null;
|
|
7770
7800
|
bidderId: string | null;
|
|
7771
7801
|
bidAs: "agency" | "freelancer" | null;
|
|
7802
|
+
selectedPortfoliosIds: string[] | null;
|
|
7772
7803
|
}, {
|
|
7773
7804
|
contractorName: string | null;
|
|
7774
7805
|
specialisedProfile: string | null;
|
|
7775
7806
|
agencyName: string | null;
|
|
7776
7807
|
bidderId: string | null;
|
|
7777
7808
|
bidAs: "agency" | "freelancer" | null;
|
|
7809
|
+
selectedPortfoliosIds: string[] | null;
|
|
7778
7810
|
}>>;
|
|
7779
7811
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
7780
7812
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -17,10 +17,10 @@ export * from './saved-search';
|
|
|
17
17
|
export * from './scraper';
|
|
18
18
|
export * from './shared';
|
|
19
19
|
export * from './system';
|
|
20
|
-
export * from './talent';
|
|
21
20
|
export * from './time-filter';
|
|
22
21
|
export * from './transaction';
|
|
23
22
|
export * from './upwork-analytics';
|
|
23
|
+
export * from './upwork-talent';
|
|
24
24
|
export * from './usage';
|
|
25
25
|
export * from './usage-event';
|
|
26
26
|
export * from './user';
|
|
@@ -699,6 +699,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
699
699
|
biddingFixedHourlyRate: z.ZodNullable<z.ZodNumber>;
|
|
700
700
|
alreadyHiredAction: z.ZodEnum<["skip", "bid"]>;
|
|
701
701
|
biddingHourlyRatePercentage: z.ZodNullable<z.ZodNumber>;
|
|
702
|
+
biddingFixedPriceRate: z.ZodNullable<z.ZodNumber>;
|
|
702
703
|
bidWithWarning: z.ZodEnum<["bid", "skip"]>;
|
|
703
704
|
leadCounts: z.ZodNullable<z.ZodRecord<z.ZodEnum<["leads", "contacted", "insufficientConnects", "doesNotMeetCriteria", "syncedInAnotherCampaign", "dailyLimitReached", "boostAboveMaxConnects", "privateJob", "noLongerAvailable", "rejected", "alreadyBiddedOn", "viewed", "replied", "biddingScheduled", "biddingFailed", "alreadyHired", "won"]>, z.ZodNumber>>;
|
|
704
705
|
expenses: z.ZodObject<{
|
|
@@ -722,18 +723,21 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
722
723
|
contractorName: z.ZodNullable<z.ZodString>;
|
|
723
724
|
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
724
725
|
bidAs: z.ZodNullable<z.ZodEnum<["agency", "freelancer"]>>;
|
|
726
|
+
selectedPortfoliosIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
725
727
|
}, "strip", z.ZodTypeAny, {
|
|
726
728
|
agencyName: string | null;
|
|
727
729
|
bidderId: string | null;
|
|
728
730
|
contractorName: string | null;
|
|
729
731
|
specialisedProfile: string | null;
|
|
730
732
|
bidAs: "agency" | "freelancer" | null;
|
|
733
|
+
selectedPortfoliosIds: string[] | null;
|
|
731
734
|
}, {
|
|
732
735
|
agencyName: string | null;
|
|
733
736
|
bidderId: string | null;
|
|
734
737
|
contractorName: string | null;
|
|
735
738
|
specialisedProfile: string | null;
|
|
736
739
|
bidAs: "agency" | "freelancer" | null;
|
|
740
|
+
selectedPortfoliosIds: string[] | null;
|
|
737
741
|
}>>;
|
|
738
742
|
coverLetterTemplateId: z.ZodNullable<z.ZodString>;
|
|
739
743
|
coverLetterTemplatesIds: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -886,6 +890,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
886
890
|
biddingFixedHourlyRate: number | null;
|
|
887
891
|
alreadyHiredAction: "skip" | "bid";
|
|
888
892
|
biddingHourlyRatePercentage: number | null;
|
|
893
|
+
biddingFixedPriceRate: number | null;
|
|
889
894
|
bidWithWarning: "skip" | "bid";
|
|
890
895
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
891
896
|
expenses: {
|
|
@@ -900,6 +905,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
900
905
|
contractorName: string | null;
|
|
901
906
|
specialisedProfile: string | null;
|
|
902
907
|
bidAs: "agency" | "freelancer" | null;
|
|
908
|
+
selectedPortfoliosIds: string[] | null;
|
|
903
909
|
} | null;
|
|
904
910
|
coverLetterTemplateId: string | null;
|
|
905
911
|
coverLetterTemplatesIds: string[] | null;
|
|
@@ -1004,6 +1010,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1004
1010
|
biddingFixedHourlyRate: number | null;
|
|
1005
1011
|
alreadyHiredAction: "skip" | "bid";
|
|
1006
1012
|
biddingHourlyRatePercentage: number | null;
|
|
1013
|
+
biddingFixedPriceRate: number | null;
|
|
1007
1014
|
bidWithWarning: "skip" | "bid";
|
|
1008
1015
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
1009
1016
|
expenses: {
|
|
@@ -1018,6 +1025,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
1018
1025
|
contractorName: string | null;
|
|
1019
1026
|
specialisedProfile: string | null;
|
|
1020
1027
|
bidAs: "agency" | "freelancer" | null;
|
|
1028
|
+
selectedPortfoliosIds: string[] | null;
|
|
1021
1029
|
} | null;
|
|
1022
1030
|
coverLetterTemplateId: string | null;
|
|
1023
1031
|
coverLetterTemplatesIds: string[] | null;
|
|
@@ -2158,6 +2166,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2158
2166
|
googleOauthTokens: z.ZodNullable<z.ZodAny>;
|
|
2159
2167
|
lastUsed: z.ZodNullable<z.ZodNumber>;
|
|
2160
2168
|
multiLoginProfileId: z.ZodNullable<z.ZodString>;
|
|
2169
|
+
gologinProfileId: z.ZodNullable<z.ZodString>;
|
|
2161
2170
|
proxyId: z.ZodNullable<z.ZodString>;
|
|
2162
2171
|
newProxyId: z.ZodNullable<z.ZodString>;
|
|
2163
2172
|
profilePhotoUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -2197,6 +2206,16 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2197
2206
|
agencyId: string | null;
|
|
2198
2207
|
}>, "many">>;
|
|
2199
2208
|
specialisedProfiles: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2209
|
+
portfolios: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2210
|
+
title: z.ZodString;
|
|
2211
|
+
imageUrl: z.ZodString;
|
|
2212
|
+
}, "strip", z.ZodTypeAny, {
|
|
2213
|
+
title: string;
|
|
2214
|
+
imageUrl: string;
|
|
2215
|
+
}, {
|
|
2216
|
+
title: string;
|
|
2217
|
+
imageUrl: string;
|
|
2218
|
+
}>, "many">>;
|
|
2200
2219
|
instanceId: z.ZodNullable<z.ZodString>;
|
|
2201
2220
|
createdAt: z.ZodNumber;
|
|
2202
2221
|
updatedAt: z.ZodNumber;
|
|
@@ -2219,6 +2238,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2219
2238
|
assignedOrganizations: string[];
|
|
2220
2239
|
lastUsed: number | null;
|
|
2221
2240
|
multiLoginProfileId: string | null;
|
|
2241
|
+
gologinProfileId: string | null;
|
|
2222
2242
|
proxyId: string | null;
|
|
2223
2243
|
newProxyId: string | null;
|
|
2224
2244
|
profilePhotoUrl: string | null;
|
|
@@ -2233,6 +2253,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2233
2253
|
agencyId: string | null;
|
|
2234
2254
|
}[] | null;
|
|
2235
2255
|
specialisedProfiles: string[] | null;
|
|
2256
|
+
portfolios: {
|
|
2257
|
+
title: string;
|
|
2258
|
+
imageUrl: string;
|
|
2259
|
+
}[] | null;
|
|
2236
2260
|
instanceId: string | null;
|
|
2237
2261
|
errorMessage: string | null;
|
|
2238
2262
|
googleOauthTokens?: any;
|
|
@@ -2252,6 +2276,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2252
2276
|
assignedOrganizations: string[];
|
|
2253
2277
|
lastUsed: number | null;
|
|
2254
2278
|
multiLoginProfileId: string | null;
|
|
2279
|
+
gologinProfileId: string | null;
|
|
2255
2280
|
proxyId: string | null;
|
|
2256
2281
|
newProxyId: string | null;
|
|
2257
2282
|
profilePhotoUrl: string | null;
|
|
@@ -2266,6 +2291,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2266
2291
|
agencyId: string | null;
|
|
2267
2292
|
}[] | null;
|
|
2268
2293
|
specialisedProfiles: string[] | null;
|
|
2294
|
+
portfolios: {
|
|
2295
|
+
title: string;
|
|
2296
|
+
imageUrl: string;
|
|
2297
|
+
}[] | null;
|
|
2269
2298
|
instanceId: string | null;
|
|
2270
2299
|
errorMessage: string | null;
|
|
2271
2300
|
googleOauthTokens?: any;
|
|
@@ -2354,6 +2383,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2354
2383
|
biddingFixedHourlyRate: number | null;
|
|
2355
2384
|
alreadyHiredAction: "skip" | "bid";
|
|
2356
2385
|
biddingHourlyRatePercentage: number | null;
|
|
2386
|
+
biddingFixedPriceRate: number | null;
|
|
2357
2387
|
bidWithWarning: "skip" | "bid";
|
|
2358
2388
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
2359
2389
|
expenses: {
|
|
@@ -2368,6 +2398,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2368
2398
|
contractorName: string | null;
|
|
2369
2399
|
specialisedProfile: string | null;
|
|
2370
2400
|
bidAs: "agency" | "freelancer" | null;
|
|
2401
|
+
selectedPortfoliosIds: string[] | null;
|
|
2371
2402
|
} | null;
|
|
2372
2403
|
coverLetterTemplateId: string | null;
|
|
2373
2404
|
coverLetterTemplatesIds: string[] | null;
|
|
@@ -2645,6 +2676,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2645
2676
|
assignedOrganizations: string[];
|
|
2646
2677
|
lastUsed: number | null;
|
|
2647
2678
|
multiLoginProfileId: string | null;
|
|
2679
|
+
gologinProfileId: string | null;
|
|
2648
2680
|
proxyId: string | null;
|
|
2649
2681
|
newProxyId: string | null;
|
|
2650
2682
|
profilePhotoUrl: string | null;
|
|
@@ -2659,6 +2691,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2659
2691
|
agencyId: string | null;
|
|
2660
2692
|
}[] | null;
|
|
2661
2693
|
specialisedProfiles: string[] | null;
|
|
2694
|
+
portfolios: {
|
|
2695
|
+
title: string;
|
|
2696
|
+
imageUrl: string;
|
|
2697
|
+
}[] | null;
|
|
2662
2698
|
instanceId: string | null;
|
|
2663
2699
|
errorMessage: string | null;
|
|
2664
2700
|
googleOauthTokens?: any;
|
|
@@ -2742,6 +2778,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2742
2778
|
biddingFixedHourlyRate: number | null;
|
|
2743
2779
|
alreadyHiredAction: "skip" | "bid";
|
|
2744
2780
|
biddingHourlyRatePercentage: number | null;
|
|
2781
|
+
biddingFixedPriceRate: number | null;
|
|
2745
2782
|
bidWithWarning: "skip" | "bid";
|
|
2746
2783
|
leadCounts: Partial<Record<"leads" | "contacted" | "insufficientConnects" | "doesNotMeetCriteria" | "syncedInAnotherCampaign" | "dailyLimitReached" | "boostAboveMaxConnects" | "privateJob" | "noLongerAvailable" | "rejected" | "alreadyBiddedOn" | "viewed" | "replied" | "biddingScheduled" | "biddingFailed" | "alreadyHired" | "won", number>> | null;
|
|
2747
2784
|
expenses: {
|
|
@@ -2756,6 +2793,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
2756
2793
|
contractorName: string | null;
|
|
2757
2794
|
specialisedProfile: string | null;
|
|
2758
2795
|
bidAs: "agency" | "freelancer" | null;
|
|
2796
|
+
selectedPortfoliosIds: string[] | null;
|
|
2759
2797
|
} | null;
|
|
2760
2798
|
coverLetterTemplateId: string | null;
|
|
2761
2799
|
coverLetterTemplatesIds: string[] | null;
|
|
@@ -3038,6 +3076,7 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3038
3076
|
assignedOrganizations: string[];
|
|
3039
3077
|
lastUsed: number | null;
|
|
3040
3078
|
multiLoginProfileId: string | null;
|
|
3079
|
+
gologinProfileId: string | null;
|
|
3041
3080
|
proxyId: string | null;
|
|
3042
3081
|
newProxyId: string | null;
|
|
3043
3082
|
profilePhotoUrl: string | null;
|
|
@@ -3052,6 +3091,10 @@ export declare const checkLeadStatusPayloadSchema: z.ZodObject<{
|
|
|
3052
3091
|
agencyId: string | null;
|
|
3053
3092
|
}[] | null;
|
|
3054
3093
|
specialisedProfiles: string[] | null;
|
|
3094
|
+
portfolios: {
|
|
3095
|
+
title: string;
|
|
3096
|
+
imageUrl: string;
|
|
3097
|
+
}[] | null;
|
|
3055
3098
|
instanceId: string | null;
|
|
3056
3099
|
errorMessage: string | null;
|
|
3057
3100
|
googleOauthTokens?: any;
|