@getlatedev/node 0.2.1676 → 0.2.1678

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
@@ -7159,11 +7159,11 @@ type AutoRecharge = {
7159
7159
  */
7160
7160
  enabled: boolean;
7161
7161
  /**
7162
- * Auto top-up charges the card when the balance drops below this, in cents.
7162
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents.
7163
7163
  */
7164
7164
  belowCents: number;
7165
7165
  /**
7166
- * Top back up to this, in cents. The charge is toCents minus the balance, plus tax.
7166
+ * The back-to amount, in cents. The charge is toCents minus the balance, plus tax.
7167
7167
  */
7168
7168
  toCents: number;
7169
7169
  /**
@@ -31190,15 +31190,15 @@ type UpdateAutoRechargeData = {
31190
31190
  */
31191
31191
  enabled?: boolean;
31192
31192
  /**
31193
- * Auto top-up charges the card when the balance drops below this, in cents. At least $5.
31193
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents. At least $5.
31194
31194
  */
31195
31195
  belowCents?: number;
31196
31196
  /**
31197
- * Top back up to this, in cents. More than $5 above belowCents.
31197
+ * The back-to amount, in cents. At least $5 above belowCents, so at least $10.
31198
31198
  */
31199
31199
  toCents?: number;
31200
31200
  /**
31201
- * Most auto top-up may add per calendar month (UTC), before tax. At least toCents while auto top-up is on. Null for no limit.
31201
+ * Most auto top-up may add per calendar month (UTC), before tax. At least the back-to amount (toCents) while auto top-up is on. Null for no limit.
31202
31202
  */
31203
31203
  monthlyLimitCents?: (number) | null;
31204
31204
  /**
package/dist/index.d.ts CHANGED
@@ -7159,11 +7159,11 @@ type AutoRecharge = {
7159
7159
  */
7160
7160
  enabled: boolean;
7161
7161
  /**
7162
- * Auto top-up charges the card when the balance drops below this, in cents.
7162
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents.
7163
7163
  */
7164
7164
  belowCents: number;
7165
7165
  /**
7166
- * Top back up to this, in cents. The charge is toCents minus the balance, plus tax.
7166
+ * The back-to amount, in cents. The charge is toCents minus the balance, plus tax.
7167
7167
  */
7168
7168
  toCents: number;
7169
7169
  /**
@@ -31190,15 +31190,15 @@ type UpdateAutoRechargeData = {
31190
31190
  */
31191
31191
  enabled?: boolean;
31192
31192
  /**
31193
- * Auto top-up charges the card when the balance drops below this, in cents. At least $5.
31193
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents. At least $5.
31194
31194
  */
31195
31195
  belowCents?: number;
31196
31196
  /**
31197
- * Top back up to this, in cents. More than $5 above belowCents.
31197
+ * The back-to amount, in cents. At least $5 above belowCents, so at least $10.
31198
31198
  */
31199
31199
  toCents?: number;
31200
31200
  /**
31201
- * Most auto top-up may add per calendar month (UTC), before tax. At least toCents while auto top-up is on. Null for no limit.
31201
+ * Most auto top-up may add per calendar month (UTC), before tax. At least the back-to amount (toCents) while auto top-up is on. Null for no limit.
31202
31202
  */
31203
31203
  monthlyLimitCents?: (number) | null;
31204
31204
  /**
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: "@getlatedev/node",
39
- version: "0.2.1676",
39
+ version: "0.2.1678",
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: "@getlatedev/node",
8
- version: "0.2.1676",
8
+ version: "0.2.1678",
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": "@getlatedev/node",
3
- "version": "0.2.1676",
3
+ "version": "0.2.1678",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -735,7 +735,7 @@ export const getBalance = <ThrowOnError extends boolean = false>(options?: Optio
735
735
 
736
736
  /**
737
737
  * Get auto top-up settings
738
- * Your balance's auto top-up rule: when the balance drops below `belowCents`, the billing owner's saved card is charged back up to `toCents`, tax added on top as for any top-up.
738
+ * Your balance's auto top-up rule: when your balance drops below `belowCents`, we bring it back to `toCents` from the billing owner's saved card, tax added on top as for any top-up.
739
739
  *
740
740
  * Account credit you held when you moved to the balance pays an auto top-up first, without a card charge or invoice (see `recentCreditRecharges` on `GET /v1/balance`). The card is charged only once that credit is used up, and only while the balance is still below `belowCents`.
741
741
  *
@@ -765,7 +765,7 @@ export const getAutoRecharge = <ThrowOnError extends boolean = false>(options?:
765
765
  *
766
766
  * When this month's auto top-ups plus the next one would pass `monthlyLimitCents`, the card is not charged and you get one email that month. At $0, pay-per-use then answers 402 `usage_limit_reached`.
767
767
  *
768
- * - 400: a field is out of range, `toCents` is not more than $5 above `belowCents`, or, while auto top-up is on, `monthlyLimitCents` is lower than `toCents` (one top-up from $0 would pass it, so it could never charge). Omitted fields are checked with their stored values.
768
+ * - 400: a field is out of range, `toCents` is not at least $5 above `belowCents`, or, while auto top-up is on, `monthlyLimitCents` is lower than the back-to amount `toCents` (one top-up from $0 would pass it, so it could never charge). Omitted fields are checked with their stored values.
769
769
  * - 409 `balance_billing_required`: the account is not on the prepaid balance.
770
770
  *
771
771
  * Needs an owner, admin or billing admin, signed in or through a full-access key they created.
@@ -4842,11 +4842,11 @@ export type AutoRecharge = {
4842
4842
  */
4843
4843
  enabled: boolean;
4844
4844
  /**
4845
- * Auto top-up charges the card when the balance drops below this, in cents.
4845
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents.
4846
4846
  */
4847
4847
  belowCents: number;
4848
4848
  /**
4849
- * Top back up to this, in cents. The charge is toCents minus the balance, plus tax.
4849
+ * The back-to amount, in cents. The charge is toCents minus the balance, plus tax.
4850
4850
  */
4851
4851
  toCents: number;
4852
4852
  /**
@@ -29996,15 +29996,15 @@ export type UpdateAutoRechargeData = {
29996
29996
  */
29997
29997
  enabled?: boolean;
29998
29998
  /**
29999
- * Auto top-up charges the card when the balance drops below this, in cents. At least $5.
29999
+ * The below amount, in cents: when the balance drops below this, auto top-up brings it back to toCents. At least $5.
30000
30000
  */
30001
30001
  belowCents?: number;
30002
30002
  /**
30003
- * Top back up to this, in cents. More than $5 above belowCents.
30003
+ * The back-to amount, in cents. At least $5 above belowCents, so at least $10.
30004
30004
  */
30005
30005
  toCents?: number;
30006
30006
  /**
30007
- * Most auto top-up may add per calendar month (UTC), before tax. At least toCents while auto top-up is on. Null for no limit.
30007
+ * Most auto top-up may add per calendar month (UTC), before tax. At least the back-to amount (toCents) while auto top-up is on. Null for no limit.
30008
30008
  */
30009
30009
  monthlyLimitCents?: (number) | null;
30010
30010
  /**