@zernio/node 0.2.1500 → 0.2.1502
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -6824,7 +6824,7 @@ type CampaignBidding = {
|
|
|
6824
6824
|
type channel2 = 'SEARCH' | 'DISPLAY';
|
|
6825
6825
|
type CampaignLedgerEntry = {
|
|
6826
6826
|
id: string;
|
|
6827
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
6827
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
6828
6828
|
/**
|
|
6829
6829
|
* Always positive; direction is given by debit and credit.
|
|
6830
6830
|
*/
|
|
@@ -6844,7 +6844,7 @@ type CampaignLedgerEntry = {
|
|
|
6844
6844
|
actor: string;
|
|
6845
6845
|
createdAt: string;
|
|
6846
6846
|
};
|
|
6847
|
-
type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
6847
|
+
type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
6848
6848
|
type CampaignParticipant = {
|
|
6849
6849
|
id: string;
|
|
6850
6850
|
campaignId: string;
|
|
@@ -9138,7 +9138,7 @@ type CreatorPortalParticipant = {
|
|
|
9138
9138
|
type kind6 = 'participant';
|
|
9139
9139
|
type CreatorPortalPayoutEntry = {
|
|
9140
9140
|
id: string;
|
|
9141
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
9141
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
9142
9142
|
amountCents: number;
|
|
9143
9143
|
/**
|
|
9144
9144
|
* The participant bucket the money left; null when it came from outside the participant.
|
|
@@ -25802,7 +25802,7 @@ type GetLedgerBalancesError = (ErrorResponse | {
|
|
|
25802
25802
|
});
|
|
25803
25803
|
type ListLedgerEntriesData = {
|
|
25804
25804
|
query?: {
|
|
25805
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
25805
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
25806
25806
|
limit?: number;
|
|
25807
25807
|
referenceId?: string;
|
|
25808
25808
|
referenceType?: string;
|
|
@@ -25814,7 +25814,7 @@ type ListLedgerEntriesData = {
|
|
|
25814
25814
|
type ListLedgerEntriesResponse = ({
|
|
25815
25815
|
entries?: Array<{
|
|
25816
25816
|
id?: string;
|
|
25817
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
25817
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
25818
25818
|
/**
|
|
25819
25819
|
* Always positive; direction is given by debit and credit
|
|
25820
25820
|
*/
|
|
@@ -25846,7 +25846,7 @@ type ListLedgerEntriesError = (ErrorResponse | {
|
|
|
25846
25846
|
});
|
|
25847
25847
|
type GetBalanceResponse = ({
|
|
25848
25848
|
/**
|
|
25849
|
-
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents).
|
|
25849
|
+
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents). It goes negative after a dispute or refund of a spent top-up, or when pay-per-use already in flight lands past zero. The next top-up covers it. Transfers are refused while it is negative.
|
|
25850
25850
|
*/
|
|
25851
25851
|
availableCents?: number;
|
|
25852
25852
|
/**
|
|
@@ -68423,7 +68423,7 @@ type ListCampaignLedgerData = {
|
|
|
68423
68423
|
campaignId: string;
|
|
68424
68424
|
};
|
|
68425
68425
|
query?: {
|
|
68426
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
68426
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
68427
68427
|
limit?: number;
|
|
68428
68428
|
/**
|
|
68429
68429
|
* List only this participant's entries.
|
package/dist/index.d.ts
CHANGED
|
@@ -6824,7 +6824,7 @@ type CampaignBidding = {
|
|
|
6824
6824
|
type channel2 = 'SEARCH' | 'DISPLAY';
|
|
6825
6825
|
type CampaignLedgerEntry = {
|
|
6826
6826
|
id: string;
|
|
6827
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
6827
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
6828
6828
|
/**
|
|
6829
6829
|
* Always positive; direction is given by debit and credit.
|
|
6830
6830
|
*/
|
|
@@ -6844,7 +6844,7 @@ type CampaignLedgerEntry = {
|
|
|
6844
6844
|
actor: string;
|
|
6845
6845
|
createdAt: string;
|
|
6846
6846
|
};
|
|
6847
|
-
type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
6847
|
+
type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
6848
6848
|
type CampaignParticipant = {
|
|
6849
6849
|
id: string;
|
|
6850
6850
|
campaignId: string;
|
|
@@ -9138,7 +9138,7 @@ type CreatorPortalParticipant = {
|
|
|
9138
9138
|
type kind6 = 'participant';
|
|
9139
9139
|
type CreatorPortalPayoutEntry = {
|
|
9140
9140
|
id: string;
|
|
9141
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
9141
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
9142
9142
|
amountCents: number;
|
|
9143
9143
|
/**
|
|
9144
9144
|
* The participant bucket the money left; null when it came from outside the participant.
|
|
@@ -25802,7 +25802,7 @@ type GetLedgerBalancesError = (ErrorResponse | {
|
|
|
25802
25802
|
});
|
|
25803
25803
|
type ListLedgerEntriesData = {
|
|
25804
25804
|
query?: {
|
|
25805
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
25805
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
25806
25806
|
limit?: number;
|
|
25807
25807
|
referenceId?: string;
|
|
25808
25808
|
referenceType?: string;
|
|
@@ -25814,7 +25814,7 @@ type ListLedgerEntriesData = {
|
|
|
25814
25814
|
type ListLedgerEntriesResponse = ({
|
|
25815
25815
|
entries?: Array<{
|
|
25816
25816
|
id?: string;
|
|
25817
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
25817
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
25818
25818
|
/**
|
|
25819
25819
|
* Always positive; direction is given by debit and credit
|
|
25820
25820
|
*/
|
|
@@ -25846,7 +25846,7 @@ type ListLedgerEntriesError = (ErrorResponse | {
|
|
|
25846
25846
|
});
|
|
25847
25847
|
type GetBalanceResponse = ({
|
|
25848
25848
|
/**
|
|
25849
|
-
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents).
|
|
25849
|
+
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents). It goes negative after a dispute or refund of a spent top-up, or when pay-per-use already in flight lands past zero. The next top-up covers it. Transfers are refused while it is negative.
|
|
25850
25850
|
*/
|
|
25851
25851
|
availableCents?: number;
|
|
25852
25852
|
/**
|
|
@@ -68423,7 +68423,7 @@ type ListCampaignLedgerData = {
|
|
|
68423
68423
|
campaignId: string;
|
|
68424
68424
|
};
|
|
68425
68425
|
query?: {
|
|
68426
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
68426
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
68427
68427
|
limit?: number;
|
|
68428
68428
|
/**
|
|
68429
68429
|
* List only this participant's entries.
|
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.1502",
|
|
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.
|
|
8
|
+
version: "0.2.1502",
|
|
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
|
@@ -4725,7 +4725,7 @@ export type channel2 = 'SEARCH' | 'DISPLAY';
|
|
|
4725
4725
|
|
|
4726
4726
|
export type CampaignLedgerEntry = {
|
|
4727
4727
|
id: string;
|
|
4728
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
4728
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
4729
4729
|
/**
|
|
4730
4730
|
* Always positive; direction is given by debit and credit.
|
|
4731
4731
|
*/
|
|
@@ -4746,7 +4746,7 @@ export type CampaignLedgerEntry = {
|
|
|
4746
4746
|
createdAt: string;
|
|
4747
4747
|
};
|
|
4748
4748
|
|
|
4749
|
-
export type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
4749
|
+
export type kind3 = 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
4750
4750
|
|
|
4751
4751
|
export type CampaignParticipant = {
|
|
4752
4752
|
id: string;
|
|
@@ -7155,7 +7155,7 @@ export type kind6 = 'participant';
|
|
|
7155
7155
|
|
|
7156
7156
|
export type CreatorPortalPayoutEntry = {
|
|
7157
7157
|
id: string;
|
|
7158
|
-
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
7158
|
+
kind: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
7159
7159
|
amountCents: number;
|
|
7160
7160
|
/**
|
|
7161
7161
|
* The participant bucket the money left; null when it came from outside the participant.
|
|
@@ -24572,7 +24572,7 @@ export type GetLedgerBalancesError = (ErrorResponse | {
|
|
|
24572
24572
|
|
|
24573
24573
|
export type ListLedgerEntriesData = {
|
|
24574
24574
|
query?: {
|
|
24575
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
24575
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
24576
24576
|
limit?: number;
|
|
24577
24577
|
referenceId?: string;
|
|
24578
24578
|
referenceType?: string;
|
|
@@ -24585,7 +24585,7 @@ export type ListLedgerEntriesData = {
|
|
|
24585
24585
|
export type ListLedgerEntriesResponse = ({
|
|
24586
24586
|
entries?: Array<{
|
|
24587
24587
|
id?: string;
|
|
24588
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
24588
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
24589
24589
|
/**
|
|
24590
24590
|
* Always positive; direction is given by debit and credit
|
|
24591
24591
|
*/
|
|
@@ -24619,7 +24619,7 @@ export type ListLedgerEntriesError = (ErrorResponse | {
|
|
|
24619
24619
|
|
|
24620
24620
|
export type GetBalanceResponse = ({
|
|
24621
24621
|
/**
|
|
24622
|
-
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents).
|
|
24622
|
+
* Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents). It goes negative after a dispute or refund of a spent top-up, or when pay-per-use already in flight lands past zero. The next top-up covers it. Transfers are refused while it is negative.
|
|
24623
24623
|
*/
|
|
24624
24624
|
availableCents?: number;
|
|
24625
24625
|
/**
|
|
@@ -70503,7 +70503,7 @@ export type ListCampaignLedgerData = {
|
|
|
70503
70503
|
campaignId: string;
|
|
70504
70504
|
};
|
|
70505
70505
|
query?: {
|
|
70506
|
-
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee';
|
|
70506
|
+
kind?: 'accrual' | 'approval' | 'hold_release' | 'adjustment' | 'settling' | 'settlement' | 'reversal' | 'topup' | 'transfer' | 'fee' | 'usage' | 'grant';
|
|
70507
70507
|
limit?: number;
|
|
70508
70508
|
/**
|
|
70509
70509
|
* List only this participant's entries.
|