arky-sdk 0.7.27 → 0.7.29
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 +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -33,8 +33,7 @@ interface Reaction {
|
|
|
33
33
|
id: string;
|
|
34
34
|
businessId: string;
|
|
35
35
|
customerInfo: ReactionCustomerInfo;
|
|
36
|
-
|
|
37
|
-
targetId: string;
|
|
36
|
+
target: ReactionTarget;
|
|
38
37
|
parentId?: string | null;
|
|
39
38
|
kind: string;
|
|
40
39
|
blocks: Block[];
|
|
@@ -71,6 +70,7 @@ interface FindReactionsParams {
|
|
|
71
70
|
kind?: string;
|
|
72
71
|
status?: ReactionStatus;
|
|
73
72
|
contentOnly?: boolean;
|
|
73
|
+
query?: string;
|
|
74
74
|
limit?: number;
|
|
75
75
|
cursor?: string;
|
|
76
76
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -33,8 +33,7 @@ interface Reaction {
|
|
|
33
33
|
id: string;
|
|
34
34
|
businessId: string;
|
|
35
35
|
customerInfo: ReactionCustomerInfo;
|
|
36
|
-
|
|
37
|
-
targetId: string;
|
|
36
|
+
target: ReactionTarget;
|
|
38
37
|
parentId?: string | null;
|
|
39
38
|
kind: string;
|
|
40
39
|
blocks: Block[];
|
|
@@ -71,6 +70,7 @@ interface FindReactionsParams {
|
|
|
71
70
|
kind?: string;
|
|
72
71
|
status?: ReactionStatus;
|
|
73
72
|
contentOnly?: boolean;
|
|
73
|
+
query?: string;
|
|
74
74
|
limit?: number;
|
|
75
75
|
cursor?: string;
|
|
76
76
|
}
|
package/dist/index.js
CHANGED
|
@@ -1448,6 +1448,7 @@ var createReactionApi = (apiConfig) => {
|
|
|
1448
1448
|
if (params?.status) queryParams.status = params.status;
|
|
1449
1449
|
if (params?.contentOnly !== void 0)
|
|
1450
1450
|
queryParams.contentOnly = params.contentOnly;
|
|
1451
|
+
if (params?.query) queryParams.query = params.query;
|
|
1451
1452
|
if (params?.limit !== void 0) queryParams.limit = params.limit;
|
|
1452
1453
|
if (params?.cursor) queryParams.cursor = params.cursor;
|
|
1453
1454
|
return apiConfig.httpClient.get(
|