bkper-js 2.17.0 → 2.17.2

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/lib/index.d.ts CHANGED
@@ -1159,7 +1159,8 @@ export declare enum BalanceType {
1159
1159
  * You can configure the library in two ways:
1160
1160
  *
1161
1161
  * 1. Using static configuration (traditional approach):
1162
- * ```javascript
1162
+ *
1163
+ * ```typescript
1163
1164
  * Bkper.setConfig({
1164
1165
  * apiKeyProvider: () => process.env.BKPER_API_KEY,
1165
1166
  * oauthTokenProvider: () => process.env.BKPER_OAUTH_TOKEN
@@ -1170,7 +1171,8 @@ export declare enum BalanceType {
1170
1171
  * ```
1171
1172
  *
1172
1173
  * 2. Using per-instance configuration (recommended for Cloudflare Workers):
1173
- * ```javascript
1174
+ *
1175
+ * ```typescript
1174
1176
  * const bkper = new Bkper({
1175
1177
  * apiKeyProvider: () => process.env.BKPER_API_KEY,
1176
1178
  * oauthTokenProvider: () => process.env.BKPER_OAUTH_TOKEN
@@ -2402,6 +2404,7 @@ export declare class EventList {
2402
2404
  */
2403
2405
  export declare enum EventType {
2404
2406
  FILE_CREATED = "FILE_CREATED",
2407
+ FILE_UPDATED = "FILE_UPDATED",
2405
2408
  TRANSACTION_CREATED = "TRANSACTION_CREATED",
2406
2409
  TRANSACTION_UPDATED = "TRANSACTION_UPDATED",
2407
2410
  TRANSACTION_DELETED = "TRANSACTION_DELETED",
@@ -23,7 +23,8 @@ import { Collection } from "./Collection.js";
23
23
  * You can configure the library in two ways:
24
24
  *
25
25
  * 1. Using static configuration (traditional approach):
26
- * ```javascript
26
+ *
27
+ * ```typescript
27
28
  * Bkper.setConfig({
28
29
  * apiKeyProvider: () => process.env.BKPER_API_KEY,
29
30
  * oauthTokenProvider: () => process.env.BKPER_OAUTH_TOKEN
@@ -34,7 +35,8 @@ import { Collection } from "./Collection.js";
34
35
  * ```
35
36
  *
36
37
  * 2. Using per-instance configuration (recommended for Cloudflare Workers):
37
- * ```javascript
38
+ *
39
+ * ```typescript
38
40
  * const bkper = new Bkper({
39
41
  * apiKeyProvider: () => process.env.BKPER_API_KEY,
40
42
  * oauthTokenProvider: () => process.env.BKPER_OAUTH_TOKEN
@@ -196,6 +196,7 @@ export var BotResponseType;
196
196
  export var EventType;
197
197
  (function (EventType) {
198
198
  EventType["FILE_CREATED"] = "FILE_CREATED";
199
+ EventType["FILE_UPDATED"] = "FILE_UPDATED";
199
200
  EventType["TRANSACTION_CREATED"] = "TRANSACTION_CREATED";
200
201
  EventType["TRANSACTION_UPDATED"] = "TRANSACTION_UPDATED";
201
202
  EventType["TRANSACTION_DELETED"] = "TRANSACTION_DELETED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "2.17.0",
3
+ "version": "2.17.2",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",