@bkper/bkper-api-types 5.33.0 → 5.34.0
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/.claude/settings.local.json +9 -0
- package/index.d.ts +44 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -287,6 +287,40 @@ declare namespace bkper {
|
|
|
287
287
|
rangeBeginLabel?: string;
|
|
288
288
|
rangeEndLabel?: string;
|
|
289
289
|
}
|
|
290
|
+
export interface Billing {
|
|
291
|
+
/**
|
|
292
|
+
* The billing admin email for the user's billing account
|
|
293
|
+
*/
|
|
294
|
+
adminEmail?: string;
|
|
295
|
+
/**
|
|
296
|
+
* How many days the user has left in the trial period
|
|
297
|
+
*/
|
|
298
|
+
daysLeftInTrial?: number; // int32
|
|
299
|
+
/**
|
|
300
|
+
* True if billing is enabled for the user
|
|
301
|
+
*/
|
|
302
|
+
enabled?: boolean;
|
|
303
|
+
/**
|
|
304
|
+
* The user's current plan
|
|
305
|
+
*/
|
|
306
|
+
plan?: string;
|
|
307
|
+
/**
|
|
308
|
+
* True if subscription payment is overdue
|
|
309
|
+
*/
|
|
310
|
+
planOverdue?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* True if the user has started the trial period
|
|
313
|
+
*/
|
|
314
|
+
startedTrial?: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* User-level total transactions this month
|
|
317
|
+
*/
|
|
318
|
+
totalTransactionsThisMonth?: number; // int64
|
|
319
|
+
/**
|
|
320
|
+
* User-level total transactions this year
|
|
321
|
+
*/
|
|
322
|
+
totalTransactionsThisYear?: number; // int64
|
|
323
|
+
}
|
|
290
324
|
export interface Book {
|
|
291
325
|
/**
|
|
292
326
|
* The book Accounts
|
|
@@ -1225,6 +1259,11 @@ declare namespace Paths {
|
|
|
1225
1259
|
export type $200 = bkper.Balances;
|
|
1226
1260
|
}
|
|
1227
1261
|
}
|
|
1262
|
+
namespace BkperV5GetBilling {
|
|
1263
|
+
namespace Responses {
|
|
1264
|
+
export type $200 = bkper.Billing;
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1228
1267
|
namespace BkperV5GetBillingPortal {
|
|
1229
1268
|
namespace Responses {
|
|
1230
1269
|
export type $200 = bkper.Url;
|
|
@@ -1280,6 +1319,11 @@ declare namespace Paths {
|
|
|
1280
1319
|
export type $200 = bkper.AppList;
|
|
1281
1320
|
}
|
|
1282
1321
|
}
|
|
1322
|
+
namespace BkperV5ListBillingCounts {
|
|
1323
|
+
namespace Responses {
|
|
1324
|
+
export type $200 = bkper.Counts;
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1283
1327
|
namespace BkperV5ListBookApps {
|
|
1284
1328
|
namespace Responses {
|
|
1285
1329
|
export type $200 = bkper.AppList;
|