@enbbox/api 1.0.1 → 1.1.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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @enbbox/api@1.
|
|
1
|
+
## @enbbox/api@1.1.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @enbbox/api@1.
|
|
39
|
+
npm install @enbbox/api@1.1.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
* Subscriber session token and initial counts.
|
|
14
14
|
*/
|
|
15
15
|
export interface InitSessionResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the project\'s plan allows removing Enbbox branding. `true` for Pro+ plans, `false` for Free.
|
|
18
|
+
*/
|
|
19
|
+
'remove_branding': boolean;
|
|
16
20
|
/**
|
|
17
21
|
* Short-lived JWT for authenticating subsequent inbox requests.
|
|
18
22
|
*/
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
* Subscriber session token and initial counts.
|
|
14
14
|
*/
|
|
15
15
|
export interface InitSessionResponse {
|
|
16
|
+
/**
|
|
17
|
+
* Whether the project\'s plan allows removing Enbbox branding. `true` for Pro+ plans, `false` for Free.
|
|
18
|
+
*/
|
|
19
|
+
'remove_branding': boolean;
|
|
16
20
|
/**
|
|
17
21
|
* Short-lived JWT for authenticating subsequent inbox requests.
|
|
18
22
|
*/
|
|
@@ -6,6 +6,7 @@ Subscriber session token and initial counts.
|
|
|
6
6
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**remove_branding** | **boolean** | Whether the project\'s plan allows removing Enbbox branding. `true` for Pro+ plans, `false` for Free. | [default to undefined]
|
|
9
10
|
**token** | **string** | Short-lived JWT for authenticating subsequent inbox requests. | [default to undefined]
|
|
10
11
|
**total_unread_count** | **number** | Current total unread notification count. | [default to undefined]
|
|
11
12
|
|
|
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
15
16
|
import { InitSessionResponse } from '@enbbox/api';
|
|
16
17
|
|
|
17
18
|
const instance: InitSessionResponse = {
|
|
19
|
+
remove_branding,
|
|
18
20
|
token,
|
|
19
21
|
total_unread_count,
|
|
20
22
|
};
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
* Subscriber session token and initial counts.
|
|
19
19
|
*/
|
|
20
20
|
export interface InitSessionResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Whether the project\'s plan allows removing Enbbox branding. `true` for Pro+ plans, `false` for Free.
|
|
23
|
+
*/
|
|
24
|
+
'remove_branding': boolean;
|
|
21
25
|
/**
|
|
22
26
|
* Short-lived JWT for authenticating subsequent inbox requests.
|
|
23
27
|
*/
|