@tesouro/embedded-components-react 0.7.57 → 0.7.59
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.css +0 -28
- package/dist/lib/monite-sdk.d.ts +1411 -3171
- package/dist/lib/monite-sdk.js +53 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +58 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +51 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +150 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1224 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +174 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +3 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +10 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +71 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +39 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +10 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +50 -1222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +66 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +168 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +64 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +78 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +57 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +40 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +564 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +148 -557
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +18 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +1 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +17 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +162 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +41 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +49 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +60 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +27 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +39 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +80 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +3 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +3 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +37 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +81 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +113 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +125 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +50 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +119 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +5 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +34 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +56 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +73 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +26 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +57 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +182 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +3 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +8 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +15 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +5 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +81 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +97 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +30 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +101 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +89 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +34 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +173 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +11 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +68 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +209 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +89 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +23 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +158 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +95 -352
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +20 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +6 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +9 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +131 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +215 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +72 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +184 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +206 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +100 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +63 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +54 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +91 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +40 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +76 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +85 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +2 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +23 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +156 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +827 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +71 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +6 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +14 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +42 -929
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +5 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +5 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +6 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +30 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +69 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +52 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +47 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +46 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +37 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +63 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +36 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +17 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +53 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +12 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +24 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +69 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +78 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +3 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +55 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +37 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +104 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +54 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +52 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +0 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +0 -242
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +0 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +0 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +0 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +0 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +0 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +0 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -173
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +0 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +0 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +0 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +0 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +0 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +0 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +0 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +0 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +0 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +0 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +0 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +0 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +0 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +0 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +0 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +0 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +0 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +0 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +0 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +0 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +0 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +0 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +0 -97
package/dist/lib/monite-sdk.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import { ServiceOperationQuery, ServiceOperationMutation, QraftContextValue, requestFn } from '@openapi-qraft/react';
|
|
5
|
-
import { SxProps, Theme as Theme$1, MenuProps, ButtonProps } from '@mui/material';
|
|
6
|
-
import { IconButtonProps } from '@mui/material/IconButton';
|
|
7
|
-
import { Theme } from '@mui/material/styles';
|
|
8
|
-
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
9
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
3
|
+
import { ReactNode, ComponentProps, Ref, MouseEvent, FocusEvent, ContextType, Context, SyntheticEvent } from 'react';
|
|
10
4
|
import { SortDirection } from '@tanstack/react-table';
|
|
11
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
12
6
|
import { VariantProps } from 'class-variance-authority';
|
|
13
7
|
import { DialogProps } from '@mui/material/Dialog';
|
|
14
8
|
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
9
|
+
import { SxProps, Theme as Theme$1, MenuProps, ButtonProps } from '@mui/material';
|
|
10
|
+
import { IconButtonProps } from '@mui/material/IconButton';
|
|
11
|
+
import { Theme } from '@mui/material/styles';
|
|
15
12
|
import { Messages, I18n } from '@lingui/core';
|
|
16
13
|
import { DeepRequired, SetFieldValue } from 'react-hook-form';
|
|
14
|
+
import { ServiceOperationQuery, ServiceOperationMutation, QraftContextValue, requestFn } from '@openapi-qraft/react';
|
|
15
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
16
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
17
17
|
import { Locale } from 'date-fns';
|
|
18
18
|
export { toast } from 'react-hot-toast';
|
|
19
19
|
import * as _mui_x_data_grid_internals from '@mui/x-data-grid/internals';
|
|
@@ -69875,20 +69875,20 @@ type Services = {
|
|
|
69875
69875
|
identity: IdentityService;
|
|
69876
69876
|
};
|
|
69877
69877
|
|
|
69878
|
-
declare const FILTER_TYPE_SEARCH$
|
|
69878
|
+
declare const FILTER_TYPE_SEARCH$1 = "search";
|
|
69879
69879
|
declare const FILTER_TYPE_CREATED_AT = "created_at";
|
|
69880
69880
|
declare const FILTER_TYPE_CREATED_BY = "created_by";
|
|
69881
69881
|
|
|
69882
|
-
type FilterTypes
|
|
69883
|
-
[FILTER_TYPE_SEARCH$
|
|
69882
|
+
type FilterTypes = {
|
|
69883
|
+
[FILTER_TYPE_SEARCH$1]?: string | null;
|
|
69884
69884
|
[FILTER_TYPE_CREATED_AT]?: Date | null;
|
|
69885
69885
|
[FILTER_TYPE_CREATED_BY]?: string | null;
|
|
69886
69886
|
};
|
|
69887
|
-
type FilterValue$
|
|
69887
|
+
type FilterValue$1 = Date | string | null;
|
|
69888
69888
|
|
|
69889
69889
|
interface onFilterChangeParams {
|
|
69890
|
-
field: keyof FilterTypes
|
|
69891
|
-
value: FilterValue$
|
|
69890
|
+
field: keyof FilterTypes;
|
|
69891
|
+
value: FilterValue$1;
|
|
69892
69892
|
}
|
|
69893
69893
|
interface ApprovalPoliciesTableProps {
|
|
69894
69894
|
onChangeFilter?: (filter: onFilterChangeParams) => void;
|
|
@@ -69938,16 +69938,426 @@ interface ApprovalRequestsTableBaseProps {
|
|
|
69938
69938
|
type ApprovalRequestsTableProps = ApprovalRequestsTableBaseProps | (ApprovalRequestsTableBaseProps & UseApprovalRequestActionsCellProps);
|
|
69939
69939
|
declare const ApprovalRequestsTable: (props: ApprovalRequestsTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69940
69940
|
|
|
69941
|
-
type
|
|
69942
|
-
|
|
69941
|
+
type ProductsProps = {
|
|
69942
|
+
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
69943
|
+
};
|
|
69944
|
+
declare const Products: (props: ProductsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69945
|
+
|
|
69946
|
+
declare const FILTER_TYPE_SEARCH = "search";
|
|
69947
|
+
declare const FILTER_TYPE_TYPE = "type";
|
|
69948
|
+
declare const FILTER_TYPE_UNITS = "units";
|
|
69949
|
+
|
|
69950
|
+
type Filters = {
|
|
69951
|
+
[FILTER_TYPE_SEARCH]?: string | null;
|
|
69952
|
+
[FILTER_TYPE_TYPE]?: ProductServiceTypeEnum | null;
|
|
69953
|
+
[FILTER_TYPE_UNITS]?: string | null;
|
|
69954
|
+
};
|
|
69955
|
+
type FilterValue = ProductServiceTypeEnum | 'all' | string | null;
|
|
69956
|
+
type ProductServiceTypeEnum = components['schemas']['ProductServiceTypeEnum'];
|
|
69957
|
+
type ProductServiceResponse = components['schemas']['ProductServiceResponse'];
|
|
69958
|
+
|
|
69959
|
+
type ProductCursorFields = components['schemas']['ProductCursorFields'];
|
|
69960
|
+
interface ProductsTableSortModel {
|
|
69961
|
+
field: ProductCursorFields;
|
|
69962
|
+
sort: NonNullable<SortDirection>;
|
|
69963
|
+
}
|
|
69964
|
+
interface ProductTableProps {
|
|
69965
|
+
onFilterChanged?: (filter: {
|
|
69966
|
+
field: keyof Filters;
|
|
69967
|
+
value: FilterValue;
|
|
69968
|
+
}) => void;
|
|
69969
|
+
onSortChanged?: (params: ProductsTableSortModel) => void;
|
|
69970
|
+
onRowClick?: (id: string) => void;
|
|
69971
|
+
onDeleted?: (productId: string) => void;
|
|
69972
|
+
openCreateModal?: () => void;
|
|
69973
|
+
}
|
|
69974
|
+
declare const ProductsTable: (props: ProductTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69975
|
+
|
|
69976
|
+
interface CreateProductProps {
|
|
69977
|
+
open: boolean;
|
|
69978
|
+
onClose: () => void;
|
|
69979
|
+
onCreated?: (product: ProductServiceResponse) => void;
|
|
69980
|
+
}
|
|
69981
|
+
declare const CreateProduct: (props: CreateProductProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69982
|
+
|
|
69983
|
+
interface ProductDetailsProps {
|
|
69984
|
+
id: string;
|
|
69985
|
+
open: boolean;
|
|
69986
|
+
onClose: () => void;
|
|
69987
|
+
onUpdated?: (product: ProductServiceResponse) => void;
|
|
69988
|
+
onDeleted?: (productId: ProductServiceResponse['id']) => void;
|
|
69989
|
+
showActionsMenu?: boolean;
|
|
69990
|
+
}
|
|
69991
|
+
declare const ProductDetails: (props: ProductDetailsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
69992
|
+
|
|
69993
|
+
declare const typographyVariants: (props?: ({
|
|
69994
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "caption" | null | undefined;
|
|
69995
|
+
color?: "default" | "primary" | "muted" | "destructive" | null | undefined;
|
|
69996
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
69997
|
+
type TypographyElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
69998
|
+
type TypographyVariants = VariantProps<typeof typographyVariants>;
|
|
69999
|
+
interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, TypographyVariants {
|
|
70000
|
+
component?: TypographyElement;
|
|
70001
|
+
}
|
|
70002
|
+
declare function Typography({ className, variant, color, component, children, ...props }: TypographyProps): React.DetailedReactHTMLElement<{
|
|
70003
|
+
id?: string | undefined;
|
|
70004
|
+
style?: React.CSSProperties | undefined;
|
|
70005
|
+
content?: string | undefined;
|
|
70006
|
+
translate?: "yes" | "no" | undefined;
|
|
70007
|
+
slot?: string | undefined;
|
|
70008
|
+
title?: string | undefined;
|
|
70009
|
+
defaultChecked?: boolean | undefined;
|
|
70010
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
70011
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
70012
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
70013
|
+
accessKey?: string | undefined;
|
|
70014
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
70015
|
+
autoFocus?: boolean | undefined;
|
|
70016
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
70017
|
+
contextMenu?: string | undefined;
|
|
70018
|
+
dir?: string | undefined;
|
|
70019
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
70020
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
70021
|
+
hidden?: boolean | undefined;
|
|
70022
|
+
lang?: string | undefined;
|
|
70023
|
+
nonce?: string | undefined;
|
|
70024
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
70025
|
+
tabIndex?: number | undefined;
|
|
70026
|
+
radioGroup?: string | undefined;
|
|
70027
|
+
role?: React.AriaRole | undefined;
|
|
70028
|
+
about?: string | undefined;
|
|
70029
|
+
datatype?: string | undefined;
|
|
70030
|
+
inlist?: any;
|
|
70031
|
+
prefix?: string | undefined;
|
|
70032
|
+
property?: string | undefined;
|
|
70033
|
+
rel?: string | undefined;
|
|
70034
|
+
resource?: string | undefined;
|
|
70035
|
+
rev?: string | undefined;
|
|
70036
|
+
typeof?: string | undefined;
|
|
70037
|
+
vocab?: string | undefined;
|
|
70038
|
+
autoCorrect?: string | undefined;
|
|
70039
|
+
autoSave?: string | undefined;
|
|
70040
|
+
itemProp?: string | undefined;
|
|
70041
|
+
itemScope?: boolean | undefined;
|
|
70042
|
+
itemType?: string | undefined;
|
|
70043
|
+
itemID?: string | undefined;
|
|
70044
|
+
itemRef?: string | undefined;
|
|
70045
|
+
results?: number | undefined;
|
|
70046
|
+
security?: string | undefined;
|
|
70047
|
+
unselectable?: "on" | "off" | undefined;
|
|
70048
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
70049
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
70050
|
+
popoverTarget?: string | undefined;
|
|
70051
|
+
inert?: boolean | undefined;
|
|
70052
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
70053
|
+
is?: string | undefined;
|
|
70054
|
+
exportparts?: string | undefined;
|
|
70055
|
+
part?: string | undefined;
|
|
70056
|
+
"aria-activedescendant"?: string | undefined;
|
|
70057
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
70058
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
70059
|
+
"aria-braillelabel"?: string | undefined;
|
|
70060
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
70061
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
70062
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
70063
|
+
"aria-colcount"?: number | undefined;
|
|
70064
|
+
"aria-colindex"?: number | undefined;
|
|
70065
|
+
"aria-colindextext"?: string | undefined;
|
|
70066
|
+
"aria-colspan"?: number | undefined;
|
|
70067
|
+
"aria-controls"?: string | undefined;
|
|
70068
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
70069
|
+
"aria-describedby"?: string | undefined;
|
|
70070
|
+
"aria-description"?: string | undefined;
|
|
70071
|
+
"aria-details"?: string | undefined;
|
|
70072
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
70073
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
70074
|
+
"aria-errormessage"?: string | undefined;
|
|
70075
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
70076
|
+
"aria-flowto"?: string | undefined;
|
|
70077
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
70078
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
70079
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
70080
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
70081
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
70082
|
+
"aria-label"?: string | undefined;
|
|
70083
|
+
"aria-labelledby"?: string | undefined;
|
|
70084
|
+
"aria-level"?: number | undefined;
|
|
70085
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
70086
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
70087
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
70088
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
70089
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
70090
|
+
"aria-owns"?: string | undefined;
|
|
70091
|
+
"aria-placeholder"?: string | undefined;
|
|
70092
|
+
"aria-posinset"?: number | undefined;
|
|
70093
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
70094
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
70095
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
70096
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
70097
|
+
"aria-roledescription"?: string | undefined;
|
|
70098
|
+
"aria-rowcount"?: number | undefined;
|
|
70099
|
+
"aria-rowindex"?: number | undefined;
|
|
70100
|
+
"aria-rowindextext"?: string | undefined;
|
|
70101
|
+
"aria-rowspan"?: number | undefined;
|
|
70102
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
70103
|
+
"aria-setsize"?: number | undefined;
|
|
70104
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
70105
|
+
"aria-valuemax"?: number | undefined;
|
|
70106
|
+
"aria-valuemin"?: number | undefined;
|
|
70107
|
+
"aria-valuenow"?: number | undefined;
|
|
70108
|
+
"aria-valuetext"?: string | undefined;
|
|
70109
|
+
dangerouslySetInnerHTML?: {
|
|
70110
|
+
__html: string | TrustedHTML;
|
|
70111
|
+
} | undefined;
|
|
70112
|
+
onCopy?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70113
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70114
|
+
onCut?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70115
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70116
|
+
onPaste?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70117
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
70118
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70119
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70120
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70121
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70122
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70123
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
70124
|
+
onFocus?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
70125
|
+
onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
70126
|
+
onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
70127
|
+
onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
70128
|
+
onChange?: React.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
70129
|
+
onChangeCapture?: React.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
70130
|
+
onBeforeInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
70131
|
+
onBeforeInputCapture?: React.InputEventHandler<HTMLElement> | undefined;
|
|
70132
|
+
onInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
70133
|
+
onInputCapture?: React.InputEventHandler<HTMLElement> | undefined;
|
|
70134
|
+
onReset?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70135
|
+
onResetCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70136
|
+
onSubmit?: React.SubmitEventHandler<HTMLElement> | undefined;
|
|
70137
|
+
onSubmitCapture?: React.SubmitEventHandler<HTMLElement> | undefined;
|
|
70138
|
+
onInvalid?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70139
|
+
onInvalidCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70140
|
+
onLoad?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70141
|
+
onLoadCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70142
|
+
onError?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70143
|
+
onErrorCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70144
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70145
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70146
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70147
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70148
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70149
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
70150
|
+
onAbort?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70151
|
+
onAbortCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70152
|
+
onCanPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70153
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70154
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70155
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70156
|
+
onDurationChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70157
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70158
|
+
onEmptied?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70159
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70160
|
+
onEncrypted?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70161
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70162
|
+
onEnded?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70163
|
+
onEndedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70164
|
+
onLoadedData?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70165
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70166
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70167
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70168
|
+
onLoadStart?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70169
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70170
|
+
onPause?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70171
|
+
onPauseCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70172
|
+
onPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70173
|
+
onPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70174
|
+
onPlaying?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70175
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70176
|
+
onProgress?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70177
|
+
onProgressCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70178
|
+
onRateChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70179
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70180
|
+
onSeeked?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70181
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70182
|
+
onSeeking?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70183
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70184
|
+
onStalled?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70185
|
+
onStalledCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70186
|
+
onSuspend?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70187
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70188
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70189
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70190
|
+
onVolumeChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70191
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70192
|
+
onWaiting?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70193
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70194
|
+
onAuxClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70195
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70196
|
+
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70197
|
+
onClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70198
|
+
onContextMenu?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70199
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70200
|
+
onDoubleClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70201
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70202
|
+
onDrag?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70203
|
+
onDragCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70204
|
+
onDragEnd?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70205
|
+
onDragEndCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70206
|
+
onDragEnter?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70207
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70208
|
+
onDragExit?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70209
|
+
onDragExitCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70210
|
+
onDragLeave?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70211
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70212
|
+
onDragOver?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70213
|
+
onDragOverCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70214
|
+
onDragStart?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70215
|
+
onDragStartCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70216
|
+
onDrop?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70217
|
+
onDropCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
70218
|
+
onMouseDown?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70219
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70220
|
+
onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70221
|
+
onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70222
|
+
onMouseMove?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70223
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70224
|
+
onMouseOut?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70225
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70226
|
+
onMouseOver?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70227
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70228
|
+
onMouseUp?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70229
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
70230
|
+
onSelect?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70231
|
+
onSelectCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
70232
|
+
onTouchCancel?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70233
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70234
|
+
onTouchEnd?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70235
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70236
|
+
onTouchMove?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70237
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70238
|
+
onTouchStart?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70239
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
70240
|
+
onPointerDown?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70241
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70242
|
+
onPointerMove?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70243
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70244
|
+
onPointerUp?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70245
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70246
|
+
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70247
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70248
|
+
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70249
|
+
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70250
|
+
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70251
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70252
|
+
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70253
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70254
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70255
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70256
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70257
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
70258
|
+
onScroll?: React.UIEventHandler<HTMLElement> | undefined;
|
|
70259
|
+
onScrollCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
70260
|
+
onScrollEnd?: React.UIEventHandler<HTMLElement> | undefined;
|
|
70261
|
+
onScrollEndCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
70262
|
+
onWheel?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
70263
|
+
onWheelCapture?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
70264
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70265
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70266
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70267
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70268
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70269
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
70270
|
+
onToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
70271
|
+
onBeforeToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
70272
|
+
onTransitionCancel?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70273
|
+
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70274
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70275
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70276
|
+
onTransitionRun?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70277
|
+
onTransitionRunCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70278
|
+
onTransitionStart?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70279
|
+
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
70280
|
+
className: string;
|
|
70281
|
+
}, HTMLElement>;
|
|
70282
|
+
|
|
70283
|
+
type PageHeaderProps = {
|
|
70284
|
+
title: ReactNode;
|
|
70285
|
+
extra?: ReactNode;
|
|
70286
|
+
className?: string;
|
|
70287
|
+
/** Title size. Defaults to `h2` (30px) for standalone Monite pages; the
|
|
70288
|
+
* settings-embedded surfaces pass `h3` (24px) to match the first-party
|
|
70289
|
+
* section headings they sit alongside. */
|
|
70290
|
+
titleVariant?: ComponentProps<typeof Typography>['variant'];
|
|
69943
70291
|
};
|
|
69944
|
-
|
|
69945
|
-
|
|
69946
|
-
type
|
|
69947
|
-
|
|
69948
|
-
|
|
70292
|
+
declare const PageHeader: ({ title, extra, className, titleVariant, }: PageHeaderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
70293
|
+
|
|
70294
|
+
type ALIGN_DIALOG_TYPES = 'left' | 'right';
|
|
70295
|
+
declare module '@mui/material/transitions' {
|
|
70296
|
+
interface TransitionProps {
|
|
70297
|
+
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
70298
|
+
}
|
|
70299
|
+
}
|
|
70300
|
+
interface MoniteDialogProps extends DialogProps {
|
|
70301
|
+
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
70302
|
+
onClosed?: () => void;
|
|
70303
|
+
}
|
|
70304
|
+
|
|
70305
|
+
interface DialogContextType {
|
|
70306
|
+
isDialogContent: boolean;
|
|
70307
|
+
onClose?: (...args: any[]) => void;
|
|
70308
|
+
}
|
|
70309
|
+
declare const useDialog: () => DialogContextType | undefined;
|
|
70310
|
+
declare const Dialog: ({ ref, ...props }: MoniteDialogProps & {
|
|
70311
|
+
ref?: Ref<HTMLDivElement>;
|
|
70312
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
70313
|
+
|
|
70314
|
+
declare function Integrations(): _emotion_react_jsx_runtime.JSX.Element;
|
|
70315
|
+
|
|
70316
|
+
declare const FinanceBanner: (props: FinanceBannerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
70317
|
+
type FinanceBannerProps = {
|
|
70318
|
+
/** `enableServicingBanner` is a boolean flag that enables the `FinanceBanner` to be a small summarized version of the financing tab, but only works when entity is onboarded and is servicing. */
|
|
70319
|
+
enableServicingBanner?: boolean;
|
|
70320
|
+
/** Function that is called when clicking on View Details button.
|
|
70321
|
+
* The button will only appear when entity is servicing, enableServicingBanner is true and handleViewDetails is passed.
|
|
70322
|
+
* The purpose of this button is to give the user a way to navigate to the financing page through it. */
|
|
70323
|
+
handleViewDetails?: () => void;
|
|
69949
70324
|
};
|
|
69950
70325
|
|
|
70326
|
+
declare const FinanceIntegrationCard: () => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
70327
|
+
|
|
70328
|
+
interface FinanceInvoiceProps {
|
|
70329
|
+
invoice: components['schemas']['InvoiceResponsePayload'];
|
|
70330
|
+
}
|
|
70331
|
+
declare const FinanceInvoice: ({ invoice }: FinanceInvoiceProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
70332
|
+
|
|
70333
|
+
declare const FinanceTab: ({ onRowClick, }: {
|
|
70334
|
+
onRowClick?: (invoice_id: string) => void;
|
|
70335
|
+
}) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
70336
|
+
|
|
70337
|
+
declare const Combobox: typeof Combobox$1.Root;
|
|
70338
|
+
declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70339
|
+
declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70340
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
|
|
70341
|
+
showTrigger?: boolean;
|
|
70342
|
+
showClear?: boolean;
|
|
70343
|
+
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
70344
|
+
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, container, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & {
|
|
70345
|
+
container?: HTMLElement | React.RefObject<HTMLElement | null> | null;
|
|
70346
|
+
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
70347
|
+
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70348
|
+
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70349
|
+
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70350
|
+
declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70351
|
+
declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70352
|
+
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70353
|
+
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70354
|
+
declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70355
|
+
declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
|
|
70356
|
+
showRemove?: boolean;
|
|
70357
|
+
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
70358
|
+
declare function ComboboxChipsInput({ className, children, ...props }: Combobox$1.Input.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
70359
|
+
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
70360
|
+
|
|
69951
70361
|
type FinanceStepListItem = {
|
|
69952
70362
|
id: string;
|
|
69953
70363
|
text: string;
|
|
@@ -69963,262 +70373,1016 @@ type FinanceStep = {
|
|
|
69963
70373
|
};
|
|
69964
70374
|
};
|
|
69965
70375
|
|
|
69966
|
-
|
|
69967
|
-
|
|
69968
|
-
|
|
69969
|
-
|
|
69970
|
-
|
|
69971
|
-
|
|
69972
|
-
|
|
69973
|
-
|
|
69974
|
-
|
|
69975
|
-
|
|
69976
|
-
|
|
69977
|
-
|
|
69978
|
-
|
|
69979
|
-
|
|
69980
|
-
|
|
69981
|
-
|
|
69982
|
-
} | {
|
|
69983
|
-
id: string;
|
|
69984
|
-
created_at: string;
|
|
69985
|
-
updated_at: string;
|
|
69986
|
-
created_automatically: boolean;
|
|
69987
|
-
created_by_entity_user_id?: string;
|
|
69988
|
-
default_billing_address_id?: string;
|
|
69989
|
-
default_shipping_address_id?: string;
|
|
69990
|
-
external_reference?: string;
|
|
69991
|
-
is_customer: boolean;
|
|
69992
|
-
is_vendor: boolean;
|
|
69993
|
-
language?: components["schemas"]["LanguageCodeEnum"];
|
|
69994
|
-
organization: components["schemas"]["CounterpartOrganizationResponse"];
|
|
69995
|
-
reminders_enabled?: boolean;
|
|
69996
|
-
tax_id?: string;
|
|
69997
|
-
type: components["schemas"]["CounterpartType"];
|
|
69998
|
-
}, {
|
|
69999
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70000
|
-
} | {
|
|
70001
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70002
|
-
} | Error>;
|
|
70003
|
-
|
|
70004
|
-
type CounterpartResponse = components['schemas']['CounterpartIndividualRootResponse'] | components['schemas']['CounterpartOrganizationRootResponse'];
|
|
70005
|
-
declare const useCounterpartList: (parameters?: Services["finops"]["getCounterparts"]["types"]["parameters"]) => _tanstack_react_query.UseQueryResult<{
|
|
70006
|
-
data: components["schemas"]["CounterpartResponse"][];
|
|
70007
|
-
next_pagination_token?: string;
|
|
70008
|
-
prev_pagination_token?: string;
|
|
70009
|
-
}, {
|
|
70010
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70011
|
-
} | {
|
|
70012
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70013
|
-
} | Error>;
|
|
70014
|
-
|
|
70015
|
-
declare const useCounterpartAddresses: (counterpartId?: string) => _tanstack_react_query.UseQueryResult<{
|
|
70016
|
-
data: components["schemas"]["CounterpartAddressResponseWithCounterpartID"][];
|
|
70017
|
-
}, {
|
|
70018
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70019
|
-
} | {
|
|
70020
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70021
|
-
} | Error>;
|
|
70376
|
+
interface IconWrapperEvents {
|
|
70377
|
+
onHover?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
70378
|
+
onFocus?: (event: FocusEvent<HTMLButtonElement>) => void;
|
|
70379
|
+
onBlur?: (event: FocusEvent<HTMLButtonElement>) => void;
|
|
70380
|
+
}
|
|
70381
|
+
interface MoniteIconWrapperProps extends IconButtonProps, IconWrapperEvents {
|
|
70382
|
+
showCloseIcon?: boolean;
|
|
70383
|
+
icon?: ReactNode;
|
|
70384
|
+
fallbackIcon?: ReactNode;
|
|
70385
|
+
tooltip?: string;
|
|
70386
|
+
color?: 'inherit' | 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
70387
|
+
sx?: SxProps<Theme>;
|
|
70388
|
+
isDynamic?: boolean;
|
|
70389
|
+
ariaLabelOverride?: string;
|
|
70390
|
+
ref?: Ref<HTMLButtonElement>;
|
|
70391
|
+
}
|
|
70022
70392
|
|
|
70023
|
-
|
|
70024
|
-
|
|
70025
|
-
}, {
|
|
70026
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70027
|
-
} | {
|
|
70028
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70029
|
-
} | Error>;
|
|
70393
|
+
type PaginationLayout = 'default' | 'reversed' | 'centered' | 'custom';
|
|
70394
|
+
type PaginationPosition = 'left' | 'right' | 'center';
|
|
70030
70395
|
|
|
70031
|
-
|
|
70032
|
-
|
|
70033
|
-
|
|
70034
|
-
|
|
70035
|
-
|
|
70036
|
-
|
|
70037
|
-
|
|
70038
|
-
|
|
70039
|
-
|
|
70040
|
-
|
|
70041
|
-
|
|
70042
|
-
|
|
70043
|
-
|
|
70044
|
-
|
|
70396
|
+
interface TablePaginationSettings {
|
|
70397
|
+
/** Controls the layout of pagination controls */
|
|
70398
|
+
paginationLayout?: PaginationLayout;
|
|
70399
|
+
/** Position of navigation arrows when paginationLayout is 'custom' */
|
|
70400
|
+
navigationPosition?: PaginationPosition;
|
|
70401
|
+
/** Position of page size selector when paginationLayout is 'custom' */
|
|
70402
|
+
pageSizePosition?: PaginationPosition;
|
|
70403
|
+
}
|
|
70404
|
+
interface ReceivableSettings extends TablePaginationSettings {
|
|
70405
|
+
pageSizeOptions: number[];
|
|
70406
|
+
}
|
|
70407
|
+
/**
|
|
70408
|
+
* Configuration settings for the onboarding component.
|
|
70409
|
+
*
|
|
70410
|
+
* ## Onboarding Callback Architecture
|
|
70411
|
+
*
|
|
70412
|
+
* The Monite SDK supports different types of onboarding flows with corresponding callbacks:
|
|
70413
|
+
*
|
|
70414
|
+
* ### 1. General Onboarding (`onComplete`)
|
|
70415
|
+
* - **Trigger**: When all onboarding requirements are fulfilled (requirements.length === 0)
|
|
70416
|
+
* - **Use Case**: General onboarding completion, backward compatibility
|
|
70417
|
+
* - **Business Logic**: Called when the onboarding component completes all required steps
|
|
70418
|
+
*
|
|
70419
|
+
* ### 2. Payments Onboarding (`onPaymentsOnboardingComplete`)
|
|
70420
|
+
* - **Trigger**: When payments onboarding requirements are fulfilled
|
|
70421
|
+
* - **Use Case**: Specific to payments onboarding completion
|
|
70422
|
+
* - **Business Logic**: Called when entity can make/receive payments via Monite payment rails
|
|
70423
|
+
* - **Note**: Currently triggered alongside `onComplete` as they represent the same flow
|
|
70424
|
+
*
|
|
70425
|
+
* ### 3. Working Capital Onboarding (`onWorkingCapitalOnboardingComplete`)
|
|
70426
|
+
* - **Trigger**: When business status transitions from 'INPUT_REQUIRED' or 'NEW' to 'WAITING_FOR_OFFERS'
|
|
70427
|
+
* - **Use Case**: Financing/working capital onboarding completion
|
|
70428
|
+
* - **Business Logic**: Called when entity completes onboarding for working capital services
|
|
70429
|
+
* - **Implementation**: Handled in the financing flow (useFinancing hook)
|
|
70430
|
+
*
|
|
70431
|
+
* ### Event Flow Architecture
|
|
70432
|
+
*
|
|
70433
|
+
* ```
|
|
70434
|
+
* Component → useComponentSettings() → [domain]Callbacks → MoniteEvents.enhance[Domain]Settings() → EVENT emission
|
|
70435
|
+
* ```
|
|
70436
|
+
*
|
|
70437
|
+
* All callbacks are enhanced with event emission capabilities in the drop-in package.
|
|
70438
|
+
*/
|
|
70439
|
+
interface OnboardingSettings {
|
|
70440
|
+
/**
|
|
70441
|
+
* Custom footer logo URL for the Onboarding pages.
|
|
70442
|
+
* If provided, the logo will be displayed instead of the Monite logo.
|
|
70443
|
+
* Requires `onboardingFooterWebsiteUrl` to be provided as well.
|
|
70444
|
+
*/
|
|
70445
|
+
footerLogoUrl?: string;
|
|
70446
|
+
/**
|
|
70447
|
+
* Custom footer website URL for the Onboarding pages.
|
|
70448
|
+
* If provided, the onboardingFooterLogoUrl logo will link to this URL.
|
|
70449
|
+
*/
|
|
70450
|
+
footerWebsiteUrl?: string;
|
|
70451
|
+
/**
|
|
70452
|
+
* If true, hides the footer on the Onboarding pages.
|
|
70453
|
+
* Defaults to false.
|
|
70454
|
+
*/
|
|
70455
|
+
hideFooter?: boolean;
|
|
70456
|
+
/**
|
|
70457
|
+
* Whether to show the continue button on the onboarding completed page.
|
|
70458
|
+
*
|
|
70459
|
+
* @default false
|
|
70460
|
+
*/
|
|
70461
|
+
showContinueButton?: boolean;
|
|
70462
|
+
/**
|
|
70463
|
+
* Allowed currencies to restrict options in the onboarding forms.
|
|
70464
|
+
* The first currency in the array will be used as the default value.
|
|
70465
|
+
*
|
|
70466
|
+
* @example ['USD', 'EUR']
|
|
70467
|
+
*/
|
|
70468
|
+
allowedCurrencies?: components['schemas']['CurrencyEnum'][];
|
|
70469
|
+
/**
|
|
70470
|
+
* Allowed country codes to restrict options in the onboarding forms.
|
|
70471
|
+
* The first country code in the array will be used as the default value.
|
|
70472
|
+
*
|
|
70473
|
+
* @example ['US', 'GB']
|
|
70474
|
+
*/
|
|
70475
|
+
allowedCountries?: components['schemas']['AllowedCountries'][];
|
|
70476
|
+
/**
|
|
70477
|
+
* Called when the onboarding process is completed.
|
|
70478
|
+
* This happens when all onboarding requirements have been fulfilled.
|
|
70479
|
+
*
|
|
70480
|
+
* @param {string} entityId - The ID of the entity
|
|
70481
|
+
* @returns {void}
|
|
70482
|
+
*/
|
|
70483
|
+
onComplete?: (entityId: string) => void;
|
|
70484
|
+
/**
|
|
70485
|
+
* Called when the continue button is clicked on the onboarding completed page.
|
|
70486
|
+
*
|
|
70487
|
+
* @returns {void}
|
|
70488
|
+
*/
|
|
70489
|
+
onContinue?: () => void;
|
|
70490
|
+
/**
|
|
70491
|
+
* Called when working capital onboarding is completed.
|
|
70492
|
+
* This happens when the business status transitions to 'ONBOARDED'.
|
|
70493
|
+
*
|
|
70494
|
+
* @param {string} entityId - The ID of the entity
|
|
70495
|
+
* @returns {void}
|
|
70496
|
+
*/
|
|
70497
|
+
onWorkingCapitalOnboardingComplete?: (entityId: string) => void;
|
|
70498
|
+
/**
|
|
70499
|
+
* Called when payments onboarding is completed.
|
|
70500
|
+
* Note: This is currently triggered when all onboarding requirements are completed.
|
|
70501
|
+
* Future versions may tie this to a specific payments onboarding status.
|
|
70502
|
+
*
|
|
70503
|
+
* @param {string} entityId - The ID of the entity
|
|
70504
|
+
* @returns {void}
|
|
70505
|
+
*/
|
|
70506
|
+
onPaymentsOnboardingComplete?: (entityId: string) => void;
|
|
70507
|
+
}
|
|
70508
|
+
interface FinancingSettings {
|
|
70509
|
+
/**
|
|
70510
|
+
* Enables finance widget buttons inside finance card in My financing tab when true, if false,
|
|
70511
|
+
* buttons are shown on the top right corner instead.
|
|
70512
|
+
*/
|
|
70513
|
+
enableFinanceWidgetButton?: boolean;
|
|
70514
|
+
/**
|
|
70515
|
+
* Describes the step by step of how financing an invoice works, this is shown in a drawer when clicking on
|
|
70516
|
+
* `How does invoice financing work?` button
|
|
70517
|
+
*/
|
|
70518
|
+
financeSteps: FinanceStep[];
|
|
70519
|
+
}
|
|
70520
|
+
interface ComponentSettings {
|
|
70521
|
+
general: {
|
|
70522
|
+
iconWrapper: Partial<MoniteIconWrapperProps>;
|
|
70523
|
+
};
|
|
70524
|
+
approvalPolicies: {
|
|
70525
|
+
pageSizeOptions: number[];
|
|
70526
|
+
} & TablePaginationSettings;
|
|
70527
|
+
approvalRequests: {
|
|
70528
|
+
pageSizeOptions: number[];
|
|
70529
|
+
} & TablePaginationSettings;
|
|
70530
|
+
products: {
|
|
70531
|
+
pageSizeOptions: number[];
|
|
70532
|
+
} & TablePaginationSettings;
|
|
70533
|
+
receivables: Partial<ReceivableSettings>;
|
|
70534
|
+
userRoles: {
|
|
70535
|
+
pageSizeOptions: number[];
|
|
70536
|
+
} & TablePaginationSettings;
|
|
70537
|
+
onboarding: Partial<OnboardingSettings>;
|
|
70538
|
+
financing: Partial<FinancingSettings>;
|
|
70539
|
+
}
|
|
70540
|
+
|
|
70541
|
+
type MoniteSupportedMessages = Messages;
|
|
70542
|
+
type MoniteLocale = {
|
|
70543
|
+
/**
|
|
70544
|
+
* `code` responsible for internationalised Widgets language, internationalised number and currency formatting.
|
|
70545
|
+
* By default, it uses `navigator.language` as a fallback in MoniteProvider.
|
|
70546
|
+
* Intl format values are accepted and won't cause any trouble.
|
|
70547
|
+
*
|
|
70548
|
+
* E.g. 'en-GB', 'de-DE', etc.
|
|
70549
|
+
*/
|
|
70550
|
+
code?: string;
|
|
70551
|
+
/**
|
|
70552
|
+
* `messages` responsible for internationalised Widgets translation.
|
|
70553
|
+
* By default, it uses `enLocaleMessages` as a fallback in MoniteProvider.
|
|
70554
|
+
*
|
|
70555
|
+
* The message object is a key-value pair where the key is the Message ID,
|
|
70556
|
+
* and the value is the message string or a `LinguiContextMessage` object.
|
|
70557
|
+
*
|
|
70558
|
+
* If you need to use context (`msgctxt`) for differentiating messages with the same ID,
|
|
70559
|
+
* you can use the LinguiContextMessage object.
|
|
70560
|
+
*
|
|
70561
|
+
* @example Without context:
|
|
70562
|
+
* ```ts
|
|
70563
|
+
* {
|
|
70564
|
+
* "Hello": "Hallo"
|
|
70565
|
+
* }
|
|
70566
|
+
* ```
|
|
70567
|
+
*
|
|
70568
|
+
* @example With the context:
|
|
70569
|
+
* ```ts
|
|
70570
|
+
* {
|
|
70571
|
+
* "View": [
|
|
70572
|
+
* { msgstr: "Rechnung ansehen", msgctxt: "InvoicesTableRowActionMenu" },
|
|
70573
|
+
* { msgstr: "Siehe" },
|
|
70574
|
+
* ]
|
|
70575
|
+
* }
|
|
70576
|
+
* ```
|
|
70577
|
+
* In the example with context, `InvoicesTableRowActionMenu` is the context for the message "View".
|
|
70578
|
+
* This can be useful when the same message ID needs to be translated differently in different contexts.
|
|
70579
|
+
*/
|
|
70580
|
+
messages?: MoniteSupportedMessages;
|
|
70581
|
+
/**
|
|
70582
|
+
* `currencyNumberFormat` responsible for currency formatting.
|
|
70583
|
+
*/
|
|
70584
|
+
currencyNumberFormat?: {
|
|
70585
|
+
/**
|
|
70586
|
+
* Determines the format in which currency values are displayed.
|
|
70587
|
+
*
|
|
70588
|
+
* Possible values are:
|
|
70589
|
+
* - 'symbol': The currency is represented using its symbol (e.g., $ for USD)
|
|
70590
|
+
* - 'code': The currency is represented using its ISO code (e.g., USD for US Dollar)
|
|
70591
|
+
* - 'name': The currency is represented using its full name (e.g., US Dollar)
|
|
70592
|
+
*/
|
|
70593
|
+
display?: 'symbol' | 'code' | 'name';
|
|
70594
|
+
/**
|
|
70595
|
+
* The locale code to use for formatting the currency number.
|
|
70596
|
+
* If not provided, the `code` will be used.
|
|
70597
|
+
*
|
|
70598
|
+
* @example 'en-US', 'de-DE', 'en-150', etc.
|
|
70599
|
+
*/
|
|
70600
|
+
localeCode?: string;
|
|
70601
|
+
};
|
|
70602
|
+
/**
|
|
70603
|
+
* `dateFormat` responsible for date & time formatting. It is used in the `Intl.DateTimeFormat` constructor.
|
|
70604
|
+
*
|
|
70605
|
+
* By default, it uses the following options:
|
|
70606
|
+
* ```ts
|
|
70607
|
+
* {
|
|
70608
|
+
* day: '2-digit',
|
|
70609
|
+
* month: 'short',
|
|
70610
|
+
* year: 'numeric',
|
|
70611
|
+
* hour: '2-digit',
|
|
70612
|
+
* minute: '2-digit',
|
|
70613
|
+
* }
|
|
70614
|
+
* ```
|
|
70615
|
+
*/
|
|
70616
|
+
dateFormat?: Pick<Intl.DateTimeFormatOptions, 'weekday' | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | 'timeZoneName' | 'hour12' | 'timeZone'>;
|
|
70045
70617
|
};
|
|
70046
|
-
|
|
70047
|
-
|
|
70048
|
-
|
|
70618
|
+
type MoniteLocaleWithRequired = DeepRequired<Omit<MoniteLocale, 'messages' | 'dateFormat'>> & Partial<Pick<MoniteLocale, 'messages' | 'dateFormat'>> & {
|
|
70619
|
+
dateTimeFormat?: Intl.DateTimeFormatOptions;
|
|
70620
|
+
};
|
|
70621
|
+
|
|
70622
|
+
type TypographyStyle = {
|
|
70623
|
+
fontSize?: string | number;
|
|
70624
|
+
fontWeight?: string | number;
|
|
70625
|
+
lineHeight?: string | number;
|
|
70626
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize';
|
|
70627
|
+
};
|
|
70628
|
+
type ThemeConfig = {
|
|
70629
|
+
borderRadius?: number;
|
|
70630
|
+
spacing?: number;
|
|
70631
|
+
colors?: {
|
|
70632
|
+
primary?: string;
|
|
70633
|
+
primaryForeground?: string;
|
|
70634
|
+
secondary?: string;
|
|
70635
|
+
neutral?: string;
|
|
70636
|
+
info?: string;
|
|
70637
|
+
success?: string;
|
|
70638
|
+
warning?: string;
|
|
70639
|
+
error?: string;
|
|
70640
|
+
background?: string;
|
|
70641
|
+
text?: string;
|
|
70642
|
+
rowBorder?: string;
|
|
70643
|
+
};
|
|
70644
|
+
typography?: {
|
|
70645
|
+
fontFamily?: string;
|
|
70646
|
+
fontSize?: number;
|
|
70647
|
+
h1?: TypographyStyle;
|
|
70648
|
+
h2?: TypographyStyle;
|
|
70649
|
+
h3?: TypographyStyle;
|
|
70650
|
+
subtitle1?: TypographyStyle;
|
|
70651
|
+
subtitle2?: TypographyStyle;
|
|
70652
|
+
body1?: TypographyStyle;
|
|
70653
|
+
body2?: TypographyStyle;
|
|
70654
|
+
};
|
|
70655
|
+
components?: {
|
|
70656
|
+
invoiceStatusChip?: Partial<MoniteInvoiceStatusChipProps>;
|
|
70657
|
+
approvalRequestStatusChip?: Partial<MoniteApprovalRequestStatusChipProps>;
|
|
70658
|
+
invoiceRecurrenceStatusChip?: Partial<MoniteInvoiceRecurrenceStatusChipProps>;
|
|
70659
|
+
invoiceRecurrenceIterationStatusChip?: Partial<MoniteInvoiceRecurrenceIterationStatusChipProps>;
|
|
70660
|
+
approvalStatusChip?: Partial<MoniteApprovalStatusChipProps>;
|
|
70661
|
+
};
|
|
70662
|
+
};
|
|
70663
|
+
interface BaseChipProps {
|
|
70664
|
+
/** The variant of the Chip. */
|
|
70665
|
+
variant?: 'filled' | 'outlined';
|
|
70666
|
+
/** The size of the Chip. */
|
|
70667
|
+
size?: 'small' | 'medium';
|
|
70668
|
+
}
|
|
70669
|
+
interface BaseStatusChipProps extends BaseChipProps {
|
|
70670
|
+
/** Display status icon? Set to false for dot, true for full icon, null to hide completely */
|
|
70671
|
+
icon?: boolean | null;
|
|
70672
|
+
}
|
|
70673
|
+
interface MoniteInvoiceStatusChipProps extends BaseStatusChipProps {
|
|
70674
|
+
/** The status of the invoice. */
|
|
70675
|
+
status: components['schemas']['ReceivablesStatusEnum'];
|
|
70676
|
+
}
|
|
70677
|
+
interface MoniteInvoiceRecurrenceStatusChipProps extends BaseStatusChipProps {
|
|
70678
|
+
/** The status of the recurrence. */
|
|
70679
|
+
status: components['schemas']['RecurrenceStatus'];
|
|
70680
|
+
}
|
|
70681
|
+
interface MoniteInvoiceRecurrenceIterationStatusChipProps extends BaseStatusChipProps {
|
|
70682
|
+
/** The status of the iteration. */
|
|
70683
|
+
status: components['schemas']['IterationStatus'];
|
|
70684
|
+
}
|
|
70685
|
+
interface MoniteApprovalRequestStatusChipProps extends BaseStatusChipProps {
|
|
70686
|
+
/** The status of the approval request. */
|
|
70687
|
+
status: components['schemas']['ApprovalRequestStatus'];
|
|
70688
|
+
}
|
|
70689
|
+
interface MoniteApprovalStatusChipProps extends BaseStatusChipProps {
|
|
70690
|
+
/** The status of the payable. */
|
|
70691
|
+
status: components['schemas']['ApprovalPolicyStatus'];
|
|
70692
|
+
}
|
|
70693
|
+
|
|
70694
|
+
interface MoniteSettings {
|
|
70695
|
+
entityId: string;
|
|
70696
|
+
apiUrl?: string;
|
|
70697
|
+
fetchToken: () => Promise<{
|
|
70698
|
+
access_token: string;
|
|
70699
|
+
expires_in: number;
|
|
70700
|
+
token_type: string;
|
|
70701
|
+
}>;
|
|
70702
|
+
/** Custom headers to include in every Monite API request (e.g. x-widget-token) */
|
|
70703
|
+
headers?: Record<string, string>;
|
|
70049
70704
|
/**
|
|
70050
|
-
*
|
|
70705
|
+
* Custom `fetch` used for every Monite API request. Lets a host route Monite
|
|
70706
|
+
* traffic through its own request pipeline (e.g. a gateway proxy that injects
|
|
70707
|
+
* auth) instead of hitting `apiUrl` directly.
|
|
70051
70708
|
*/
|
|
70052
|
-
|
|
70053
|
-
|
|
70054
|
-
|
|
70709
|
+
fetch?: typeof fetch;
|
|
70710
|
+
}
|
|
70711
|
+
interface MoniteProviderProps {
|
|
70712
|
+
children?: ReactNode;
|
|
70055
70713
|
/**
|
|
70056
|
-
*
|
|
70057
|
-
*
|
|
70058
|
-
* @example contact@example.org
|
|
70714
|
+
* `theme` responsible for global styling of all Widgets provided.
|
|
70715
|
+
* If `theme` is not provided, `Monite` uses default theme.
|
|
70059
70716
|
*/
|
|
70060
|
-
|
|
70717
|
+
theme?: ThemeConfig;
|
|
70718
|
+
/** Monite initial settings */
|
|
70719
|
+
monite: MoniteSettings;
|
|
70061
70720
|
/**
|
|
70062
|
-
*
|
|
70063
|
-
*
|
|
70721
|
+
* `locale` responsible for internationalisation
|
|
70722
|
+
* of all Widgets provided.
|
|
70064
70723
|
*/
|
|
70065
|
-
|
|
70066
|
-
/** @description Indicates if the counterpart is a customer. */
|
|
70067
|
-
is_customer: boolean;
|
|
70068
|
-
/** @description Indicates if the counterpart is a vendor. */
|
|
70069
|
-
is_vendor: boolean;
|
|
70724
|
+
locale?: MoniteLocale;
|
|
70070
70725
|
/**
|
|
70071
|
-
*
|
|
70072
|
-
* @example Singh
|
|
70726
|
+
* Component settings
|
|
70073
70727
|
*/
|
|
70074
|
-
|
|
70728
|
+
componentSettings?: Partial<ComponentSettings>;
|
|
70075
70729
|
/**
|
|
70076
|
-
*
|
|
70077
|
-
* @example 5553211234
|
|
70730
|
+
* Callback function that is called when the theme is mounted
|
|
70078
70731
|
*/
|
|
70079
|
-
|
|
70732
|
+
onThemeMounted?: () => void;
|
|
70080
70733
|
/**
|
|
70081
|
-
*
|
|
70082
|
-
*
|
|
70734
|
+
* Raw scope strings from `/me` (e.g. `invoice:read:org`).
|
|
70735
|
+
* Used by components that gate UI with `userPermissions.has(Scope.*)`.
|
|
70083
70736
|
*/
|
|
70084
|
-
|
|
70737
|
+
userPermissions?: ReadonlySet<string>;
|
|
70085
70738
|
}
|
|
70739
|
+
declare const MoniteProvider: ({ monite, theme, componentSettings, children, locale, onThemeMounted, userPermissions, }: MoniteProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
70086
70740
|
|
|
70087
|
-
declare const
|
|
70088
|
-
|
|
70089
|
-
|
|
70090
|
-
|
|
70091
|
-
|
|
70092
|
-
|
|
70093
|
-
|
|
70094
|
-
|
|
70095
|
-
|
|
70096
|
-
|
|
70097
|
-
|
|
70098
|
-
}
|
|
70099
|
-
|
|
70100
|
-
|
|
70101
|
-
|
|
70102
|
-
|
|
70103
|
-
|
|
70104
|
-
|
|
70105
|
-
|
|
70106
|
-
|
|
70107
|
-
|
|
70108
|
-
|
|
70109
|
-
|
|
70110
|
-
|
|
70111
|
-
|
|
70112
|
-
|
|
70113
|
-
|
|
70114
|
-
|
|
70115
|
-
|
|
70116
|
-
|
|
70117
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70118
|
-
} | Error>;
|
|
70119
|
-
interface UseEntityUserNamesParams {
|
|
70120
|
-
/** The entity users to put a name to. */
|
|
70121
|
-
entityUserIds: readonly string[];
|
|
70122
|
-
/** Pass false to suspend the read (e.g. until a history panel is opened). */
|
|
70123
|
-
enabled?: boolean;
|
|
70741
|
+
declare const RootElementsContext: React.Context<{
|
|
70742
|
+
styles: HTMLElement | undefined;
|
|
70743
|
+
root: HTMLElement | undefined;
|
|
70744
|
+
}>;
|
|
70745
|
+
declare const useRootElements: () => {
|
|
70746
|
+
styles: HTMLElement | undefined;
|
|
70747
|
+
root: HTMLElement | undefined;
|
|
70748
|
+
};
|
|
70749
|
+
declare const RootElementsProvider: ({ children, elements, }: {
|
|
70750
|
+
children: ReactNode;
|
|
70751
|
+
elements?: ContextType<typeof RootElementsContext>;
|
|
70752
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
70753
|
+
|
|
70754
|
+
type API = Services;
|
|
70755
|
+
interface CreateMoniteAPIClientResult {
|
|
70756
|
+
requestFn: typeof requestFn;
|
|
70757
|
+
api: API;
|
|
70758
|
+
version: string;
|
|
70759
|
+
}
|
|
70760
|
+
interface CreateMoniteAPIClientOptions {
|
|
70761
|
+
context?: Context<QraftContextValue>;
|
|
70762
|
+
/** Custom headers to include in every request (e.g. x-widget-token) */
|
|
70763
|
+
customHeaders?: Record<string, string>;
|
|
70764
|
+
}
|
|
70765
|
+
declare const createAPIClient: ({ customHeaders, ...qraftClientOptions }?: CreateMoniteAPIClientOptions | undefined) => CreateMoniteAPIClientResult;
|
|
70766
|
+
|
|
70767
|
+
interface MoniteContextBaseValue {
|
|
70768
|
+
locale: MoniteLocaleWithRequired;
|
|
70769
|
+
i18n: I18n;
|
|
70770
|
+
dateFnsLocale: Locale;
|
|
70124
70771
|
}
|
|
70772
|
+
type FetchToken = () => Promise<{
|
|
70773
|
+
access_token: string;
|
|
70774
|
+
expires_in: number;
|
|
70775
|
+
token_type: string;
|
|
70776
|
+
}>;
|
|
70125
70777
|
/**
|
|
70126
|
-
*
|
|
70127
|
-
*
|
|
70128
|
-
* standalone invoicing widget too: that host mounts no embedded widget-gateway
|
|
70129
|
-
* provider, so an org-roster read there stays disabled and names never arrive.
|
|
70778
|
+
* MoniteTheme extends the MUI Theme with custom palette properties.
|
|
70779
|
+
* The custom palette structure is defined via module augmentation in mui-styles.d.ts
|
|
70130
70780
|
*/
|
|
70131
|
-
|
|
70132
|
-
|
|
70133
|
-
isError: boolean;
|
|
70781
|
+
type MoniteTheme = Theme$1 & {
|
|
70782
|
+
components?: ThemeConfig['components'];
|
|
70134
70783
|
};
|
|
70784
|
+
interface MoniteContextValue extends MoniteContextBaseValue, CreateMoniteAPIClientResult {
|
|
70785
|
+
environment: 'dev' | 'sandbox' | 'production';
|
|
70786
|
+
entityId: string;
|
|
70787
|
+
queryClient: QueryClient;
|
|
70788
|
+
apiUrl: string;
|
|
70789
|
+
theme: MoniteTheme;
|
|
70790
|
+
componentSettings: ComponentSettings;
|
|
70791
|
+
fetchToken: FetchToken;
|
|
70792
|
+
userPermissions: ReadonlySet<string>;
|
|
70793
|
+
}
|
|
70794
|
+
/**
|
|
70795
|
+
* @internal
|
|
70796
|
+
*/
|
|
70797
|
+
declare function useMoniteContext(): MoniteContextValue;
|
|
70135
70798
|
|
|
70136
|
-
|
|
70137
|
-
|
|
70138
|
-
|
|
70139
|
-
|
|
70140
|
-
|
|
70141
|
-
|
|
70142
|
-
|
|
70143
|
-
|
|
70144
|
-
|
|
70145
|
-
|
|
70146
|
-
|
|
70147
|
-
|
|
70148
|
-
|
|
70149
|
-
trigger?: boolean | number | string | unknown[] | Record<string, never>;
|
|
70150
|
-
updated_by?: string;
|
|
70151
|
-
}, {
|
|
70152
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70153
|
-
} | {
|
|
70154
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70155
|
-
} | Error>;
|
|
70799
|
+
type CountriesType = Record<string, string>;
|
|
70800
|
+
type CountryType = {
|
|
70801
|
+
code: AllowedCountries;
|
|
70802
|
+
label: string;
|
|
70803
|
+
};
|
|
70804
|
+
declare const getCountriesArray: (i18n: I18n) => CountryType[];
|
|
70805
|
+
declare const getCountries: (i18n: I18n) => CountriesType;
|
|
70806
|
+
declare const defaultAvailableCountries: AllowedCountries[];
|
|
70807
|
+
declare const countryCurrencyList: {
|
|
70808
|
+
country: string;
|
|
70809
|
+
currency: string;
|
|
70810
|
+
}[];
|
|
70811
|
+
type AllowedCountries = components['schemas']['AllowedCountries'];
|
|
70156
70812
|
|
|
70157
|
-
|
|
70158
|
-
|
|
70159
|
-
|
|
70160
|
-
|
|
70161
|
-
|
|
70162
|
-
|
|
70163
|
-
|
|
70164
|
-
|
|
70165
|
-
|
|
70166
|
-
|
|
70167
|
-
|
|
70168
|
-
|
|
70169
|
-
|
|
70813
|
+
type CurrenciesType = Record<CurrencyEnum$1, string>;
|
|
70814
|
+
type CurrencyType = {
|
|
70815
|
+
code: CurrencyEnum$1;
|
|
70816
|
+
label: string;
|
|
70817
|
+
};
|
|
70818
|
+
declare const getCurrencies: (i18n: I18n) => CurrenciesType;
|
|
70819
|
+
declare const defaultAvailableCurrencies: CurrencyEnum$1[];
|
|
70820
|
+
declare const getCurrenciesArray: (i18n: I18n) => Array<CurrencyType>;
|
|
70821
|
+
type CurrencyEnum$1 = components['schemas']['CurrencyEnum'];
|
|
70822
|
+
interface CurrencyGroup {
|
|
70823
|
+
title: string;
|
|
70824
|
+
predicate: (option: CurrencyType) => boolean;
|
|
70825
|
+
}
|
|
70826
|
+
declare const filterOptions: (options: CurrencyType[], state: {
|
|
70827
|
+
inputValue: string;
|
|
70828
|
+
}) => CurrencyType[];
|
|
70829
|
+
declare const getGroupTitleForOption: (option: CurrencyType, groups?: CurrencyGroup[]) => {
|
|
70830
|
+
title: string;
|
|
70831
|
+
index: number;
|
|
70832
|
+
};
|
|
70833
|
+
declare const sortCurrencyOptionsByGroup: (options: CurrencyType[], groups?: CurrencyGroup[]) => CurrencyType[];
|
|
70834
|
+
/**
|
|
70835
|
+
* Converts a currency rate from minor units (API format) to major units (UI display format)
|
|
70836
|
+
* Example: 2000 -> 20
|
|
70837
|
+
* Uses core currency conversion utilities for consistency and precision.
|
|
70838
|
+
* Rates always use 2 decimal places.
|
|
70839
|
+
* @param rateMinor The rate value in minor units (as received from API)
|
|
70840
|
+
* @returns The rate value in major units (for UI display)
|
|
70841
|
+
*/
|
|
70842
|
+
declare const rateMinorToMajor: (rateMinor: number) => number;
|
|
70843
|
+
/**
|
|
70844
|
+
* Converts a currency rate from major units (UI display format) to minor units (API format)
|
|
70845
|
+
* Example: 20 -> 2000
|
|
70846
|
+
* Uses core currency conversion utilities for consistency and precision.
|
|
70847
|
+
* Rates always use 2 decimal places.
|
|
70848
|
+
* @param rateMajor The rate value in major units (from UI)
|
|
70849
|
+
* @returns The rate value in minor units (for API)
|
|
70850
|
+
*/
|
|
70851
|
+
declare const rateMajorToMinor: (rateMajor: number) => number;
|
|
70852
|
+
|
|
70853
|
+
/**
|
|
70854
|
+
* Utility functions for handling user names and display logic
|
|
70855
|
+
*/
|
|
70856
|
+
/**
|
|
70857
|
+
* Combines first and last name into a full name string.
|
|
70858
|
+
* Handles both object and separate parameter formats.
|
|
70859
|
+
*
|
|
70860
|
+
* @param firstName - First name string or object with first_name and last_name properties
|
|
70861
|
+
* @param lastName - Last name string (only used when firstName is a string)
|
|
70862
|
+
* @returns Combined full name with proper spacing and trimming
|
|
70863
|
+
*/
|
|
70864
|
+
declare function getIndividualName(name: {
|
|
70865
|
+
first_name: string | undefined;
|
|
70866
|
+
last_name: string | undefined;
|
|
70867
|
+
}): string;
|
|
70868
|
+
declare function getIndividualName(firstName: string | undefined, lastName: string | undefined): string;
|
|
70869
|
+
/**
|
|
70870
|
+
* Gets individual name with fallback to login if name is empty.
|
|
70871
|
+
* Useful for user display components that need to show something meaningful.
|
|
70872
|
+
*
|
|
70873
|
+
* @param user - User object with name and login properties
|
|
70874
|
+
* @returns Full name if available, otherwise login, or empty string
|
|
70875
|
+
*/
|
|
70876
|
+
declare function getIndividualNameWithFallback(user: {
|
|
70877
|
+
first_name?: string | null;
|
|
70878
|
+
last_name?: string | null;
|
|
70879
|
+
login?: string | null;
|
|
70880
|
+
}): string;
|
|
70881
|
+
/**
|
|
70882
|
+
* Gets the display name for a user based on preferences.
|
|
70883
|
+
* Shows email if requested, otherwise shows full name with login fallback.
|
|
70884
|
+
*
|
|
70885
|
+
* @param user - User object with name, email, and login properties
|
|
70886
|
+
* @param showEmail - Whether to prioritize email over name
|
|
70887
|
+
* @returns Appropriate display name based on preferences
|
|
70888
|
+
*/
|
|
70889
|
+
declare function getUserDisplayName(user: {
|
|
70890
|
+
first_name?: string | null;
|
|
70891
|
+
last_name?: string | null;
|
|
70892
|
+
email?: string | null;
|
|
70893
|
+
login?: string | null;
|
|
70894
|
+
}, showEmail?: boolean): string;
|
|
70895
|
+
|
|
70896
|
+
declare const dateStringToLocalDate: (dateString: string) => Date;
|
|
70897
|
+
|
|
70898
|
+
/**
|
|
70899
|
+
* Filter chip date-range segment (without the field prefix), e.g. `Jan 1, 2026 - Jan 31, 2026`.
|
|
70900
|
+
* Each bound uses `MMM d, yyyy` in the runtime locale.
|
|
70901
|
+
*/
|
|
70902
|
+
declare function formatDateRangeFilterChip(from?: Date, to?: Date): string;
|
|
70903
|
+
/**
|
|
70904
|
+
* Value segment for a multi-select filter chip (field prefix added by caller), e.g.
|
|
70905
|
+
* `New` or `New + 2 more` when additional selections exist.
|
|
70906
|
+
*
|
|
70907
|
+
* @param selectedLabels Human-readable labels in display order.
|
|
70908
|
+
*/
|
|
70909
|
+
declare function formatFilterChipMultiSelectValueSegment(selectedLabels: string[]): string;
|
|
70910
|
+
|
|
70911
|
+
/**
|
|
70912
|
+
* `useCurrencies` hook used for working with currencies
|
|
70913
|
+
* - Display price based on amount, currency and locale.code parameters
|
|
70914
|
+
* - Convert minor units into main currency and vise-versa
|
|
70915
|
+
*/
|
|
70916
|
+
declare const useCurrencies: () => {
|
|
70917
|
+
currencyList: {
|
|
70918
|
+
[key: string]: {
|
|
70919
|
+
minor_units: number;
|
|
70920
|
+
name: string;
|
|
70921
|
+
symbol: string;
|
|
70922
|
+
};
|
|
70923
|
+
} | undefined;
|
|
70924
|
+
getSymbolFromCurrency: (currency?: CurrencyEnum | string) => string | undefined;
|
|
70925
|
+
formatCurrencyToDisplay: (amountInMinorUnits: string | number, currency: CurrencyEnum, isCurrencyDisplayed?: boolean, bracketNegative?: boolean) => string | null;
|
|
70926
|
+
formatToMinorUnits: (amount: string | number, currency: CurrencyEnum) => number | null;
|
|
70927
|
+
formatFromMinorUnits: (amount: number, currency: CurrencyEnum) => number | null;
|
|
70928
|
+
isSuccess: boolean;
|
|
70929
|
+
};
|
|
70930
|
+
type CurrencyEnum = components['schemas']['CurrencyEnum'];
|
|
70931
|
+
|
|
70932
|
+
type ShowFields<T> = {
|
|
70933
|
+
[K in keyof T as `show${Capitalize<string & K>}`]: boolean;
|
|
70934
|
+
};
|
|
70935
|
+
declare const useOptionalFields: <T extends object>(optionalFields: T | boolean | undefined, defaultOptionalFields: ShowFields<T>) => ShowFields<T>;
|
|
70936
|
+
|
|
70937
|
+
type MenuType = Pick<MenuProps, 'open' | 'onClose' | 'onClick' | 'anchorEl' | 'id'> & {
|
|
70938
|
+
container: Element | undefined;
|
|
70939
|
+
};
|
|
70940
|
+
type ButtonType = Pick<ButtonProps, 'id' | 'aria-controls' | 'aria-expanded' | 'aria-haspopup' | 'onClick' | 'tabIndex' | 'onKeyDown'>;
|
|
70941
|
+
declare const useMenuButton: () => {
|
|
70942
|
+
open: boolean;
|
|
70943
|
+
menuProps: MenuType;
|
|
70944
|
+
buttonProps: ButtonType;
|
|
70945
|
+
closeMenu: (event?: SyntheticEvent | {}) => void;
|
|
70946
|
+
};
|
|
70947
|
+
|
|
70948
|
+
declare const OCR_SUPPORTED_FORMATS: string[];
|
|
70949
|
+
/**
|
|
70950
|
+
* Formats accepted by the backend logo endpoints
|
|
70951
|
+
* (`PUT /finops/v1/entities/{entity_id}/logo` and
|
|
70952
|
+
* `PUT /identity/v1/organizations/{organizationId}/logo`): PNG, JPG, or GIF
|
|
70953
|
+
* only — PDF is rejected.
|
|
70954
|
+
*/
|
|
70955
|
+
declare const LOGO_SUPPORTED_FORMATS: string[];
|
|
70956
|
+
/** Maximum logo size (in MB) accepted by the backend logo endpoints. */
|
|
70957
|
+
declare const LOGO_MAX_FILE_SIZE_IN_MB = 10;
|
|
70958
|
+
interface UseFileInputOptions {
|
|
70959
|
+
/**
|
|
70960
|
+
* MIME types accepted by the input and validated by `checkFileError`.
|
|
70961
|
+
* Defaults to {@link OCR_SUPPORTED_FORMATS}.
|
|
70962
|
+
*/
|
|
70963
|
+
acceptedFormats?: string[];
|
|
70964
|
+
/**
|
|
70965
|
+
* Maximum file size in megabytes enforced by `checkFileError`.
|
|
70966
|
+
* Defaults to 20 MB (the OCR upload limit).
|
|
70967
|
+
*/
|
|
70968
|
+
maxFileSizeInMB?: number;
|
|
70969
|
+
}
|
|
70970
|
+
/**
|
|
70971
|
+
* `useFileInput` is a React hook that creates an invisible `<input type="file" />` and `open()` method for interacting with it.
|
|
70972
|
+
*
|
|
70973
|
+
* @returns {Object} An object containing two properties:
|
|
70974
|
+
* - `FileInput`: A component that renders an invisible file input element. It takes all the standard HTML input attributes and forwardRefs the underlying input element.
|
|
70975
|
+
* - `openFileInput`: A function that programmatically opens the file input dialog. It can be used to open the file input dialog when another element is clicked.
|
|
70976
|
+
* - `checkFileError`: A function that checks for file errors based on type and size. It returns an error message if there is an issue, or null if the file is valid.
|
|
70977
|
+
*
|
|
70978
|
+
* @example
|
|
70979
|
+
* ```jsx
|
|
70980
|
+
* const { FileInput, openFileInput, checkFileError } = useFileInput();
|
|
70981
|
+
*
|
|
70982
|
+
* return (
|
|
70983
|
+
* <>
|
|
70984
|
+
* <button onClick={openFileInput}>Upload File</button>
|
|
70985
|
+
* <FileInput
|
|
70986
|
+
* onChange={(event) => {
|
|
70987
|
+
* const file = event.target.files?.item(0);
|
|
70988
|
+
* const error = checkFileError(file);
|
|
70989
|
+
* if (error) {
|
|
70990
|
+
* // handle the error (e.g., show a message)
|
|
70991
|
+
* console.error(error);
|
|
70992
|
+
* } else {
|
|
70993
|
+
* // handle the selected file
|
|
70994
|
+
* }
|
|
70995
|
+
* }}
|
|
70996
|
+
* />
|
|
70997
|
+
* </>
|
|
70998
|
+
* );
|
|
70999
|
+
* ```
|
|
71000
|
+
*/
|
|
71001
|
+
declare const useFileInput: ({ acceptedFormats, maxFileSizeInMB, }?: UseFileInputOptions) => {
|
|
71002
|
+
FileInput: ({ ref: externalRef, ...props }: ComponentProps<"input"> & {
|
|
71003
|
+
ref?: Ref<HTMLInputElement>;
|
|
71004
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
71005
|
+
openFileInput: () => void;
|
|
71006
|
+
checkFileError: (file: File) => string | null;
|
|
71007
|
+
resetInput: () => void;
|
|
71008
|
+
};
|
|
71009
|
+
|
|
71010
|
+
declare const defaultCounterpartColumnWidth = 250;
|
|
71011
|
+
declare function useAreCounterpartsLoading(rows?: {
|
|
71012
|
+
counterpart_id?: string;
|
|
71013
|
+
}[]): boolean;
|
|
71014
|
+
declare function useAutosizeGridColumns(rows: any, columns: GridColDef[], areCounterpartsLoading: boolean, columnSerializationKey: string): React.RefObject<_mui_x_data_grid_internals.GridApiCommunity>;
|
|
71015
|
+
|
|
71016
|
+
declare const useFormPersist: (name: string, getValues: () => {
|
|
71017
|
+
[key: string]: any;
|
|
71018
|
+
}, setValue: SetFieldValue<any>) => void;
|
|
71019
|
+
|
|
71020
|
+
/**
|
|
71021
|
+
* Hook for persistent storage of form fields with SSR safety
|
|
71022
|
+
* @param componentPrefix - Prefix to avoid key collisions between different components
|
|
71023
|
+
* @param key - The key to store the value under
|
|
71024
|
+
* @param initialValue - The initial value to use if none is stored
|
|
71025
|
+
*/
|
|
71026
|
+
declare const useLocalStorageFields: <T>(componentPrefix: string, key: string, initialValue: T) => [T, (value: T) => void, boolean, (checked: boolean) => void];
|
|
71027
|
+
|
|
71028
|
+
/**
|
|
71029
|
+
* Hook to debounce a value
|
|
71030
|
+
* @template T - The type of the value to debounce
|
|
71031
|
+
* @param value The value to debounce
|
|
71032
|
+
* @param delay The delay in milliseconds
|
|
71033
|
+
* @returns The debounced value
|
|
71034
|
+
*/
|
|
71035
|
+
declare const useDebounce: <T>(value: T, delay?: number) => T;
|
|
71036
|
+
/**
|
|
71037
|
+
* Hook to debounce a callback function with auto-cleanup on unmount
|
|
71038
|
+
* @template Args - The argument types of the callback function
|
|
71039
|
+
* @template R - The return type of the callback function
|
|
71040
|
+
* @param callback The function to be debounced
|
|
71041
|
+
* @param delay The delay in milliseconds
|
|
71042
|
+
* @returns The debounced callback function
|
|
71043
|
+
*/
|
|
71044
|
+
declare const useDebounceCallback: <Args extends unknown[], R>(callback: (...args: Args) => R, delay?: number) => ((...args: Args) => void);
|
|
71045
|
+
|
|
71046
|
+
declare function useIsMobile(): boolean;
|
|
71047
|
+
|
|
71048
|
+
declare const useComponentSettings: () => {
|
|
71049
|
+
componentSettings: ComponentSettings;
|
|
71050
|
+
onboardingCallbacks: {
|
|
71051
|
+
onWorkingCapitalOnboardingComplete: ((entityId: string) => void) | undefined;
|
|
71052
|
+
onPaymentsOnboardingComplete: ((entityId: string) => void) | undefined;
|
|
71053
|
+
onComplete: ((entityId: string) => void) | undefined;
|
|
71054
|
+
onContinue: (() => void) | undefined;
|
|
71055
|
+
};
|
|
71056
|
+
};
|
|
71057
|
+
|
|
71058
|
+
/**
|
|
71059
|
+
* Hook that tracks whether the component is currently mounted.
|
|
71060
|
+
* Useful for preventing state updates on unmounted components.
|
|
71061
|
+
*
|
|
71062
|
+
* @returns A ref object with current boolean indicating mount status
|
|
71063
|
+
*/
|
|
71064
|
+
declare const useIsMounted: () => React.RefObject<boolean>;
|
|
71065
|
+
|
|
71066
|
+
declare const breakpoints: {
|
|
71067
|
+
readonly sm: 640;
|
|
71068
|
+
readonly md: 768;
|
|
71069
|
+
readonly lg: 1024;
|
|
71070
|
+
readonly xl: 1280;
|
|
71071
|
+
readonly '2xl': 1536;
|
|
71072
|
+
};
|
|
71073
|
+
type Breakpoint = keyof typeof breakpoints;
|
|
71074
|
+
/**
|
|
71075
|
+
* Hook for responsive design using shadcn/ui standard breakpoints
|
|
71076
|
+
*
|
|
71077
|
+
* @param query - Media query string or breakpoint key
|
|
71078
|
+
* @returns boolean indicating if the media query matches
|
|
71079
|
+
*
|
|
71080
|
+
* @example
|
|
71081
|
+
* ```tsx
|
|
71082
|
+
* // Using breakpoint keys
|
|
71083
|
+
* const isMobile = useMediaQuery('sm'); // true when width < 640px
|
|
71084
|
+
* const isTablet = useMediaQuery('md'); // true when width >= 768px
|
|
71085
|
+
* const isDesktop = useMediaQuery('lg'); // true when width >= 1024px
|
|
71086
|
+
*
|
|
71087
|
+
* // Using custom media queries
|
|
71088
|
+
* const isLandscape = useMediaQuery('(orientation: landscape)');
|
|
71089
|
+
* const isHighDpi = useMediaQuery('(min-resolution: 2dppx)');
|
|
71090
|
+
*
|
|
71091
|
+
* // Using min/max width queries
|
|
71092
|
+
* const isMediumUp = useMediaQuery('(min-width: 768px)');
|
|
71093
|
+
* const isLargeDown = useMediaQuery('(max-width: 1023px)');
|
|
71094
|
+
* ```
|
|
71095
|
+
*/
|
|
71096
|
+
declare function useMediaQuery(query: Breakpoint | string): boolean;
|
|
71097
|
+
/**
|
|
71098
|
+
* Convenience hooks for common breakpoints
|
|
71099
|
+
*/
|
|
71100
|
+
declare const useIsMobileScreen: () => boolean;
|
|
71101
|
+
declare const useIsTabletScreen: () => boolean;
|
|
71102
|
+
declare const useIsDesktopScreen: () => boolean;
|
|
71103
|
+
declare const useIsLargeDesktopScreen: () => boolean;
|
|
71104
|
+
declare const useIsExtraLargeDesktopScreen: () => boolean;
|
|
71105
|
+
/**
|
|
71106
|
+
* Hook for checking if screen is smaller than a breakpoint
|
|
71107
|
+
*
|
|
71108
|
+
* @param breakpoint - The breakpoint to check against
|
|
71109
|
+
* @returns boolean indicating if screen is smaller than the breakpoint
|
|
71110
|
+
*
|
|
71111
|
+
* @example
|
|
71112
|
+
* ```tsx
|
|
71113
|
+
* const isSmallerThanLg = useIsSmallerThan('lg'); // true when width < 1024px
|
|
71114
|
+
* ```
|
|
71115
|
+
*/
|
|
71116
|
+
declare function useIsSmallerThan(breakpoint: Breakpoint): boolean;
|
|
71117
|
+
/**
|
|
71118
|
+
* Hook for checking if screen is larger than a breakpoint
|
|
71119
|
+
*
|
|
71120
|
+
* @param breakpoint - The breakpoint to check against
|
|
71121
|
+
* @returns boolean indicating if screen is larger than the breakpoint
|
|
71122
|
+
*
|
|
71123
|
+
* @example
|
|
71124
|
+
* ```tsx
|
|
71125
|
+
* const isLargerThanMd = useIsLargerThan('md'); // true when width > 768px
|
|
71126
|
+
* ```
|
|
71127
|
+
*/
|
|
71128
|
+
declare function useIsLargerThan(breakpoint: Breakpoint): boolean;
|
|
71129
|
+
|
|
71130
|
+
declare const useCounterpartById: (id?: string) => _tanstack_react_query.UseQueryResult<{
|
|
71131
|
+
id: string;
|
|
71132
|
+
created_at: string;
|
|
71133
|
+
updated_at: string;
|
|
71134
|
+
created_automatically: boolean;
|
|
71135
|
+
created_by_entity_user_id?: string;
|
|
71136
|
+
default_billing_address_id?: string;
|
|
71137
|
+
default_shipping_address_id?: string;
|
|
71138
|
+
external_reference?: string;
|
|
71139
|
+
individual: components["schemas"]["CounterpartIndividualResponse"];
|
|
71140
|
+
is_customer: boolean;
|
|
71141
|
+
is_vendor: boolean;
|
|
71142
|
+
language?: components["schemas"]["LanguageCodeEnum"];
|
|
71143
|
+
reminders_enabled?: boolean;
|
|
71144
|
+
tax_id?: string;
|
|
71145
|
+
type: components["schemas"]["CounterpartType"];
|
|
71146
|
+
} | {
|
|
71147
|
+
id: string;
|
|
71148
|
+
created_at: string;
|
|
71149
|
+
updated_at: string;
|
|
71150
|
+
created_automatically: boolean;
|
|
71151
|
+
created_by_entity_user_id?: string;
|
|
71152
|
+
default_billing_address_id?: string;
|
|
71153
|
+
default_shipping_address_id?: string;
|
|
71154
|
+
external_reference?: string;
|
|
71155
|
+
is_customer: boolean;
|
|
71156
|
+
is_vendor: boolean;
|
|
71157
|
+
language?: components["schemas"]["LanguageCodeEnum"];
|
|
71158
|
+
organization: components["schemas"]["CounterpartOrganizationResponse"];
|
|
71159
|
+
reminders_enabled?: boolean;
|
|
71160
|
+
tax_id?: string;
|
|
71161
|
+
type: components["schemas"]["CounterpartType"];
|
|
70170
71162
|
}, {
|
|
70171
71163
|
error: components["schemas"]["ErrorSchema"];
|
|
70172
71164
|
} | {
|
|
70173
71165
|
detail?: components["schemas"]["ValidationError"][];
|
|
70174
71166
|
} | Error>;
|
|
70175
71167
|
|
|
70176
|
-
|
|
70177
|
-
|
|
70178
|
-
|
|
70179
|
-
|
|
70180
|
-
|
|
70181
|
-
|
|
71168
|
+
type CounterpartResponse = components['schemas']['CounterpartIndividualRootResponse'] | components['schemas']['CounterpartOrganizationRootResponse'];
|
|
71169
|
+
declare const useCounterpartList: (parameters?: Services["finops"]["getCounterparts"]["types"]["parameters"]) => _tanstack_react_query.UseQueryResult<{
|
|
71170
|
+
data: components["schemas"]["CounterpartResponse"][];
|
|
71171
|
+
next_pagination_token?: string;
|
|
71172
|
+
prev_pagination_token?: string;
|
|
71173
|
+
}, {
|
|
71174
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71175
|
+
} | {
|
|
71176
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71177
|
+
} | Error>;
|
|
71178
|
+
|
|
71179
|
+
declare const useCounterpartAddresses: (counterpartId?: string) => _tanstack_react_query.UseQueryResult<{
|
|
71180
|
+
data: components["schemas"]["CounterpartAddressResponseWithCounterpartID"][];
|
|
71181
|
+
}, {
|
|
71182
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71183
|
+
} | {
|
|
71184
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71185
|
+
} | Error>;
|
|
71186
|
+
|
|
71187
|
+
declare const useCounterpartVatList: (counterpartId?: string) => _tanstack_react_query.UseQueryResult<{
|
|
71188
|
+
data: components["schemas"]["CounterpartVatIDResponse"][];
|
|
71189
|
+
}, {
|
|
71190
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71191
|
+
} | {
|
|
71192
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71193
|
+
} | Error>;
|
|
71194
|
+
|
|
71195
|
+
declare const useCounterpartContactList: (counterpartId: string | undefined) => {
|
|
71196
|
+
data?: GenericCounterpartContact[];
|
|
71197
|
+
error?: Error | {
|
|
71198
|
+
error: {
|
|
71199
|
+
message: string;
|
|
71200
|
+
};
|
|
71201
|
+
} | {
|
|
71202
|
+
detail?: {
|
|
71203
|
+
loc: (string | number)[];
|
|
71204
|
+
msg: string;
|
|
71205
|
+
type: string;
|
|
71206
|
+
}[] | undefined;
|
|
71207
|
+
} | null;
|
|
71208
|
+
isLoading: boolean;
|
|
71209
|
+
};
|
|
71210
|
+
interface GenericCounterpartContact {
|
|
71211
|
+
id: string;
|
|
71212
|
+
counterpart_id: string;
|
|
71213
|
+
/**
|
|
71214
|
+
* @description Is default contact person
|
|
71215
|
+
*/
|
|
71216
|
+
is_default?: boolean;
|
|
71217
|
+
/** @description The address of a contact person. */
|
|
71218
|
+
address?: components['schemas']['CounterpartAddress'];
|
|
71219
|
+
/**
|
|
71220
|
+
* Format: email
|
|
71221
|
+
* @description The email address of a contact person.
|
|
71222
|
+
* @example contact@example.org
|
|
71223
|
+
*/
|
|
71224
|
+
email?: string;
|
|
71225
|
+
/**
|
|
71226
|
+
* @description The person's first name.
|
|
71227
|
+
* @example Adnan
|
|
71228
|
+
*/
|
|
71229
|
+
first_name: string;
|
|
71230
|
+
/** @description Indicates if the counterpart is a customer. */
|
|
71231
|
+
is_customer: boolean;
|
|
71232
|
+
/** @description Indicates if the counterpart is a vendor. */
|
|
71233
|
+
is_vendor: boolean;
|
|
71234
|
+
/**
|
|
71235
|
+
* @description The person's last name.
|
|
71236
|
+
* @example Singh
|
|
71237
|
+
*/
|
|
71238
|
+
last_name: string;
|
|
71239
|
+
/**
|
|
71240
|
+
* @description The person's phone number.
|
|
71241
|
+
* @example 5553211234
|
|
71242
|
+
*/
|
|
71243
|
+
phone?: string;
|
|
71244
|
+
/**
|
|
71245
|
+
* @description The person's title or honorific. Examples: Mr., Ms., Dr., Prof.
|
|
71246
|
+
* @example Mr.
|
|
71247
|
+
*/
|
|
71248
|
+
title?: string;
|
|
70182
71249
|
}
|
|
70183
|
-
|
|
70184
|
-
|
|
70185
|
-
|
|
70186
|
-
|
|
70187
|
-
|
|
70188
|
-
|
|
70189
|
-
|
|
70190
|
-
|
|
70191
|
-
|
|
71250
|
+
|
|
71251
|
+
declare const useEntityUserById: (id: string | undefined) => _tanstack_react_query.UseQueryResult<{
|
|
71252
|
+
id: string;
|
|
71253
|
+
created_at: string;
|
|
71254
|
+
updated_at: string;
|
|
71255
|
+
email?: string | null;
|
|
71256
|
+
first_name?: string;
|
|
71257
|
+
last_name?: string | null;
|
|
71258
|
+
login: string;
|
|
71259
|
+
phone?: string | null;
|
|
71260
|
+
status: components["schemas"]["StatusEnum"];
|
|
71261
|
+
userpic_file_id?: string | null;
|
|
71262
|
+
}, {
|
|
71263
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71264
|
+
} | {
|
|
71265
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71266
|
+
} | Error>;
|
|
71267
|
+
declare const useEntityUserByAuthToken: () => _tanstack_react_query.UseQueryResult<{
|
|
71268
|
+
id: string;
|
|
71269
|
+
created_at: string;
|
|
71270
|
+
updated_at: string;
|
|
71271
|
+
email?: string | null;
|
|
71272
|
+
first_name?: string;
|
|
71273
|
+
last_name?: string | null;
|
|
71274
|
+
login: string;
|
|
71275
|
+
phone?: string | null;
|
|
71276
|
+
status: components["schemas"]["StatusEnum"];
|
|
71277
|
+
userpic_file_id?: string | null;
|
|
71278
|
+
}, {
|
|
71279
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71280
|
+
} | {
|
|
71281
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71282
|
+
} | Error>;
|
|
71283
|
+
interface UseEntityUserNamesParams {
|
|
71284
|
+
/** The entity users to put a name to. */
|
|
71285
|
+
entityUserIds: readonly string[];
|
|
71286
|
+
/** Pass false to suspend the read (e.g. until a history panel is opened). */
|
|
71287
|
+
enabled?: boolean;
|
|
70192
71288
|
}
|
|
70193
|
-
|
|
70194
|
-
|
|
70195
|
-
|
|
70196
|
-
|
|
70197
|
-
|
|
70198
|
-
|
|
70199
|
-
|
|
70200
|
-
|
|
70201
|
-
|
|
70202
|
-
|
|
70203
|
-
|
|
70204
|
-
|
|
70205
|
-
|
|
70206
|
-
|
|
70207
|
-
|
|
70208
|
-
|
|
70209
|
-
|
|
70210
|
-
|
|
70211
|
-
|
|
70212
|
-
|
|
70213
|
-
|
|
70214
|
-
|
|
70215
|
-
|
|
70216
|
-
|
|
70217
|
-
|
|
70218
|
-
|
|
70219
|
-
|
|
70220
|
-
|
|
70221
|
-
|
|
71289
|
+
/**
|
|
71290
|
+
* Names the entity users an id list references. Reads the Monite context like
|
|
71291
|
+
* every other actor name in this SDK, which is what makes it work in the
|
|
71292
|
+
* standalone invoicing widget too: that host mounts no embedded widget-gateway
|
|
71293
|
+
* provider, so an org-roster read there stays disabled and names never arrive.
|
|
71294
|
+
*/
|
|
71295
|
+
declare const useEntityUserNames: ({ entityUserIds, enabled, }: UseEntityUserNamesParams) => {
|
|
71296
|
+
userNames: ReadonlyMap<string, string>;
|
|
71297
|
+
isError: boolean;
|
|
71298
|
+
};
|
|
71299
|
+
|
|
71300
|
+
declare const useApprovalPolicyById: (approvalPolicyId: string | undefined) => _tanstack_react_query.UseQueryResult<{
|
|
71301
|
+
id: string;
|
|
71302
|
+
created_at: string;
|
|
71303
|
+
updated_at: string;
|
|
71304
|
+
created_by: string;
|
|
71305
|
+
description?: string;
|
|
71306
|
+
ends_at?: string;
|
|
71307
|
+
name: string;
|
|
71308
|
+
object_type: components["schemas"]["ObjectType"];
|
|
71309
|
+
priority: number;
|
|
71310
|
+
script: (boolean | number | string | unknown[] | Record<string, never>)[];
|
|
71311
|
+
starts_at?: string;
|
|
71312
|
+
status: "active" | "pending";
|
|
71313
|
+
trigger?: boolean | number | string | unknown[] | Record<string, never>;
|
|
71314
|
+
updated_by?: string;
|
|
71315
|
+
}, {
|
|
71316
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71317
|
+
} | {
|
|
71318
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71319
|
+
} | Error>;
|
|
71320
|
+
|
|
71321
|
+
declare const useFileById: (fileId: string | undefined) => _tanstack_react_query.UseQueryResult<{
|
|
71322
|
+
id: string;
|
|
71323
|
+
created_at: string;
|
|
71324
|
+
updated_at: string;
|
|
71325
|
+
file_type: string;
|
|
71326
|
+
md5: string;
|
|
71327
|
+
mimetype: string;
|
|
71328
|
+
name: string;
|
|
71329
|
+
region: string;
|
|
71330
|
+
s3_bucket: string;
|
|
71331
|
+
s3_file_path: string;
|
|
71332
|
+
size: number;
|
|
71333
|
+
url: string;
|
|
71334
|
+
}, {
|
|
71335
|
+
error: components["schemas"]["ErrorSchema"];
|
|
71336
|
+
} | {
|
|
71337
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
71338
|
+
} | Error>;
|
|
71339
|
+
|
|
71340
|
+
interface Register {}
|
|
71341
|
+
type DefaultError = Register extends {
|
|
71342
|
+
defaultError: infer TError;
|
|
71343
|
+
} ? TError : Error;
|
|
71344
|
+
interface ResultOptions {
|
|
71345
|
+
throwOnError?: boolean;
|
|
71346
|
+
}
|
|
71347
|
+
interface RefetchOptions extends ResultOptions {
|
|
71348
|
+
/**
|
|
71349
|
+
* If set to `true`, a currently running request will be cancelled before a new request is made
|
|
71350
|
+
*
|
|
71351
|
+
* If set to `false`, no refetch will be made if there is already a request running.
|
|
71352
|
+
*
|
|
71353
|
+
* Defaults to `true`.
|
|
71354
|
+
*/
|
|
71355
|
+
cancelRefetch?: boolean;
|
|
71356
|
+
}
|
|
71357
|
+
type QueryStatus = 'pending' | 'error' | 'success';
|
|
71358
|
+
type FetchStatus = 'fetching' | 'paused' | 'idle';
|
|
71359
|
+
interface QueryObserverBaseResult<TData = unknown, TError = DefaultError> {
|
|
71360
|
+
/**
|
|
71361
|
+
* The last successfully resolved data for the query.
|
|
71362
|
+
*/
|
|
71363
|
+
data: TData | undefined;
|
|
71364
|
+
/**
|
|
71365
|
+
* The timestamp for when the query most recently returned the `status` as `"success"`.
|
|
71366
|
+
*/
|
|
71367
|
+
dataUpdatedAt: number;
|
|
71368
|
+
/**
|
|
71369
|
+
* The error object for the query, if an error was thrown.
|
|
71370
|
+
* - Defaults to `null`.
|
|
71371
|
+
*/
|
|
71372
|
+
error: TError | null;
|
|
71373
|
+
/**
|
|
71374
|
+
* The timestamp for when the query most recently returned the `status` as `"error"`.
|
|
71375
|
+
*/
|
|
71376
|
+
errorUpdatedAt: number;
|
|
71377
|
+
/**
|
|
71378
|
+
* The failure count for the query.
|
|
71379
|
+
* - Incremented every time the query fails.
|
|
71380
|
+
* - Reset to `0` when the query succeeds.
|
|
71381
|
+
*/
|
|
71382
|
+
failureCount: number;
|
|
71383
|
+
/**
|
|
71384
|
+
* The failure reason for the query retry.
|
|
71385
|
+
* - Reset to `null` when the query succeeds.
|
|
70222
71386
|
*/
|
|
70223
71387
|
failureReason: TError | null;
|
|
70224
71388
|
/**
|
|
@@ -70921,117 +72085,6 @@ declare const useMyEntity: () => {
|
|
|
70921
72085
|
type EntityResponse = components['schemas']['EntityOrganizationResponse'] | components['schemas']['EntityIndividualResponse'];
|
|
70922
72086
|
declare const getEntityName: (entity?: EntityResponse) => string;
|
|
70923
72087
|
|
|
70924
|
-
declare const usePaymentRecords: (query: Services["finops"]["getPaymentRecords"]["types"]["parameters"]["query"], enabled?: boolean) => _tanstack_react_query.UseQueryResult<{
|
|
70925
|
-
data: components["schemas"]["PaymentRecordResponse"][];
|
|
70926
|
-
next_pagination_token?: string;
|
|
70927
|
-
prev_pagination_token?: string;
|
|
70928
|
-
}, {
|
|
70929
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70930
|
-
} | {
|
|
70931
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70932
|
-
} | Error>;
|
|
70933
|
-
/**
|
|
70934
|
-
* Hook to fetch payment records for a list of payables.
|
|
70935
|
-
* Sorts the payment records by paid_at in descending order.
|
|
70936
|
-
*
|
|
70937
|
-
* @param payableIds - Array of payable IDs to fetch payment records for
|
|
70938
|
-
* @returns {Object}
|
|
70939
|
-
* - payablesPaymentIntentsRecord: Payment intents with most recent record per intent, grouped by payable ID
|
|
70940
|
-
* - isLoading: Loading state boolean
|
|
70941
|
-
* - error: Error state if request fails
|
|
70942
|
-
*
|
|
70943
|
-
* Example data returned in payablesPaymentIntentsRecord:
|
|
70944
|
-
* ```
|
|
70945
|
-
* {
|
|
70946
|
-
* "payable-id-1": [
|
|
70947
|
-
* { intent: "payment-intent-id-1", record: record2 },
|
|
70948
|
-
* { intent: "payment-intent-id-2", record: record3 }
|
|
70949
|
-
* ],
|
|
70950
|
-
* "payable-id-2": [
|
|
70951
|
-
* { intent: "payment-intent-id-3", record: record6 },
|
|
70952
|
-
* { intent: "payment-intent-id-4", record: record8 }
|
|
70953
|
-
* ]
|
|
70954
|
-
* }
|
|
70955
|
-
* ```
|
|
70956
|
-
*/
|
|
70957
|
-
declare const usePayablePaymentIntentsAndRecords: (payableIds?: string[]) => {
|
|
70958
|
-
allPaymentRecords: {
|
|
70959
|
-
id: string;
|
|
70960
|
-
amount: number;
|
|
70961
|
-
currency: components["schemas"]["CurrencyEnum"];
|
|
70962
|
-
entity_user_id?: string;
|
|
70963
|
-
history: components["schemas"]["PaymentRecordHistoryResponse"][];
|
|
70964
|
-
is_external: boolean;
|
|
70965
|
-
object: components["schemas"]["PaymentRecordObjectResponse"];
|
|
70966
|
-
overpaid_amount: number;
|
|
70967
|
-
paid_at?: string;
|
|
70968
|
-
payment_intent_id?: string;
|
|
70969
|
-
payment_intent_status?: string;
|
|
70970
|
-
payment_method?: string;
|
|
70971
|
-
planned_payment_date?: string;
|
|
70972
|
-
status: string;
|
|
70973
|
-
}[] | undefined;
|
|
70974
|
-
payablesPaymentIntentsRecord: Record<string, PaymentRecordWithIntent[]>;
|
|
70975
|
-
isLoading: boolean;
|
|
70976
|
-
error: {
|
|
70977
|
-
error: components["schemas"]["ErrorSchema"];
|
|
70978
|
-
} | {
|
|
70979
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
70980
|
-
} | Error | null;
|
|
70981
|
-
refetch: () => void;
|
|
70982
|
-
};
|
|
70983
|
-
declare const useCreatePaymentRecord: () => _tanstack_react_query.UseMutationResult<{
|
|
70984
|
-
id: string;
|
|
70985
|
-
amount: number;
|
|
70986
|
-
currency: components["schemas"]["CurrencyEnum"];
|
|
70987
|
-
entity_user_id?: string;
|
|
70988
|
-
history: components["schemas"]["PaymentRecordHistoryResponse"][];
|
|
70989
|
-
is_external: boolean;
|
|
70990
|
-
object: components["schemas"]["PaymentRecordObjectResponse"];
|
|
70991
|
-
overpaid_amount: number;
|
|
70992
|
-
paid_at?: string;
|
|
70993
|
-
payment_intent_id?: string;
|
|
70994
|
-
payment_intent_status?: string;
|
|
70995
|
-
payment_method?: string;
|
|
70996
|
-
planned_payment_date?: string;
|
|
70997
|
-
status: string;
|
|
70998
|
-
}, {
|
|
70999
|
-
error: components["schemas"]["ErrorSchema"];
|
|
71000
|
-
} | {
|
|
71001
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71002
|
-
} | Error, {
|
|
71003
|
-
amount: number;
|
|
71004
|
-
currency: components["schemas"]["CurrencyEnum"];
|
|
71005
|
-
entity_user_id?: string;
|
|
71006
|
-
object: components["schemas"]["PaymentRecordObjectRequest"];
|
|
71007
|
-
paid_at?: string;
|
|
71008
|
-
payment_intent_id?: string;
|
|
71009
|
-
payment_intent_status?: string;
|
|
71010
|
-
payment_method?: string;
|
|
71011
|
-
planned_payment_date?: string;
|
|
71012
|
-
status: "created" | "processing" | "succeeded";
|
|
71013
|
-
}, unknown>;
|
|
71014
|
-
declare const usePaymentRecordById: (payment_record_id: string) => _tanstack_react_query.UseQueryResult<{
|
|
71015
|
-
id: string;
|
|
71016
|
-
amount: number;
|
|
71017
|
-
currency: components["schemas"]["CurrencyEnum"];
|
|
71018
|
-
entity_user_id?: string;
|
|
71019
|
-
history: components["schemas"]["PaymentRecordHistoryResponse"][];
|
|
71020
|
-
is_external: boolean;
|
|
71021
|
-
object: components["schemas"]["PaymentRecordObjectResponse"];
|
|
71022
|
-
overpaid_amount: number;
|
|
71023
|
-
paid_at?: string;
|
|
71024
|
-
payment_intent_id?: string;
|
|
71025
|
-
payment_intent_status?: string;
|
|
71026
|
-
payment_method?: string;
|
|
71027
|
-
planned_payment_date?: string;
|
|
71028
|
-
status: string;
|
|
71029
|
-
}, {
|
|
71030
|
-
error: components["schemas"]["ErrorSchema"];
|
|
71031
|
-
} | {
|
|
71032
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71033
|
-
} | Error>;
|
|
71034
|
-
|
|
71035
72088
|
declare const usePaymentIntentById: (payment_intent_id: string) => _tanstack_react_query.UseQueryResult<{
|
|
71036
72089
|
id: string;
|
|
71037
72090
|
updated_at: string;
|
|
@@ -71333,2819 +72386,6 @@ declare const useGetReceivableById: (receivable_id: string, enabled?: boolean) =
|
|
|
71333
72386
|
detail?: components["schemas"]["ValidationError"][];
|
|
71334
72387
|
} | Error>;
|
|
71335
72388
|
|
|
71336
|
-
type OcrMismatchField = keyof Pick<PayableResponseSchema$1, 'amount_to_pay' | 'counterpart_bank_account_id'>;
|
|
71337
|
-
type OcrMismatchFields = Partial<Record<OcrMismatchField, boolean>> | undefined;
|
|
71338
|
-
interface MonitePayableDetailsInfoProps {
|
|
71339
|
-
optionalFields?: OptionalFields;
|
|
71340
|
-
ocrRequiredFields?: OcrRequiredFields;
|
|
71341
|
-
ocrMismatchFields?: OcrMismatchFields;
|
|
71342
|
-
}
|
|
71343
|
-
type PayableResponseSchema$1 = components['schemas']['PayableResponseSchema'];
|
|
71344
|
-
|
|
71345
|
-
declare const FILTER_TYPE_SEARCH$1 = "search";
|
|
71346
|
-
declare const FILTER_TYPE_STATUS = "status";
|
|
71347
|
-
declare const FILTER_TYPE_DUE_DATE = "due_date";
|
|
71348
|
-
declare const FILTER_TYPE_SUMMARY_CARD = "summary_card_filter";
|
|
71349
|
-
|
|
71350
|
-
type API = Services;
|
|
71351
|
-
interface CreateMoniteAPIClientResult {
|
|
71352
|
-
requestFn: typeof requestFn;
|
|
71353
|
-
api: API;
|
|
71354
|
-
version: string;
|
|
71355
|
-
}
|
|
71356
|
-
interface CreateMoniteAPIClientOptions {
|
|
71357
|
-
context?: Context<QraftContextValue>;
|
|
71358
|
-
/** Custom headers to include in every request (e.g. x-widget-token) */
|
|
71359
|
-
customHeaders?: Record<string, string>;
|
|
71360
|
-
}
|
|
71361
|
-
declare const createAPIClient: ({ customHeaders, ...qraftClientOptions }?: CreateMoniteAPIClientOptions | undefined) => CreateMoniteAPIClientResult;
|
|
71362
|
-
|
|
71363
|
-
type FilterTypes = Partial<{
|
|
71364
|
-
[FILTER_TYPE_SEARCH$1]: string | null;
|
|
71365
|
-
[FILTER_TYPE_STATUS]: components['schemas']['PayableStateEnum'] | null;
|
|
71366
|
-
[FILTER_TYPE_DUE_DATE]: Date | null;
|
|
71367
|
-
[FILTER_TYPE_SUMMARY_CARD]: PayablesTabFilter | null;
|
|
71368
|
-
}>;
|
|
71369
|
-
type FilterValue$1 = components['schemas']['PayableStateEnum'] | 'all' | Date | string | null;
|
|
71370
|
-
type FieldValueTypes = 'counterpart_id' | 'document_id' | 'amount' | 'due_date' | 'was_created_by_user_id' | 'created_at' | 'issued_at' | 'status' | 'pay';
|
|
71371
|
-
interface MonitePayableTableProps {
|
|
71372
|
-
isShowingSummaryCards?: boolean;
|
|
71373
|
-
fieldOrder?: [FieldValueTypes, ...FieldValueTypes[]];
|
|
71374
|
-
summaryCardFilters?: Record<string, PayablesTabFilter | null>;
|
|
71375
|
-
requiredColumns?: [FieldValueTypes, ...FieldValueTypes[]];
|
|
71376
|
-
displayColumns?: [FieldValueTypes, ...FieldValueTypes[]];
|
|
71377
|
-
}
|
|
71378
|
-
type PayablesTabFilter = NonNullable<API['finops']['getPayables']['types']['parameters']['query']>;
|
|
71379
|
-
|
|
71380
|
-
interface IconWrapperEvents {
|
|
71381
|
-
onHover?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
71382
|
-
onFocus?: (event: FocusEvent<HTMLButtonElement>) => void;
|
|
71383
|
-
onBlur?: (event: FocusEvent<HTMLButtonElement>) => void;
|
|
71384
|
-
}
|
|
71385
|
-
interface MoniteIconWrapperProps extends IconButtonProps, IconWrapperEvents {
|
|
71386
|
-
showCloseIcon?: boolean;
|
|
71387
|
-
icon?: ReactNode;
|
|
71388
|
-
fallbackIcon?: ReactNode;
|
|
71389
|
-
tooltip?: string;
|
|
71390
|
-
color?: 'inherit' | 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
71391
|
-
sx?: SxProps<Theme>;
|
|
71392
|
-
isDynamic?: boolean;
|
|
71393
|
-
ariaLabelOverride?: string;
|
|
71394
|
-
ref?: Ref<HTMLButtonElement>;
|
|
71395
|
-
}
|
|
71396
|
-
|
|
71397
|
-
type PaginationLayout = 'default' | 'reversed' | 'centered' | 'custom';
|
|
71398
|
-
type PaginationPosition = 'left' | 'right' | 'center';
|
|
71399
|
-
|
|
71400
|
-
interface TablePaginationSettings {
|
|
71401
|
-
/** Controls the layout of pagination controls */
|
|
71402
|
-
paginationLayout?: PaginationLayout;
|
|
71403
|
-
/** Position of navigation arrows when paginationLayout is 'custom' */
|
|
71404
|
-
navigationPosition?: PaginationPosition;
|
|
71405
|
-
/** Position of page size selector when paginationLayout is 'custom' */
|
|
71406
|
-
pageSizePosition?: PaginationPosition;
|
|
71407
|
-
}
|
|
71408
|
-
interface ReceivableSettings extends TablePaginationSettings {
|
|
71409
|
-
pageSizeOptions: number[];
|
|
71410
|
-
}
|
|
71411
|
-
/**
|
|
71412
|
-
* Configuration settings for the onboarding component.
|
|
71413
|
-
*
|
|
71414
|
-
* ## Onboarding Callback Architecture
|
|
71415
|
-
*
|
|
71416
|
-
* The Monite SDK supports different types of onboarding flows with corresponding callbacks:
|
|
71417
|
-
*
|
|
71418
|
-
* ### 1. General Onboarding (`onComplete`)
|
|
71419
|
-
* - **Trigger**: When all onboarding requirements are fulfilled (requirements.length === 0)
|
|
71420
|
-
* - **Use Case**: General onboarding completion, backward compatibility
|
|
71421
|
-
* - **Business Logic**: Called when the onboarding component completes all required steps
|
|
71422
|
-
*
|
|
71423
|
-
* ### 2. Payments Onboarding (`onPaymentsOnboardingComplete`)
|
|
71424
|
-
* - **Trigger**: When payments onboarding requirements are fulfilled
|
|
71425
|
-
* - **Use Case**: Specific to payments onboarding completion
|
|
71426
|
-
* - **Business Logic**: Called when entity can make/receive payments via Monite payment rails
|
|
71427
|
-
* - **Note**: Currently triggered alongside `onComplete` as they represent the same flow
|
|
71428
|
-
*
|
|
71429
|
-
* ### 3. Working Capital Onboarding (`onWorkingCapitalOnboardingComplete`)
|
|
71430
|
-
* - **Trigger**: When business status transitions from 'INPUT_REQUIRED' or 'NEW' to 'WAITING_FOR_OFFERS'
|
|
71431
|
-
* - **Use Case**: Financing/working capital onboarding completion
|
|
71432
|
-
* - **Business Logic**: Called when entity completes onboarding for working capital services
|
|
71433
|
-
* - **Implementation**: Handled in the financing flow (useFinancing hook)
|
|
71434
|
-
*
|
|
71435
|
-
* ### Event Flow Architecture
|
|
71436
|
-
*
|
|
71437
|
-
* ```
|
|
71438
|
-
* Component → useComponentSettings() → [domain]Callbacks → MoniteEvents.enhance[Domain]Settings() → EVENT emission
|
|
71439
|
-
* ```
|
|
71440
|
-
*
|
|
71441
|
-
* All callbacks are enhanced with event emission capabilities in the drop-in package.
|
|
71442
|
-
*/
|
|
71443
|
-
interface OnboardingSettings {
|
|
71444
|
-
/**
|
|
71445
|
-
* Custom footer logo URL for the Onboarding pages.
|
|
71446
|
-
* If provided, the logo will be displayed instead of the Monite logo.
|
|
71447
|
-
* Requires `onboardingFooterWebsiteUrl` to be provided as well.
|
|
71448
|
-
*/
|
|
71449
|
-
footerLogoUrl?: string;
|
|
71450
|
-
/**
|
|
71451
|
-
* Custom footer website URL for the Onboarding pages.
|
|
71452
|
-
* If provided, the onboardingFooterLogoUrl logo will link to this URL.
|
|
71453
|
-
*/
|
|
71454
|
-
footerWebsiteUrl?: string;
|
|
71455
|
-
/**
|
|
71456
|
-
* If true, hides the footer on the Onboarding pages.
|
|
71457
|
-
* Defaults to false.
|
|
71458
|
-
*/
|
|
71459
|
-
hideFooter?: boolean;
|
|
71460
|
-
/**
|
|
71461
|
-
* Whether to show the continue button on the onboarding completed page.
|
|
71462
|
-
*
|
|
71463
|
-
* @default false
|
|
71464
|
-
*/
|
|
71465
|
-
showContinueButton?: boolean;
|
|
71466
|
-
/**
|
|
71467
|
-
* Allowed currencies to restrict options in the onboarding forms.
|
|
71468
|
-
* The first currency in the array will be used as the default value.
|
|
71469
|
-
*
|
|
71470
|
-
* @example ['USD', 'EUR']
|
|
71471
|
-
*/
|
|
71472
|
-
allowedCurrencies?: components['schemas']['CurrencyEnum'][];
|
|
71473
|
-
/**
|
|
71474
|
-
* Allowed country codes to restrict options in the onboarding forms.
|
|
71475
|
-
* The first country code in the array will be used as the default value.
|
|
71476
|
-
*
|
|
71477
|
-
* @example ['US', 'GB']
|
|
71478
|
-
*/
|
|
71479
|
-
allowedCountries?: components['schemas']['AllowedCountries'][];
|
|
71480
|
-
/**
|
|
71481
|
-
* Called when the onboarding process is completed.
|
|
71482
|
-
* This happens when all onboarding requirements have been fulfilled.
|
|
71483
|
-
*
|
|
71484
|
-
* @param {string} entityId - The ID of the entity
|
|
71485
|
-
* @returns {void}
|
|
71486
|
-
*/
|
|
71487
|
-
onComplete?: (entityId: string) => void;
|
|
71488
|
-
/**
|
|
71489
|
-
* Called when the continue button is clicked on the onboarding completed page.
|
|
71490
|
-
*
|
|
71491
|
-
* @returns {void}
|
|
71492
|
-
*/
|
|
71493
|
-
onContinue?: () => void;
|
|
71494
|
-
/**
|
|
71495
|
-
* Called when working capital onboarding is completed.
|
|
71496
|
-
* This happens when the business status transitions to 'ONBOARDED'.
|
|
71497
|
-
*
|
|
71498
|
-
* @param {string} entityId - The ID of the entity
|
|
71499
|
-
* @returns {void}
|
|
71500
|
-
*/
|
|
71501
|
-
onWorkingCapitalOnboardingComplete?: (entityId: string) => void;
|
|
71502
|
-
/**
|
|
71503
|
-
* Called when payments onboarding is completed.
|
|
71504
|
-
* Note: This is currently triggered when all onboarding requirements are completed.
|
|
71505
|
-
* Future versions may tie this to a specific payments onboarding status.
|
|
71506
|
-
*
|
|
71507
|
-
* @param {string} entityId - The ID of the entity
|
|
71508
|
-
* @returns {void}
|
|
71509
|
-
*/
|
|
71510
|
-
onPaymentsOnboardingComplete?: (entityId: string) => void;
|
|
71511
|
-
}
|
|
71512
|
-
interface FinancingSettings {
|
|
71513
|
-
/**
|
|
71514
|
-
* Enables finance widget buttons inside finance card in My financing tab when true, if false,
|
|
71515
|
-
* buttons are shown on the top right corner instead.
|
|
71516
|
-
*/
|
|
71517
|
-
enableFinanceWidgetButton?: boolean;
|
|
71518
|
-
/**
|
|
71519
|
-
* Describes the step by step of how financing an invoice works, this is shown in a drawer when clicking on
|
|
71520
|
-
* `How does invoice financing work?` button
|
|
71521
|
-
*/
|
|
71522
|
-
financeSteps: FinanceStep[];
|
|
71523
|
-
}
|
|
71524
|
-
/**
|
|
71525
|
-
* Action handlers for custom payment flows in payable operations.
|
|
71526
|
-
*
|
|
71527
|
-
* These handlers provide fine-grained control over payment workflows, allowing customers to:
|
|
71528
|
-
* - Integrate external payment providers
|
|
71529
|
-
* - Implement custom approval processes or multi-step authentication
|
|
71530
|
-
* - Add specialized banking solutions or enterprise payment workflows
|
|
71531
|
-
* - Control UI feedback and data refresh timing after payment completion
|
|
71532
|
-
*
|
|
71533
|
-
* @example Custom payment provider integration:
|
|
71534
|
-
* ```typescript
|
|
71535
|
-
* const onPay = (id: string, _data?: unknown, actions?: PayActionHandlers) => {
|
|
71536
|
-
* // Start custom payment flow
|
|
71537
|
-
* initiatePayment(id)
|
|
71538
|
-
* .then(() => {
|
|
71539
|
-
* // Payment successful - update SDK state and show success message
|
|
71540
|
-
* actions?.resolve({ showToast: true });
|
|
71541
|
-
* })
|
|
71542
|
-
* .catch((error) => {
|
|
71543
|
-
* // Payment failed - update SDK state and show error message
|
|
71544
|
-
* actions?.reject(error, { showToast: true });
|
|
71545
|
-
* });
|
|
71546
|
-
* };
|
|
71547
|
-
* ```
|
|
71548
|
-
*/
|
|
71549
|
-
type PayActionHandlers = {
|
|
71550
|
-
/**
|
|
71551
|
-
* Call when a custom payment flow has been successfully initiated/completed.
|
|
71552
|
-
* This triggers SDK's built-in state management: refreshes payable data,
|
|
71553
|
-
* payment records, and optionally displays success feedback to the user.
|
|
71554
|
-
*
|
|
71555
|
-
* @param options.showToast - Whether to display a success toast notification
|
|
71556
|
-
*/
|
|
71557
|
-
resolve: (options?: {
|
|
71558
|
-
showToast?: boolean;
|
|
71559
|
-
}) => void;
|
|
71560
|
-
/**
|
|
71561
|
-
* Call when a custom payment flow failed or was cancelled by the user.
|
|
71562
|
-
* This triggers SDK's built-in state management: refreshes payable data,
|
|
71563
|
-
* payment records, and optionally displays error feedback to the user.
|
|
71564
|
-
*
|
|
71565
|
-
* @param error - Optional error details from the failed payment attempt
|
|
71566
|
-
* @param options.showToast - Whether to display an error toast notification
|
|
71567
|
-
*/
|
|
71568
|
-
reject: (error?: unknown, options?: {
|
|
71569
|
-
showToast?: boolean;
|
|
71570
|
-
}) => void;
|
|
71571
|
-
};
|
|
71572
|
-
interface PayableSettings extends MonitePayableTableProps, MonitePayableDetailsInfoProps, TablePaginationSettings {
|
|
71573
|
-
pageSizeOptions: number[];
|
|
71574
|
-
enableGLCodes?: boolean;
|
|
71575
|
-
hideAddDiscountButton?: boolean;
|
|
71576
|
-
hideAddBankAccountButton?: boolean;
|
|
71577
|
-
/** List of available countries for payables forms, ISO format */
|
|
71578
|
-
availableCountries?: components['schemas']['AllowedCountries'][];
|
|
71579
|
-
/** List of available currencies for payables forms, ISO format */
|
|
71580
|
-
availableCurrencies?: components['schemas']['CurrencyEnum'][];
|
|
71581
|
-
onSaved?: (id: string) => void;
|
|
71582
|
-
onCanceled?: (id: string) => void;
|
|
71583
|
-
onSubmitted?: (id: string) => void;
|
|
71584
|
-
onRejected?: (id: string) => void;
|
|
71585
|
-
onApproved?: (id: string) => void;
|
|
71586
|
-
onReopened?: (id: string) => void;
|
|
71587
|
-
onDeleted?: (id: string) => void;
|
|
71588
|
-
/**
|
|
71589
|
-
* Called when the user clicks Pay button on a payable.
|
|
71590
|
-
*
|
|
71591
|
-
* **Legacy Usage (Backward Compatible):**
|
|
71592
|
-
* ```typescript
|
|
71593
|
-
* onPay: (id: string) => {
|
|
71594
|
-
* console.log('Payment initiated for:', id);
|
|
71595
|
-
* }
|
|
71596
|
-
* ```
|
|
71597
|
-
*
|
|
71598
|
-
* **Enhanced Usage (Custom Payment Flow):**
|
|
71599
|
-
* ```typescript
|
|
71600
|
-
* onPay: (id: string, _data?: unknown, actions?: PayActionHandlers) => {
|
|
71601
|
-
* // Custom payment implementation
|
|
71602
|
-
* processPaymentWithCustomProvider(id)
|
|
71603
|
-
* .then(() => actions?.resolve({ showToast: true }))
|
|
71604
|
-
* .catch(err => actions?.reject(err, { showToast: true }));
|
|
71605
|
-
* }
|
|
71606
|
-
* ```
|
|
71607
|
-
*
|
|
71608
|
-
* @param id - The payable ID being paid
|
|
71609
|
-
* @param _data - Reserved for future use (currently undefined)
|
|
71610
|
-
* @param actions - Optional handlers for custom payment flows. When provided,
|
|
71611
|
-
* enables custom payment integration. Call actions.resolve()
|
|
71612
|
-
* on success or actions.reject() on failure to update SDK state.
|
|
71613
|
-
*/
|
|
71614
|
-
onPay?: (id: string, _data?: unknown, actions?: PayActionHandlers) => void;
|
|
71615
|
-
}
|
|
71616
|
-
interface ComponentSettings {
|
|
71617
|
-
general: {
|
|
71618
|
-
iconWrapper: Partial<MoniteIconWrapperProps>;
|
|
71619
|
-
};
|
|
71620
|
-
approvalPolicies: {
|
|
71621
|
-
pageSizeOptions: number[];
|
|
71622
|
-
} & TablePaginationSettings;
|
|
71623
|
-
approvalRequests: {
|
|
71624
|
-
pageSizeOptions: number[];
|
|
71625
|
-
} & TablePaginationSettings;
|
|
71626
|
-
payables: Partial<PayableSettings>;
|
|
71627
|
-
products: {
|
|
71628
|
-
pageSizeOptions: number[];
|
|
71629
|
-
} & TablePaginationSettings;
|
|
71630
|
-
receivables: Partial<ReceivableSettings>;
|
|
71631
|
-
userRoles: {
|
|
71632
|
-
pageSizeOptions: number[];
|
|
71633
|
-
} & TablePaginationSettings;
|
|
71634
|
-
onboarding: Partial<OnboardingSettings>;
|
|
71635
|
-
financing: Partial<FinancingSettings>;
|
|
71636
|
-
}
|
|
71637
|
-
|
|
71638
|
-
type UsePayableDetailsProps = {
|
|
71639
|
-
/**
|
|
71640
|
-
* The ID of the payable
|
|
71641
|
-
*/
|
|
71642
|
-
id?: string;
|
|
71643
|
-
/** when provided it takes precedence over component settings */
|
|
71644
|
-
enableGLCodes?: boolean;
|
|
71645
|
-
/** when provided it makes the payable open in edit mode */
|
|
71646
|
-
shouldOpenInEditMode?: boolean;
|
|
71647
|
-
/**
|
|
71648
|
-
* Callback function that is called when the payable is saved
|
|
71649
|
-
*
|
|
71650
|
-
* @param {string} id - The ID of the payable
|
|
71651
|
-
*
|
|
71652
|
-
* @returns {void}
|
|
71653
|
-
*/
|
|
71654
|
-
onSaved?: (id: string) => void;
|
|
71655
|
-
/**
|
|
71656
|
-
* Callback function that is called when the payable is canceled
|
|
71657
|
-
*
|
|
71658
|
-
* @param {string} id - The ID of the payable
|
|
71659
|
-
*
|
|
71660
|
-
* @returns {void}
|
|
71661
|
-
*/
|
|
71662
|
-
onCanceled?: (id: string) => void;
|
|
71663
|
-
/**
|
|
71664
|
-
* Callback function that is called when the payable is submitted
|
|
71665
|
-
*
|
|
71666
|
-
* @param {string} id - The ID of the payable
|
|
71667
|
-
*
|
|
71668
|
-
* @returns {void}
|
|
71669
|
-
*/
|
|
71670
|
-
onSubmitted?: (id: string) => void;
|
|
71671
|
-
/**
|
|
71672
|
-
* Callback function that is called when the payable is rejected
|
|
71673
|
-
*
|
|
71674
|
-
* @param {string} id - The ID of the payable
|
|
71675
|
-
*
|
|
71676
|
-
* @returns {void}
|
|
71677
|
-
*/
|
|
71678
|
-
onRejected?: (id: string) => void;
|
|
71679
|
-
/**
|
|
71680
|
-
* Callback function that is called when the payable is approved
|
|
71681
|
-
*
|
|
71682
|
-
* @param {string} id - The ID of the payable
|
|
71683
|
-
*
|
|
71684
|
-
* @returns {void}
|
|
71685
|
-
*/
|
|
71686
|
-
onApproved?: (id: string) => void;
|
|
71687
|
-
/** Callback function that is called when the payable is reopened
|
|
71688
|
-
*
|
|
71689
|
-
* @param {string} id - The ID of the payable
|
|
71690
|
-
*
|
|
71691
|
-
* @returns {void}
|
|
71692
|
-
*/
|
|
71693
|
-
onReopened?: (id: string) => void;
|
|
71694
|
-
/** Callback function that is called when the payable is deleted
|
|
71695
|
-
*
|
|
71696
|
-
* @param {string} id - The ID of the payable
|
|
71697
|
-
*
|
|
71698
|
-
* @returns {void}
|
|
71699
|
-
*/
|
|
71700
|
-
onDeleted?: (id: string) => void;
|
|
71701
|
-
/**
|
|
71702
|
-
* Callback function that is called when the user press the Pay button
|
|
71703
|
-
*
|
|
71704
|
-
* @param {string} id - The ID of the payable
|
|
71705
|
-
*
|
|
71706
|
-
* @returns {void}
|
|
71707
|
-
*/
|
|
71708
|
-
onPay?: (id: string, _data?: unknown, actions?: PayActionHandlers) => void;
|
|
71709
|
-
};
|
|
71710
|
-
|
|
71711
|
-
interface PayablesDetailsProps extends UsePayableDetailsProps {
|
|
71712
|
-
optionalFields?: OptionalFields;
|
|
71713
|
-
enableGLCodes?: boolean;
|
|
71714
|
-
hideAddDiscountButton?: boolean;
|
|
71715
|
-
onClose?: () => void;
|
|
71716
|
-
shouldOpenInEditMode?: boolean;
|
|
71717
|
-
/** Preselects this counterpart when creating a new payable. */
|
|
71718
|
-
initialCounterpartId?: string;
|
|
71719
|
-
}
|
|
71720
|
-
declare const PayableDetails: (props: PayablesDetailsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
71721
|
-
|
|
71722
|
-
interface PayablesTableProps extends MonitePayableTableProps {
|
|
71723
|
-
/**
|
|
71724
|
-
* Arrival prop: seeds the counterpart filter once (vendor "View all" cross-link).
|
|
71725
|
-
*/
|
|
71726
|
-
initialCounterpartId?: string;
|
|
71727
|
-
/**
|
|
71728
|
-
* The event handler for a row click.
|
|
71729
|
-
*
|
|
71730
|
-
* @param id - The identifier of the clicked row, a string.
|
|
71731
|
-
*/
|
|
71732
|
-
onRowClick?: (id: string) => void;
|
|
71733
|
-
/**
|
|
71734
|
-
* The event handler for the pay action
|
|
71735
|
-
*
|
|
71736
|
-
* @param id - The identifier of the row to perform the pay action on, a string.
|
|
71737
|
-
*/
|
|
71738
|
-
onPay?: (id: string, _data?: unknown, actions?: PayActionHandlers) => void;
|
|
71739
|
-
onSubmitted?: (id: string) => void;
|
|
71740
|
-
onApproved?: (id: string) => void;
|
|
71741
|
-
onCanceled?: (id: string) => void;
|
|
71742
|
-
/**
|
|
71743
|
-
* Triggered when the filtering options are changed
|
|
71744
|
-
*
|
|
71745
|
-
* @param filter - An object containing the filter parameters.
|
|
71746
|
-
* @param filter.field - The field to filter by, specified as a keyof FilterTypes.
|
|
71747
|
-
* @param filter.value - The value to be applied to the filter, of type FilterValue.
|
|
71748
|
-
*/
|
|
71749
|
-
onChangeFilter?: (filter: {
|
|
71750
|
-
field: keyof FilterTypes;
|
|
71751
|
-
value: FilterValue$1;
|
|
71752
|
-
}) => void;
|
|
71753
|
-
/**
|
|
71754
|
-
* The event handler for the file input when no data is present.
|
|
71755
|
-
* This triggers the file upload process when the user selects a file.
|
|
71756
|
-
*/
|
|
71757
|
-
openFileInput?: () => void;
|
|
71758
|
-
/**
|
|
71759
|
-
* The event handler for opening the "New Invoice" dialog when no data is present.
|
|
71760
|
-
* This function controls the visibility of the dialog for invoice creation.
|
|
71761
|
-
*
|
|
71762
|
-
* @param {boolean} isOpen - A boolean value indicating whether the dialog should be open (true) or closed (false).
|
|
71763
|
-
*/
|
|
71764
|
-
setIsCreateInvoiceDialogOpen?: (isOpen: boolean) => void;
|
|
71765
|
-
openEditDialog?: (id: string) => void;
|
|
71766
|
-
}
|
|
71767
|
-
declare const PayablesTable: (props: PayablesTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
71768
|
-
|
|
71769
|
-
type PayablesProps = {
|
|
71770
|
-
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
71771
|
-
/**
|
|
71772
|
-
* Enable GL code selection for payable line items.
|
|
71773
|
-
* When true, users can assign GL codes to individual line items.
|
|
71774
|
-
* GL codes are fetched from the connected accounting system.
|
|
71775
|
-
*/
|
|
71776
|
-
enableGLCodes?: boolean;
|
|
71777
|
-
/** Arrival prop: 'create' opens the create-bill dialog on mount. */
|
|
71778
|
-
initialView?: 'create';
|
|
71779
|
-
/** Arrival prop: preselects this counterpart in the create-bill form. */
|
|
71780
|
-
initialCounterpartId?: string;
|
|
71781
|
-
} & Partial<Pick<UsePayableDetailsProps, 'onSaved' | 'onCanceled' | 'onSubmitted' | 'onRejected' | 'onApproved' | 'onReopened' | 'onDeleted' | 'onPay'>>;
|
|
71782
|
-
declare const Payables: (props: PayablesProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
71783
|
-
|
|
71784
|
-
declare const useGetPayableCounterpart: ({ payable, }: {
|
|
71785
|
-
payable?: components["schemas"]["PayableResponseSchema"];
|
|
71786
|
-
}) => {
|
|
71787
|
-
counterpart: {
|
|
71788
|
-
id: string;
|
|
71789
|
-
created_at: string;
|
|
71790
|
-
updated_at: string;
|
|
71791
|
-
created_automatically: boolean;
|
|
71792
|
-
created_by_entity_user_id?: string;
|
|
71793
|
-
default_billing_address_id?: string;
|
|
71794
|
-
default_shipping_address_id?: string;
|
|
71795
|
-
external_reference?: string;
|
|
71796
|
-
individual: components["schemas"]["CounterpartIndividualResponse"];
|
|
71797
|
-
is_customer: boolean;
|
|
71798
|
-
is_vendor: boolean;
|
|
71799
|
-
language?: components["schemas"]["LanguageCodeEnum"];
|
|
71800
|
-
reminders_enabled?: boolean;
|
|
71801
|
-
tax_id?: string;
|
|
71802
|
-
type: components["schemas"]["CounterpartType"];
|
|
71803
|
-
} | {
|
|
71804
|
-
id: string;
|
|
71805
|
-
created_at: string;
|
|
71806
|
-
updated_at: string;
|
|
71807
|
-
created_automatically: boolean;
|
|
71808
|
-
created_by_entity_user_id?: string;
|
|
71809
|
-
default_billing_address_id?: string;
|
|
71810
|
-
default_shipping_address_id?: string;
|
|
71811
|
-
external_reference?: string;
|
|
71812
|
-
is_customer: boolean;
|
|
71813
|
-
is_vendor: boolean;
|
|
71814
|
-
language?: components["schemas"]["LanguageCodeEnum"];
|
|
71815
|
-
organization: components["schemas"]["CounterpartOrganizationResponse"];
|
|
71816
|
-
reminders_enabled?: boolean;
|
|
71817
|
-
tax_id?: string;
|
|
71818
|
-
type: components["schemas"]["CounterpartType"];
|
|
71819
|
-
} | undefined;
|
|
71820
|
-
counterpartRawName: string | undefined;
|
|
71821
|
-
isCounterpartAIMatched: boolean;
|
|
71822
|
-
isCounterpartMatchingToOCRFound: boolean;
|
|
71823
|
-
isCounterpartLoading: boolean;
|
|
71824
|
-
AISuggestions: {
|
|
71825
|
-
suggested_counterpart: components["schemas"]["SuggestedCounterpartPayload"];
|
|
71826
|
-
} | undefined;
|
|
71827
|
-
};
|
|
71828
|
-
|
|
71829
|
-
declare const usePayableDetailsThemeProps: (inProps?: Partial<MonitePayableDetailsInfoProps>) => {
|
|
71830
|
-
optionalFields: OptionalFields | undefined;
|
|
71831
|
-
ocrRequiredFields: OcrRequiredFields;
|
|
71832
|
-
ocrMismatchFields: OcrMismatchFields;
|
|
71833
|
-
};
|
|
71834
|
-
|
|
71835
|
-
type PayableCallbackProps = Pick<UsePayableDetailsProps, 'onSaved' | 'onCanceled' | 'onSubmitted' | 'onRejected' | 'onApproved' | 'onReopened' | 'onDeleted' | 'onPay'>;
|
|
71836
|
-
/**
|
|
71837
|
-
* Custom hook that creates memoized payable callbacks.
|
|
71838
|
-
* Each callback calls both the direct prop callback and the component settings callback.
|
|
71839
|
-
* Returns undefined for callbacks when neither the direct prop nor component settings callback is defined.
|
|
71840
|
-
*
|
|
71841
|
-
* @param props - Direct callback props from component props
|
|
71842
|
-
* @returns Object with memoized callback handlers (or undefined when no callbacks are defined)
|
|
71843
|
-
*/
|
|
71844
|
-
declare const usePayableCallbacks: (props: PayableCallbackProps) => {
|
|
71845
|
-
handleSaved: ((id: string) => void) | undefined;
|
|
71846
|
-
handleCanceled: ((id: string) => void) | undefined;
|
|
71847
|
-
handleSubmitted: ((id: string) => void) | undefined;
|
|
71848
|
-
handleRejected: ((id: string) => void) | undefined;
|
|
71849
|
-
handleApproved: ((id: string) => void) | undefined;
|
|
71850
|
-
handleReopened: ((id: string) => void) | undefined;
|
|
71851
|
-
handleDeleted: ((id: string) => void) | undefined;
|
|
71852
|
-
handlePay: ((id: string, data?: unknown, actions?: PayActionHandlers) => void) | undefined;
|
|
71853
|
-
};
|
|
71854
|
-
|
|
71855
|
-
interface UsePayButtonVisibilityProps {
|
|
71856
|
-
payable?: components['schemas']['PayableResponseSchema'];
|
|
71857
|
-
payableRecentPaymentRecordByIntent: PaymentRecordWithIntent[];
|
|
71858
|
-
}
|
|
71859
|
-
interface PaymentIntentsAnalysis {
|
|
71860
|
-
scheduledIntents: PaymentRecordWithIntent[];
|
|
71861
|
-
processingIntents: PaymentRecordWithIntent[];
|
|
71862
|
-
succeededIntents: PaymentRecordWithIntent[];
|
|
71863
|
-
createdRecords: PaymentRecordWithIntent[];
|
|
71864
|
-
hasAnyIntentOtherThanCreated: boolean;
|
|
71865
|
-
aggregation: Record<string, {
|
|
71866
|
-
count: number;
|
|
71867
|
-
sum: number;
|
|
71868
|
-
records: Array<components['schemas']['PaymentRecordResponse']>;
|
|
71869
|
-
}>;
|
|
71870
|
-
idPaymentIntentInCreated?: string;
|
|
71871
|
-
}
|
|
71872
|
-
declare const usePayButtonVisibility: ({ payable, payableRecentPaymentRecordByIntent, }: UsePayButtonVisibilityProps) => {
|
|
71873
|
-
showPayButton: boolean;
|
|
71874
|
-
isPayAllowed: boolean;
|
|
71875
|
-
payableStatusCanBePaid: boolean;
|
|
71876
|
-
intentsAnalysis: PaymentIntentsAnalysis;
|
|
71877
|
-
};
|
|
71878
|
-
|
|
71879
|
-
declare const useLedgerAccounts: (enabled?: boolean) => _tanstack_react_query.UseQueryResult<{
|
|
71880
|
-
data: components["schemas"]["LedgerAccountResponse"][];
|
|
71881
|
-
next_pagination_token?: string;
|
|
71882
|
-
prev_pagination_token?: string;
|
|
71883
|
-
}, {
|
|
71884
|
-
error: components["schemas"]["ErrorSchema"];
|
|
71885
|
-
} | {
|
|
71886
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71887
|
-
} | Error>;
|
|
71888
|
-
|
|
71889
|
-
type PayableResponseSchema = components['schemas']['PayableResponseSchema'];
|
|
71890
|
-
declare function getPayableRefetchInterval({ isEditing, isOcrProcessing, payable, }: {
|
|
71891
|
-
isEditing?: boolean;
|
|
71892
|
-
isOcrProcessing?: boolean;
|
|
71893
|
-
payable?: PayableResponseSchema;
|
|
71894
|
-
}): number | false;
|
|
71895
|
-
declare const useGetPayableById: (payableId: string, isOcrProcessing?: boolean, isEditing?: boolean) => _tanstack_react_query.UseQueryResult<{
|
|
71896
|
-
id: string;
|
|
71897
|
-
created_at: string;
|
|
71898
|
-
updated_at: string;
|
|
71899
|
-
amount_due?: number;
|
|
71900
|
-
amount_paid?: number;
|
|
71901
|
-
amount_to_pay?: number;
|
|
71902
|
-
approval_policy_id?: string;
|
|
71903
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
71904
|
-
counterpart_address_id?: string;
|
|
71905
|
-
counterpart_bank_account_id?: string;
|
|
71906
|
-
counterpart_id?: string;
|
|
71907
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
71908
|
-
counterpart_vat_id_id?: string;
|
|
71909
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
71910
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
71911
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
71912
|
-
description?: string;
|
|
71913
|
-
discount?: number;
|
|
71914
|
-
document_id?: string;
|
|
71915
|
-
due_date?: string;
|
|
71916
|
-
einvoice_file_url?: string;
|
|
71917
|
-
enforce_approval_policy_id?: string;
|
|
71918
|
-
entity_id: string;
|
|
71919
|
-
file?: components["schemas"]["FileSchema"];
|
|
71920
|
-
file_id?: string;
|
|
71921
|
-
issued_at?: string;
|
|
71922
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
71923
|
-
marked_as_paid_with_comment?: string;
|
|
71924
|
-
ocr_request_id?: string;
|
|
71925
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
71926
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
71927
|
-
paid_at?: string;
|
|
71928
|
-
partner_metadata?: Record<string, never>;
|
|
71929
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
71930
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
71931
|
-
project_id?: string;
|
|
71932
|
-
purchase_order_id?: string;
|
|
71933
|
-
sender?: string;
|
|
71934
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
71935
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
71936
|
-
subtotal?: number;
|
|
71937
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
71938
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
71939
|
-
tax?: number;
|
|
71940
|
-
tax_amount?: number;
|
|
71941
|
-
total_amount?: number;
|
|
71942
|
-
total_amount_with_credit_notes?: number;
|
|
71943
|
-
was_created_by_user_id?: string;
|
|
71944
|
-
}, {
|
|
71945
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
71946
|
-
} | {
|
|
71947
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71948
|
-
} | Error>;
|
|
71949
|
-
|
|
71950
|
-
declare const useGetPayableLineItems: (payableId: string) => _tanstack_react_query.UseQueryResult<{
|
|
71951
|
-
data: components["schemas"]["LineItemResponse"][];
|
|
71952
|
-
next_pagination_token?: string;
|
|
71953
|
-
prev_pagination_token?: string;
|
|
71954
|
-
}, {
|
|
71955
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
71956
|
-
} | {
|
|
71957
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71958
|
-
} | Error>;
|
|
71959
|
-
|
|
71960
|
-
declare const useGetPayableApprovalRequests: (payableId: string, status?: components["schemas"]["PayableStateEnum"]) => _tanstack_react_query.UseQueryResult<{
|
|
71961
|
-
data: components["schemas"]["ApprovalRequestResourceWithMetadata"][];
|
|
71962
|
-
next_pagination_token?: string;
|
|
71963
|
-
prev_pagination_token?: string;
|
|
71964
|
-
}, {
|
|
71965
|
-
error: components["schemas"]["ErrorSchema"];
|
|
71966
|
-
} | {
|
|
71967
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
71968
|
-
} | Error>;
|
|
71969
|
-
|
|
71970
|
-
declare const useCreatePayable: () => _tanstack_react_query.UseMutationResult<{
|
|
71971
|
-
id: string;
|
|
71972
|
-
created_at: string;
|
|
71973
|
-
updated_at: string;
|
|
71974
|
-
amount_due?: number;
|
|
71975
|
-
amount_paid?: number;
|
|
71976
|
-
amount_to_pay?: number;
|
|
71977
|
-
approval_policy_id?: string;
|
|
71978
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
71979
|
-
counterpart_address_id?: string;
|
|
71980
|
-
counterpart_bank_account_id?: string;
|
|
71981
|
-
counterpart_id?: string;
|
|
71982
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
71983
|
-
counterpart_vat_id_id?: string;
|
|
71984
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
71985
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
71986
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
71987
|
-
description?: string;
|
|
71988
|
-
discount?: number;
|
|
71989
|
-
document_id?: string;
|
|
71990
|
-
due_date?: string;
|
|
71991
|
-
einvoice_file_url?: string;
|
|
71992
|
-
enforce_approval_policy_id?: string;
|
|
71993
|
-
entity_id: string;
|
|
71994
|
-
file?: components["schemas"]["FileSchema"];
|
|
71995
|
-
file_id?: string;
|
|
71996
|
-
issued_at?: string;
|
|
71997
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
71998
|
-
marked_as_paid_with_comment?: string;
|
|
71999
|
-
ocr_request_id?: string;
|
|
72000
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72001
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72002
|
-
paid_at?: string;
|
|
72003
|
-
partner_metadata?: Record<string, never>;
|
|
72004
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72005
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72006
|
-
project_id?: string;
|
|
72007
|
-
purchase_order_id?: string;
|
|
72008
|
-
sender?: string;
|
|
72009
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72010
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72011
|
-
subtotal?: number;
|
|
72012
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72013
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72014
|
-
tax?: number;
|
|
72015
|
-
tax_amount?: number;
|
|
72016
|
-
total_amount?: number;
|
|
72017
|
-
total_amount_with_credit_notes?: number;
|
|
72018
|
-
was_created_by_user_id?: string;
|
|
72019
|
-
}, {
|
|
72020
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72021
|
-
} | {
|
|
72022
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72023
|
-
} | Error, void | {
|
|
72024
|
-
base64_encoded_file?: string;
|
|
72025
|
-
counterpart_address_id?: string;
|
|
72026
|
-
counterpart_bank_account_id?: string;
|
|
72027
|
-
counterpart_id?: string;
|
|
72028
|
-
counterpart_vat_id_id?: string;
|
|
72029
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72030
|
-
description?: string;
|
|
72031
|
-
discount?: number;
|
|
72032
|
-
document_id?: string;
|
|
72033
|
-
due_date?: string;
|
|
72034
|
-
enforce_approval_policy_id?: string;
|
|
72035
|
-
file_name?: string;
|
|
72036
|
-
issued_at?: string;
|
|
72037
|
-
partner_metadata?: Record<string, never>;
|
|
72038
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72039
|
-
project_id?: string;
|
|
72040
|
-
purchase_order_id?: string;
|
|
72041
|
-
sender?: string;
|
|
72042
|
-
subtotal?: number;
|
|
72043
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72044
|
-
tag_ids?: string[];
|
|
72045
|
-
tax?: number;
|
|
72046
|
-
tax_amount?: number;
|
|
72047
|
-
total_amount?: number;
|
|
72048
|
-
}, unknown>;
|
|
72049
|
-
|
|
72050
|
-
declare const useUpdatePayable: () => _tanstack_react_query.UseMutationResult<{
|
|
72051
|
-
id: string;
|
|
72052
|
-
created_at: string;
|
|
72053
|
-
updated_at: string;
|
|
72054
|
-
amount_due?: number;
|
|
72055
|
-
amount_paid?: number;
|
|
72056
|
-
amount_to_pay?: number;
|
|
72057
|
-
approval_policy_id?: string;
|
|
72058
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72059
|
-
counterpart_address_id?: string;
|
|
72060
|
-
counterpart_bank_account_id?: string;
|
|
72061
|
-
counterpart_id?: string;
|
|
72062
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72063
|
-
counterpart_vat_id_id?: string;
|
|
72064
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72065
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72066
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72067
|
-
description?: string;
|
|
72068
|
-
discount?: number;
|
|
72069
|
-
document_id?: string;
|
|
72070
|
-
due_date?: string;
|
|
72071
|
-
einvoice_file_url?: string;
|
|
72072
|
-
enforce_approval_policy_id?: string;
|
|
72073
|
-
entity_id: string;
|
|
72074
|
-
file?: components["schemas"]["FileSchema"];
|
|
72075
|
-
file_id?: string;
|
|
72076
|
-
issued_at?: string;
|
|
72077
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72078
|
-
marked_as_paid_with_comment?: string;
|
|
72079
|
-
ocr_request_id?: string;
|
|
72080
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72081
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72082
|
-
paid_at?: string;
|
|
72083
|
-
partner_metadata?: Record<string, never>;
|
|
72084
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72085
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72086
|
-
project_id?: string;
|
|
72087
|
-
purchase_order_id?: string;
|
|
72088
|
-
sender?: string;
|
|
72089
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72090
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72091
|
-
subtotal?: number;
|
|
72092
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72093
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72094
|
-
tax?: number;
|
|
72095
|
-
tax_amount?: number;
|
|
72096
|
-
total_amount?: number;
|
|
72097
|
-
total_amount_with_credit_notes?: number;
|
|
72098
|
-
was_created_by_user_id?: string;
|
|
72099
|
-
}, {
|
|
72100
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72101
|
-
} | {
|
|
72102
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72103
|
-
} | Error, {
|
|
72104
|
-
body?: {
|
|
72105
|
-
amount_paid?: number;
|
|
72106
|
-
counterpart_address_id?: string;
|
|
72107
|
-
counterpart_bank_account_id?: string;
|
|
72108
|
-
counterpart_id?: string;
|
|
72109
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawDataUpdateRequest"];
|
|
72110
|
-
counterpart_vat_id_id?: string;
|
|
72111
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72112
|
-
description?: string;
|
|
72113
|
-
discount?: number;
|
|
72114
|
-
document_id?: string;
|
|
72115
|
-
due_date?: string;
|
|
72116
|
-
enforce_approval_policy_id?: string;
|
|
72117
|
-
issued_at?: string;
|
|
72118
|
-
partner_metadata?: Record<string, never>;
|
|
72119
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72120
|
-
project_id?: string;
|
|
72121
|
-
purchase_order_id?: string;
|
|
72122
|
-
sender?: string;
|
|
72123
|
-
subtotal?: number;
|
|
72124
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72125
|
-
tag_ids?: string[];
|
|
72126
|
-
tax?: number;
|
|
72127
|
-
tax_amount?: number;
|
|
72128
|
-
total_amount?: number;
|
|
72129
|
-
} | undefined;
|
|
72130
|
-
} & {
|
|
72131
|
-
query?: never;
|
|
72132
|
-
header?: {
|
|
72133
|
-
"x-finops-version"?: string;
|
|
72134
|
-
"x-organization-id"?: string;
|
|
72135
|
-
};
|
|
72136
|
-
path: {
|
|
72137
|
-
payable_id: string;
|
|
72138
|
-
};
|
|
72139
|
-
cookie?: never;
|
|
72140
|
-
}, unknown>;
|
|
72141
|
-
|
|
72142
|
-
declare const useCreatePayableLineItem: (payableId: string) => _tanstack_react_query.UseMutationResult<{
|
|
72143
|
-
id: string;
|
|
72144
|
-
accounting_tax_rate_id?: string;
|
|
72145
|
-
description?: string;
|
|
72146
|
-
ledger_account_id?: string;
|
|
72147
|
-
name?: string;
|
|
72148
|
-
ocr_set_quantity_to_one: boolean;
|
|
72149
|
-
payable_id: string;
|
|
72150
|
-
quantity?: number;
|
|
72151
|
-
subtotal?: number;
|
|
72152
|
-
tax?: number;
|
|
72153
|
-
tax_amount?: number;
|
|
72154
|
-
total?: number;
|
|
72155
|
-
unit?: string;
|
|
72156
|
-
unit_price?: number;
|
|
72157
|
-
was_created_by_user_id?: string;
|
|
72158
|
-
}, {
|
|
72159
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72160
|
-
} | {
|
|
72161
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72162
|
-
} | Error, {
|
|
72163
|
-
body?: {
|
|
72164
|
-
accounting_tax_rate_id?: string;
|
|
72165
|
-
description?: string;
|
|
72166
|
-
ledger_account_id?: string;
|
|
72167
|
-
name?: string;
|
|
72168
|
-
quantity?: number;
|
|
72169
|
-
tax?: number;
|
|
72170
|
-
unit?: string;
|
|
72171
|
-
unit_price?: number;
|
|
72172
|
-
} | undefined;
|
|
72173
|
-
} & {
|
|
72174
|
-
query?: never;
|
|
72175
|
-
header?: {
|
|
72176
|
-
"x-finops-version"?: string;
|
|
72177
|
-
"x-organization-id"?: string;
|
|
72178
|
-
};
|
|
72179
|
-
path: {
|
|
72180
|
-
payable_id: string;
|
|
72181
|
-
};
|
|
72182
|
-
cookie?: never;
|
|
72183
|
-
}, unknown>;
|
|
72184
|
-
|
|
72185
|
-
declare const useUpdatePayableLineItem: (payableId: string) => _tanstack_react_query.UseMutationResult<{
|
|
72186
|
-
id: string;
|
|
72187
|
-
accounting_tax_rate_id?: string;
|
|
72188
|
-
description?: string;
|
|
72189
|
-
ledger_account_id?: string;
|
|
72190
|
-
name?: string;
|
|
72191
|
-
ocr_set_quantity_to_one: boolean;
|
|
72192
|
-
payable_id: string;
|
|
72193
|
-
quantity?: number;
|
|
72194
|
-
subtotal?: number;
|
|
72195
|
-
tax?: number;
|
|
72196
|
-
tax_amount?: number;
|
|
72197
|
-
total?: number;
|
|
72198
|
-
unit?: string;
|
|
72199
|
-
unit_price?: number;
|
|
72200
|
-
was_created_by_user_id?: string;
|
|
72201
|
-
}, {
|
|
72202
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72203
|
-
} | {
|
|
72204
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72205
|
-
} | Error, {
|
|
72206
|
-
body?: {
|
|
72207
|
-
accounting_tax_rate_id?: string;
|
|
72208
|
-
description?: string;
|
|
72209
|
-
ledger_account_id?: string;
|
|
72210
|
-
name?: string;
|
|
72211
|
-
quantity?: number;
|
|
72212
|
-
tax?: number;
|
|
72213
|
-
unit?: string;
|
|
72214
|
-
unit_price?: number;
|
|
72215
|
-
} | undefined;
|
|
72216
|
-
} & {
|
|
72217
|
-
query?: never;
|
|
72218
|
-
header?: {
|
|
72219
|
-
"x-finops-version"?: string;
|
|
72220
|
-
"x-organization-id"?: string;
|
|
72221
|
-
};
|
|
72222
|
-
path: {
|
|
72223
|
-
line_item_id: string;
|
|
72224
|
-
payable_id: string;
|
|
72225
|
-
};
|
|
72226
|
-
cookie?: never;
|
|
72227
|
-
}, unknown>;
|
|
72228
|
-
|
|
72229
|
-
declare const useDeletePayableLineItem: (payableId: string) => _tanstack_react_query.UseMutationResult<unknown, {
|
|
72230
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72231
|
-
} | {
|
|
72232
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72233
|
-
} | Error, {
|
|
72234
|
-
body?: undefined;
|
|
72235
|
-
} & {
|
|
72236
|
-
query?: never;
|
|
72237
|
-
header?: {
|
|
72238
|
-
"x-finops-version"?: string;
|
|
72239
|
-
"x-organization-id"?: string;
|
|
72240
|
-
};
|
|
72241
|
-
path: {
|
|
72242
|
-
line_item_id: string;
|
|
72243
|
-
payable_id: string;
|
|
72244
|
-
};
|
|
72245
|
-
cookie?: never;
|
|
72246
|
-
}, unknown>;
|
|
72247
|
-
|
|
72248
|
-
declare const useCancelPayableById: (payableId: string, onCanceled?: (id: string) => void) => _tanstack_react_query.UseMutationResult<{
|
|
72249
|
-
id: string;
|
|
72250
|
-
created_at: string;
|
|
72251
|
-
updated_at: string;
|
|
72252
|
-
amount_due?: number;
|
|
72253
|
-
amount_paid?: number;
|
|
72254
|
-
amount_to_pay?: number;
|
|
72255
|
-
approval_policy_id?: string;
|
|
72256
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72257
|
-
counterpart_address_id?: string;
|
|
72258
|
-
counterpart_bank_account_id?: string;
|
|
72259
|
-
counterpart_id?: string;
|
|
72260
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72261
|
-
counterpart_vat_id_id?: string;
|
|
72262
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72263
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72264
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72265
|
-
description?: string;
|
|
72266
|
-
discount?: number;
|
|
72267
|
-
document_id?: string;
|
|
72268
|
-
due_date?: string;
|
|
72269
|
-
einvoice_file_url?: string;
|
|
72270
|
-
enforce_approval_policy_id?: string;
|
|
72271
|
-
entity_id: string;
|
|
72272
|
-
file?: components["schemas"]["FileSchema"];
|
|
72273
|
-
file_id?: string;
|
|
72274
|
-
issued_at?: string;
|
|
72275
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72276
|
-
marked_as_paid_with_comment?: string;
|
|
72277
|
-
ocr_request_id?: string;
|
|
72278
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72279
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72280
|
-
paid_at?: string;
|
|
72281
|
-
partner_metadata?: Record<string, never>;
|
|
72282
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72283
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72284
|
-
project_id?: string;
|
|
72285
|
-
purchase_order_id?: string;
|
|
72286
|
-
sender?: string;
|
|
72287
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72288
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72289
|
-
subtotal?: number;
|
|
72290
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72291
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72292
|
-
tax?: number;
|
|
72293
|
-
tax_amount?: number;
|
|
72294
|
-
total_amount?: number;
|
|
72295
|
-
total_amount_with_credit_notes?: number;
|
|
72296
|
-
was_created_by_user_id?: string;
|
|
72297
|
-
}, {
|
|
72298
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72299
|
-
} | {
|
|
72300
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72301
|
-
} | Error, void | undefined, unknown>;
|
|
72302
|
-
|
|
72303
|
-
type UseSubmitPayableForApprovalProps = {
|
|
72304
|
-
payableId: string;
|
|
72305
|
-
counterpartId?: string;
|
|
72306
|
-
isCounterpartAIMatched?: boolean;
|
|
72307
|
-
AISuggestions?: components['schemas']['SuggestedCounterpartPayload'];
|
|
72308
|
-
onSubmitted?: (id: string) => void;
|
|
72309
|
-
};
|
|
72310
|
-
declare const useSubmitPayableForApproval: ({ payableId, counterpartId, isCounterpartAIMatched, AISuggestions, onSubmitted, }: UseSubmitPayableForApprovalProps) => {
|
|
72311
|
-
data: undefined;
|
|
72312
|
-
variables: undefined;
|
|
72313
|
-
error: null;
|
|
72314
|
-
isError: false;
|
|
72315
|
-
isIdle: true;
|
|
72316
|
-
isPending: false;
|
|
72317
|
-
isSuccess: false;
|
|
72318
|
-
status: "idle";
|
|
72319
|
-
mutate: _tanstack_react_query.UseMutateFunction<{
|
|
72320
|
-
id: string;
|
|
72321
|
-
created_at: string;
|
|
72322
|
-
updated_at: string;
|
|
72323
|
-
amount_due?: number;
|
|
72324
|
-
amount_paid?: number;
|
|
72325
|
-
amount_to_pay?: number;
|
|
72326
|
-
approval_policy_id?: string;
|
|
72327
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72328
|
-
counterpart_address_id?: string;
|
|
72329
|
-
counterpart_bank_account_id?: string;
|
|
72330
|
-
counterpart_id?: string;
|
|
72331
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72332
|
-
counterpart_vat_id_id?: string;
|
|
72333
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72334
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72335
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72336
|
-
description?: string;
|
|
72337
|
-
discount?: number;
|
|
72338
|
-
document_id?: string;
|
|
72339
|
-
due_date?: string;
|
|
72340
|
-
einvoice_file_url?: string;
|
|
72341
|
-
enforce_approval_policy_id?: string;
|
|
72342
|
-
entity_id: string;
|
|
72343
|
-
file?: components["schemas"]["FileSchema"];
|
|
72344
|
-
file_id?: string;
|
|
72345
|
-
issued_at?: string;
|
|
72346
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72347
|
-
marked_as_paid_with_comment?: string;
|
|
72348
|
-
ocr_request_id?: string;
|
|
72349
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72350
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72351
|
-
paid_at?: string;
|
|
72352
|
-
partner_metadata?: Record<string, never>;
|
|
72353
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72354
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72355
|
-
project_id?: string;
|
|
72356
|
-
purchase_order_id?: string;
|
|
72357
|
-
sender?: string;
|
|
72358
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72359
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72360
|
-
subtotal?: number;
|
|
72361
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72362
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72363
|
-
tax?: number;
|
|
72364
|
-
tax_amount?: number;
|
|
72365
|
-
total_amount?: number;
|
|
72366
|
-
total_amount_with_credit_notes?: number;
|
|
72367
|
-
was_created_by_user_id?: string;
|
|
72368
|
-
}, {
|
|
72369
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72370
|
-
} | {
|
|
72371
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72372
|
-
} | Error, void | undefined, unknown>;
|
|
72373
|
-
reset: () => void;
|
|
72374
|
-
context: unknown;
|
|
72375
|
-
failureCount: number;
|
|
72376
|
-
failureReason: {
|
|
72377
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72378
|
-
} | {
|
|
72379
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72380
|
-
} | Error | null;
|
|
72381
|
-
isPaused: boolean;
|
|
72382
|
-
submittedAt: number;
|
|
72383
|
-
mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{
|
|
72384
|
-
id: string;
|
|
72385
|
-
created_at: string;
|
|
72386
|
-
updated_at: string;
|
|
72387
|
-
amount_due?: number;
|
|
72388
|
-
amount_paid?: number;
|
|
72389
|
-
amount_to_pay?: number;
|
|
72390
|
-
approval_policy_id?: string;
|
|
72391
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72392
|
-
counterpart_address_id?: string;
|
|
72393
|
-
counterpart_bank_account_id?: string;
|
|
72394
|
-
counterpart_id?: string;
|
|
72395
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72396
|
-
counterpart_vat_id_id?: string;
|
|
72397
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72398
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72399
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72400
|
-
description?: string;
|
|
72401
|
-
discount?: number;
|
|
72402
|
-
document_id?: string;
|
|
72403
|
-
due_date?: string;
|
|
72404
|
-
einvoice_file_url?: string;
|
|
72405
|
-
enforce_approval_policy_id?: string;
|
|
72406
|
-
entity_id: string;
|
|
72407
|
-
file?: components["schemas"]["FileSchema"];
|
|
72408
|
-
file_id?: string;
|
|
72409
|
-
issued_at?: string;
|
|
72410
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72411
|
-
marked_as_paid_with_comment?: string;
|
|
72412
|
-
ocr_request_id?: string;
|
|
72413
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72414
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72415
|
-
paid_at?: string;
|
|
72416
|
-
partner_metadata?: Record<string, never>;
|
|
72417
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72418
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72419
|
-
project_id?: string;
|
|
72420
|
-
purchase_order_id?: string;
|
|
72421
|
-
sender?: string;
|
|
72422
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72423
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72424
|
-
subtotal?: number;
|
|
72425
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72426
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72427
|
-
tax?: number;
|
|
72428
|
-
tax_amount?: number;
|
|
72429
|
-
total_amount?: number;
|
|
72430
|
-
total_amount_with_credit_notes?: number;
|
|
72431
|
-
was_created_by_user_id?: string;
|
|
72432
|
-
}, {
|
|
72433
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72434
|
-
} | {
|
|
72435
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72436
|
-
} | Error, void | undefined, unknown>;
|
|
72437
|
-
submitForApproval: () => Promise<void>;
|
|
72438
|
-
} | {
|
|
72439
|
-
data: undefined;
|
|
72440
|
-
variables: void | undefined;
|
|
72441
|
-
error: null;
|
|
72442
|
-
isError: false;
|
|
72443
|
-
isIdle: false;
|
|
72444
|
-
isPending: true;
|
|
72445
|
-
isSuccess: false;
|
|
72446
|
-
status: "pending";
|
|
72447
|
-
mutate: _tanstack_react_query.UseMutateFunction<{
|
|
72448
|
-
id: string;
|
|
72449
|
-
created_at: string;
|
|
72450
|
-
updated_at: string;
|
|
72451
|
-
amount_due?: number;
|
|
72452
|
-
amount_paid?: number;
|
|
72453
|
-
amount_to_pay?: number;
|
|
72454
|
-
approval_policy_id?: string;
|
|
72455
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72456
|
-
counterpart_address_id?: string;
|
|
72457
|
-
counterpart_bank_account_id?: string;
|
|
72458
|
-
counterpart_id?: string;
|
|
72459
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72460
|
-
counterpart_vat_id_id?: string;
|
|
72461
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72462
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72463
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72464
|
-
description?: string;
|
|
72465
|
-
discount?: number;
|
|
72466
|
-
document_id?: string;
|
|
72467
|
-
due_date?: string;
|
|
72468
|
-
einvoice_file_url?: string;
|
|
72469
|
-
enforce_approval_policy_id?: string;
|
|
72470
|
-
entity_id: string;
|
|
72471
|
-
file?: components["schemas"]["FileSchema"];
|
|
72472
|
-
file_id?: string;
|
|
72473
|
-
issued_at?: string;
|
|
72474
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72475
|
-
marked_as_paid_with_comment?: string;
|
|
72476
|
-
ocr_request_id?: string;
|
|
72477
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72478
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72479
|
-
paid_at?: string;
|
|
72480
|
-
partner_metadata?: Record<string, never>;
|
|
72481
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72482
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72483
|
-
project_id?: string;
|
|
72484
|
-
purchase_order_id?: string;
|
|
72485
|
-
sender?: string;
|
|
72486
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72487
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72488
|
-
subtotal?: number;
|
|
72489
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72490
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72491
|
-
tax?: number;
|
|
72492
|
-
tax_amount?: number;
|
|
72493
|
-
total_amount?: number;
|
|
72494
|
-
total_amount_with_credit_notes?: number;
|
|
72495
|
-
was_created_by_user_id?: string;
|
|
72496
|
-
}, {
|
|
72497
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72498
|
-
} | {
|
|
72499
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72500
|
-
} | Error, void | undefined, unknown>;
|
|
72501
|
-
reset: () => void;
|
|
72502
|
-
context: unknown;
|
|
72503
|
-
failureCount: number;
|
|
72504
|
-
failureReason: {
|
|
72505
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72506
|
-
} | {
|
|
72507
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72508
|
-
} | Error | null;
|
|
72509
|
-
isPaused: boolean;
|
|
72510
|
-
submittedAt: number;
|
|
72511
|
-
mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{
|
|
72512
|
-
id: string;
|
|
72513
|
-
created_at: string;
|
|
72514
|
-
updated_at: string;
|
|
72515
|
-
amount_due?: number;
|
|
72516
|
-
amount_paid?: number;
|
|
72517
|
-
amount_to_pay?: number;
|
|
72518
|
-
approval_policy_id?: string;
|
|
72519
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72520
|
-
counterpart_address_id?: string;
|
|
72521
|
-
counterpart_bank_account_id?: string;
|
|
72522
|
-
counterpart_id?: string;
|
|
72523
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72524
|
-
counterpart_vat_id_id?: string;
|
|
72525
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72526
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72527
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72528
|
-
description?: string;
|
|
72529
|
-
discount?: number;
|
|
72530
|
-
document_id?: string;
|
|
72531
|
-
due_date?: string;
|
|
72532
|
-
einvoice_file_url?: string;
|
|
72533
|
-
enforce_approval_policy_id?: string;
|
|
72534
|
-
entity_id: string;
|
|
72535
|
-
file?: components["schemas"]["FileSchema"];
|
|
72536
|
-
file_id?: string;
|
|
72537
|
-
issued_at?: string;
|
|
72538
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72539
|
-
marked_as_paid_with_comment?: string;
|
|
72540
|
-
ocr_request_id?: string;
|
|
72541
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72542
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72543
|
-
paid_at?: string;
|
|
72544
|
-
partner_metadata?: Record<string, never>;
|
|
72545
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72546
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72547
|
-
project_id?: string;
|
|
72548
|
-
purchase_order_id?: string;
|
|
72549
|
-
sender?: string;
|
|
72550
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72551
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72552
|
-
subtotal?: number;
|
|
72553
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72554
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72555
|
-
tax?: number;
|
|
72556
|
-
tax_amount?: number;
|
|
72557
|
-
total_amount?: number;
|
|
72558
|
-
total_amount_with_credit_notes?: number;
|
|
72559
|
-
was_created_by_user_id?: string;
|
|
72560
|
-
}, {
|
|
72561
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72562
|
-
} | {
|
|
72563
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72564
|
-
} | Error, void | undefined, unknown>;
|
|
72565
|
-
submitForApproval: () => Promise<void>;
|
|
72566
|
-
} | {
|
|
72567
|
-
data: undefined;
|
|
72568
|
-
error: {
|
|
72569
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72570
|
-
} | {
|
|
72571
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72572
|
-
} | Error;
|
|
72573
|
-
variables: void | undefined;
|
|
72574
|
-
isError: true;
|
|
72575
|
-
isIdle: false;
|
|
72576
|
-
isPending: false;
|
|
72577
|
-
isSuccess: false;
|
|
72578
|
-
status: "error";
|
|
72579
|
-
mutate: _tanstack_react_query.UseMutateFunction<{
|
|
72580
|
-
id: string;
|
|
72581
|
-
created_at: string;
|
|
72582
|
-
updated_at: string;
|
|
72583
|
-
amount_due?: number;
|
|
72584
|
-
amount_paid?: number;
|
|
72585
|
-
amount_to_pay?: number;
|
|
72586
|
-
approval_policy_id?: string;
|
|
72587
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72588
|
-
counterpart_address_id?: string;
|
|
72589
|
-
counterpart_bank_account_id?: string;
|
|
72590
|
-
counterpart_id?: string;
|
|
72591
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72592
|
-
counterpart_vat_id_id?: string;
|
|
72593
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72594
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72595
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72596
|
-
description?: string;
|
|
72597
|
-
discount?: number;
|
|
72598
|
-
document_id?: string;
|
|
72599
|
-
due_date?: string;
|
|
72600
|
-
einvoice_file_url?: string;
|
|
72601
|
-
enforce_approval_policy_id?: string;
|
|
72602
|
-
entity_id: string;
|
|
72603
|
-
file?: components["schemas"]["FileSchema"];
|
|
72604
|
-
file_id?: string;
|
|
72605
|
-
issued_at?: string;
|
|
72606
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72607
|
-
marked_as_paid_with_comment?: string;
|
|
72608
|
-
ocr_request_id?: string;
|
|
72609
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72610
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72611
|
-
paid_at?: string;
|
|
72612
|
-
partner_metadata?: Record<string, never>;
|
|
72613
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72614
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72615
|
-
project_id?: string;
|
|
72616
|
-
purchase_order_id?: string;
|
|
72617
|
-
sender?: string;
|
|
72618
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72619
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72620
|
-
subtotal?: number;
|
|
72621
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72622
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72623
|
-
tax?: number;
|
|
72624
|
-
tax_amount?: number;
|
|
72625
|
-
total_amount?: number;
|
|
72626
|
-
total_amount_with_credit_notes?: number;
|
|
72627
|
-
was_created_by_user_id?: string;
|
|
72628
|
-
}, {
|
|
72629
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72630
|
-
} | {
|
|
72631
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72632
|
-
} | Error, void | undefined, unknown>;
|
|
72633
|
-
reset: () => void;
|
|
72634
|
-
context: unknown;
|
|
72635
|
-
failureCount: number;
|
|
72636
|
-
failureReason: {
|
|
72637
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72638
|
-
} | {
|
|
72639
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72640
|
-
} | Error | null;
|
|
72641
|
-
isPaused: boolean;
|
|
72642
|
-
submittedAt: number;
|
|
72643
|
-
mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{
|
|
72644
|
-
id: string;
|
|
72645
|
-
created_at: string;
|
|
72646
|
-
updated_at: string;
|
|
72647
|
-
amount_due?: number;
|
|
72648
|
-
amount_paid?: number;
|
|
72649
|
-
amount_to_pay?: number;
|
|
72650
|
-
approval_policy_id?: string;
|
|
72651
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72652
|
-
counterpart_address_id?: string;
|
|
72653
|
-
counterpart_bank_account_id?: string;
|
|
72654
|
-
counterpart_id?: string;
|
|
72655
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72656
|
-
counterpart_vat_id_id?: string;
|
|
72657
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72658
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72659
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72660
|
-
description?: string;
|
|
72661
|
-
discount?: number;
|
|
72662
|
-
document_id?: string;
|
|
72663
|
-
due_date?: string;
|
|
72664
|
-
einvoice_file_url?: string;
|
|
72665
|
-
enforce_approval_policy_id?: string;
|
|
72666
|
-
entity_id: string;
|
|
72667
|
-
file?: components["schemas"]["FileSchema"];
|
|
72668
|
-
file_id?: string;
|
|
72669
|
-
issued_at?: string;
|
|
72670
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72671
|
-
marked_as_paid_with_comment?: string;
|
|
72672
|
-
ocr_request_id?: string;
|
|
72673
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72674
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72675
|
-
paid_at?: string;
|
|
72676
|
-
partner_metadata?: Record<string, never>;
|
|
72677
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72678
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72679
|
-
project_id?: string;
|
|
72680
|
-
purchase_order_id?: string;
|
|
72681
|
-
sender?: string;
|
|
72682
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72683
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72684
|
-
subtotal?: number;
|
|
72685
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72686
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72687
|
-
tax?: number;
|
|
72688
|
-
tax_amount?: number;
|
|
72689
|
-
total_amount?: number;
|
|
72690
|
-
total_amount_with_credit_notes?: number;
|
|
72691
|
-
was_created_by_user_id?: string;
|
|
72692
|
-
}, {
|
|
72693
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72694
|
-
} | {
|
|
72695
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72696
|
-
} | Error, void | undefined, unknown>;
|
|
72697
|
-
submitForApproval: () => Promise<void>;
|
|
72698
|
-
} | {
|
|
72699
|
-
data: {
|
|
72700
|
-
id: string;
|
|
72701
|
-
created_at: string;
|
|
72702
|
-
updated_at: string;
|
|
72703
|
-
amount_due?: number;
|
|
72704
|
-
amount_paid?: number;
|
|
72705
|
-
amount_to_pay?: number;
|
|
72706
|
-
approval_policy_id?: string;
|
|
72707
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72708
|
-
counterpart_address_id?: string;
|
|
72709
|
-
counterpart_bank_account_id?: string;
|
|
72710
|
-
counterpart_id?: string;
|
|
72711
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72712
|
-
counterpart_vat_id_id?: string;
|
|
72713
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72714
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72715
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72716
|
-
description?: string;
|
|
72717
|
-
discount?: number;
|
|
72718
|
-
document_id?: string;
|
|
72719
|
-
due_date?: string;
|
|
72720
|
-
einvoice_file_url?: string;
|
|
72721
|
-
enforce_approval_policy_id?: string;
|
|
72722
|
-
entity_id: string;
|
|
72723
|
-
file?: components["schemas"]["FileSchema"];
|
|
72724
|
-
file_id?: string;
|
|
72725
|
-
issued_at?: string;
|
|
72726
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72727
|
-
marked_as_paid_with_comment?: string;
|
|
72728
|
-
ocr_request_id?: string;
|
|
72729
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72730
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72731
|
-
paid_at?: string;
|
|
72732
|
-
partner_metadata?: Record<string, never>;
|
|
72733
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72734
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72735
|
-
project_id?: string;
|
|
72736
|
-
purchase_order_id?: string;
|
|
72737
|
-
sender?: string;
|
|
72738
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72739
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72740
|
-
subtotal?: number;
|
|
72741
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72742
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72743
|
-
tax?: number;
|
|
72744
|
-
tax_amount?: number;
|
|
72745
|
-
total_amount?: number;
|
|
72746
|
-
total_amount_with_credit_notes?: number;
|
|
72747
|
-
was_created_by_user_id?: string;
|
|
72748
|
-
};
|
|
72749
|
-
error: null;
|
|
72750
|
-
variables: void | undefined;
|
|
72751
|
-
isError: false;
|
|
72752
|
-
isIdle: false;
|
|
72753
|
-
isPending: false;
|
|
72754
|
-
isSuccess: true;
|
|
72755
|
-
status: "success";
|
|
72756
|
-
mutate: _tanstack_react_query.UseMutateFunction<{
|
|
72757
|
-
id: string;
|
|
72758
|
-
created_at: string;
|
|
72759
|
-
updated_at: string;
|
|
72760
|
-
amount_due?: number;
|
|
72761
|
-
amount_paid?: number;
|
|
72762
|
-
amount_to_pay?: number;
|
|
72763
|
-
approval_policy_id?: string;
|
|
72764
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72765
|
-
counterpart_address_id?: string;
|
|
72766
|
-
counterpart_bank_account_id?: string;
|
|
72767
|
-
counterpart_id?: string;
|
|
72768
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72769
|
-
counterpart_vat_id_id?: string;
|
|
72770
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72771
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72772
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72773
|
-
description?: string;
|
|
72774
|
-
discount?: number;
|
|
72775
|
-
document_id?: string;
|
|
72776
|
-
due_date?: string;
|
|
72777
|
-
einvoice_file_url?: string;
|
|
72778
|
-
enforce_approval_policy_id?: string;
|
|
72779
|
-
entity_id: string;
|
|
72780
|
-
file?: components["schemas"]["FileSchema"];
|
|
72781
|
-
file_id?: string;
|
|
72782
|
-
issued_at?: string;
|
|
72783
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72784
|
-
marked_as_paid_with_comment?: string;
|
|
72785
|
-
ocr_request_id?: string;
|
|
72786
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72787
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72788
|
-
paid_at?: string;
|
|
72789
|
-
partner_metadata?: Record<string, never>;
|
|
72790
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72791
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72792
|
-
project_id?: string;
|
|
72793
|
-
purchase_order_id?: string;
|
|
72794
|
-
sender?: string;
|
|
72795
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72796
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72797
|
-
subtotal?: number;
|
|
72798
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72799
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72800
|
-
tax?: number;
|
|
72801
|
-
tax_amount?: number;
|
|
72802
|
-
total_amount?: number;
|
|
72803
|
-
total_amount_with_credit_notes?: number;
|
|
72804
|
-
was_created_by_user_id?: string;
|
|
72805
|
-
}, {
|
|
72806
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72807
|
-
} | {
|
|
72808
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72809
|
-
} | Error, void | undefined, unknown>;
|
|
72810
|
-
reset: () => void;
|
|
72811
|
-
context: unknown;
|
|
72812
|
-
failureCount: number;
|
|
72813
|
-
failureReason: {
|
|
72814
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72815
|
-
} | {
|
|
72816
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72817
|
-
} | Error | null;
|
|
72818
|
-
isPaused: boolean;
|
|
72819
|
-
submittedAt: number;
|
|
72820
|
-
mutateAsync: _tanstack_react_query.UseMutateAsyncFunction<{
|
|
72821
|
-
id: string;
|
|
72822
|
-
created_at: string;
|
|
72823
|
-
updated_at: string;
|
|
72824
|
-
amount_due?: number;
|
|
72825
|
-
amount_paid?: number;
|
|
72826
|
-
amount_to_pay?: number;
|
|
72827
|
-
approval_policy_id?: string;
|
|
72828
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72829
|
-
counterpart_address_id?: string;
|
|
72830
|
-
counterpart_bank_account_id?: string;
|
|
72831
|
-
counterpart_id?: string;
|
|
72832
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72833
|
-
counterpart_vat_id_id?: string;
|
|
72834
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72835
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72836
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72837
|
-
description?: string;
|
|
72838
|
-
discount?: number;
|
|
72839
|
-
document_id?: string;
|
|
72840
|
-
due_date?: string;
|
|
72841
|
-
einvoice_file_url?: string;
|
|
72842
|
-
enforce_approval_policy_id?: string;
|
|
72843
|
-
entity_id: string;
|
|
72844
|
-
file?: components["schemas"]["FileSchema"];
|
|
72845
|
-
file_id?: string;
|
|
72846
|
-
issued_at?: string;
|
|
72847
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72848
|
-
marked_as_paid_with_comment?: string;
|
|
72849
|
-
ocr_request_id?: string;
|
|
72850
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72851
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72852
|
-
paid_at?: string;
|
|
72853
|
-
partner_metadata?: Record<string, never>;
|
|
72854
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72855
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72856
|
-
project_id?: string;
|
|
72857
|
-
purchase_order_id?: string;
|
|
72858
|
-
sender?: string;
|
|
72859
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72860
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72861
|
-
subtotal?: number;
|
|
72862
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72863
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72864
|
-
tax?: number;
|
|
72865
|
-
tax_amount?: number;
|
|
72866
|
-
total_amount?: number;
|
|
72867
|
-
total_amount_with_credit_notes?: number;
|
|
72868
|
-
was_created_by_user_id?: string;
|
|
72869
|
-
}, {
|
|
72870
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72871
|
-
} | {
|
|
72872
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72873
|
-
} | Error, void | undefined, unknown>;
|
|
72874
|
-
submitForApproval: () => Promise<void>;
|
|
72875
|
-
};
|
|
72876
|
-
|
|
72877
|
-
declare const useForceRejectPayable: (payableId: string, onRejected?: (id: string) => void) => _tanstack_react_query.UseMutationResult<{
|
|
72878
|
-
id: string;
|
|
72879
|
-
created_at: string;
|
|
72880
|
-
updated_at: string;
|
|
72881
|
-
amount_due?: number;
|
|
72882
|
-
amount_paid?: number;
|
|
72883
|
-
amount_to_pay?: number;
|
|
72884
|
-
approval_policy_id?: string;
|
|
72885
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72886
|
-
counterpart_address_id?: string;
|
|
72887
|
-
counterpart_bank_account_id?: string;
|
|
72888
|
-
counterpart_id?: string;
|
|
72889
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72890
|
-
counterpart_vat_id_id?: string;
|
|
72891
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72892
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72893
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72894
|
-
description?: string;
|
|
72895
|
-
discount?: number;
|
|
72896
|
-
document_id?: string;
|
|
72897
|
-
due_date?: string;
|
|
72898
|
-
einvoice_file_url?: string;
|
|
72899
|
-
enforce_approval_policy_id?: string;
|
|
72900
|
-
entity_id: string;
|
|
72901
|
-
file?: components["schemas"]["FileSchema"];
|
|
72902
|
-
file_id?: string;
|
|
72903
|
-
issued_at?: string;
|
|
72904
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72905
|
-
marked_as_paid_with_comment?: string;
|
|
72906
|
-
ocr_request_id?: string;
|
|
72907
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72908
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72909
|
-
paid_at?: string;
|
|
72910
|
-
partner_metadata?: Record<string, never>;
|
|
72911
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72912
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72913
|
-
project_id?: string;
|
|
72914
|
-
purchase_order_id?: string;
|
|
72915
|
-
sender?: string;
|
|
72916
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72917
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72918
|
-
subtotal?: number;
|
|
72919
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72920
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72921
|
-
tax?: number;
|
|
72922
|
-
tax_amount?: number;
|
|
72923
|
-
total_amount?: number;
|
|
72924
|
-
total_amount_with_credit_notes?: number;
|
|
72925
|
-
was_created_by_user_id?: string;
|
|
72926
|
-
}, {
|
|
72927
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72928
|
-
} | {
|
|
72929
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72930
|
-
} | Error, void | undefined, unknown>;
|
|
72931
|
-
|
|
72932
|
-
declare const useForceApprovePayable: (payableId: string, onApproved?: (id: string) => void) => _tanstack_react_query.UseMutationResult<{
|
|
72933
|
-
id: string;
|
|
72934
|
-
created_at: string;
|
|
72935
|
-
updated_at: string;
|
|
72936
|
-
amount_due?: number;
|
|
72937
|
-
amount_paid?: number;
|
|
72938
|
-
amount_to_pay?: number;
|
|
72939
|
-
approval_policy_id?: string;
|
|
72940
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72941
|
-
counterpart_address_id?: string;
|
|
72942
|
-
counterpart_bank_account_id?: string;
|
|
72943
|
-
counterpart_id?: string;
|
|
72944
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
72945
|
-
counterpart_vat_id_id?: string;
|
|
72946
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
72947
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
72948
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
72949
|
-
description?: string;
|
|
72950
|
-
discount?: number;
|
|
72951
|
-
document_id?: string;
|
|
72952
|
-
due_date?: string;
|
|
72953
|
-
einvoice_file_url?: string;
|
|
72954
|
-
enforce_approval_policy_id?: string;
|
|
72955
|
-
entity_id: string;
|
|
72956
|
-
file?: components["schemas"]["FileSchema"];
|
|
72957
|
-
file_id?: string;
|
|
72958
|
-
issued_at?: string;
|
|
72959
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
72960
|
-
marked_as_paid_with_comment?: string;
|
|
72961
|
-
ocr_request_id?: string;
|
|
72962
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
72963
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
72964
|
-
paid_at?: string;
|
|
72965
|
-
partner_metadata?: Record<string, never>;
|
|
72966
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
72967
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
72968
|
-
project_id?: string;
|
|
72969
|
-
purchase_order_id?: string;
|
|
72970
|
-
sender?: string;
|
|
72971
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
72972
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
72973
|
-
subtotal?: number;
|
|
72974
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
72975
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
72976
|
-
tax?: number;
|
|
72977
|
-
tax_amount?: number;
|
|
72978
|
-
total_amount?: number;
|
|
72979
|
-
total_amount_with_credit_notes?: number;
|
|
72980
|
-
was_created_by_user_id?: string;
|
|
72981
|
-
}, {
|
|
72982
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
72983
|
-
} | {
|
|
72984
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
72985
|
-
} | Error, void | undefined, unknown>;
|
|
72986
|
-
|
|
72987
|
-
declare const useReopenPayable: (payableId: string, onReopened?: (id: string) => void) => _tanstack_react_query.UseMutationResult<{
|
|
72988
|
-
id: string;
|
|
72989
|
-
created_at: string;
|
|
72990
|
-
updated_at: string;
|
|
72991
|
-
amount_due?: number;
|
|
72992
|
-
amount_paid?: number;
|
|
72993
|
-
amount_to_pay?: number;
|
|
72994
|
-
approval_policy_id?: string;
|
|
72995
|
-
counterpart?: components["schemas"]["CounterpartRawData"];
|
|
72996
|
-
counterpart_address_id?: string;
|
|
72997
|
-
counterpart_bank_account_id?: string;
|
|
72998
|
-
counterpart_id?: string;
|
|
72999
|
-
counterpart_raw_data?: components["schemas"]["CounterpartRawData"];
|
|
73000
|
-
counterpart_vat_id_id?: string;
|
|
73001
|
-
credit_notes: components["schemas"]["PayableCreditNoteData"][];
|
|
73002
|
-
currency?: components["schemas"]["CurrencyEnum"];
|
|
73003
|
-
currency_exchange?: components["schemas"]["CurrencyExchangeSchema2"];
|
|
73004
|
-
description?: string;
|
|
73005
|
-
discount?: number;
|
|
73006
|
-
document_id?: string;
|
|
73007
|
-
due_date?: string;
|
|
73008
|
-
einvoice_file_url?: string;
|
|
73009
|
-
enforce_approval_policy_id?: string;
|
|
73010
|
-
entity_id: string;
|
|
73011
|
-
file?: components["schemas"]["FileSchema"];
|
|
73012
|
-
file_id?: string;
|
|
73013
|
-
issued_at?: string;
|
|
73014
|
-
marked_as_paid_by_entity_user_id?: string;
|
|
73015
|
-
marked_as_paid_with_comment?: string;
|
|
73016
|
-
ocr_request_id?: string;
|
|
73017
|
-
ocr_status?: components["schemas"]["OcrStatusEnum"];
|
|
73018
|
-
other_extracted_data?: components["schemas"]["OCRResponseInvoiceReceiptData"] | components["schemas"]["OcrRecognitionResponse"];
|
|
73019
|
-
paid_at?: string;
|
|
73020
|
-
partner_metadata?: Record<string, never>;
|
|
73021
|
-
payable_origin: components["schemas"]["PayableOriginEnum"];
|
|
73022
|
-
payment_terms?: components["schemas"]["PayablePaymentTermsCreatePayload"];
|
|
73023
|
-
project_id?: string;
|
|
73024
|
-
purchase_order_id?: string;
|
|
73025
|
-
sender?: string;
|
|
73026
|
-
source_of_payable_data: components["schemas"]["SourceOfPayableDataEnum"];
|
|
73027
|
-
status: components["schemas"]["PayableStateEnum"];
|
|
73028
|
-
subtotal?: number;
|
|
73029
|
-
suggested_payment_term?: components["schemas"]["SuggestedPaymentTerm"];
|
|
73030
|
-
tags?: components["schemas"]["TagReadSchema"][];
|
|
73031
|
-
tax?: number;
|
|
73032
|
-
tax_amount?: number;
|
|
73033
|
-
total_amount?: number;
|
|
73034
|
-
total_amount_with_credit_notes?: number;
|
|
73035
|
-
was_created_by_user_id?: string;
|
|
73036
|
-
}, {
|
|
73037
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
73038
|
-
} | {
|
|
73039
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
73040
|
-
} | Error, void | undefined, unknown>;
|
|
73041
|
-
|
|
73042
|
-
declare const useDeletePayable: (payableId: string, onDeleted?: (id: string) => void) => _tanstack_react_query.UseMutationResult<unknown, {
|
|
73043
|
-
error: components["schemas"]["ErrorSchema3"];
|
|
73044
|
-
} | {
|
|
73045
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
73046
|
-
} | Error, void | undefined, unknown>;
|
|
73047
|
-
|
|
73048
|
-
type ProductsProps = {
|
|
73049
|
-
pageTitleComponent: (children: ReactNode) => ReactNode;
|
|
73050
|
-
};
|
|
73051
|
-
declare const Products: (props: ProductsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73052
|
-
|
|
73053
|
-
declare const FILTER_TYPE_SEARCH = "search";
|
|
73054
|
-
declare const FILTER_TYPE_TYPE = "type";
|
|
73055
|
-
declare const FILTER_TYPE_UNITS = "units";
|
|
73056
|
-
|
|
73057
|
-
type Filters = {
|
|
73058
|
-
[FILTER_TYPE_SEARCH]?: string | null;
|
|
73059
|
-
[FILTER_TYPE_TYPE]?: ProductServiceTypeEnum | null;
|
|
73060
|
-
[FILTER_TYPE_UNITS]?: string | null;
|
|
73061
|
-
};
|
|
73062
|
-
type FilterValue = ProductServiceTypeEnum | 'all' | string | null;
|
|
73063
|
-
type ProductServiceTypeEnum = components['schemas']['ProductServiceTypeEnum'];
|
|
73064
|
-
type ProductServiceResponse = components['schemas']['ProductServiceResponse'];
|
|
73065
|
-
|
|
73066
|
-
type ProductCursorFields = components['schemas']['ProductCursorFields'];
|
|
73067
|
-
interface ProductsTableSortModel {
|
|
73068
|
-
field: ProductCursorFields;
|
|
73069
|
-
sort: NonNullable<SortDirection>;
|
|
73070
|
-
}
|
|
73071
|
-
interface ProductTableProps {
|
|
73072
|
-
onFilterChanged?: (filter: {
|
|
73073
|
-
field: keyof Filters;
|
|
73074
|
-
value: FilterValue;
|
|
73075
|
-
}) => void;
|
|
73076
|
-
onSortChanged?: (params: ProductsTableSortModel) => void;
|
|
73077
|
-
onRowClick?: (id: string) => void;
|
|
73078
|
-
onDeleted?: (productId: string) => void;
|
|
73079
|
-
openCreateModal?: () => void;
|
|
73080
|
-
}
|
|
73081
|
-
declare const ProductsTable: (props: ProductTableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73082
|
-
|
|
73083
|
-
interface CreateProductProps {
|
|
73084
|
-
open: boolean;
|
|
73085
|
-
onClose: () => void;
|
|
73086
|
-
onCreated?: (product: ProductServiceResponse) => void;
|
|
73087
|
-
}
|
|
73088
|
-
declare const CreateProduct: (props: CreateProductProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73089
|
-
|
|
73090
|
-
interface ProductDetailsProps {
|
|
73091
|
-
id: string;
|
|
73092
|
-
open: boolean;
|
|
73093
|
-
onClose: () => void;
|
|
73094
|
-
onUpdated?: (product: ProductServiceResponse) => void;
|
|
73095
|
-
onDeleted?: (productId: ProductServiceResponse['id']) => void;
|
|
73096
|
-
showActionsMenu?: boolean;
|
|
73097
|
-
}
|
|
73098
|
-
declare const ProductDetails: (props: ProductDetailsProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73099
|
-
|
|
73100
|
-
declare const typographyVariants: (props?: ({
|
|
73101
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "caption" | null | undefined;
|
|
73102
|
-
color?: "default" | "primary" | "destructive" | "muted" | null | undefined;
|
|
73103
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
73104
|
-
type TypographyElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'div';
|
|
73105
|
-
type TypographyVariants = VariantProps<typeof typographyVariants>;
|
|
73106
|
-
interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, TypographyVariants {
|
|
73107
|
-
component?: TypographyElement;
|
|
73108
|
-
}
|
|
73109
|
-
declare function Typography({ className, variant, color, component, children, ...props }: TypographyProps): React.DetailedReactHTMLElement<{
|
|
73110
|
-
id?: string | undefined;
|
|
73111
|
-
style?: React.CSSProperties | undefined;
|
|
73112
|
-
role?: React.AriaRole | undefined;
|
|
73113
|
-
content?: string | undefined;
|
|
73114
|
-
translate?: "yes" | "no" | undefined;
|
|
73115
|
-
hidden?: boolean | undefined;
|
|
73116
|
-
slot?: string | undefined;
|
|
73117
|
-
title?: string | undefined;
|
|
73118
|
-
defaultChecked?: boolean | undefined;
|
|
73119
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
73120
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
73121
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
73122
|
-
accessKey?: string | undefined;
|
|
73123
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
73124
|
-
autoFocus?: boolean | undefined;
|
|
73125
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
73126
|
-
contextMenu?: string | undefined;
|
|
73127
|
-
dir?: string | undefined;
|
|
73128
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
73129
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
73130
|
-
lang?: string | undefined;
|
|
73131
|
-
nonce?: string | undefined;
|
|
73132
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
73133
|
-
tabIndex?: number | undefined;
|
|
73134
|
-
radioGroup?: string | undefined;
|
|
73135
|
-
about?: string | undefined;
|
|
73136
|
-
datatype?: string | undefined;
|
|
73137
|
-
inlist?: any;
|
|
73138
|
-
prefix?: string | undefined;
|
|
73139
|
-
property?: string | undefined;
|
|
73140
|
-
rel?: string | undefined;
|
|
73141
|
-
resource?: string | undefined;
|
|
73142
|
-
rev?: string | undefined;
|
|
73143
|
-
typeof?: string | undefined;
|
|
73144
|
-
vocab?: string | undefined;
|
|
73145
|
-
autoCorrect?: string | undefined;
|
|
73146
|
-
autoSave?: string | undefined;
|
|
73147
|
-
itemProp?: string | undefined;
|
|
73148
|
-
itemScope?: boolean | undefined;
|
|
73149
|
-
itemType?: string | undefined;
|
|
73150
|
-
itemID?: string | undefined;
|
|
73151
|
-
itemRef?: string | undefined;
|
|
73152
|
-
results?: number | undefined;
|
|
73153
|
-
security?: string | undefined;
|
|
73154
|
-
unselectable?: "on" | "off" | undefined;
|
|
73155
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
73156
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
73157
|
-
popoverTarget?: string | undefined;
|
|
73158
|
-
inert?: boolean | undefined;
|
|
73159
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
73160
|
-
is?: string | undefined;
|
|
73161
|
-
exportparts?: string | undefined;
|
|
73162
|
-
part?: string | undefined;
|
|
73163
|
-
"aria-activedescendant"?: string | undefined;
|
|
73164
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
73165
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
73166
|
-
"aria-braillelabel"?: string | undefined;
|
|
73167
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
73168
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
73169
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
73170
|
-
"aria-colcount"?: number | undefined;
|
|
73171
|
-
"aria-colindex"?: number | undefined;
|
|
73172
|
-
"aria-colindextext"?: string | undefined;
|
|
73173
|
-
"aria-colspan"?: number | undefined;
|
|
73174
|
-
"aria-controls"?: string | undefined;
|
|
73175
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
73176
|
-
"aria-describedby"?: string | undefined;
|
|
73177
|
-
"aria-description"?: string | undefined;
|
|
73178
|
-
"aria-details"?: string | undefined;
|
|
73179
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
73180
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
73181
|
-
"aria-errormessage"?: string | undefined;
|
|
73182
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
73183
|
-
"aria-flowto"?: string | undefined;
|
|
73184
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
73185
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
73186
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
73187
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
73188
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
73189
|
-
"aria-label"?: string | undefined;
|
|
73190
|
-
"aria-labelledby"?: string | undefined;
|
|
73191
|
-
"aria-level"?: number | undefined;
|
|
73192
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
73193
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
73194
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
73195
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
73196
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
73197
|
-
"aria-owns"?: string | undefined;
|
|
73198
|
-
"aria-placeholder"?: string | undefined;
|
|
73199
|
-
"aria-posinset"?: number | undefined;
|
|
73200
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
73201
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
73202
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
73203
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
73204
|
-
"aria-roledescription"?: string | undefined;
|
|
73205
|
-
"aria-rowcount"?: number | undefined;
|
|
73206
|
-
"aria-rowindex"?: number | undefined;
|
|
73207
|
-
"aria-rowindextext"?: string | undefined;
|
|
73208
|
-
"aria-rowspan"?: number | undefined;
|
|
73209
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
73210
|
-
"aria-setsize"?: number | undefined;
|
|
73211
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
73212
|
-
"aria-valuemax"?: number | undefined;
|
|
73213
|
-
"aria-valuemin"?: number | undefined;
|
|
73214
|
-
"aria-valuenow"?: number | undefined;
|
|
73215
|
-
"aria-valuetext"?: string | undefined;
|
|
73216
|
-
dangerouslySetInnerHTML?: {
|
|
73217
|
-
__html: string | TrustedHTML;
|
|
73218
|
-
} | undefined;
|
|
73219
|
-
onCopy?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73220
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73221
|
-
onCut?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73222
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73223
|
-
onPaste?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73224
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
73225
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73226
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73227
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73228
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73229
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73230
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
73231
|
-
onFocus?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
73232
|
-
onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
73233
|
-
onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
73234
|
-
onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
73235
|
-
onChange?: React.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
73236
|
-
onChangeCapture?: React.ChangeEventHandler<HTMLElement, Element> | undefined;
|
|
73237
|
-
onBeforeInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
73238
|
-
onBeforeInputCapture?: React.InputEventHandler<HTMLElement> | undefined;
|
|
73239
|
-
onInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
73240
|
-
onInputCapture?: React.InputEventHandler<HTMLElement> | undefined;
|
|
73241
|
-
onReset?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73242
|
-
onResetCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73243
|
-
onSubmit?: React.SubmitEventHandler<HTMLElement> | undefined;
|
|
73244
|
-
onSubmitCapture?: React.SubmitEventHandler<HTMLElement> | undefined;
|
|
73245
|
-
onInvalid?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73246
|
-
onInvalidCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73247
|
-
onLoad?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73248
|
-
onLoadCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73249
|
-
onError?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73250
|
-
onErrorCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73251
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73252
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73253
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73254
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73255
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73256
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
73257
|
-
onAbort?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73258
|
-
onAbortCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73259
|
-
onCanPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73260
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73261
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73262
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73263
|
-
onDurationChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73264
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73265
|
-
onEmptied?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73266
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73267
|
-
onEncrypted?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73268
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73269
|
-
onEnded?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73270
|
-
onEndedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73271
|
-
onLoadedData?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73272
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73273
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73274
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73275
|
-
onLoadStart?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73276
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73277
|
-
onPause?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73278
|
-
onPauseCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73279
|
-
onPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73280
|
-
onPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73281
|
-
onPlaying?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73282
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73283
|
-
onProgress?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73284
|
-
onProgressCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73285
|
-
onRateChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73286
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73287
|
-
onSeeked?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73288
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73289
|
-
onSeeking?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73290
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73291
|
-
onStalled?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73292
|
-
onStalledCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73293
|
-
onSuspend?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73294
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73295
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73296
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73297
|
-
onVolumeChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73298
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73299
|
-
onWaiting?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73300
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73301
|
-
onAuxClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73302
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73303
|
-
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73304
|
-
onClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73305
|
-
onContextMenu?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73306
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73307
|
-
onDoubleClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73308
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73309
|
-
onDrag?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73310
|
-
onDragCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73311
|
-
onDragEnd?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73312
|
-
onDragEndCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73313
|
-
onDragEnter?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73314
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73315
|
-
onDragExit?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73316
|
-
onDragExitCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73317
|
-
onDragLeave?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73318
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73319
|
-
onDragOver?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73320
|
-
onDragOverCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73321
|
-
onDragStart?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73322
|
-
onDragStartCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73323
|
-
onDrop?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73324
|
-
onDropCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
73325
|
-
onMouseDown?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73326
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73327
|
-
onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73328
|
-
onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73329
|
-
onMouseMove?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73330
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73331
|
-
onMouseOut?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73332
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73333
|
-
onMouseOver?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73334
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73335
|
-
onMouseUp?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73336
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
73337
|
-
onSelect?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73338
|
-
onSelectCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
73339
|
-
onTouchCancel?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73340
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73341
|
-
onTouchEnd?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73342
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73343
|
-
onTouchMove?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73344
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73345
|
-
onTouchStart?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73346
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
73347
|
-
onPointerDown?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73348
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73349
|
-
onPointerMove?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73350
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73351
|
-
onPointerUp?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73352
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73353
|
-
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73354
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73355
|
-
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73356
|
-
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73357
|
-
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73358
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73359
|
-
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73360
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73361
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73362
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73363
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73364
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
73365
|
-
onScroll?: React.UIEventHandler<HTMLElement> | undefined;
|
|
73366
|
-
onScrollCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
73367
|
-
onScrollEnd?: React.UIEventHandler<HTMLElement> | undefined;
|
|
73368
|
-
onScrollEndCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
73369
|
-
onWheel?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
73370
|
-
onWheelCapture?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
73371
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73372
|
-
onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73373
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73374
|
-
onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73375
|
-
onAnimationIteration?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73376
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
73377
|
-
onToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
73378
|
-
onBeforeToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
73379
|
-
onTransitionCancel?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73380
|
-
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73381
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73382
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73383
|
-
onTransitionRun?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73384
|
-
onTransitionRunCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73385
|
-
onTransitionStart?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73386
|
-
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
73387
|
-
className: string;
|
|
73388
|
-
}, HTMLElement>;
|
|
73389
|
-
|
|
73390
|
-
type PageHeaderProps = {
|
|
73391
|
-
title: ReactNode;
|
|
73392
|
-
extra?: ReactNode;
|
|
73393
|
-
className?: string;
|
|
73394
|
-
/** Title size. Defaults to `h2` (30px) for standalone Monite pages; the
|
|
73395
|
-
* settings-embedded surfaces pass `h3` (24px) to match the first-party
|
|
73396
|
-
* section headings they sit alongside. */
|
|
73397
|
-
titleVariant?: ComponentProps<typeof Typography>['variant'];
|
|
73398
|
-
};
|
|
73399
|
-
declare const PageHeader: ({ title, extra, className, titleVariant, }: PageHeaderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73400
|
-
|
|
73401
|
-
type ALIGN_DIALOG_TYPES = 'left' | 'right';
|
|
73402
|
-
declare module '@mui/material/transitions' {
|
|
73403
|
-
interface TransitionProps {
|
|
73404
|
-
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
73405
|
-
}
|
|
73406
|
-
}
|
|
73407
|
-
interface MoniteDialogProps extends DialogProps {
|
|
73408
|
-
alignDialog?: ALIGN_DIALOG_TYPES;
|
|
73409
|
-
onClosed?: () => void;
|
|
73410
|
-
}
|
|
73411
|
-
|
|
73412
|
-
interface DialogContextType {
|
|
73413
|
-
isDialogContent: boolean;
|
|
73414
|
-
onClose?: (...args: any[]) => void;
|
|
73415
|
-
}
|
|
73416
|
-
declare const useDialog: () => DialogContextType | undefined;
|
|
73417
|
-
declare const Dialog: ({ ref, ...props }: MoniteDialogProps & {
|
|
73418
|
-
ref?: Ref<HTMLDivElement>;
|
|
73419
|
-
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73420
|
-
|
|
73421
|
-
declare function Integrations(): _emotion_react_jsx_runtime.JSX.Element;
|
|
73422
|
-
|
|
73423
|
-
declare const FinanceBanner: (props: FinanceBannerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73424
|
-
type FinanceBannerProps = {
|
|
73425
|
-
/** `enableServicingBanner` is a boolean flag that enables the `FinanceBanner` to be a small summarized version of the financing tab, but only works when entity is onboarded and is servicing. */
|
|
73426
|
-
enableServicingBanner?: boolean;
|
|
73427
|
-
/** Function that is called when clicking on View Details button.
|
|
73428
|
-
* The button will only appear when entity is servicing, enableServicingBanner is true and handleViewDetails is passed.
|
|
73429
|
-
* The purpose of this button is to give the user a way to navigate to the financing page through it. */
|
|
73430
|
-
handleViewDetails?: () => void;
|
|
73431
|
-
};
|
|
73432
|
-
|
|
73433
|
-
declare const FinanceIntegrationCard: () => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
73434
|
-
|
|
73435
|
-
interface FinanceInvoiceProps {
|
|
73436
|
-
invoice: components['schemas']['InvoiceResponsePayload'];
|
|
73437
|
-
}
|
|
73438
|
-
declare const FinanceInvoice: ({ invoice }: FinanceInvoiceProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
73439
|
-
|
|
73440
|
-
declare const FinanceTab: ({ onRowClick, }: {
|
|
73441
|
-
onRowClick?: (invoice_id: string) => void;
|
|
73442
|
-
}) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
73443
|
-
|
|
73444
|
-
declare const Combobox: typeof Combobox$1.Root;
|
|
73445
|
-
declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73446
|
-
declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73447
|
-
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
|
|
73448
|
-
showTrigger?: boolean;
|
|
73449
|
-
showClear?: boolean;
|
|
73450
|
-
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
73451
|
-
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, container, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & {
|
|
73452
|
-
container?: HTMLElement | React.RefObject<HTMLElement | null> | null;
|
|
73453
|
-
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
73454
|
-
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73455
|
-
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73456
|
-
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73457
|
-
declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73458
|
-
declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73459
|
-
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73460
|
-
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73461
|
-
declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73462
|
-
declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
|
|
73463
|
-
showRemove?: boolean;
|
|
73464
|
-
}): _emotion_react_jsx_runtime.JSX.Element;
|
|
73465
|
-
declare function ComboboxChipsInput({ className, children, ...props }: Combobox$1.Input.Props): _emotion_react_jsx_runtime.JSX.Element;
|
|
73466
|
-
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
73467
|
-
|
|
73468
|
-
type MoniteSupportedMessages = Messages;
|
|
73469
|
-
type MoniteLocale = {
|
|
73470
|
-
/**
|
|
73471
|
-
* `code` responsible for internationalised Widgets language, internationalised number and currency formatting.
|
|
73472
|
-
* By default, it uses `navigator.language` as a fallback in MoniteProvider.
|
|
73473
|
-
* Intl format values are accepted and won't cause any trouble.
|
|
73474
|
-
*
|
|
73475
|
-
* E.g. 'en-GB', 'de-DE', etc.
|
|
73476
|
-
*/
|
|
73477
|
-
code?: string;
|
|
73478
|
-
/**
|
|
73479
|
-
* `messages` responsible for internationalised Widgets translation.
|
|
73480
|
-
* By default, it uses `enLocaleMessages` as a fallback in MoniteProvider.
|
|
73481
|
-
*
|
|
73482
|
-
* The message object is a key-value pair where the key is the Message ID,
|
|
73483
|
-
* and the value is the message string or a `LinguiContextMessage` object.
|
|
73484
|
-
*
|
|
73485
|
-
* If you need to use context (`msgctxt`) for differentiating messages with the same ID,
|
|
73486
|
-
* you can use the LinguiContextMessage object.
|
|
73487
|
-
*
|
|
73488
|
-
* @example Without context:
|
|
73489
|
-
* ```ts
|
|
73490
|
-
* {
|
|
73491
|
-
* "Hello": "Hallo"
|
|
73492
|
-
* }
|
|
73493
|
-
* ```
|
|
73494
|
-
*
|
|
73495
|
-
* @example With the context:
|
|
73496
|
-
* ```ts
|
|
73497
|
-
* {
|
|
73498
|
-
* "View": [
|
|
73499
|
-
* { msgstr: "Rechnung ansehen", msgctxt: "InvoicesTableRowActionMenu" },
|
|
73500
|
-
* { msgstr: "Siehe" },
|
|
73501
|
-
* ]
|
|
73502
|
-
* }
|
|
73503
|
-
* ```
|
|
73504
|
-
* In the example with context, `InvoicesTableRowActionMenu` is the context for the message "View".
|
|
73505
|
-
* This can be useful when the same message ID needs to be translated differently in different contexts.
|
|
73506
|
-
*/
|
|
73507
|
-
messages?: MoniteSupportedMessages;
|
|
73508
|
-
/**
|
|
73509
|
-
* `currencyNumberFormat` responsible for currency formatting.
|
|
73510
|
-
*/
|
|
73511
|
-
currencyNumberFormat?: {
|
|
73512
|
-
/**
|
|
73513
|
-
* Determines the format in which currency values are displayed.
|
|
73514
|
-
*
|
|
73515
|
-
* Possible values are:
|
|
73516
|
-
* - 'symbol': The currency is represented using its symbol (e.g., $ for USD)
|
|
73517
|
-
* - 'code': The currency is represented using its ISO code (e.g., USD for US Dollar)
|
|
73518
|
-
* - 'name': The currency is represented using its full name (e.g., US Dollar)
|
|
73519
|
-
*/
|
|
73520
|
-
display?: 'symbol' | 'code' | 'name';
|
|
73521
|
-
/**
|
|
73522
|
-
* The locale code to use for formatting the currency number.
|
|
73523
|
-
* If not provided, the `code` will be used.
|
|
73524
|
-
*
|
|
73525
|
-
* @example 'en-US', 'de-DE', 'en-150', etc.
|
|
73526
|
-
*/
|
|
73527
|
-
localeCode?: string;
|
|
73528
|
-
};
|
|
73529
|
-
/**
|
|
73530
|
-
* `dateFormat` responsible for date & time formatting. It is used in the `Intl.DateTimeFormat` constructor.
|
|
73531
|
-
*
|
|
73532
|
-
* By default, it uses the following options:
|
|
73533
|
-
* ```ts
|
|
73534
|
-
* {
|
|
73535
|
-
* day: '2-digit',
|
|
73536
|
-
* month: 'short',
|
|
73537
|
-
* year: 'numeric',
|
|
73538
|
-
* hour: '2-digit',
|
|
73539
|
-
* minute: '2-digit',
|
|
73540
|
-
* }
|
|
73541
|
-
* ```
|
|
73542
|
-
*/
|
|
73543
|
-
dateFormat?: Pick<Intl.DateTimeFormatOptions, 'weekday' | 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second' | 'timeZoneName' | 'hour12' | 'timeZone'>;
|
|
73544
|
-
};
|
|
73545
|
-
type MoniteLocaleWithRequired = DeepRequired<Omit<MoniteLocale, 'messages' | 'dateFormat'>> & Partial<Pick<MoniteLocale, 'messages' | 'dateFormat'>> & {
|
|
73546
|
-
dateTimeFormat?: Intl.DateTimeFormatOptions;
|
|
73547
|
-
};
|
|
73548
|
-
|
|
73549
|
-
type TypographyStyle = {
|
|
73550
|
-
fontSize?: string | number;
|
|
73551
|
-
fontWeight?: string | number;
|
|
73552
|
-
lineHeight?: string | number;
|
|
73553
|
-
textTransform?: 'uppercase' | 'lowercase' | 'capitalize';
|
|
73554
|
-
};
|
|
73555
|
-
/**
|
|
73556
|
-
* Configuration for customizing button styles
|
|
73557
|
-
* Supports all CSS properties including gradients for backgrounds
|
|
73558
|
-
*
|
|
73559
|
-
* @example
|
|
73560
|
-
* ```typescript
|
|
73561
|
-
* const buttonConfig: ButtonStyleConfig = {
|
|
73562
|
-
* background: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
|
|
73563
|
-
* color: '#ffffff',
|
|
73564
|
-
* border: '2px solid #667eea',
|
|
73565
|
-
* borderRadius: 12,
|
|
73566
|
-
* fontWeight: 600,
|
|
73567
|
-
* hover: {
|
|
73568
|
-
* background: 'linear-gradient(135deg, #5568d3 0%, #65408b 100%)',
|
|
73569
|
-
* },
|
|
73570
|
-
* };
|
|
73571
|
-
* ```
|
|
73572
|
-
*/
|
|
73573
|
-
interface ButtonStyleConfig {
|
|
73574
|
-
/**
|
|
73575
|
-
* Background color or CSS gradient
|
|
73576
|
-
* @example '#667eea'
|
|
73577
|
-
* @example 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'
|
|
73578
|
-
*/
|
|
73579
|
-
background?: string;
|
|
73580
|
-
/**
|
|
73581
|
-
* Text color
|
|
73582
|
-
* @example '#ffffff'
|
|
73583
|
-
*/
|
|
73584
|
-
color?: string;
|
|
73585
|
-
/**
|
|
73586
|
-
* Border style (CSS shorthand)
|
|
73587
|
-
* @example '2px solid #667eea'
|
|
73588
|
-
* @example 'none'
|
|
73589
|
-
*/
|
|
73590
|
-
border?: string;
|
|
73591
|
-
/**
|
|
73592
|
-
* Border radius in pixels or CSS value
|
|
73593
|
-
* @example 8
|
|
73594
|
-
* @example '0.5rem'
|
|
73595
|
-
*/
|
|
73596
|
-
borderRadius?: string | number;
|
|
73597
|
-
/**
|
|
73598
|
-
* Font weight
|
|
73599
|
-
* @example 400
|
|
73600
|
-
* @example 600
|
|
73601
|
-
* @example 'bold'
|
|
73602
|
-
*/
|
|
73603
|
-
fontWeight?: string | number;
|
|
73604
|
-
/**
|
|
73605
|
-
* Box shadow for elevation effects
|
|
73606
|
-
* @example '0 4px 6px rgba(0, 0, 0, 0.1)'
|
|
73607
|
-
* @example '0 10px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.08)'
|
|
73608
|
-
*/
|
|
73609
|
-
boxShadow?: string;
|
|
73610
|
-
/**
|
|
73611
|
-
* CSS transition duration
|
|
73612
|
-
* @example '200ms'
|
|
73613
|
-
* @example '0.3s'
|
|
73614
|
-
*/
|
|
73615
|
-
transitionDuration?: string;
|
|
73616
|
-
/**
|
|
73617
|
-
* CSS transition timing function
|
|
73618
|
-
* @example 'ease-in-out'
|
|
73619
|
-
* @example 'cubic-bezier(0.4, 0, 0.2, 1)'
|
|
73620
|
-
*/
|
|
73621
|
-
transitionTimingFunction?: string;
|
|
73622
|
-
/**
|
|
73623
|
-
* CSS transition property (which properties to animate)
|
|
73624
|
-
* @example 'all'
|
|
73625
|
-
* @example 'background, color, box-shadow'
|
|
73626
|
-
*/
|
|
73627
|
-
transitionProperty?: string;
|
|
73628
|
-
hover?: Partial<Omit<ButtonStyleConfig, 'hover' | 'active' | 'focus' | 'disabled'>>;
|
|
73629
|
-
active?: Partial<Omit<ButtonStyleConfig, 'hover' | 'active' | 'focus' | 'disabled'>>;
|
|
73630
|
-
focus?: Partial<Omit<ButtonStyleConfig, 'hover' | 'active' | 'focus' | 'disabled'>>;
|
|
73631
|
-
disabled?: Partial<Omit<ButtonStyleConfig, 'hover' | 'active' | 'focus' | 'disabled'>>;
|
|
73632
|
-
}
|
|
73633
|
-
type ThemeConfig = {
|
|
73634
|
-
borderRadius?: number;
|
|
73635
|
-
spacing?: number;
|
|
73636
|
-
colors?: {
|
|
73637
|
-
primary?: string;
|
|
73638
|
-
primaryForeground?: string;
|
|
73639
|
-
secondary?: string;
|
|
73640
|
-
neutral?: string;
|
|
73641
|
-
info?: string;
|
|
73642
|
-
success?: string;
|
|
73643
|
-
warning?: string;
|
|
73644
|
-
error?: string;
|
|
73645
|
-
background?: string;
|
|
73646
|
-
text?: string;
|
|
73647
|
-
rowBorder?: string;
|
|
73648
|
-
};
|
|
73649
|
-
typography?: {
|
|
73650
|
-
fontFamily?: string;
|
|
73651
|
-
fontSize?: number;
|
|
73652
|
-
h1?: TypographyStyle;
|
|
73653
|
-
h2?: TypographyStyle;
|
|
73654
|
-
h3?: TypographyStyle;
|
|
73655
|
-
subtitle1?: TypographyStyle;
|
|
73656
|
-
subtitle2?: TypographyStyle;
|
|
73657
|
-
body1?: TypographyStyle;
|
|
73658
|
-
body2?: TypographyStyle;
|
|
73659
|
-
};
|
|
73660
|
-
components?: {
|
|
73661
|
-
invoiceStatusChip?: Partial<MoniteInvoiceStatusChipProps>;
|
|
73662
|
-
payableStatusChip?: Partial<MonitePayableStatusChipProps>;
|
|
73663
|
-
approvalRequestStatusChip?: Partial<MoniteApprovalRequestStatusChipProps>;
|
|
73664
|
-
invoiceRecurrenceStatusChip?: Partial<MoniteInvoiceRecurrenceStatusChipProps>;
|
|
73665
|
-
invoiceRecurrenceIterationStatusChip?: Partial<MoniteInvoiceRecurrenceIterationStatusChipProps>;
|
|
73666
|
-
approvalStatusChip?: Partial<MoniteApprovalStatusChipProps>;
|
|
73667
|
-
styles?: {
|
|
73668
|
-
payables?: {
|
|
73669
|
-
button?: {
|
|
73670
|
-
primary?: ButtonStyleConfig;
|
|
73671
|
-
secondary?: ButtonStyleConfig;
|
|
73672
|
-
tertiary?: ButtonStyleConfig;
|
|
73673
|
-
destructive?: ButtonStyleConfig;
|
|
73674
|
-
};
|
|
73675
|
-
};
|
|
73676
|
-
};
|
|
73677
|
-
};
|
|
73678
|
-
};
|
|
73679
|
-
interface BaseChipProps {
|
|
73680
|
-
/** The variant of the Chip. */
|
|
73681
|
-
variant?: 'filled' | 'outlined';
|
|
73682
|
-
/** The size of the Chip. */
|
|
73683
|
-
size?: 'small' | 'medium';
|
|
73684
|
-
}
|
|
73685
|
-
interface BaseStatusChipProps extends BaseChipProps {
|
|
73686
|
-
/** Display status icon? Set to false for dot, true for full icon, null to hide completely */
|
|
73687
|
-
icon?: boolean | null;
|
|
73688
|
-
}
|
|
73689
|
-
interface MoniteInvoiceStatusChipProps extends BaseStatusChipProps {
|
|
73690
|
-
/** The status of the invoice. */
|
|
73691
|
-
status: components['schemas']['ReceivablesStatusEnum'];
|
|
73692
|
-
}
|
|
73693
|
-
interface MoniteInvoiceRecurrenceStatusChipProps extends BaseStatusChipProps {
|
|
73694
|
-
/** The status of the recurrence. */
|
|
73695
|
-
status: components['schemas']['RecurrenceStatus'];
|
|
73696
|
-
}
|
|
73697
|
-
interface MoniteInvoiceRecurrenceIterationStatusChipProps extends BaseStatusChipProps {
|
|
73698
|
-
/** The status of the iteration. */
|
|
73699
|
-
status: components['schemas']['IterationStatus'];
|
|
73700
|
-
}
|
|
73701
|
-
interface MonitePayableStatusChipProps extends BaseStatusChipProps {
|
|
73702
|
-
/** The status of the payable. */
|
|
73703
|
-
status: components['schemas']['PayableStateEnum'];
|
|
73704
|
-
/** Custom colors for each payable status */
|
|
73705
|
-
colors?: Partial<Record<components['schemas']['PayableStateEnum'], string>>;
|
|
73706
|
-
}
|
|
73707
|
-
interface MoniteApprovalRequestStatusChipProps extends BaseStatusChipProps {
|
|
73708
|
-
/** The status of the approval request. */
|
|
73709
|
-
status: components['schemas']['ApprovalRequestStatus'];
|
|
73710
|
-
}
|
|
73711
|
-
interface MoniteApprovalStatusChipProps extends BaseStatusChipProps {
|
|
73712
|
-
/** The status of the payable. */
|
|
73713
|
-
status: components['schemas']['ApprovalPolicyStatus'];
|
|
73714
|
-
}
|
|
73715
|
-
|
|
73716
|
-
interface MoniteSettings {
|
|
73717
|
-
entityId: string;
|
|
73718
|
-
apiUrl?: string;
|
|
73719
|
-
fetchToken: () => Promise<{
|
|
73720
|
-
access_token: string;
|
|
73721
|
-
expires_in: number;
|
|
73722
|
-
token_type: string;
|
|
73723
|
-
}>;
|
|
73724
|
-
/** Custom headers to include in every Monite API request (e.g. x-widget-token) */
|
|
73725
|
-
headers?: Record<string, string>;
|
|
73726
|
-
/**
|
|
73727
|
-
* Custom `fetch` used for every Monite API request. Lets a host route Monite
|
|
73728
|
-
* traffic through its own request pipeline (e.g. a gateway proxy that injects
|
|
73729
|
-
* auth) instead of hitting `apiUrl` directly.
|
|
73730
|
-
*/
|
|
73731
|
-
fetch?: typeof fetch;
|
|
73732
|
-
}
|
|
73733
|
-
interface MoniteProviderProps {
|
|
73734
|
-
children?: ReactNode;
|
|
73735
|
-
/**
|
|
73736
|
-
* `theme` responsible for global styling of all Widgets provided.
|
|
73737
|
-
* If `theme` is not provided, `Monite` uses default theme.
|
|
73738
|
-
*/
|
|
73739
|
-
theme?: ThemeConfig;
|
|
73740
|
-
/** Monite initial settings */
|
|
73741
|
-
monite: MoniteSettings;
|
|
73742
|
-
/**
|
|
73743
|
-
* `locale` responsible for internationalisation
|
|
73744
|
-
* of all Widgets provided.
|
|
73745
|
-
*/
|
|
73746
|
-
locale?: MoniteLocale;
|
|
73747
|
-
/**
|
|
73748
|
-
* Component settings
|
|
73749
|
-
*/
|
|
73750
|
-
componentSettings?: Partial<ComponentSettings>;
|
|
73751
|
-
/**
|
|
73752
|
-
* Callback function that is called when the theme is mounted
|
|
73753
|
-
*/
|
|
73754
|
-
onThemeMounted?: () => void;
|
|
73755
|
-
/**
|
|
73756
|
-
* Raw scope strings from `/me` (e.g. `invoice:read:org`).
|
|
73757
|
-
* Used by components that gate UI with `userPermissions.has(Scope.*)`.
|
|
73758
|
-
*/
|
|
73759
|
-
userPermissions?: ReadonlySet<string>;
|
|
73760
|
-
}
|
|
73761
|
-
declare const MoniteProvider: ({ monite, theme, componentSettings, children, locale, onThemeMounted, userPermissions, }: MoniteProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73762
|
-
|
|
73763
|
-
declare const RootElementsContext: React.Context<{
|
|
73764
|
-
styles: HTMLElement | undefined;
|
|
73765
|
-
root: HTMLElement | undefined;
|
|
73766
|
-
}>;
|
|
73767
|
-
declare const useRootElements: () => {
|
|
73768
|
-
styles: HTMLElement | undefined;
|
|
73769
|
-
root: HTMLElement | undefined;
|
|
73770
|
-
};
|
|
73771
|
-
declare const RootElementsProvider: ({ children, elements, }: {
|
|
73772
|
-
children: ReactNode;
|
|
73773
|
-
elements?: ContextType<typeof RootElementsContext>;
|
|
73774
|
-
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
73775
|
-
|
|
73776
|
-
interface MoniteContextBaseValue {
|
|
73777
|
-
locale: MoniteLocaleWithRequired;
|
|
73778
|
-
i18n: I18n;
|
|
73779
|
-
dateFnsLocale: Locale;
|
|
73780
|
-
}
|
|
73781
|
-
type FetchToken = () => Promise<{
|
|
73782
|
-
access_token: string;
|
|
73783
|
-
expires_in: number;
|
|
73784
|
-
token_type: string;
|
|
73785
|
-
}>;
|
|
73786
|
-
/**
|
|
73787
|
-
* MoniteTheme extends the MUI Theme with custom palette properties.
|
|
73788
|
-
* The custom palette structure is defined via module augmentation in mui-styles.d.ts
|
|
73789
|
-
*/
|
|
73790
|
-
type MoniteTheme = Theme$1 & {
|
|
73791
|
-
components?: ThemeConfig['components'];
|
|
73792
|
-
};
|
|
73793
|
-
interface MoniteContextValue extends MoniteContextBaseValue, CreateMoniteAPIClientResult {
|
|
73794
|
-
environment: 'dev' | 'sandbox' | 'production';
|
|
73795
|
-
entityId: string;
|
|
73796
|
-
queryClient: QueryClient;
|
|
73797
|
-
apiUrl: string;
|
|
73798
|
-
theme: MoniteTheme;
|
|
73799
|
-
componentSettings: ComponentSettings;
|
|
73800
|
-
fetchToken: FetchToken;
|
|
73801
|
-
userPermissions: ReadonlySet<string>;
|
|
73802
|
-
}
|
|
73803
|
-
/**
|
|
73804
|
-
* @internal
|
|
73805
|
-
*/
|
|
73806
|
-
declare function useMoniteContext(): MoniteContextValue;
|
|
73807
|
-
|
|
73808
|
-
type CountriesType = Record<string, string>;
|
|
73809
|
-
type CountryType = {
|
|
73810
|
-
code: AllowedCountries;
|
|
73811
|
-
label: string;
|
|
73812
|
-
};
|
|
73813
|
-
declare const getCountriesArray: (i18n: I18n) => CountryType[];
|
|
73814
|
-
declare const getCountries: (i18n: I18n) => CountriesType;
|
|
73815
|
-
declare const defaultAvailableCountries: AllowedCountries[];
|
|
73816
|
-
declare const countryCurrencyList: {
|
|
73817
|
-
country: string;
|
|
73818
|
-
currency: string;
|
|
73819
|
-
}[];
|
|
73820
|
-
type AllowedCountries = components['schemas']['AllowedCountries'];
|
|
73821
|
-
|
|
73822
|
-
type CurrenciesType = Record<CurrencyEnum$1, string>;
|
|
73823
|
-
type CurrencyType = {
|
|
73824
|
-
code: CurrencyEnum$1;
|
|
73825
|
-
label: string;
|
|
73826
|
-
};
|
|
73827
|
-
declare const getCurrencies: (i18n: I18n) => CurrenciesType;
|
|
73828
|
-
declare const defaultAvailableCurrencies: CurrencyEnum$1[];
|
|
73829
|
-
declare const getCurrenciesArray: (i18n: I18n) => Array<CurrencyType>;
|
|
73830
|
-
type CurrencyEnum$1 = components['schemas']['CurrencyEnum'];
|
|
73831
|
-
interface CurrencyGroup {
|
|
73832
|
-
title: string;
|
|
73833
|
-
predicate: (option: CurrencyType) => boolean;
|
|
73834
|
-
}
|
|
73835
|
-
declare const filterOptions: (options: CurrencyType[], state: {
|
|
73836
|
-
inputValue: string;
|
|
73837
|
-
}) => CurrencyType[];
|
|
73838
|
-
declare const getGroupTitleForOption: (option: CurrencyType, groups?: CurrencyGroup[]) => {
|
|
73839
|
-
title: string;
|
|
73840
|
-
index: number;
|
|
73841
|
-
};
|
|
73842
|
-
declare const sortCurrencyOptionsByGroup: (options: CurrencyType[], groups?: CurrencyGroup[]) => CurrencyType[];
|
|
73843
|
-
/**
|
|
73844
|
-
* Converts a currency rate from minor units (API format) to major units (UI display format)
|
|
73845
|
-
* Example: 2000 -> 20
|
|
73846
|
-
* Uses core currency conversion utilities for consistency and precision.
|
|
73847
|
-
* Rates always use 2 decimal places.
|
|
73848
|
-
* @param rateMinor The rate value in minor units (as received from API)
|
|
73849
|
-
* @returns The rate value in major units (for UI display)
|
|
73850
|
-
*/
|
|
73851
|
-
declare const rateMinorToMajor: (rateMinor: number) => number;
|
|
73852
|
-
/**
|
|
73853
|
-
* Converts a currency rate from major units (UI display format) to minor units (API format)
|
|
73854
|
-
* Example: 20 -> 2000
|
|
73855
|
-
* Uses core currency conversion utilities for consistency and precision.
|
|
73856
|
-
* Rates always use 2 decimal places.
|
|
73857
|
-
* @param rateMajor The rate value in major units (from UI)
|
|
73858
|
-
* @returns The rate value in minor units (for API)
|
|
73859
|
-
*/
|
|
73860
|
-
declare const rateMajorToMinor: (rateMajor: number) => number;
|
|
73861
|
-
|
|
73862
|
-
/**
|
|
73863
|
-
* Utility functions for handling user names and display logic
|
|
73864
|
-
*/
|
|
73865
|
-
/**
|
|
73866
|
-
* Combines first and last name into a full name string.
|
|
73867
|
-
* Handles both object and separate parameter formats.
|
|
73868
|
-
*
|
|
73869
|
-
* @param firstName - First name string or object with first_name and last_name properties
|
|
73870
|
-
* @param lastName - Last name string (only used when firstName is a string)
|
|
73871
|
-
* @returns Combined full name with proper spacing and trimming
|
|
73872
|
-
*/
|
|
73873
|
-
declare function getIndividualName(name: {
|
|
73874
|
-
first_name: string | undefined;
|
|
73875
|
-
last_name: string | undefined;
|
|
73876
|
-
}): string;
|
|
73877
|
-
declare function getIndividualName(firstName: string | undefined, lastName: string | undefined): string;
|
|
73878
|
-
/**
|
|
73879
|
-
* Gets individual name with fallback to login if name is empty.
|
|
73880
|
-
* Useful for user display components that need to show something meaningful.
|
|
73881
|
-
*
|
|
73882
|
-
* @param user - User object with name and login properties
|
|
73883
|
-
* @returns Full name if available, otherwise login, or empty string
|
|
73884
|
-
*/
|
|
73885
|
-
declare function getIndividualNameWithFallback(user: {
|
|
73886
|
-
first_name?: string | null;
|
|
73887
|
-
last_name?: string | null;
|
|
73888
|
-
login?: string | null;
|
|
73889
|
-
}): string;
|
|
73890
|
-
/**
|
|
73891
|
-
* Gets the display name for a user based on preferences.
|
|
73892
|
-
* Shows email if requested, otherwise shows full name with login fallback.
|
|
73893
|
-
*
|
|
73894
|
-
* @param user - User object with name, email, and login properties
|
|
73895
|
-
* @param showEmail - Whether to prioritize email over name
|
|
73896
|
-
* @returns Appropriate display name based on preferences
|
|
73897
|
-
*/
|
|
73898
|
-
declare function getUserDisplayName(user: {
|
|
73899
|
-
first_name?: string | null;
|
|
73900
|
-
last_name?: string | null;
|
|
73901
|
-
email?: string | null;
|
|
73902
|
-
login?: string | null;
|
|
73903
|
-
}, showEmail?: boolean): string;
|
|
73904
|
-
|
|
73905
|
-
declare const dateStringToLocalDate: (dateString: string) => Date;
|
|
73906
|
-
|
|
73907
|
-
/**
|
|
73908
|
-
* Filter chip date-range segment (without the field prefix), e.g. `Jan 1, 2026 - Jan 31, 2026`.
|
|
73909
|
-
* Each bound uses `MMM d, yyyy` in the runtime locale.
|
|
73910
|
-
*/
|
|
73911
|
-
declare function formatDateRangeFilterChip(from?: Date, to?: Date): string;
|
|
73912
|
-
/**
|
|
73913
|
-
* Value segment for a multi-select filter chip (field prefix added by caller), e.g.
|
|
73914
|
-
* `New` or `New + 2 more` when additional selections exist.
|
|
73915
|
-
*
|
|
73916
|
-
* @param selectedLabels Human-readable labels in display order.
|
|
73917
|
-
*/
|
|
73918
|
-
declare function formatFilterChipMultiSelectValueSegment(selectedLabels: string[]): string;
|
|
73919
|
-
|
|
73920
|
-
/**
|
|
73921
|
-
* `useCurrencies` hook used for working with currencies
|
|
73922
|
-
* - Display price based on amount, currency and locale.code parameters
|
|
73923
|
-
* - Convert minor units into main currency and vise-versa
|
|
73924
|
-
*/
|
|
73925
|
-
declare const useCurrencies: () => {
|
|
73926
|
-
currencyList: {
|
|
73927
|
-
[key: string]: {
|
|
73928
|
-
minor_units: number;
|
|
73929
|
-
name: string;
|
|
73930
|
-
symbol: string;
|
|
73931
|
-
};
|
|
73932
|
-
} | undefined;
|
|
73933
|
-
getSymbolFromCurrency: (currency?: CurrencyEnum | string) => string | undefined;
|
|
73934
|
-
formatCurrencyToDisplay: (amountInMinorUnits: string | number, currency: CurrencyEnum, isCurrencyDisplayed?: boolean, bracketNegative?: boolean) => string | null;
|
|
73935
|
-
formatToMinorUnits: (amount: string | number, currency: CurrencyEnum) => number | null;
|
|
73936
|
-
formatFromMinorUnits: (amount: number, currency: CurrencyEnum) => number | null;
|
|
73937
|
-
isSuccess: boolean;
|
|
73938
|
-
};
|
|
73939
|
-
type CurrencyEnum = components['schemas']['CurrencyEnum'];
|
|
73940
|
-
|
|
73941
|
-
type ShowFields<T> = {
|
|
73942
|
-
[K in keyof T as `show${Capitalize<string & K>}`]: boolean;
|
|
73943
|
-
};
|
|
73944
|
-
declare const useOptionalFields: <T extends object>(optionalFields: T | boolean | undefined, defaultOptionalFields: ShowFields<T>) => ShowFields<T>;
|
|
73945
|
-
|
|
73946
|
-
type MenuType = Pick<MenuProps, 'open' | 'onClose' | 'onClick' | 'anchorEl' | 'id'> & {
|
|
73947
|
-
container: Element | undefined;
|
|
73948
|
-
};
|
|
73949
|
-
type ButtonType = Pick<ButtonProps, 'id' | 'aria-controls' | 'aria-expanded' | 'aria-haspopup' | 'onClick' | 'tabIndex' | 'onKeyDown'>;
|
|
73950
|
-
declare const useMenuButton: () => {
|
|
73951
|
-
open: boolean;
|
|
73952
|
-
menuProps: MenuType;
|
|
73953
|
-
buttonProps: ButtonType;
|
|
73954
|
-
closeMenu: (event?: SyntheticEvent | {}) => void;
|
|
73955
|
-
};
|
|
73956
|
-
|
|
73957
|
-
declare const OCR_SUPPORTED_FORMATS: string[];
|
|
73958
|
-
/**
|
|
73959
|
-
* Formats accepted by the backend logo endpoints
|
|
73960
|
-
* (`PUT /finops/v1/entities/{entity_id}/logo` and
|
|
73961
|
-
* `PUT /identity/v1/organizations/{organizationId}/logo`): PNG, JPG, or GIF
|
|
73962
|
-
* only — PDF is rejected.
|
|
73963
|
-
*/
|
|
73964
|
-
declare const LOGO_SUPPORTED_FORMATS: string[];
|
|
73965
|
-
/** Maximum logo size (in MB) accepted by the backend logo endpoints. */
|
|
73966
|
-
declare const LOGO_MAX_FILE_SIZE_IN_MB = 10;
|
|
73967
|
-
interface UseFileInputOptions {
|
|
73968
|
-
/**
|
|
73969
|
-
* MIME types accepted by the input and validated by `checkFileError`.
|
|
73970
|
-
* Defaults to {@link OCR_SUPPORTED_FORMATS}.
|
|
73971
|
-
*/
|
|
73972
|
-
acceptedFormats?: string[];
|
|
73973
|
-
/**
|
|
73974
|
-
* Maximum file size in megabytes enforced by `checkFileError`.
|
|
73975
|
-
* Defaults to 20 MB (the OCR upload limit).
|
|
73976
|
-
*/
|
|
73977
|
-
maxFileSizeInMB?: number;
|
|
73978
|
-
}
|
|
73979
|
-
/**
|
|
73980
|
-
* `useFileInput` is a React hook that creates an invisible `<input type="file" />` and `open()` method for interacting with it.
|
|
73981
|
-
*
|
|
73982
|
-
* @returns {Object} An object containing two properties:
|
|
73983
|
-
* - `FileInput`: A component that renders an invisible file input element. It takes all the standard HTML input attributes and forwardRefs the underlying input element.
|
|
73984
|
-
* - `openFileInput`: A function that programmatically opens the file input dialog. It can be used to open the file input dialog when another element is clicked.
|
|
73985
|
-
* - `checkFileError`: A function that checks for file errors based on type and size. It returns an error message if there is an issue, or null if the file is valid.
|
|
73986
|
-
*
|
|
73987
|
-
* @example
|
|
73988
|
-
* ```jsx
|
|
73989
|
-
* const { FileInput, openFileInput, checkFileError } = useFileInput();
|
|
73990
|
-
*
|
|
73991
|
-
* return (
|
|
73992
|
-
* <>
|
|
73993
|
-
* <button onClick={openFileInput}>Upload File</button>
|
|
73994
|
-
* <FileInput
|
|
73995
|
-
* onChange={(event) => {
|
|
73996
|
-
* const file = event.target.files?.item(0);
|
|
73997
|
-
* const error = checkFileError(file);
|
|
73998
|
-
* if (error) {
|
|
73999
|
-
* // handle the error (e.g., show a message)
|
|
74000
|
-
* console.error(error);
|
|
74001
|
-
* } else {
|
|
74002
|
-
* // handle the selected file
|
|
74003
|
-
* }
|
|
74004
|
-
* }}
|
|
74005
|
-
* />
|
|
74006
|
-
* </>
|
|
74007
|
-
* );
|
|
74008
|
-
* ```
|
|
74009
|
-
*/
|
|
74010
|
-
declare const useFileInput: ({ acceptedFormats, maxFileSizeInMB, }?: UseFileInputOptions) => {
|
|
74011
|
-
FileInput: ({ ref: externalRef, ...props }: ComponentProps<"input"> & {
|
|
74012
|
-
ref?: Ref<HTMLInputElement>;
|
|
74013
|
-
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74014
|
-
openFileInput: () => void;
|
|
74015
|
-
checkFileError: (file: File) => string | null;
|
|
74016
|
-
resetInput: () => void;
|
|
74017
|
-
};
|
|
74018
|
-
|
|
74019
|
-
declare const defaultCounterpartColumnWidth = 250;
|
|
74020
|
-
declare function useAreCounterpartsLoading(rows?: {
|
|
74021
|
-
counterpart_id?: string;
|
|
74022
|
-
}[]): boolean;
|
|
74023
|
-
declare function useAutosizeGridColumns(rows: any, columns: GridColDef[], areCounterpartsLoading: boolean, columnSerializationKey: string): React.RefObject<_mui_x_data_grid_internals.GridApiCommunity>;
|
|
74024
|
-
|
|
74025
|
-
declare const useFormPersist: (name: string, getValues: () => {
|
|
74026
|
-
[key: string]: any;
|
|
74027
|
-
}, setValue: SetFieldValue<any>) => void;
|
|
74028
|
-
|
|
74029
|
-
/**
|
|
74030
|
-
* Hook for persistent storage of form fields with SSR safety
|
|
74031
|
-
* @param componentPrefix - Prefix to avoid key collisions between different components
|
|
74032
|
-
* @param key - The key to store the value under
|
|
74033
|
-
* @param initialValue - The initial value to use if none is stored
|
|
74034
|
-
*/
|
|
74035
|
-
declare const useLocalStorageFields: <T>(componentPrefix: string, key: string, initialValue: T) => [T, (value: T) => void, boolean, (checked: boolean) => void];
|
|
74036
|
-
|
|
74037
|
-
/**
|
|
74038
|
-
* Hook to debounce a value
|
|
74039
|
-
* @template T - The type of the value to debounce
|
|
74040
|
-
* @param value The value to debounce
|
|
74041
|
-
* @param delay The delay in milliseconds
|
|
74042
|
-
* @returns The debounced value
|
|
74043
|
-
*/
|
|
74044
|
-
declare const useDebounce: <T>(value: T, delay?: number) => T;
|
|
74045
|
-
/**
|
|
74046
|
-
* Hook to debounce a callback function with auto-cleanup on unmount
|
|
74047
|
-
* @template Args - The argument types of the callback function
|
|
74048
|
-
* @template R - The return type of the callback function
|
|
74049
|
-
* @param callback The function to be debounced
|
|
74050
|
-
* @param delay The delay in milliseconds
|
|
74051
|
-
* @returns The debounced callback function
|
|
74052
|
-
*/
|
|
74053
|
-
declare const useDebounceCallback: <Args extends unknown[], R>(callback: (...args: Args) => R, delay?: number) => ((...args: Args) => void);
|
|
74054
|
-
|
|
74055
|
-
declare function useIsMobile(): boolean;
|
|
74056
|
-
|
|
74057
|
-
declare const useComponentSettings: () => {
|
|
74058
|
-
componentSettings: ComponentSettings;
|
|
74059
|
-
onboardingCallbacks: {
|
|
74060
|
-
onWorkingCapitalOnboardingComplete: ((entityId: string) => void) | undefined;
|
|
74061
|
-
onPaymentsOnboardingComplete: ((entityId: string) => void) | undefined;
|
|
74062
|
-
onComplete: ((entityId: string) => void) | undefined;
|
|
74063
|
-
onContinue: (() => void) | undefined;
|
|
74064
|
-
};
|
|
74065
|
-
payablesCallbacks: {
|
|
74066
|
-
onSaved: ((id: string) => void) | undefined;
|
|
74067
|
-
onCanceled: ((id: string) => void) | undefined;
|
|
74068
|
-
onSubmitted: ((id: string) => void) | undefined;
|
|
74069
|
-
onRejected: ((id: string) => void) | undefined;
|
|
74070
|
-
onApproved: ((id: string) => void) | undefined;
|
|
74071
|
-
onReopened: ((id: string) => void) | undefined;
|
|
74072
|
-
onDeleted: ((id: string) => void) | undefined;
|
|
74073
|
-
onPay: ((id: string, _data?: unknown, actions?: PayActionHandlers) => void) | undefined;
|
|
74074
|
-
};
|
|
74075
|
-
};
|
|
74076
|
-
|
|
74077
|
-
/**
|
|
74078
|
-
* Hook that tracks whether the component is currently mounted.
|
|
74079
|
-
* Useful for preventing state updates on unmounted components.
|
|
74080
|
-
*
|
|
74081
|
-
* @returns A ref object with current boolean indicating mount status
|
|
74082
|
-
*/
|
|
74083
|
-
declare const useIsMounted: () => React.RefObject<boolean>;
|
|
74084
|
-
|
|
74085
|
-
declare const breakpoints: {
|
|
74086
|
-
readonly sm: 640;
|
|
74087
|
-
readonly md: 768;
|
|
74088
|
-
readonly lg: 1024;
|
|
74089
|
-
readonly xl: 1280;
|
|
74090
|
-
readonly '2xl': 1536;
|
|
74091
|
-
};
|
|
74092
|
-
type Breakpoint = keyof typeof breakpoints;
|
|
74093
|
-
/**
|
|
74094
|
-
* Hook for responsive design using shadcn/ui standard breakpoints
|
|
74095
|
-
*
|
|
74096
|
-
* @param query - Media query string or breakpoint key
|
|
74097
|
-
* @returns boolean indicating if the media query matches
|
|
74098
|
-
*
|
|
74099
|
-
* @example
|
|
74100
|
-
* ```tsx
|
|
74101
|
-
* // Using breakpoint keys
|
|
74102
|
-
* const isMobile = useMediaQuery('sm'); // true when width < 640px
|
|
74103
|
-
* const isTablet = useMediaQuery('md'); // true when width >= 768px
|
|
74104
|
-
* const isDesktop = useMediaQuery('lg'); // true when width >= 1024px
|
|
74105
|
-
*
|
|
74106
|
-
* // Using custom media queries
|
|
74107
|
-
* const isLandscape = useMediaQuery('(orientation: landscape)');
|
|
74108
|
-
* const isHighDpi = useMediaQuery('(min-resolution: 2dppx)');
|
|
74109
|
-
*
|
|
74110
|
-
* // Using min/max width queries
|
|
74111
|
-
* const isMediumUp = useMediaQuery('(min-width: 768px)');
|
|
74112
|
-
* const isLargeDown = useMediaQuery('(max-width: 1023px)');
|
|
74113
|
-
* ```
|
|
74114
|
-
*/
|
|
74115
|
-
declare function useMediaQuery(query: Breakpoint | string): boolean;
|
|
74116
|
-
/**
|
|
74117
|
-
* Convenience hooks for common breakpoints
|
|
74118
|
-
*/
|
|
74119
|
-
declare const useIsMobileScreen: () => boolean;
|
|
74120
|
-
declare const useIsTabletScreen: () => boolean;
|
|
74121
|
-
declare const useIsDesktopScreen: () => boolean;
|
|
74122
|
-
declare const useIsLargeDesktopScreen: () => boolean;
|
|
74123
|
-
declare const useIsExtraLargeDesktopScreen: () => boolean;
|
|
74124
|
-
/**
|
|
74125
|
-
* Hook for checking if screen is smaller than a breakpoint
|
|
74126
|
-
*
|
|
74127
|
-
* @param breakpoint - The breakpoint to check against
|
|
74128
|
-
* @returns boolean indicating if screen is smaller than the breakpoint
|
|
74129
|
-
*
|
|
74130
|
-
* @example
|
|
74131
|
-
* ```tsx
|
|
74132
|
-
* const isSmallerThanLg = useIsSmallerThan('lg'); // true when width < 1024px
|
|
74133
|
-
* ```
|
|
74134
|
-
*/
|
|
74135
|
-
declare function useIsSmallerThan(breakpoint: Breakpoint): boolean;
|
|
74136
|
-
/**
|
|
74137
|
-
* Hook for checking if screen is larger than a breakpoint
|
|
74138
|
-
*
|
|
74139
|
-
* @param breakpoint - The breakpoint to check against
|
|
74140
|
-
* @returns boolean indicating if screen is larger than the breakpoint
|
|
74141
|
-
*
|
|
74142
|
-
* @example
|
|
74143
|
-
* ```tsx
|
|
74144
|
-
* const isLargerThanMd = useIsLargerThan('md'); // true when width > 768px
|
|
74145
|
-
* ```
|
|
74146
|
-
*/
|
|
74147
|
-
declare function useIsLargerThan(breakpoint: Breakpoint): boolean;
|
|
74148
|
-
|
|
74149
72389
|
/**
|
|
74150
72390
|
* Provides a single instance of `<ScopedCssBaseline/>` component,
|
|
74151
72391
|
* `<EmotionCacheProvider/>` and `<MuiThemeProvider/>` components.
|
|
@@ -74161,5 +72401,5 @@ declare const MoniteAPIProvider: ({ children, APIContext, }: {
|
|
|
74161
72401
|
APIContext: Context<QraftContextValue>;
|
|
74162
72402
|
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
74163
72403
|
|
|
74164
|
-
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, CreateProduct, Dialog, FinanceBanner, FinanceIntegrationCard, FinanceInvoice, FinanceTab, Integrations, LOGO_MAX_FILE_SIZE_IN_MB, LOGO_SUPPORTED_FORMATS, MoniteAPIProvider, MoniteProvider, MoniteScopedProviders, OCR_SUPPORTED_FORMATS, PageHeader,
|
|
74165
|
-
export type { ApprovalPolicyDetailsProps, ComponentSettings, CounterpartResponse, CountriesType, CountryType, CreateMoniteAPIClientOptions, CreateMoniteAPIClientResult, CreateProductProps, CurrenciesType, CurrencyGroup, CurrencyType, GenericCounterpartContact, MoniteApprovalRequestStatusChipProps, MoniteApprovalStatusChipProps, MoniteDialogProps, MoniteInvoiceRecurrenceIterationStatusChipProps, MoniteInvoiceRecurrenceStatusChipProps, MoniteInvoiceStatusChipProps,
|
|
72404
|
+
export { schema_d as APISchema, ApprovalPolicies, ApprovalPoliciesTable, ApprovalPolicyDetails, ApprovalRequests, ApprovalRequestsTable, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, CreateProduct, Dialog, FinanceBanner, FinanceIntegrationCard, FinanceInvoice, FinanceTab, Integrations, LOGO_MAX_FILE_SIZE_IN_MB, LOGO_SUPPORTED_FORMATS, MoniteAPIProvider, MoniteProvider, MoniteScopedProviders, OCR_SUPPORTED_FORMATS, PageHeader, ProductDetails, Products, ProductsTable, RootElementsProvider, breakpoints, countryCurrencyList, createAPIClient, dateStringToLocalDate, defaultAvailableCountries, defaultAvailableCurrencies, defaultCounterpartColumnWidth, filterOptions, formatDateRangeFilterChip, formatFilterChipMultiSelectValueSegment, getCountries, getCountriesArray, getCurrencies, getCurrenciesArray, getEntityName, getGroupTitleForOption, getIndividualName, getIndividualNameWithFallback, getUserDisplayName, rateMajorToMinor, rateMinorToMajor, sortCurrencyOptionsByGroup, useApprovalPolicyById, useAreCounterpartsLoading, useAutosizeGridColumns, useComboboxAnchor, useComponentSettings, useCounterpartAddresses, useCounterpartById, useCounterpartContactList, useCounterpartList, useCounterpartVatList, useCurrencies, useDebounce, useDebounceCallback, useDialog, useEntitySettings, useEntityUserByAuthToken, useEntityUserById, useEntityUserNames, useFileById, useFileInput, useFormPersist, useGetReceivableById, useIsDesktopScreen, useIsExtraLargeDesktopScreen, useIsLargeDesktopScreen, useIsLargerThan, useIsMobile, useIsMobileScreen, useIsMounted, useIsSmallerThan, useIsTabletScreen, useLocalStorageFields, useMe, useMediaQuery, useMenuButton, useMoniteContext, useMyEntity, useOptionalFields, usePatchEntitiesIdSettings, usePaymentIntentById, useRootElements };
|
|
72405
|
+
export type { ApprovalPolicyDetailsProps, ComponentSettings, CounterpartResponse, CountriesType, CountryType, CreateMoniteAPIClientOptions, CreateMoniteAPIClientResult, CreateProductProps, CurrenciesType, CurrencyGroup, CurrencyType, GenericCounterpartContact, MoniteApprovalRequestStatusChipProps, MoniteApprovalStatusChipProps, MoniteDialogProps, MoniteInvoiceRecurrenceIterationStatusChipProps, MoniteInvoiceRecurrenceStatusChipProps, MoniteInvoiceStatusChipProps, MoniteSettings, PaginationLayout, PaginationPosition, ProductDetailsProps, ProductTableProps, ProductsProps, UseEntityUserNamesParams, UseFileInputOptions };
|