@zernio/node 0.2.1495 → 0.2.1497
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/README.md +1 -1
- package/dist/index.d.mts +104 -38
- package/dist/index.d.ts +104 -38
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/generated/sdk.gen.ts +20 -25
- package/src/generated/types.gen.ts +105 -39
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.
|
|
39
|
+
version: "0.2.1497",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -547,16 +547,16 @@ var listTopups = (options) => {
|
|
|
547
547
|
url: "/v1/balance/top-ups"
|
|
548
548
|
});
|
|
549
549
|
};
|
|
550
|
-
var
|
|
550
|
+
var getTopupReceipt = (options) => {
|
|
551
551
|
return (options?.client ?? client).get({
|
|
552
552
|
...options,
|
|
553
|
-
url: "/v1/balance/top-ups/
|
|
553
|
+
url: "/v1/balance/top-ups/{topupId}/receipt"
|
|
554
554
|
});
|
|
555
555
|
};
|
|
556
|
-
var
|
|
556
|
+
var getTopupStatement = (options) => {
|
|
557
557
|
return (options?.client ?? client).get({
|
|
558
558
|
...options,
|
|
559
|
-
url: "/v1/balance/top-ups/{topupId}/
|
|
559
|
+
url: "/v1/balance/top-ups/{topupId}/statement"
|
|
560
560
|
});
|
|
561
561
|
};
|
|
562
562
|
var confirmTopup = (options) => {
|
|
@@ -7428,8 +7428,8 @@ var Zernio = class _Zernio {
|
|
|
7428
7428
|
getBalance: this._bind(getBalance),
|
|
7429
7429
|
createTopup: this._bind(createTopup),
|
|
7430
7430
|
listTopups: this._bind(listTopups),
|
|
7431
|
-
getTopupCardFee: this._bind(getTopupCardFee),
|
|
7432
7431
|
getTopupReceipt: this._bind(getTopupReceipt),
|
|
7432
|
+
getTopupStatement: this._bind(getTopupStatement),
|
|
7433
7433
|
confirmTopup: this._bind(confirmTopup),
|
|
7434
7434
|
cancelTopup: this._bind(cancelTopup),
|
|
7435
7435
|
listPayees: this._bind(listPayees),
|
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.
|
|
8
|
+
version: "0.2.1497",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -516,16 +516,16 @@ var listTopups = (options) => {
|
|
|
516
516
|
url: "/v1/balance/top-ups"
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
|
-
var
|
|
519
|
+
var getTopupReceipt = (options) => {
|
|
520
520
|
return (options?.client ?? client).get({
|
|
521
521
|
...options,
|
|
522
|
-
url: "/v1/balance/top-ups/
|
|
522
|
+
url: "/v1/balance/top-ups/{topupId}/receipt"
|
|
523
523
|
});
|
|
524
524
|
};
|
|
525
|
-
var
|
|
525
|
+
var getTopupStatement = (options) => {
|
|
526
526
|
return (options?.client ?? client).get({
|
|
527
527
|
...options,
|
|
528
|
-
url: "/v1/balance/top-ups/{topupId}/
|
|
528
|
+
url: "/v1/balance/top-ups/{topupId}/statement"
|
|
529
529
|
});
|
|
530
530
|
};
|
|
531
531
|
var confirmTopup = (options) => {
|
|
@@ -7397,8 +7397,8 @@ var Zernio = class _Zernio {
|
|
|
7397
7397
|
getBalance: this._bind(getBalance),
|
|
7398
7398
|
createTopup: this._bind(createTopup),
|
|
7399
7399
|
listTopups: this._bind(listTopups),
|
|
7400
|
-
getTopupCardFee: this._bind(getTopupCardFee),
|
|
7401
7400
|
getTopupReceipt: this._bind(getTopupReceipt),
|
|
7401
|
+
getTopupStatement: this._bind(getTopupStatement),
|
|
7402
7402
|
confirmTopup: this._bind(confirmTopup),
|
|
7403
7403
|
cancelTopup: this._bind(cancelTopup),
|
|
7404
7404
|
listPayees: this._bind(listPayees),
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -527,8 +527,8 @@ import {
|
|
|
527
527
|
getTikTokDemographics,
|
|
528
528
|
getTikTokSmartPlusAdReview,
|
|
529
529
|
getTikTokSmartPlusMaterialReport,
|
|
530
|
-
getTopupCardFee,
|
|
531
530
|
getTopupReceipt,
|
|
531
|
+
getTopupStatement,
|
|
532
532
|
getTrackingTag,
|
|
533
533
|
getTrackingTagDiagnostics,
|
|
534
534
|
getTrackingTagStats,
|
|
@@ -1381,8 +1381,8 @@ export class Zernio {
|
|
|
1381
1381
|
getBalance: this._bind(getBalance),
|
|
1382
1382
|
createTopup: this._bind(createTopup),
|
|
1383
1383
|
listTopups: this._bind(listTopups),
|
|
1384
|
-
getTopupCardFee: this._bind(getTopupCardFee),
|
|
1385
1384
|
getTopupReceipt: this._bind(getTopupReceipt),
|
|
1385
|
+
getTopupStatement: this._bind(getTopupStatement),
|
|
1386
1386
|
confirmTopup: this._bind(confirmTopup),
|
|
1387
1387
|
cancelTopup: this._bind(cancelTopup),
|
|
1388
1388
|
listPayees: this._bind(listPayees),
|