@readyfor/api-client-readyfor-api 0.157.0-pr916.931c3b9 → 0.157.0
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-ZFEFGTUE.mjs → chunk-3DMCCCXU.mjs} +2 -5
- package/dist/{chunk-D65AMSP6.mjs → chunk-45JXHSEY.mjs} +2 -9
- package/dist/{chunk-6L42YV3D.mjs → chunk-46EEOHGJ.mjs} +2 -5
- package/dist/{chunk-ROXZER4B.mjs → chunk-4SOXJRAU.mjs} +2 -5
- package/dist/{chunk-UV5T6SQN.mjs → chunk-4UO5JHF7.mjs} +2 -9
- package/dist/{chunk-VNRHTOIS.mjs → chunk-5GCD3IE3.mjs} +2 -5
- package/dist/{chunk-TM57MFKC.mjs → chunk-5GK35KSD.mjs} +2 -5
- package/dist/{chunk-3FFOS45B.mjs → chunk-5L4JJR4T.mjs} +2 -9
- package/dist/{chunk-QLGSRZKY.mjs → chunk-5RLMPFR3.mjs} +2 -5
- package/dist/{chunk-I3QDESTO.mjs → chunk-5UJRH32T.mjs} +2 -5
- package/dist/{chunk-RUUAVT6E.mjs → chunk-5WM7BJPI.mjs} +2 -5
- package/dist/{chunk-24D7RN36.mjs → chunk-5WNUMTB2.mjs} +2 -5
- package/dist/{chunk-UHCKA5EA.mjs → chunk-6CKTMAPD.mjs} +2 -5
- package/dist/{chunk-EPN4NUUE.mjs → chunk-6JUDLQIP.mjs} +2 -5
- package/dist/{chunk-CW6X5RYQ.mjs → chunk-6URGHTAE.mjs} +2 -9
- package/dist/{chunk-5RV3B7RZ.mjs → chunk-6Y3YJAKC.mjs} +2 -9
- package/dist/{chunk-PHX37FDG.mjs → chunk-7X2MDIK7.mjs} +2 -5
- package/dist/{chunk-YTJDVZ7M.mjs → chunk-CFBKXMAJ.mjs} +2 -5
- package/dist/{chunk-3FU5PVSI.mjs → chunk-E263AMFN.mjs} +2 -5
- package/dist/{chunk-BQ3MRVDL.mjs → chunk-E7AIW4ZN.mjs} +2 -5
- package/dist/{chunk-GKTZ42Q2.mjs → chunk-FTFGT5HF.mjs} +2 -5
- package/dist/{chunk-PXIZAEQG.mjs → chunk-G2JXR2PF.mjs} +2 -5
- package/dist/{chunk-YHQAVMJU.mjs → chunk-H7IMJDBA.mjs} +2 -9
- package/dist/{chunk-AU2HC7NX.mjs → chunk-HSP5OVWV.mjs} +2 -5
- package/dist/{chunk-EQ6UUA6G.mjs → chunk-IIU7IRRT.mjs} +2 -5
- package/dist/{chunk-YIFGFXR7.mjs → chunk-IXEBBMVX.mjs} +2 -5
- package/dist/{chunk-JIZTL3PJ.mjs → chunk-JY26ZSP6.mjs} +2 -5
- package/dist/{chunk-XSOT6GRX.mjs → chunk-KDJQJFTI.mjs} +2 -5
- package/dist/{chunk-FMPNXJ2F.mjs → chunk-LNG6FX73.mjs} +2 -5
- package/dist/{chunk-Y6AWX5SP.mjs → chunk-LVTXORYC.mjs} +2 -5
- package/dist/{chunk-GXYPNVPD.mjs → chunk-LYXRCFO2.mjs} +2 -5
- package/dist/{chunk-5ZDVDLLW.mjs → chunk-MK4EQS2U.mjs} +2 -9
- package/dist/{chunk-QG4YFVI4.mjs → chunk-MUS35LUM.mjs} +2 -5
- package/dist/{chunk-MCXGKPFS.mjs → chunk-NZFB64ZV.mjs} +2 -5
- package/dist/{chunk-445XXXN7.mjs → chunk-OXPTWDRY.mjs} +2 -9
- package/dist/{chunk-5OMXW3YA.mjs → chunk-PA42YYN5.mjs} +2 -5
- package/dist/{chunk-DTYCJRFV.mjs → chunk-S5SAJNTY.mjs} +2 -5
- package/dist/{chunk-NEC4CRUT.mjs → chunk-SMSBDWH2.mjs} +2 -5
- package/dist/{chunk-LIS5EYSY.mjs → chunk-SWHJLNZQ.mjs} +2 -5
- package/dist/{chunk-NNDWZ5QS.mjs → chunk-TEV3Q5JZ.mjs} +2 -5
- package/dist/{chunk-W26R5BBE.mjs → chunk-TTV7FC7N.mjs} +2 -5
- package/dist/{chunk-ZHH2J67S.mjs → chunk-V6XHZC3H.mjs} +2 -5
- package/dist/{chunk-IICJCJUX.mjs → chunk-VIJACDM6.mjs} +2 -5
- package/dist/{chunk-5RPL46PA.mjs → chunk-VP4YLQGJ.mjs} +2 -5
- package/dist/{chunk-XB6JH7OE.mjs → chunk-YRPYIXHR.mjs} +2 -5
- package/dist/{chunk-CAKKOTSC.mjs → chunk-Z4J7GHN7.mjs} +2 -5
- 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 +10 -9
|
@@ -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 v2ResourcesBankBranchesGetFetcher = buildV2ResourcesBankBranchesGetFetcher();
|
|
12
11
|
var useV2ResourcesBankBranches = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ResourcesBankBranches = (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
|
-
buildV2ResourcesBankBranchesGetFetcher(
|
|
19
|
+
buildV2ResourcesBankBranchesGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ResourcesBankBranchesImmutable = (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
|
-
buildV2ResourcesBankBranchesGetFetcher(
|
|
32
|
+
buildV2ResourcesBankBranchesGetFetcher(),
|
|
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 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,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 v2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher();
|
|
12
11
|
var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjects = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
20
|
-
requestInit
|
|
21
|
-
),
|
|
17
|
+
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(),
|
|
22
18
|
swrConfig
|
|
23
19
|
);
|
|
24
20
|
return { key, ...result };
|
|
@@ -27,12 +23,9 @@ var useV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsImmutable = (sw
|
|
|
27
23
|
const key = __internal__requestUrl(
|
|
28
24
|
"/api/v2/fundraising/steady_crowdfunding_projects/owned_public_projects"
|
|
29
25
|
);
|
|
30
|
-
const requestInit = useRequestInit();
|
|
31
26
|
const result = useSWRImmutable(
|
|
32
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
33
|
-
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(
|
|
34
|
-
requestInit
|
|
35
|
-
),
|
|
28
|
+
buildV2FundraisingSteadyCrowdfundingProjectsOwnedPublicProjectsGetFetcher(),
|
|
36
29
|
swrConfig
|
|
37
30
|
);
|
|
38
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 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,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 v2OwnerCrmContributorsOrdersGetFetcher = buildV2OwnerCrmContributorsOrdersGetFetcher();
|
|
12
11
|
var useV2OwnerCrmContributorsOrders = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2OwnerCrmContributorsOrders = (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
|
-
buildV2OwnerCrmContributorsOrdersGetFetcher(
|
|
19
|
+
buildV2OwnerCrmContributorsOrdersGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2OwnerCrmContributorsOrdersImmutable = (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
|
-
buildV2OwnerCrmContributorsOrdersGetFetcher(
|
|
32
|
+
buildV2OwnerCrmContributorsOrdersGetFetcher(),
|
|
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,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 v2FundraisingContributorsCountGetFetcher = buildV2FundraisingContributorsCountGetFetcher();
|
|
12
11
|
var useV2FundraisingContributorsCount = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingContributorsCount = (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
|
-
buildV2FundraisingContributorsCountGetFetcher(
|
|
19
|
+
buildV2FundraisingContributorsCountGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingContributorsCountImmutable = (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
|
-
buildV2FundraisingContributorsCountGetFetcher(
|
|
32
|
+
buildV2FundraisingContributorsCountGetFetcher(),
|
|
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 v2OwnerCrmOrdersZipGenerationsGetFetcher = buildV2OwnerCrmOrdersZipGenerationsGetFetcher();
|
|
12
11
|
var useV2OwnerCrmOrdersZipGenerations = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2OwnerCrmOrdersZipGenerations = (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
|
-
buildV2OwnerCrmOrdersZipGenerationsGetFetcher(
|
|
19
|
+
buildV2OwnerCrmOrdersZipGenerationsGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2OwnerCrmOrdersZipGenerationsImmutable = (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
|
-
buildV2OwnerCrmOrdersZipGenerationsGetFetcher(
|
|
32
|
+
buildV2OwnerCrmOrdersZipGenerationsGetFetcher(),
|
|
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 v2OwnerCrmContributorsUserGetFetcher = buildV2OwnerCrmContributorsUserGetFetcher();
|
|
12
11
|
var useV2OwnerCrmContributorsUser = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2OwnerCrmContributorsUser = (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
|
-
buildV2OwnerCrmContributorsUserGetFetcher(
|
|
19
|
+
buildV2OwnerCrmContributorsUserGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2OwnerCrmContributorsUserImmutable = (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
|
-
buildV2OwnerCrmContributorsUserGetFetcher(
|
|
32
|
+
buildV2OwnerCrmContributorsUserGetFetcher(),
|
|
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 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 v2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher();
|
|
12
11
|
var useV2FundraisingSteadyCrowdfundingProjectOrdersAll = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,12 +14,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersAll = (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
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
22
|
-
requestInit
|
|
23
|
-
),
|
|
19
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(),
|
|
24
20
|
swrConfig
|
|
25
21
|
);
|
|
26
22
|
return { key, ...result };
|
|
@@ -31,12 +27,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersAllImmutable = (query, swrCon
|
|
|
31
27
|
{},
|
|
32
28
|
query
|
|
33
29
|
);
|
|
34
|
-
const requestInit = useRequestInit();
|
|
35
30
|
const result = useSWRImmutable(
|
|
36
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
37
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(
|
|
38
|
-
requestInit
|
|
39
|
-
),
|
|
32
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersAllGetFetcher(),
|
|
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 v2OwnerCrmRewardsGetFetcher = buildV2OwnerCrmRewardsGetFetcher();
|
|
12
11
|
var useV2OwnerCrmRewards = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/owner-crm/rewards", {}, query);
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2OwnerCrmRewardsGetFetcher(
|
|
15
|
+
buildV2OwnerCrmRewardsGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2OwnerCrmRewardsImmutable = (query, swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/owner-crm/rewards", {}, query);
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2OwnerCrmRewardsGetFetcher(
|
|
24
|
+
buildV2OwnerCrmRewardsGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
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 v2ContributionsRecommendedTagsGetFetcher = buildV2ContributionsRecommendedTagsGetFetcher();
|
|
12
11
|
var useV2ContributionsRecommendedTags = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/contributions/recommended_tags");
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2ContributionsRecommendedTagsGetFetcher(
|
|
15
|
+
buildV2ContributionsRecommendedTagsGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2ContributionsRecommendedTagsImmutable = (swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/contributions/recommended_tags");
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2ContributionsRecommendedTagsGetFetcher(
|
|
24
|
+
buildV2ContributionsRecommendedTagsGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
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,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 v2ContributionsProjectInfoGetFetcher = buildV2ContributionsProjectInfoGetFetcher();
|
|
12
11
|
var useV2ContributionsProjectInfo = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsProjectInfo = (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
|
-
buildV2ContributionsProjectInfoGetFetcher(
|
|
19
|
+
buildV2ContributionsProjectInfoGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsProjectInfoImmutable = (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
|
-
buildV2ContributionsProjectInfoGetFetcher(
|
|
32
|
+
buildV2ContributionsProjectInfoGetFetcher(),
|
|
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 v2FundraisingProjectsProjectIdOfflineDonationGetFetcher = buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher();
|
|
12
11
|
var useV2FundraisingProjectsProjectIdOfflineDonation = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/projects/{project_id}/offline_donation",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher(
|
|
18
|
+
buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher(),
|
|
21
19
|
swrConfig
|
|
22
20
|
);
|
|
23
21
|
return { key, ...result };
|
|
@@ -27,10 +25,9 @@ var useV2FundraisingProjectsProjectIdOfflineDonationImmutable = (path, swrConfig
|
|
|
27
25
|
"/api/v2/fundraising/projects/{project_id}/offline_donation",
|
|
28
26
|
path
|
|
29
27
|
);
|
|
30
|
-
const requestInit = useRequestInit();
|
|
31
28
|
const result = useSWRImmutable(
|
|
32
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
33
|
-
buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher(
|
|
30
|
+
buildV2FundraisingProjectsProjectIdOfflineDonationGetFetcher(),
|
|
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 v2TokenGetFetcher = buildV2TokenGetFetcher();
|
|
12
11
|
var useV2Token = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl("/api/v2/token");
|
|
14
|
-
const requestInit = useRequestInit();
|
|
15
13
|
const result = useSWR(
|
|
16
14
|
swrConfig?.shouldNotFetch ? null : key,
|
|
17
|
-
buildV2TokenGetFetcher(
|
|
15
|
+
buildV2TokenGetFetcher(),
|
|
18
16
|
swrConfig
|
|
19
17
|
);
|
|
20
18
|
return { key, ...result };
|
|
21
19
|
};
|
|
22
20
|
var useV2TokenImmutable = (swrConfig) => {
|
|
23
21
|
const key = __internal__requestUrl("/api/v2/token");
|
|
24
|
-
const requestInit = useRequestInit();
|
|
25
22
|
const result = useSWRImmutable(
|
|
26
23
|
swrConfig?.shouldNotFetch ? null : key,
|
|
27
|
-
buildV2TokenGetFetcher(
|
|
24
|
+
buildV2TokenGetFetcher(),
|
|
28
25
|
swrConfig
|
|
29
26
|
);
|
|
30
27
|
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 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 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 };
|
|
@@ -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 };
|