@tesouro/embedded-components-react 0.5.283 → 0.5.285
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/README.md +27 -28
- package/dist/index.d.ts +6 -19
- package/dist/lib/ReceivablesWidget.d.ts +6 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +268 -285
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +35 -60
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +124 -147
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableRecurrence.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesWidget.js +54 -48
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index56.js +54 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +185 -51
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index58.js +38 -187
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index59.js +0 -45
package/README.md
CHANGED
|
@@ -509,34 +509,33 @@ Lists, creates, edits and acts on an organization's invoices, including sending
|
|
|
509
509
|
|
|
510
510
|
#### Props
|
|
511
511
|
|
|
512
|
-
| Prop | Type | Default | Description
|
|
513
|
-
| -------------------------- | ---------------------------------------------------- | ------------------- |
|
|
514
|
-
| `initialView` | `'create'` | `undefined` | Opens the create-invoice form once on mount, when the user can create invoices. Closing it does not reopen it.
|
|
515
|
-
| `initialCounterpartId` | `string` | `undefined` | With `initialView: 'create'`, preselects this customer in that first create form only. Otherwise, opens the invoice list filtered to this customer, with a chip naming them. Clear all removes it.
|
|
516
|
-
| `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Rows-per-page choices. The first page loads at the first choice, or `10` when the list is empty.
|
|
517
|
-
| `onReceivableCreated` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called after a create or clone succeeds.
|
|
518
|
-
| `onReceivableOpened` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called when the user opens a row's details panel.
|
|
519
|
-
| `onTemplateSettingsClick` | `() => void` | `undefined` | Shows the invoice settings button in the header, for users holding `organization_settings:write:org`, and calls this when it is clicked.
|
|
520
|
-
| `headerStart` | `ReactNode` | `undefined` | Rendered at the start of the header row. The widget renders no heading of its own, so pass your page title here.
|
|
521
|
-
| `bankAttribution` | `ReceivableBankAttribution` | `undefined` | `{ logoSrc, logoAlt }` for the sponsor bank. Shows "Business Banking provided by" and the logo under `headerStart`.
|
|
522
|
-
| `embeddedBankName` | `string` | `undefined` | Sponsor bank name shown as "Powered by {embeddedBankName}" next to embedded accounts in the invoice payment-account picker. Omitted when unset.
|
|
523
|
-
| `screenLabels` | `ReceivablesScreenLabelOverrides` | English labels | Header, table, empty, error and status badge copy.
|
|
524
|
-
| `filterBarLabels` | `InvoicesFilterBarLabelOverrides` | English labels | Invoice filter bar copy: field names, search, amount bounds, the customer panel and Clear all.
|
|
525
|
-
| `filterLabels` | `InvoicesFilterLabelOverrides` | English labels | Invoice filter copy built from state: date presets, status descriptions and chip wording.
|
|
526
|
-
| `formLabels` | `Partial<ReceivableFormDialogLabels>` | English labels | Create/edit form copy, including the unsaved-changes prompt; the save and issue buttons are in `messageLabels`.
|
|
527
|
-
| `previewLabels` | `Partial<ReceivablePreviewLabels>` | English labels | Copy of the live invoice preview beside the create/edit form.
|
|
528
|
-
| `detailsLabels` | `ReceivableDetailsPanelLabelOverrides` | English labels | Details panel copy. Status badge copy comes from `screenLabels.statusBadge`.
|
|
529
|
-
| `auditHistoryLabels` | `Partial<ReceivableAuditHistoryLabels>` | English labels | Audit history row copy. Document and status names follow `messageLabels` and `screenLabels.statusBadge` unless overridden here.
|
|
530
|
-
| `
|
|
531
|
-
| `
|
|
532
|
-
| `
|
|
533
|
-
| `
|
|
534
|
-
| `
|
|
535
|
-
| `
|
|
536
|
-
| `
|
|
537
|
-
| `
|
|
538
|
-
| `
|
|
539
|
-
| `counterpartMessageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Customer validation and error messages. |
|
|
512
|
+
| Prop | Type | Default | Description |
|
|
513
|
+
| -------------------------- | ---------------------------------------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
514
|
+
| `initialView` | `'create'` | `undefined` | Opens the create-invoice form once on mount, when the user can create invoices. Closing it does not reopen it. |
|
|
515
|
+
| `initialCounterpartId` | `string` | `undefined` | With `initialView: 'create'`, preselects this customer in that first create form only. Otherwise, opens the invoice list filtered to this customer, with a chip naming them. Clear all removes it. |
|
|
516
|
+
| `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Rows-per-page choices. The first page loads at the first choice, or `10` when the list is empty. |
|
|
517
|
+
| `onReceivableCreated` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called after a create or clone succeeds. |
|
|
518
|
+
| `onReceivableOpened` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called when the user opens a row's details panel. |
|
|
519
|
+
| `onTemplateSettingsClick` | `() => void` | `undefined` | Shows the invoice settings button in the header, for users holding `organization_settings:write:org`, and calls this when it is clicked. |
|
|
520
|
+
| `headerStart` | `ReactNode` | `undefined` | Rendered at the start of the header row. The widget renders no heading of its own, so pass your page title here. |
|
|
521
|
+
| `bankAttribution` | `ReceivableBankAttribution` | `undefined` | `{ logoSrc, logoAlt }` for the sponsor bank. Shows "Business Banking provided by" and the logo under `headerStart`. |
|
|
522
|
+
| `embeddedBankName` | `string` | `undefined` | Sponsor bank name shown as "Powered by {embeddedBankName}" next to embedded accounts in the invoice payment-account picker. Omitted when unset. |
|
|
523
|
+
| `screenLabels` | `ReceivablesScreenLabelOverrides` | English labels | Header, table, empty, error and status badge copy. |
|
|
524
|
+
| `filterBarLabels` | `InvoicesFilterBarLabelOverrides` | English labels | Invoice filter bar copy: field names, search, amount bounds, the customer panel and Clear all. |
|
|
525
|
+
| `filterLabels` | `InvoicesFilterLabelOverrides` | English labels | Invoice filter copy built from state: date presets, status descriptions and chip wording. |
|
|
526
|
+
| `formLabels` | `Partial<ReceivableFormDialogLabels>` | English labels | Create/edit form copy, including the unsaved-changes prompt; the save and issue buttons are in `messageLabels`. |
|
|
527
|
+
| `previewLabels` | `Partial<ReceivablePreviewLabels>` | English labels | Copy of the live invoice preview beside the create/edit form. |
|
|
528
|
+
| `detailsLabels` | `ReceivableDetailsPanelLabelOverrides` | English labels | Details panel copy. Status badge copy comes from `screenLabels.statusBadge`. |
|
|
529
|
+
| `auditHistoryLabels` | `Partial<ReceivableAuditHistoryLabels>` | English labels | Audit history row copy. Document and status names follow `messageLabels` and `screenLabels.statusBadge` unless overridden here. |
|
|
530
|
+
| `paymentLabels` | `Partial<ReceivablePaymentDialogLabels>` | English labels | Manual payment dialog copy. |
|
|
531
|
+
| `actionLabels` | `Partial<ReceivableActionDialogLabels>` | English labels | Confirmation dialog buttons; per-action titles come from `messageLabels`. |
|
|
532
|
+
| `actionsModalLabels` | `Partial<ReceivableActionsModalLabels>` | English labels | Copy of the modal shown after a create, and of its email step on Send for an issued invoice: the email step and the save-items-as-products step. Its titles, email-step dismiss buttons, toasts and select-all toggle are in `messageLabels`. |
|
|
533
|
+
| `counterpartFormLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Inline customer creation copy. |
|
|
534
|
+
| `measureUnitsLabels` | `Partial<MeasureUnitsManagerLabels>` | English labels | Measure-unit manager copy. |
|
|
535
|
+
| `measureUnitDeleteLabels` | `Partial<MeasureUnitDeleteDialogLabels>` | English labels | Measure-unit delete confirmation copy. |
|
|
536
|
+
| `messageLabels` | `Partial<ReceivableMessageLabels>` | English labels | Validation, fallback, details panel, reminder and confirmation messages, including the form's save and issue buttons and a new reminder's subject and body. |
|
|
537
|
+
| `productMessageLabels` | `Partial<ProductMessageLabels>` | English labels | Product validation and error messages. |
|
|
538
|
+
| `counterpartMessageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Customer validation and error messages. |
|
|
540
539
|
|
|
541
540
|
### SettingsWidget
|
|
542
541
|
|
package/dist/index.d.ts
CHANGED
|
@@ -5328,17 +5328,6 @@ interface ReceivableDetailsPanelLabels {
|
|
|
5328
5328
|
recurringBadge: string;
|
|
5329
5329
|
}
|
|
5330
5330
|
type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
|
|
5331
|
-
interface ReceivableSendDialogLabels {
|
|
5332
|
-
title: string;
|
|
5333
|
-
description: string;
|
|
5334
|
-
toLabel: string;
|
|
5335
|
-
ccLabel: string;
|
|
5336
|
-
bccLabel: string;
|
|
5337
|
-
subjectLabel: string;
|
|
5338
|
-
bodyLabel: string;
|
|
5339
|
-
cancelButton: string;
|
|
5340
|
-
sendButton: string;
|
|
5341
|
-
}
|
|
5342
5331
|
interface ReceivablePaymentDialogLabels {
|
|
5343
5332
|
title: string;
|
|
5344
5333
|
amountLabel: string;
|
|
@@ -5448,9 +5437,6 @@ interface ReceivableMessageLabels {
|
|
|
5448
5437
|
invoiceSubtotalTooHigh: string;
|
|
5449
5438
|
/** `{maxAmount}` is replaced with the formatted cap. */
|
|
5450
5439
|
invoiceTotalTooHigh: string;
|
|
5451
|
-
sendToRequired: string;
|
|
5452
|
-
sendSubjectRequired: string;
|
|
5453
|
-
sendBodyRequired: string;
|
|
5454
5440
|
paymentRecordAmountRequired: string;
|
|
5455
5441
|
paymentRecordAmountNegative: string;
|
|
5456
5442
|
paymentRecordAmountZero: string;
|
|
@@ -5550,8 +5536,6 @@ interface ReceivableMessageLabels {
|
|
|
5550
5536
|
detailsIterationStatusIssueFailed: string;
|
|
5551
5537
|
detailsIterationStatusSendFailed: string;
|
|
5552
5538
|
detailsIterationStatusCompleted: string;
|
|
5553
|
-
sendSubjectDefault: string;
|
|
5554
|
-
sendBodyDefault: string;
|
|
5555
5539
|
issueSucceeded: string;
|
|
5556
5540
|
acceptTitle: string;
|
|
5557
5541
|
acceptDescription: string;
|
|
@@ -5560,7 +5544,7 @@ interface ReceivableMessageLabels {
|
|
|
5560
5544
|
declineDescription: string;
|
|
5561
5545
|
declineConfirm: string;
|
|
5562
5546
|
issueFailed: string;
|
|
5563
|
-
|
|
5547
|
+
sendNoEmail: string;
|
|
5564
5548
|
cancelTitle: string;
|
|
5565
5549
|
/** `{number}` is replaced with the invoice number. */
|
|
5566
5550
|
cancelNumberedTitle: string;
|
|
@@ -5710,6 +5694,10 @@ interface ReceivableMessageLabels {
|
|
|
5710
5694
|
apiErrorsSummary: string;
|
|
5711
5695
|
/** `{name}` is replaced with the customer's name. */
|
|
5712
5696
|
actionsIssueTitle: string;
|
|
5697
|
+
/** `{name}` is replaced with the customer's name. */
|
|
5698
|
+
actionsResendTitle: string;
|
|
5699
|
+
actionsIssueDismiss: string;
|
|
5700
|
+
actionsResendDismiss: string;
|
|
5713
5701
|
/** `{documentId}` and `{name}` are replaced with the invoice number and customer name. */
|
|
5714
5702
|
actionsSubjectWithNumber: string;
|
|
5715
5703
|
/** `{name}` is replaced with the customer's name. */
|
|
@@ -5778,7 +5766,6 @@ interface ReceivablesWidgetOwnProps {
|
|
|
5778
5766
|
previewLabels?: Partial<ReceivablePreviewLabels>;
|
|
5779
5767
|
detailsLabels?: ReceivableDetailsPanelLabelOverrides;
|
|
5780
5768
|
auditHistoryLabels?: Partial<ReceivableAuditHistoryLabels>;
|
|
5781
|
-
sendLabels?: Partial<ReceivableSendDialogLabels>;
|
|
5782
5769
|
paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
|
|
5783
5770
|
actionLabels?: Partial<ReceivableActionDialogLabels>;
|
|
5784
5771
|
actionsModalLabels?: Partial<ReceivableActionsModalLabels>;
|
|
@@ -6146,4 +6133,4 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
6146
6133
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
6147
6134
|
|
|
6148
6135
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, CustomersWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, MARKETING_WIDGET_LABELS_EN, MARKETING_WIDGET_STATUS_LABELS_EN, MarketingBenefitIcon, MarketingWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, RESULT_LABELS_EN, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, UploadReceiptWidget, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
6149
|
-
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingStatusLabelValues, MarketingStatusNoticeLabels, MarketingWidgetAppearance, MarketingWidgetBenefit, MarketingWidgetContent, MarketingWidgetHowItWorksStep, MarketingWidgetImage, MarketingWidgetLabels, MarketingWidgetProps, MarketingWidgetStatusLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceiptMatchSummary, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels,
|
|
6136
|
+
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CustomersWidgetOwnProps, CustomersWidgetProps, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingStatusLabelValues, MarketingStatusNoticeLabels, MarketingWidgetAppearance, MarketingWidgetBenefit, MarketingWidgetContent, MarketingWidgetHowItWorksStep, MarketingWidgetImage, MarketingWidgetLabels, MarketingWidgetProps, MarketingWidgetStatusLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, ReceiptMatchSummary, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
@@ -1248,17 +1248,6 @@ interface ReceivableDetailsPanelLabels {
|
|
|
1248
1248
|
recurringBadge: string;
|
|
1249
1249
|
}
|
|
1250
1250
|
type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
|
|
1251
|
-
interface ReceivableSendDialogLabels {
|
|
1252
|
-
title: string;
|
|
1253
|
-
description: string;
|
|
1254
|
-
toLabel: string;
|
|
1255
|
-
ccLabel: string;
|
|
1256
|
-
bccLabel: string;
|
|
1257
|
-
subjectLabel: string;
|
|
1258
|
-
bodyLabel: string;
|
|
1259
|
-
cancelButton: string;
|
|
1260
|
-
sendButton: string;
|
|
1261
|
-
}
|
|
1262
1251
|
interface ReceivablePaymentDialogLabels {
|
|
1263
1252
|
title: string;
|
|
1264
1253
|
amountLabel: string;
|
|
@@ -1368,9 +1357,6 @@ interface ReceivableMessageLabels {
|
|
|
1368
1357
|
invoiceSubtotalTooHigh: string;
|
|
1369
1358
|
/** `{maxAmount}` is replaced with the formatted cap. */
|
|
1370
1359
|
invoiceTotalTooHigh: string;
|
|
1371
|
-
sendToRequired: string;
|
|
1372
|
-
sendSubjectRequired: string;
|
|
1373
|
-
sendBodyRequired: string;
|
|
1374
1360
|
paymentRecordAmountRequired: string;
|
|
1375
1361
|
paymentRecordAmountNegative: string;
|
|
1376
1362
|
paymentRecordAmountZero: string;
|
|
@@ -1470,8 +1456,6 @@ interface ReceivableMessageLabels {
|
|
|
1470
1456
|
detailsIterationStatusIssueFailed: string;
|
|
1471
1457
|
detailsIterationStatusSendFailed: string;
|
|
1472
1458
|
detailsIterationStatusCompleted: string;
|
|
1473
|
-
sendSubjectDefault: string;
|
|
1474
|
-
sendBodyDefault: string;
|
|
1475
1459
|
issueSucceeded: string;
|
|
1476
1460
|
acceptTitle: string;
|
|
1477
1461
|
acceptDescription: string;
|
|
@@ -1480,7 +1464,7 @@ interface ReceivableMessageLabels {
|
|
|
1480
1464
|
declineDescription: string;
|
|
1481
1465
|
declineConfirm: string;
|
|
1482
1466
|
issueFailed: string;
|
|
1483
|
-
|
|
1467
|
+
sendNoEmail: string;
|
|
1484
1468
|
cancelTitle: string;
|
|
1485
1469
|
/** `{number}` is replaced with the invoice number. */
|
|
1486
1470
|
cancelNumberedTitle: string;
|
|
@@ -1630,6 +1614,10 @@ interface ReceivableMessageLabels {
|
|
|
1630
1614
|
apiErrorsSummary: string;
|
|
1631
1615
|
/** `{name}` is replaced with the customer's name. */
|
|
1632
1616
|
actionsIssueTitle: string;
|
|
1617
|
+
/** `{name}` is replaced with the customer's name. */
|
|
1618
|
+
actionsResendTitle: string;
|
|
1619
|
+
actionsIssueDismiss: string;
|
|
1620
|
+
actionsResendDismiss: string;
|
|
1633
1621
|
/** `{documentId}` and `{name}` are replaced with the invoice number and customer name. */
|
|
1634
1622
|
actionsSubjectWithNumber: string;
|
|
1635
1623
|
/** `{name}` is replaced with the customer's name. */
|
|
@@ -1698,7 +1686,6 @@ interface ReceivablesWidgetOwnProps {
|
|
|
1698
1686
|
previewLabels?: Partial<ReceivablePreviewLabels>;
|
|
1699
1687
|
detailsLabels?: ReceivableDetailsPanelLabelOverrides;
|
|
1700
1688
|
auditHistoryLabels?: Partial<ReceivableAuditHistoryLabels>;
|
|
1701
|
-
sendLabels?: Partial<ReceivableSendDialogLabels>;
|
|
1702
1689
|
paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
|
|
1703
1690
|
actionLabels?: Partial<ReceivableActionDialogLabels>;
|
|
1704
1691
|
actionsModalLabels?: Partial<ReceivableActionsModalLabels>;
|
|
@@ -1715,4 +1702,4 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
|
1715
1702
|
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
1716
1703
|
|
|
1717
1704
|
export { ReceivablesWidget };
|
|
1718
|
-
export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels,
|
|
1705
|
+
export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps };
|