@hubs101/js-api-skd-client 1.0.10426 → 1.0.10431
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.
|
@@ -25,4 +25,4 @@ export declare const _createAccountGroup: (basePath: string, token: string, acco
|
|
|
25
25
|
export declare const _fetchColocatedEvents: (basePath: string, token: string, accountId: string) => Promise<ResponsePaginationType<ColocatedEventsGroupType>>;
|
|
26
26
|
export declare const _createColocatedEvents: (basePath: string, token: string, accountId: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
27
27
|
export declare const _editColocatedEvents: (basePath: string, token: string, id: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
28
|
-
export declare const _deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<
|
|
28
|
+
export declare const _deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<string>;
|
|
@@ -159,7 +159,7 @@ const _editColocatedEvents = (basePath, token, id, data) => __awaiter(void 0, vo
|
|
|
159
159
|
exports._editColocatedEvents = _editColocatedEvents;
|
|
160
160
|
const _deleteColocatedEvents = (basePath, token, id) => __awaiter(void 0, void 0, void 0, function* () {
|
|
161
161
|
const base = (0, base_1.getBasePath)(basePath);
|
|
162
|
-
const
|
|
163
|
-
return
|
|
162
|
+
const response = yield (0, api_1.deleteRequestWE)(`${base.ACCOUNTS}/colocated-events/${id}`, token);
|
|
163
|
+
return response;
|
|
164
164
|
});
|
|
165
165
|
exports._deleteColocatedEvents = _deleteColocatedEvents;
|
package/lib/types/base.d.ts
CHANGED
|
@@ -309,7 +309,7 @@ export type BaseAPIType = {
|
|
|
309
309
|
fetchColocatedEvents: (basePath: string, token: string, accountId: string) => Promise<ResponsePaginationType<ColocatedEventsGroupType>>;
|
|
310
310
|
createColocatedEvents: (basePath: string, token: string, accountId: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
311
311
|
editColocatedEvents: (basePath: string, token: string, id: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
312
|
-
deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<
|
|
312
|
+
deleteColocatedEvents: (basePath: string, token: string, id: string) => Promise<string>;
|
|
313
313
|
updateVisibilityAttendee: (basePath: string, token: string, attendeeId: string, visibility: string) => Promise<SuccessResponse>;
|
|
314
314
|
};
|
|
315
315
|
export type EventAPIType = {
|
|
@@ -548,7 +548,7 @@ export type EventAPIType = {
|
|
|
548
548
|
fetchColocatedEvents: (accountId: string) => Promise<ResponsePaginationType<ColocatedEventsGroupType>>;
|
|
549
549
|
createColocatedEvents: (accountId: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
550
550
|
editColocatedEvents: (id: string, data: ColocatedEventsGroupInputType) => Promise<ColocatedEventsGroupType>;
|
|
551
|
-
deleteColocatedEvents: (id: string) => Promise<
|
|
551
|
+
deleteColocatedEvents: (id: string) => Promise<string>;
|
|
552
552
|
updateVisibilityAttendee: (attendeeId: string, visibility: string) => Promise<SuccessResponse>;
|
|
553
553
|
};
|
|
554
554
|
export type BaseAPIConfigType = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubs101/js-api-skd-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10431",
|
|
4
4
|
"author": "Liveware",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest --config jestconfig.json",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.ts\"",
|
|
9
9
|
"lint": "eslint --ext .ts .",
|
|
10
10
|
"prepare": "npm run build",
|
|
11
|
+
"n-version": "git pull && npm run build && git commit -m \"update api\" -a --no-verify && npm version patch && npm publish",
|
|
11
12
|
"prepublishOnly": "npm test && npm run lint",
|
|
12
13
|
"preversion": "npm run lint",
|
|
13
14
|
"version": "npm run format && git add -A src",
|