@amityco/ts-sdk 7.26.0 → 7.26.1-86332f0.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/dist/@types/core/permissions.d.ts +7 -3
- package/dist/@types/core/permissions.d.ts.map +1 -1
- package/dist/@types/domains/client.d.ts +1 -0
- package/dist/@types/domains/client.d.ts.map +1 -1
- package/dist/@types/domains/file.d.ts +11 -2
- package/dist/@types/domains/file.d.ts.map +1 -1
- package/dist/@types/domains/liveViewerCount.d.ts +22 -0
- package/dist/@types/domains/liveViewerCount.d.ts.map +1 -0
- package/dist/@types/index.d.ts +1 -0
- package/dist/@types/index.d.ts.map +1 -1
- package/dist/client/api/createClient.d.ts.map +1 -1
- package/dist/client/api/getLiveViewerCountConfig.d.ts +24 -0
- package/dist/client/api/getLiveViewerCountConfig.d.ts.map +1 -0
- package/dist/client/api/index.d.ts +1 -0
- package/dist/client/api/index.d.ts.map +1 -1
- package/dist/fileRepository/api/getFile.d.ts.map +1 -1
- package/dist/fileRepository/api/uploadImage.d.ts.map +1 -1
- package/dist/fileRepository/api/uploadVideo.d.ts.map +1 -1
- package/dist/index.cjs.js +127 -8
- package/dist/index.esm.js +128 -9
- package/dist/index.umd.js +2 -2
- package/dist/userRepository/observers/index.d.ts +1 -0
- package/dist/userRepository/observers/index.d.ts.map +1 -1
- package/dist/userRepository/observers/searchUserByDisplayName.d.ts +2 -0
- package/dist/userRepository/observers/searchUserByDisplayName.d.ts.map +1 -1
- package/dist/userRepository/observers/searchUsers.d.ts +26 -0
- package/dist/userRepository/observers/searchUsers.d.ts.map +1 -0
- package/dist/userRepository/observers/tests/integrations/searchUsers.integration.test.d.ts +2 -0
- package/dist/userRepository/observers/tests/integrations/searchUsers.integration.test.d.ts.map +1 -0
- package/dist/userRepository/observers/tests/searchUsers.test.d.ts +2 -0
- package/dist/userRepository/observers/tests/searchUsers.test.d.ts.map +1 -0
- package/dist/utils/linkedObject/fileLinkedObject.d.ts +2 -0
- package/dist/utils/linkedObject/fileLinkedObject.d.ts.map +1 -0
- package/dist/utils/linkedObject/index.d.ts +1 -0
- package/dist/utils/linkedObject/index.d.ts.map +1 -1
- package/dist/utils/linkedObject/postLinkedObject.d.ts.map +1 -1
- package/dist/utils/tests/dummy/file.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -306,6 +306,13 @@ var NotificationRolesFilterTypeEnum;
|
|
|
306
306
|
NotificationRolesFilterTypeEnum["ONLY"] = "only";
|
|
307
307
|
})(NotificationRolesFilterTypeEnum || (NotificationRolesFilterTypeEnum = {}));
|
|
308
308
|
|
|
309
|
+
var AmityLiveViewerCountMode;
|
|
310
|
+
(function (AmityLiveViewerCountMode) {
|
|
311
|
+
AmityLiveViewerCountMode["ALWAYS_SHOW"] = "always";
|
|
312
|
+
AmityLiveViewerCountMode["HIDE_ENTIRELY"] = "hidden";
|
|
313
|
+
AmityLiveViewerCountMode["SHOW_ABOVE_MINIMUM"] = "above-minimum";
|
|
314
|
+
})(AmityLiveViewerCountMode || (AmityLiveViewerCountMode = {}));
|
|
315
|
+
|
|
309
316
|
function getVersion() {
|
|
310
317
|
try {
|
|
311
318
|
// the string ''v7.26.0-esm'' should be replaced by actual value by @rollup/plugin-replace
|
|
@@ -5021,6 +5028,51 @@ const getCoreUserSettings = async () => {
|
|
|
5021
5028
|
return data;
|
|
5022
5029
|
};
|
|
5023
5030
|
|
|
5031
|
+
const DEFAULT_CONFIG = {
|
|
5032
|
+
mode: AmityLiveViewerCountMode.ALWAYS_SHOW,
|
|
5033
|
+
threshold: 50,
|
|
5034
|
+
};
|
|
5035
|
+
const isValidMode = (value) => value === AmityLiveViewerCountMode.ALWAYS_SHOW ||
|
|
5036
|
+
value === AmityLiveViewerCountMode.HIDE_ENTIRELY ||
|
|
5037
|
+
value === AmityLiveViewerCountMode.SHOW_ABOVE_MINIMUM;
|
|
5038
|
+
const isValidThreshold = (value) => typeof value === 'number' && Number.isInteger(value) && value >= 1 && value <= 1000;
|
|
5039
|
+
/**
|
|
5040
|
+
* ```js
|
|
5041
|
+
* import { getLiveViewerCountConfig } from '@amityco/ts-sdk'
|
|
5042
|
+
* const config = await getLiveViewerCountConfig()
|
|
5043
|
+
* ```
|
|
5044
|
+
*
|
|
5045
|
+
* Fetches the network-level {@link Amity.LiveViewerCountConfig} governing
|
|
5046
|
+
* how the live viewer count is displayed to viewers on a livestream.
|
|
5047
|
+
*
|
|
5048
|
+
* Cold-read — no observable, no cache. Call once per livestream mount /
|
|
5049
|
+
* rejoin. Admin-driven config changes take effect on the next join, not
|
|
5050
|
+
* mid-stream.
|
|
5051
|
+
*
|
|
5052
|
+
* On a malformed payload (unknown mode, out-of-range or missing threshold)
|
|
5053
|
+
* the SDK falls open to `{ mode: ALWAYS_SHOW, threshold: 50 }` and logs a
|
|
5054
|
+
* warning. Network errors reject.
|
|
5055
|
+
*
|
|
5056
|
+
* @returns A Promise of {@link Amity.LiveViewerCountConfig}
|
|
5057
|
+
*
|
|
5058
|
+
* @category Client API
|
|
5059
|
+
* @async
|
|
5060
|
+
*/
|
|
5061
|
+
/* begin_public_function id: client.getLiveViewerCountConfig */
|
|
5062
|
+
const getLiveViewerCountConfig = async () => {
|
|
5063
|
+
var _a, _b;
|
|
5064
|
+
const client = getActiveClient();
|
|
5065
|
+
const { data } = await client.http.get('/api/v3/network-settings/video-streaming');
|
|
5066
|
+
const mode = (_a = data === null || data === void 0 ? void 0 : data.videoStreaming) === null || _a === void 0 ? void 0 : _a.viewerCountDisplayMode;
|
|
5067
|
+
const threshold = (_b = data === null || data === void 0 ? void 0 : data.videoStreaming) === null || _b === void 0 ? void 0 : _b.viewerCountDisplayMinimum;
|
|
5068
|
+
if (!isValidMode(mode) || !isValidThreshold(threshold)) {
|
|
5069
|
+
client.log('client/getLiveViewerCountConfig', 'malformed videoStreaming settings, falling back to default', { mode, threshold });
|
|
5070
|
+
return DEFAULT_CONFIG;
|
|
5071
|
+
}
|
|
5072
|
+
return { mode, threshold };
|
|
5073
|
+
};
|
|
5074
|
+
/* end_public_function */
|
|
5075
|
+
|
|
5024
5076
|
/* begin_public_function
|
|
5025
5077
|
id: client.getProductCatalogueSetting
|
|
5026
5078
|
*/
|
|
@@ -8470,6 +8522,7 @@ const createClient = (apiKey, apiRegion = API_REGIONS.SG, { debugSession = DEFAU
|
|
|
8470
8522
|
getCoreUserSettings,
|
|
8471
8523
|
getSocialSettings,
|
|
8472
8524
|
getChatSettings,
|
|
8525
|
+
getLiveViewerCountConfig,
|
|
8473
8526
|
getVisitorDeviceId: getDeviceId,
|
|
8474
8527
|
getMessagePreviewSetting: getMessagePreviewSetting$1,
|
|
8475
8528
|
use: () => setActiveClient(client),
|
|
@@ -9561,6 +9614,7 @@ var index$s = /*#__PURE__*/Object.freeze({
|
|
|
9561
9614
|
setCurrentUserType: setCurrentUserType,
|
|
9562
9615
|
setAccessTokenHandler: setAccessTokenHandler,
|
|
9563
9616
|
getChatSettings: getChatSettings,
|
|
9617
|
+
getLiveViewerCountConfig: getLiveViewerCountConfig,
|
|
9564
9618
|
getCoreUserSettings: getCoreUserSettings,
|
|
9565
9619
|
notifications: notifications,
|
|
9566
9620
|
enableAutoSubscriptions: enableAutoSubscriptions,
|
|
@@ -12477,7 +12531,7 @@ const getWatchSessionStorage = () => {
|
|
|
12477
12531
|
return storageInstance;
|
|
12478
12532
|
};
|
|
12479
12533
|
|
|
12480
|
-
const privateKey = "
|
|
12534
|
+
const privateKey = "MIIEpQIBAAKCAQEAwAEc/oZgYIvKSUG/C3mONYLR4ZPgAjMEX4bJ+xqqakUDRtqlNO+eZs2blQ1Ko0DBkqPExyQezvjibH5W2UZBV5RaBTlTcNVKTToMBEGesAfaEcM3qUyQHxdbFYZv6P4sb14dcwxTQ8usmaV8ooiR1Fcaso5ZWYcZ8Hb46FbQ7OoVumsBtPWwfZ4f003o5VCl6AIM6lcLv9UDLlFVYhE+PeXpRHtfWlGqxMvqC9oinlwhL6nWv6VjQXW4nhcib72dPBzfHT7k/PMKto2SxALYdb68ENiAGuJLWi3AUHSyYCJK2w7wIlWfJUAI0v26ub10IpExr6D5QuW2577jjP93iwIDAQABAoIBAFWfqXhwIIatkFY+9Z1+ZcbDQimgsmMIsUiQaX6Lk7e0cxOj6czDlxYtVtaPiNtow2pLkjNkjkCqiP7tEHnwdK9DvylZOTa2R15NJpK3WLcTqVIGhsn/FL5owfvFah6zSsmXZParZm5zY9NZE03ALZhOB9/cz0e3kf/EbpfeL2mW7MApyiUt5i09ycchroOpcWp73ipIxvgigtZyUGFmsQicWhUs28F0D7w4Qfk76yG3nqXeb+BAMhCaIaa/k/aAxhiZG/ygEQWQrcC8gfe+jyicMAQPDEVS9YuUMGsLjIjKuVLZzp2xirQnhc2i2zVNEIvG6soprPOBEMQugzrtX5ECgYEA3b7KAbBIbDl1e4ZSCWhHdHkiWVZHaopsR/LhqDDNhXjWjq3AesgV6k0j9EdziMn/HmmOso0bz99GTV3JZf4A9ztTLumJlkHbdVtlgOqSjrFLj12rH9KXTheyIhWSpUmm8+WB1xasFbqpvJaGo7F3pd2Fqj1XR4mp5BO7c/t7LJ0CgYEA3aouEzXQ9THRKYocdfY69EI1Il1t/d/RSqqd9BxEjxBgxkM13ZiYIn/R4WW/nCUrlmhxG44Aa2Gob4Ahfsui2xKTg/g/3Zk/rAxAEGkfOLGoenaJMD41fH4wUq3FRYwkvnaMb9Hd6f/TlBHslIRa2NN58bSBGJCyBP2b59+2+EcCgYEAixDVRXvV37GlYUOa/XVdosk5Zoe6oDGRuQm0xbNdoUBoZvDHDvme7ONWEiQha/8qtVsD+CyQ7awcPfb8kK9c0bBt+bTS6d4BkTcxkEkMgtrkBVR8Nqfu5jXsLH4VCv4G61zbMhZw8+ut+az5YX2yCN7Frj9sFlxapMRPQmzMEe0CgYEAumsAzM8ZqNv4mAK65Mnr0rhLj1cbxcKRdUYACOgtEFQpzxN/HZnTeFAe5nx3pI3uFlRHq3DFEYnT6dHMWaJQmAULYpVIwMi9L6gtyJ9fzoI6uqMtxRDMUqKdaSsTGOY/kJ6KhQ/unXi1K3XXjR+yd1+C0q+HUm1+CYxvrZYLfskCgYEArsEy+IQOiqniJ0NE2vVUF+UK/IRZaic9YKcpov5Ot7Vvzm/MnnW4N1ljVskocETBWMmPUvNSExVjPebi+rxd8fa5kY8BJScPTzMFbunZn/wjtGdcM10qdlVQ9doG61A/9P3ezFKCfS4AvF/H/59LcSx2Bh28fp3/efiVIOpVd4Y=";
|
|
12481
12535
|
/*
|
|
12482
12536
|
* The crypto algorithm used for importing key and signing string
|
|
12483
12537
|
*/
|
|
@@ -12905,6 +12959,21 @@ const productTagLinkedObject = (productTag) => {
|
|
|
12905
12959
|
return Object.assign(Object.assign({}, productTag), { product: internalProduct ? productLinkedObject(internalProduct) : undefined });
|
|
12906
12960
|
};
|
|
12907
12961
|
|
|
12962
|
+
const fileLinkedObject = (file) => {
|
|
12963
|
+
var _a, _b, _c;
|
|
12964
|
+
if (!file)
|
|
12965
|
+
return file;
|
|
12966
|
+
if (file.type === 'video') {
|
|
12967
|
+
const video = (_b = (_a = file.attributes) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.video;
|
|
12968
|
+
return Object.assign(Object.assign({}, file), { getWidth: () => { var _a; return (_a = video === null || video === void 0 ? void 0 : video.width) !== null && _a !== void 0 ? _a : 0; }, getHeight: () => { var _a; return (_a = video === null || video === void 0 ? void 0 : video.height) !== null && _a !== void 0 ? _a : 0; }, getRotation: () => { var _a; return (_a = video === null || video === void 0 ? void 0 : video.rotation) !== null && _a !== void 0 ? _a : 0; } });
|
|
12969
|
+
}
|
|
12970
|
+
if (file.type === 'image') {
|
|
12971
|
+
const metadata = (_c = file.attributes) === null || _c === void 0 ? void 0 : _c.metadata;
|
|
12972
|
+
return Object.assign(Object.assign({}, file), { getWidth: () => { var _a; return (_a = metadata === null || metadata === void 0 ? void 0 : metadata.width) !== null && _a !== void 0 ? _a : 0; }, getHeight: () => { var _a; return (_a = metadata === null || metadata === void 0 ? void 0 : metadata.height) !== null && _a !== void 0 ? _a : 0; } });
|
|
12973
|
+
}
|
|
12974
|
+
return file;
|
|
12975
|
+
};
|
|
12976
|
+
|
|
12908
12977
|
const postLinkedObject = (post) => {
|
|
12909
12978
|
return shallowClone(post, {
|
|
12910
12979
|
childrenPosts: post.children
|
|
@@ -12962,19 +13031,19 @@ const postLinkedObject = (post) => {
|
|
|
12962
13031
|
getImageInfo() {
|
|
12963
13032
|
var _a, _b;
|
|
12964
13033
|
return isAmityImagePost(post)
|
|
12965
|
-
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
13034
|
+
? fileLinkedObject((_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.fileId])) === null || _b === void 0 ? void 0 : _b.data)
|
|
12966
13035
|
: undefined;
|
|
12967
13036
|
},
|
|
12968
13037
|
getVideoInfo() {
|
|
12969
13038
|
var _a, _b, _c;
|
|
12970
13039
|
return isAmityVideoPost(post)
|
|
12971
|
-
? (_c = pullFromCache(['file', 'get', (_b = (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.videoFileId) === null || _b === void 0 ? void 0 : _b.original])) === null || _c === void 0 ? void 0 : _c.data
|
|
13040
|
+
? fileLinkedObject((_c = pullFromCache(['file', 'get', (_b = (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.videoFileId) === null || _b === void 0 ? void 0 : _b.original])) === null || _c === void 0 ? void 0 : _c.data)
|
|
12972
13041
|
: undefined;
|
|
12973
13042
|
},
|
|
12974
13043
|
getVideoThumbnailInfo() {
|
|
12975
13044
|
var _a, _b;
|
|
12976
13045
|
return isAmityVideoPost(post)
|
|
12977
|
-
? (_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.thumbnailFileId])) === null || _b === void 0 ? void 0 : _b.data
|
|
13046
|
+
? fileLinkedObject((_b = pullFromCache(['file', 'get', (_a = post === null || post === void 0 ? void 0 : post.data) === null || _a === void 0 ? void 0 : _a.thumbnailFileId])) === null || _b === void 0 ? void 0 : _b.data)
|
|
12978
13047
|
: undefined;
|
|
12979
13048
|
},
|
|
12980
13049
|
getFileInfo() {
|
|
@@ -13965,6 +14034,7 @@ const eventLinkedObject = (event) => {
|
|
|
13965
14034
|
};
|
|
13966
14035
|
|
|
13967
14036
|
const LinkedObject = {
|
|
14037
|
+
file: fileLinkedObject,
|
|
13968
14038
|
ad: adLinkedObject,
|
|
13969
14039
|
comment: commentLinkedObject,
|
|
13970
14040
|
post: postLinkedObject,
|
|
@@ -15128,10 +15198,58 @@ class SearchUserLiveCollectionController extends LiveCollectionController {
|
|
|
15128
15198
|
}
|
|
15129
15199
|
}
|
|
15130
15200
|
|
|
15201
|
+
/* begin_public_function
|
|
15202
|
+
id: user.searchUsers
|
|
15203
|
+
*/
|
|
15204
|
+
/**
|
|
15205
|
+
* ```js
|
|
15206
|
+
* import { UserRepository } from '@amityco/ts-sdk'
|
|
15207
|
+
*
|
|
15208
|
+
* let users = []
|
|
15209
|
+
* const unsub = UserRepository.searchUsers(
|
|
15210
|
+
* { displayName: 'jack', searchBy: [SearchUsersByEnum.DISPLAY_NAME] },
|
|
15211
|
+
* response => merge(users, response.data),
|
|
15212
|
+
* )
|
|
15213
|
+
* ```
|
|
15214
|
+
*
|
|
15215
|
+
* Observe all mutations on a list of {@link Amity.InternalUser}s.
|
|
15216
|
+
*
|
|
15217
|
+
* Pass `searchBy` in `params` to restrict which user fields are matched
|
|
15218
|
+
* (e.g. `[SearchUsersByEnum.DISPLAY_NAME]`). When omitted, the backend
|
|
15219
|
+
* default (both `displayName` and `userId`) applies.
|
|
15220
|
+
*
|
|
15221
|
+
* @param params for searching users
|
|
15222
|
+
* @param callback the function to call when new data are available
|
|
15223
|
+
* @param config the configuration for the live collection
|
|
15224
|
+
* @returns An {@link Amity.Unsubscriber} function to run when willing to stop observing the users
|
|
15225
|
+
*
|
|
15226
|
+
* @category Category Live Collection
|
|
15227
|
+
*/
|
|
15228
|
+
const searchUsers = (params, callback, config) => {
|
|
15229
|
+
const { log, cache } = getActiveClient();
|
|
15230
|
+
if (!cache) {
|
|
15231
|
+
// eslint-disable-next-line no-console
|
|
15232
|
+
console.log(ENABLE_CACHE_MESSAGE);
|
|
15233
|
+
}
|
|
15234
|
+
const timestamp = Date.now();
|
|
15235
|
+
log(`liveSearchUsers(tmpid: ${timestamp}) > listen`);
|
|
15236
|
+
const searchUsersLiveCollection = new SearchUserLiveCollectionController(params, callback);
|
|
15237
|
+
const disposers = searchUsersLiveCollection.startSubscription();
|
|
15238
|
+
const cacheKey = searchUsersLiveCollection.getCacheKey();
|
|
15239
|
+
disposers.push(() => dropFromCache(cacheKey));
|
|
15240
|
+
return () => {
|
|
15241
|
+
log(`liveSearchUsers(tmpid: ${timestamp}) > dispose`);
|
|
15242
|
+
disposers.forEach(fn => fn());
|
|
15243
|
+
};
|
|
15244
|
+
};
|
|
15245
|
+
/* end_public_function */
|
|
15246
|
+
|
|
15131
15247
|
/* begin_public_function
|
|
15132
15248
|
id: user.search
|
|
15133
15249
|
*/
|
|
15134
15250
|
/**
|
|
15251
|
+
* @deprecated Use {@link searchUsers} instead. `searchUserByDisplayName` will be removed in a future major version.
|
|
15252
|
+
*
|
|
15135
15253
|
* ```js
|
|
15136
15254
|
* import { UserRepository } from '@amityco/ts-sdk'
|
|
15137
15255
|
*
|
|
@@ -15280,6 +15398,7 @@ var index$q = /*#__PURE__*/Object.freeze({
|
|
|
15280
15398
|
getUsers: getUsers,
|
|
15281
15399
|
getBlockedUsers: getBlockedUsers,
|
|
15282
15400
|
getBlockingUsers: getBlockingUsers,
|
|
15401
|
+
searchUsers: searchUsers,
|
|
15283
15402
|
searchUserByDisplayName: searchUserByDisplayName,
|
|
15284
15403
|
getReachedUsers: getReachedUsers,
|
|
15285
15404
|
get AmityUserSearchMatchType () { return AmityUserSearchMatchType; }
|
|
@@ -15312,7 +15431,7 @@ const getFile = async (fileId) => {
|
|
|
15312
15431
|
if (client.cache)
|
|
15313
15432
|
ingestInCache({ files: [data] }, { cachedAt });
|
|
15314
15433
|
return {
|
|
15315
|
-
data,
|
|
15434
|
+
data: fileLinkedObject(data),
|
|
15316
15435
|
cachedAt,
|
|
15317
15436
|
};
|
|
15318
15437
|
};
|
|
@@ -15339,7 +15458,7 @@ getFile.locally = (fileId) => {
|
|
|
15339
15458
|
if (!cached)
|
|
15340
15459
|
return;
|
|
15341
15460
|
return {
|
|
15342
|
-
data: cached.data,
|
|
15461
|
+
data: fileLinkedObject(cached.data),
|
|
15343
15462
|
cachedAt: cached.cachedAt,
|
|
15344
15463
|
};
|
|
15345
15464
|
};
|
|
@@ -15476,7 +15595,7 @@ const uploadVideo = async (formData, feedType, onProgress) => {
|
|
|
15476
15595
|
if (client.cache)
|
|
15477
15596
|
ingestInCache({ files: data }, { cachedAt });
|
|
15478
15597
|
return {
|
|
15479
|
-
data,
|
|
15598
|
+
data: data.map(file => fileLinkedObject(file)),
|
|
15480
15599
|
cachedAt,
|
|
15481
15600
|
};
|
|
15482
15601
|
};
|
|
@@ -15537,7 +15656,7 @@ const uploadImage = async (formData, onProgress, altText) => {
|
|
|
15537
15656
|
if (client.cache)
|
|
15538
15657
|
ingestInCache({ files: data }, { cachedAt });
|
|
15539
15658
|
return {
|
|
15540
|
-
data,
|
|
15659
|
+
data: data.map(file => fileLinkedObject(file)),
|
|
15541
15660
|
cachedAt,
|
|
15542
15661
|
};
|
|
15543
15662
|
};
|
|
@@ -35494,4 +35613,4 @@ class AmityAttachmentProductTags {
|
|
|
35494
35613
|
}
|
|
35495
35614
|
}
|
|
35496
35615
|
|
|
35497
|
-
export { API_REGIONS, index$5 as AdRepository, AmityAttachmentProductTags, AmityAutoSubscription, AmityChannelNotificationModeEnum, AmityCommunityType, AmityEventOrderOption, AmityEventOriginType, AmityEventResponseStatus, AmityEventSortOption, AmityEventStatus, AmityEventType, AmitySharableContentType, AnalyticsSourceTypeEnum, index$f as CategoryRepository, index$j as ChannelRepository, index$s as Client, index$e as CommentRepository, CommunityNotificationEventNameEnum, CommunityPostSettingMaps, CommunityPostSettings, index$g as CommunityRepository, ContentFeedType, ContentFlagReasonEnum, DefaultCommunityPostSetting, index$1 as EventRepository, FeedDataTypeEnum, index$d as FeedRepository, FeedSortByEnum, FeedSourceEnum, FeedTypeEnum, FileAccessTypeEnum, index$p as FileRepository, FileType, GET_WATCHER_URLS, index$3 as InvitationRepository, InvitationSortByEnum, InvitationStatusEnum, InvitationTargetTypeEnum, InvitationTypeEnum, JoinRequestStatusEnum, JoinResultStatusEnum, index$2 as LiveReactionRepository, index$7 as LiveStreamPlayer, MembershipAcceptanceTypeEnum, MessageContentType, index$n as MessageRepository, NotificationRolesFilterTypeEnum, NotificationSettingsLevelEnum, index$8 as PollRepository, PostContentType, index$b as PostRepository, PostStructureType, index as ProductRepository, index$o as ReactionRepository, index$9 as RoomPresenceRepository, index$c as RoomRepository, SearchUsersByEnum, index$6 as StoryRepository, index$a as StreamRepository, index$m as SubChannelRepository, SubscriptionLevels, UserNotificationModuleNameEnum, UserReportTypeEnum, index$q as UserRepository, UserTypeEnum, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, backupCache, createQuery, createReport, createUserToken, deleteReport, disableCache, dropFromCache, enableCache, exceedsUntilAtBoundary, filterByChannelMembership, filterByCommunityMembership, filterByFeedType, filterByPostDataTypes, filterByPropEquality, filterByPropInclusion, filterByPropIntersection, filterBySearchTerm, filterByStringComparePartially, filterByUntilAt, filterCommentsByBlockUsers, filterPostsByBlockUsers, getBlockUsersId, getChannelTopic, getCommentTopic, getCommunityStoriesTopic, getCommunityTopic, getLiveReactionTopic, getLiveStreamTopic, getMarkedMessageTopic, getMarkerUserFeedTopic, getMessageTopic, getMyFollowersTopic, getMyFollowingsTopic, getNetworkId, getNetworkTopic, getPostTopic, getRole, getRoomStreamerTopic, getRoomWatcherTopic, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStoryTopic, getSubChannelTopic, getUserTopic, isAfterBefore, isAfterBeforeRaw, isCachable, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, mergeInCache, index$4 as notificationTray, onChannelMarkerFetched, onFeedMarkerFetched, onFeedMarkerUpdated, onMessageMarked, onMessageMarkerFetched, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onUserMarkerFetched, onUserMarkerFetchedLegacy, pullFromCache, pushToCache, queryCache, queryOptions, queryRoles, restoreCache, runQuery, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByFirstUpdated, sortByLastActivity, sortByLastCreated, sortByLastUpdated, sortByLocalSortingDate, sortByName, sortBySegmentNumber, subscribeTopic, toPage, toPageRaw, toToken, upsertInCache, validateUntilAt, wipeCache };
|
|
35616
|
+
export { API_REGIONS, index$5 as AdRepository, AmityAttachmentProductTags, AmityAutoSubscription, AmityChannelNotificationModeEnum, AmityCommunityType, AmityEventOrderOption, AmityEventOriginType, AmityEventResponseStatus, AmityEventSortOption, AmityEventStatus, AmityEventType, AmityLiveViewerCountMode, AmitySharableContentType, AnalyticsSourceTypeEnum, index$f as CategoryRepository, index$j as ChannelRepository, index$s as Client, index$e as CommentRepository, CommunityNotificationEventNameEnum, CommunityPostSettingMaps, CommunityPostSettings, index$g as CommunityRepository, ContentFeedType, ContentFlagReasonEnum, DefaultCommunityPostSetting, index$1 as EventRepository, FeedDataTypeEnum, index$d as FeedRepository, FeedSortByEnum, FeedSourceEnum, FeedTypeEnum, FileAccessTypeEnum, index$p as FileRepository, FileType, GET_WATCHER_URLS, index$3 as InvitationRepository, InvitationSortByEnum, InvitationStatusEnum, InvitationTargetTypeEnum, InvitationTypeEnum, JoinRequestStatusEnum, JoinResultStatusEnum, index$2 as LiveReactionRepository, index$7 as LiveStreamPlayer, MembershipAcceptanceTypeEnum, MessageContentType, index$n as MessageRepository, NotificationRolesFilterTypeEnum, NotificationSettingsLevelEnum, index$8 as PollRepository, PostContentType, index$b as PostRepository, PostStructureType, index as ProductRepository, index$o as ReactionRepository, index$9 as RoomPresenceRepository, index$c as RoomRepository, SearchUsersByEnum, index$6 as StoryRepository, index$a as StreamRepository, index$m as SubChannelRepository, SubscriptionLevels, UserNotificationModuleNameEnum, UserReportTypeEnum, index$q as UserRepository, UserTypeEnum, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, backupCache, createQuery, createReport, createUserToken, deleteReport, disableCache, dropFromCache, enableCache, exceedsUntilAtBoundary, filterByChannelMembership, filterByCommunityMembership, filterByFeedType, filterByPostDataTypes, filterByPropEquality, filterByPropInclusion, filterByPropIntersection, filterBySearchTerm, filterByStringComparePartially, filterByUntilAt, filterCommentsByBlockUsers, filterPostsByBlockUsers, getBlockUsersId, getChannelTopic, getCommentTopic, getCommunityStoriesTopic, getCommunityTopic, getLiveReactionTopic, getLiveStreamTopic, getMarkedMessageTopic, getMarkerUserFeedTopic, getMessageTopic, getMyFollowersTopic, getMyFollowingsTopic, getNetworkId, getNetworkTopic, getPostTopic, getRole, getRoomStreamerTopic, getRoomWatcherTopic, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStoryTopic, getSubChannelTopic, getUserTopic, isAfterBefore, isAfterBeforeRaw, isCachable, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, mergeInCache, index$4 as notificationTray, onChannelMarkerFetched, onFeedMarkerFetched, onFeedMarkerUpdated, onMessageMarked, onMessageMarkerFetched, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onUserMarkerFetched, onUserMarkerFetchedLegacy, pullFromCache, pushToCache, queryCache, queryOptions, queryRoles, restoreCache, runQuery, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByFirstUpdated, sortByLastActivity, sortByLastCreated, sortByLastUpdated, sortByLocalSortingDate, sortByName, sortBySegmentNumber, subscribeTopic, toPage, toPageRaw, toToken, upsertInCache, validateUntilAt, wipeCache };
|