@tesouro/embedded-components-react 0.5.188 → 0.5.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +263 -263
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +89 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +29 -74
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +18 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +24 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -327
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +8 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +92 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +20 -137
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +69 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index19.js +58 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index2.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index20.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index21.js +88 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index22.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index23.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index24.js +40 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index25.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index26.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index27.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index28.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index29.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index30.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index31.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index32.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index33.js +49 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index34.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index35.js +47 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index36.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index37.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index38.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index39.js +55 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index40.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index41.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index42.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index46.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js +39 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +35 -255
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +59 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +13 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +5 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +51 -211
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +84 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +31 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +167 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +46 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +47 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +13 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +7 -163
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +61 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +24 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +162 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +4 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +25 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +32 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +96 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +81 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +3 -158
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +111 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +189 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +69 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +29 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +89 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +412 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +83 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +80 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +224 -134
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +44 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +247 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +22 -191
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +614 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +42 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +243 -398
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +3 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +43 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +11 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +130 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -628
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +127 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +8 -257
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +10 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +22 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +29 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +83 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +48 -130
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +262 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +32 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +387 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +307 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +111 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +37 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +24 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +222 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +46 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +73 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +30 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +8 -106
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +181 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +19 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +137 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +278 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +1 -106
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +15 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -275
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +368 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +92 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +43 -363
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +48 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +10 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +75 -184
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +313 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +26 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -317
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +13 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +34 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +195 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +14 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +1 -508
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +62 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +493 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/{feature/dist/index87.js → ui/dist/index88.js} +1 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +88 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +146 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/derivePayableStatus.js +62 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatBillMoney.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/formatScheduledDateLabel.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isEditablePayableStatus.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/isLiveScheduledPaymentRecord.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableDuplicates.js +48 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/payableTotals.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveAmountDue.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemAmount.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveLineItemQuantity.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveVendor.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/widgetName.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +95 -95
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +23 -190
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +163 -50
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -80
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +85 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +104 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/useRemoteCheckCaptureWidget.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +4 -4
- 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/util/dist/lib/mergeLabelTree.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +0 -86
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -263
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +0 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +0 -392
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +0 -310
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +0 -114
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +0 -2
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { getAnalyticsPayablesOptions as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
+
import "../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { PAYABLE_COUNT_ANALYTICS as i } from "./index2.js";
|
|
11
|
+
import { useMemo as a } from "react";
|
|
12
|
+
import { useQueries as o } from "@tanstack/react-query";
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index43.js
|
|
14
|
+
function s({ filters: s, enabled: c }) {
|
|
15
|
+
let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationPending: p } = n(), m = r(u), h = !!(u && d) && (c === !0 || c === void 0), g = o({ queries: s.map((n) => ({
|
|
16
|
+
...t(e({
|
|
17
|
+
client: l,
|
|
18
|
+
headers: m,
|
|
19
|
+
query: {
|
|
20
|
+
...n,
|
|
21
|
+
...i
|
|
22
|
+
}
|
|
23
|
+
}), {
|
|
24
|
+
authEpoch: f,
|
|
25
|
+
organizationPending: p
|
|
26
|
+
}),
|
|
27
|
+
enabled: h
|
|
28
|
+
})) });
|
|
29
|
+
return a(() => g.map((e) => ({
|
|
30
|
+
count: e.data ? e.data.data[0]?.metric_value ?? 0 : void 0,
|
|
31
|
+
isError: e.isError
|
|
32
|
+
})), [g]);
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
export { s as usePayablesCountQueries };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { getPayablesOptions as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
+
import "../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { OCR_POLL_INTERVAL_MS as i } from "./index13.js";
|
|
11
|
+
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index44.js
|
|
13
|
+
function o({ enabled: o, pollWhileOcrProcessing: s = !1, ...c } = {}) {
|
|
14
|
+
let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationPending: p } = n(), m = !!(u && d) && (o === !0 || o === void 0), h = e({
|
|
15
|
+
client: l,
|
|
16
|
+
headers: r(u),
|
|
17
|
+
query: c
|
|
18
|
+
});
|
|
19
|
+
return a({
|
|
20
|
+
...t(h, {
|
|
21
|
+
authEpoch: f,
|
|
22
|
+
organizationPending: p
|
|
23
|
+
}),
|
|
24
|
+
enabled: m,
|
|
25
|
+
...s ? { refetchInterval: (e) => (e.state.data?.data ?? []).some((e) => e.ocr_status === "processing") ? i : !1 } : {}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { o as usePayablesQuery };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { getAnalyticsPayablesOptions as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
+
import "../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { PAYABLE_COUNT_ANALYTICS as i } from "./index2.js";
|
|
11
|
+
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index45.js
|
|
13
|
+
function o({ enabled: o } = {}) {
|
|
14
|
+
let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationPending: d } = n(), f = !!(c && l) && (o === !0 || o === void 0), p = e({
|
|
15
|
+
client: s,
|
|
16
|
+
headers: r(c),
|
|
17
|
+
query: i
|
|
18
|
+
});
|
|
19
|
+
return a({
|
|
20
|
+
...t(p, {
|
|
21
|
+
authEpoch: u,
|
|
22
|
+
organizationPending: d
|
|
23
|
+
}),
|
|
24
|
+
enabled: f,
|
|
25
|
+
select: (e) => ({ count: e.data[0]?.metric_value ?? 0 })
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { o as usePayablesTotalCountQuery };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { getPayablesIdSuggestionsOptions as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
+
import { withAuthEpoch as t } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
|
+
import { isApiNotFoundError as i } from "../../../shared/data-access/dist/lib/isApiNotFoundError.js";
|
|
10
|
+
import "../../../shared/data-access/dist/index.js";
|
|
11
|
+
import { useQuery as a } from "@tanstack/react-query";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index47.js
|
|
13
|
+
function o(o, { enabled: s = !0 } = {}) {
|
|
14
|
+
let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = !!(l && u && o) && s, m = e({
|
|
15
|
+
client: c,
|
|
16
|
+
headers: r(l),
|
|
17
|
+
path: { payable_id: o ?? "" }
|
|
18
|
+
}), { queryKey: h, queryFn: g } = t(m, {
|
|
19
|
+
authEpoch: d,
|
|
20
|
+
organizationPending: f
|
|
21
|
+
});
|
|
22
|
+
return a({
|
|
23
|
+
queryKey: h,
|
|
24
|
+
enabled: p,
|
|
25
|
+
retry: !1,
|
|
26
|
+
queryFn: async (e) => {
|
|
27
|
+
try {
|
|
28
|
+
if (typeof g != "function") throw Error("getPayablesIdSuggestionsOptions has no queryFn");
|
|
29
|
+
return await g(e);
|
|
30
|
+
} catch (e) {
|
|
31
|
+
if (i(e)) return null;
|
|
32
|
+
throw e;
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
select: (e) => e ?? void 0
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { o as usePayableSuggestionsQuery };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js
CHANGED
|
@@ -1,35 +1,4 @@
|
|
|
1
|
-
import { getAnalyticsPayablesQueryKey as e, getApprovalRequestsQueryKey as t, getPayablesIdHistoryQueryKey as n, getPayablesIdLineItemsQueryKey as r, getPayablesIdQueryKey as i, getPayablesQueryKey as a, getPaymentRecordsQueryKey as o } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
2
|
-
import { organizationHeaders as s } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
3
|
-
import "../../../shared/data-access/dist/index.js";
|
|
4
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js
|
|
5
|
-
var
|
|
6
|
-
metric: "id",
|
|
7
|
-
aggregation_function: "count"
|
|
8
|
-
}, l = ({ client: e, organizationId: t }) => a({
|
|
9
|
-
client: e,
|
|
10
|
-
headers: s(t)
|
|
11
|
-
}), u = ({ client: e, organizationId: n }) => t({
|
|
12
|
-
client: e,
|
|
13
|
-
headers: s(n)
|
|
14
|
-
}), d = ({ client: t, organizationId: n }) => e({
|
|
15
|
-
client: t,
|
|
16
|
-
headers: s(n),
|
|
17
|
-
query: c
|
|
18
|
-
}), f = ({ client: e, organizationId: t, payableId: n }) => i({
|
|
19
|
-
client: e,
|
|
20
|
-
headers: s(t),
|
|
21
|
-
path: { payable_id: n }
|
|
22
|
-
}), p = ({ client: e, organizationId: t, payableId: r }) => n({
|
|
23
|
-
client: e,
|
|
24
|
-
headers: s(t),
|
|
25
|
-
path: { payable_id: r }
|
|
26
|
-
}), m = ({ client: e, organizationId: t, payableId: n }) => r({
|
|
27
|
-
client: e,
|
|
28
|
-
headers: s(t),
|
|
29
|
-
path: { payable_id: n }
|
|
30
|
-
}), h = ({ client: e, organizationId: t }) => o({
|
|
31
|
-
client: e,
|
|
32
|
-
headers: s(t)
|
|
33
|
-
}), g = "payable", _ = "desc";
|
|
2
|
+
var e = 2e4, t = 1e3, n = (e) => Math.min(e * 1.5, 5e3);
|
|
34
3
|
//#endregion
|
|
35
|
-
export {
|
|
4
|
+
export { t as PAYABLE_PROJECTION_POLL_INTERVAL_MS, e as PAYABLE_PROJECTION_POLL_TIMEOUT_MS, n as nextPollInterval };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js
CHANGED
|
@@ -1,272 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { organizationHeaders as
|
|
1
|
+
import { getPayablesId as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
2
|
+
import { invalidateAllClients as t } from "../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
3
|
+
import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
4
4
|
import "../../../shared/data-access/dist/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { approvalRequestsInvalidationKey as r } from "./index2.js";
|
|
6
|
+
import { invalidatePayableQueries as i } from "./index4.js";
|
|
7
|
+
import { PAYABLE_PROJECTION_POLL_INTERVAL_MS as a, nextPollInterval as o } from "./index5.js";
|
|
8
8
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
var s = /* @__PURE__ */ new Set(["new", "approve_in_progress"]), c = 6e4;
|
|
10
|
+
async function l({ client: e, organizationId: n, payableId: a }) {
|
|
11
|
+
await t(r({
|
|
11
12
|
client: e,
|
|
12
|
-
organizationId:
|
|
13
|
-
},
|
|
14
|
-
...c,
|
|
15
|
-
payableId: e
|
|
16
|
-
})), v = [
|
|
17
|
-
_(c),
|
|
18
|
-
d(c),
|
|
19
|
-
...s ? [f(c)] : [],
|
|
20
|
-
...u.flatMap((e) => [
|
|
21
|
-
m(e),
|
|
22
|
-
p(e),
|
|
23
|
-
g(e),
|
|
24
|
-
...o ? [h(e)] : []
|
|
25
|
-
])
|
|
26
|
-
];
|
|
27
|
-
await Promise.all(v.map((e) => a(e))), await Promise.all([...l].map((n) => b({
|
|
13
|
+
organizationId: n
|
|
14
|
+
})), await i({
|
|
28
15
|
client: e,
|
|
29
|
-
organizationId:
|
|
30
|
-
payableId:
|
|
31
|
-
})));
|
|
32
|
-
}
|
|
33
|
-
async function b({ client: e, organizationId: t, payableId: n }) {
|
|
34
|
-
if (!n) return;
|
|
35
|
-
let r = {
|
|
36
|
-
client: e,
|
|
37
|
-
organizationId: t,
|
|
38
|
-
payableId: n
|
|
39
|
-
}, a = [
|
|
40
|
-
m(r),
|
|
41
|
-
p(r),
|
|
42
|
-
h(r)
|
|
43
|
-
];
|
|
44
|
-
await Promise.all(a.map((e) => i(e))), a.forEach((e) => o(e));
|
|
45
|
-
}
|
|
46
|
-
async function x({ client: e, organizationId: t, payableId: n }) {
|
|
47
|
-
let r = {
|
|
48
|
-
client: e,
|
|
49
|
-
organizationId: t
|
|
50
|
-
};
|
|
51
|
-
await Promise.all([a(_(r)), a(d(r))]), await b({
|
|
52
|
-
client: e,
|
|
53
|
-
organizationId: t,
|
|
54
|
-
payableId: n
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
var S = 2e4, C = 1e3, w = 1.5, T = 5e3, E = (e) => Math.min(e * w, T), D = /* @__PURE__ */ new Set(["new", "approve_in_progress"]), O = 6e4;
|
|
58
|
-
async function k({ client: e, organizationId: t, payableId: n }) {
|
|
59
|
-
await a(f({
|
|
60
|
-
client: e,
|
|
61
|
-
organizationId: t
|
|
62
|
-
})), await y({
|
|
63
|
-
client: e,
|
|
64
|
-
organizationId: t,
|
|
65
|
-
payableId: n
|
|
16
|
+
organizationId: n,
|
|
17
|
+
payableId: a
|
|
66
18
|
});
|
|
67
19
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
let { data: i } = await e({
|
|
72
|
-
client: t,
|
|
73
|
-
headers: s(n),
|
|
74
|
-
query: {
|
|
75
|
-
object_id: r,
|
|
76
|
-
object_type: u,
|
|
77
|
-
order: l,
|
|
78
|
-
limit: A
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
return (i?.data ?? []).map((e) => `${e.id}:${e.status}`).sort().join(",");
|
|
82
|
-
} catch {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
var M = 3, N = 250;
|
|
87
|
-
async function P(e) {
|
|
88
|
-
let t = 0;
|
|
89
|
-
for (;;) {
|
|
90
|
-
let n = await L(e);
|
|
91
|
-
if (t += 1, n.readable || t >= M) return n;
|
|
20
|
+
async function u({ client: t, organizationId: r, payableId: l, watch: u }) {
|
|
21
|
+
let d = Date.now() + c, f = a, p = !1;
|
|
22
|
+
for (; !p && Date.now() < d;) {
|
|
92
23
|
await new Promise((e) => {
|
|
93
|
-
setTimeout(e,
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
var F = "submitted_for_approval", I = 100;
|
|
98
|
-
async function L({ client: e, organizationId: t, payableId: r }) {
|
|
99
|
-
try {
|
|
100
|
-
let { data: i } = await n({
|
|
101
|
-
client: e,
|
|
102
|
-
headers: s(t),
|
|
103
|
-
path: { payable_id: r },
|
|
104
|
-
query: {
|
|
105
|
-
sort: "timestamp",
|
|
106
|
-
order: "asc",
|
|
107
|
-
limit: I
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
return {
|
|
111
|
-
readable: !0,
|
|
112
|
-
at: (i?.data ?? []).reduce((e, t) => t.event_type === F ? t.timestamp : e, void 0)
|
|
113
|
-
};
|
|
114
|
-
} catch {
|
|
115
|
-
return { readable: !1 };
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
async function R(e, { requireRoundMarker: t = !1 } = {}) {
|
|
119
|
-
let [n, r] = await Promise.all([j(e), t ? P(e) : void 0]), i = n, a = async () => {
|
|
120
|
-
if (!r?.readable) return !0;
|
|
121
|
-
let t = await L(e);
|
|
122
|
-
return t.readable && t.at !== r.at;
|
|
123
|
-
}, o = !1;
|
|
124
|
-
return { async poll() {
|
|
125
|
-
let t = await j(e);
|
|
126
|
-
return t !== void 0 && i === void 0 ? (i = t, o = !0, await a() ? "changed" : "resynced") : (t !== void 0 && t !== i && (o = !0), o && await a() ? "changed" : "unchanged");
|
|
127
|
-
} };
|
|
128
|
-
}
|
|
129
|
-
async function z({ client: e, organizationId: n, payableId: r, watch: i }) {
|
|
130
|
-
let a = Date.now() + O, o = C, c = !1;
|
|
131
|
-
for (; !c && Date.now() < a;) {
|
|
132
|
-
await new Promise((e) => {
|
|
133
|
-
setTimeout(e, o);
|
|
134
|
-
}), o = E(o);
|
|
24
|
+
setTimeout(e, f);
|
|
25
|
+
}), f = o(f);
|
|
135
26
|
try {
|
|
136
|
-
let { data: i } = await
|
|
137
|
-
client:
|
|
138
|
-
headers:
|
|
139
|
-
path: { payable_id:
|
|
27
|
+
let { data: i } = await e({
|
|
28
|
+
client: t,
|
|
29
|
+
headers: n(r),
|
|
30
|
+
path: { payable_id: l }
|
|
140
31
|
});
|
|
141
|
-
|
|
32
|
+
p = !(!i?.status || s.has(i.status));
|
|
142
33
|
} catch {}
|
|
143
|
-
if (!
|
|
144
|
-
let
|
|
145
|
-
|
|
146
|
-
client:
|
|
147
|
-
organizationId:
|
|
148
|
-
payableId:
|
|
34
|
+
if (!p) {
|
|
35
|
+
let e = await u.poll();
|
|
36
|
+
p = e === "changed", e === "resynced" && await i({
|
|
37
|
+
client: t,
|
|
38
|
+
organizationId: r,
|
|
39
|
+
payableId: l,
|
|
149
40
|
includeApprovalRequests: !0
|
|
150
41
|
});
|
|
151
42
|
}
|
|
152
43
|
}
|
|
153
|
-
return await
|
|
154
|
-
client:
|
|
155
|
-
organizationId:
|
|
156
|
-
payableId:
|
|
44
|
+
return await i({
|
|
45
|
+
client: t,
|
|
46
|
+
organizationId: r,
|
|
47
|
+
payableId: l,
|
|
157
48
|
includeApprovalRequests: !0
|
|
158
|
-
}),
|
|
159
|
-
}
|
|
160
|
-
var B = 15e4, V = 3e3;
|
|
161
|
-
async function H({ client: e, organizationId: t, payableId: n, watch: r }) {
|
|
162
|
-
let i = Date.now() + B, a = V, o = !1;
|
|
163
|
-
for (; !o && Date.now() < i;) {
|
|
164
|
-
await new Promise((e) => {
|
|
165
|
-
setTimeout(e, a);
|
|
166
|
-
}), a = E(a);
|
|
167
|
-
let i = await r.poll();
|
|
168
|
-
o = i === "changed", i === "resynced" && await y({
|
|
169
|
-
client: e,
|
|
170
|
-
organizationId: t,
|
|
171
|
-
payableId: n,
|
|
172
|
-
includeApprovalRequests: !0
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
return await y({
|
|
176
|
-
client: e,
|
|
177
|
-
organizationId: t,
|
|
178
|
-
payableId: n,
|
|
179
|
-
includeApprovalRequests: !0
|
|
180
|
-
}), o;
|
|
181
|
-
}
|
|
182
|
-
var U = 100;
|
|
183
|
-
async function W({ client: e, organizationId: t, payableId: n }) {
|
|
184
|
-
let r = Date.now() + S, i = !1;
|
|
185
|
-
for (; !i && Date.now() < r;) await new Promise((e) => {
|
|
186
|
-
setTimeout(e, C);
|
|
187
|
-
}), i = await G({
|
|
188
|
-
client: e,
|
|
189
|
-
organizationId: t,
|
|
190
|
-
payableId: n
|
|
191
|
-
}) === !0;
|
|
192
|
-
return await y({
|
|
193
|
-
client: e,
|
|
194
|
-
organizationId: t,
|
|
195
|
-
payableId: n
|
|
196
|
-
}), i;
|
|
197
|
-
}
|
|
198
|
-
async function G({ client: e, organizationId: t, payableId: n }) {
|
|
199
|
-
let i = /* @__PURE__ */ new Set(), a;
|
|
200
|
-
try {
|
|
201
|
-
do {
|
|
202
|
-
let { data: o } = await r({
|
|
203
|
-
client: e,
|
|
204
|
-
headers: s(t),
|
|
205
|
-
query: {
|
|
206
|
-
limit: U,
|
|
207
|
-
object_id__in: [n],
|
|
208
|
-
order: "desc",
|
|
209
|
-
sort: "paid_at",
|
|
210
|
-
is_external: !1,
|
|
211
|
-
...a ? { pagination_token: a } : {}
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
if ((o?.data ?? []).some(c)) return !0;
|
|
215
|
-
let l = o?.next_pagination_token ?? void 0;
|
|
216
|
-
a = l && !i.has(l) ? (i.add(l), l) : void 0;
|
|
217
|
-
} while (a);
|
|
218
|
-
return !1;
|
|
219
|
-
} catch {
|
|
220
|
-
return;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
async function K({ client: e, organizationId: n, payableId: r }) {
|
|
224
|
-
let i = Date.now() + S, a = !1;
|
|
225
|
-
for (; !a && Date.now() < i;) {
|
|
226
|
-
await new Promise((e) => {
|
|
227
|
-
setTimeout(e, C);
|
|
228
|
-
});
|
|
229
|
-
try {
|
|
230
|
-
let { data: i } = await t({
|
|
231
|
-
client: e,
|
|
232
|
-
headers: s(n),
|
|
233
|
-
path: { payable_id: r }
|
|
234
|
-
});
|
|
235
|
-
a = !i?.scheduled_payment_date && await G({
|
|
236
|
-
client: e,
|
|
237
|
-
organizationId: n,
|
|
238
|
-
payableId: r
|
|
239
|
-
}) === !1;
|
|
240
|
-
} catch {}
|
|
241
|
-
}
|
|
242
|
-
return await y({
|
|
243
|
-
client: e,
|
|
244
|
-
organizationId: n,
|
|
245
|
-
payableId: r
|
|
246
|
-
}), a;
|
|
247
|
-
}
|
|
248
|
-
var q = 9e4;
|
|
249
|
-
async function J({ client: e, organizationId: n, payableId: r }) {
|
|
250
|
-
let i = Date.now() + q, a = v, o = !1;
|
|
251
|
-
for (; !o && Date.now() < i;) {
|
|
252
|
-
await new Promise((e) => {
|
|
253
|
-
setTimeout(e, a);
|
|
254
|
-
}), a = E(a);
|
|
255
|
-
try {
|
|
256
|
-
let { data: i } = await t({
|
|
257
|
-
client: e,
|
|
258
|
-
headers: s(n),
|
|
259
|
-
path: { payable_id: r }
|
|
260
|
-
});
|
|
261
|
-
o = i?.ocr_status !== "processing";
|
|
262
|
-
} catch {}
|
|
263
|
-
}
|
|
264
|
-
return await y({
|
|
265
|
-
client: e,
|
|
266
|
-
organizationId: n,
|
|
267
|
-
payableId: r,
|
|
268
|
-
includeLineItems: !0
|
|
269
|
-
}), o;
|
|
49
|
+
}), p;
|
|
270
50
|
}
|
|
271
51
|
//#endregion
|
|
272
|
-
export {
|
|
52
|
+
export { l as invalidateApprovalDecisionQueries, u as reconcileApprovalDecisionQueries };
|