@tesouro/embedded-components-react 0.4.12 → 0.4.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.d.ts +204 -468
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +37 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +98 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +63 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +40 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +173 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +45 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +45 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +55 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +58 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +134 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +39 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +78 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +78 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +47 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +119 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +33 -168
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +170 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +23 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +199 -203
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +198 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +105 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +23 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +47 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +27 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +198 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +30 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +19 -342
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +364 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +186 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +9 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +3 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +125 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +239 -101
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +107 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +209 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +64 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +161 -154
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +47 -337
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +327 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +113 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +95 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -160
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +178 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +37 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +11 -282
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +87 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +294 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +187 -333
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +335 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +87 -121
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +127 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +0 -28
package/dist/lib/monite-sdk.d.ts
CHANGED
|
@@ -70158,298 +70158,220 @@ declare const useFileById: (fileId: string | undefined) => _tanstack_react_query
|
|
|
70158
70158
|
detail?: components["schemas"]["ValidationError"][];
|
|
70159
70159
|
} | Error>;
|
|
70160
70160
|
|
|
70161
|
-
|
|
70162
|
-
|
|
70161
|
+
interface Register {}
|
|
70162
|
+
type DefaultError = Register extends {
|
|
70163
|
+
defaultError: infer TError;
|
|
70163
70164
|
} ? TError : Error;
|
|
70164
|
-
|
|
70165
|
-
|
|
70166
|
-
declare type DefinedQueryObserverResult<TData = unknown, TError = DefaultError> = QueryObserverRefetchErrorResult<TData, TError> | QueryObserverSuccessResult<TData, TError>;
|
|
70167
|
-
|
|
70168
|
-
|
|
70169
|
-
declare type FetchStatus = 'fetching' | 'paused' | 'idle';
|
|
70170
|
-
|
|
70171
|
-
|
|
70172
|
-
declare interface QueryObserverBaseResult<TData = unknown, TError = DefaultError> {
|
|
70173
|
-
/**
|
|
70174
|
-
* The last successfully resolved data for the query.
|
|
70175
|
-
*/
|
|
70176
|
-
data: TData | undefined;
|
|
70177
|
-
/**
|
|
70178
|
-
* The timestamp for when the query most recently returned the `status` as `"success"`.
|
|
70179
|
-
*/
|
|
70180
|
-
dataUpdatedAt: number;
|
|
70181
|
-
/**
|
|
70182
|
-
* The error object for the query, if an error was thrown.
|
|
70183
|
-
* - Defaults to `null`.
|
|
70184
|
-
*/
|
|
70185
|
-
error: TError | null;
|
|
70186
|
-
/**
|
|
70187
|
-
* The timestamp for when the query most recently returned the `status` as `"error"`.
|
|
70188
|
-
*/
|
|
70189
|
-
errorUpdatedAt: number;
|
|
70190
|
-
/**
|
|
70191
|
-
* The failure count for the query.
|
|
70192
|
-
* - Incremented every time the query fails.
|
|
70193
|
-
* - Reset to `0` when the query succeeds.
|
|
70194
|
-
*/
|
|
70195
|
-
failureCount: number;
|
|
70196
|
-
/**
|
|
70197
|
-
* The failure reason for the query retry.
|
|
70198
|
-
* - Reset to `null` when the query succeeds.
|
|
70199
|
-
*/
|
|
70200
|
-
failureReason: TError | null;
|
|
70201
|
-
/**
|
|
70202
|
-
* The sum of all errors.
|
|
70203
|
-
*/
|
|
70204
|
-
errorUpdateCount: number;
|
|
70205
|
-
/**
|
|
70206
|
-
* A derived boolean from the `status` variable, provided for convenience.
|
|
70207
|
-
* - `true` if the query attempt resulted in an error.
|
|
70208
|
-
*/
|
|
70209
|
-
isError: boolean;
|
|
70210
|
-
/**
|
|
70211
|
-
* Will be `true` if the query has been fetched.
|
|
70212
|
-
*/
|
|
70213
|
-
isFetched: boolean;
|
|
70214
|
-
/**
|
|
70215
|
-
* Will be `true` if the query has been fetched after the component mounted.
|
|
70216
|
-
* - This property can be used to not show any previously cached data.
|
|
70217
|
-
*/
|
|
70218
|
-
isFetchedAfterMount: boolean;
|
|
70219
|
-
/**
|
|
70220
|
-
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
70221
|
-
* - `true` whenever the `queryFn` is executing, which includes initial `pending` as well as background refetch.
|
|
70222
|
-
*/
|
|
70223
|
-
isFetching: boolean;
|
|
70224
|
-
/**
|
|
70225
|
-
* Is `true` whenever the first fetch for a query is in-flight.
|
|
70226
|
-
* - Is the same as `isFetching && isPending`.
|
|
70227
|
-
*/
|
|
70228
|
-
isLoading: boolean;
|
|
70229
|
-
/**
|
|
70230
|
-
* Will be `pending` if there's no cached data and no query attempt was finished yet.
|
|
70231
|
-
*/
|
|
70232
|
-
isPending: boolean;
|
|
70233
|
-
/**
|
|
70234
|
-
* Will be `true` if the query failed while fetching for the first time.
|
|
70235
|
-
*/
|
|
70236
|
-
isLoadingError: boolean;
|
|
70237
|
-
/**
|
|
70238
|
-
* @deprecated `isInitialLoading` is being deprecated in favor of `isLoading`
|
|
70239
|
-
* and will be removed in the next major version.
|
|
70240
|
-
*/
|
|
70241
|
-
isInitialLoading: boolean;
|
|
70242
|
-
/**
|
|
70243
|
-
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
70244
|
-
* - The query wanted to fetch, but has been `paused`.
|
|
70245
|
-
*/
|
|
70246
|
-
isPaused: boolean;
|
|
70247
|
-
/**
|
|
70248
|
-
* Will be `true` if the data shown is the placeholder data.
|
|
70249
|
-
*/
|
|
70250
|
-
isPlaceholderData: boolean;
|
|
70251
|
-
/**
|
|
70252
|
-
* Will be `true` if the query failed while refetching.
|
|
70253
|
-
*/
|
|
70254
|
-
isRefetchError: boolean;
|
|
70255
|
-
/**
|
|
70256
|
-
* Is `true` whenever a background refetch is in-flight, which _does not_ include initial `pending`.
|
|
70257
|
-
* - Is the same as `isFetching && !isPending`.
|
|
70258
|
-
*/
|
|
70259
|
-
isRefetching: boolean;
|
|
70260
|
-
/**
|
|
70261
|
-
* Will be `true` if the data in the cache is invalidated or if the data is older than the given `staleTime`.
|
|
70262
|
-
*/
|
|
70263
|
-
isStale: boolean;
|
|
70264
|
-
/**
|
|
70265
|
-
* A derived boolean from the `status` variable, provided for convenience.
|
|
70266
|
-
* - `true` if the query has received a response with no errors and is ready to display its data.
|
|
70267
|
-
*/
|
|
70268
|
-
isSuccess: boolean;
|
|
70269
|
-
/**
|
|
70270
|
-
* `true` if this observer is enabled, `false` otherwise.
|
|
70271
|
-
*/
|
|
70272
|
-
isEnabled: boolean;
|
|
70273
|
-
/**
|
|
70274
|
-
* A function to manually refetch the query.
|
|
70275
|
-
*/
|
|
70276
|
-
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<TData, TError>>;
|
|
70277
|
-
/**
|
|
70278
|
-
* The status of the query.
|
|
70279
|
-
* - Will be:
|
|
70280
|
-
* - `pending` if there's no cached data and no query attempt was finished yet.
|
|
70281
|
-
* - `error` if the query attempt resulted in an error.
|
|
70282
|
-
* - `success` if the query has received a response with no errors and is ready to display its data.
|
|
70283
|
-
*/
|
|
70284
|
-
status: QueryStatus;
|
|
70285
|
-
/**
|
|
70286
|
-
* The fetch status of the query.
|
|
70287
|
-
* - `fetching`: Is `true` whenever the queryFn is executing, which includes initial `pending` as well as background refetch.
|
|
70288
|
-
* - `paused`: The query wanted to fetch, but has been `paused`.
|
|
70289
|
-
* - `idle`: The query is not fetching.
|
|
70290
|
-
* - See [Network Mode](https://tanstack.com/query/latest/docs/framework/react/guides/network-mode) for more information.
|
|
70291
|
-
*/
|
|
70292
|
-
fetchStatus: FetchStatus;
|
|
70293
|
-
/**
|
|
70294
|
-
* A stable promise that will be resolved with the data of the query.
|
|
70295
|
-
* Requires the `experimental_prefetchInRender` feature flag to be enabled.
|
|
70296
|
-
* @example
|
|
70297
|
-
*
|
|
70298
|
-
* ### Enabling the feature flag
|
|
70299
|
-
* ```ts
|
|
70300
|
-
* const client = new QueryClient({
|
|
70301
|
-
* defaultOptions: {
|
|
70302
|
-
* queries: {
|
|
70303
|
-
* experimental_prefetchInRender: true,
|
|
70304
|
-
* },
|
|
70305
|
-
* },
|
|
70306
|
-
* })
|
|
70307
|
-
* ```
|
|
70308
|
-
*
|
|
70309
|
-
* ### Usage
|
|
70310
|
-
* ```tsx
|
|
70311
|
-
* import { useQuery } from '@tanstack/react-query'
|
|
70312
|
-
* import React from 'react'
|
|
70313
|
-
* import { fetchTodos, type Todo } from './api'
|
|
70314
|
-
*
|
|
70315
|
-
* function TodoList({ query }: { query: UseQueryResult<Todo[], Error> }) {
|
|
70316
|
-
* const data = React.use(query.promise)
|
|
70317
|
-
*
|
|
70318
|
-
* return (
|
|
70319
|
-
* <ul>
|
|
70320
|
-
* {data.map(todo => (
|
|
70321
|
-
* <li key={todo.id}>{todo.title}</li>
|
|
70322
|
-
* ))}
|
|
70323
|
-
* </ul>
|
|
70324
|
-
* )
|
|
70325
|
-
* }
|
|
70326
|
-
*
|
|
70327
|
-
* export function App() {
|
|
70328
|
-
* const query = useQuery({ queryKey: ['todos'], queryFn: fetchTodos })
|
|
70329
|
-
*
|
|
70330
|
-
* return (
|
|
70331
|
-
* <>
|
|
70332
|
-
* <h1>Todos</h1>
|
|
70333
|
-
* <React.Suspense fallback={<div>Loading...</div>}>
|
|
70334
|
-
* <TodoList query={query} />
|
|
70335
|
-
* </React.Suspense>
|
|
70336
|
-
* </>
|
|
70337
|
-
* )
|
|
70338
|
-
* }
|
|
70339
|
-
* ```
|
|
70340
|
-
*/
|
|
70341
|
-
promise: Promise<TData>;
|
|
70165
|
+
interface ResultOptions {
|
|
70166
|
+
throwOnError?: boolean;
|
|
70342
70167
|
}
|
|
70343
|
-
|
|
70344
|
-
|
|
70345
|
-
|
|
70346
|
-
|
|
70347
|
-
|
|
70348
|
-
|
|
70349
|
-
|
|
70350
|
-
|
|
70351
|
-
|
|
70352
|
-
isRefetchError: false;
|
|
70353
|
-
isSuccess: false;
|
|
70354
|
-
isPlaceholderData: false;
|
|
70355
|
-
status: 'error';
|
|
70168
|
+
interface RefetchOptions extends ResultOptions {
|
|
70169
|
+
/**
|
|
70170
|
+
* If set to `true`, a currently running request will be cancelled before a new request is made
|
|
70171
|
+
*
|
|
70172
|
+
* If set to `false`, no refetch will be made if there is already a request running.
|
|
70173
|
+
*
|
|
70174
|
+
* Defaults to `true`.
|
|
70175
|
+
*/
|
|
70176
|
+
cancelRefetch?: boolean;
|
|
70356
70177
|
}
|
|
70357
|
-
|
|
70358
|
-
|
|
70359
|
-
|
|
70360
|
-
|
|
70361
|
-
|
|
70362
|
-
|
|
70363
|
-
|
|
70364
|
-
|
|
70365
|
-
|
|
70366
|
-
|
|
70367
|
-
|
|
70368
|
-
|
|
70369
|
-
|
|
70178
|
+
type QueryStatus = 'pending' | 'error' | 'success';
|
|
70179
|
+
type FetchStatus = 'fetching' | 'paused' | 'idle';
|
|
70180
|
+
interface QueryObserverBaseResult<TData = unknown, TError = DefaultError> {
|
|
70181
|
+
/**
|
|
70182
|
+
* The last successfully resolved data for the query.
|
|
70183
|
+
*/
|
|
70184
|
+
data: TData | undefined;
|
|
70185
|
+
/**
|
|
70186
|
+
* The timestamp for when the query most recently returned the `status` as `"success"`.
|
|
70187
|
+
*/
|
|
70188
|
+
dataUpdatedAt: number;
|
|
70189
|
+
/**
|
|
70190
|
+
* The error object for the query, if an error was thrown.
|
|
70191
|
+
* - Defaults to `null`.
|
|
70192
|
+
*/
|
|
70193
|
+
error: TError | null;
|
|
70194
|
+
/**
|
|
70195
|
+
* The timestamp for when the query most recently returned the `status` as `"error"`.
|
|
70196
|
+
*/
|
|
70197
|
+
errorUpdatedAt: number;
|
|
70198
|
+
/**
|
|
70199
|
+
* The failure count for the query.
|
|
70200
|
+
* - Incremented every time the query fails.
|
|
70201
|
+
* - Reset to `0` when the query succeeds.
|
|
70202
|
+
*/
|
|
70203
|
+
failureCount: number;
|
|
70204
|
+
/**
|
|
70205
|
+
* The failure reason for the query retry.
|
|
70206
|
+
* - Reset to `null` when the query succeeds.
|
|
70207
|
+
*/
|
|
70208
|
+
failureReason: TError | null;
|
|
70209
|
+
/**
|
|
70210
|
+
* The sum of all errors.
|
|
70211
|
+
*/
|
|
70212
|
+
errorUpdateCount: number;
|
|
70213
|
+
/**
|
|
70214
|
+
* A derived boolean from the `status` variable, provided for convenience.
|
|
70215
|
+
* - `true` if the query attempt resulted in an error.
|
|
70216
|
+
*/
|
|
70217
|
+
isError: boolean;
|
|
70218
|
+
/**
|
|
70219
|
+
* Will be `true` if the query has been fetched.
|
|
70220
|
+
*/
|
|
70221
|
+
isFetched: boolean;
|
|
70222
|
+
/**
|
|
70223
|
+
* Will be `true` if the query has been fetched after the component mounted.
|
|
70224
|
+
* - This property can be used to not show any previously cached data.
|
|
70225
|
+
*/
|
|
70226
|
+
isFetchedAfterMount: boolean;
|
|
70227
|
+
/**
|
|
70228
|
+
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
70229
|
+
* - `true` whenever the `queryFn` is executing, which includes initial `pending` as well as background refetch.
|
|
70230
|
+
*/
|
|
70231
|
+
isFetching: boolean;
|
|
70232
|
+
/**
|
|
70233
|
+
* Is `true` whenever the first fetch for a query is in-flight.
|
|
70234
|
+
* - Is the same as `isFetching && isPending`.
|
|
70235
|
+
*/
|
|
70236
|
+
isLoading: boolean;
|
|
70237
|
+
/**
|
|
70238
|
+
* Will be `pending` if there's no cached data and no query attempt was finished yet.
|
|
70239
|
+
*/
|
|
70240
|
+
isPending: boolean;
|
|
70241
|
+
/**
|
|
70242
|
+
* Will be `true` if the query failed while fetching for the first time.
|
|
70243
|
+
*/
|
|
70244
|
+
isLoadingError: boolean;
|
|
70245
|
+
/**
|
|
70246
|
+
* @deprecated `isInitialLoading` is being deprecated in favor of `isLoading`
|
|
70247
|
+
* and will be removed in the next major version.
|
|
70248
|
+
*/
|
|
70249
|
+
isInitialLoading: boolean;
|
|
70250
|
+
/**
|
|
70251
|
+
* A derived boolean from the `fetchStatus` variable, provided for convenience.
|
|
70252
|
+
* - The query wanted to fetch, but has been `paused`.
|
|
70253
|
+
*/
|
|
70254
|
+
isPaused: boolean;
|
|
70255
|
+
/**
|
|
70256
|
+
* Will be `true` if the data shown is the placeholder data.
|
|
70257
|
+
*/
|
|
70258
|
+
isPlaceholderData: boolean;
|
|
70259
|
+
/**
|
|
70260
|
+
* Will be `true` if the query failed while refetching.
|
|
70261
|
+
*/
|
|
70262
|
+
isRefetchError: boolean;
|
|
70263
|
+
/**
|
|
70264
|
+
* Is `true` whenever a background refetch is in-flight, which _does not_ include initial `pending`.
|
|
70265
|
+
* - Is the same as `isFetching && !isPending`.
|
|
70266
|
+
*/
|
|
70267
|
+
isRefetching: boolean;
|
|
70268
|
+
/**
|
|
70269
|
+
* Will be `true` if the data in the cache is invalidated or if the data is older than the given `staleTime`.
|
|
70270
|
+
*/
|
|
70271
|
+
isStale: boolean;
|
|
70272
|
+
/**
|
|
70273
|
+
* A derived boolean from the `status` variable, provided for convenience.
|
|
70274
|
+
* - `true` if the query has received a response with no errors and is ready to display its data.
|
|
70275
|
+
*/
|
|
70276
|
+
isSuccess: boolean;
|
|
70277
|
+
/**
|
|
70278
|
+
* `true` if this observer is enabled, `false` otherwise.
|
|
70279
|
+
*/
|
|
70280
|
+
isEnabled: boolean;
|
|
70281
|
+
/**
|
|
70282
|
+
* A function to manually refetch the query.
|
|
70283
|
+
*/
|
|
70284
|
+
refetch: (options?: RefetchOptions) => Promise<QueryObserverResult<TData, TError>>;
|
|
70285
|
+
/**
|
|
70286
|
+
* The status of the query.
|
|
70287
|
+
* - Will be:
|
|
70288
|
+
* - `pending` if there's no cached data and no query attempt was finished yet.
|
|
70289
|
+
* - `error` if the query attempt resulted in an error.
|
|
70290
|
+
* - `success` if the query has received a response with no errors and is ready to display its data.
|
|
70291
|
+
*/
|
|
70292
|
+
status: QueryStatus;
|
|
70293
|
+
/**
|
|
70294
|
+
* The fetch status of the query.
|
|
70295
|
+
* - `fetching`: Is `true` whenever the queryFn is executing, which includes initial `pending` as well as background refetch.
|
|
70296
|
+
* - `paused`: The query wanted to fetch, but has been `paused`.
|
|
70297
|
+
* - `idle`: The query is not fetching.
|
|
70298
|
+
* - See [Network Mode](https://tanstack.com/query/latest/docs/framework/react/guides/network-mode) for more information.
|
|
70299
|
+
*/
|
|
70300
|
+
fetchStatus: FetchStatus;
|
|
70370
70301
|
}
|
|
70371
|
-
|
|
70372
|
-
|
|
70373
|
-
|
|
70374
|
-
|
|
70375
|
-
|
|
70376
|
-
|
|
70377
|
-
|
|
70378
|
-
|
|
70379
|
-
|
|
70380
|
-
|
|
70381
|
-
isPlaceholderData: false;
|
|
70382
|
-
status: 'pending';
|
|
70302
|
+
interface QueryObserverPendingResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70303
|
+
data: undefined;
|
|
70304
|
+
error: null;
|
|
70305
|
+
isError: false;
|
|
70306
|
+
isPending: true;
|
|
70307
|
+
isLoadingError: false;
|
|
70308
|
+
isRefetchError: false;
|
|
70309
|
+
isSuccess: false;
|
|
70310
|
+
isPlaceholderData: false;
|
|
70311
|
+
status: 'pending';
|
|
70383
70312
|
}
|
|
70384
|
-
|
|
70385
|
-
|
|
70386
|
-
|
|
70387
|
-
|
|
70388
|
-
|
|
70389
|
-
|
|
70390
|
-
|
|
70391
|
-
|
|
70392
|
-
|
|
70393
|
-
|
|
70394
|
-
|
|
70395
|
-
isPlaceholderData: true;
|
|
70396
|
-
status: 'success';
|
|
70313
|
+
interface QueryObserverLoadingResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70314
|
+
data: undefined;
|
|
70315
|
+
error: null;
|
|
70316
|
+
isError: false;
|
|
70317
|
+
isPending: true;
|
|
70318
|
+
isLoading: true;
|
|
70319
|
+
isLoadingError: false;
|
|
70320
|
+
isRefetchError: false;
|
|
70321
|
+
isSuccess: false;
|
|
70322
|
+
isPlaceholderData: false;
|
|
70323
|
+
status: 'pending';
|
|
70397
70324
|
}
|
|
70398
|
-
|
|
70399
|
-
|
|
70400
|
-
|
|
70401
|
-
|
|
70402
|
-
|
|
70403
|
-
|
|
70404
|
-
|
|
70405
|
-
|
|
70406
|
-
|
|
70407
|
-
|
|
70408
|
-
|
|
70409
|
-
isPlaceholderData: false;
|
|
70410
|
-
status: 'error';
|
|
70325
|
+
interface QueryObserverLoadingErrorResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70326
|
+
data: undefined;
|
|
70327
|
+
error: TError;
|
|
70328
|
+
isError: true;
|
|
70329
|
+
isPending: false;
|
|
70330
|
+
isLoading: false;
|
|
70331
|
+
isLoadingError: true;
|
|
70332
|
+
isRefetchError: false;
|
|
70333
|
+
isSuccess: false;
|
|
70334
|
+
isPlaceholderData: false;
|
|
70335
|
+
status: 'error';
|
|
70411
70336
|
}
|
|
70412
|
-
|
|
70413
|
-
|
|
70414
|
-
|
|
70415
|
-
|
|
70416
|
-
|
|
70417
|
-
|
|
70418
|
-
|
|
70419
|
-
|
|
70420
|
-
|
|
70421
|
-
|
|
70422
|
-
|
|
70423
|
-
isLoadingError: false;
|
|
70424
|
-
isRefetchError: false;
|
|
70425
|
-
isSuccess: true;
|
|
70426
|
-
isPlaceholderData: false;
|
|
70427
|
-
status: 'success';
|
|
70428
|
-
}
|
|
70429
|
-
|
|
70430
|
-
|
|
70431
|
-
declare type QueryStatus = 'pending' | 'error' | 'success';
|
|
70432
|
-
|
|
70433
|
-
|
|
70434
|
-
declare interface RefetchOptions extends ResultOptions {
|
|
70435
|
-
/**
|
|
70436
|
-
* If set to `true`, a currently running request will be cancelled before a new request is made
|
|
70437
|
-
*
|
|
70438
|
-
* If set to `false`, no refetch will be made if there is already a request running.
|
|
70439
|
-
*
|
|
70440
|
-
* Defaults to `true`.
|
|
70441
|
-
*/
|
|
70442
|
-
cancelRefetch?: boolean;
|
|
70337
|
+
interface QueryObserverRefetchErrorResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70338
|
+
data: TData;
|
|
70339
|
+
error: TError;
|
|
70340
|
+
isError: true;
|
|
70341
|
+
isPending: false;
|
|
70342
|
+
isLoading: false;
|
|
70343
|
+
isLoadingError: false;
|
|
70344
|
+
isRefetchError: true;
|
|
70345
|
+
isSuccess: false;
|
|
70346
|
+
isPlaceholderData: false;
|
|
70347
|
+
status: 'error';
|
|
70443
70348
|
}
|
|
70444
|
-
|
|
70445
|
-
|
|
70446
|
-
|
|
70349
|
+
interface QueryObserverSuccessResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70350
|
+
data: TData;
|
|
70351
|
+
error: null;
|
|
70352
|
+
isError: false;
|
|
70353
|
+
isPending: false;
|
|
70354
|
+
isLoading: false;
|
|
70355
|
+
isLoadingError: false;
|
|
70356
|
+
isRefetchError: false;
|
|
70357
|
+
isSuccess: true;
|
|
70358
|
+
isPlaceholderData: false;
|
|
70359
|
+
status: 'success';
|
|
70447
70360
|
}
|
|
70448
|
-
|
|
70449
|
-
|
|
70450
|
-
|
|
70451
|
-
|
|
70361
|
+
interface QueryObserverPlaceholderResult<TData = unknown, TError = DefaultError> extends QueryObserverBaseResult<TData, TError> {
|
|
70362
|
+
data: TData;
|
|
70363
|
+
isError: false;
|
|
70364
|
+
error: null;
|
|
70365
|
+
isPending: false;
|
|
70366
|
+
isLoading: false;
|
|
70367
|
+
isLoadingError: false;
|
|
70368
|
+
isRefetchError: false;
|
|
70369
|
+
isSuccess: true;
|
|
70370
|
+
isPlaceholderData: true;
|
|
70371
|
+
status: 'success';
|
|
70452
70372
|
}
|
|
70373
|
+
type DefinedQueryObserverResult<TData = unknown, TError = DefaultError> = QueryObserverRefetchErrorResult<TData, TError> | QueryObserverSuccessResult<TData, TError>;
|
|
70374
|
+
type QueryObserverResult<TData = unknown, TError = DefaultError> = DefinedQueryObserverResult<TData, TError> | QueryObserverLoadingErrorResult<TData, TError> | QueryObserverLoadingResult<TData, TError> | QueryObserverPendingResult<TData, TError> | QueryObserverPlaceholderResult<TData, TError>;
|
|
70453
70375
|
|
|
70454
70376
|
/**
|
|
70455
70377
|
* @note We are deviating from the default query configuration because the data
|
|
@@ -70576,37 +70498,6 @@ declare const useMyEntity: () => {
|
|
|
70576
70498
|
detail?: components["schemas"]["ValidationError"][];
|
|
70577
70499
|
} | Error>>;
|
|
70578
70500
|
fetchStatus: FetchStatus;
|
|
70579
|
-
promise: Promise<{
|
|
70580
|
-
id: string;
|
|
70581
|
-
created_at: string;
|
|
70582
|
-
updated_at: string;
|
|
70583
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70584
|
-
email?: string | null;
|
|
70585
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
70586
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70587
|
-
phone?: string | null;
|
|
70588
|
-
registration_authority?: string | null;
|
|
70589
|
-
registration_number?: string | null;
|
|
70590
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70591
|
-
tax_id?: string | null;
|
|
70592
|
-
type: "individual";
|
|
70593
|
-
website?: string | null;
|
|
70594
|
-
} | {
|
|
70595
|
-
id: string;
|
|
70596
|
-
created_at: string;
|
|
70597
|
-
updated_at: string;
|
|
70598
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70599
|
-
email?: string | null;
|
|
70600
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70601
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
70602
|
-
phone?: string | null;
|
|
70603
|
-
registration_authority?: string | null;
|
|
70604
|
-
registration_number?: string | null;
|
|
70605
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70606
|
-
tax_id?: string | null;
|
|
70607
|
-
type: "organization";
|
|
70608
|
-
website?: string | null;
|
|
70609
|
-
}>;
|
|
70610
70501
|
} | {
|
|
70611
70502
|
entityName: string;
|
|
70612
70503
|
isNonVatSupported: boolean;
|
|
@@ -70705,37 +70596,6 @@ declare const useMyEntity: () => {
|
|
|
70705
70596
|
detail?: components["schemas"]["ValidationError"][];
|
|
70706
70597
|
} | Error>>;
|
|
70707
70598
|
fetchStatus: FetchStatus;
|
|
70708
|
-
promise: Promise<{
|
|
70709
|
-
id: string;
|
|
70710
|
-
created_at: string;
|
|
70711
|
-
updated_at: string;
|
|
70712
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70713
|
-
email?: string | null;
|
|
70714
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
70715
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70716
|
-
phone?: string | null;
|
|
70717
|
-
registration_authority?: string | null;
|
|
70718
|
-
registration_number?: string | null;
|
|
70719
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70720
|
-
tax_id?: string | null;
|
|
70721
|
-
type: "individual";
|
|
70722
|
-
website?: string | null;
|
|
70723
|
-
} | {
|
|
70724
|
-
id: string;
|
|
70725
|
-
created_at: string;
|
|
70726
|
-
updated_at: string;
|
|
70727
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70728
|
-
email?: string | null;
|
|
70729
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70730
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
70731
|
-
phone?: string | null;
|
|
70732
|
-
registration_authority?: string | null;
|
|
70733
|
-
registration_number?: string | null;
|
|
70734
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70735
|
-
tax_id?: string | null;
|
|
70736
|
-
type: "organization";
|
|
70737
|
-
website?: string | null;
|
|
70738
|
-
}>;
|
|
70739
70599
|
} | {
|
|
70740
70600
|
entityName: string;
|
|
70741
70601
|
isNonVatSupported: boolean;
|
|
@@ -70808,37 +70668,6 @@ declare const useMyEntity: () => {
|
|
|
70808
70668
|
detail?: components["schemas"]["ValidationError"][];
|
|
70809
70669
|
} | Error>>;
|
|
70810
70670
|
fetchStatus: FetchStatus;
|
|
70811
|
-
promise: Promise<{
|
|
70812
|
-
id: string;
|
|
70813
|
-
created_at: string;
|
|
70814
|
-
updated_at: string;
|
|
70815
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70816
|
-
email?: string | null;
|
|
70817
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
70818
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70819
|
-
phone?: string | null;
|
|
70820
|
-
registration_authority?: string | null;
|
|
70821
|
-
registration_number?: string | null;
|
|
70822
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70823
|
-
tax_id?: string | null;
|
|
70824
|
-
type: "individual";
|
|
70825
|
-
website?: string | null;
|
|
70826
|
-
} | {
|
|
70827
|
-
id: string;
|
|
70828
|
-
created_at: string;
|
|
70829
|
-
updated_at: string;
|
|
70830
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70831
|
-
email?: string | null;
|
|
70832
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70833
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
70834
|
-
phone?: string | null;
|
|
70835
|
-
registration_authority?: string | null;
|
|
70836
|
-
registration_number?: string | null;
|
|
70837
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70838
|
-
tax_id?: string | null;
|
|
70839
|
-
type: "organization";
|
|
70840
|
-
website?: string | null;
|
|
70841
|
-
}>;
|
|
70842
70671
|
} | {
|
|
70843
70672
|
entityName: string;
|
|
70844
70673
|
isNonVatSupported: boolean;
|
|
@@ -70907,37 +70736,6 @@ declare const useMyEntity: () => {
|
|
|
70907
70736
|
detail?: components["schemas"]["ValidationError"][];
|
|
70908
70737
|
} | Error>>;
|
|
70909
70738
|
fetchStatus: FetchStatus;
|
|
70910
|
-
promise: Promise<{
|
|
70911
|
-
id: string;
|
|
70912
|
-
created_at: string;
|
|
70913
|
-
updated_at: string;
|
|
70914
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70915
|
-
email?: string | null;
|
|
70916
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
70917
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70918
|
-
phone?: string | null;
|
|
70919
|
-
registration_authority?: string | null;
|
|
70920
|
-
registration_number?: string | null;
|
|
70921
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70922
|
-
tax_id?: string | null;
|
|
70923
|
-
type: "individual";
|
|
70924
|
-
website?: string | null;
|
|
70925
|
-
} | {
|
|
70926
|
-
id: string;
|
|
70927
|
-
created_at: string;
|
|
70928
|
-
updated_at: string;
|
|
70929
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
70930
|
-
email?: string | null;
|
|
70931
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
70932
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
70933
|
-
phone?: string | null;
|
|
70934
|
-
registration_authority?: string | null;
|
|
70935
|
-
registration_number?: string | null;
|
|
70936
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
70937
|
-
tax_id?: string | null;
|
|
70938
|
-
type: "organization";
|
|
70939
|
-
website?: string | null;
|
|
70940
|
-
}>;
|
|
70941
70739
|
} | {
|
|
70942
70740
|
entityName: string;
|
|
70943
70741
|
isNonVatSupported: boolean;
|
|
@@ -71006,37 +70804,6 @@ declare const useMyEntity: () => {
|
|
|
71006
70804
|
detail?: components["schemas"]["ValidationError"][];
|
|
71007
70805
|
} | Error>>;
|
|
71008
70806
|
fetchStatus: FetchStatus;
|
|
71009
|
-
promise: Promise<{
|
|
71010
|
-
id: string;
|
|
71011
|
-
created_at: string;
|
|
71012
|
-
updated_at: string;
|
|
71013
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
71014
|
-
email?: string | null;
|
|
71015
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
71016
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
71017
|
-
phone?: string | null;
|
|
71018
|
-
registration_authority?: string | null;
|
|
71019
|
-
registration_number?: string | null;
|
|
71020
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
71021
|
-
tax_id?: string | null;
|
|
71022
|
-
type: "individual";
|
|
71023
|
-
website?: string | null;
|
|
71024
|
-
} | {
|
|
71025
|
-
id: string;
|
|
71026
|
-
created_at: string;
|
|
71027
|
-
updated_at: string;
|
|
71028
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
71029
|
-
email?: string | null;
|
|
71030
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
71031
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
71032
|
-
phone?: string | null;
|
|
71033
|
-
registration_authority?: string | null;
|
|
71034
|
-
registration_number?: string | null;
|
|
71035
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
71036
|
-
tax_id?: string | null;
|
|
71037
|
-
type: "organization";
|
|
71038
|
-
website?: string | null;
|
|
71039
|
-
}>;
|
|
71040
70807
|
} | {
|
|
71041
70808
|
entityName: string;
|
|
71042
70809
|
isNonVatSupported: boolean;
|
|
@@ -71135,37 +70902,6 @@ declare const useMyEntity: () => {
|
|
|
71135
70902
|
detail?: components["schemas"]["ValidationError"][];
|
|
71136
70903
|
} | Error>>;
|
|
71137
70904
|
fetchStatus: FetchStatus;
|
|
71138
|
-
promise: Promise<{
|
|
71139
|
-
id: string;
|
|
71140
|
-
created_at: string;
|
|
71141
|
-
updated_at: string;
|
|
71142
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
71143
|
-
email?: string | null;
|
|
71144
|
-
individual: components["schemas"]["IndividualResponseSchema"];
|
|
71145
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
71146
|
-
phone?: string | null;
|
|
71147
|
-
registration_authority?: string | null;
|
|
71148
|
-
registration_number?: string | null;
|
|
71149
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
71150
|
-
tax_id?: string | null;
|
|
71151
|
-
type: "individual";
|
|
71152
|
-
website?: string | null;
|
|
71153
|
-
} | {
|
|
71154
|
-
id: string;
|
|
71155
|
-
created_at: string;
|
|
71156
|
-
updated_at: string;
|
|
71157
|
-
address: components["schemas"]["EntityAddressResponseSchema"];
|
|
71158
|
-
email?: string | null;
|
|
71159
|
-
logo?: components["schemas"]["FileSchema2"] | null;
|
|
71160
|
-
organization: components["schemas"]["OrganizationResponseSchema"];
|
|
71161
|
-
phone?: string | null;
|
|
71162
|
-
registration_authority?: string | null;
|
|
71163
|
-
registration_number?: string | null;
|
|
71164
|
-
status: components["schemas"]["EntityStatusEnum"];
|
|
71165
|
-
tax_id?: string | null;
|
|
71166
|
-
type: "organization";
|
|
71167
|
-
website?: string | null;
|
|
71168
|
-
}>;
|
|
71169
70905
|
};
|
|
71170
70906
|
declare const getEntityName: (entity?: EntityResponse) => string;
|
|
71171
70907
|
|