@tesouro/embedded-components-react 0.7.21 → 0.7.22

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.
@@ -1196,6 +1196,10 @@ type DocumentVerificationTextAttemptOutput = {
1196
1196
  * When the text was requested (UTC).
1197
1197
  */
1198
1198
  attemptedAt: string;
1199
+ /**
1200
+ * Whether the destination for this text attempt matched `applicationPhoneNumber`.
1201
+ */
1202
+ isApplicationPhoneNumber?: null | boolean;
1199
1203
  /**
1200
1204
  * The last four digits of the number the text was requested for.
1201
1205
  */
@@ -4166,7 +4170,7 @@ type TransactionResponse = {
4166
4170
  */
4167
4171
  entity_id: string;
4168
4172
  /**
4169
- * ID of the entity user who made the transaction, if applicable.
4173
+ * ID of the entity user who owns the transaction. Must be an active or invited user of the organization. When omitted and the request is made as an entity user, the caller becomes the owner; an explicit null leaves the transaction unowned. A caller limited to their own transactions may only name themselves or one of their direct reportees, and becomes the owner when the field is null.
4170
4174
  */
4171
4175
  entity_user_id?: string | null;
4172
4176
  /**
@@ -55,10 +55,13 @@ function m({ enabled: n } = {}) {
55
55
  });
56
56
  c(b, v);
57
57
  let x = l(() => {
58
- if (b.data) return {
59
- data: b.data.pages.flatMap((e) => e.data ?? []),
58
+ if (!b.data) return;
59
+ let e = b.data.pages.flatMap((e) => e.data ?? []);
60
+ return {
61
+ data: e,
60
62
  next_pagination_token: void 0,
61
- prev_pagination_token: void 0
63
+ prev_pagination_token: void 0,
64
+ total_count: e.length
62
65
  };
63
66
  }, [b.data]);
64
67
  return {