@hubs101/js-api-skd-client 1.0.10504 → 1.0.10505
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.
|
@@ -28,3 +28,4 @@ export declare const _fetchColocatedEvents: (basePath: string, token: string, ac
|
|
|
28
28
|
export declare const _createColocatedEvents: (basePath: string, token: string, accountId: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
29
29
|
export declare const _editColocatedEvents: (basePath: string, token: string, id: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
30
30
|
export declare const _deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<string>;
|
|
31
|
+
export declare const _editPackages: (basePath: string, token: string, accountId: string, data: any) => Promise<any>;
|
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports._deleteColocatedEvents = exports._editColocatedEvents = exports._createColocatedEvents = exports._fetchColocatedEvents = exports._updateAccountGroup = exports._createAccountGroup = exports._fetchAccountGroups = exports._fetchAccountEvents = exports._deletePaymentAccount = exports._deleteFinanceManager = exports._inviteFinanceManager = exports._confirmManagerNative = exports._confirmManager = exports._registerManagerNative = exports._registerManager = exports._deleteContentManager = exports._inviteContentManager = exports._updatePaymentAccount = exports._createPaymentAccount = exports._fetchPaymentAccounts = exports._fetchPaymentAccount = exports._sendNewPassword = exports._resetPassword = exports._logout = exports._login = void 0;
|
|
12
|
+
exports._editPackages = exports._deleteColocatedEvents = exports._editColocatedEvents = exports._createColocatedEvents = exports._fetchColocatedEvents = exports._updateAccountGroup = exports._createAccountGroup = exports._fetchAccountGroups = exports._fetchAccountEvents = exports._deletePaymentAccount = exports._deleteFinanceManager = exports._inviteFinanceManager = exports._confirmManagerNative = exports._confirmManager = exports._registerManagerNative = exports._registerManager = exports._deleteContentManager = exports._inviteContentManager = exports._updatePaymentAccount = exports._createPaymentAccount = exports._fetchPaymentAccounts = exports._fetchPaymentAccount = exports._sendNewPassword = exports._resetPassword = exports._logout = exports._login = void 0;
|
|
13
13
|
const api_1 = require("../../utils/api");
|
|
14
14
|
const base_1 = require("../../utils/base");
|
|
15
15
|
const _login = (basePath, email, password) => __awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -169,3 +169,9 @@ const _deleteColocatedEvents = (basePath, token, id) => __awaiter(void 0, void 0
|
|
|
169
169
|
return response;
|
|
170
170
|
});
|
|
171
171
|
exports._deleteColocatedEvents = _deleteColocatedEvents;
|
|
172
|
+
const _editPackages = (basePath, token, accountId, data) => __awaiter(void 0, void 0, void 0, function* () {
|
|
173
|
+
const base = (0, base_1.getBasePath)(basePath);
|
|
174
|
+
const res = yield (0, api_1.putRequest)(`${base.ACCOUNTS}/${accountId}/packages`, token, data);
|
|
175
|
+
return res;
|
|
176
|
+
});
|
|
177
|
+
exports._editPackages = _editPackages;
|