@tesouro/embedded-components-react 0.5.227 → 0.5.228

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.
Files changed (59) hide show
  1. package/README.md +21 -21
  2. package/dist/index.d.ts +54 -34
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +54 -34
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +29 -59
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +36 -141
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +26 -16
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +58 -37
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +228 -122
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +300 -147
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +34 -37
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +126 -122
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +150 -58
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +38 -91
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +113 -107
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +98 -231
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +111 -27
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +25 -624
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +631 -39
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +41 -40
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +35 -74
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +73 -115
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +115 -313
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +325 -0
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +15 -2
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +11 -12
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +42 -1
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +19 -3
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +73 -3
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -1
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +16 -1
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +32 -4
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +304 -11
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +42 -258
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +62 -38
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +485 -61
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +90 -480
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +2 -0
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +3 -1
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +0 -3
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +100 -1
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +23 -95
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +231 -23
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +3 -236
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +249 -3
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +78 -234
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +53 -87
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +343 -49
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +29 -20
  53. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
  54. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -211
  55. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +43 -59
  56. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  57. package/package.json +1 -1
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +0 -106
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +0 -353
package/README.md CHANGED
@@ -503,27 +503,27 @@ Lists, creates, edits and acts on an organization's invoices, quotes and credit
503
503
 
504
504
  #### Props
505
505
 
506
- | Prop | Type | Default | Description |
507
- | -------------------------- | ---------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
508
- | `defaultTab` | `ReceivablesWidgetTab` | `'invoices'` | Initial tab; if omitted or disabled, the widget starts on the first enabled tab. |
509
- | `enabledTabs` | `ReceivablesWidgetTab[]` | `['invoices', 'quotes', 'credit_notes']` | Tabs visible to the user. Duplicate or unknown values are ignored. |
510
- | `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Rows-per-page choices. The first page loads with a page size of `10`. |
511
- | `onReceivableCreated` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called after a create or clone succeeds. |
512
- | `onReceivableOpened` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called when the user opens a row's detail sheet. |
513
- | `onTemplateSettingsClick` | `() => void` | `undefined` | Shows a template settings action in the header and calls this handler when clicked. |
514
- | `embeddedBankName` | `string` | `undefined` | Sponsor bank name shown as "Powered by {embeddedBankName}" next to embedded accounts in the invoice payment-account picker. Omitted when unset. |
515
- | `screenLabels` | `ReceivablesScreenLabelOverrides` | English labels | Table, tab, filter, empty, error, action and status badge copy. |
516
- | `formLabels` | `Partial<ReceivableFormSheetLabels>` | English labels | Create/edit form copy; the save and issue buttons are in `messageLabels`. |
517
- | `detailsLabels` | `ReceivableDetailsSheetLabelOverrides` | English labels | Detail sheet copy, including status badges. |
518
- | `sendLabels` | `Partial<ReceivableSendDialogLabels>` | English labels | Send-email dialog copy. |
519
- | `paymentLabels` | `Partial<ReceivablePaymentDialogLabels>` | English labels | Manual payment dialog copy. |
520
- | `actionLabels` | `Partial<ReceivableActionDialogLabels>` | English labels | Confirmation dialog buttons; per-action titles come from `messageLabels`. |
521
- | `counterpartFormLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Inline customer creation copy. |
522
- | `measureUnitsLabels` | `Partial<MeasureUnitsManagerLabels>` | English labels | Measure-unit manager copy. |
523
- | `measureUnitDeleteLabels` | `Partial<MeasureUnitDeleteDialogLabels>` | English labels | Measure-unit delete confirmation copy. |
524
- | `messageLabels` | `Partial<ReceivableMessageLabels>` | English labels | Validation, fallback, summary, activity, reminder and confirmation messages, including the form's save and issue buttons and a new reminder's subject and body. |
525
- | `productMessageLabels` | `Partial<ProductMessageLabels>` | English labels | Product validation and error messages. |
526
- | `counterpartMessageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Customer validation and error messages. |
506
+ | Prop | Type | Default | Description |
507
+ | -------------------------- | ---------------------------------------------------- | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
508
+ | `defaultTab` | `ReceivablesWidgetTab` | `'invoices'` | Initial tab; if omitted or disabled, the widget starts on the first enabled tab. |
509
+ | `enabledTabs` | `ReceivablesWidgetTab[]` | `['invoices', 'quotes', 'credit_notes']` | Tabs visible to the user. Duplicate or unknown values are ignored. |
510
+ | `pageSizeOptions` | `number[]` | `[10, 25, 50, 100]` | Rows-per-page choices. The first page loads with a page size of `10`. |
511
+ | `onReceivableCreated` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called after a create or clone succeeds. |
512
+ | `onReceivableOpened` | `(id: string, type: ReceivableDocumentType) => void` | `undefined` | Called when the user opens a row's details panel. |
513
+ | `onTemplateSettingsClick` | `() => void` | `undefined` | Shows a template settings action in the header and calls this handler when clicked. |
514
+ | `embeddedBankName` | `string` | `undefined` | Sponsor bank name shown as "Powered by {embeddedBankName}" next to embedded accounts in the invoice payment-account picker. Omitted when unset. |
515
+ | `screenLabels` | `ReceivablesScreenLabelOverrides` | English labels | Table, tab, filter, empty, error, action and status badge copy. |
516
+ | `formLabels` | `Partial<ReceivableFormSheetLabels>` | English labels | Create/edit form copy; the save and issue buttons are in `messageLabels`. |
517
+ | `detailsLabels` | `ReceivableDetailsPanelLabelOverrides` | English labels | Details panel copy. Status badge copy comes from `screenLabels.statusBadge`. |
518
+ | `sendLabels` | `Partial<ReceivableSendDialogLabels>` | English labels | Send-email dialog copy. |
519
+ | `paymentLabels` | `Partial<ReceivablePaymentDialogLabels>` | English labels | Manual payment dialog copy. |
520
+ | `actionLabels` | `Partial<ReceivableActionDialogLabels>` | English labels | Confirmation dialog buttons; per-action titles come from `messageLabels`. |
521
+ | `counterpartFormLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Inline customer creation copy. |
522
+ | `measureUnitsLabels` | `Partial<MeasureUnitsManagerLabels>` | English labels | Measure-unit manager copy. |
523
+ | `measureUnitDeleteLabels` | `Partial<MeasureUnitDeleteDialogLabels>` | English labels | Measure-unit delete confirmation copy. |
524
+ | `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. |
525
+ | `productMessageLabels` | `Partial<ProductMessageLabels>` | English labels | Product validation and error messages. |
526
+ | `counterpartMessageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Customer validation and error messages. |
527
527
 
528
528
  ### SettingsWidget
529
529
 
package/dist/index.d.ts CHANGED
@@ -5003,39 +5003,46 @@ interface ReceivableFormSheetLabels extends ReceivableBillingSectionLabels, Rece
5003
5003
  reminderClearButton: string;
5004
5004
  reminderSaveButton: string;
5005
5005
  }
5006
- interface ReceivableDetailsSheetLabels {
5006
+ interface ReceivableDetailsPanelLabels {
5007
5007
  hiddenDescription: string;
5008
5008
  loadingTitle: string;
5009
5009
  errorTitle: string;
5010
5010
  errorDescription: string;
5011
- summaryHeading: string;
5011
+ moreActionsLabel: string;
5012
+ viewPdfButton: string;
5013
+ closeButton: string;
5014
+ invoiceDateCaption: string;
5015
+ paymentHistoryHeading: string;
5016
+ paymentHistoryEmpty: string;
5017
+ paymentHistoryTotalLabel: string;
5018
+ customerDetailsHeading: string;
5019
+ recurrenceHeading: string;
5020
+ billingHeading: string;
5012
5021
  lineItemsHeading: string;
5013
- activityHeading: string;
5014
- mailsHeading: string;
5022
+ notesHeading: string;
5023
+ notesOpeningLabel: string;
5024
+ notesClosingLabel: string;
5025
+ attachmentsHeading: string;
5026
+ attachmentsEmpty: string;
5027
+ attachmentsFileColumn: string;
5028
+ attachmentsEmailedColumn: string;
5029
+ lineItemMultiplier: string;
5030
+ lineItemEaLabel: string;
5015
5031
  noLineItems: string;
5016
- noActivity: string;
5017
- noMails: string;
5018
- quantityColumn: string;
5019
- unitPriceColumn: string;
5020
- totalColumn: string;
5021
- closeButton: string;
5022
- downloadPdfButton: string;
5023
5032
  editButton: string;
5024
5033
  issueButton: string;
5034
+ recordPaymentButton: string;
5025
5035
  sendButton: string;
5026
5036
  acceptButton: string;
5027
5037
  declineButton: string;
5028
- recordPaymentButton: string;
5029
5038
  markPaidButton: string;
5030
5039
  markUncollectibleButton: string;
5031
5040
  cancelButton: string;
5032
5041
  cloneButton: string;
5033
5042
  deleteButton: string;
5034
- statusBadge: ReceivableStatusBadgeLabels;
5043
+ recurringBadge: string;
5035
5044
  }
5036
- type ReceivableDetailsSheetLabelOverrides = Partial<Omit<ReceivableDetailsSheetLabels, 'statusBadge'>> & {
5037
- statusBadge?: Partial<ReceivableStatusBadgeLabels>;
5038
- };
5045
+ type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
5039
5046
  interface ReceivableSendDialogLabels {
5040
5047
  title: string;
5041
5048
  description: string;
@@ -5109,22 +5116,35 @@ interface ReceivableMessageLabels {
5109
5116
  invoiceType: string;
5110
5117
  quoteType: string;
5111
5118
  creditNoteType: string;
5112
- summaryDocumentType: string;
5113
- summaryDocumentNumber: string;
5114
- summaryCustomer: string;
5115
- summaryIssued: string;
5116
- summaryDue: string;
5117
- summaryCreated: string;
5118
- summaryUpdated: string;
5119
- summaryTotal: string;
5120
- summaryAmountDue: string;
5121
- activityStatusChanged: string;
5122
- activityReceivableCreated: string;
5123
- activityReceivableUpdated: string;
5124
- activityPaymentReceived: string;
5125
- activityMailSent: string;
5126
- activityUnknown: string;
5127
- recipientsNone: string;
5119
+ detailsUnsupportedTitle: string;
5120
+ /** `{type}` is replaced with the receivable's API type. */
5121
+ detailsUnsupportedDescription: string;
5122
+ /** `{number}` is replaced with the invoice number. */
5123
+ detailsInvoiceSubtitle: string;
5124
+ /** `{days}` is replaced with the number of days. */
5125
+ detailsDaysOverdue: string;
5126
+ detailsInvoiceAmount: string;
5127
+ detailsBalanceDue: string;
5128
+ detailsAmountReceived: string;
5129
+ detailsCancelledAmount: string;
5130
+ detailsAmountWrittenOff: string;
5131
+ detailsCancelledOnCaption: string;
5132
+ detailsPending: string;
5133
+ detailsNotProvided: string;
5134
+ detailsCustomerName: string;
5135
+ detailsCustomerEmail: string;
5136
+ detailsCustomerPhone: string;
5137
+ detailsCustomerAddress: string;
5138
+ detailsInvoiceNumber: string;
5139
+ detailsInvoiceDate: string;
5140
+ detailsDueDate: string;
5141
+ detailsPaymentTerms: string;
5142
+ detailsPaymentReminders: string;
5143
+ detailsPoNumber: string;
5144
+ detailsDepositAccount: string;
5145
+ detailsRemindersBefore: string;
5146
+ detailsRemindersAfter: string;
5147
+ detailsRemindersNone: string;
5128
5148
  sendSubjectDefault: string;
5129
5149
  sendBodyDefault: string;
5130
5150
  issueTitle: string;
@@ -5309,7 +5329,7 @@ interface ReceivablesWidgetOwnProps {
5309
5329
  onTemplateSettingsClick?: () => void;
5310
5330
  screenLabels?: ReceivablesScreenLabelOverrides;
5311
5331
  formLabels?: Partial<ReceivableFormSheetLabels>;
5312
- detailsLabels?: ReceivableDetailsSheetLabelOverrides;
5332
+ detailsLabels?: ReceivableDetailsPanelLabelOverrides;
5313
5333
  sendLabels?: Partial<ReceivableSendDialogLabels>;
5314
5334
  paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
5315
5335
  actionLabels?: Partial<ReceivableActionDialogLabels>;
@@ -5751,4 +5771,4 @@ interface GapCoverageAlertProps {
5751
5771
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
5752
5772
 
5753
5773
  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 };
5754
- 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, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, 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, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, 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 };
5774
+ 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, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, 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, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, 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 };
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ import { InsightsWidget as L } from "./libs/tesouro-embedded-components-react/in
27
27
  import { UploadReceiptWidget as R } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js";
28
28
  import { ExpenseManagementWidget as z } from "./libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index21.js";
29
29
  import { InvoicingWidget as B } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js";
30
- import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js";
30
+ import { ReceivablesWidget as V } from "./libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js";
31
31
  import { SettingsSection as H } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js";
32
32
  import { HELP_FAQ_EN as U } from "./libs/tesouro-embedded-components-react/settings-widget/help/ui/contract/dist/index3.js";
33
33
  import { SettingsWidget as W } from "./libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js";
@@ -1063,39 +1063,46 @@ interface ReceivableFormSheetLabels extends ReceivableBillingSectionLabels, Rece
1063
1063
  reminderClearButton: string;
1064
1064
  reminderSaveButton: string;
1065
1065
  }
1066
- interface ReceivableDetailsSheetLabels {
1066
+ interface ReceivableDetailsPanelLabels {
1067
1067
  hiddenDescription: string;
1068
1068
  loadingTitle: string;
1069
1069
  errorTitle: string;
1070
1070
  errorDescription: string;
1071
- summaryHeading: string;
1071
+ moreActionsLabel: string;
1072
+ viewPdfButton: string;
1073
+ closeButton: string;
1074
+ invoiceDateCaption: string;
1075
+ paymentHistoryHeading: string;
1076
+ paymentHistoryEmpty: string;
1077
+ paymentHistoryTotalLabel: string;
1078
+ customerDetailsHeading: string;
1079
+ recurrenceHeading: string;
1080
+ billingHeading: string;
1072
1081
  lineItemsHeading: string;
1073
- activityHeading: string;
1074
- mailsHeading: string;
1082
+ notesHeading: string;
1083
+ notesOpeningLabel: string;
1084
+ notesClosingLabel: string;
1085
+ attachmentsHeading: string;
1086
+ attachmentsEmpty: string;
1087
+ attachmentsFileColumn: string;
1088
+ attachmentsEmailedColumn: string;
1089
+ lineItemMultiplier: string;
1090
+ lineItemEaLabel: string;
1075
1091
  noLineItems: string;
1076
- noActivity: string;
1077
- noMails: string;
1078
- quantityColumn: string;
1079
- unitPriceColumn: string;
1080
- totalColumn: string;
1081
- closeButton: string;
1082
- downloadPdfButton: string;
1083
1092
  editButton: string;
1084
1093
  issueButton: string;
1094
+ recordPaymentButton: string;
1085
1095
  sendButton: string;
1086
1096
  acceptButton: string;
1087
1097
  declineButton: string;
1088
- recordPaymentButton: string;
1089
1098
  markPaidButton: string;
1090
1099
  markUncollectibleButton: string;
1091
1100
  cancelButton: string;
1092
1101
  cloneButton: string;
1093
1102
  deleteButton: string;
1094
- statusBadge: ReceivableStatusBadgeLabels;
1103
+ recurringBadge: string;
1095
1104
  }
1096
- type ReceivableDetailsSheetLabelOverrides = Partial<Omit<ReceivableDetailsSheetLabels, 'statusBadge'>> & {
1097
- statusBadge?: Partial<ReceivableStatusBadgeLabels>;
1098
- };
1105
+ type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
1099
1106
  interface ReceivableSendDialogLabels {
1100
1107
  title: string;
1101
1108
  description: string;
@@ -1169,22 +1176,35 @@ interface ReceivableMessageLabels {
1169
1176
  invoiceType: string;
1170
1177
  quoteType: string;
1171
1178
  creditNoteType: string;
1172
- summaryDocumentType: string;
1173
- summaryDocumentNumber: string;
1174
- summaryCustomer: string;
1175
- summaryIssued: string;
1176
- summaryDue: string;
1177
- summaryCreated: string;
1178
- summaryUpdated: string;
1179
- summaryTotal: string;
1180
- summaryAmountDue: string;
1181
- activityStatusChanged: string;
1182
- activityReceivableCreated: string;
1183
- activityReceivableUpdated: string;
1184
- activityPaymentReceived: string;
1185
- activityMailSent: string;
1186
- activityUnknown: string;
1187
- recipientsNone: string;
1179
+ detailsUnsupportedTitle: string;
1180
+ /** `{type}` is replaced with the receivable's API type. */
1181
+ detailsUnsupportedDescription: string;
1182
+ /** `{number}` is replaced with the invoice number. */
1183
+ detailsInvoiceSubtitle: string;
1184
+ /** `{days}` is replaced with the number of days. */
1185
+ detailsDaysOverdue: string;
1186
+ detailsInvoiceAmount: string;
1187
+ detailsBalanceDue: string;
1188
+ detailsAmountReceived: string;
1189
+ detailsCancelledAmount: string;
1190
+ detailsAmountWrittenOff: string;
1191
+ detailsCancelledOnCaption: string;
1192
+ detailsPending: string;
1193
+ detailsNotProvided: string;
1194
+ detailsCustomerName: string;
1195
+ detailsCustomerEmail: string;
1196
+ detailsCustomerPhone: string;
1197
+ detailsCustomerAddress: string;
1198
+ detailsInvoiceNumber: string;
1199
+ detailsInvoiceDate: string;
1200
+ detailsDueDate: string;
1201
+ detailsPaymentTerms: string;
1202
+ detailsPaymentReminders: string;
1203
+ detailsPoNumber: string;
1204
+ detailsDepositAccount: string;
1205
+ detailsRemindersBefore: string;
1206
+ detailsRemindersAfter: string;
1207
+ detailsRemindersNone: string;
1188
1208
  sendSubjectDefault: string;
1189
1209
  sendBodyDefault: string;
1190
1210
  issueTitle: string;
@@ -1369,7 +1389,7 @@ interface ReceivablesWidgetOwnProps {
1369
1389
  onTemplateSettingsClick?: () => void;
1370
1390
  screenLabels?: ReceivablesScreenLabelOverrides;
1371
1391
  formLabels?: Partial<ReceivableFormSheetLabels>;
1372
- detailsLabels?: ReceivableDetailsSheetLabelOverrides;
1392
+ detailsLabels?: ReceivableDetailsPanelLabelOverrides;
1373
1393
  sendLabels?: Partial<ReceivableSendDialogLabels>;
1374
1394
  paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
1375
1395
  actionLabels?: Partial<ReceivableActionDialogLabels>;
@@ -1385,4 +1405,4 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
1385
1405
  declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
1386
1406
 
1387
1407
  export { ReceivablesWidget };
1388
- export type { CounterpartFormSheetLabels, CounterpartMessageLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab };
1408
+ export type { CounterpartFormSheetLabels, CounterpartMessageLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab };
@@ -1,3 +1,3 @@
1
- import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js";
1
+ import { ReceivablesWidget as e } from "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js";
2
2
  import "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js";
3
3
  export { e as ReceivablesWidget };
@@ -7,7 +7,7 @@ import { useSendReceivableEmailMutation as a } from "./index5.js";
7
7
  import { useAcceptReceivableMutation as o, useCancelReceivableMutation as s, useCloneReceivableMutation as c, useCreateReceivableMutation as l, useDeclineReceivableMutation as u, useDeleteReceivableMutation as d, useIssueReceivableMutation as f, useUpdateReceivableMutation as p } from "./index7.js";
8
8
  import "./index8.js";
9
9
  import { useMarkReceivablePaidMutation as m, useMarkReceivablePartiallyPaidMutation as h, useMarkReceivableUncollectibleMutation as g } from "./index9.js";
10
- import { useReceivableHistoryQuery as _, useReceivableMailsQuery as v, useReceivablePdfLinkQuery as y, useReceivableQuery as b, useReceivableRequiredFieldsQuery as x, useReceivablesQuery as S } from "./index10.js";
11
- import { useCreateOverdueReminderMutation as C, useCreatePaymentReminderMutation as w, useCreateRecurrenceMutation as T, useOverdueRemindersQuery as E, usePaymentRemindersQuery as D, useRecurrenceQuery as O, useUpdateRecurrenceMutation as k } from "./index11.js";
12
- import { useReceivablesAnalyticsQuery as A } from "./index12.js";
13
- export { o as useAcceptReceivableMutation, s as useCancelReceivableMutation, c as useCloneReceivableMutation, t as useCreateEntityBankAccountMutation, C as useCreateOverdueReminderMutation, w as useCreatePaymentReminderMutation, l as useCreateReceivableMutation, T as useCreateRecurrenceMutation, u as useDeclineReceivableMutation, r as useDeleteReceivableAttachmentMutation, d as useDeleteReceivableMutation, f as useIssueReceivableMutation, m as useMarkReceivablePaidMutation, h as useMarkReceivablePartiallyPaidMutation, g as useMarkReceivableUncollectibleMutation, E as useOverdueRemindersQuery, n as usePaymentAccountsQuery, D as usePaymentRemindersQuery, e as usePaymentTermsQuery, _ as useReceivableHistoryQuery, v as useReceivableMailsQuery, y as useReceivablePdfLinkQuery, b as useReceivableQuery, x as useReceivableRequiredFieldsQuery, A as useReceivablesAnalyticsQuery, S as useReceivablesQuery, O as useRecurrenceQuery, a as useSendReceivableEmailMutation, p as useUpdateReceivableMutation, k as useUpdateRecurrenceMutation, i as useUploadReceivableAttachmentMutation };
10
+ import { useReceivablePdfLinkQuery as _, useReceivableQuery as v, useReceivableRequiredFieldsQuery as y, useReceivablesQuery as b } from "./index10.js";
11
+ import { useCreateOverdueReminderMutation as x, useCreatePaymentReminderMutation as S, useCreateRecurrenceMutation as C, useOverdueRemindersQuery as w, usePaymentRemindersQuery as T, useRecurrenceQuery as E, useUpdateRecurrenceMutation as D } from "./index11.js";
12
+ import { useReceivablesAnalyticsQuery as O } from "./index12.js";
13
+ export { o as useAcceptReceivableMutation, s as useCancelReceivableMutation, c as useCloneReceivableMutation, t as useCreateEntityBankAccountMutation, x as useCreateOverdueReminderMutation, S as useCreatePaymentReminderMutation, l as useCreateReceivableMutation, C as useCreateRecurrenceMutation, u as useDeclineReceivableMutation, r as useDeleteReceivableAttachmentMutation, d as useDeleteReceivableMutation, f as useIssueReceivableMutation, m as useMarkReceivablePaidMutation, h as useMarkReceivablePartiallyPaidMutation, g as useMarkReceivableUncollectibleMutation, w as useOverdueRemindersQuery, n as usePaymentAccountsQuery, T as usePaymentRemindersQuery, e as usePaymentTermsQuery, _ as useReceivablePdfLinkQuery, v as useReceivableQuery, y as useReceivableRequiredFieldsQuery, O as useReceivablesAnalyticsQuery, b as useReceivablesQuery, E as useRecurrenceQuery, a as useSendReceivableEmailMutation, p as useUpdateReceivableMutation, D as useUpdateRecurrenceMutation, i as useUploadReceivableAttachmentMutation };
@@ -2,93 +2,63 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { getReceivablesIdHistoryOptions as e, getReceivablesIdMailsOptions as t, getReceivablesIdOptions as n, getReceivablesIdPdfLinkOptions as r, getReceivablesOptions as i, getReceivablesRequiredFieldsOptions as a } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
- import { withAuthEpoch as o } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
7
- import { useEmbedApi as s } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
- import { organizationHeaders as c } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
5
+ import { getReceivablesIdOptions as e, getReceivablesIdPdfLinkOptions as t, getReceivablesOptions as n, getReceivablesRequiredFieldsOptions as r } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
+ import { withAuthEpoch as i } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
7
+ import { useEmbedApi as a } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as o } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
9
9
  import "../../../shared/data-access/dist/index.js";
10
- import { useQuery as l } from "@tanstack/react-query";
10
+ import { useQuery as s } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js
12
- function u({ enabled: e, ...t } = {}) {
13
- let { client: n, organizationId: r, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(r && a) && (e === !0 || e === void 0), p = i({
14
- client: n,
15
- headers: c(r),
12
+ function c({ enabled: e, ...t } = {}) {
13
+ let { client: r, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = a(), f = !!(c && l) && (e === !0 || e === void 0), p = n({
14
+ client: r,
15
+ headers: o(c),
16
16
  query: t
17
17
  });
18
- return l({
19
- ...o(p, {
18
+ return s({
19
+ ...i(p, {
20
20
  authEpoch: u,
21
21
  organizationStatus: d
22
22
  }, { carryWithinOrg: !0 }),
23
23
  enabled: f
24
24
  });
25
25
  }
26
- function d(e, { enabled: t = !0 } = {}) {
27
- let { client: r, organizationId: i, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(i && a && e) && t, p = n({
26
+ function l(t, { enabled: n = !0 } = {}) {
27
+ let { client: r, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = a(), f = !!(c && l && t) && n, p = e({
28
28
  client: r,
29
- headers: c(i),
30
- path: { receivable_id: e ?? "" }
29
+ headers: o(c),
30
+ path: { receivable_id: t ?? "" }
31
31
  });
32
- return l({
33
- ...o(p, {
32
+ return s({
33
+ ...i(p, {
34
34
  authEpoch: u,
35
35
  organizationStatus: d
36
36
  }),
37
37
  enabled: f
38
38
  });
39
39
  }
40
- function f({ enabled: e, ...t } = {}) {
41
- let { client: n, organizationId: r, widgetToken: i, authEpoch: u, organizationStatus: d } = s(), f = !!(r && i) && (e === !0 || e === void 0), p = a({
40
+ function u({ enabled: e, ...t } = {}) {
41
+ let { client: n, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = a(), f = !!(c && l) && (e === !0 || e === void 0), p = r({
42
42
  client: n,
43
- headers: c(r),
43
+ headers: o(c),
44
44
  query: t
45
45
  });
46
- return l({
47
- ...o(p, {
46
+ return s({
47
+ ...i(p, {
48
48
  authEpoch: u,
49
49
  organizationStatus: d
50
50
  }),
51
51
  enabled: f
52
52
  });
53
53
  }
54
- function p(t, { enabled: n, ...r } = {}) {
55
- let { client: i, organizationId: a, widgetToken: u, authEpoch: d, organizationStatus: f } = s(), p = !!(a && u && t) && (n === !0 || n === void 0), m = e({
56
- client: i,
57
- headers: c(a),
58
- path: { receivable_id: t ?? "" },
59
- query: r
60
- });
61
- return l({
62
- ...o(m, {
63
- authEpoch: d,
64
- organizationStatus: f
65
- }),
66
- enabled: p
67
- });
68
- }
69
- function m(e, { enabled: n, ...r } = {}) {
70
- let { client: i, organizationId: a, widgetToken: u, authEpoch: d, organizationStatus: f } = s(), p = !!(a && u && e) && (n === !0 || n === void 0), m = t({
71
- client: i,
72
- headers: c(a),
73
- path: { receivable_id: e ?? "" },
74
- query: r
75
- });
76
- return l({
77
- ...o(m, {
78
- authEpoch: d,
79
- organizationStatus: f
80
- }),
81
- enabled: p
82
- });
83
- }
84
- function h(e, { enabled: t = !0 } = {}) {
85
- let { client: n, organizationId: i, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(i && a && e) && t, p = r({
86
- client: n,
87
- headers: c(i),
54
+ function d(e, { enabled: n = !0 } = {}) {
55
+ let { client: r, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = a(), f = !!(c && l && e) && n, p = t({
56
+ client: r,
57
+ headers: o(c),
88
58
  path: { receivable_id: e ?? "" }
89
59
  });
90
- return l({
91
- ...o(p, {
60
+ return s({
61
+ ...i(p, {
92
62
  authEpoch: u,
93
63
  organizationStatus: d
94
64
  }),
@@ -96,4 +66,4 @@ function h(e, { enabled: t = !0 } = {}) {
96
66
  });
97
67
  }
98
68
  //#endregion
99
- export { p as useReceivableHistoryQuery, m as useReceivableMailsQuery, h as useReceivablePdfLinkQuery, d as useReceivableQuery, f as useReceivableRequiredFieldsQuery, u as useReceivablesQuery };
69
+ export { d as useReceivablePdfLinkQuery, l as useReceivableQuery, u as useReceivableRequiredFieldsQuery, c as useReceivablesQuery };
@@ -1,3 +1,3 @@
1
1
  import { InvoicingWidget as e } from "./index3.js";
2
- import { ReceivablesWidget as t } from "./index32.js";
2
+ import { ReceivablesWidget as t } from "./index33.js";
3
3
  export { e as InvoicingWidget, t as ReceivablesWidget };