bkper-js 1.29.1 → 1.30.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
@@ -357,6 +357,13 @@ export declare class App {
357
357
  * @returns This App, for chainning.
358
358
  */
359
359
  setWebhookUrlDev(webhookUrlDev: string): App;
360
+ /**
361
+ *
362
+ * Sets the conversation url for development.
363
+ *
364
+ * @returns This App, for chainning.
365
+ */
366
+ setConversationUrlDev(conversationUrlDev: string): App;
360
367
  /**
361
368
  *
362
369
  * @returns The App universal identifier
@@ -378,6 +385,10 @@ export declare class App {
378
385
  * @return The logo url of this App
379
386
  */
380
387
  getLogoUrl(): string | undefined;
388
+ /**
389
+ * @return The logo url of this App in dark mode
390
+ */
391
+ getLogoUrlDark(): string | undefined;
381
392
  /**
382
393
  * @return The description of this App
383
394
  */
package/lib/model/App.js CHANGED
@@ -32,12 +32,17 @@ export class App {
32
32
  * @returns This App, for chainning.
33
33
  */
34
34
  setWebhookUrlDev(webhookUrlDev) {
35
- if (webhookUrlDev) {
36
- this.payload.webhookUrlDev = webhookUrlDev;
37
- }
38
- else {
39
- this.payload.webhookUrlDev = 'null';
40
- }
35
+ this.payload.webhookUrlDev = webhookUrlDev;
36
+ return this;
37
+ }
38
+ /**
39
+ *
40
+ * Sets the conversation url for development.
41
+ *
42
+ * @returns This App, for chainning.
43
+ */
44
+ setConversationUrlDev(conversationUrlDev) {
45
+ this.payload.conversationUrlDev = conversationUrlDev;
41
46
  return this;
42
47
  }
43
48
  /**
@@ -72,6 +77,12 @@ export class App {
72
77
  getLogoUrl() {
73
78
  return this.payload.logoUrl;
74
79
  }
80
+ /**
81
+ * @return The logo url of this App in dark mode
82
+ */
83
+ getLogoUrlDark() {
84
+ return this.payload.logoUrlDark;
85
+ }
75
86
  /**
76
87
  * @return The description of this App
77
88
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.29.1",
3
+ "version": "1.30.0",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -34,7 +34,7 @@
34
34
  "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
35
35
  },
36
36
  "peerDependencies": {
37
- "@bkper/bkper-api-types": "^5.14.0"
37
+ "@bkper/bkper-api-types": "^5.15.1"
38
38
  },
39
39
  "dependencies": {
40
40
  "@google-cloud/local-auth": "^3.0.1",