@bkper/bkper-api-types 5.33.0 → 5.35.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/CLAUDE.md +1 -1
- package/README.md +1 -1
- package/index.d.ts +57 -0
- package/package.json +2 -2
package/CLAUDE.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**DO NOT manually edit `index.d.ts`** - this file is auto-generated.
|
|
6
6
|
|
|
7
|
-
The types are generated from the Bkper [Open API spec](https://
|
|
7
|
+
The types are generated from the Bkper [Open API spec](https://bkper.com/openapi.json) using the [dtsgenerator](https://github.com/horiuchi/dtsgenerator) tool.
|
|
8
8
|
|
|
9
9
|
## Regenerating Types
|
|
10
10
|
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ This package contains Typescript definitions for the [Bkper REST API](https://bk
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@bkper/bkper-api-types)
|
|
6
6
|
|
|
7
|
-
The types are generated based on the Bkper [Open API spec](https://
|
|
7
|
+
The types are generated based on the Bkper [Open API spec](https://bkper.com/openapi.json) using the [dtsgenerator](https://github.com/horiuchi/dtsgenerator) tool.
|
|
8
8
|
|
|
9
9
|
More information at the [Bkper Developer Documentation](http://bkper.com/docs/#rest-api)
|
|
10
10
|
|
package/index.d.ts
CHANGED
|
@@ -287,6 +287,48 @@ 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
|
+
* The user's email address
|
|
301
|
+
*/
|
|
302
|
+
email?: string;
|
|
303
|
+
/**
|
|
304
|
+
* True if billing is enabled for the user
|
|
305
|
+
*/
|
|
306
|
+
enabled?: boolean;
|
|
307
|
+
/**
|
|
308
|
+
* The user hosted domain
|
|
309
|
+
*/
|
|
310
|
+
hostedDomain?: string;
|
|
311
|
+
/**
|
|
312
|
+
* The user's current plan
|
|
313
|
+
*/
|
|
314
|
+
plan?: string;
|
|
315
|
+
/**
|
|
316
|
+
* True if subscription payment is overdue
|
|
317
|
+
*/
|
|
318
|
+
planOverdue?: boolean;
|
|
319
|
+
/**
|
|
320
|
+
* True if the user has started the trial period
|
|
321
|
+
*/
|
|
322
|
+
startedTrial?: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* User-level total transactions this month
|
|
325
|
+
*/
|
|
326
|
+
totalTransactionsThisMonth?: number; // int64
|
|
327
|
+
/**
|
|
328
|
+
* User-level total transactions this year
|
|
329
|
+
*/
|
|
330
|
+
totalTransactionsThisYear?: number; // int64
|
|
331
|
+
}
|
|
290
332
|
export interface Book {
|
|
291
333
|
/**
|
|
292
334
|
* The book Accounts
|
|
@@ -1225,6 +1267,16 @@ declare namespace Paths {
|
|
|
1225
1267
|
export type $200 = bkper.Balances;
|
|
1226
1268
|
}
|
|
1227
1269
|
}
|
|
1270
|
+
namespace BkperV5GetBilling {
|
|
1271
|
+
namespace Responses {
|
|
1272
|
+
export type $200 = bkper.Billing;
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
namespace BkperV5GetBillingCheckout {
|
|
1276
|
+
namespace Responses {
|
|
1277
|
+
export type $200 = bkper.Url;
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1228
1280
|
namespace BkperV5GetBillingPortal {
|
|
1229
1281
|
namespace Responses {
|
|
1230
1282
|
export type $200 = bkper.Url;
|
|
@@ -1280,6 +1332,11 @@ declare namespace Paths {
|
|
|
1280
1332
|
export type $200 = bkper.AppList;
|
|
1281
1333
|
}
|
|
1282
1334
|
}
|
|
1335
|
+
namespace BkperV5ListBillingCounts {
|
|
1336
|
+
namespace Responses {
|
|
1337
|
+
export type $200 = bkper.Counts;
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1283
1340
|
namespace BkperV5ListBookApps {
|
|
1284
1341
|
namespace Responses {
|
|
1285
1342
|
export type $200 = bkper.AppList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bkper/bkper-api-types",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.35.0",
|
|
4
4
|
"description": "Typescript definitions for Bkper REST API",
|
|
5
5
|
"homepage": "https://api.bkper.com",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "dtsgen -o index.d.ts --url https://
|
|
20
|
+
"build": "dtsgen -o index.d.ts --url https://bkper.com/openapi.json",
|
|
21
21
|
"patch": "yarn version --patch",
|
|
22
22
|
"minor": "yarn version --minor",
|
|
23
23
|
"major": "yarn version --major",
|