starta.apiclient 1.112.8909 → 1.112.8948
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.
|
@@ -27,6 +27,7 @@ import Memberships from './memberships';
|
|
|
27
27
|
import WarehouseOperations from './warehouseOperations';
|
|
28
28
|
import Settlements from './settlements';
|
|
29
29
|
import Resources from './resources';
|
|
30
|
+
import NotificationCenter from './notificationCenter';
|
|
30
31
|
export declare type TariffDetails = {
|
|
31
32
|
tariff: 'lite' | 'pro';
|
|
32
33
|
period: 'monthly' | 'yearly' | 'ltl';
|
|
@@ -150,5 +151,6 @@ export default class Organizations {
|
|
|
150
151
|
get memberships(): Memberships;
|
|
151
152
|
get settlements(): Settlements;
|
|
152
153
|
get resources(): Resources;
|
|
154
|
+
get notificationCenter(): NotificationCenter;
|
|
153
155
|
get warehouseOperations(): WarehouseOperations;
|
|
154
156
|
}
|
|
@@ -28,6 +28,7 @@ const memberships_1 = require("./memberships");
|
|
|
28
28
|
const warehouseOperations_1 = require("./warehouseOperations");
|
|
29
29
|
const settlements_1 = require("./settlements");
|
|
30
30
|
const resources_1 = require("./resources");
|
|
31
|
+
const notificationCenter_1 = require("./notificationCenter");
|
|
31
32
|
const _helpers_1 = require("../_helpers");
|
|
32
33
|
class Organizations {
|
|
33
34
|
constructor(requestRunner) {
|
|
@@ -361,6 +362,9 @@ class Organizations {
|
|
|
361
362
|
get resources() {
|
|
362
363
|
return new resources_1.default(this._requestRunner);
|
|
363
364
|
}
|
|
365
|
+
get notificationCenter() {
|
|
366
|
+
return new notificationCenter_1.default(this._requestRunner);
|
|
367
|
+
}
|
|
364
368
|
get warehouseOperations() {
|
|
365
369
|
return new warehouseOperations_1.default(this._requestRunner);
|
|
366
370
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Members {
|
|
4
|
+
constructor(requestRunner) {
|
|
5
|
+
this._requestRunner = requestRunner;
|
|
6
|
+
}
|
|
7
|
+
get(organizationLogin) {
|
|
8
|
+
return this._requestRunner.performRequest({
|
|
9
|
+
url: `accounts/${organizationLogin}/notification-center`,
|
|
10
|
+
method: 'GET',
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.default = Members;
|