@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 v2OwnerCrmRewardDeliveriesExOptionsGetFetcher = buildV2OwnerCrmRewardDeliveriesExOptionsGetFetcher();
|
|
12
11
|
var useV2OwnerCrmRewardDeliveriesExOptions = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2OwnerCrmRewardDeliveriesExOptions = (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
|
-
buildV2OwnerCrmRewardDeliveriesExOptionsGetFetcher(
|
|
19
|
+
buildV2OwnerCrmRewardDeliveriesExOptionsGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2OwnerCrmRewardDeliveriesExOptionsImmutable = (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
|
-
buildV2OwnerCrmRewardDeliveriesExOptionsGetFetcher(
|
|
32
|
+
buildV2OwnerCrmRewardDeliveriesExOptionsGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,19 +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 v2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher = buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher();
|
|
12
11
|
var useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewards = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/bulk_messages/owned_public_projects/{project_id}/rewards",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher(
|
|
21
|
-
requestInit
|
|
22
|
-
),
|
|
18
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher(),
|
|
23
19
|
swrConfig
|
|
24
20
|
);
|
|
25
21
|
return { key, ...result };
|
|
@@ -29,12 +25,9 @@ var useV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsImmutable = (
|
|
|
29
25
|
"/api/v2/fundraising/bulk_messages/owned_public_projects/{project_id}/rewards",
|
|
30
26
|
path
|
|
31
27
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
28
|
const result = useSWRImmutable(
|
|
34
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher(
|
|
36
|
-
requestInit
|
|
37
|
-
),
|
|
30
|
+
buildV2FundraisingBulkMessagesOwnedPublicProjectsProjectIdRewardsGetFetcher(),
|
|
38
31
|
swrConfig
|
|
39
32
|
);
|
|
40
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 v2FundraisingSpotCrowdfundingProjectOrdersGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher();
|
|
12
11
|
var useV2FundraisingSpotCrowdfundingProjectOrders = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingSpotCrowdfundingProjectOrders = (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
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher(
|
|
19
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingSpotCrowdfundingProjectOrdersImmutable = (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
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher(
|
|
32
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersGetFetcher(),
|
|
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 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,19 +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 v2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher();
|
|
12
11
|
var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderId = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
21
|
-
requestInit
|
|
22
|
-
),
|
|
18
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(),
|
|
23
19
|
swrConfig
|
|
24
20
|
);
|
|
25
21
|
return { key, ...result };
|
|
@@ -29,12 +25,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdImmutable = (path, swr
|
|
|
29
25
|
"/api/v2/fundraising/steady_crowdfunding_project_orders/{order_id}",
|
|
30
26
|
path
|
|
31
27
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
28
|
const result = useSWRImmutable(
|
|
34
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
36
|
-
requestInit
|
|
37
|
-
),
|
|
30
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOrderIdGetFetcher(),
|
|
38
31
|
swrConfig
|
|
39
32
|
);
|
|
40
33
|
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 v2ContributionsCheckOwnerFriendGetFetcher = buildV2ContributionsCheckOwnerFriendGetFetcher();
|
|
12
11
|
var useV2ContributionsCheckOwnerFriend = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsCheckOwnerFriend = (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
|
-
buildV2ContributionsCheckOwnerFriendGetFetcher(
|
|
19
|
+
buildV2ContributionsCheckOwnerFriendGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsCheckOwnerFriendImmutable = (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
|
-
buildV2ContributionsCheckOwnerFriendGetFetcher(
|
|
32
|
+
buildV2ContributionsCheckOwnerFriendGetFetcher(),
|
|
36
33
|
swrConfig
|
|
37
34
|
);
|
|
38
35
|
return { key, ...result };
|
|
@@ -7,19 +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 v2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher = buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher();
|
|
12
11
|
var useV2FundraisingSpotCrowdfundingProjectOrdersOrderId = (path, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/spot_crowdfunding_project_orders/{order_id}",
|
|
15
14
|
path
|
|
16
15
|
);
|
|
17
|
-
const requestInit = useRequestInit();
|
|
18
16
|
const result = useSWR(
|
|
19
17
|
swrConfig?.shouldNotFetch ? null : key,
|
|
20
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
21
|
-
requestInit
|
|
22
|
-
),
|
|
18
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher(),
|
|
23
19
|
swrConfig
|
|
24
20
|
);
|
|
25
21
|
return { key, ...result };
|
|
@@ -29,12 +25,9 @@ var useV2FundraisingSpotCrowdfundingProjectOrdersOrderIdImmutable = (path, swrCo
|
|
|
29
25
|
"/api/v2/fundraising/spot_crowdfunding_project_orders/{order_id}",
|
|
30
26
|
path
|
|
31
27
|
);
|
|
32
|
-
const requestInit = useRequestInit();
|
|
33
28
|
const result = useSWRImmutable(
|
|
34
29
|
swrConfig?.shouldNotFetch ? null : key,
|
|
35
|
-
buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher(
|
|
36
|
-
requestInit
|
|
37
|
-
),
|
|
30
|
+
buildV2FundraisingSpotCrowdfundingProjectOrdersOrderIdGetFetcher(),
|
|
38
31
|
swrConfig
|
|
39
32
|
);
|
|
40
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 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 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 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,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 v2FundraisingRewardsDeliveryStateProgressGetFetcher = buildV2FundraisingRewardsDeliveryStateProgressGetFetcher();
|
|
12
11
|
var useV2FundraisingRewardsDeliveryStateProgress = (swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
14
13
|
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
15
14
|
);
|
|
16
|
-
const requestInit = useRequestInit();
|
|
17
15
|
const result = useSWR(
|
|
18
16
|
swrConfig?.shouldNotFetch ? null : key,
|
|
19
|
-
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(
|
|
17
|
+
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(),
|
|
20
18
|
swrConfig
|
|
21
19
|
);
|
|
22
20
|
return { key, ...result };
|
|
@@ -25,10 +23,9 @@ var useV2FundraisingRewardsDeliveryStateProgressImmutable = (swrConfig) => {
|
|
|
25
23
|
const key = __internal__requestUrl(
|
|
26
24
|
"/api/v2/fundraising/rewards/delivery_state/progress"
|
|
27
25
|
);
|
|
28
|
-
const requestInit = useRequestInit();
|
|
29
26
|
const result = useSWRImmutable(
|
|
30
27
|
swrConfig?.shouldNotFetch ? null : key,
|
|
31
|
-
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(
|
|
28
|
+
buildV2FundraisingRewardsDeliveryStateProgressGetFetcher(),
|
|
32
29
|
swrConfig
|
|
33
30
|
);
|
|
34
31
|
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,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 v2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher = buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher();
|
|
12
11
|
var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,12 +14,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewards = (query,
|
|
|
15
14
|
{},
|
|
16
15
|
query
|
|
17
16
|
);
|
|
18
|
-
const requestInit = useRequestInit();
|
|
19
17
|
const result = useSWR(
|
|
20
18
|
swrConfig?.shouldNotFetch ? null : key,
|
|
21
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(
|
|
22
|
-
requestInit
|
|
23
|
-
),
|
|
19
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(),
|
|
24
20
|
swrConfig
|
|
25
21
|
);
|
|
26
22
|
return { key, ...result };
|
|
@@ -31,12 +27,9 @@ var useV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsImmutable
|
|
|
31
27
|
{},
|
|
32
28
|
query
|
|
33
29
|
);
|
|
34
|
-
const requestInit = useRequestInit();
|
|
35
30
|
const result = useSWRImmutable(
|
|
36
31
|
swrConfig?.shouldNotFetch ? null : key,
|
|
37
|
-
buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(
|
|
38
|
-
requestInit
|
|
39
|
-
),
|
|
32
|
+
buildV2FundraisingSteadyCrowdfundingProjectOrdersOwnedProjectRewardsGetFetcher(),
|
|
40
33
|
swrConfig
|
|
41
34
|
);
|
|
42
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,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 v2FundraisingBulkMessagesTargetUsersGetFetcher = buildV2FundraisingBulkMessagesTargetUsersGetFetcher();
|
|
12
11
|
var useV2FundraisingBulkMessagesTargetUsers = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2FundraisingBulkMessagesTargetUsers = (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
|
-
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(
|
|
19
|
+
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2FundraisingBulkMessagesTargetUsersImmutable = (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
|
-
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(
|
|
32
|
+
buildV2FundraisingBulkMessagesTargetUsersGetFetcher(),
|
|
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 v2ContributionsCheckOrderStatusGetFetcher = buildV2ContributionsCheckOrderStatusGetFetcher();
|
|
12
11
|
var useV2ContributionsCheckOrderStatus = (query, swrConfig) => {
|
|
13
12
|
const key = __internal__requestUrl(
|
|
@@ -15,10 +14,9 @@ var useV2ContributionsCheckOrderStatus = (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
|
-
buildV2ContributionsCheckOrderStatusGetFetcher(
|
|
19
|
+
buildV2ContributionsCheckOrderStatusGetFetcher(),
|
|
22
20
|
swrConfig
|
|
23
21
|
);
|
|
24
22
|
return { key, ...result };
|
|
@@ -29,10 +27,9 @@ var useV2ContributionsCheckOrderStatusImmutable = (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
|
-
buildV2ContributionsCheckOrderStatusGetFetcher(
|
|
32
|
+
buildV2ContributionsCheckOrderStatusGetFetcher(),
|
|
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 };
|