@saasquatch/mint-components 2.5.6 → 2.5.7-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/cjs/{data-77273531.js → data-962310e1.js} +0 -12
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +3 -3
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +2 -2
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-user-info-form-view-e878a9a3.js → sqm-user-info-form-view-92d8d19a.js} +1 -1
- package/dist/cjs/{useIndirectTaxForm-691691c2.js → useIndirectTaxForm-638adefa.js} +18 -24
- package/dist/collection/components/tax-and-cash/data.js +0 -12
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +18 -24
- package/dist/esm/{data-510cc9b7.js → data-b0e80fd9.js} +0 -12
- package/dist/esm/sqm-banking-info-form_10.entry.js +3 -3
- package/dist/esm/sqm-big-stat_47.entry.js +2 -2
- package/dist/esm/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +2 -2
- package/dist/esm/{sqm-user-info-form-view-c044a385.js → sqm-user-info-form-view-59473bfd.js} +1 -1
- package/dist/esm/{useIndirectTaxForm-64a3ca69.js → useIndirectTaxForm-4bcd91f9.js} +18 -24
- package/dist/esm-es5/data-b0e80fd9.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{sqm-user-info-form-view-c044a385.js → sqm-user-info-form-view-59473bfd.js} +1 -1
- package/dist/esm-es5/{useIndirectTaxForm-64a3ca69.js → useIndirectTaxForm-4bcd91f9.js} +2 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-75b7496e.js → p-00e588d3.js} +2 -14
- package/dist/mint-components/p-076af819.system.js +1 -0
- package/dist/mint-components/p-119b9680.system.js +1 -1
- package/dist/mint-components/{p-ec00bb5f.js → p-2bea87fd.js} +1 -1
- package/dist/mint-components/p-610cf45c.js +107 -0
- package/dist/mint-components/{p-0bc61e27.system.entry.js → p-822aae93.system.entry.js} +1 -1
- package/dist/mint-components/{p-5a1be3aa.entry.js → p-863bb414.entry.js} +1 -1
- package/dist/mint-components/{p-bbb494a8.system.js → p-9a7b1c63.system.js} +1 -1
- package/dist/mint-components/{p-7127e360.system.entry.js → p-9c9cee02.system.entry.js} +1 -1
- package/dist/mint-components/{p-c7dd2eaa.system.entry.js → p-a40e05d2.system.entry.js} +1 -1
- package/dist/mint-components/{p-f0e1d538.entry.js → p-af8833df.entry.js} +1 -1
- package/dist/mint-components/{p-9d1659c4.entry.js → p-b6a9c9de.entry.js} +1 -1
- package/dist/mint-components/{p-c30dfd5d.entry.js → p-c90d06ab.entry.js} +1 -1
- package/dist/mint-components/p-c9ebc285.system.js +6 -0
- package/dist/mint-components/{p-32b3c92e.system.entry.js → p-e38b09a0.system.entry.js} +1 -1
- package/dist/types/components/tax-and-cash/data.d.ts +0 -9
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +10 -2
- package/dist/types/components/tax-and-cash/utils.d.ts +2 -2
- package/docs/docs.docx +0 -0
- package/docs/stats.json +209 -209
- package/package.json +1 -1
- package/dist/esm-es5/data-510cc9b7.js +0 -1
- package/dist/mint-components/p-7d992af1.system.js +0 -6
- package/dist/mint-components/p-ae5f7df6.system.js +0 -1
- package/dist/mint-components/p-cdf099fe.js +0 -108
|
@@ -87,15 +87,6 @@ export type UserQuery = {
|
|
|
87
87
|
customFields?: {
|
|
88
88
|
[key: string]: any;
|
|
89
89
|
};
|
|
90
|
-
rewards: {
|
|
91
|
-
data: {
|
|
92
|
-
statuses: string[];
|
|
93
|
-
partnerFundsTransfer: {
|
|
94
|
-
id: string;
|
|
95
|
-
status: string;
|
|
96
|
-
};
|
|
97
|
-
}[];
|
|
98
|
-
};
|
|
99
90
|
managedIdentity?: {
|
|
100
91
|
uid: string;
|
|
101
92
|
email: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ImpactPublisher } from "../data";
|
|
2
2
|
import { PayoutStatusAlert } from "./sqm-payout-status-alert";
|
|
3
3
|
export type EnforceUsTaxComplianceOption = "NONE" | "EXPLICIT_COUNTRY_CODE" | "IMPLIED_COUNTRY_CODE" | "ALL" | "CASH_ONLY" | "CASH_ONLY_DEFER_W9";
|
|
4
4
|
export type PayoutStatus = "OVER_W9_THRESHOLD" | "INFORMATION_REQUIRED" | "VERIFICATION:REQUIRED" | "VERIFICATION:INTERNAL" | "VERIFICATION:REVIEW" | "VERIFICATION:FAILED" | "NEW_PAYEE_REVIEW" | "PAYMENT_HOLD_ON_CHANGE" | "BENEFICIARY_NAME_INVALID" | "BENEFICIARY_NAME_MISMATCH" | "BANK_TAX_NAME_MISMATCH" | "WITHDRAWAL_SETTINGS_INVALID" | "PAYMENT_RETURNED" | "HOLD" | "DONE";
|
|
@@ -7,7 +7,15 @@ export type TenantSettingsQuery = {
|
|
|
7
7
|
enforceUsTaxCompliance: EnforceUsTaxComplianceOption;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type UserStatusQuery = {
|
|
11
|
+
user: {
|
|
12
|
+
impactConnection: null | {
|
|
13
|
+
connected: boolean;
|
|
14
|
+
publisher: null | Pick<ImpactPublisher, "id" | "currency" | "payoutsAccount" | "withdrawalSettings" | "currentTaxDocument">;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare function getStatus(data: UserStatusQuery): PayoutStatus;
|
|
11
19
|
export declare function usePayoutStatus(props: PayoutStatusAlert): {
|
|
12
20
|
states: {
|
|
13
21
|
loading: boolean;
|
|
@@ -23,9 +23,9 @@ export declare function getCountryObj({ countryCode, locale, }: {
|
|
|
23
23
|
displayName: string;
|
|
24
24
|
};
|
|
25
25
|
/** The minimum balance Impact requires before it will issue a payout, e.g. "USD50.00". */
|
|
26
|
-
export declare function formatPayoutThreshold(publisher: ImpactPublisher | null | undefined): string | undefined;
|
|
26
|
+
export declare function formatPayoutThreshold(publisher: Pick<ImpactPublisher, "withdrawalSettings" | "currency"> | null | undefined): string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* `payoutsAccount.balance` is a formatted string; only `balanceAmount` (minor units) is comparable.
|
|
29
29
|
* A zero balance gets no notice — there is nothing waiting to pay out.
|
|
30
30
|
*/
|
|
31
|
-
export declare function isBalanceUnderPayoutThreshold(publisher: ImpactPublisher | null | undefined): boolean;
|
|
31
|
+
export declare function isBalanceUnderPayoutThreshold(publisher: Pick<ImpactPublisher, "withdrawalSettings" | "payoutsAccount" | "currency"> | null | undefined): boolean;
|
package/docs/docs.docx
CHANGED
|
Binary file
|