bkper-js 2.45.1 → 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,12 +518,24 @@ 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
  *
524
530
  * @returns True if this App is published
525
531
  */
526
532
  isPublished(): boolean;
533
+ /**
534
+ * Checks if this App is hidden.
535
+ *
536
+ * @returns True if this App is hidden, defaults to false
537
+ */
538
+ isHidden(): boolean;
527
539
  /**
528
540
  * Tells if this App is installable.
529
541
  *
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
  *
@@ -79,6 +87,14 @@ export class App extends Resource {
79
87
  isPublished() {
80
88
  return this.payload.published || false;
81
89
  }
90
+ /**
91
+ * Checks if this App is hidden.
92
+ *
93
+ * @returns True if this App is hidden, defaults to false
94
+ */
95
+ isHidden() {
96
+ return this.payload.hidden || false;
97
+ }
82
98
  /**
83
99
  * Tells if this App is installable.
84
100
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "2.45.1",
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.45.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",