bkper-js 2.46.0 → 2.47.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/lib/index.d.ts CHANGED
@@ -518,6 +518,12 @@ export declare class App extends Resource<bkper.App> {
518
518
  * @returns The events bound to this App
519
519
  */
520
520
  getEvents(): EventType[] | undefined;
521
+ /**
522
+ * Gets the tags of this App.
523
+ *
524
+ * @returns The tags of this App, or undefined when absent
525
+ */
526
+ getTags(): string[] | undefined;
521
527
  /**
522
528
  * Checks if this App is published.
523
529
  *
package/lib/model/App.js CHANGED
@@ -71,6 +71,14 @@ export class App extends Resource {
71
71
  getEvents() {
72
72
  return this.payload.events;
73
73
  }
74
+ /**
75
+ * Gets the tags of this App.
76
+ *
77
+ * @returns The tags of this App, or undefined when absent
78
+ */
79
+ getTags() {
80
+ return this.payload.tags;
81
+ }
74
82
  /**
75
83
  * Checks if this App is published.
76
84
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "2.46.0",
3
+ "version": "2.47.0",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -38,7 +38,7 @@
38
38
  "release:major": "npm version major -m \"chore(release): v%s\""
39
39
  },
40
40
  "dependencies": {
41
- "@bkper/bkper-api-types": "^5.48.0",
41
+ "@bkper/bkper-api-types": "^5.49.0",
42
42
  "big.js": "^6.0.3",
43
43
  "dayjs": "^1.10.3",
44
44
  "luxon": "^1.25.0",