lancer-shared 1.2.298 → 1.2.299

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.
@@ -18,6 +18,45 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
18
18
  replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
19
19
  viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
20
20
  contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
21
+ contactedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
22
+ contractorName: z.ZodString;
23
+ specialisedProfile: z.ZodString;
24
+ count: z.ZodNumber;
25
+ }, "strip", z.ZodTypeAny, {
26
+ contractorName: string;
27
+ specialisedProfile: string;
28
+ count: number;
29
+ }, {
30
+ contractorName: string;
31
+ specialisedProfile: string;
32
+ count: number;
33
+ }>, "many">>;
34
+ viewedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
+ contractorName: z.ZodString;
36
+ specialisedProfile: z.ZodString;
37
+ count: z.ZodNumber;
38
+ }, "strip", z.ZodTypeAny, {
39
+ contractorName: string;
40
+ specialisedProfile: string;
41
+ count: number;
42
+ }, {
43
+ contractorName: string;
44
+ specialisedProfile: string;
45
+ count: number;
46
+ }>, "many">>;
47
+ repliedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ contractorName: z.ZodString;
49
+ specialisedProfile: z.ZodString;
50
+ count: z.ZodNumber;
51
+ }, "strip", z.ZodTypeAny, {
52
+ contractorName: string;
53
+ specialisedProfile: string;
54
+ count: number;
55
+ }, {
56
+ contractorName: string;
57
+ specialisedProfile: string;
58
+ count: number;
59
+ }>, "many">>;
21
60
  }, "strip", z.ZodTypeAny, {
22
61
  contacted?: number | undefined;
23
62
  viewed?: number | undefined;
@@ -37,6 +76,21 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
37
76
  replyRateByTemplateId?: Record<string, number> | undefined;
38
77
  viewRateByTemplateId?: Record<string, number> | undefined;
39
78
  contactedByTemplateId?: Record<string, number> | undefined;
79
+ contactedByContractor?: {
80
+ contractorName: string;
81
+ specialisedProfile: string;
82
+ count: number;
83
+ }[] | undefined;
84
+ viewedByContractor?: {
85
+ contractorName: string;
86
+ specialisedProfile: string;
87
+ count: number;
88
+ }[] | undefined;
89
+ repliedByContractor?: {
90
+ contractorName: string;
91
+ specialisedProfile: string;
92
+ count: number;
93
+ }[] | undefined;
40
94
  }, {
41
95
  contacted?: number | undefined;
42
96
  viewed?: number | undefined;
@@ -56,6 +110,21 @@ export declare const campaignAnalyticsSchema: z.ZodObject<{
56
110
  replyRateByTemplateId?: Record<string, number> | undefined;
57
111
  viewRateByTemplateId?: Record<string, number> | undefined;
58
112
  contactedByTemplateId?: Record<string, number> | undefined;
113
+ contactedByContractor?: {
114
+ contractorName: string;
115
+ specialisedProfile: string;
116
+ count: number;
117
+ }[] | undefined;
118
+ viewedByContractor?: {
119
+ contractorName: string;
120
+ specialisedProfile: string;
121
+ count: number;
122
+ }[] | undefined;
123
+ repliedByContractor?: {
124
+ contractorName: string;
125
+ specialisedProfile: string;
126
+ count: number;
127
+ }[] | undefined;
59
128
  }>;
60
129
  export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
61
130
  totalStats: z.ZodObject<{
@@ -77,6 +146,45 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
77
146
  replyRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
78
147
  viewRateByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
79
148
  contactedByTemplateId: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
149
+ contactedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
+ contractorName: z.ZodString;
151
+ specialisedProfile: z.ZodString;
152
+ count: z.ZodNumber;
153
+ }, "strip", z.ZodTypeAny, {
154
+ contractorName: string;
155
+ specialisedProfile: string;
156
+ count: number;
157
+ }, {
158
+ contractorName: string;
159
+ specialisedProfile: string;
160
+ count: number;
161
+ }>, "many">>;
162
+ viewedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
163
+ contractorName: z.ZodString;
164
+ specialisedProfile: z.ZodString;
165
+ count: z.ZodNumber;
166
+ }, "strip", z.ZodTypeAny, {
167
+ contractorName: string;
168
+ specialisedProfile: string;
169
+ count: number;
170
+ }, {
171
+ contractorName: string;
172
+ specialisedProfile: string;
173
+ count: number;
174
+ }>, "many">>;
175
+ repliedByContractor: z.ZodOptional<z.ZodArray<z.ZodObject<{
176
+ contractorName: z.ZodString;
177
+ specialisedProfile: z.ZodString;
178
+ count: z.ZodNumber;
179
+ }, "strip", z.ZodTypeAny, {
180
+ contractorName: string;
181
+ specialisedProfile: string;
182
+ count: number;
183
+ }, {
184
+ contractorName: string;
185
+ specialisedProfile: string;
186
+ count: number;
187
+ }>, "many">>;
80
188
  }, "strip", z.ZodTypeAny, {
81
189
  contacted?: number | undefined;
82
190
  viewed?: number | undefined;
@@ -96,6 +204,21 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
96
204
  replyRateByTemplateId?: Record<string, number> | undefined;
97
205
  viewRateByTemplateId?: Record<string, number> | undefined;
98
206
  contactedByTemplateId?: Record<string, number> | undefined;
207
+ contactedByContractor?: {
208
+ contractorName: string;
209
+ specialisedProfile: string;
210
+ count: number;
211
+ }[] | undefined;
212
+ viewedByContractor?: {
213
+ contractorName: string;
214
+ specialisedProfile: string;
215
+ count: number;
216
+ }[] | undefined;
217
+ repliedByContractor?: {
218
+ contractorName: string;
219
+ specialisedProfile: string;
220
+ count: number;
221
+ }[] | undefined;
99
222
  }, {
100
223
  contacted?: number | undefined;
101
224
  viewed?: number | undefined;
@@ -115,6 +238,21 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
115
238
  replyRateByTemplateId?: Record<string, number> | undefined;
116
239
  viewRateByTemplateId?: Record<string, number> | undefined;
117
240
  contactedByTemplateId?: Record<string, number> | undefined;
241
+ contactedByContractor?: {
242
+ contractorName: string;
243
+ specialisedProfile: string;
244
+ count: number;
245
+ }[] | undefined;
246
+ viewedByContractor?: {
247
+ contractorName: string;
248
+ specialisedProfile: string;
249
+ count: number;
250
+ }[] | undefined;
251
+ repliedByContractor?: {
252
+ contractorName: string;
253
+ specialisedProfile: string;
254
+ count: number;
255
+ }[] | undefined;
118
256
  }>;
119
257
  statsByDate: z.ZodArray<z.ZodObject<{
120
258
  label: z.ZodString;
@@ -182,6 +320,21 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
182
320
  replyRateByTemplateId?: Record<string, number> | undefined;
183
321
  viewRateByTemplateId?: Record<string, number> | undefined;
184
322
  contactedByTemplateId?: Record<string, number> | undefined;
323
+ contactedByContractor?: {
324
+ contractorName: string;
325
+ specialisedProfile: string;
326
+ count: number;
327
+ }[] | undefined;
328
+ viewedByContractor?: {
329
+ contractorName: string;
330
+ specialisedProfile: string;
331
+ count: number;
332
+ }[] | undefined;
333
+ repliedByContractor?: {
334
+ contractorName: string;
335
+ specialisedProfile: string;
336
+ count: number;
337
+ }[] | undefined;
185
338
  };
186
339
  statsByDate: {
187
340
  label: string;
@@ -219,6 +372,21 @@ export declare const campaignAnalyticsStatsSchema: z.ZodObject<{
219
372
  replyRateByTemplateId?: Record<string, number> | undefined;
220
373
  viewRateByTemplateId?: Record<string, number> | undefined;
221
374
  contactedByTemplateId?: Record<string, number> | undefined;
375
+ contactedByContractor?: {
376
+ contractorName: string;
377
+ specialisedProfile: string;
378
+ count: number;
379
+ }[] | undefined;
380
+ viewedByContractor?: {
381
+ contractorName: string;
382
+ specialisedProfile: string;
383
+ count: number;
384
+ }[] | undefined;
385
+ repliedByContractor?: {
386
+ contractorName: string;
387
+ specialisedProfile: string;
388
+ count: number;
389
+ }[] | undefined;
222
390
  };
223
391
  statsByDate: {
224
392
  label: string;
@@ -15,11 +15,11 @@ export declare const getJobsCountLast3MonthsResponseSchema: z.ZodArray<z.ZodObje
15
15
  period: z.ZodString;
16
16
  count: z.ZodNumber;
17
17
  }, "strip", z.ZodTypeAny, {
18
- period: string;
19
18
  count: number;
20
- }, {
21
19
  period: string;
20
+ }, {
22
21
  count: number;
22
+ period: string;
23
23
  }>, "many">;
24
24
  export type GetJobsCountLast3MonthsResponse = z.infer<typeof getJobsCountLast3MonthsResponseSchema>;
25
25
  export declare const getJobsByCountryResponseSchema: z.ZodArray<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.298",
3
+ "version": "1.2.299",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",