abuseipdb-client 0.1.41 → 0.1.42

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.
@@ -361,11 +361,11 @@ declare const abuseIPDBClientSchema: z.ZodObject<{
361
361
  apiKey: z.ZodString;
362
362
  url: z.ZodOptional<z.ZodString>;
363
363
  }, "strip", z.ZodTypeAny, {
364
- url?: string | undefined;
365
364
  apiKey: string;
366
- }, {
367
365
  url?: string | undefined;
366
+ }, {
368
367
  apiKey: string;
368
+ url?: string | undefined;
369
369
  }>;
370
370
  declare const abuseIPDBClientConfigSchema: z.ZodObject<{
371
371
  /** Client API Key. */
@@ -414,17 +414,17 @@ declare const checkSchema: z.ZodEffects<z.ZodObject<{
414
414
  maxAgeInDays: z.ZodOptional<z.ZodNumber>;
415
415
  verbose: z.ZodOptional<z.ZodBoolean>;
416
416
  }, "strip", z.ZodTypeAny, {
417
+ ipAddress: string;
417
418
  maxAgeInDays?: number | undefined;
418
419
  verbose?: boolean | undefined;
419
- ipAddress: string;
420
420
  }, {
421
+ ipAddress: string;
421
422
  maxAgeInDays?: number | undefined;
422
423
  verbose?: boolean | undefined;
423
- ipAddress: string;
424
424
  }>, any, {
425
+ ipAddress: string;
425
426
  maxAgeInDays?: number | undefined;
426
427
  verbose?: boolean | undefined;
427
- ipAddress: string;
428
428
  }>;
429
429
  declare const reportsOptionsSchema: z.ZodObject<{
430
430
  /** Show latest reports based on `n` days. Accepted values between 1 and 365, defaults to `30` by the API. */
@@ -457,15 +457,15 @@ declare const reportsSchema: z.ZodObject<{
457
457
  page: z.ZodOptional<z.ZodNumber>;
458
458
  perPage: z.ZodOptional<z.ZodNumber>;
459
459
  }, "strip", z.ZodTypeAny, {
460
+ ipAddress: string;
460
461
  maxAgeInDays?: number | undefined;
461
462
  page?: number | undefined;
462
463
  perPage?: number | undefined;
463
- ipAddress: string;
464
464
  }, {
465
+ ipAddress: string;
465
466
  maxAgeInDays?: number | undefined;
466
467
  page?: number | undefined;
467
468
  perPage?: number | undefined;
468
- ipAddress: string;
469
469
  }>;
470
470
  declare const blacklistOptionsSchema: z.ZodObject<{
471
471
  /** Minimum confidence percentage value. Accepted values between 25 and 100, defaults to `100` by the API. Requires a subscription to use this feature. */
@@ -576,13 +576,13 @@ declare const reportSchema: z.ZodObject<{
576
576
  categories: z.ZodArray<z.ZodNumber, "many">;
577
577
  comment: z.ZodOptional<z.ZodString>;
578
578
  }, "strip", z.ZodTypeAny, {
579
- comment?: string | undefined;
580
579
  ip: string;
581
580
  categories: number[];
582
- }, {
583
581
  comment?: string | undefined;
582
+ }, {
584
583
  ip: string;
585
584
  categories: number[];
585
+ comment?: string | undefined;
586
586
  }>;
587
587
  declare const checkBlockOptionsSchema: z.ZodObject<{
588
588
  /**
@@ -608,11 +608,11 @@ declare const checkBlockSchema: z.ZodObject<{
608
608
  network: z.ZodEffects<z.ZodString, string, string>;
609
609
  maxAgeInDays: z.ZodOptional<z.ZodNumber>;
610
610
  }, "strip", z.ZodTypeAny, {
611
- maxAgeInDays?: number | undefined;
612
611
  network: string;
613
- }, {
614
612
  maxAgeInDays?: number | undefined;
613
+ }, {
615
614
  network: string;
615
+ maxAgeInDays?: number | undefined;
616
616
  }>;
617
617
  /**
618
618
  * @group Input - Validator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abuseipdb-client",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "private": false,
5
5
  "description": "AbuseIPDB Node.js API client.",
6
6
  "author": "Arthur Melo <contact@arthurmelo.com>",