@connectedxm/client 2.2.0 → 2.2.1

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/index.cjs CHANGED
@@ -1236,6 +1236,13 @@ var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
1236
1236
  IntegrationType2["snagtag"] = "snagtag";
1237
1237
  return IntegrationType2;
1238
1238
  })(IntegrationType || {});
1239
+ var ActivityEntityType = /* @__PURE__ */ ((ActivityEntityType2) => {
1240
+ ActivityEntityType2["mention"] = "mention";
1241
+ ActivityEntityType2["interest"] = "interest";
1242
+ ActivityEntityType2["link"] = "link";
1243
+ ActivityEntityType2["segment"] = "segment";
1244
+ return ActivityEntityType2;
1245
+ })(ActivityEntityType || {});
1239
1246
  var ImageType = /* @__PURE__ */ ((ImageType2) => {
1240
1247
  ImageType2["admin"] = "admin";
1241
1248
  ImageType2["people"] = "people";
@@ -1270,13 +1277,6 @@ var isTypeAccount = (account) => {
1270
1277
  var isSelf = (account) => {
1271
1278
  return account.email !== void 0;
1272
1279
  };
1273
- var ActivityEntityType = /* @__PURE__ */ ((ActivityEntityType2) => {
1274
- ActivityEntityType2["mention"] = "mention";
1275
- ActivityEntityType2["interest"] = "interest";
1276
- ActivityEntityType2["link"] = "link";
1277
- ActivityEntityType2["segment"] = "segment";
1278
- return ActivityEntityType2;
1279
- })(ActivityEntityType || {});
1280
1280
  var isTypeActivity = (activity) => {
1281
1281
  return activity._count !== void 0;
1282
1282
  };
package/dist/index.d.cts CHANGED
@@ -8,6 +8,13 @@ import * as _tanstack_query_core from '@tanstack/query-core';
8
8
  declare enum IntegrationType {
9
9
  snagtag = "snagtag"
10
10
  }
11
+ declare enum ActivityEntityType {
12
+ mention = "mention",
13
+ interest = "interest",
14
+ link = "link",
15
+ segment = "segment"
16
+ }
17
+ type MarkType = "bold" | "italic" | "underline" | "strike";
11
18
  interface IntegrationDetails {
12
19
  type: keyof typeof IntegrationType;
13
20
  name: string;
@@ -232,12 +239,6 @@ interface Activity extends BaseActivity {
232
239
  comments: number;
233
240
  };
234
241
  }
235
- declare enum ActivityEntityType {
236
- mention = "mention",
237
- interest = "interest",
238
- link = "link",
239
- segment = "segment"
240
- }
241
242
  interface BaseActivityEntity {
242
243
  type: ActivityEntityType;
243
244
  startIndex: number;
@@ -3861,7 +3862,6 @@ interface UnblockAccountParams extends MutationParams {
3861
3862
  declare const UnblockAccount: ({ accountId, queryClient, clientApiParams, }: UnblockAccountParams) => Promise<ConnectedXMResponse<Account>>;
3862
3863
  declare const useUnblockAccount: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UnblockAccount>>, Omit<UnblockAccountParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Account>, axios.AxiosError<ConnectedXMResponse<Account>, any>, Omit<UnblockAccountParams, "queryClient" | "clientApiParams">, unknown>;
3863
3864
 
3864
- type MarkType = "bold" | "italic" | "underline" | "strike";
3865
3865
  interface BaseActivityEntityInput {
3866
3866
  type: ActivityEntityType;
3867
3867
  startIndex: number;
package/dist/index.d.ts CHANGED
@@ -8,6 +8,13 @@ import * as _tanstack_query_core from '@tanstack/query-core';
8
8
  declare enum IntegrationType {
9
9
  snagtag = "snagtag"
10
10
  }
11
+ declare enum ActivityEntityType {
12
+ mention = "mention",
13
+ interest = "interest",
14
+ link = "link",
15
+ segment = "segment"
16
+ }
17
+ type MarkType = "bold" | "italic" | "underline" | "strike";
11
18
  interface IntegrationDetails {
12
19
  type: keyof typeof IntegrationType;
13
20
  name: string;
@@ -232,12 +239,6 @@ interface Activity extends BaseActivity {
232
239
  comments: number;
233
240
  };
234
241
  }
235
- declare enum ActivityEntityType {
236
- mention = "mention",
237
- interest = "interest",
238
- link = "link",
239
- segment = "segment"
240
- }
241
242
  interface BaseActivityEntity {
242
243
  type: ActivityEntityType;
243
244
  startIndex: number;
@@ -3861,7 +3862,6 @@ interface UnblockAccountParams extends MutationParams {
3861
3862
  declare const UnblockAccount: ({ accountId, queryClient, clientApiParams, }: UnblockAccountParams) => Promise<ConnectedXMResponse<Account>>;
3862
3863
  declare const useUnblockAccount: (options?: Omit<MutationOptions<Awaited<ReturnType<typeof UnblockAccount>>, Omit<UnblockAccountParams, "queryClient" | "clientApiParams">>, "mutationFn">) => _tanstack_react_query.UseMutationResult<ConnectedXMResponse<Account>, axios.AxiosError<ConnectedXMResponse<Account>, any>, Omit<UnblockAccountParams, "queryClient" | "clientApiParams">, unknown>;
3863
3864
 
3864
- type MarkType = "bold" | "italic" | "underline" | "strike";
3865
3865
  interface BaseActivityEntityInput {
3866
3866
  type: ActivityEntityType;
3867
3867
  startIndex: number;
package/dist/index.js CHANGED
@@ -117,6 +117,13 @@ var IntegrationType = /* @__PURE__ */ ((IntegrationType2) => {
117
117
  IntegrationType2["snagtag"] = "snagtag";
118
118
  return IntegrationType2;
119
119
  })(IntegrationType || {});
120
+ var ActivityEntityType = /* @__PURE__ */ ((ActivityEntityType2) => {
121
+ ActivityEntityType2["mention"] = "mention";
122
+ ActivityEntityType2["interest"] = "interest";
123
+ ActivityEntityType2["link"] = "link";
124
+ ActivityEntityType2["segment"] = "segment";
125
+ return ActivityEntityType2;
126
+ })(ActivityEntityType || {});
120
127
  var ImageType = /* @__PURE__ */ ((ImageType2) => {
121
128
  ImageType2["admin"] = "admin";
122
129
  ImageType2["people"] = "people";
@@ -151,13 +158,6 @@ var isTypeAccount = (account) => {
151
158
  var isSelf = (account) => {
152
159
  return account.email !== void 0;
153
160
  };
154
- var ActivityEntityType = /* @__PURE__ */ ((ActivityEntityType2) => {
155
- ActivityEntityType2["mention"] = "mention";
156
- ActivityEntityType2["interest"] = "interest";
157
- ActivityEntityType2["link"] = "link";
158
- ActivityEntityType2["segment"] = "segment";
159
- return ActivityEntityType2;
160
- })(ActivityEntityType || {});
161
161
  var isTypeActivity = (activity) => {
162
162
  return activity._count !== void 0;
163
163
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/client",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Client API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",