@zernio/node 0.2.425 → 0.2.426

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/index.d.mts CHANGED
@@ -18514,7 +18514,7 @@ type StartSmsRegistrationResponse = ({
18514
18514
  */
18515
18515
  awaitingOtp?: boolean;
18516
18516
  });
18517
- type StartSmsRegistrationError = ({
18517
+ type StartSmsRegistrationError = (ErrorResponse | {
18518
18518
  error?: string;
18519
18519
  } | unknown);
18520
18520
  type ListSmsRegistrationsData = {
@@ -18571,7 +18571,7 @@ type ListSmsRegistrationsResponse = ({
18571
18571
  };
18572
18572
  }>;
18573
18573
  });
18574
- type ListSmsRegistrationsError = ({
18574
+ type ListSmsRegistrationsError = (ErrorResponse | {
18575
18575
  error?: string;
18576
18576
  });
18577
18577
  type DeactivateSmsRegistrationData = {
@@ -18582,7 +18582,7 @@ type DeactivateSmsRegistrationData = {
18582
18582
  type DeactivateSmsRegistrationResponse = ({
18583
18583
  status?: 'deactivated';
18584
18584
  });
18585
- type DeactivateSmsRegistrationError = ({
18585
+ type DeactivateSmsRegistrationError = (ErrorResponse | {
18586
18586
  error?: string;
18587
18587
  } | unknown);
18588
18588
  type GetSmsRegistrationData = {
@@ -18614,7 +18614,7 @@ type GetSmsRegistrationResponse = ({
18614
18614
  sample2?: string;
18615
18615
  };
18616
18616
  });
18617
- type GetSmsRegistrationError = ({
18617
+ type GetSmsRegistrationError = (ErrorResponse | {
18618
18618
  error?: string;
18619
18619
  } | unknown);
18620
18620
  type VerifySmsRegistrationOtpData = {
@@ -18628,7 +18628,7 @@ type VerifySmsRegistrationOtpData = {
18628
18628
  type VerifySmsRegistrationOtpResponse = ({
18629
18629
  verified?: boolean;
18630
18630
  });
18631
- type VerifySmsRegistrationOtpError = ({
18631
+ type VerifySmsRegistrationOtpError = (ErrorResponse | {
18632
18632
  error?: string;
18633
18633
  } | unknown);
18634
18634
  type ResendSmsRegistrationOtpData = {
@@ -18714,7 +18714,7 @@ type ShareSmsRegistrationResponse = ({
18714
18714
  url?: string;
18715
18715
  expiresAt?: string;
18716
18716
  });
18717
- type ShareSmsRegistrationError = ({
18717
+ type ShareSmsRegistrationError = (ErrorResponse | {
18718
18718
  error?: string;
18719
18719
  } | unknown);
18720
18720
  type GetWhatsAppLibraryTemplateData = {
package/dist/index.d.ts CHANGED
@@ -18514,7 +18514,7 @@ type StartSmsRegistrationResponse = ({
18514
18514
  */
18515
18515
  awaitingOtp?: boolean;
18516
18516
  });
18517
- type StartSmsRegistrationError = ({
18517
+ type StartSmsRegistrationError = (ErrorResponse | {
18518
18518
  error?: string;
18519
18519
  } | unknown);
18520
18520
  type ListSmsRegistrationsData = {
@@ -18571,7 +18571,7 @@ type ListSmsRegistrationsResponse = ({
18571
18571
  };
18572
18572
  }>;
18573
18573
  });
18574
- type ListSmsRegistrationsError = ({
18574
+ type ListSmsRegistrationsError = (ErrorResponse | {
18575
18575
  error?: string;
18576
18576
  });
18577
18577
  type DeactivateSmsRegistrationData = {
@@ -18582,7 +18582,7 @@ type DeactivateSmsRegistrationData = {
18582
18582
  type DeactivateSmsRegistrationResponse = ({
18583
18583
  status?: 'deactivated';
18584
18584
  });
18585
- type DeactivateSmsRegistrationError = ({
18585
+ type DeactivateSmsRegistrationError = (ErrorResponse | {
18586
18586
  error?: string;
18587
18587
  } | unknown);
18588
18588
  type GetSmsRegistrationData = {
@@ -18614,7 +18614,7 @@ type GetSmsRegistrationResponse = ({
18614
18614
  sample2?: string;
18615
18615
  };
18616
18616
  });
18617
- type GetSmsRegistrationError = ({
18617
+ type GetSmsRegistrationError = (ErrorResponse | {
18618
18618
  error?: string;
18619
18619
  } | unknown);
18620
18620
  type VerifySmsRegistrationOtpData = {
@@ -18628,7 +18628,7 @@ type VerifySmsRegistrationOtpData = {
18628
18628
  type VerifySmsRegistrationOtpResponse = ({
18629
18629
  verified?: boolean;
18630
18630
  });
18631
- type VerifySmsRegistrationOtpError = ({
18631
+ type VerifySmsRegistrationOtpError = (ErrorResponse | {
18632
18632
  error?: string;
18633
18633
  } | unknown);
18634
18634
  type ResendSmsRegistrationOtpData = {
@@ -18714,7 +18714,7 @@ type ShareSmsRegistrationResponse = ({
18714
18714
  url?: string;
18715
18715
  expiresAt?: string;
18716
18716
  });
18717
- type ShareSmsRegistrationError = ({
18717
+ type ShareSmsRegistrationError = (ErrorResponse | {
18718
18718
  error?: string;
18719
18719
  } | unknown);
18720
18720
  type GetWhatsAppLibraryTemplateData = {
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.425",
39
+ version: "0.2.426",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.425",
8
+ version: "0.2.426",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.425",
3
+ "version": "0.2.426",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18410,7 +18410,7 @@ export type StartSmsRegistrationResponse = ({
18410
18410
  awaitingOtp?: boolean;
18411
18411
  });
18412
18412
 
18413
- export type StartSmsRegistrationError = ({
18413
+ export type StartSmsRegistrationError = (ErrorResponse | {
18414
18414
  error?: string;
18415
18415
  } | unknown);
18416
18416
 
@@ -18470,7 +18470,7 @@ export type ListSmsRegistrationsResponse = ({
18470
18470
  }>;
18471
18471
  });
18472
18472
 
18473
- export type ListSmsRegistrationsError = ({
18473
+ export type ListSmsRegistrationsError = (ErrorResponse | {
18474
18474
  error?: string;
18475
18475
  });
18476
18476
 
@@ -18484,7 +18484,7 @@ export type DeactivateSmsRegistrationResponse = ({
18484
18484
  status?: 'deactivated';
18485
18485
  });
18486
18486
 
18487
- export type DeactivateSmsRegistrationError = ({
18487
+ export type DeactivateSmsRegistrationError = (ErrorResponse | {
18488
18488
  error?: string;
18489
18489
  } | unknown);
18490
18490
 
@@ -18519,7 +18519,7 @@ export type GetSmsRegistrationResponse = ({
18519
18519
  };
18520
18520
  });
18521
18521
 
18522
- export type GetSmsRegistrationError = ({
18522
+ export type GetSmsRegistrationError = (ErrorResponse | {
18523
18523
  error?: string;
18524
18524
  } | unknown);
18525
18525
 
@@ -18536,7 +18536,7 @@ export type VerifySmsRegistrationOtpResponse = ({
18536
18536
  verified?: boolean;
18537
18537
  });
18538
18538
 
18539
- export type VerifySmsRegistrationOtpError = ({
18539
+ export type VerifySmsRegistrationOtpError = (ErrorResponse | {
18540
18540
  error?: string;
18541
18541
  } | unknown);
18542
18542
 
@@ -18637,7 +18637,7 @@ export type ShareSmsRegistrationResponse = ({
18637
18637
  expiresAt?: string;
18638
18638
  });
18639
18639
 
18640
- export type ShareSmsRegistrationError = ({
18640
+ export type ShareSmsRegistrationError = (ErrorResponse | {
18641
18641
  error?: string;
18642
18642
  } | unknown);
18643
18643