lancer-shared 1.2.120 → 1.2.122

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.
@@ -11955,6 +11955,90 @@ const nuxtStateJobsSearchSchema = objectType({
11955
11955
  jobsSearch: jobsSearchSchema,
11956
11956
  }),
11957
11957
  });
11958
+ // import { any, array, boolean, number, object, record, string, z } from 'zod';
11959
+ // import { Region } from '../shared';
11960
+ // // This schema is now more lenient to handle null values for visitor data.
11961
+ // const clientSchema = object({
11962
+ // location: object({
11963
+ // country: string().nullable(),
11964
+ // }),
11965
+ // isPaymentVerified: boolean(),
11966
+ // totalSpent: string().nullable(),
11967
+ // totalReviews: number().nullable(), // Changed from number()
11968
+ // totalFeedback: number().nullable(), // Changed from number()
11969
+ // hasFinancialPrivacy: boolean().nullable(), // Changed from boolean()
11970
+ // });
11971
+ // const attrsSchema = object({
11972
+ // uid: string(),
11973
+ // parentSkillUid: string().nullable(),
11974
+ // prefLabel: string(),
11975
+ // prettyName: string(),
11976
+ // freeText: any().nullable(),
11977
+ // highlighted: boolean(),
11978
+ // });
11979
+ // const amountSchema = object({
11980
+ // amount: number(),
11981
+ // });
11982
+ // const hourlyBudgetSchema = object({
11983
+ // min: number(),
11984
+ // max: number(),
11985
+ // });
11986
+ // export const feedJobSchemaV2 = object({
11987
+ // uid: string(),
11988
+ // ciphertext: string(),
11989
+ // title: string(),
11990
+ // description: string(),
11991
+ // createdOn: string(),
11992
+ // publishedOn: string(),
11993
+ // renewedOn: string().nullable(),
11994
+ // type: number(),
11995
+ // durationLabel: string().nullable(),
11996
+ // engagement: string().nullable(),
11997
+ // amount: amountSchema,
11998
+ // connectPrice: number().nullable(),
11999
+ // client: clientSchema, // Uses the updated clientSchema above
12000
+ // clientRelation: any().nullable(),
12001
+ // freelancersToHire: number().nullable(), // Changed from number()
12002
+ // relevanceEncoded: string(),
12003
+ // enterpriseJob: boolean().nullable(), // Changed from boolean()
12004
+ // tierText: z.string().nullable(),
12005
+ // isApplied: boolean(),
12006
+ // proposalsTier: string().nullable(),
12007
+ // premium: boolean(),
12008
+ // attrs: array(attrsSchema),
12009
+ // hourlyBudget: hourlyBudgetSchema,
12010
+ // weeklyBudget: amountSchema,
12011
+ // isSTSVectorSearchResult: boolean().optional(), // Changed from boolean()
12012
+ // });
12013
+ // const pagingSchema = object({
12014
+ // total: number(),
12015
+ // offset: number(),
12016
+ // count: number(),
12017
+ // });
12018
+ // const jobsSearchSchema = object({
12019
+ // status: object({
12020
+ // loading: boolean(),
12021
+ // loaded: boolean(),
12022
+ // failed: boolean(),
12023
+ // }),
12024
+ // jobs: array(feedJobSchemaV2),
12025
+ // paging: pagingSchema,
12026
+ // abortController: any().nullable(),
12027
+ // currentPage: number(),
12028
+ // jobsPerPage: number(),
12029
+ // searchQueryCache: record(string()),
12030
+ // });
12031
+ // export const nuxtStateJobsSearchSchema = object({
12032
+ // state: object({
12033
+ // jobsSearch: jobsSearchSchema,
12034
+ // }),
12035
+ // });
12036
+ // export interface NuxtStateJobsSearch
12037
+ // extends z.infer<typeof nuxtStateJobsSearchSchema> {}
12038
+ // export interface FeedJobV2 extends z.infer<typeof feedJobSchemaV2> {
12039
+ // jobUrl: string;
12040
+ // region: Region;
12041
+ // }
11958
12042
 
11959
12043
  // Field mapping from feed-job to job-details for the missing fields that were added
11960
12044
  const FEED_JOB_TO_JOB_DETAILS_FIELD_MAPPING = {
@@ -12199,7 +12283,7 @@ const similarJobSchema = objectType({
12199
12283
  });
12200
12284
  // SANDS (Skills and Services) schema
12201
12285
  const sandsSkillSchema = objectType({
12202
- uid: stringType(),
12286
+ uid: stringType().nullable(),
12203
12287
  name: stringType(),
12204
12288
  isFreeText: booleanType(),
12205
12289
  relevance: stringType(),
@@ -12223,7 +12307,7 @@ const authSchema = objectType({
12223
12307
  isClient: booleanType(),
12224
12308
  isUpworkPlusBuyer: booleanType(),
12225
12309
  domestic: objectType({
12226
- country: stringType().nullable(),
12310
+ country: anyType().nullable(),
12227
12311
  isInfographicTooltipAvailable: booleanType(),
12228
12312
  }),
12229
12313
  });
@@ -12425,9 +12509,9 @@ const nuxtStateJobDetailsSchema = objectType({
12425
12509
  langs: recordType(anyType()),
12426
12510
  }),
12427
12511
  microAppUtilsOverrides: objectType({
12428
- userNavOverrides: recordType(anyType()),
12429
- userSkinnyNavSkinnyOverrides: recordType(anyType()),
12430
- visitorNavSkinnyOverrides: recordType(anyType()),
12512
+ userNavOverrides: recordType(anyType()).optional(),
12513
+ userSkinnyNavSkinnyOverrides: recordType(anyType()).optional(),
12514
+ visitorNavSkinnyOverrides: recordType(anyType()).optional(),
12431
12515
  }),
12432
12516
  });
12433
12517
 
@@ -12606,13 +12690,18 @@ const scraperAccountSchema = z.object({
12606
12690
  updatedAt: z.number(),
12607
12691
  isProtected: z.boolean().optional(),
12608
12692
  });
12609
- const createScraperAccountSchema = scraperAccountSchema.pick({
12693
+ const createScraperAccountSchema = scraperAccountSchema
12694
+ .pick({
12610
12695
  region: true,
12611
12696
  email: true,
12612
12697
  password: true,
12613
12698
  securityQuestionAnswer: true,
12614
12699
  isActive: true,
12615
12700
  type: true,
12701
+ })
12702
+ .extend({
12703
+ proxyCountry: proxyCountryEnum.optional(),
12704
+ rotatingProxy: z.boolean().optional(),
12616
12705
  });
12617
12706
  const updateScraperAccountSchema = scraperAccountSchema
12618
12707
  .omit({
@@ -44,7 +44,7 @@ export declare const scraperAccountSchema: z.ZodObject<{
44
44
  updatedAt: number;
45
45
  isProtected?: boolean | undefined;
46
46
  }>;
47
- export declare const createScraperAccountSchema: z.ZodObject<Pick<{
47
+ export declare const createScraperAccountSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
48
48
  id: z.ZodString;
49
49
  isActive: z.ZodBoolean;
50
50
  region: z.ZodEnum<["all", "Worldwide", "UKOnly", "USOnly"]>;
@@ -58,13 +58,18 @@ export declare const createScraperAccountSchema: z.ZodObject<Pick<{
58
58
  createdAt: z.ZodNumber;
59
59
  updatedAt: z.ZodNumber;
60
60
  isProtected: z.ZodOptional<z.ZodBoolean>;
61
- }, "isActive" | "region" | "email" | "password" | "securityQuestionAnswer" | "type">, "strip", z.ZodTypeAny, {
61
+ }, "isActive" | "region" | "email" | "password" | "securityQuestionAnswer" | "type">, {
62
+ proxyCountry: z.ZodOptional<z.ZodEnum<["US", "CA", "GB", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"]>>;
63
+ rotatingProxy: z.ZodOptional<z.ZodBoolean>;
64
+ }>, "strip", z.ZodTypeAny, {
62
65
  isActive: boolean;
63
66
  region: "all" | "Worldwide" | "UKOnly" | "USOnly";
64
67
  email: string;
65
68
  password: string;
66
69
  securityQuestionAnswer: string | null;
67
70
  type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
71
+ proxyCountry?: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
72
+ rotatingProxy?: boolean | undefined;
68
73
  }, {
69
74
  isActive: boolean;
70
75
  region: "all" | "Worldwide" | "UKOnly" | "USOnly";
@@ -72,6 +77,8 @@ export declare const createScraperAccountSchema: z.ZodObject<Pick<{
72
77
  password: string;
73
78
  securityQuestionAnswer: string | null;
74
79
  type: "feed" | "job" | "status" | "activity" | "profile" | "unauthenticated";
80
+ proxyCountry?: "US" | "CA" | "GB" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
81
+ rotatingProxy?: boolean | undefined;
75
82
  }>;
76
83
  export declare const updateScraperAccountSchema: z.ZodObject<{
77
84
  isActive: z.ZodOptional<z.ZodBoolean>;
@@ -1573,18 +1573,18 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1573
1573
  }>;
1574
1574
  ontologySkills: z.ZodArray<z.ZodAny, "many">;
1575
1575
  additionalSkills: z.ZodArray<z.ZodObject<{
1576
- uid: z.ZodString;
1576
+ uid: z.ZodNullable<z.ZodString>;
1577
1577
  name: z.ZodString;
1578
1578
  isFreeText: z.ZodBoolean;
1579
1579
  relevance: z.ZodString;
1580
1580
  }, "strip", z.ZodTypeAny, {
1581
1581
  name: string;
1582
- uid: string;
1582
+ uid: string | null;
1583
1583
  isFreeText: boolean;
1584
1584
  relevance: string;
1585
1585
  }, {
1586
1586
  name: string;
1587
- uid: string;
1587
+ uid: string | null;
1588
1588
  isFreeText: boolean;
1589
1589
  relevance: string;
1590
1590
  }>, "many">;
@@ -1599,7 +1599,7 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1599
1599
  };
1600
1600
  additionalSkills: {
1601
1601
  name: string;
1602
- uid: string;
1602
+ uid: string | null;
1603
1603
  isFreeText: boolean;
1604
1604
  relevance: string;
1605
1605
  }[];
@@ -1614,7 +1614,7 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1614
1614
  };
1615
1615
  additionalSkills: {
1616
1616
  name: string;
1617
- uid: string;
1617
+ uid: string | null;
1618
1618
  isFreeText: boolean;
1619
1619
  relevance: string;
1620
1620
  }[];
@@ -1626,14 +1626,14 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1626
1626
  isClient: z.ZodBoolean;
1627
1627
  isUpworkPlusBuyer: z.ZodBoolean;
1628
1628
  domestic: z.ZodObject<{
1629
- country: z.ZodNullable<z.ZodString>;
1629
+ country: z.ZodNullable<z.ZodAny>;
1630
1630
  isInfographicTooltipAvailable: z.ZodBoolean;
1631
1631
  }, "strip", z.ZodTypeAny, {
1632
- country: string | null;
1633
1632
  isInfographicTooltipAvailable: boolean;
1633
+ country?: any;
1634
1634
  }, {
1635
- country: string | null;
1636
1635
  isInfographicTooltipAvailable: boolean;
1636
+ country?: any;
1637
1637
  }>;
1638
1638
  }, "strip", z.ZodTypeAny, {
1639
1639
  isVisitor: boolean;
@@ -1642,8 +1642,8 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1642
1642
  isClient: boolean;
1643
1643
  isUpworkPlusBuyer: boolean;
1644
1644
  domestic: {
1645
- country: string | null;
1646
1645
  isInfographicTooltipAvailable: boolean;
1646
+ country?: any;
1647
1647
  };
1648
1648
  }, {
1649
1649
  isVisitor: boolean;
@@ -1652,8 +1652,8 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1652
1652
  isClient: boolean;
1653
1653
  isUpworkPlusBuyer: boolean;
1654
1654
  domestic: {
1655
- country: string | null;
1656
1655
  isInfographicTooltipAvailable: boolean;
1656
+ country?: any;
1657
1657
  };
1658
1658
  }>;
1659
1659
  applicants: z.ZodNullable<z.ZodAny>;
@@ -1896,7 +1896,7 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1896
1896
  };
1897
1897
  additionalSkills: {
1898
1898
  name: string;
1899
- uid: string;
1899
+ uid: string | null;
1900
1900
  isFreeText: boolean;
1901
1901
  relevance: string;
1902
1902
  }[];
@@ -1908,8 +1908,8 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
1908
1908
  isClient: boolean;
1909
1909
  isUpworkPlusBuyer: boolean;
1910
1910
  domestic: {
1911
- country: string | null;
1912
1911
  isInfographicTooltipAvailable: boolean;
1912
+ country?: any;
1913
1913
  };
1914
1914
  };
1915
1915
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -2144,7 +2144,7 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
2144
2144
  };
2145
2145
  additionalSkills: {
2146
2146
  name: string;
2147
- uid: string;
2147
+ uid: string | null;
2148
2148
  isFreeText: boolean;
2149
2149
  relevance: string;
2150
2150
  }[];
@@ -2156,8 +2156,8 @@ export declare const jobDetailsStateSchema: z.ZodObject<{
2156
2156
  isClient: boolean;
2157
2157
  isUpworkPlusBuyer: boolean;
2158
2158
  domestic: {
2159
- country: string | null;
2160
2159
  isInfographicTooltipAvailable: boolean;
2160
+ country?: any;
2161
2161
  };
2162
2162
  };
2163
2163
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -3453,18 +3453,18 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3453
3453
  }>;
3454
3454
  ontologySkills: z.ZodArray<z.ZodAny, "many">;
3455
3455
  additionalSkills: z.ZodArray<z.ZodObject<{
3456
- uid: z.ZodString;
3456
+ uid: z.ZodNullable<z.ZodString>;
3457
3457
  name: z.ZodString;
3458
3458
  isFreeText: z.ZodBoolean;
3459
3459
  relevance: z.ZodString;
3460
3460
  }, "strip", z.ZodTypeAny, {
3461
3461
  name: string;
3462
- uid: string;
3462
+ uid: string | null;
3463
3463
  isFreeText: boolean;
3464
3464
  relevance: string;
3465
3465
  }, {
3466
3466
  name: string;
3467
- uid: string;
3467
+ uid: string | null;
3468
3468
  isFreeText: boolean;
3469
3469
  relevance: string;
3470
3470
  }>, "many">;
@@ -3479,7 +3479,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3479
3479
  };
3480
3480
  additionalSkills: {
3481
3481
  name: string;
3482
- uid: string;
3482
+ uid: string | null;
3483
3483
  isFreeText: boolean;
3484
3484
  relevance: string;
3485
3485
  }[];
@@ -3494,7 +3494,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3494
3494
  };
3495
3495
  additionalSkills: {
3496
3496
  name: string;
3497
- uid: string;
3497
+ uid: string | null;
3498
3498
  isFreeText: boolean;
3499
3499
  relevance: string;
3500
3500
  }[];
@@ -3506,14 +3506,14 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3506
3506
  isClient: z.ZodBoolean;
3507
3507
  isUpworkPlusBuyer: z.ZodBoolean;
3508
3508
  domestic: z.ZodObject<{
3509
- country: z.ZodNullable<z.ZodString>;
3509
+ country: z.ZodNullable<z.ZodAny>;
3510
3510
  isInfographicTooltipAvailable: z.ZodBoolean;
3511
3511
  }, "strip", z.ZodTypeAny, {
3512
- country: string | null;
3513
3512
  isInfographicTooltipAvailable: boolean;
3513
+ country?: any;
3514
3514
  }, {
3515
- country: string | null;
3516
3515
  isInfographicTooltipAvailable: boolean;
3516
+ country?: any;
3517
3517
  }>;
3518
3518
  }, "strip", z.ZodTypeAny, {
3519
3519
  isVisitor: boolean;
@@ -3522,8 +3522,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3522
3522
  isClient: boolean;
3523
3523
  isUpworkPlusBuyer: boolean;
3524
3524
  domestic: {
3525
- country: string | null;
3526
3525
  isInfographicTooltipAvailable: boolean;
3526
+ country?: any;
3527
3527
  };
3528
3528
  }, {
3529
3529
  isVisitor: boolean;
@@ -3532,8 +3532,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3532
3532
  isClient: boolean;
3533
3533
  isUpworkPlusBuyer: boolean;
3534
3534
  domestic: {
3535
- country: string | null;
3536
3535
  isInfographicTooltipAvailable: boolean;
3536
+ country?: any;
3537
3537
  };
3538
3538
  }>;
3539
3539
  applicants: z.ZodNullable<z.ZodAny>;
@@ -3776,7 +3776,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3776
3776
  };
3777
3777
  additionalSkills: {
3778
3778
  name: string;
3779
- uid: string;
3779
+ uid: string | null;
3780
3780
  isFreeText: boolean;
3781
3781
  relevance: string;
3782
3782
  }[];
@@ -3788,8 +3788,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
3788
3788
  isClient: boolean;
3789
3789
  isUpworkPlusBuyer: boolean;
3790
3790
  domestic: {
3791
- country: string | null;
3792
3791
  isInfographicTooltipAvailable: boolean;
3792
+ country?: any;
3793
3793
  };
3794
3794
  };
3795
3795
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -4024,7 +4024,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4024
4024
  };
4025
4025
  additionalSkills: {
4026
4026
  name: string;
4027
- uid: string;
4027
+ uid: string | null;
4028
4028
  isFreeText: boolean;
4029
4029
  relevance: string;
4030
4030
  }[];
@@ -4036,8 +4036,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4036
4036
  isClient: boolean;
4037
4037
  isUpworkPlusBuyer: boolean;
4038
4038
  domestic: {
4039
- country: string | null;
4040
4039
  isInfographicTooltipAvailable: boolean;
4040
+ country?: any;
4041
4041
  };
4042
4042
  };
4043
4043
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -4417,7 +4417,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4417
4417
  };
4418
4418
  additionalSkills: {
4419
4419
  name: string;
4420
- uid: string;
4420
+ uid: string | null;
4421
4421
  isFreeText: boolean;
4422
4422
  relevance: string;
4423
4423
  }[];
@@ -4429,8 +4429,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4429
4429
  isClient: boolean;
4430
4430
  isUpworkPlusBuyer: boolean;
4431
4431
  domestic: {
4432
- country: string | null;
4433
4432
  isInfographicTooltipAvailable: boolean;
4433
+ country?: any;
4434
4434
  };
4435
4435
  };
4436
4436
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -4804,7 +4804,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4804
4804
  };
4805
4805
  additionalSkills: {
4806
4806
  name: string;
4807
- uid: string;
4807
+ uid: string | null;
4808
4808
  isFreeText: boolean;
4809
4809
  relevance: string;
4810
4810
  }[];
@@ -4816,8 +4816,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4816
4816
  isClient: boolean;
4817
4817
  isUpworkPlusBuyer: boolean;
4818
4818
  domestic: {
4819
- country: string | null;
4820
4819
  isInfographicTooltipAvailable: boolean;
4820
+ country?: any;
4821
4821
  };
4822
4822
  };
4823
4823
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -4891,17 +4891,17 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
4891
4891
  langs: Record<string, any>;
4892
4892
  }>;
4893
4893
  microAppUtilsOverrides: z.ZodObject<{
4894
- userNavOverrides: z.ZodRecord<z.ZodString, z.ZodAny>;
4895
- userSkinnyNavSkinnyOverrides: z.ZodRecord<z.ZodString, z.ZodAny>;
4896
- visitorNavSkinnyOverrides: z.ZodRecord<z.ZodString, z.ZodAny>;
4894
+ userNavOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4895
+ userSkinnyNavSkinnyOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4896
+ visitorNavSkinnyOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4897
4897
  }, "strip", z.ZodTypeAny, {
4898
- userNavOverrides: Record<string, any>;
4899
- userSkinnyNavSkinnyOverrides: Record<string, any>;
4900
- visitorNavSkinnyOverrides: Record<string, any>;
4898
+ userNavOverrides?: Record<string, any> | undefined;
4899
+ userSkinnyNavSkinnyOverrides?: Record<string, any> | undefined;
4900
+ visitorNavSkinnyOverrides?: Record<string, any> | undefined;
4901
4901
  }, {
4902
- userNavOverrides: Record<string, any>;
4903
- userSkinnyNavSkinnyOverrides: Record<string, any>;
4904
- visitorNavSkinnyOverrides: Record<string, any>;
4902
+ userNavOverrides?: Record<string, any> | undefined;
4903
+ userSkinnyNavSkinnyOverrides?: Record<string, any> | undefined;
4904
+ visitorNavSkinnyOverrides?: Record<string, any> | undefined;
4905
4905
  }>;
4906
4906
  }, "strip", z.ZodTypeAny, {
4907
4907
  layout: string;
@@ -5249,7 +5249,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5249
5249
  };
5250
5250
  additionalSkills: {
5251
5251
  name: string;
5252
- uid: string;
5252
+ uid: string | null;
5253
5253
  isFreeText: boolean;
5254
5254
  relevance: string;
5255
5255
  }[];
@@ -5261,8 +5261,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5261
5261
  isClient: boolean;
5262
5262
  isUpworkPlusBuyer: boolean;
5263
5263
  domestic: {
5264
- country: string | null;
5265
5264
  isInfographicTooltipAvailable: boolean;
5265
+ country?: any;
5266
5266
  };
5267
5267
  };
5268
5268
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -5310,9 +5310,9 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5310
5310
  langs: Record<string, any>;
5311
5311
  };
5312
5312
  microAppUtilsOverrides: {
5313
- userNavOverrides: Record<string, any>;
5314
- userSkinnyNavSkinnyOverrides: Record<string, any>;
5315
- visitorNavSkinnyOverrides: Record<string, any>;
5313
+ userNavOverrides?: Record<string, any> | undefined;
5314
+ userSkinnyNavSkinnyOverrides?: Record<string, any> | undefined;
5315
+ visitorNavSkinnyOverrides?: Record<string, any> | undefined;
5316
5316
  };
5317
5317
  error?: any;
5318
5318
  }, {
@@ -5661,7 +5661,7 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5661
5661
  };
5662
5662
  additionalSkills: {
5663
5663
  name: string;
5664
- uid: string;
5664
+ uid: string | null;
5665
5665
  isFreeText: boolean;
5666
5666
  relevance: string;
5667
5667
  }[];
@@ -5673,8 +5673,8 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5673
5673
  isClient: boolean;
5674
5674
  isUpworkPlusBuyer: boolean;
5675
5675
  domestic: {
5676
- country: string | null;
5677
5676
  isInfographicTooltipAvailable: boolean;
5677
+ country?: any;
5678
5678
  };
5679
5679
  };
5680
5680
  enterpriseJobAdditionalInfo: Record<string, any>;
@@ -5722,9 +5722,9 @@ export declare const nuxtStateJobDetailsSchema: z.ZodObject<{
5722
5722
  langs: Record<string, any>;
5723
5723
  };
5724
5724
  microAppUtilsOverrides: {
5725
- userNavOverrides: Record<string, any>;
5726
- userSkinnyNavSkinnyOverrides: Record<string, any>;
5727
- visitorNavSkinnyOverrides: Record<string, any>;
5725
+ userNavOverrides?: Record<string, any> | undefined;
5726
+ userSkinnyNavSkinnyOverrides?: Record<string, any> | undefined;
5727
+ visitorNavSkinnyOverrides?: Record<string, any> | undefined;
5728
5728
  };
5729
5729
  error?: any;
5730
5730
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.120",
3
+ "version": "1.2.122",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",