@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.
- package/README.md +22 -21
- package/dist/index.d.ts +87 -34
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +87 -34
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +29 -59
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +32 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +120 -52
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +44 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +93 -442
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +356 -201
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +225 -157
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +152 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +18 -221
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +220 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +125 -124
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +58 -150
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +232 -46
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +303 -122
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +125 -98
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +140 -106
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +46 -232
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +119 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +81 -613
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +116 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +27 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +634 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +39 -119
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +36 -317
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +82 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +139 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +340 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +55 -468
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +443 -97
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +205 -84
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +161 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +25 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +95 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +73 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +17 -261
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +28 -68
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +288 -479
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +1 -106
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +48 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +72 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +496 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +121 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +106 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +4 -236
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +90 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +24 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +231 -54
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +3 -353
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +100 -207
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +353 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +35 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -216
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +9 -159
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +216 -23
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -211
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +43 -59
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +12 -12
- package/package.json +1 -1
- 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
|
|
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` | `
|
|
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
|
-
| `
|
|
522
|
-
| `
|
|
523
|
-
| `
|
|
524
|
-
| `
|
|
525
|
-
| `
|
|
526
|
-
| `
|
|
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
|
|
5022
|
+
interface ReceivableDetailsPanelLabels {
|
|
5007
5023
|
hiddenDescription: string;
|
|
5008
5024
|
loadingTitle: string;
|
|
5009
5025
|
errorTitle: string;
|
|
5010
5026
|
errorDescription: string;
|
|
5011
|
-
|
|
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
|
-
|
|
5014
|
-
|
|
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
|
-
|
|
5059
|
+
recurringBadge: string;
|
|
5035
5060
|
}
|
|
5036
|
-
type
|
|
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
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
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?:
|
|
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,
|
|
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/
|
|
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
|
|
1082
|
+
interface ReceivableDetailsPanelLabels {
|
|
1067
1083
|
hiddenDescription: string;
|
|
1068
1084
|
loadingTitle: string;
|
|
1069
1085
|
errorTitle: string;
|
|
1070
1086
|
errorDescription: string;
|
|
1071
|
-
|
|
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
|
-
|
|
1074
|
-
|
|
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
|
-
|
|
1119
|
+
recurringBadge: string;
|
|
1095
1120
|
}
|
|
1096
|
-
type
|
|
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
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
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?:
|
|
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,
|
|
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/
|
|
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 };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js
CHANGED
|
@@ -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 "./
|
|
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 {
|
|
11
|
-
import { useCreateOverdueReminderMutation as
|
|
12
|
-
import { useReceivablesAnalyticsQuery as
|
|
13
|
-
export { o as useAcceptReceivableMutation, s as useCancelReceivableMutation, c as useCloneReceivableMutation, t as useCreateEntityBankAccountMutation,
|
|
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 };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js
CHANGED
|
@@ -2,93 +2,63 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import { withAuthEpoch as
|
|
7
|
-
import { useEmbedApi as
|
|
8
|
-
import { organizationHeaders as
|
|
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
|
|
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
|
|
13
|
-
let { client:
|
|
14
|
-
client:
|
|
15
|
-
headers: c
|
|
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
|
|
19
|
-
...
|
|
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
|
|
27
|
-
let { client: r, organizationId:
|
|
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
|
|
30
|
-
path: { receivable_id:
|
|
29
|
+
headers: o(c),
|
|
30
|
+
path: { receivable_id: t ?? "" }
|
|
31
31
|
});
|
|
32
|
-
return
|
|
33
|
-
...
|
|
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
|
|
41
|
-
let { client: n, organizationId:
|
|
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
|
|
43
|
+
headers: o(c),
|
|
44
44
|
query: t
|
|
45
45
|
});
|
|
46
|
-
return
|
|
47
|
-
...
|
|
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
|
|
55
|
-
let { client:
|
|
56
|
-
client:
|
|
57
|
-
headers: c
|
|
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
|
|
91
|
-
...
|
|
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 {
|
|
69
|
+
export { d as useReceivablePdfLinkQuery, l as useReceivableQuery, u as useReceivableRequiredFieldsQuery, c as useReceivablesQuery };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js
CHANGED
|
@@ -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 "./
|
|
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() {
|