@npm-zenwork/tax-remittance-ui 0.3.0 → 0.4.0
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/api/statePayments.d.ts +9 -1
- package/dist/index.cjs +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4570 -4538
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreateStatePaymentRequest, StatePaymentFormMetadata, StatePaymentFormReferences, StatePaymentReasonOption, StatePaymentResponse, StatePaymentStateOption, UpdateStatePaymentRequest } from '../types/statePayment';
|
|
1
|
+
import { CreateStatePaymentRequest, StatePaymentFormMetadata, StatePaymentFormReferences, StatePaymentOption, StatePaymentReasonOption, StatePaymentResponse, StatePaymentStateOption, UpdateStatePaymentRequest } from '../types/statePayment';
|
|
2
2
|
import { PagedResult } from '../types/pagination';
|
|
3
3
|
import { PaymentStatus } from '../components/payments/paymentsTableConfig';
|
|
4
4
|
export interface StatePaymentStatusCounts {
|
|
@@ -27,6 +27,14 @@ export declare function getStatePaymentFormReferences(entityId: number, state: s
|
|
|
27
27
|
* from (e.g. SEMI_WEEKLY) — the caller falls back to adding rows manually in that case.
|
|
28
28
|
*/
|
|
29
29
|
export declare function getStatePaymentOccurrenceDates(entityId: number, state: string, reason: string, frequencyCode: string, startDate: string, endDate: string, signal?: AbortSignal): Promise<string[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Recomputes Tax Period options for a specific Deposit Frequency and Tax Year. The
|
|
32
|
+
* validation-metadata response's frequencyOptions[].taxPeriodOptions already carries a
|
|
33
|
+
* current-calendar-year default; call this once the caller has picked a different Tax Year —
|
|
34
|
+
* leap years and weekday alignment shift date-range boundaries year to year for some
|
|
35
|
+
* frequencies (Weekly, Semi-weekly, Quarter-monthly).
|
|
36
|
+
*/
|
|
37
|
+
export declare function getStatePaymentTaxPeriods(entityId: number, state: string, reason: string, frequencyCode: string, taxYear: number, signal?: AbortSignal): Promise<StatePaymentOption[]>;
|
|
30
38
|
export declare function getStatePayments({ entityId, status, pageNumber, pageSize, }: GetStatePaymentsQuery): Promise<PagedResult<StatePaymentResponse>>;
|
|
31
39
|
export declare function getStatePaymentStatusCounts(entityId: number): Promise<StatePaymentStatusCounts>;
|
|
32
40
|
export declare function getStatePaymentById(statePaymentDetailId: number): Promise<StatePaymentResponse>;
|