@hubs101/js-api-skd-client 1.0.10474 → 1.0.10475
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/api/event/index.d.ts +3 -1
- package/lib/types/base.d.ts +6 -2
- package/package.json +1 -1
package/lib/api/event/index.d.ts
CHANGED
|
@@ -127,4 +127,6 @@ export declare const _fetchMediaFileDetails: (basePath: string, token: string, a
|
|
|
127
127
|
export declare const _deleteMediaDirectories: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
128
128
|
export declare const _deleteMediaDirectoryFiles: (basePath: string, token: string, accountId: string, filepath: string) => Promise<APIResponse>;
|
|
129
129
|
export declare const _addMediaFolder: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
130
|
-
export declare const _updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data:
|
|
130
|
+
export declare const _updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data: {
|
|
131
|
+
website_content: Record<string, string>[];
|
|
132
|
+
}) => Promise<ResponseAPIType1>;
|
package/lib/types/base.d.ts
CHANGED
|
@@ -91,7 +91,9 @@ export type BaseAPIType = {
|
|
|
91
91
|
fetchEventGroups: (basePath: string, token: string, eventId: string) => Promise<GroupServerResponse[]>;
|
|
92
92
|
deleteMediaDirectories: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
93
93
|
addMediaFolder: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
94
|
-
updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data:
|
|
94
|
+
updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data: {
|
|
95
|
+
website_content: Record<string, string>[];
|
|
96
|
+
}) => Promise<ResponseAPIType1>;
|
|
95
97
|
deleteMediaDirectoryFiles: (basePath: string, token: string, accountId: string, filepath: string) => Promise<APIResponse>;
|
|
96
98
|
updateAccountGroup: (basePath: string, token: string, accountId: string, groupId: string, data: GroupInputType) => Promise<GroupResponseType>;
|
|
97
99
|
fetchAccountGroups: (basePath: string, token: string, accountId: string, type: GroupType) => Promise<ResponsePaginationType<GroupResponseType>>;
|
|
@@ -341,7 +343,9 @@ export type EventAPIType = {
|
|
|
341
343
|
fetchEventGroups: (eventId: string) => Promise<GroupServerResponse[]>;
|
|
342
344
|
deleteMediaDirectories: (accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
343
345
|
addMediaFolder: (accountId: string, path: string, name: string) => Promise<APIResponse>;
|
|
344
|
-
updateEventWebsite: (eventId: string, keyData: string, data:
|
|
346
|
+
updateEventWebsite: (eventId: string, keyData: string, data: {
|
|
347
|
+
website_content: Record<string, string>[];
|
|
348
|
+
}) => Promise<ResponseAPIType1>;
|
|
345
349
|
deleteMediaDirectoryFiles: (accountId: string, filepath: string) => Promise<APIResponse>;
|
|
346
350
|
updateAccountGroup: (accountId: string, groupId: string, data: GroupInputType) => Promise<GroupResponseType>;
|
|
347
351
|
fetchAccountGroups: (accountId: string, type: GroupType) => Promise<ResponsePaginationType<GroupResponseType>>;
|