@myrjfa/state 2.1.3 → 2.1.5

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.
@@ -118,21 +118,21 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
118
118
  pinCode: z.ZodOptional<z.ZodString>;
119
119
  registrationNumber: z.ZodOptional<z.ZodString>;
120
120
  }, "strip", z.ZodTypeAny, {
121
- country: string;
122
121
  type: string;
123
122
  name: string;
124
- address: string;
125
123
  city: string;
126
124
  state: string;
125
+ country: string;
126
+ address: string;
127
127
  pinCode?: string | undefined;
128
128
  registrationNumber?: string | undefined;
129
129
  }, {
130
- country: string;
131
130
  type: string;
132
131
  name: string;
133
- address: string;
134
132
  city: string;
135
133
  state: string;
134
+ country: string;
135
+ address: string;
136
136
  pinCode?: string | undefined;
137
137
  registrationNumber?: string | undefined;
138
138
  }>, "many">>;
@@ -142,6 +142,11 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
142
142
  businessApiVerificationStatus: z.ZodOptional<z.ZodEnum<["pending", "verified", "failed"]>>;
143
143
  businessVerificationDenialReason: z.ZodOptional<z.ZodString>;
144
144
  }, "strict", z.ZodTypeAny, {
145
+ role: "host" | "user" | "admin" | "hr" | "sales";
146
+ country: string;
147
+ rating: number;
148
+ ratingCount: number;
149
+ reviewCount: number;
145
150
  username: string;
146
151
  firstName: string;
147
152
  lastName: string;
@@ -149,17 +154,17 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
149
154
  password: string;
150
155
  phoneNumber: string;
151
156
  countryCode: string;
152
- country: string;
153
157
  gender: "male" | "female" | "other";
154
- rating: number;
155
- ratingCount: number;
156
- reviewCount: number;
157
158
  joinedDate: Date;
158
159
  isActive: boolean;
159
160
  lastActive: Date;
160
161
  verifiedEmail: boolean;
161
162
  verifiedMobile: boolean;
162
- role: "host" | "user" | "admin" | "hr" | "sales";
163
+ id?: string | undefined;
164
+ skills?: {
165
+ skill: string;
166
+ skillExpertise: number;
167
+ }[] | undefined;
163
168
  location?: string | undefined;
164
169
  pinCode?: string | undefined;
165
170
  dob?: Date | undefined;
@@ -173,14 +178,9 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
173
178
  verifiedIdCard?: boolean | undefined;
174
179
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
175
180
  userResume?: string | undefined;
176
- skills?: {
177
- skill: string;
178
- skillExpertise: number;
179
- }[] | undefined;
180
181
  wishlist?: string[] | undefined;
181
182
  favBlogs?: string[] | undefined;
182
183
  favPackages?: string[] | undefined;
183
- id?: string | undefined;
184
184
  selfie?: string | undefined;
185
185
  selfieAction?: string | undefined;
186
186
  jobCount?: number | undefined;
@@ -189,12 +189,12 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
189
189
  panCard?: string | undefined;
190
190
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
191
191
  properties?: {
192
- country: string;
193
192
  type: string;
194
193
  name: string;
195
- address: string;
196
194
  city: string;
197
195
  state: string;
196
+ country: string;
197
+ address: string;
198
198
  pinCode?: string | undefined;
199
199
  registrationNumber?: string | undefined;
200
200
  }[] | undefined;
@@ -204,6 +204,11 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
204
204
  businessApiVerificationStatus?: "pending" | "verified" | "failed" | undefined;
205
205
  businessVerificationDenialReason?: string | undefined;
206
206
  }, {
207
+ role: "host" | "user" | "admin" | "hr" | "sales";
208
+ country: string;
209
+ rating: number;
210
+ ratingCount: number;
211
+ reviewCount: number;
207
212
  username: string;
208
213
  firstName: string;
209
214
  lastName: string;
@@ -211,17 +216,17 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
211
216
  password: string;
212
217
  phoneNumber: string;
213
218
  countryCode: string;
214
- country: string;
215
219
  gender: "male" | "female" | "other";
216
- rating: number;
217
- ratingCount: number;
218
- reviewCount: number;
219
220
  joinedDate: Date;
220
221
  isActive: boolean;
221
222
  lastActive: Date;
222
223
  verifiedEmail: boolean;
223
224
  verifiedMobile: boolean;
224
- role: "host" | "user" | "admin" | "hr" | "sales";
225
+ id?: string | undefined;
226
+ skills?: {
227
+ skill: string;
228
+ skillExpertise: number;
229
+ }[] | undefined;
225
230
  location?: string | undefined;
226
231
  pinCode?: string | undefined;
227
232
  dob?: Date | undefined;
@@ -235,14 +240,9 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
235
240
  verifiedIdCard?: boolean | undefined;
236
241
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
237
242
  userResume?: string | undefined;
238
- skills?: {
239
- skill: string;
240
- skillExpertise: number;
241
- }[] | undefined;
242
243
  wishlist?: string[] | undefined;
243
244
  favBlogs?: string[] | undefined;
244
245
  favPackages?: string[] | undefined;
245
- id?: string | undefined;
246
246
  selfie?: string | undefined;
247
247
  selfieAction?: string | undefined;
248
248
  jobCount?: number | undefined;
@@ -251,12 +251,12 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
251
251
  panCard?: string | undefined;
252
252
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
253
253
  properties?: {
254
- country: string;
255
254
  type: string;
256
255
  name: string;
257
- address: string;
258
256
  city: string;
259
257
  state: string;
258
+ country: string;
259
+ address: string;
260
260
  pinCode?: string | undefined;
261
261
  registrationNumber?: string | undefined;
262
262
  }[] | undefined;
@@ -273,17 +273,17 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
273
273
  phoneNumber: z.ZodString;
274
274
  email: z.ZodString;
275
275
  }, "strip", z.ZodTypeAny, {
276
+ role: "host" | "user" | "admin" | "hr" | "sales";
276
277
  username: string;
277
278
  email: string;
278
279
  phoneNumber: string;
279
280
  countryCode: string;
280
- role: "host" | "user" | "admin" | "hr" | "sales";
281
281
  }, {
282
+ role: "host" | "user" | "admin" | "hr" | "sales";
282
283
  username: string;
283
284
  email: string;
284
285
  phoneNumber: string;
285
286
  countryCode: string;
286
- role: "host" | "user" | "admin" | "hr" | "sales";
287
287
  }>, "many">>;
288
288
  status: z.ZodEnum<["draft", "archived", "pending", "open", "closed", "denied", "deleted"]>;
289
289
  adminApproval: z.ZodBoolean;
@@ -334,19 +334,16 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
334
334
  ipOwnership?: "host" | "shared" | "freelancer" | undefined;
335
335
  }>;
336
336
  }, "strict", z.ZodTypeAny, {
337
- country: string;
338
- status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
339
- rating: number;
340
- ratingCount: number;
341
- reviewCount: number;
342
- skills: string[];
343
- city: string;
344
- state: string;
345
- title: string;
346
- description: string;
337
+ status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
347
338
  slug: string;
348
339
  opportunityType: "freelance";
340
+ title: string;
341
+ skills: string[];
342
+ description: string;
349
343
  images: string[];
344
+ city: string;
345
+ state: string;
346
+ country: string;
350
347
  compensation: {
351
348
  type: "free" | "stipend" | "salary" | "project-based";
352
349
  currency: string;
@@ -367,7 +364,15 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
367
364
  applicationCount: number;
368
365
  views: number;
369
366
  shares: number;
367
+ rating: number;
368
+ ratingCount: number;
369
+ reviewCount: number;
370
370
  hostId: {
371
+ role: "host" | "user" | "admin" | "hr" | "sales";
372
+ country: string;
373
+ rating: number;
374
+ ratingCount: number;
375
+ reviewCount: number;
371
376
  username: string;
372
377
  firstName: string;
373
378
  lastName: string;
@@ -375,17 +380,17 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
375
380
  password: string;
376
381
  phoneNumber: string;
377
382
  countryCode: string;
378
- country: string;
379
383
  gender: "male" | "female" | "other";
380
- rating: number;
381
- ratingCount: number;
382
- reviewCount: number;
383
384
  joinedDate: Date;
384
385
  isActive: boolean;
385
386
  lastActive: Date;
386
387
  verifiedEmail: boolean;
387
388
  verifiedMobile: boolean;
388
- role: "host" | "user" | "admin" | "hr" | "sales";
389
+ id?: string | undefined;
390
+ skills?: {
391
+ skill: string;
392
+ skillExpertise: number;
393
+ }[] | undefined;
389
394
  location?: string | undefined;
390
395
  pinCode?: string | undefined;
391
396
  dob?: Date | undefined;
@@ -399,14 +404,9 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
399
404
  verifiedIdCard?: boolean | undefined;
400
405
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
401
406
  userResume?: string | undefined;
402
- skills?: {
403
- skill: string;
404
- skillExpertise: number;
405
- }[] | undefined;
406
407
  wishlist?: string[] | undefined;
407
408
  favBlogs?: string[] | undefined;
408
409
  favPackages?: string[] | undefined;
409
- id?: string | undefined;
410
410
  selfie?: string | undefined;
411
411
  selfieAction?: string | undefined;
412
412
  jobCount?: number | undefined;
@@ -415,12 +415,12 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
415
415
  panCard?: string | undefined;
416
416
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
417
417
  properties?: {
418
- country: string;
419
418
  type: string;
420
419
  name: string;
421
- address: string;
422
420
  city: string;
423
421
  state: string;
422
+ country: string;
423
+ address: string;
424
424
  pinCode?: string | undefined;
425
425
  registrationNumber?: string | undefined;
426
426
  }[] | undefined;
@@ -441,10 +441,8 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
441
441
  ndaRequired: boolean;
442
442
  ipOwnership?: "host" | "shared" | "freelancer" | undefined;
443
443
  };
444
- address?: string | undefined;
445
- createdAt?: Date | undefined;
446
- updatedAt?: Date | undefined;
447
444
  categoryId?: string | undefined;
445
+ address?: string | undefined;
448
446
  workMode?: "onsite" | "remote" | "hybrid" | undefined;
449
447
  bondPlan?: {
450
448
  enabled: boolean;
@@ -456,26 +454,25 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
456
454
  pendingApplicationCount?: number | undefined;
457
455
  hostingType?: string | undefined;
458
456
  applicationObservers?: {
457
+ role: "host" | "user" | "admin" | "hr" | "sales";
459
458
  username: string;
460
459
  email: string;
461
460
  phoneNumber: string;
462
461
  countryCode: string;
463
- role: "host" | "user" | "admin" | "hr" | "sales";
464
462
  }[] | undefined;
463
+ createdAt?: Date | undefined;
464
+ updatedAt?: Date | undefined;
465
465
  }, {
466
- country: string;
467
- status: "pending" | "draft" | "archived" | "denied" | "open" | "closed" | "deleted";
468
- rating: number;
469
- ratingCount: number;
470
- reviewCount: number;
471
- skills: string[];
472
- city: string;
473
- state: string;
474
- title: string;
475
- description: string;
466
+ status: "draft" | "archived" | "pending" | "open" | "closed" | "denied" | "deleted";
476
467
  slug: string;
477
468
  opportunityType: "freelance";
469
+ title: string;
470
+ skills: string[];
471
+ description: string;
478
472
  images: string[];
473
+ city: string;
474
+ state: string;
475
+ country: string;
479
476
  compensation: {
480
477
  type: "free" | "stipend" | "salary" | "project-based";
481
478
  currency: string;
@@ -496,7 +493,15 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
496
493
  applicationCount: number;
497
494
  views: number;
498
495
  shares: number;
496
+ rating: number;
497
+ ratingCount: number;
498
+ reviewCount: number;
499
499
  hostId: {
500
+ role: "host" | "user" | "admin" | "hr" | "sales";
501
+ country: string;
502
+ rating: number;
503
+ ratingCount: number;
504
+ reviewCount: number;
500
505
  username: string;
501
506
  firstName: string;
502
507
  lastName: string;
@@ -504,17 +509,17 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
504
509
  password: string;
505
510
  phoneNumber: string;
506
511
  countryCode: string;
507
- country: string;
508
512
  gender: "male" | "female" | "other";
509
- rating: number;
510
- ratingCount: number;
511
- reviewCount: number;
512
513
  joinedDate: Date;
513
514
  isActive: boolean;
514
515
  lastActive: Date;
515
516
  verifiedEmail: boolean;
516
517
  verifiedMobile: boolean;
517
- role: "host" | "user" | "admin" | "hr" | "sales";
518
+ id?: string | undefined;
519
+ skills?: {
520
+ skill: string;
521
+ skillExpertise: number;
522
+ }[] | undefined;
518
523
  location?: string | undefined;
519
524
  pinCode?: string | undefined;
520
525
  dob?: Date | undefined;
@@ -528,14 +533,9 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
528
533
  verifiedIdCard?: boolean | undefined;
529
534
  socialLinks?: Partial<Record<"instagram" | "linkedin" | "youtube" | "googleBusiness", string>> | undefined;
530
535
  userResume?: string | undefined;
531
- skills?: {
532
- skill: string;
533
- skillExpertise: number;
534
- }[] | undefined;
535
536
  wishlist?: string[] | undefined;
536
537
  favBlogs?: string[] | undefined;
537
538
  favPackages?: string[] | undefined;
538
- id?: string | undefined;
539
539
  selfie?: string | undefined;
540
540
  selfieAction?: string | undefined;
541
541
  jobCount?: number | undefined;
@@ -544,12 +544,12 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
544
544
  panCard?: string | undefined;
545
545
  verifiedBusiness?: "true" | "false" | "inProgress" | undefined;
546
546
  properties?: {
547
- country: string;
548
547
  type: string;
549
548
  name: string;
550
- address: string;
551
549
  city: string;
552
550
  state: string;
551
+ country: string;
552
+ address: string;
553
553
  pinCode?: string | undefined;
554
554
  registrationNumber?: string | undefined;
555
555
  }[] | undefined;
@@ -570,10 +570,8 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
570
570
  ndaRequired: boolean;
571
571
  ipOwnership?: "host" | "shared" | "freelancer" | undefined;
572
572
  };
573
- address?: string | undefined;
574
- createdAt?: Date | undefined;
575
- updatedAt?: Date | undefined;
576
573
  categoryId?: string | undefined;
574
+ address?: string | undefined;
577
575
  workMode?: "onsite" | "remote" | "hybrid" | undefined;
578
576
  bondPlan?: {
579
577
  enabled: boolean;
@@ -585,11 +583,13 @@ export declare const FreelanceOpportunitySchema: z.ZodObject<{
585
583
  pendingApplicationCount?: number | undefined;
586
584
  hostingType?: string | undefined;
587
585
  applicationObservers?: {
586
+ role: "host" | "user" | "admin" | "hr" | "sales";
588
587
  username: string;
589
588
  email: string;
590
589
  phoneNumber: string;
591
590
  countryCode: string;
592
- role: "host" | "user" | "admin" | "hr" | "sales";
593
591
  }[] | undefined;
592
+ createdAt?: Date | undefined;
593
+ updatedAt?: Date | undefined;
594
594
  }>;
595
595
  //# sourceMappingURL=freelance.d.ts.map