@tesouro/embedded-components-react 0.5.227 → 0.5.230

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 (90) hide show
  1. package/README.md +22 -21
  2. package/dist/index.d.ts +87 -34
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +87 -34
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +5 -5
  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/data-access/dist/index11.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +32 -33
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +34 -32
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +120 -52
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +44 -100
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +93 -442
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +356 -201
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +225 -157
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +152 -21
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +18 -221
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +220 -31
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +125 -124
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +58 -150
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +232 -46
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +303 -122
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +43 -58
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +125 -98
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +140 -106
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +46 -232
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +119 -29
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +81 -613
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +116 -39
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +27 -33
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +634 -72
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +39 -119
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +36 -317
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +82 -0
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +139 -0
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +340 -0
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +15 -2
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +55 -468
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +443 -97
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +24 -22
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +32 -2
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +205 -84
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +161 -3
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +12 -20
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +25 -1
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +4 -3
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +95 -3
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -18
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +24 -1
  53. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +42 -4
  54. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +14 -7
  55. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +19 -12
  56. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +73 -1
  57. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +17 -261
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +12 -44
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +28 -68
  60. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +288 -479
  61. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +1 -106
  62. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +48 -0
  63. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +72 -2
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +496 -4
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +121 -27
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +106 -1
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +2 -28
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +4 -236
  69. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +0 -2
  70. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +90 -239
  71. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +24 -89
  72. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +231 -54
  73. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +3 -353
  74. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +249 -0
  75. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +100 -207
  76. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +93 -0
  77. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +59 -0
  78. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +353 -0
  79. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +35 -29
  80. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -216
  81. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +9 -159
  82. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +27 -14
  83. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +216 -23
  84. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
  85. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -211
  86. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +43 -59
  87. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  88. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +12 -12
  89. package/package.json +1 -1
  90. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +0 -100
package/README.md CHANGED
@@ -503,27 +503,28 @@ 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
+ | `actionsModalLabels` | `Partial<ReceivableActionsModalLabels>` | English labels | Copy of the modal shown after a create: the email step and the save-items-as-products step. Its titles, toasts and select-all toggle are in `messageLabels`. |
522
+ | `counterpartFormLabels` | `PartialDeep<CounterpartFormSheetLabels>` | English labels | Inline customer creation copy. |
523
+ | `measureUnitsLabels` | `Partial<MeasureUnitsManagerLabels>` | English labels | Measure-unit manager copy. |
524
+ | `measureUnitDeleteLabels` | `Partial<MeasureUnitDeleteDialogLabels>` | English labels | Measure-unit delete confirmation copy. |
525
+ | `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. |
526
+ | `productMessageLabels` | `Partial<ProductMessageLabels>` | English labels | Product validation and error messages. |
527
+ | `counterpartMessageLabels` | `Partial<CounterpartMessageLabels>` | English labels | Customer validation and error messages. |
527
528
 
528
529
  ### SettingsWidget
529
530
 
package/dist/index.d.ts CHANGED
@@ -4808,6 +4808,22 @@ interface ProductMessageLabels {
4808
4808
  updateMeasureUnitError: string;
4809
4809
  }
4810
4810
 
4811
+ interface ReceivableActionsModalLabels {
4812
+ issueDescription: string;
4813
+ toLabel: string;
4814
+ subjectLabel: string;
4815
+ messageLabel: string;
4816
+ messagePlaceholder: string;
4817
+ attachmentsLabel: string;
4818
+ attachmentsCaption: string;
4819
+ skipButton: string;
4820
+ sendButton: string;
4821
+ productsQuestion: string;
4822
+ productsCaption: string;
4823
+ productsAllLabel: string;
4824
+ saveItemsButton: string;
4825
+ }
4826
+
4811
4827
  interface ReceivableBillingSectionLabels {
4812
4828
  billingHeading: string;
4813
4829
  billingDescription: string;
@@ -5003,39 +5019,46 @@ interface ReceivableFormSheetLabels extends ReceivableBillingSectionLabels, Rece
5003
5019
  reminderClearButton: string;
5004
5020
  reminderSaveButton: string;
5005
5021
  }
5006
- interface ReceivableDetailsSheetLabels {
5022
+ interface ReceivableDetailsPanelLabels {
5007
5023
  hiddenDescription: string;
5008
5024
  loadingTitle: string;
5009
5025
  errorTitle: string;
5010
5026
  errorDescription: string;
5011
- summaryHeading: string;
5027
+ moreActionsLabel: string;
5028
+ viewPdfButton: string;
5029
+ closeButton: string;
5030
+ invoiceDateCaption: string;
5031
+ paymentHistoryHeading: string;
5032
+ paymentHistoryEmpty: string;
5033
+ paymentHistoryTotalLabel: string;
5034
+ customerDetailsHeading: string;
5035
+ recurrenceHeading: string;
5036
+ billingHeading: string;
5012
5037
  lineItemsHeading: string;
5013
- activityHeading: string;
5014
- mailsHeading: string;
5038
+ notesHeading: string;
5039
+ notesOpeningLabel: string;
5040
+ notesClosingLabel: string;
5041
+ attachmentsHeading: string;
5042
+ attachmentsEmpty: string;
5043
+ attachmentsFileColumn: string;
5044
+ attachmentsEmailedColumn: string;
5045
+ lineItemMultiplier: string;
5046
+ lineItemEaLabel: string;
5015
5047
  noLineItems: string;
5016
- noActivity: string;
5017
- noMails: string;
5018
- quantityColumn: string;
5019
- unitPriceColumn: string;
5020
- totalColumn: string;
5021
- closeButton: string;
5022
- downloadPdfButton: string;
5023
5048
  editButton: string;
5024
5049
  issueButton: string;
5050
+ recordPaymentButton: string;
5025
5051
  sendButton: string;
5026
5052
  acceptButton: string;
5027
5053
  declineButton: string;
5028
- recordPaymentButton: string;
5029
5054
  markPaidButton: string;
5030
5055
  markUncollectibleButton: string;
5031
5056
  cancelButton: string;
5032
5057
  cloneButton: string;
5033
5058
  deleteButton: string;
5034
- statusBadge: ReceivableStatusBadgeLabels;
5059
+ recurringBadge: string;
5035
5060
  }
5036
- type ReceivableDetailsSheetLabelOverrides = Partial<Omit<ReceivableDetailsSheetLabels, 'statusBadge'>> & {
5037
- statusBadge?: Partial<ReceivableStatusBadgeLabels>;
5038
- };
5061
+ type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
5039
5062
  interface ReceivableSendDialogLabels {
5040
5063
  title: string;
5041
5064
  description: string;
@@ -5109,22 +5132,35 @@ interface ReceivableMessageLabels {
5109
5132
  invoiceType: string;
5110
5133
  quoteType: string;
5111
5134
  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;
5135
+ detailsUnsupportedTitle: string;
5136
+ /** `{type}` is replaced with the receivable's API type. */
5137
+ detailsUnsupportedDescription: string;
5138
+ /** `{number}` is replaced with the invoice number. */
5139
+ detailsInvoiceSubtitle: string;
5140
+ /** `{days}` is replaced with the number of days. */
5141
+ detailsDaysOverdue: string;
5142
+ detailsInvoiceAmount: string;
5143
+ detailsBalanceDue: string;
5144
+ detailsAmountReceived: string;
5145
+ detailsCancelledAmount: string;
5146
+ detailsAmountWrittenOff: string;
5147
+ detailsCancelledOnCaption: string;
5148
+ detailsPending: string;
5149
+ detailsNotProvided: string;
5150
+ detailsCustomerName: string;
5151
+ detailsCustomerEmail: string;
5152
+ detailsCustomerPhone: string;
5153
+ detailsCustomerAddress: string;
5154
+ detailsInvoiceNumber: string;
5155
+ detailsInvoiceDate: string;
5156
+ detailsDueDate: string;
5157
+ detailsPaymentTerms: string;
5158
+ detailsPaymentReminders: string;
5159
+ detailsPoNumber: string;
5160
+ detailsDepositAccount: string;
5161
+ detailsRemindersBefore: string;
5162
+ detailsRemindersAfter: string;
5163
+ detailsRemindersNone: string;
5128
5164
  sendSubjectDefault: string;
5129
5165
  sendBodyDefault: string;
5130
5166
  issueTitle: string;
@@ -5268,6 +5304,22 @@ interface ReceivableMessageLabels {
5268
5304
  unknownError: string;
5269
5305
  /** `{message}` is the first reasons, `{count}` how many more there are. */
5270
5306
  apiErrorsSummary: string;
5307
+ /** `{name}` is replaced with the customer's name. */
5308
+ actionsIssueTitle: string;
5309
+ /** `{documentId}` and `{name}` are replaced with the invoice number and customer name. */
5310
+ actionsSubjectWithNumber: string;
5311
+ /** `{name}` is replaced with the customer's name. */
5312
+ actionsSubject: string;
5313
+ actionsSendSucceeded: string;
5314
+ actionsSendFailed: string;
5315
+ actionsTitleSent: string;
5316
+ actionsTitleIssued: string;
5317
+ actionsTitleRecurrence: string;
5318
+ actionsTitleDraft: string;
5319
+ actionsSelectAll: string;
5320
+ actionsDeselectAll: string;
5321
+ actionsProductsSaved: string;
5322
+ actionsProductsSaveFailed: string;
5271
5323
  /** `{taxId}` is replaced with the party's tax ID. */
5272
5324
  previewTaxId: string;
5273
5325
  previewTaxableYes: string;
@@ -5309,10 +5361,11 @@ interface ReceivablesWidgetOwnProps {
5309
5361
  onTemplateSettingsClick?: () => void;
5310
5362
  screenLabels?: ReceivablesScreenLabelOverrides;
5311
5363
  formLabels?: Partial<ReceivableFormSheetLabels>;
5312
- detailsLabels?: ReceivableDetailsSheetLabelOverrides;
5364
+ detailsLabels?: ReceivableDetailsPanelLabelOverrides;
5313
5365
  sendLabels?: Partial<ReceivableSendDialogLabels>;
5314
5366
  paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
5315
5367
  actionLabels?: Partial<ReceivableActionDialogLabels>;
5368
+ actionsModalLabels?: Partial<ReceivableActionsModalLabels>;
5316
5369
  counterpartFormLabels?: PartialDeep<CounterpartFormSheetLabels>;
5317
5370
  measureUnitsLabels?: Partial<MeasureUnitsManagerLabels>;
5318
5371
  measureUnitDeleteLabels?: Partial<MeasureUnitDeleteDialogLabels>;
@@ -5751,4 +5804,4 @@ interface GapCoverageAlertProps {
5751
5804
  type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
5752
5805
 
5753
5806
  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 };
5807
+ 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, ReceivableActionsModalLabels, 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/index35.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";
@@ -868,6 +868,22 @@ interface ProductMessageLabels {
868
868
  updateMeasureUnitError: string;
869
869
  }
870
870
 
871
+ interface ReceivableActionsModalLabels {
872
+ issueDescription: string;
873
+ toLabel: string;
874
+ subjectLabel: string;
875
+ messageLabel: string;
876
+ messagePlaceholder: string;
877
+ attachmentsLabel: string;
878
+ attachmentsCaption: string;
879
+ skipButton: string;
880
+ sendButton: string;
881
+ productsQuestion: string;
882
+ productsCaption: string;
883
+ productsAllLabel: string;
884
+ saveItemsButton: string;
885
+ }
886
+
871
887
  interface ReceivableBillingSectionLabels {
872
888
  billingHeading: string;
873
889
  billingDescription: string;
@@ -1063,39 +1079,46 @@ interface ReceivableFormSheetLabels extends ReceivableBillingSectionLabels, Rece
1063
1079
  reminderClearButton: string;
1064
1080
  reminderSaveButton: string;
1065
1081
  }
1066
- interface ReceivableDetailsSheetLabels {
1082
+ interface ReceivableDetailsPanelLabels {
1067
1083
  hiddenDescription: string;
1068
1084
  loadingTitle: string;
1069
1085
  errorTitle: string;
1070
1086
  errorDescription: string;
1071
- summaryHeading: string;
1087
+ moreActionsLabel: string;
1088
+ viewPdfButton: string;
1089
+ closeButton: string;
1090
+ invoiceDateCaption: string;
1091
+ paymentHistoryHeading: string;
1092
+ paymentHistoryEmpty: string;
1093
+ paymentHistoryTotalLabel: string;
1094
+ customerDetailsHeading: string;
1095
+ recurrenceHeading: string;
1096
+ billingHeading: string;
1072
1097
  lineItemsHeading: string;
1073
- activityHeading: string;
1074
- mailsHeading: string;
1098
+ notesHeading: string;
1099
+ notesOpeningLabel: string;
1100
+ notesClosingLabel: string;
1101
+ attachmentsHeading: string;
1102
+ attachmentsEmpty: string;
1103
+ attachmentsFileColumn: string;
1104
+ attachmentsEmailedColumn: string;
1105
+ lineItemMultiplier: string;
1106
+ lineItemEaLabel: string;
1075
1107
  noLineItems: string;
1076
- noActivity: string;
1077
- noMails: string;
1078
- quantityColumn: string;
1079
- unitPriceColumn: string;
1080
- totalColumn: string;
1081
- closeButton: string;
1082
- downloadPdfButton: string;
1083
1108
  editButton: string;
1084
1109
  issueButton: string;
1110
+ recordPaymentButton: string;
1085
1111
  sendButton: string;
1086
1112
  acceptButton: string;
1087
1113
  declineButton: string;
1088
- recordPaymentButton: string;
1089
1114
  markPaidButton: string;
1090
1115
  markUncollectibleButton: string;
1091
1116
  cancelButton: string;
1092
1117
  cloneButton: string;
1093
1118
  deleteButton: string;
1094
- statusBadge: ReceivableStatusBadgeLabels;
1119
+ recurringBadge: string;
1095
1120
  }
1096
- type ReceivableDetailsSheetLabelOverrides = Partial<Omit<ReceivableDetailsSheetLabels, 'statusBadge'>> & {
1097
- statusBadge?: Partial<ReceivableStatusBadgeLabels>;
1098
- };
1121
+ type ReceivableDetailsPanelLabelOverrides = Partial<ReceivableDetailsPanelLabels>;
1099
1122
  interface ReceivableSendDialogLabels {
1100
1123
  title: string;
1101
1124
  description: string;
@@ -1169,22 +1192,35 @@ interface ReceivableMessageLabels {
1169
1192
  invoiceType: string;
1170
1193
  quoteType: string;
1171
1194
  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;
1195
+ detailsUnsupportedTitle: string;
1196
+ /** `{type}` is replaced with the receivable's API type. */
1197
+ detailsUnsupportedDescription: string;
1198
+ /** `{number}` is replaced with the invoice number. */
1199
+ detailsInvoiceSubtitle: string;
1200
+ /** `{days}` is replaced with the number of days. */
1201
+ detailsDaysOverdue: string;
1202
+ detailsInvoiceAmount: string;
1203
+ detailsBalanceDue: string;
1204
+ detailsAmountReceived: string;
1205
+ detailsCancelledAmount: string;
1206
+ detailsAmountWrittenOff: string;
1207
+ detailsCancelledOnCaption: string;
1208
+ detailsPending: string;
1209
+ detailsNotProvided: string;
1210
+ detailsCustomerName: string;
1211
+ detailsCustomerEmail: string;
1212
+ detailsCustomerPhone: string;
1213
+ detailsCustomerAddress: string;
1214
+ detailsInvoiceNumber: string;
1215
+ detailsInvoiceDate: string;
1216
+ detailsDueDate: string;
1217
+ detailsPaymentTerms: string;
1218
+ detailsPaymentReminders: string;
1219
+ detailsPoNumber: string;
1220
+ detailsDepositAccount: string;
1221
+ detailsRemindersBefore: string;
1222
+ detailsRemindersAfter: string;
1223
+ detailsRemindersNone: string;
1188
1224
  sendSubjectDefault: string;
1189
1225
  sendBodyDefault: string;
1190
1226
  issueTitle: string;
@@ -1328,6 +1364,22 @@ interface ReceivableMessageLabels {
1328
1364
  unknownError: string;
1329
1365
  /** `{message}` is the first reasons, `{count}` how many more there are. */
1330
1366
  apiErrorsSummary: string;
1367
+ /** `{name}` is replaced with the customer's name. */
1368
+ actionsIssueTitle: string;
1369
+ /** `{documentId}` and `{name}` are replaced with the invoice number and customer name. */
1370
+ actionsSubjectWithNumber: string;
1371
+ /** `{name}` is replaced with the customer's name. */
1372
+ actionsSubject: string;
1373
+ actionsSendSucceeded: string;
1374
+ actionsSendFailed: string;
1375
+ actionsTitleSent: string;
1376
+ actionsTitleIssued: string;
1377
+ actionsTitleRecurrence: string;
1378
+ actionsTitleDraft: string;
1379
+ actionsSelectAll: string;
1380
+ actionsDeselectAll: string;
1381
+ actionsProductsSaved: string;
1382
+ actionsProductsSaveFailed: string;
1331
1383
  /** `{taxId}` is replaced with the party's tax ID. */
1332
1384
  previewTaxId: string;
1333
1385
  previewTaxableYes: string;
@@ -1369,10 +1421,11 @@ interface ReceivablesWidgetOwnProps {
1369
1421
  onTemplateSettingsClick?: () => void;
1370
1422
  screenLabels?: ReceivablesScreenLabelOverrides;
1371
1423
  formLabels?: Partial<ReceivableFormSheetLabels>;
1372
- detailsLabels?: ReceivableDetailsSheetLabelOverrides;
1424
+ detailsLabels?: ReceivableDetailsPanelLabelOverrides;
1373
1425
  sendLabels?: Partial<ReceivableSendDialogLabels>;
1374
1426
  paymentLabels?: Partial<ReceivablePaymentDialogLabels>;
1375
1427
  actionLabels?: Partial<ReceivableActionDialogLabels>;
1428
+ actionsModalLabels?: Partial<ReceivableActionsModalLabels>;
1376
1429
  counterpartFormLabels?: PartialDeep<CounterpartFormSheetLabels>;
1377
1430
  measureUnitsLabels?: Partial<MeasureUnitsManagerLabels>;
1378
1431
  measureUnitDeleteLabels?: Partial<MeasureUnitDeleteDialogLabels>;
@@ -1385,4 +1438,4 @@ type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
1385
1438
  declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
1386
1439
 
1387
1440
  export { ReceivablesWidget };
1388
- export type { CounterpartFormSheetLabels, CounterpartMessageLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab };
1441
+ export type { CounterpartFormSheetLabels, CounterpartMessageLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, 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/index35.js";
2
2
  import "../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js";
3
3
  export { e as ReceivablesWidget };
@@ -3,11 +3,11 @@ import "../../../shared/data-access/dist/index.js";
3
3
  import "./index2.js";
4
4
  import { useCreateEntityBankAccountMutation as t, usePaymentAccountsQuery as n } from "./index3.js";
5
5
  import { useDeleteReceivableAttachmentMutation as r, useUploadReceivableAttachmentMutation as i } from "./index4.js";
6
- import { useSendReceivableEmailMutation as a } from "./index5.js";
6
+ import { useSendReceivableEmailMutation as a } from "./index6.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 };
@@ -10,7 +10,7 @@ import { useEmbedApi as l } from "../../../shared/data-access/dist/lib/EmbedApiC
10
10
  import { organizationHeaders as u } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
11
11
  import "../../../shared/data-access/dist/index.js";
12
12
  import { overdueRemindersInvalidationKey as d, paymentRemindersInvalidationKey as f, recurrenceInvalidationKey as p, recurrencesInvalidationKey as m } from "./index2.js";
13
- import { invalidateReceivable as h } from "./index6.js";
13
+ import { invalidateReceivable as h } from "./index5.js";
14
14
  import { useMutation as g, useQuery as _ } from "@tanstack/react-query";
15
15
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js
16
16
  function v() {