arky-sdk 0.7.26 → 0.7.28

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.d.cts CHANGED
@@ -25,10 +25,14 @@ interface ReactionTarget {
25
25
  type: ReactionTargetType;
26
26
  id: string;
27
27
  }
28
+ interface ReactionCustomerInfo {
29
+ id: string;
30
+ verified: boolean;
31
+ }
28
32
  interface Reaction {
29
33
  id: string;
30
34
  businessId: string;
31
- customerId: string;
35
+ customerInfo: ReactionCustomerInfo;
32
36
  targetType: ReactionTargetType;
33
37
  targetId: string;
34
38
  parentId?: string | null;
@@ -46,6 +50,7 @@ interface CreateReactionParams {
46
50
  blocks?: Block[];
47
51
  parentId?: string;
48
52
  taxonomies?: any[];
53
+ customerId?: string;
49
54
  }
50
55
  interface UpdateReactionParams {
51
56
  id: string;
@@ -66,6 +71,7 @@ interface FindReactionsParams {
66
71
  kind?: string;
67
72
  status?: ReactionStatus;
68
73
  contentOnly?: boolean;
74
+ query?: string;
69
75
  limit?: number;
70
76
  cursor?: string;
71
77
  }
package/dist/index.d.ts CHANGED
@@ -25,10 +25,14 @@ interface ReactionTarget {
25
25
  type: ReactionTargetType;
26
26
  id: string;
27
27
  }
28
+ interface ReactionCustomerInfo {
29
+ id: string;
30
+ verified: boolean;
31
+ }
28
32
  interface Reaction {
29
33
  id: string;
30
34
  businessId: string;
31
- customerId: string;
35
+ customerInfo: ReactionCustomerInfo;
32
36
  targetType: ReactionTargetType;
33
37
  targetId: string;
34
38
  parentId?: string | null;
@@ -46,6 +50,7 @@ interface CreateReactionParams {
46
50
  blocks?: Block[];
47
51
  parentId?: string;
48
52
  taxonomies?: any[];
53
+ customerId?: string;
49
54
  }
50
55
  interface UpdateReactionParams {
51
56
  id: string;
@@ -66,6 +71,7 @@ interface FindReactionsParams {
66
71
  kind?: string;
67
72
  status?: ReactionStatus;
68
73
  contentOnly?: boolean;
74
+ query?: string;
69
75
  limit?: number;
70
76
  cursor?: string;
71
77
  }
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(