@readyfor/api-client-readyfor-api 0.156.0-pr911.0a4df9b → 0.156.0-pr911.80e14d4
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/{chunk-XLLWO23L.mjs → chunk-266H3PK6.mjs} +2 -5
- package/dist/{chunk-TAKMNHZS.mjs → chunk-3XEBGKXN.mjs} +2 -5
- package/dist/{chunk-TXXYBK6E.mjs → chunk-447LCSIJ.mjs} +2 -5
- package/dist/{chunk-YDLUJPF5.mjs → chunk-4DNWN3AS.mjs} +2 -9
- package/dist/{chunk-FSVTQH4B.mjs → chunk-4ISSCSB6.mjs} +2 -5
- package/dist/{chunk-JTZY7MPV.mjs → chunk-4LP2P5W6.mjs} +2 -5
- package/dist/{chunk-AU5R6JRS.mjs → chunk-76S56PVE.mjs} +2 -5
- package/dist/{chunk-FCINISHH.mjs → chunk-7AEN3AP7.mjs} +2 -5
- package/dist/{chunk-3YVBE2BB.mjs → chunk-7ESSRKO6.mjs} +2 -5
- package/dist/{chunk-MUFSEGC6.mjs → chunk-7QGHEC62.mjs} +2 -9
- package/dist/{chunk-K72H2QQA.mjs → chunk-B4D4TNA4.mjs} +2 -5
- package/dist/{chunk-BDSBBCIT.mjs → chunk-CY4EFHG3.mjs} +2 -5
- package/dist/{chunk-4XBYZROB.mjs → chunk-CZZJVHNN.mjs} +2 -5
- package/dist/{chunk-ORLY2S7N.mjs → chunk-DDHU7MKP.mjs} +2 -5
- package/dist/{chunk-C2EXA7LA.mjs → chunk-DYGM5WE5.mjs} +2 -5
- package/dist/{chunk-Y4LM7KRC.mjs → chunk-DYHXTQLX.mjs} +2 -5
- package/dist/{chunk-43DEQNAI.mjs → chunk-EPZ77WVE.mjs} +2 -5
- package/dist/{chunk-4IOKYDXO.mjs → chunk-GIYB4WG6.mjs} +2 -5
- package/dist/{chunk-ISBACQCK.mjs → chunk-GX3DEV3U.mjs} +2 -5
- package/dist/{chunk-HCGKLLYT.mjs → chunk-HO5UWNN4.mjs} +2 -5
- package/dist/{chunk-3E46ZAT7.mjs → chunk-I4ISXOU3.mjs} +2 -5
- package/dist/{chunk-4D2H5N6Y.mjs → chunk-I4QYSMD5.mjs} +2 -5
- package/dist/{chunk-S4HZY7RR.mjs → chunk-IFWLWCLI.mjs} +2 -5
- package/dist/{chunk-QWZQE7EJ.mjs → chunk-J3US5QMO.mjs} +2 -5
- package/dist/{chunk-4XQY5N7D.mjs → chunk-JU5PX5HP.mjs} +2 -5
- package/dist/{chunk-AXQI6NVS.mjs → chunk-KCNQ7QID.mjs} +2 -5
- package/dist/{chunk-45AMGV2E.mjs → chunk-KN47ZDJZ.mjs} +2 -5
- package/dist/{chunk-SKNJFFT7.mjs → chunk-KQS6KESC.mjs} +2 -5
- package/dist/{chunk-AVU35AZU.mjs → chunk-KZVSUXOQ.mjs} +2 -5
- package/dist/{chunk-OQOI7IJH.mjs → chunk-MW2H34CR.mjs} +2 -5
- package/dist/{chunk-BYJEZ23V.mjs → chunk-OGZYOZTF.mjs} +2 -5
- package/dist/{chunk-TDHNZLUU.mjs → chunk-PFUYLVCS.mjs} +2 -9
- package/dist/{chunk-QHNXO6BW.mjs → chunk-PKQZGFEU.mjs} +2 -5
- package/dist/{chunk-KKEVMJLJ.mjs → chunk-PZ7WDJ7K.mjs} +2 -5
- package/dist/{chunk-V46ZIBOY.mjs → chunk-QLELMXLB.mjs} +2 -5
- package/dist/{chunk-KLIX5ZAU.mjs → chunk-SXGECBGZ.mjs} +2 -9
- package/dist/{chunk-PZK2RW2R.mjs → chunk-T7UKAWM5.mjs} +2 -5
- package/dist/{chunk-M2XMY4OV.mjs → chunk-UEZIHPIZ.mjs} +2 -5
- package/dist/{chunk-36LBJYSA.mjs → chunk-UKSZJRHH.mjs} +2 -9
- package/dist/{chunk-2HDZFVJ5.mjs → chunk-VSMR4DZM.mjs} +2 -5
- package/dist/{chunk-7SWU5VTT.mjs → chunk-X4T3VSVO.mjs} +2 -9
- package/dist/{chunk-Y25EWH7H.mjs → chunk-XDJ6V7OA.mjs} +2 -9
- package/dist/{chunk-G4JH5VPO.mjs → chunk-YC35ZPS7.mjs} +2 -5
- package/dist/{chunk-T5QW2N2U.mjs → chunk-YM2DNYFN.mjs} +2 -5
- package/dist/{chunk-AS4NH5KQ.mjs → chunk-YX5VHBL4.mjs} +2 -5
- package/dist/{chunk-BBAVAWEC.mjs → chunk-ZXN3GM3T.mjs} +2 -9
- package/dist/hooks/index.js +92 -262
- package/dist/hooks/index.mjs +46 -46
- package/dist/hooks/useV2ContributionsCheckOrderStatus.js +2 -5
- package/dist/hooks/useV2ContributionsCheckOrderStatus.mjs +1 -1
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.js +2 -5
- package/dist/hooks/useV2ContributionsCheckOwnerFriend.mjs +1 -1
- package/dist/hooks/useV2ContributionsOrderInfo.js +2 -5
- package/dist/hooks/useV2ContributionsOrderInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsPaymentInfo.js +2 -5
- package/dist/hooks/useV2ContributionsPaymentInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsPaymentMethods.js +2 -5
- package/dist/hooks/useV2ContributionsPaymentMethods.mjs +1 -1
- package/dist/hooks/useV2ContributionsProjectInfo.js +2 -5
- package/dist/hooks/useV2ContributionsProjectInfo.mjs +1 -1
- package/dist/hooks/useV2ContributionsRecommendedProjects.js +2 -5
- package/dist/hooks/useV2ContributionsRecommendedProjects.mjs +1 -1
- package/dist/hooks/useV2ContributionsRecommendedTags.js +2 -5
- package/dist/hooks/useV2ContributionsRecommendedTags.mjs +1 -1
- package/dist/hooks/useV2ContributionsUserInfo.js +2 -5
- package/dist/hooks/useV2ContributionsUserInfo.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.js +2 -5
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.js +2 -9
- package/dist/hooks/useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.js +2 -5
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsers.mjs +1 -1
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.js +2 -5
- package/dist/hooks/useV2FundraisingBulkMessagesTargetUsersCount.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributors.js +2 -5
- package/dist/hooks/useV2FundraisingContributors.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsCount.js +2 -5
- package/dist/hooks/useV2FundraisingContributorsCount.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.js +2 -5
- package/dist/hooks/useV2FundraisingContributorsCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingContributorsUsers.js +2 -5
- package/dist/hooks/useV2FundraisingContributorsUsers.mjs +1 -1
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.js +2 -5
- package/dist/hooks/useV2FundraisingOrdersCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.js +2 -5
- package/dist/hooks/useV2FundraisingProjectsProjectIdOfflineDonation.mjs +1 -1
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.js +2 -5
- package/dist/hooks/useV2FundraisingProjectsProjectIdPaymentSummary.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewards.js +2 -5
- package/dist/hooks/useV2FundraisingRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsAll.js +2 -5
- package/dist/hooks/useV2FundraisingRewardsAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.js +2 -5
- package/dist/hooks/useV2FundraisingRewardsCsvGenerations.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.js +2 -5
- package/dist/hooks/useV2FundraisingRewardsDeliveryStateProgress.mjs +1 -1
- package/dist/hooks/useV2FundraisingRewardsRewardId.js +2 -5
- package/dist/hooks/useV2FundraisingRewardsRewardId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.js +2 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrders.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.js +2 -5
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.js +2 -9
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOrderId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.js +2 -9
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.js +2 -9
- package/dist/hooks/useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.js +2 -5
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrders.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.js +2 -9
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersAll.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.js +2 -9
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.js +2 -9
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards.mjs +1 -1
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.js +2 -9
- package/dist/hooks/useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsOrders.js +2 -5
- package/dist/hooks/useV2OwnerCrmContributorsOrders.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsProjects.js +2 -5
- package/dist/hooks/useV2OwnerCrmContributorsProjects.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmContributorsUser.js +2 -5
- package/dist/hooks/useV2OwnerCrmContributorsUser.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.js +2 -5
- package/dist/hooks/useV2OwnerCrmOrdersZipGenerations.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.js +2 -5
- package/dist/hooks/useV2OwnerCrmRewardDeliveries.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.js +2 -5
- package/dist/hooks/useV2OwnerCrmRewardDeliveriesExOptions.mjs +1 -1
- package/dist/hooks/useV2OwnerCrmRewards.js +2 -5
- package/dist/hooks/useV2OwnerCrmRewards.mjs +1 -1
- package/dist/hooks/useV2ResourcesBankBranches.js +2 -5
- package/dist/hooks/useV2ResourcesBankBranches.mjs +1 -1
- package/dist/hooks/useV2ResourcesBanks.js +2 -5
- package/dist/hooks/useV2ResourcesBanks.mjs +1 -1
- package/dist/hooks/useV2ResourcesUsers.js +2 -5
- package/dist/hooks/useV2ResourcesUsers.mjs +1 -1
- package/dist/hooks/useV2Token.js +2 -5
- package/dist/hooks/useV2Token.mjs +1 -1
- package/package.json +3 -3
|
@@ -7,17 +7,15 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingRewardsRewardIdGetFetcher = buildV2FundraisingRewardsRewardIdGetFetcher();
|
|
12
11
|
var useV2FundraisingRewardsRewardId = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/rewards/{reward_id}",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingRewardsRewardIdGetFetcher(
|
|
18
|
+
buildV2FundraisingRewardsRewardIdGetFetcher(),
|
|
21
19
|
swrConfig
|
|
22
20
|
);
|
|
23
21
|
return { key, ...result };
|
|
@@ -27,10 +25,9 @@ var useV2FundraisingRewardsRewardIdImmutable = (path, swrConfig) => {
|
|
|
27
25
|
"/api/v2/fundraising/rewards/{reward_id}",
|
|
28
26
|
path
|
|
29
27
|
);
|
|
30
|
-
const requestInit = useRequestInit();
|
|
31
28
|
const result = useSWRImmutable(
|
|
32
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
33
|
-
buildV2FundraisingRewardsRewardIdGetFetcher(
|
|
30
|
+
buildV2FundraisingRewardsRewardIdGetFetcher(),
|
|
34
31
|
swrConfig
|
|
35
32
|
);
|
|
36
33
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingContributorsGetFetcher = buildV2FundraisingContributorsGetFetcher();
|
|
12
11
|
var useV2FundraisingContributors = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingContributors = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingContributorsGetFetcher(
|
|
19
|
+
buildV2FundraisingContributorsGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingContributorsImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingContributorsGetFetcher(
|
|
32
|
+
buildV2FundraisingContributorsGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ContributionsUserInfoGetFetcher = buildV2ContributionsUserInfoGetFetcher();
|
|
12
11
|
var useV2ContributionsUserInfo = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsUserInfo = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2ContributionsUserInfoGetFetcher(
|
|
19
|
+
buildV2ContributionsUserInfoGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsUserInfoImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2ContributionsUserInfoGetFetcher(
|
|
32
|
+
buildV2ContributionsUserInfoGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher();
|
|
12
11
|
var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,12 +14,9 @@ var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewards = (query, s
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(
|
|
22
|
-
requestInit
|
|
23
|
-
),
|
|
19
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(),
|
|
24
20
|
swrConfig
|
|
25
21
|
);
|
|
26
22
|
return { key, ...result };
|
|
@@ -31,12 +27,9 @@ var useV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsImmutable =
|
|
|
31
27
|
{},
|
|
32
28
|
query
|
|
33
29
|
);
|
|
34
|
-
const requestInit = useRequestInit();
|
|
35
30
|
const result = useSWRImmutable(
|
|
36
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
37
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(
|
|
38
|
-
requestInit
|
|
39
|
-
),
|
|
32
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(),
|
|
40
33
|
swrConfig
|
|
41
34
|
);
|
|
42
35
|
return { key, ...result };
|
|
@@ -7,24 +7,21 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ResourcesUsersGetFetcher = buildV2ResourcesUsersGetFetcher();
|
|
12
11
|
var useV2ResourcesUsers = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/resources/users", {}, query);
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2ResourcesUsersGetFetcher(
|
|
15
|
+
buildV2ResourcesUsersGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2ResourcesUsersImmutable = (query, swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/resources/users", {}, query);
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2ResourcesUsersGetFetcher(
|
|
24
|
+
buildV2ResourcesUsersGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ContributionsRecommendedProjectsGetFetcher = buildV2ContributionsRecommendedProjectsGetFetcher();
|
|
12
11
|
var useV2ContributionsRecommendedProjects = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/contributions/recommended_projects"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2ContributionsRecommendedProjectsGetFetcher(
|
|
17
|
+
buildV2ContributionsRecommendedProjectsGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2ContributionsRecommendedProjectsImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/contributions/recommended_projects"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2ContributionsRecommendedProjectsGetFetcher(
|
|
28
|
+
buildV2ContributionsRecommendedProjectsGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingContributorsUsersGetFetcher = buildV2FundraisingContributorsUsersGetFetcher();
|
|
12
11
|
var useV2FundraisingContributorsUsers = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingContributorsUsers = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingContributorsUsersGetFetcher(
|
|
19
|
+
buildV2FundraisingContributorsUsersGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingContributorsUsersImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingContributorsUsersGetFetcher(
|
|
32
|
+
buildV2FundraisingContributorsUsersGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher();
|
|
12
11
|
var useV2FundraisingSteadyCrowdfundingProjectOrders = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrders = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(
|
|
19
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersImmutable = (query, swrConfig
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(
|
|
32
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ContributionsPaymentInfoGetFetcher = buildV2ContributionsPaymentInfoGetFetcher();
|
|
12
11
|
var useV2ContributionsPaymentInfo = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsPaymentInfo = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2ContributionsPaymentInfoGetFetcher(
|
|
19
|
+
buildV2ContributionsPaymentInfoGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsPaymentInfoImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2ContributionsPaymentInfoGetFetcher(
|
|
32
|
+
buildV2ContributionsPaymentInfoGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,18 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher = buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher();
|
|
12
11
|
var useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjects = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/spot_crowdfunding_projects/owned_public_projects"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
20
|
-
requestInit
|
|
21
|
-
),
|
|
17
|
+
buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher(),
|
|
22
18
|
swrConfig
|
|
23
19
|
);
|
|
24
20
|
return { key, ...result };
|
|
@@ -27,12 +23,9 @@ var useV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsImmutable = (swrC
|
|
|
27
23
|
const key = __internal__requestUrl(
|
|
28
24
|
"/api/v2/fundraising/spot_crowdfunding_projects/owned_public_projects"
|
|
29
25
|
);
|
|
30
|
-
const requestInit = useRequestInit();
|
|
31
26
|
const result = useSWRImmutable(
|
|
32
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
33
|
-
buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
34
|
-
requestInit
|
|
35
|
-
),
|
|
28
|
+
buildV2FundraisingSpotCrowdfundingProjectsOwnedPublicProjectsGetFetcher(),
|
|
36
29
|
swrConfig
|
|
37
30
|
);
|
|
38
31
|
return { key, ...result };
|
|
@@ -7,24 +7,21 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingRewardsGetFetcher = buildV2FundraisingRewardsGetFetcher();
|
|
12
11
|
var useV2FundraisingRewards = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2FundraisingRewardsGetFetcher(
|
|
15
|
+
buildV2FundraisingRewardsGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2FundraisingRewardsImmutable = (query, swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/fundraising/rewards", {}, query);
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2FundraisingRewardsGetFetcher(
|
|
24
|
+
buildV2FundraisingRewardsGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingOrdersCsvGenerationsGetFetcher = buildV2FundraisingOrdersCsvGenerationsGetFetcher();
|
|
12
11
|
var useV2FundraisingOrdersCsvGenerations = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/orders_csv/generations"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingOrdersCsvGenerationsGetFetcher(
|
|
17
|
+
buildV2FundraisingOrdersCsvGenerationsGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingOrdersCsvGenerationsImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/orders_csv/generations"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingOrdersCsvGenerationsGetFetcher(
|
|
28
|
+
buildV2FundraisingOrdersCsvGenerationsGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher = buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher();
|
|
12
11
|
var useV2FundraisingBulkMessagesOwnedPublicProjects = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/bulk_messages/owned_public_projects"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(
|
|
17
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingBulkMessagesOwnedPublicProjectsImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/bulk_messages/owned_public_projects"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(
|
|
28
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingRewardsAllGetFetcher = buildV2FundraisingRewardsAllGetFetcher();
|
|
12
11
|
var useV2FundraisingRewardsAll = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingRewardsAll = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingRewardsAllGetFetcher(
|
|
19
|
+
buildV2FundraisingRewardsAllGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingRewardsAllImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingRewardsAllGetFetcher(
|
|
32
|
+
buildV2FundraisingRewardsAllGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingContributorsCsvGenerationsGetFetcher = buildV2FundraisingContributorsCsvGenerationsGetFetcher();
|
|
12
11
|
var useV2FundraisingContributorsCsvGenerations = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/contributors_csv/generations"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingContributorsCsvGenerationsGetFetcher(
|
|
17
|
+
buildV2FundraisingContributorsCsvGenerationsGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingContributorsCsvGenerationsImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/contributors_csv/generations"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingContributorsCsvGenerationsGetFetcher(
|
|
28
|
+
buildV2FundraisingContributorsCsvGenerationsGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingBulkMessagesTargetUsersCountGetFetcher = buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher();
|
|
12
11
|
var useV2FundraisingBulkMessagesTargetUsersCount = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(
|
|
17
|
+
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingBulkMessagesTargetUsersCountImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/bulk_messages/target_users/count"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(
|
|
28
|
+
buildV2FundraisingBulkMessagesTargetUsersCountGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,16 +7,14 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingRewardsCsvGenerationsGetFetcher = buildV2FundraisingRewardsCsvGenerationsGetFetcher();
|
|
12
11
|
var useV2FundraisingRewardsCsvGenerations = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/rewards_csv/generations"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingRewardsCsvGenerationsGetFetcher(
|
|
17
|
+
buildV2FundraisingRewardsCsvGenerationsGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingRewardsCsvGenerationsImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/rewards_csv/generations"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingRewardsCsvGenerationsGetFetcher(
|
|
28
|
+
buildV2FundraisingRewardsCsvGenerationsGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2OwnerCrmRewardDeliveriesGetFetcher = buildV2OwnerCrmRewardDeliveriesGetFetcher();
|
|
12
11
|
var useV2OwnerCrmRewardDeliveries = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2OwnerCrmRewardDeliveries = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2OwnerCrmRewardDeliveriesGetFetcher(
|
|
19
|
+
buildV2OwnerCrmRewardDeliveriesGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2OwnerCrmRewardDeliveriesImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2OwnerCrmRewardDeliveriesGetFetcher(
|
|
32
|
+
buildV2OwnerCrmRewardDeliveriesGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,17 +7,15 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2FundraisingProjectsProjectIdPaymentSummaryGetFetcher = buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher();
|
|
12
11
|
var useV2FundraisingProjectsProjectIdPaymentSummary = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/projects/{project_id}/payment_summary",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher(
|
|
18
|
+
buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher(),
|
|
21
19
|
swrConfig
|
|
22
20
|
);
|
|
23
21
|
return { key, ...result };
|
|
@@ -27,10 +25,9 @@ var useV2FundraisingProjectsProjectIdPaymentSummaryImmutable = (path, swrConfig)
|
|
|
27
25
|
"/api/v2/fundraising/projects/{project_id}/payment_summary",
|
|
28
26
|
path
|
|
29
27
|
);
|
|
30
|
-
const requestInit = useRequestInit();
|
|
31
28
|
const result = useSWRImmutable(
|
|
32
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
33
|
-
buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher(
|
|
30
|
+
buildV2FundraisingProjectsProjectIdPaymentSummaryGetFetcher(),
|
|
34
31
|
swrConfig
|
|
35
32
|
);
|
|
36
33
|
return { key, ...result };
|
|
@@ -7,24 +7,21 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ResourcesBanksGetFetcher = buildV2ResourcesBanksGetFetcher();
|
|
12
11
|
var useV2ResourcesBanks = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/resources/banks", {}, query);
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2ResourcesBanksGetFetcher(
|
|
15
|
+
buildV2ResourcesBanksGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2ResourcesBanksImmutable = (query, swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/resources/banks", {}, query);
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2ResourcesBanksGetFetcher(
|
|
24
|
+
buildV2ResourcesBanksGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
return { key, ...result };
|
|
@@ -7,7 +7,6 @@ import useSWRImmutable from "swr/immutable";
|
|
|
7
7
|
import useSWRInfinite from "swr/infinite";
|
|
8
8
|
import useSWR from "swr";
|
|
9
9
|
import { __internal__requestUrl } from "@readyfor/api-client-base";
|
|
10
|
-
import { useRequestInit } from "@readyfor/api-client-base/react";
|
|
11
10
|
var v2ContributionsOrderInfoGetFetcher = buildV2ContributionsOrderInfoGetFetcher();
|
|
12
11
|
var useV2ContributionsOrderInfo = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsOrderInfo = (query, swrConfig) => {
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2ContributionsOrderInfoGetFetcher(
|
|
19
|
+
buildV2ContributionsOrderInfoGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsOrderInfoImmutable = (query, swrConfig) => {
|
|
|
29
27
|
{},
|
|
30
28
|
query
|
|
31
29
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
30
|
const result = useSWRImmutable(
|
|
34
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2ContributionsOrderInfoGetFetcher(
|
|
32
|
+
buildV2ContributionsOrderInfoGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|